./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_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5256] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5259] <... openat resumed>) = 3 [pid 5257] <... munmap resumed>) = 0 [pid 5256] <... openat resumed>) = 4 [pid 5259] write(3, "1000", 4 [pid 5257] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5256] ioctl(4, LOOP_SET_FD, 3 [pid 5097] umount2("./25/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5259] <... write resumed>) = 4 [pid 5258] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5257] <... openat resumed>) = 4 [pid 5259] close(3 [pid 5257] ioctl(4, LOOP_SET_FD, 3 [pid 5259] <... close resumed>) = 0 [pid 5259] symlink("/dev/binderfs", "./binderfs" [pid 5255] +++ exited with 0 +++ [pid 5259] <... symlink resumed>) = 0 [pid 5258] <... write resumed>) = 524288 [pid 5256] <... ioctl resumed>) = 0 [pid 5097] <... umount2 resumed>) = 0 [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5255, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- executing program [pid 5259] write(1, "executing program\n", 18) = 18 [pid 5259] memfd_create("syzkaller", 0 [pid 5258] munmap(0x7f8438200000, 138412032 [pid 5100] umount2("./23", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] umount2("./25/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5259] <... memfd_create resumed>) = 3 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] openat(AT_FDCWD, "./23", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] newfstatat(AT_FDCWD, "./25/file1", [pid 5259] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5258] <... munmap resumed>) = 0 [pid 5256] close(3 [pid 5100] <... openat resumed>) = 3 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5259] <... mmap resumed>) = 0x7f8438200000 [pid 5256] <... close resumed>) = 0 [pid 5097] umount2("./25/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5258] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5256] close(4 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5259] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... openat resumed>) = 4 [pid 5256] <... close resumed>) = 0 [pid 5100] newfstatat(3, "", [pid 5097] openat(AT_FDCWD, "./25/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5258] ioctl(4, LOOP_SET_FD, 3 [pid 5256] mkdir("./file1", 0777 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] <... openat resumed>) = 4 [ 125.852107][ T5256] loop2: detected capacity change from 0 to 1024 [ 125.856011][ T5257] loop1: detected capacity change from 0 to 1024 [pid 5257] <... ioctl resumed>) = 0 [pid 5257] close(3 [pid 5100] getdents64(3, [pid 5256] <... mkdir resumed>) = 0 [pid 5097] newfstatat(4, "", [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5256] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5100] umount2("./23/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5257] <... close resumed>) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5257] close(4 [pid 5100] newfstatat(AT_FDCWD, "./23/binderfs", [pid 5097] getdents64(4, [pid 5257] <... close resumed>) = 0 [pid 5257] mkdir("./file1", 0777 [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5257] <... mkdir resumed>) = 0 [pid 5257] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5259] <... write resumed>) = 524288 [pid 5258] <... ioctl resumed>) = 0 [pid 5256] <... mount resumed>) = 0 [pid 5100] unlink("./23/binderfs" [pid 5097] getdents64(4, [pid 5258] close(3) = 0 [pid 5100] <... unlink resumed>) = 0 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5258] close(4 [pid 5097] close(4 [pid 5258] <... close resumed>) = 0 [pid 5258] mkdir("./file1", 0777 [pid 5097] <... close resumed>) = 0 [pid 5100] umount2("./23/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5259] munmap(0x7f8438200000, 138412032 [pid 5256] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5097] rmdir("./25/file1" [pid 5259] <... munmap resumed>) = 0 [pid 5258] <... mkdir resumed>) = 0 [pid 5256] <... openat resumed>) = 3 [pid 5256] chdir("./file1" [pid 5097] <... rmdir resumed>) = 0 [pid 5258] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5256] <... chdir resumed>) = 0 [pid 5097] getdents64(3, [ 125.904388][ T5258] loop5: detected capacity change from 0 to 1024 [pid 5256] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5259] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5256] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5259] <... openat resumed>) = 4 [pid 5257] <... mount resumed>) = 0 [pid 5256] truncate("./file1", 0 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5259] ioctl(4, LOOP_SET_FD, 3 [pid 5257] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5100] <... umount2 resumed>) = 0 [pid 5097] close(3 [pid 5256] <... truncate resumed>) = 0 [pid 5100] umount2("./23/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... close resumed>) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] rmdir("./25" [pid 5256] memfd_create("syzkaller", 0 [pid 5257] <... openat resumed>) = 3 [pid 5256] <... memfd_create resumed>) = 4 [pid 5097] <... rmdir resumed>) = 0 [pid 5257] chdir("./file1" [pid 5256] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5257] <... chdir resumed>) = 0 [pid 5256] <... mmap resumed>) = 0x7f8438200000 [pid 5100] newfstatat(AT_FDCWD, "./23/file1", [pid 5257] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5256] 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_SYMLINK_NOFOLLOW) = 0 [pid 5097] mkdir("./26", 0777 [pid 5257] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5257] truncate("./file1", 0 [pid 5258] <... mount resumed>) = 0 [pid 5100] umount2("./23/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... mkdir resumed>) = 0 [pid 5258] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5258] <... openat resumed>) = 3 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5258] chdir("./file1" [pid 5257] <... truncate resumed>) = 0 [pid 5256] <... write resumed>) = 524288 [pid 5100] openat(AT_FDCWD, "./23/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5259] <... ioctl resumed>) = 0 [pid 5259] close(3 [pid 5258] <... chdir resumed>) = 0 [pid 5257] memfd_create("syzkaller", 0 [pid 5097] <... openat resumed>) = 3 [pid 5100] <... openat resumed>) = 4 [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5258] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5100] newfstatat(4, "", [pid 5259] <... close resumed>) = 0 [pid 5258] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5257] <... memfd_create resumed>) = 4 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5259] close(4 [pid 5257] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] getdents64(4, [pid 5259] <... close resumed>) = 0 [pid 5257] <... mmap resumed>) = 0x7f8438200000 [ 125.967312][ T5259] loop4: detected capacity change from 0 to 1024 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5259] mkdir("./file1", 0777 [pid 5258] truncate("./file1", 0 [pid 5257] 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] munmap(0x7f8438200000, 138412032 [pid 5100] getdents64(4, [pid 5259] <... mkdir resumed>) = 0 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5259] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5258] <... truncate resumed>) = 0 [pid 5256] <... munmap resumed>) = 0 [pid 5100] close(4 [pid 5258] memfd_create("syzkaller", 0) = 4 [pid 5100] <... close resumed>) = 0 [pid 5258] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5100] rmdir("./23/file1" [pid 5256] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5256] close(4 [pid 5258] 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 [pid 5259] <... mount resumed>) = 0 [pid 5258] <... write resumed>) = 524288 [pid 5100] <... close resumed>) = 0 [pid 5259] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5256] <... close resumed>) = 0 [pid 5259] chdir("./file1") = 0 [pid 5259] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5256] exit_group(0 [pid 5259] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5256] <... exit_group resumed>) = ? [pid 5258] munmap(0x7f8438200000, 138412032 [pid 5256] +++ exited with 0 +++ [pid 5100] rmdir("./23" [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5256, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5259] truncate("./file1", 0 [pid 5258] <... munmap resumed>) = 0 [pid 5100] <... rmdir resumed>) = 0 [pid 5099] restart_syscall(<... resuming interrupted clone ...> [pid 5097] <... ioctl resumed>) = 0 [pid 5258] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5257] <... write resumed>) = 524288 [pid 5099] <... restart_syscall resumed>) = 0 [pid 5257] munmap(0x7f8438200000, 138412032 [pid 5258] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5257] <... munmap resumed>) = 0 [pid 5099] umount2("./25", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5258] close(4 [pid 5257] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5099] openat(AT_FDCWD, "./25", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5259] <... truncate resumed>) = 0 [pid 5258] <... close resumed>) = 0 [pid 5257] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] mkdir("./24", 0777 [pid 5259] memfd_create("syzkaller", 0 [pid 5097] close(3 [pid 5259] <... memfd_create resumed>) = 4 [pid 5097] <... close resumed>) = 0 [pid 5259] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5099] <... openat resumed>) = 3 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5259] <... mmap resumed>) = 0x7f8438200000 [pid 5257] close(4 [pid 5100] <... mkdir resumed>) = 0 [pid 5099] newfstatat(3, "", [pid 5259] 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] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5260 [pid 5099] getdents64(3, [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 ./strace-static-x86_64: Process 5260 attached [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5260] set_robust_list(0x55556fbaa660, 24 [pid 5099] umount2("./25/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5260] <... set_robust_list resumed>) = 0 [pid 5260] chdir("./26" [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5260] <... chdir resumed>) = 0 [pid 5099] newfstatat(AT_FDCWD, "./25/binderfs", [pid 5260] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5258] exit_group(0 [pid 5260] <... prctl resumed>) = 0 [pid 5260] setpgid(0, 0) = 0 [pid 5260] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5258] <... exit_group resumed>) = ? [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5260] write(3, "1000", 4executing program ) = 4 [pid 5260] close(3) = 0 [pid 5258] +++ exited with 0 +++ [pid 5099] unlink("./25/binderfs" [pid 5260] symlink("/dev/binderfs", "./binderfs" [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5258, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5260] <... symlink resumed>) = 0 [pid 5260] write(1, "executing program\n", 18 [pid 5099] <... unlink resumed>) = 0 [pid 5260] <... write resumed>) = 18 [pid 5260] memfd_create("syzkaller", 0) = 3 [pid 5257] <... close resumed>) = 0 [pid 5260] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5099] umount2("./25/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5260] <... mmap resumed>) = 0x7f8438200000 [pid 5103] umount2("./24", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5260] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] openat(AT_FDCWD, "./24", 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 5259] <... write resumed>) = 524288 [pid 5103] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5103] umount2("./24/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5259] munmap(0x7f8438200000, 138412032 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] newfstatat(AT_FDCWD, "./24/binderfs", [pid 5259] <... munmap resumed>) = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5259] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5103] unlink("./24/binderfs" [pid 5257] exit_group(0 [pid 5103] <... unlink resumed>) = 0 [pid 5259] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5257] <... exit_group resumed>) = ? [pid 5259] close(4) = 0 [pid 5257] +++ exited with 0 +++ [pid 5103] umount2("./24/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... umount2 resumed>) = 0 [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5257, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5098] umount2("./25", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./25", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5260] <... write resumed>) = 524288 [pid 5259] exit_group(0 [pid 5100] <... ioctl resumed>) = 0 [pid 5099] umount2("./25/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] newfstatat(3, "", [pid 5100] close(3 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5260] munmap(0x7f8438200000, 138412032 [pid 5259] <... exit_group resumed>) = ? [pid 5103] <... umount2 resumed>) = 0 [pid 5100] <... close resumed>) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5260] <... munmap resumed>) = 0 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5099] newfstatat(AT_FDCWD, "./25/file1", [pid 5098] getdents64(3, [pid 5260] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5103] umount2("./24/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5260] <... openat resumed>) = 4 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] newfstatat(AT_FDCWD, "./24/file1", [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 ./strace-static-x86_64: Process 5261 attached [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5261 [pid 5099] umount2("./25/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] umount2("./25/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5261] set_robust_list(0x55556fbaa660, 24 [pid 5260] ioctl(4, LOOP_SET_FD, 3 [pid 5259] +++ exited with 0 +++ [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] openat(AT_FDCWD, "./25/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5261] <... set_robust_list resumed>) = 0 [pid 5260] <... ioctl resumed>) = 0 [pid 5103] umount2("./24/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5259, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5099] <... openat resumed>) = 4 [pid 5098] newfstatat(AT_FDCWD, "./25/binderfs", [pid 5261] chdir("./24" [pid 5099] newfstatat(4, "", [pid 5098] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5261] <... chdir resumed>) = 0 [pid 5261] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] unlink("./25/binderfs" [pid 5261] <... prctl resumed>) = 0 [pid 5099] getdents64(4, [pid 5261] setpgid(0, 0 [pid 5098] <... unlink resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5261] <... setpgid resumed>) = 0 [pid 5099] getdents64(4, [pid 5098] umount2("./25/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5261] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] close(4 [pid 5103] openat(AT_FDCWD, "./24/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] umount2("./24", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5261] <... openat resumed>) = 3 [pid 5103] <... openat resumed>) = 4 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... close resumed>) = 0 [pid 5261] write(3, "1000", 4 [pid 5099] rmdir("./25/file1" [pid 5261] <... write resumed>) = 4 [pid 5103] newfstatat(4, "", [pid 5101] openat(AT_FDCWD, "./24", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] <... rmdir resumed>) = 0 [pid 5261] close(3 [pid 5099] getdents64(3, [pid 5261] <... close resumed>) = 0 [pid 5260] close(3 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5261] symlink("/dev/binderfs", "./binderfs" [pid 5101] <... openat resumed>) = 3 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] <... umount2 resumed>) = 0 [ 126.273766][ T5260] loop0: detected capacity change from 0 to 1024 [pid 5260] <... close resumed>) = 0 [pid 5103] getdents64(4, [pid 5101] newfstatat(3, "", [pid 5261] <... symlink resumed>) = 0 [pid 5099] close(3 [pid 5098] umount2("./25/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5099] <... close resumed>) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] rmdir("./25" [pid 5103] getdents64(4, [pid 5101] <... 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] getdents64(3, [pid 5103] close(4 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] <... rmdir resumed>) = 0 [pid 5103] <... close resumed>) = 0 [pid 5101] umount2("./24/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] mkdir("./26", 0777 [pid 5098] newfstatat(AT_FDCWD, "./25/file1", executing program [pid 5260] close(4 [pid 5103] rmdir("./24/file1" [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5261] write(1, "executing program\n", 18 [pid 5260] <... close resumed>) = 0 [pid 5103] <... rmdir resumed>) = 0 [pid 5101] newfstatat(AT_FDCWD, "./24/binderfs", [pid 5099] <... mkdir resumed>) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5261] <... write resumed>) = 18 [pid 5260] mkdir("./file1", 0777 [pid 5103] getdents64(3, [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5261] memfd_create("syzkaller", 0 [pid 5260] <... mkdir resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5101] unlink("./24/binderfs" [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5098] umount2("./25/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5260] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5103] close(3 [pid 5101] <... unlink resumed>) = 0 [pid 5261] <... memfd_create resumed>) = 3 [pid 5099] <... openat resumed>) = 3 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5261] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] <... close resumed>) = 0 [pid 5101] umount2("./24/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5098] openat(AT_FDCWD, "./25/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5261] <... mmap resumed>) = 0x7f8438200000 [pid 5103] rmdir("./24") = 0 [pid 5098] <... openat resumed>) = 4 [pid 5103] mkdir("./25", 0777 [pid 5098] newfstatat(4, "", [pid 5103] <... mkdir resumed>) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5261] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5101] <... umount2 resumed>) = 0 [pid 5098] getdents64(4, [pid 5103] <... openat resumed>) = 3 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] close(4 [pid 5260] <... mount resumed>) = 0 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5098] <... close resumed>) = 0 [pid 5098] rmdir("./25/file1" [pid 5260] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5098] <... rmdir resumed>) = 0 [pid 5260] <... openat resumed>) = 3 [pid 5260] chdir("./file1") = 0 [pid 5101] umount2("./24/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] getdents64(3, [pid 5260] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5260] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] close(3 [pid 5101] newfstatat(AT_FDCWD, "./24/file1", [pid 5098] <... close resumed>) = 0 [pid 5260] truncate("./file1", 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] rmdir("./25" [pid 5101] umount2("./24/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] openat(AT_FDCWD, "./24/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] <... rmdir resumed>) = 0 [pid 5101] <... openat resumed>) = 4 [pid 5101] newfstatat(4, "", [pid 5098] mkdir("./26", 0777 [pid 5260] <... truncate resumed>) = 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5260] memfd_create("syzkaller", 0) = 4 [pid 5260] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] getdents64(4, [pid 5260] <... mmap resumed>) = 0x7f8438200000 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] <... mkdir resumed>) = 0 [pid 5261] <... write resumed>) = 524288 [pid 5101] getdents64(4, [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5101] close(4 [pid 5098] <... openat resumed>) = 3 [pid 5260] 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] <... close resumed>) = 0 [pid 5101] rmdir("./24/file1") = 0 [pid 5101] getdents64(3, [pid 5261] munmap(0x7f8438200000, 138412032 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5261] <... munmap resumed>) = 0 [pid 5101] close(3) = 0 [pid 5101] rmdir("./24") = 0 [pid 5261] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5260] <... write resumed>) = 524288 [pid 5099] <... ioctl resumed>) = 0 [pid 5101] mkdir("./25", 0777 [pid 5261] <... openat resumed>) = 4 [pid 5101] <... mkdir resumed>) = 0 [pid 5099] close(3) = 0 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5103] <... ioctl resumed>) = 0 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5103] close(3) = 0 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5260] munmap(0x7f8438200000, 138412032./strace-static-x86_64: Process 5262 attached ./strace-static-x86_64: Process 5263 attached [pid 5261] ioctl(4, LOOP_SET_FD, 3 [pid 5260] <... munmap resumed>) = 0 [pid 5262] set_robust_list(0x55556fbaa660, 24 [pid 5263] set_robust_list(0x55556fbaa660, 24 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5263 [pid 5262] <... set_robust_list resumed>) = 0 [pid 5263] <... set_robust_list resumed>) = 0 [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5262 [pid 5262] chdir("./26" [pid 5263] chdir("./25") = 0 [pid 5262] <... chdir resumed>) = 0 [pid 5263] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5261] <... ioctl resumed>) = 0 [pid 5098] <... ioctl resumed>) = 0 [pid 5262] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5263] <... prctl resumed>) = 0 [pid 5261] close(3 [pid 5260] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5101] <... ioctl resumed>) = 0 [pid 5098] close(3 [pid 5262] <... prctl resumed>) = 0 [pid 5261] <... close resumed>) = 0 [pid 5098] <... close resumed>) = 0 [pid 5261] close(4 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5263] setpgid(0, 0 [pid 5261] <... close resumed>) = 0 [pid 5260] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5262] setpgid(0, 0 [pid 5263] <... setpgid resumed>) = 0 [pid 5260] close(4 [pid 5263] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5261] mkdir("./file1", 0777 [pid 5262] <... setpgid resumed>) = 0 [pid 5261] <... mkdir resumed>) = 0 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5264 [pid 5261] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, ""./strace-static-x86_64: Process 5264 attached [pid 5262] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5263] <... openat resumed>) = 3 [pid 5260] <... close resumed>) = 0 [pid 5264] set_robust_list(0x55556fbaa660, 24 [ 126.458405][ T5261] loop3: detected capacity change from 0 to 1024 [pid 5262] <... openat resumed>) = 3 [pid 5263] write(3, "1000", 4 [pid 5101] close(3 [pid 5264] <... set_robust_list resumed>) = 0 [pid 5262] write(3, "1000", 4 [pid 5263] <... write resumed>) = 4 [pid 5101] <... close resumed>) = 0 [pid 5264] chdir("./26" [pid 5262] <... write resumed>) = 4 [pid 5263] close(3 [pid 5260] exit_group(0 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLDexecuting program ./strace-static-x86_64: Process 5265 attached [pid 5264] <... chdir resumed>) = 0 [pid 5262] close(3 [pid 5263] <... close resumed>) = 0 [pid 5260] <... exit_group resumed>) = ? [pid 5262] <... close resumed>) = 0 [pid 5263] symlink("/dev/binderfs", "./binderfs" [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5265 [pid 5264] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5262] symlink("/dev/binderfs", "./binderfs" [pid 5263] <... symlink resumed>) = 0 [pid 5261] <... mount resumed>) = 0 [pid 5263] write(1, "executing program\n", 18executing program [pid 5265] set_robust_list(0x55556fbaa660, 24 [pid 5264] <... prctl resumed>) = 0 [pid 5262] <... symlink resumed>) = 0 [pid 5263] <... write resumed>) = 18 [pid 5261] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5260] +++ exited with 0 +++ [pid 5265] <... set_robust_list resumed>) = 0 [pid 5263] memfd_create("syzkaller", 0 [pid 5261] <... openat resumed>) = 3 [pid 5262] write(1, "executing program\n", 18 [pid 5263] <... memfd_create resumed>) = 3 [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5260, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5265] chdir("./25" [pid 5264] setpgid(0, 0 [pid 5262] <... write resumed>) = 18 [pid 5263] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5261] chdir("./file1" [pid 5097] restart_syscall(<... resuming interrupted clone ...> [pid 5265] <... chdir resumed>) = 0 [pid 5264] <... setpgid resumed>) = 0 [pid 5097] <... restart_syscall resumed>) = 0 [pid 5265] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5264] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5265] <... prctl resumed>) = 0 [pid 5264] <... openat resumed>) = 3 [pid 5265] setpgid(0, 0 [pid 5264] write(3, "1000", 4 [pid 5263] <... mmap resumed>) = 0x7f8438200000 [pid 5261] <... chdir resumed>) = 0 [pid 5265] <... setpgid resumed>) = 0 [pid 5264] <... write resumed>) = 4 [pid 5261] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5265] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5264] close(3 [pid 5261] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5264] <... close resumed>) = 0 [pid 5261] truncate("./file1", 0 [pid 5097] umount2("./26", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5265] <... openat resumed>) = 3 [pid 5264] symlink("/dev/binderfs", "./binderfs"executing program [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5264] <... symlink resumed>) = 0 [pid 5264] write(1, "executing program\n", 18 [pid 5262] memfd_create("syzkaller", 0 [pid 5265] write(3, "1000", 4 [pid 5097] openat(AT_FDCWD, "./26", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5265] <... write resumed>) = 4 [pid 5264] <... write resumed>) = 18 [pid 5261] <... truncate resumed>) = 0 [pid 5265] close(3 [pid 5264] memfd_create("syzkaller", 0 [pid 5262] <... memfd_create resumed>) = 3 [pid 5261] memfd_create("syzkaller", 0 [pid 5097] <... openat resumed>) = 3 [pid 5265] <... close resumed>) = 0 [pid 5264] <... memfd_create resumed>) = 3 [pid 5262] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5261] <... memfd_create resumed>) = 4 [pid 5097] newfstatat(3, "", [pid 5265] symlink("/dev/binderfs", "./binderfs" [pid 5264] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5261] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0executing program [pid 5265] <... symlink resumed>) = 0 [pid 5262] <... mmap resumed>) = 0x7f8438200000 [pid 5261] <... mmap resumed>) = 0x7f8438200000 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5265] write(1, "executing program\n", 18 [pid 5264] <... mmap resumed>) = 0x7f8438200000 [pid 5261] 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(3, [pid 5265] <... write resumed>) = 18 [pid 5263] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5265] memfd_create("syzkaller", 0 [pid 5264] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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("./26/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(AT_FDCWD, "./26/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5265] <... memfd_create resumed>) = 3 [pid 5262] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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("./26/binderfs" [pid 5265] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5263] <... write resumed>) = 524288 [pid 5097] <... unlink resumed>) = 0 [pid 5265] <... mmap resumed>) = 0x7f8438200000 [pid 5261] <... write resumed>) = 524288 [pid 5097] umount2("./26/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5263] munmap(0x7f8438200000, 138412032) = 0 [pid 5265] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5264] <... write resumed>) = 524288 [pid 5261] munmap(0x7f8438200000, 138412032 [pid 5263] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5261] <... munmap resumed>) = 0 [pid 5264] munmap(0x7f8438200000, 138412032) = 0 [pid 5263] <... openat resumed>) = 4 [pid 5097] <... umount2 resumed>) = 0 [pid 5263] ioctl(4, LOOP_SET_FD, 3 [pid 5261] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5262] <... write resumed>) = 524288 [pid 5097] umount2("./26/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5264] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5262] munmap(0x7f8438200000, 138412032 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(AT_FDCWD, "./26/file1", [pid 5264] <... openat resumed>) = 4 [pid 5262] <... munmap resumed>) = 0 [pid 5261] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5264] ioctl(4, LOOP_SET_FD, 3 [pid 5262] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5261] close(4 [pid 5097] umount2("./26/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5264] <... ioctl resumed>) = 0 [pid 5262] <... openat resumed>) = 4 [pid 5262] ioctl(4, LOOP_SET_FD, 3 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] openat(AT_FDCWD, "./26/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 5097] close(4 [pid 5265] <... write resumed>) = 524288 [pid 5264] close(3 [pid 5262] <... ioctl resumed>) = 0 [pid 5263] <... ioctl resumed>) = 0 [pid 5261] <... close resumed>) = 0 [pid 5097] <... close resumed>) = 0 [pid 5265] munmap(0x7f8438200000, 138412032 [pid 5263] close(3 [pid 5097] rmdir("./26/file1" [pid 5263] <... close resumed>) = 0 [pid 5261] exit_group(0 [pid 5097] <... rmdir resumed>) = 0 [pid 5265] <... munmap resumed>) = 0 [pid 5264] <... close resumed>) = 0 [pid 5262] close(3 [pid 5263] close(4 [pid 5261] <... exit_group resumed>) = ? [pid 5097] getdents64(3, [pid 5263] <... close resumed>) = 0 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5263] mkdir("./file1", 0777 [pid 5097] close(3) = 0 [pid 5097] rmdir("./26" [pid 5263] <... mkdir resumed>) = 0 [pid 5097] <... rmdir resumed>) = 0 [pid 5097] mkdir("./27", 0777) = 0 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5264] close(4 [pid 5262] <... close resumed>) = 0 [pid 5097] <... openat resumed>) = 3 [pid 5264] <... close resumed>) = 0 [pid 5262] close(4 [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5265] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5262] <... close resumed>) = 0 [pid 5264] mkdir("./file1", 0777 [pid 5263] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5264] <... mkdir resumed>) = 0 [pid 5265] <... openat resumed>) = 4 [ 126.637220][ T5263] loop5: detected capacity change from 0 to 1024 [ 126.662987][ T5264] loop1: detected capacity change from 0 to 1024 [ 126.671290][ T5262] loop2: detected capacity change from 0 to 1024 [pid 5265] ioctl(4, LOOP_SET_FD, 3 [pid 5262] mkdir("./file1", 0777) = 0 [pid 5264] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5262] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5263] <... mount resumed>) = 0 [pid 5261] +++ exited with 0 +++ [pid 5263] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5261, si_uid=0, si_status=0, si_utime=0, si_stime=8 /* 0.08 s */} --- [pid 5263] <... openat resumed>) = 3 [pid 5263] chdir("./file1") = 0 [pid 5263] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5263] truncate("./file1", 0) = 0 [pid 5100] umount2("./24", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5263] memfd_create("syzkaller", 0) = 4 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5263] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] openat(AT_FDCWD, "./24", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5263] <... mmap resumed>) = 0x7f8438200000 [pid 5263] 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 resumed>) = 3 [pid 5100] newfstatat(3, "", [pid 5264] <... mount resumed>) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [ 126.714858][ T5265] loop4: detected capacity change from 0 to 1024 [pid 5100] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5265] <... ioctl resumed>) = 0 [pid 5264] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5262] <... mount resumed>) = 0 [pid 5263] <... write resumed>) = 524288 [pid 5265] close(3) = 0 [pid 5265] close(4) = 0 [pid 5265] mkdir("./file1", 0777) = 0 [pid 5097] <... ioctl resumed>) = 0 [pid 5263] munmap(0x7f8438200000, 138412032 [pid 5097] close(3 [pid 5265] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5263] <... munmap resumed>) = 0 [pid 5097] <... close resumed>) = 0 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5262] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5100] umount2("./24/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5264] <... openat resumed>) = 3 [pid 5264] chdir("./file1" [pid 5262] <... openat resumed>) = 3 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5264] <... chdir resumed>) = 0 [pid 5262] chdir("./file1" [pid 5100] newfstatat(AT_FDCWD, "./24/binderfs", [pid 5264] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5262] <... chdir resumed>) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5262] openat(AT_FDCWD, "/dev/loop2", O_RDWR./strace-static-x86_64: Process 5266 attached [pid 5264] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5262] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5263] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5100] unlink("./24/binderfs" [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5266 [pid 5266] set_robust_list(0x55556fbaa660, 24 [pid 5264] truncate("./file1", 0 [pid 5262] truncate("./file1", 0 [pid 5263] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5263] close(4 [pid 5266] <... set_robust_list resumed>) = 0 [pid 5100] <... unlink resumed>) = 0 [pid 5266] chdir("./27" [pid 5265] <... mount resumed>) = 0 [pid 5264] <... truncate resumed>) = 0 [pid 5100] umount2("./24/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5262] <... truncate resumed>) = 0 [pid 5266] <... chdir resumed>) = 0 [pid 5264] memfd_create("syzkaller", 0 [pid 5266] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5264] <... memfd_create resumed>) = 4 [pid 5266] <... prctl resumed>) = 0 [pid 5265] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5264] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5262] memfd_create("syzkaller", 0 [pid 5263] <... close resumed>) = 0 [pid 5100] <... umount2 resumed>) = 0 [pid 5266] setpgid(0, 0 [pid 5265] <... openat resumed>) = 3 [pid 5264] <... mmap resumed>) = 0x7f8438200000 [pid 5262] <... memfd_create resumed>) = 4 [pid 5263] exit_group(0 [pid 5266] <... setpgid resumed>) = 0 [pid 5265] chdir("./file1" [pid 5266] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5265] <... chdir resumed>) = 0 [pid 5263] <... exit_group resumed>) = ? [pid 5266] <... openat resumed>) = 3 [pid 5265] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5266] write(3, "1000", 4 [pid 5265] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5262] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5266] <... write resumed>) = 4 [pid 5265] truncate("./file1", 0 [pid 5264] 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 5262] <... mmap resumed>) = 0x7f8438200000 [pid 5263] +++ exited with 0 +++ [pid 5100] umount2("./24/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5266] close(3 [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5263, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5266] <... close resumed>) = 0 [pid 5266] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5265] <... truncate resumed>) = 0 [pid 5266] write(1, "executing program\n", 18 [pid 5265] memfd_create("syzkaller", 0 [pid 5103] umount2("./25", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] newfstatat(AT_FDCWD, "./24/file1", [pid 5266] <... write resumed>) = 18 [pid 5265] <... memfd_create resumed>) = 4 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5265] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] openat(AT_FDCWD, "./25", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5266] memfd_create("syzkaller", 0 [pid 5265] <... mmap resumed>) = 0x7f8438200000 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5266] <... memfd_create resumed>) = 3 [pid 5103] <... openat resumed>) = 3 [pid 5103] newfstatat(3, "", [pid 5266] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5265] 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 5262] 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 5100] umount2("./24/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5103] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5100] openat(AT_FDCWD, "./24/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5266] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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("./25/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] newfstatat(4, "", [pid 5265] <... write resumed>) = 524288 [pid 5264] <... write resumed>) = 524288 [pid 5262] <... write resumed>) = 524288 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] newfstatat(AT_FDCWD, "./25/binderfs", [pid 5100] getdents64(4, [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5265] munmap(0x7f8438200000, 138412032 [pid 5103] unlink("./25/binderfs" [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5264] munmap(0x7f8438200000, 138412032 [pid 5262] munmap(0x7f8438200000, 138412032 [pid 5266] <... write resumed>) = 524288 [pid 5265] <... munmap resumed>) = 0 [pid 5264] <... munmap resumed>) = 0 [pid 5103] <... unlink resumed>) = 0 [pid 5100] getdents64(4, [pid 5103] umount2("./25/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5264] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5262] <... munmap resumed>) = 0 [pid 5100] close(4 [pid 5264] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] <... close resumed>) = 0 [pid 5265] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5264] close(4 [pid 5262] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5266] munmap(0x7f8438200000, 138412032 [pid 5265] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5262] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] <... umount2 resumed>) = 0 [pid 5100] rmdir("./24/file1" [pid 5265] close(4 [pid 5266] <... munmap resumed>) = 0 [pid 5262] close(4 [pid 5100] <... rmdir resumed>) = 0 [pid 5266] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5266] ioctl(4, LOOP_SET_FD, 3 [pid 5103] umount2("./25/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] getdents64(3, [pid 5264] <... close resumed>) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5265] <... close resumed>) = 0 [pid 5264] exit_group(0 [pid 5103] newfstatat(AT_FDCWD, "./25/file1", [pid 5100] close(3 [pid 5265] exit_group(0 [pid 5264] <... exit_group resumed>) = ? [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] <... close resumed>) = 0 [pid 5266] <... ioctl resumed>) = 0 [pid 5262] <... close resumed>) = 0 [pid 5103] umount2("./25/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5265] <... exit_group resumed>) = ? [pid 5266] close(3 [pid 5265] +++ exited with 0 +++ [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] rmdir("./24" [pid 5266] <... close resumed>) = 0 [pid 5103] openat(AT_FDCWD, "./25/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5266] close(4 [pid 5264] +++ exited with 0 +++ [pid 5103] <... openat resumed>) = 4 [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5265, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5100] <... rmdir resumed>) = 0 [pid 5266] <... close resumed>) = 0 [pid 5103] newfstatat(4, "", [pid 5101] restart_syscall(<... resuming interrupted clone ...> [pid 5266] mkdir("./file1", 0777 [pid 5262] exit_group(0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] <... restart_syscall resumed>) = 0 [pid 5266] <... mkdir resumed>) = 0 [pid 5103] getdents64(4, [pid 5100] mkdir("./25", 0777 [pid 5266] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5262] <... exit_group resumed>) = ? [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5264, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5262] +++ exited with 0 +++ [pid 5101] umount2("./25", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] openat(AT_FDCWD, "./25", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [ 126.918805][ T5266] loop0: detected capacity change from 0 to 1024 [pid 5101] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] getdents64(4, [pid 5098] umount2("./26", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] getdents64(3, [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] umount2("./25/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] newfstatat(AT_FDCWD, "./25/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] unlink("./25/binderfs") = 0 [pid 5098] openat(AT_FDCWD, "./26", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5262, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5103] close(4 [pid 5101] umount2("./25/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] <... close resumed>) = 0 [pid 5100] <... mkdir resumed>) = 0 [pid 5103] rmdir("./25/file1" [pid 5099] restart_syscall(<... resuming interrupted clone ...> [pid 5098] <... openat resumed>) = 3 [pid 5103] <... rmdir resumed>) = 0 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5099] <... restart_syscall resumed>) = 0 [pid 5098] newfstatat(3, "", [pid 5100] <... openat resumed>) = 3 [pid 5103] getdents64(3, [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] umount2("./26", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] close(3 [pid 5099] openat(AT_FDCWD, "./26", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] getdents64(3, [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5099] <... openat resumed>) = 3 [pid 5099] newfstatat(3, "", [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5103] <... close resumed>) = 0 [pid 5098] umount2("./26/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] rmdir("./25" [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] <... rmdir resumed>) = 0 [pid 5099] getdents64(3, [pid 5098] newfstatat(AT_FDCWD, "./26/binderfs", [pid 5103] mkdir("./26", 0777 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5266] <... mount resumed>) = 0 [pid 5103] <... mkdir resumed>) = 0 [pid 5099] umount2("./26/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] unlink("./26/binderfs" [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5266] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5103] <... openat resumed>) = 3 [pid 5099] newfstatat(AT_FDCWD, "./26/binderfs", [pid 5098] <... unlink resumed>) = 0 [pid 5266] <... openat resumed>) = 3 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] umount2("./26/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5266] chdir("./file1") = 0 [pid 5099] unlink("./26/binderfs" [pid 5266] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5101] <... umount2 resumed>) = 0 [pid 5099] <... unlink resumed>) = 0 [pid 5266] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] umount2("./26/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5266] truncate("./file1", 0 [pid 5101] umount2("./25/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] newfstatat(AT_FDCWD, "./25/file1", [pid 5098] <... umount2 resumed>) = 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] umount2("./26/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] umount2("./25/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] openat(AT_FDCWD, "./25/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] newfstatat(AT_FDCWD, "./26/file1", [pid 5101] <... openat resumed>) = 4 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] umount2("./26/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] newfstatat(4, "", [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] openat(AT_FDCWD, "./26/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5266] <... truncate resumed>) = 0 [pid 5101] getdents64(4, [pid 5098] <... openat resumed>) = 4 [pid 5266] memfd_create("syzkaller", 0 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] newfstatat(4, "", [pid 5101] getdents64(4, [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5101] close(4 [pid 5098] getdents64(4, [pid 5266] <... memfd_create resumed>) = 4 [pid 5266] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] <... close resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5101] rmdir("./25/file1" [pid 5098] getdents64(4, [pid 5101] <... rmdir resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] close(4) = 0 [pid 5098] rmdir("./26/file1") = 0 [pid 5101] getdents64(3, [pid 5266] <... mmap resumed>) = 0x7f8438200000 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5101] close(3) = 0 [pid 5098] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5101] rmdir("./25" [pid 5098] close(3 [pid 5101] <... rmdir resumed>) = 0 [pid 5098] <... close resumed>) = 0 [pid 5098] rmdir("./26") = 0 [pid 5101] mkdir("./26", 0777 [pid 5103] <... ioctl resumed>) = 0 [pid 5101] <... mkdir resumed>) = 0 [pid 5098] mkdir("./27", 0777) = 0 [pid 5266] 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 5100] <... ioctl resumed>) = 0 [pid 5099] <... umount2 resumed>) = 0 [pid 5100] close(3 [pid 5099] umount2("./26/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... close resumed>) = 0 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] close(3) = 0 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5099] newfstatat(AT_FDCWD, "./26/file1", [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5267 [pid 5101] <... openat resumed>) = 3 [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 ./strace-static-x86_64: Process 5267 attached [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5267] set_robust_list(0x55556fbaa660, 24 [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5267] <... set_robust_list resumed>) = 0 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5268 ./strace-static-x86_64: Process 5268 attached [pid 5267] chdir("./25" [pid 5099] umount2("./26/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5268] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5268] chdir("./26" [pid 5267] <... chdir resumed>) = 0 [pid 5268] <... chdir resumed>) = 0 [pid 5099] openat(AT_FDCWD, "./26/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5268] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5267] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5266] <... write resumed>) = 524288 [pid 5099] <... openat resumed>) = 4 [pid 5268] <... prctl resumed>) = 0 [pid 5099] newfstatat(4, "", [pid 5268] setpgid(0, 0 [pid 5267] <... prctl resumed>) = 0 [pid 5266] munmap(0x7f8438200000, 138412032 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5268] <... setpgid resumed>) = 0 [pid 5267] setpgid(0, 0) = 0 [pid 5099] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5268] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5267] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5099] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] close(4) = 0 [pid 5099] rmdir("./26/file1" [pid 5268] <... openat resumed>) = 3 [pid 5267] <... openat resumed>) = 3 [pid 5266] <... munmap resumed>) = 0 [pid 5267] write(3, "1000", 4 [pid 5268] write(3, "1000", 4 [pid 5267] <... write resumed>) = 4 [pid 5266] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5098] <... ioctl resumed>) = 0 [pid 5266] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5268] <... write resumed>) = 4 [pid 5267] close(3 [pid 5266] close(4 [pid 5101] <... ioctl resumed>) = 0 [pid 5099] <... rmdir resumed>) = 0 [pid 5267] <... close resumed>) = 0 [pid 5099] getdents64(3, [pid 5101] close(3) = 0 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5268] close(3 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5268] <... close resumed>) = 0 [pid 5267] symlink("/dev/binderfs", "./binderfs" [pid 5268] symlink("/dev/binderfs", "./binderfs" [pid 5267] <... symlink resumed>) = 0 [pid 5099] close(3 [pid 5098] close(3 [pid 5268] <... symlink resumed>) = 0 executing program executing program [pid 5268] write(1, "executing program\n", 18 [pid 5267] write(1, "executing program\n", 18 [pid 5099] <... close resumed>) = 0 [pid 5098] <... close resumed>) = 0 [pid 5268] <... write resumed>) = 18 [pid 5267] <... write resumed>) = 18 [pid 5099] rmdir("./26" [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5267] memfd_create("syzkaller", 0 [pid 5099] <... rmdir resumed>) = 0 ./strace-static-x86_64: Process 5269 attached [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5269 [pid 5269] set_robust_list(0x55556fbaa660, 24 [pid 5268] memfd_create("syzkaller", 0 [pid 5269] <... set_robust_list resumed>) = 0 [pid 5268] <... memfd_create resumed>) = 3 [pid 5267] <... memfd_create resumed>) = 3 [pid 5099] mkdir("./27", 0777 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5270 ./strace-static-x86_64: Process 5270 attached [pid 5269] chdir("./26" [pid 5267] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5268] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5270] set_robust_list(0x55556fbaa660, 24 [pid 5269] <... chdir resumed>) = 0 [pid 5266] <... close resumed>) = 0 [pid 5270] <... set_robust_list resumed>) = 0 [pid 5269] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5267] <... mmap resumed>) = 0x7f8438200000 [pid 5268] <... mmap resumed>) = 0x7f8438200000 [pid 5270] chdir("./27" [pid 5269] <... prctl resumed>) = 0 [pid 5270] <... chdir resumed>) = 0 [pid 5269] setpgid(0, 0 [pid 5099] <... mkdir resumed>) = 0 [pid 5266] exit_group(0 [pid 5269] <... setpgid resumed>) = 0 [pid 5270] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5269] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5270] <... prctl resumed>) = 0 [pid 5269] <... openat resumed>) = 3 [pid 5270] setpgid(0, 0 [pid 5268] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5270] <... setpgid resumed>) = 0 [pid 5269] write(3, "1000", 4 [pid 5270] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5269] <... write resumed>) = 4 [pid 5270] <... openat resumed>) = 3 [pid 5269] close(3) = 0 [pid 5267] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5266] <... exit_group resumed>) = ? [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5270] write(3, "1000", 4 [pid 5269] symlink("/dev/binderfs", "./binderfs" [pid 5270] <... write resumed>) = 4 [pid 5269] <... symlink resumed>) = 0 [pid 5099] <... openat resumed>) = 3 [pid 5270] close(3executing program [pid 5269] write(1, "executing program\n", 18 [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5270] <... close resumed>) = 0 [pid 5269] <... write resumed>) = 18 [pid 5266] +++ exited with 0 +++ [pid 5270] symlink("/dev/binderfs", "./binderfs" [pid 5269] memfd_create("syzkaller", 0 [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5266, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5270] <... symlink resumed>) = 0 [pid 5269] <... memfd_create resumed>) = 3 [pid 5269] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0executing program [pid 5270] write(1, "executing program\n", 18 [pid 5269] <... mmap resumed>) = 0x7f8438200000 [pid 5270] <... write resumed>) = 18 [pid 5270] memfd_create("syzkaller", 0 [pid 5097] umount2("./27", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5270] <... memfd_create resumed>) = 3 [pid 5269] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] openat(AT_FDCWD, "./27", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] <... ioctl resumed>) = 0 [pid 5097] <... openat resumed>) = 3 [pid 5097] newfstatat(3, "", [pid 5270] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5270] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5268] <... write resumed>) = 524288 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5269] <... write resumed>) = 524288 [pid 5268] munmap(0x7f8438200000, 138412032 [pid 5267] <... write resumed>) = 524288 [pid 5099] close(3 [pid 5097] getdents64(3, [pid 5099] <... close resumed>) = 0 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5097] umount2("./27/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) ./strace-static-x86_64: Process 5271 attached [pid 5268] <... munmap resumed>) = 0 [pid 5097] newfstatat(AT_FDCWD, "./27/binderfs", [pid 5268] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5271 [pid 5271] set_robust_list(0x55556fbaa660, 24 [pid 5269] munmap(0x7f8438200000, 138412032 [pid 5268] <... openat resumed>) = 4 [pid 5267] munmap(0x7f8438200000, 138412032 [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5271] <... set_robust_list resumed>) = 0 [pid 5269] <... munmap resumed>) = 0 [pid 5268] ioctl(4, LOOP_SET_FD, 3 [pid 5267] <... munmap resumed>) = 0 [pid 5097] unlink("./27/binderfs" [pid 5269] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5097] <... unlink resumed>) = 0 [pid 5269] <... openat resumed>) = 4 [pid 5097] umount2("./27/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5269] ioctl(4, LOOP_SET_FD, 3 [pid 5271] chdir("./27" [pid 5267] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5271] <... chdir resumed>) = 0 [pid 5271] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5270] <... write resumed>) = 524288 [pid 5267] <... openat resumed>) = 4 [pid 5271] <... prctl resumed>) = 0 [pid 5271] setpgid(0, 0 [pid 5270] munmap(0x7f8438200000, 138412032 [pid 5271] <... setpgid resumed>) = 0 [pid 5268] <... ioctl resumed>) = 0 [pid 5267] ioctl(4, LOOP_SET_FD, 3 [pid 5271] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5270] <... munmap resumed>) = 0 [pid 5270] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 5270] ioctl(4, LOOP_SET_FD, 3 [pid 5271] <... openat resumed>) = 3 [pid 5268] close(3 [pid 5267] <... ioctl resumed>) = 0 [pid 5097] <... umount2 resumed>) = 0 [pid 5271] write(3, "1000", 4 [pid 5268] <... close resumed>) = 0 [pid 5268] close(4 [pid 5271] <... write resumed>) = 4 [pid 5270] <... ioctl resumed>) = 0 [pid 5269] <... ioctl resumed>) = 0 [pid 5268] <... close resumed>) = 0 [pid 5267] close(3 [pid 5268] mkdir("./file1", 0777 [pid 5270] close(3 [pid 5269] close(3 [pid 5271] close(3 [pid 5270] <... close resumed>) = 0 [pid 5269] <... close resumed>) = 0 [pid 5268] <... mkdir resumed>) = 0 [pid 5267] <... close resumed>) = 0 [pid 5271] <... close resumed>) = 0 [pid 5267] close(4 [pid 5097] umount2("./27/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5267] <... close resumed>) = 0 [pid 5271] symlink("/dev/binderfs", "./binderfs" [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) executing program [pid 5270] close(4 [pid 5269] close(4 [pid 5271] <... symlink resumed>) = 0 [pid 5097] newfstatat(AT_FDCWD, "./27/file1", [pid 5267] mkdir("./file1", 0777 [pid 5271] write(1, "executing program\n", 18) = 18 [pid 5270] <... close resumed>) = 0 [pid 5269] <... close resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5270] mkdir("./file1", 0777 [pid 5269] mkdir("./file1", 0777 [pid 5271] memfd_create("syzkaller", 0 [pid 5097] umount2("./27/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5270] <... mkdir resumed>) = 0 [pid 5269] <... mkdir resumed>) = 0 [pid 5267] <... mkdir resumed>) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] openat(AT_FDCWD, "./27/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5270] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5269] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5271] <... memfd_create resumed>) = 3 [pid 5268] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5267] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [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 [ 127.317014][ T5268] loop5: detected capacity change from 0 to 1024 [ 127.321596][ T5269] loop4: detected capacity change from 0 to 1024 [ 127.335832][ T5267] loop3: detected capacity change from 0 to 1024 [ 127.352055][ T5270] loop1: detected capacity change from 0 to 1024 [pid 5271] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5097] <... close resumed>) = 0 [pid 5271] <... mmap resumed>) = 0x7f8438200000 [pid 5097] rmdir("./27/file1") = 0 [pid 5097] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] close(3) = 0 [pid 5270] <... mount resumed>) = 0 [pid 5097] rmdir("./27" [pid 5271] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5268] <... mount resumed>) = 0 [pid 5271] <... write resumed>) = 524288 [pid 5270] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5268] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5097] <... rmdir resumed>) = 0 [pid 5270] <... openat resumed>) = 3 [pid 5269] <... mount resumed>) = 0 [pid 5269] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5270] chdir("./file1" [pid 5269] chdir("./file1" [pid 5270] <... chdir resumed>) = 0 [pid 5270] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5269] <... chdir resumed>) = 0 [pid 5270] truncate("./file1", 0 [pid 5269] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5097] mkdir("./28", 0777) = 0 [pid 5269] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5268] <... openat resumed>) = 3 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5269] truncate("./file1", 0 [pid 5268] chdir("./file1" [pid 5267] <... mount resumed>) = 0 [pid 5097] <... openat resumed>) = 3 [pid 5271] munmap(0x7f8438200000, 138412032 [pid 5268] <... chdir resumed>) = 0 [pid 5267] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5268] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5267] <... openat resumed>) = 3 [pid 5268] truncate("./file1", 0 [pid 5267] chdir("./file1" [pid 5269] <... truncate resumed>) = 0 [pid 5269] memfd_create("syzkaller", 0) = 4 [pid 5271] <... munmap resumed>) = 0 [pid 5269] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5267] <... chdir resumed>) = 0 [pid 5267] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5271] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5269] <... mmap resumed>) = 0x7f8438200000 [pid 5267] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5270] <... truncate resumed>) = 0 [pid 5271] ioctl(4, LOOP_SET_FD, 3 [pid 5270] memfd_create("syzkaller", 0 [pid 5269] 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 5268] <... truncate resumed>) = 0 [pid 5267] truncate("./file1", 0 [pid 5268] memfd_create("syzkaller", 0 [pid 5270] <... memfd_create resumed>) = 4 [pid 5270] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5270] 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 5268] <... memfd_create resumed>) = 4 [pid 5268] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5267] <... truncate resumed>) = 0 [pid 5267] memfd_create("syzkaller", 0 [pid 5271] <... ioctl resumed>) = 0 [pid 5270] <... write resumed>) = 524288 [pid 5268] 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 5267] <... memfd_create resumed>) = 4 [pid 5097] <... ioctl resumed>) = 0 [pid 5271] close(3 [pid 5267] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5097] close(3 [pid 5271] <... close resumed>) = 0 [pid 5271] close(4 [pid 5269] <... write resumed>) = 524288 [pid 5267] <... mmap resumed>) = 0x7f8438200000 [pid 5097] <... close resumed>) = 0 [ 127.481378][ T5271] loop2: detected capacity change from 0 to 1024 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5271] <... close resumed>) = 0 [pid 5271] mkdir("./file1", 0777./strace-static-x86_64: Process 5272 attached ) = 0 [pid 5269] munmap(0x7f8438200000, 138412032 [pid 5268] <... write resumed>) = 524288 [pid 5267] 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) = 5272 [pid 5269] <... munmap resumed>) = 0 [pid 5272] set_robust_list(0x55556fbaa660, 24 [pid 5270] munmap(0x7f8438200000, 138412032 [pid 5271] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5272] <... set_robust_list resumed>) = 0 [pid 5270] <... munmap resumed>) = 0 [pid 5269] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5272] chdir("./28" [pid 5269] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5270] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5272] <... chdir resumed>) = 0 [pid 5270] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5269] close(4 [pid 5272] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5271] <... mount resumed>) = 0 [pid 5270] close(4 [pid 5269] <... close resumed>) = 0 [pid 5268] munmap(0x7f8438200000, 138412032 [pid 5267] <... write resumed>) = 524288 [pid 5272] <... prctl resumed>) = 0 [pid 5271] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5270] <... close resumed>) = 0 [pid 5269] exit_group(0 [pid 5268] <... munmap resumed>) = 0 [pid 5267] munmap(0x7f8438200000, 138412032 [pid 5272] setpgid(0, 0 [pid 5271] <... openat resumed>) = 3 [pid 5272] <... setpgid resumed>) = 0 [pid 5271] chdir("./file1" [pid 5269] <... exit_group resumed>) = ? [pid 5268] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5267] <... munmap resumed>) = 0 [pid 5272] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5271] <... chdir resumed>) = 0 [pid 5269] +++ exited with 0 +++ [pid 5268] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5267] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5271] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5267] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5268] close(4 [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5269, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5272] <... openat resumed>) = 3 [pid 5271] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5267] close(4 [pid 5272] write(3, "1000", 4 [pid 5270] exit_group(0) = ? [pid 5272] <... write resumed>) = 4 [pid 5271] truncate("./file1", 0 [pid 5270] +++ exited with 0 +++ [pid 5267] <... close resumed>) = 0 [pid 5272] close(3 [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5270, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5272] <... close resumed>) = 0 [pid 5101] umount2("./26", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] umount2("./27", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5272] symlink("/dev/binderfs", "./binderfs" [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5272] <... symlink resumed>) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] openat(AT_FDCWD, "./26", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5101] newfstatat(3, "", [pid 5098] openat(AT_FDCWD, "./27", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 executing program [pid 5101] getdents64(3, [pid 5272] write(1, "executing program\n", 18 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] <... openat resumed>) = 3 [pid 5272] <... write resumed>) = 18 [pid 5271] <... truncate resumed>) = 0 [pid 5268] <... close resumed>) = 0 [pid 5267] exit_group(0 [pid 5101] umount2("./26/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5271] memfd_create("syzkaller", 0 [pid 5272] memfd_create("syzkaller", 0) = 3 [pid 5271] <... memfd_create resumed>) = 4 [pid 5268] exit_group(0 [pid 5267] <... exit_group resumed>) = ? [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(3, "", [pid 5272] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5271] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5268] <... exit_group resumed>) = ? [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5272] <... mmap resumed>) = 0x7f8438200000 [pid 5271] <... mmap resumed>) = 0x7f8438200000 [pid 5101] newfstatat(AT_FDCWD, "./26/binderfs", [pid 5098] getdents64(3, [pid 5272] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5271] 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 5268] +++ exited with 0 +++ [pid 5267] +++ exited with 0 +++ [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5268, si_uid=0, si_status=0, si_utime=0, si_stime=10 /* 0.10 s */} --- [pid 5101] unlink("./26/binderfs" [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5101] <... unlink resumed>) = 0 [pid 5101] umount2("./26/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5267, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5098] umount2("./27/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5103] umount2("./26", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] umount2("./25", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] newfstatat(AT_FDCWD, "./27/binderfs", [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] openat(AT_FDCWD, "./26", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] <... openat resumed>) = 3 [pid 5098] unlink("./27/binderfs" [pid 5103] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] getdents64(3, [pid 5098] <... unlink resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5103] umount2("./26/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] openat(AT_FDCWD, "./25", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5103] newfstatat(AT_FDCWD, "./26/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] unlink("./26/binderfs") = 0 [pid 5103] umount2("./26/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... openat resumed>) = 3 [pid 5098] umount2("./27/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] newfstatat(3, "", [pid 5101] <... umount2 resumed>) = 0 [pid 5103] <... umount2 resumed>) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5100] umount2("./25/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] umount2("./26/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5272] <... write resumed>) = 524288 [pid 5271] <... write resumed>) = 524288 [pid 5103] umount2("./26/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] newfstatat(AT_FDCWD, "./26/file1", [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... umount2 resumed>) = 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5272] munmap(0x7f8438200000, 138412032 [pid 5271] munmap(0x7f8438200000, 138412032 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] umount2("./26/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] newfstatat(AT_FDCWD, "./25/binderfs", [pid 5098] umount2("./27/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] newfstatat(AT_FDCWD, "./26/file1", [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] openat(AT_FDCWD, "./26/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5272] <... munmap resumed>) = 0 [pid 5101] <... openat resumed>) = 4 [pid 5272] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5271] <... munmap resumed>) = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] newfstatat(4, "", [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] newfstatat(AT_FDCWD, "./27/file1", [pid 5272] <... openat resumed>) = 4 [pid 5271] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5103] umount2("./26/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] unlink("./25/binderfs" [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5272] ioctl(4, LOOP_SET_FD, 3 [pid 5271] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] getdents64(4, [pid 5271] close(4 [pid 5103] openat(AT_FDCWD, "./26/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5100] <... unlink resumed>) = 0 [pid 5098] umount2("./27/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] <... openat resumed>) = 4 [pid 5103] newfstatat(4, "", [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] umount2("./25/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] openat(AT_FDCWD, "./27/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5103] getdents64(4, [pid 5098] <... openat resumed>) = 4 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5103] getdents64(4, [pid 5272] <... ioctl resumed>) = 0 [pid 5271] <... close resumed>) = 0 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5100] <... umount2 resumed>) = 0 [pid 5098] newfstatat(4, "", [pid 5272] close(3 [pid 5271] exit_group(0 [pid 5101] getdents64(4, [pid 5100] umount2("./25/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5271] <... exit_group resumed>) = ? [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] getdents64(4, [pid 5272] <... close resumed>) = 0 [pid 5271] +++ exited with 0 +++ [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5101] close(4 [pid 5100] newfstatat(AT_FDCWD, "./25/file1", [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5272] close(4 [pid 5103] close(4 [pid 5101] <... close resumed>) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5271, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5272] <... close resumed>) = 0 [pid 5103] <... close resumed>) = 0 [pid 5098] getdents64(4, [pid 5272] mkdir("./file1", 0777 [pid 5103] rmdir("./26/file1" [pid 5272] <... mkdir resumed>) = 0 [pid 5103] <... rmdir resumed>) = 0 [pid 5272] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5101] rmdir("./26/file1" [pid 5103] getdents64(3, [pid 5100] umount2("./25/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5101] <... rmdir resumed>) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] close(4 [pid 5103] close(3 [pid 5099] umount2("./27", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... close resumed>) = 0 [pid 5272] <... mount resumed>) = 0 [pid 5103] <... close resumed>) = 0 [pid 5101] getdents64(3, [pid 5100] openat(AT_FDCWD, "./25/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] rmdir("./27/file1" [pid 5272] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5103] rmdir("./26" [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] <... openat resumed>) = 4 [pid 5099] openat(AT_FDCWD, "./27", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] <... rmdir resumed>) = 0 [pid 5103] <... rmdir resumed>) = 0 [pid 5101] close(3 [pid 5100] newfstatat(4, "", [pid 5101] <... close resumed>) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] rmdir("./26" [ 127.777052][ T5272] loop0: detected capacity change from 0 to 1024 [pid 5100] getdents64(4, [pid 5101] <... rmdir resumed>) = 0 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5100] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] close(4) = 0 [pid 5100] rmdir("./25/file1" [pid 5101] mkdir("./27", 0777 [pid 5100] <... rmdir resumed>) = 0 [pid 5272] <... openat resumed>) = 3 [pid 5103] mkdir("./27", 0777 [pid 5101] <... mkdir resumed>) = 0 [pid 5100] getdents64(3, [pid 5099] <... openat resumed>) = 3 [pid 5098] getdents64(3, [pid 5272] chdir("./file1" [pid 5099] newfstatat(3, "", [pid 5272] <... chdir resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5272] openat(AT_FDCWD, "/dev/loop0", O_RDWR [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] close(3 [pid 5272] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] <... mkdir resumed>) = 0 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5100] close(3 [pid 5099] getdents64(3, [pid 5272] truncate("./file1", 0 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5098] <... close resumed>) = 0 [pid 5103] <... openat resumed>) = 3 [pid 5098] rmdir("./27" [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5101] <... openat resumed>) = 3 [pid 5100] <... close resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] <... rmdir resumed>) = 0 [pid 5100] rmdir("./25" [pid 5099] umount2("./27/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5272] <... truncate resumed>) = 0 [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5100] <... rmdir resumed>) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] mkdir("./28", 0777 [pid 5272] memfd_create("syzkaller", 0 [pid 5099] newfstatat(AT_FDCWD, "./27/binderfs", [pid 5098] <... mkdir resumed>) = 0 [pid 5272] <... memfd_create resumed>) = 4 [pid 5100] mkdir("./26", 0777 [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] unlink("./27/binderfs" [pid 5272] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] <... mkdir resumed>) = 0 [pid 5272] <... mmap resumed>) = 0x7f8438200000 [pid 5099] <... unlink resumed>) = 0 [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5272] 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 resumed>) = 3 [pid 5099] umount2("./27/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... openat resumed>) = 3 [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5099] <... umount2 resumed>) = 0 [pid 5272] <... write resumed>) = 524288 [pid 5099] umount2("./27/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5272] munmap(0x7f8438200000, 138412032 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5272] <... munmap resumed>) = 0 [pid 5103] <... ioctl resumed>) = 0 [pid 5099] newfstatat(AT_FDCWD, "./27/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] umount2("./27/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5272] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5099] openat(AT_FDCWD, "./27/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5272] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] close(3 [pid 5098] <... ioctl resumed>) = 0 [pid 5099] <... openat resumed>) = 4 [pid 5099] newfstatat(4, "", [pid 5272] close(4 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] <... ioctl resumed>) = 0 [pid 5099] getdents64(4, [pid 5103] <... close resumed>) = 0 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5099] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] close(4) = 0 [pid 5099] rmdir("./27/file1" [pid 5100] <... ioctl resumed>) = 0 [pid 5099] <... rmdir resumed>) = 0 [pid 5101] close(3) = 0 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5099] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5099] close(3) = 0 [pid 5099] rmdir("./27") = 0 [pid 5099] mkdir("./28", 0777) = 0 [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5274 [pid 5098] close(3) = 0 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5274 attached [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5274] set_robust_list(0x55556fbaa660, 24 [pid 5272] <... close resumed>) = 0 [pid 5099] <... openat resumed>) = 3 [pid 5274] <... set_robust_list resumed>) = 0 [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5274] chdir("./27" [pid 5272] exit_group(0 [pid 5274] <... chdir resumed>) = 0 ./strace-static-x86_64: Process 5273 attached [pid 5274] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5272] <... exit_group resumed>) = ? [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5273 [pid 5100] close(3 [pid 5272] +++ exited with 0 +++ [pid 5100] <... close resumed>) = 0 [pid 5274] <... prctl resumed>) = 0 [pid 5273] set_robust_list(0x55556fbaa660, 24 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5272, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5274] setpgid(0, 0 [pid 5273] <... set_robust_list resumed>) = 0 ./strace-static-x86_64: Process 5275 attached [pid 5274] <... setpgid resumed>) = 0 [pid 5273] chdir("./27" [pid 5275] set_robust_list(0x55556fbaa660, 24 [pid 5274] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5273] <... chdir resumed>) = 0 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5275 [pid 5275] <... set_robust_list resumed>) = 0 [pid 5274] <... openat resumed>) = 3 [pid 5273] prctl(PR_SET_PDEATHSIG, SIGKILL./strace-static-x86_64: Process 5276 attached [pid 5275] chdir("./28" [pid 5273] <... prctl resumed>) = 0 [pid 5275] <... chdir resumed>) = 0 [pid 5275] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5275] setpgid(0, 0) = 0 [pid 5275] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5274] write(3, "1000", 4) = 4 executing program [pid 5275] <... openat resumed>) = 3 [pid 5274] close(3) = 0 [pid 5274] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5274] write(1, "executing program\n", 18) = 18 [pid 5274] memfd_create("syzkaller", 0 [pid 5275] write(3, "1000", 4 [pid 5274] <... memfd_create resumed>) = 3 [pid 5275] <... write resumed>) = 4 [pid 5274] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5273] setpgid(0, 0 [pid 5097] umount2("./28", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5276] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5275] close(3 [pid 5274] <... mmap resumed>) = 0x7f8438200000 [pid 5273] <... setpgid resumed>) = 0 [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5276 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5276] chdir("./26" [pid 5275] <... close resumed>) = 0 [pid 5274] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5273] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5097] openat(AT_FDCWD, "./28", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5276] <... chdir resumed>) = 0 [pid 5275] symlink("/dev/binderfs", "./binderfs" [pid 5276] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5275] <... symlink resumed>) = 0 [pid 5273] <... openat resumed>) = 3 [pid 5099] <... ioctl resumed>) = 0 [pid 5097] <... openat resumed>) = 3 [pid 5276] <... prctl resumed>) = 0 [pid 5273] write(3, "1000", 4 [pid 5097] newfstatat(3, "", [pid 5276] setpgid(0, 0executing program ) = 0 [pid 5275] write(1, "executing program\n", 18 [pid 5273] <... write resumed>) = 4 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5276] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5275] <... write resumed>) = 18 [pid 5273] close(3 [pid 5097] getdents64(3, [pid 5273] <... close resumed>) = 0 [pid 5275] memfd_create("syzkaller", 0 [pid 5273] symlink("/dev/binderfs", "./binderfs" [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5275] <... memfd_create resumed>) = 3 [pid 5275] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0executing program ) = 0x7f8438200000 [pid 5273] <... symlink resumed>) = 0 [pid 5097] umount2("./28/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5276] <... openat resumed>) = 3 [pid 5273] write(1, "executing program\n", 18 [pid 5276] write(3, "1000", 4 [pid 5275] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5273] <... write resumed>) = 18 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5276] <... write resumed>) = 4 [pid 5097] newfstatat(AT_FDCWD, "./28/binderfs", [pid 5276] close(3 [pid 5273] memfd_create("syzkaller", 0 [pid 5099] close(3 [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5276] <... close resumed>) = 0 [pid 5097] unlink("./28/binderfs" [pid 5276] symlink("/dev/binderfs", "./binderfs" [pid 5273] <... memfd_create resumed>) = 3 [pid 5276] <... symlink resumed>) = 0 [pid 5273] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5097] <... unlink resumed>) = 0 [pid 5276] write(1, "executing program\n", 18 [pid 5099] <... close resumed>) = 0 executing program [pid 5276] <... write resumed>) = 18 [pid 5273] <... mmap resumed>) = 0x7f8438200000 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5097] umount2("./28/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5273] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5276] memfd_create("syzkaller", 0) = 3 [pid 5276] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5274] <... write resumed>) = 524288 [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5277 ./strace-static-x86_64: Process 5277 attached [pid 5277] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5275] <... write resumed>) = 524288 [pid 5277] chdir("./28" [pid 5274] munmap(0x7f8438200000, 138412032 [pid 5277] <... chdir resumed>) = 0 [pid 5274] <... munmap resumed>) = 0 [pid 5097] <... umount2 resumed>) = 0 [pid 5277] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5277] setpgid(0, 0) = 0 [pid 5274] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5277] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5274] <... openat resumed>) = 4 [pid 5277] <... openat resumed>) = 3 [pid 5274] ioctl(4, LOOP_SET_FD, 3 [pid 5097] umount2("./28/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5277] write(3, "1000", 4 [pid 5276] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5277] <... write resumed>) = 4 [pid 5275] munmap(0x7f8438200000, 138412032 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(AT_FDCWD, "./28/file1", [pid 5275] <... munmap resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5277] close(3) = 0 [pid 5277] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5273] <... write resumed>) = 524288 [pid 5097] umount2("./28/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5273] munmap(0x7f8438200000, 138412032 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] openat(AT_FDCWD, "./28/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORYexecuting program [pid 5277] write(1, "executing program\n", 18 [pid 5275] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5097] <... openat resumed>) = 4 [pid 5277] <... write resumed>) = 18 [pid 5275] <... openat resumed>) = 4 [pid 5097] newfstatat(4, "", [pid 5277] memfd_create("syzkaller", 0 [pid 5275] ioctl(4, LOOP_SET_FD, 3 [pid 5273] <... munmap resumed>) = 0 [pid 5277] <... memfd_create resumed>) = 3 [pid 5276] <... write resumed>) = 524288 [pid 5274] <... ioctl resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5277] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5273] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5097] getdents64(4, [pid 5277] <... mmap resumed>) = 0x7f8438200000 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5276] munmap(0x7f8438200000, 138412032 [pid 5275] <... ioctl resumed>) = 0 [pid 5274] close(3 [pid 5273] <... openat resumed>) = 4 [pid 5097] getdents64(4, [pid 5274] <... close resumed>) = 0 [pid 5273] ioctl(4, LOOP_SET_FD, 3 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5274] close(4 [pid 5097] close(4) = 0 [pid 5097] rmdir("./28/file1" [pid 5274] <... close resumed>) = 0 [ 128.097777][ T5274] loop4: detected capacity change from 0 to 1024 [ 128.123706][ T5275] loop1: detected capacity change from 0 to 1024 [pid 5277] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5276] <... munmap resumed>) = 0 [pid 5275] close(3 [pid 5274] mkdir("./file1", 0777 [pid 5273] <... ioctl resumed>) = 0 [pid 5097] <... rmdir resumed>) = 0 [pid 5276] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5274] <... mkdir resumed>) = 0 [pid 5273] close(3 [pid 5097] getdents64(3, [pid 5274] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5273] <... close resumed>) = 0 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] close(3 [pid 5275] <... close resumed>) = 0 [pid 5097] <... close resumed>) = 0 [pid 5275] close(4) = 0 [pid 5275] mkdir("./file1", 0777) = 0 [pid 5273] close(4 [pid 5097] rmdir("./28" [pid 5276] <... openat resumed>) = 4 [pid 5275] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5273] <... close resumed>) = 0 [pid 5097] <... rmdir resumed>) = 0 [pid 5276] ioctl(4, LOOP_SET_FD, 3 [pid 5273] mkdir("./file1", 0777 [ 128.143893][ T5273] loop5: detected capacity change from 0 to 1024 [pid 5097] mkdir("./29", 0777 [pid 5274] <... mount resumed>) = 0 [pid 5274] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5097] <... mkdir resumed>) = 0 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5273] <... mkdir resumed>) = 0 [pid 5274] chdir("./file1" [pid 5273] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5097] <... openat resumed>) = 3 [pid 5277] <... write resumed>) = 524288 [pid 5274] <... chdir resumed>) = 0 [pid 5274] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5277] munmap(0x7f8438200000, 138412032 [pid 5274] truncate("./file1", 0 [pid 5277] <... munmap resumed>) = 0 [pid 5275] <... mount resumed>) = 0 [pid 5274] <... truncate resumed>) = 0 [pid 5276] <... ioctl resumed>) = 0 [pid 5275] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5274] memfd_create("syzkaller", 0 [pid 5277] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5276] close(3 [pid 5275] <... openat resumed>) = 3 [ 128.175986][ T5276] loop3: detected capacity change from 0 to 1024 [pid 5274] <... memfd_create resumed>) = 4 [pid 5277] <... openat resumed>) = 4 [pid 5276] <... close resumed>) = 0 [pid 5275] chdir("./file1" [pid 5274] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5273] <... mount resumed>) = 0 [pid 5277] ioctl(4, LOOP_SET_FD, 3 [pid 5276] close(4 [pid 5275] <... chdir resumed>) = 0 [pid 5274] <... mmap resumed>) = 0x7f8438200000 [pid 5276] <... close resumed>) = 0 [pid 5273] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5276] mkdir("./file1", 0777 [pid 5277] <... ioctl resumed>) = 0 [pid 5276] <... mkdir resumed>) = 0 [pid 5275] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5274] 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 5275] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5275] truncate("./file1", 0 [pid 5273] <... openat resumed>) = 3 [pid 5273] chdir("./file1" [pid 5276] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5273] <... chdir resumed>) = 0 [pid 5273] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5275] <... truncate resumed>) = 0 [pid 5273] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] <... ioctl resumed>) = 0 [pid 5275] memfd_create("syzkaller", 0 [pid 5273] truncate("./file1", 0 [pid 5275] <... memfd_create resumed>) = 4 [pid 5275] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5275] 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 5273] <... truncate resumed>) = 0 [pid 5097] close(3 [pid 5273] memfd_create("syzkaller", 0 [pid 5097] <... close resumed>) = 0 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5277] close(3 [pid 5276] <... mount resumed>) = 0 [pid 5273] <... memfd_create resumed>) = 4 [pid 5277] <... close resumed>) = 0 [pid 5277] close(4 [pid 5276] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5274] <... write resumed>) = 524288 [pid 5273] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5277] <... close resumed>) = 0 [pid 5276] <... openat resumed>) = 3 [pid 5273] <... mmap resumed>) = 0x7f8438200000 [pid 5277] mkdir("./file1", 0777) = 0 [ 128.222736][ T5277] loop2: detected capacity change from 0 to 1024 [pid 5277] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, ""./strace-static-x86_64: Process 5278 attached [pid 5276] chdir("./file1" [pid 5278] set_robust_list(0x55556fbaa660, 24 [pid 5276] <... chdir resumed>) = 0 [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5278 [pid 5278] <... set_robust_list resumed>) = 0 [pid 5276] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5274] munmap(0x7f8438200000, 138412032 [pid 5278] chdir("./29" [pid 5277] <... mount resumed>) = 0 [pid 5276] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5274] <... munmap resumed>) = 0 [pid 5273] 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 5278] <... chdir resumed>) = 0 [pid 5276] truncate("./file1", 0 [pid 5275] <... write resumed>) = 524288 [pid 5277] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5278] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5277] chdir("./file1" [pid 5274] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5278] <... prctl resumed>) = 0 [pid 5273] <... write resumed>) = 524288 [pid 5278] setpgid(0, 0) = 0 [pid 5275] munmap(0x7f8438200000, 138412032 [pid 5278] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5277] <... chdir resumed>) = 0 [pid 5275] <... munmap resumed>) = 0 [pid 5278] <... openat resumed>) = 3 [pid 5277] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5274] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5278] write(3, "1000", 4 [pid 5277] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5274] close(4 [pid 5278] <... write resumed>) = 4 [pid 5276] <... truncate resumed>) = 0 [pid 5278] close(3 [pid 5276] memfd_create("syzkaller", 0 [pid 5273] munmap(0x7f8438200000, 138412032 [pid 5278] <... close resumed>) = 0 [pid 5278] symlink("/dev/binderfs", "./binderfs" [pid 5277] truncate("./file1", 0 [pid 5276] <... memfd_create resumed>) = 4 [pid 5275] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5274] <... close resumed>) = 0 [pid 5273] <... munmap resumed>) = 0 [pid 5278] <... symlink resumed>) = 0 [pid 5276] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5275] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5273] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5276] <... mmap resumed>) = 0x7f8438200000 [pid 5277] <... truncate resumed>) = 0 [pid 5275] close(4 [pid 5277] memfd_create("syzkaller", 0 [pid 5276] 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 5275] <... close resumed>) = 0 [pid 5273] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5278] write(1, "executing program\n", 18executing program ) = 18 [pid 5277] <... memfd_create resumed>) = 4 [pid 5278] memfd_create("syzkaller", 0 [pid 5277] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5273] close(4 [pid 5277] <... mmap resumed>) = 0x7f8438200000 [pid 5277] 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 5274] exit_group(0 [pid 5278] <... memfd_create resumed>) = 3 [pid 5275] exit_group(0 [pid 5278] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5275] <... exit_group resumed>) = ? [pid 5274] <... exit_group resumed>) = ? [pid 5274] +++ exited with 0 +++ [pid 5278] <... mmap resumed>) = 0x7f8438200000 [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5274, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5101] umount2("./27", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] openat(AT_FDCWD, "./27", 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 5101] umount2("./27/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] newfstatat(AT_FDCWD, "./27/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] unlink("./27/binderfs") = 0 [pid 5278] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5277] <... write resumed>) = 524288 [pid 5276] <... write resumed>) = 524288 [pid 5275] +++ exited with 0 +++ [pid 5273] <... close resumed>) = 0 [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5275, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5098] restart_syscall(<... resuming interrupted clone ...> [pid 5277] munmap(0x7f8438200000, 138412032 [pid 5276] munmap(0x7f8438200000, 138412032 [pid 5273] exit_group(0 [pid 5101] umount2("./27/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... restart_syscall resumed>) = 0 [pid 5273] <... exit_group resumed>) = ? [pid 5277] <... munmap resumed>) = 0 [pid 5276] <... munmap resumed>) = 0 [pid 5276] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5273] +++ exited with 0 +++ [pid 5098] umount2("./28", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5273, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./28", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5277] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5276] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5098] <... openat resumed>) = 3 [pid 5103] umount2("./27", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] newfstatat(3, "", [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] openat(AT_FDCWD, "./27", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5277] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5276] close(4 [pid 5103] <... openat resumed>) = 3 [pid 5101] <... umount2 resumed>) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5278] <... write resumed>) = 524288 [pid 5277] close(4 [pid 5276] <... close resumed>) = 0 [pid 5103] newfstatat(3, "", [pid 5278] munmap(0x7f8438200000, 138412032 [pid 5098] getdents64(3, [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] umount2("./27/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5278] <... munmap resumed>) = 0 [pid 5103] getdents64(3, [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5278] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5101] newfstatat(AT_FDCWD, "./27/file1", [pid 5098] umount2("./28/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5278] ioctl(4, LOOP_SET_FD, 3 [pid 5103] umount2("./27/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5277] <... close resumed>) = 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] umount2("./27/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5276] exit_group(0 [pid 5101] openat(AT_FDCWD, "./27/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5276] <... exit_group resumed>) = ? [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 5098] newfstatat(AT_FDCWD, "./28/binderfs", [pid 5103] newfstatat(AT_FDCWD, "./27/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] getdents64(4, [pid 5098] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] unlink("./27/binderfs" [pid 5098] unlink("./28/binderfs" [pid 5277] exit_group(0 [pid 5103] <... unlink resumed>) = 0 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] <... unlink resumed>) = 0 [pid 5277] <... exit_group resumed>) = ? [pid 5103] umount2("./27/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] getdents64(4, [pid 5278] <... ioctl resumed>) = 0 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5278] close(3 [pid 5101] close(4 [pid 5098] umount2("./28/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5278] <... close resumed>) = 0 [pid 5277] +++ exited with 0 +++ [pid 5103] <... umount2 resumed>) = 0 [pid 5101] <... close resumed>) = 0 [pid 5278] close(4) = 0 [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5277, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5099] restart_syscall(<... resuming interrupted clone ...> [pid 5278] mkdir("./file1", 0777 [pid 5099] <... restart_syscall resumed>) = 0 [pid 5101] rmdir("./27/file1") = 0 [pid 5101] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5099] umount2("./28", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] close(3 [pid 5099] openat(AT_FDCWD, "./28", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5103] umount2("./27/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] <... openat resumed>) = 3 [pid 5099] newfstatat(3, "", [pid 5103] newfstatat(AT_FDCWD, "./27/file1", [pid 5278] <... mkdir resumed>) = 0 [pid 5276] +++ exited with 0 +++ [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] <... close resumed>) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] umount2("./27/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] rmdir("./27" [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5276, si_uid=0, si_status=0, si_utime=0, si_stime=8 /* 0.08 s */} --- [pid 5099] getdents64(3, [pid 5278] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] <... rmdir resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5103] openat(AT_FDCWD, "./27/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] umount2("./28/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] <... openat resumed>) = 4 [pid 5100] umount2("./26", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] newfstatat(4, "", [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] openat(AT_FDCWD, "./26", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] <... openat resumed>) = 3 [pid 5100] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] newfstatat(AT_FDCWD, "./28/binderfs", [pid 5103] getdents64(4, [pid 5100] getdents64(3, [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5101] mkdir("./28", 0777 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [ 128.433449][ T5278] loop0: detected capacity change from 0 to 1024 [pid 5099] unlink("./28/binderfs" [pid 5103] getdents64(4, [pid 5100] umount2("./26/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... unlink resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] newfstatat(AT_FDCWD, "./26/binderfs", [pid 5103] close(4 [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] <... close resumed>) = 0 [pid 5100] unlink("./26/binderfs" [pid 5099] umount2("./28/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] rmdir("./27/file1" [pid 5101] <... mkdir resumed>) = 0 [pid 5100] <... unlink resumed>) = 0 [pid 5103] <... rmdir resumed>) = 0 [pid 5100] umount2("./26/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... umount2 resumed>) = 0 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5103] getdents64(3, [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5098] umount2("./28/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] close(3 [pid 5098] newfstatat(AT_FDCWD, "./28/file1", [pid 5103] <... close resumed>) = 0 [pid 5278] <... mount resumed>) = 0 [pid 5103] rmdir("./27") = 0 [pid 5278] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] mkdir("./28", 0777 [pid 5278] <... openat resumed>) = 3 [pid 5103] <... mkdir resumed>) = 0 [pid 5100] <... umount2 resumed>) = 0 [pid 5098] umount2("./28/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5278] chdir("./file1") = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5278] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5098] openat(AT_FDCWD, "./28/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5278] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5098] <... openat resumed>) = 4 [pid 5278] truncate("./file1", 0 [pid 5103] <... openat resumed>) = 3 [pid 5098] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5100] umount2("./26/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... umount2 resumed>) = 0 [pid 5098] getdents64(4, [pid 5103] <... ioctl resumed>) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] newfstatat(AT_FDCWD, "./26/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] close(3) = 0 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5100] umount2("./26/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] openat(AT_FDCWD, "./26/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] close(4 [pid 5100] <... openat resumed>) = 4 [pid 5098] <... close resumed>) = 0 [pid 5098] rmdir("./28/file1" [pid 5278] <... truncate resumed>) = 0 [pid 5100] newfstatat(4, "", [pid 5099] umount2("./28/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5278] memfd_create("syzkaller", 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5278] <... memfd_create resumed>) = 4 [pid 5100] getdents64(4, [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... rmdir resumed>) = 0 [pid 5278] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5099] newfstatat(AT_FDCWD, "./28/file1", [pid 5098] getdents64(3, [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5279 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] getdents64(4, [pid 5099] umount2("./28/file1", MNT_FORCE|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 5279 attached [pid 5278] <... mmap resumed>) = 0x7f8438200000 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5279] set_robust_list(0x55556fbaa660, 24 [pid 5278] 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(4 [pid 5099] openat(AT_FDCWD, "./28/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5279] <... set_robust_list resumed>) = 0 [pid 5100] <... close resumed>) = 0 [pid 5099] <... openat resumed>) = 4 [pid 5279] chdir("./28" [pid 5100] rmdir("./26/file1" [pid 5099] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5279] <... chdir resumed>) = 0 [pid 5099] getdents64(4, [pid 5279] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5279] <... prctl resumed>) = 0 [pid 5099] getdents64(4, [pid 5279] setpgid(0, 0 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5279] <... setpgid resumed>) = 0 [pid 5099] close(4 [pid 5279] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5099] <... close resumed>) = 0 [pid 5099] rmdir("./28/file1") = 0 [pid 5279] <... openat resumed>) = 3 [pid 5100] <... rmdir resumed>) = 0 [pid 5099] getdents64(3, [pid 5279] write(3, "1000", 4 [pid 5100] getdents64(3, [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5279] <... write resumed>) = 4 [pid 5098] close(3 [pid 5279] close(3 [pid 5099] close(3) = 0 [pid 5101] <... ioctl resumed>) = 0 [pid 5098] <... close resumed>) = 0 [pid 5279] <... close resumed>) = 0 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5099] rmdir("./28" [pid 5100] close(3 [pid 5099] <... rmdir resumed>) = 0 [pid 5279] symlink("/dev/binderfs", "./binderfs" [pid 5100] <... close resumed>) = 0 [pid 5279] <... symlink resumed>) = 0 [pid 5100] rmdir("./26" [pid 5098] rmdir("./28" [pid 5099] mkdir("./29", 0777) = 0 [pid 5100] <... rmdir resumed>) = 0 [pid 5098] <... rmdir resumed>) = 0 [pid 5098] mkdir("./29", 0777 [pid 5101] close(3) = 0 [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5098] <... mkdir resumed>) = 0 [pid 5279] write(1, "executing program\n", 18 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5100] mkdir("./27", 0777 [pid 5099] <... openat resumed>) = 3 [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWRexecuting program [pid 5279] <... write resumed>) = 18 [pid 5100] <... mkdir resumed>) = 0 [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5098] <... openat resumed>) = 3 [pid 5279] memfd_create("syzkaller", 0 [pid 5099] <... ioctl resumed>) = 0 [pid 5279] <... memfd_create resumed>) = 3 [pid 5099] close(3 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5099] <... close resumed>) = 0 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5280 attached [pid 5279] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5280] set_robust_list(0x55556fbaa660, 24 [pid 5279] <... mmap resumed>) = 0x7f8438200000 [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5280 [pid 5280] <... set_robust_list resumed>) = 0 [pid 5279] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 resumed>) = 3 [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5281 ./strace-static-x86_64: Process 5281 attached [pid 5280] chdir("./28" [pid 5278] <... write resumed>) = 524288 [pid 5278] munmap(0x7f8438200000, 138412032) = 0 [pid 5280] <... chdir resumed>) = 0 [pid 5278] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5281] set_robust_list(0x55556fbaa660, 24 [pid 5280] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5278] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5281] <... set_robust_list resumed>) = 0 [pid 5278] close(4 [pid 5281] chdir("./29" [pid 5280] <... prctl resumed>) = 0 [pid 5278] <... close resumed>) = 0 [pid 5098] <... ioctl resumed>) = 0 [pid 5281] <... chdir resumed>) = 0 [pid 5280] setpgid(0, 0) = 0 [pid 5281] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5280] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5279] <... write resumed>) = 524288 [pid 5280] <... openat resumed>) = 3 [pid 5098] close(3 [pid 5281] <... prctl resumed>) = 0 [pid 5280] write(3, "1000", 4 [pid 5098] <... close resumed>) = 0 [pid 5281] setpgid(0, 0) = 0 [pid 5281] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5280] <... write resumed>) = 4 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5281] <... openat resumed>) = 3 [pid 5281] write(3, "1000", 4) = 4 [pid 5281] close(3 [pid 5278] exit_group(0 [pid 5281] <... close resumed>) = 0 [pid 5278] <... exit_group resumed>) = ? [pid 5280] close(3 [pid 5278] +++ exited with 0 +++ ./strace-static-x86_64: Process 5282 attached [pid 5280] <... close resumed>) = 0 [pid 5280] symlink("/dev/binderfs", "./binderfs"executing program executing program [pid 5282] set_robust_list(0x55556fbaa660, 24 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5282 [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5278, si_uid=0, si_status=0, si_utime=0, si_stime=9 /* 0.09 s */} --- [pid 5281] symlink("/dev/binderfs", "./binderfs" [pid 5280] <... symlink resumed>) = 0 [pid 5279] munmap(0x7f8438200000, 138412032 [pid 5100] <... ioctl resumed>) = 0 [pid 5279] <... munmap resumed>) = 0 [pid 5097] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5100] close(3 [pid 5281] <... symlink resumed>) = 0 [pid 5100] <... close resumed>) = 0 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5097] umount2("./29", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5282] <... set_robust_list resumed>) = 0 [pid 5280] write(1, "executing program\n", 18 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] openat(AT_FDCWD, "./29", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5097] newfstatat(3, "", [pid 5281] write(1, "executing program\n", 18 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5281] <... write resumed>) = 18 [pid 5279] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5097] getdents64(3, [pid 5281] memfd_create("syzkaller", 0 [pid 5279] <... openat resumed>) = 4 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5279] ioctl(4, LOOP_SET_FD, 3 [pid 5097] umount2("./29/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5282] chdir("./29" [pid 5281] <... memfd_create resumed>) = 3 [pid 5280] <... write resumed>) = 18 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5282] <... chdir resumed>) = 0 [pid 5281] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5280] memfd_create("syzkaller", 0 [pid 5097] newfstatat(AT_FDCWD, "./29/binderfs", [pid 5282] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5281] <... mmap resumed>) = 0x7f8438200000 [pid 5280] <... memfd_create resumed>) = 3 [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5283 [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5282] <... prctl resumed>) = 0 [pid 5280] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5282] setpgid(0, 0 [pid 5280] <... mmap resumed>) = 0x7f8438200000 [pid 5097] unlink("./29/binderfs") = 0 [pid 5282] <... setpgid resumed>) = 0 [pid 5281] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5280] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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("./29/file1", MNT_FORCE|UMOUNT_NOFOLLOW [ 128.717983][ T5279] loop5: detected capacity change from 0 to 1024 [pid 5282] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC./strace-static-x86_64: Process 5283 attached ) = 3 [pid 5097] <... umount2 resumed>) = 0 [pid 5279] <... ioctl resumed>) = 0 [pid 5097] umount2("./29/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(AT_FDCWD, "./29/file1", [pid 5281] <... write resumed>) = 524288 [pid 5279] close(3 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5283] set_robust_list(0x55556fbaa660, 24 [pid 5279] <... close resumed>) = 0 [pid 5097] umount2("./29/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5283] <... set_robust_list resumed>) = 0 [pid 5282] write(3, "1000", 4 [pid 5279] close(4 [pid 5283] chdir("./27" [pid 5282] <... write resumed>) = 4 [pid 5279] <... close resumed>) = 0 [pid 5097] openat(AT_FDCWD, "./29/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5283] <... chdir resumed>) = 0 [pid 5282] close(3 [pid 5279] mkdir("./file1", 0777 [pid 5097] <... openat resumed>) = 4 [pid 5283] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5282] <... close resumed>) = 0 [pid 5280] <... write resumed>) = 524288 [pid 5279] <... mkdir resumed>) = 0 [pid 5097] newfstatat(4, "", [pid 5280] munmap(0x7f8438200000, 138412032 [pid 5283] <... prctl resumed>) = 0 [pid 5282] symlink("/dev/binderfs", "./binderfs" [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5283] setpgid(0, 0 [pid 5282] <... symlink resumed>) = 0 [pid 5280] <... munmap resumed>) = 0 [pid 5097] getdents64(4, [pid 5283] <... setpgid resumed>) = 0 executing program [pid 5282] write(1, "executing program\n", 18 [pid 5279] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5283] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5282] <... write resumed>) = 18 [pid 5280] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5283] <... openat resumed>) = 3 [pid 5282] memfd_create("syzkaller", 0 [pid 5281] munmap(0x7f8438200000, 138412032 [pid 5280] <... openat resumed>) = 4 [pid 5097] getdents64(4, [pid 5283] write(3, "1000", 4 [pid 5282] <... memfd_create resumed>) = 3 [pid 5281] <... munmap resumed>) = 0 [pid 5280] ioctl(4, LOOP_SET_FD, 3 [pid 5283] <... write resumed>) = 4 [pid 5282] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5283] close(3) = 0 [pid 5282] <... mmap resumed>) = 0x7f8438200000 [pid 5281] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5283] symlink("/dev/binderfs", "./binderfs" [pid 5281] <... openat resumed>) = 4 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] close(4 [pid 5283] <... symlink resumed>) = 0 [pid 5281] ioctl(4, LOOP_SET_FD, 3 [pid 5097] <... close resumed>) = 0 [pid 5280] <... ioctl resumed>) = 0 [pid 5279] <... mount resumed>) = 0 [pid 5097] rmdir("./29/file1" [pid 5279] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5283] write(1, "executing program\n", 18 [pid 5282] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 executing program [pid 5280] close(3 [pid 5279] <... openat resumed>) = 3 [pid 5097] <... rmdir resumed>) = 0 [pid 5283] <... write resumed>) = 18 [pid 5279] chdir("./file1" [pid 5097] getdents64(3, [pid 5283] memfd_create("syzkaller", 0 [pid 5280] <... close resumed>) = 0 [pid 5279] <... chdir resumed>) = 0 [pid 5283] <... memfd_create resumed>) = 3 [pid 5281] <... ioctl resumed>) = 0 [pid 5280] close(4 [pid 5279] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5283] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5280] <... close resumed>) = 0 [pid 5283] <... mmap resumed>) = 0x7f8438200000 [pid 5280] mkdir("./file1", 0777 [pid 5279] <... openat resumed>) = -1 EBUSY (Device or resource busy) [ 128.825786][ T5280] loop4: detected capacity change from 0 to 1024 [ 128.836610][ T5281] loop2: detected capacity change from 0 to 1024 [pid 5281] close(3 [pid 5280] <... mkdir resumed>) = 0 [pid 5279] truncate("./file1", 0 [pid 5097] close(3 [pid 5283] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5282] <... write resumed>) = 524288 [pid 5282] munmap(0x7f8438200000, 138412032 [pid 5097] <... close resumed>) = 0 [pid 5281] <... close resumed>) = 0 [pid 5281] close(4 [pid 5282] <... munmap resumed>) = 0 [pid 5281] <... close resumed>) = 0 [pid 5280] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5097] rmdir("./29" [pid 5281] mkdir("./file1", 0777) = 0 [pid 5281] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5097] <... rmdir resumed>) = 0 [pid 5097] mkdir("./30", 0777 [pid 5282] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 5279] <... truncate resumed>) = 0 [pid 5282] ioctl(4, LOOP_SET_FD, 3 [pid 5283] <... write resumed>) = 524288 [pid 5280] <... mount resumed>) = 0 [pid 5279] memfd_create("syzkaller", 0 [pid 5097] <... mkdir resumed>) = 0 [pid 5280] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5279] <... memfd_create resumed>) = 4 [pid 5279] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5283] munmap(0x7f8438200000, 138412032 [pid 5280] <... openat resumed>) = 3 [pid 5279] <... mmap resumed>) = 0x7f8438200000 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5283] <... munmap resumed>) = 0 [pid 5280] chdir("./file1" [pid 5097] <... openat resumed>) = 3 [pid 5280] <... chdir resumed>) = 0 [pid 5280] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5280] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] <... ioctl resumed>) = 0 [pid 5283] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5279] 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 5283] <... openat resumed>) = 4 [pid 5283] ioctl(4, LOOP_SET_FD, 3 [pid 5280] truncate("./file1", 0 [pid 5097] close(3 [pid 5282] <... ioctl resumed>) = 0 [pid 5282] close(3) = 0 [pid 5282] close(4) = 0 [pid 5282] mkdir("./file1", 0777) = 0 [pid 5282] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5283] <... ioctl resumed>) = 0 [pid 5283] close(3) = 0 [pid 5283] close(4) = 0 [pid 5282] <... mount resumed>) = 0 [pid 5282] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5283] mkdir("./file1", 0777 [pid 5282] <... openat resumed>) = 3 [pid 5281] <... mount resumed>) = 0 [pid 5283] <... mkdir resumed>) = 0 [pid 5280] <... truncate resumed>) = 0 [pid 5279] <... write resumed>) = 524288 [ 128.927042][ T5282] loop1: detected capacity change from 0 to 1024 [ 128.966996][ T5283] loop3: detected capacity change from 0 to 1024 [pid 5282] chdir("./file1" [pid 5281] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5280] memfd_create("syzkaller", 0 [pid 5279] munmap(0x7f8438200000, 138412032 [pid 5097] <... close resumed>) = 0 [pid 5283] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5281] <... openat resumed>) = 3 [pid 5281] chdir("./file1" [pid 5279] <... munmap resumed>) = 0 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5281] <... chdir resumed>) = 0 [pid 5282] <... chdir resumed>) = 0 [pid 5280] <... memfd_create resumed>) = 4 [pid 5282] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5280] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5282] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5281] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5280] <... mmap resumed>) = 0x7f8438200000 [pid 5279] openat(AT_FDCWD, "/dev/loop5", O_RDWR./strace-static-x86_64: Process 5284 attached [pid 5281] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5279] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5281] truncate("./file1", 0 [pid 5279] close(4 [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5284 [pid 5283] <... mount resumed>) = 0 [pid 5282] truncate("./file1", 0 [pid 5280] 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 5279] <... close resumed>) = 0 [pid 5284] set_robust_list(0x55556fbaa660, 24 [pid 5283] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5284] <... set_robust_list resumed>) = 0 [pid 5284] chdir("./30" [pid 5283] <... openat resumed>) = 3 [pid 5284] <... chdir resumed>) = 0 [pid 5282] <... truncate resumed>) = 0 [pid 5281] <... truncate resumed>) = 0 [pid 5279] exit_group(0 [pid 5284] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5283] chdir("./file1" [pid 5282] memfd_create("syzkaller", 0 [pid 5284] <... prctl resumed>) = 0 [pid 5281] memfd_create("syzkaller", 0 [pid 5279] <... exit_group resumed>) = ? [pid 5284] setpgid(0, 0 [pid 5283] <... chdir resumed>) = 0 [pid 5282] <... memfd_create resumed>) = 4 [pid 5281] <... memfd_create resumed>) = 4 [pid 5284] <... setpgid resumed>) = 0 [pid 5281] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5284] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5283] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5282] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5281] <... mmap resumed>) = 0x7f8438200000 [pid 5279] +++ exited with 0 +++ [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5279, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5284] <... openat resumed>) = 3 [pid 5283] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5282] <... mmap resumed>) = 0x7f8438200000 [pid 5284] write(3, "1000", 4 [pid 5283] truncate("./file1", 0 [pid 5282] 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("./28", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5284] <... write resumed>) = 4 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] openat(AT_FDCWD, "./28", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5284] close(3) = 0 [pid 5283] <... truncate resumed>) = 0 [pid 5281] 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 5280] <... write resumed>) = 524288 [pid 5103] <... openat resumed>) = 3 [pid 5283] memfd_create("syzkaller", 0) = 4 [pid 5283] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5284] symlink("/dev/binderfs", "./binderfs" [pid 5280] munmap(0x7f8438200000, 138412032 [pid 5103] newfstatat(3, "", [pid 5284] <... symlink resumed>) = 0 [pid 5280] <... munmap resumed>) = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] getdents64(3, [pid 5284] write(1, "executing program\n", 18executing program ) = 18 [pid 5283] 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 5280] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5284] memfd_create("syzkaller", 0 [pid 5281] <... write resumed>) = 524288 [pid 5280] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] umount2("./28/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5284] <... memfd_create resumed>) = 3 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5284] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] newfstatat(AT_FDCWD, "./28/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5280] close(4 [pid 5284] <... mmap resumed>) = 0x7f8438200000 [pid 5282] <... write resumed>) = 524288 [pid 5283] <... write resumed>) = 524288 [pid 5103] unlink("./28/binderfs") = 0 [pid 5103] umount2("./28/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5283] munmap(0x7f8438200000, 138412032) = 0 [pid 5284] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5283] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5282] munmap(0x7f8438200000, 138412032 [pid 5283] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5282] <... munmap resumed>) = 0 [pid 5283] close(4 [pid 5281] munmap(0x7f8438200000, 138412032 [pid 5103] <... umount2 resumed>) = 0 [pid 5282] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5280] <... close resumed>) = 0 [pid 5282] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5281] <... munmap resumed>) = 0 [pid 5282] close(4 [pid 5281] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5280] exit_group(0 [pid 5103] umount2("./28/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5281] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5280] <... exit_group resumed>) = ? [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5284] <... write resumed>) = 524288 [pid 5281] close(4 [pid 5280] +++ exited with 0 +++ [pid 5283] <... close resumed>) = 0 [pid 5103] newfstatat(AT_FDCWD, "./28/file1", [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5280, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] umount2("./28", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] openat(AT_FDCWD, "./28", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5103] umount2("./28/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] newfstatat(3, "", [pid 5284] munmap(0x7f8438200000, 138412032 [pid 5283] exit_group(0 [pid 5282] <... close resumed>) = 0 [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 5283] <... exit_group resumed>) = ? [pid 5103] openat(AT_FDCWD, "./28/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5284] <... munmap resumed>) = 0 [pid 5283] +++ exited with 0 +++ [pid 5281] <... close resumed>) = 0 [pid 5103] <... openat resumed>) = 4 [pid 5101] getdents64(3, [pid 5281] exit_group(0 [pid 5103] newfstatat(4, "", [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5283, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5101] umount2("./28/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] restart_syscall(<... resuming interrupted clone ...> [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] newfstatat(AT_FDCWD, "./28/binderfs", [pid 5100] <... restart_syscall resumed>) = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5284] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5281] <... exit_group resumed>) = ? [pid 5103] getdents64(4, [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5101] unlink("./28/binderfs") = 0 [pid 5282] exit_group(0 [pid 5101] umount2("./28/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5284] <... openat resumed>) = 4 [pid 5103] getdents64(4, [pid 5284] ioctl(4, LOOP_SET_FD, 3 [pid 5282] <... exit_group resumed>) = ? [pid 5281] +++ exited with 0 +++ [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] umount2("./27", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] close(4 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5281, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5284] <... ioctl resumed>) = 0 [pid 5282] +++ exited with 0 +++ [pid 5103] <... close resumed>) = 0 [pid 5101] <... umount2 resumed>) = 0 [pid 5100] openat(AT_FDCWD, "./27", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5282, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5098] umount2("./29", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./29", 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("./29/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./29/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] unlink("./29/binderfs") = 0 [pid 5098] umount2("./29/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] rmdir("./28/file1" [pid 5100] <... openat resumed>) = 3 [pid 5099] umount2("./29", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5103] <... rmdir resumed>) = 0 [pid 5099] openat(AT_FDCWD, "./29", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5100] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] <... openat resumed>) = 3 [pid 5284] close(3 [pid 5103] getdents64(3, [pid 5100] getdents64(3, [pid 5099] newfstatat(3, "", [pid 5284] <... close resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5284] close(4 [pid 5103] close(3 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5284] <... close resumed>) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] <... close resumed>) = 0 [pid 5284] mkdir("./file1", 0777 [pid 5103] rmdir("./28" [pid 5099] getdents64(3, [pid 5284] <... mkdir resumed>) = 0 [pid 5103] <... rmdir resumed>) = 0 [pid 5100] umount2("./27/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] <... umount2 resumed>) = 0 [pid 5284] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5103] mkdir("./29", 0777 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] umount2("./29/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] newfstatat(AT_FDCWD, "./27/binderfs", [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] newfstatat(AT_FDCWD, "./29/binderfs", [pid 5101] umount2("./28/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] <... mkdir resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] newfstatat(AT_FDCWD, "./28/file1", [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] unlink("./27/binderfs" [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 5099] unlink("./29/binderfs" [pid 5098] umount2("./29/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5284] <... mount resumed>) = 0 [pid 5103] <... openat resumed>) = 3 [pid 5101] umount2("./28/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... unlink resumed>) = 0 [pid 5099] <... unlink resumed>) = 0 [pid 5284] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5100] umount2("./27/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] umount2("./29/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5284] <... openat resumed>) = 3 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 129.203265][ T5284] loop0: detected capacity change from 0 to 1024 [pid 5101] openat(AT_FDCWD, "./28/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] newfstatat(AT_FDCWD, "./29/file1", [pid 5284] chdir("./file1" [pid 5101] <... openat resumed>) = 4 [pid 5099] <... umount2 resumed>) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5284] <... chdir resumed>) = 0 [pid 5284] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5284] truncate("./file1", 0 [pid 5101] newfstatat(4, "", [pid 5100] <... umount2 resumed>) = 0 [pid 5099] umount2("./29/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] umount2("./29/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] getdents64(4, [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] openat(AT_FDCWD, "./29/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] getdents64(4, [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... openat resumed>) = 4 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] newfstatat(AT_FDCWD, "./29/file1", [pid 5098] newfstatat(4, "", [pid 5101] close(4 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] <... close resumed>) = 0 [pid 5099] umount2("./29/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] getdents64(4, [pid 5101] rmdir("./28/file1" [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5101] <... rmdir resumed>) = 0 [pid 5099] openat(AT_FDCWD, "./29/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] getdents64(4, [pid 5284] <... truncate resumed>) = 0 [pid 5101] getdents64(3, [pid 5100] umount2("./27/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... openat resumed>) = 4 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5284] memfd_create("syzkaller", 0 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] newfstatat(4, "", [pid 5098] close(4 [pid 5284] <... memfd_create resumed>) = 4 [pid 5101] close(3 [pid 5100] newfstatat(AT_FDCWD, "./27/file1", [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] <... close resumed>) = 0 [pid 5284] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] <... close resumed>) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] getdents64(4, [pid 5098] rmdir("./29/file1" [pid 5284] <... mmap resumed>) = 0x7f8438200000 [pid 5101] rmdir("./28" [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5101] <... rmdir resumed>) = 0 [pid 5099] getdents64(4, [pid 5098] <... rmdir resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] close(4) = 0 [pid 5099] rmdir("./29/file1") = 0 [pid 5098] getdents64(3, [pid 5101] mkdir("./29", 0777 [pid 5103] <... ioctl resumed>) = 0 [pid 5101] <... mkdir resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] close(3) = 0 [pid 5099] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5099] close(3) = 0 [pid 5284] 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("./27/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] rmdir("./29" [pid 5098] rmdir("./29" [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... rmdir resumed>) = 0 [pid 5098] <... rmdir resumed>) = 0 [pid 5101] <... openat resumed>) = 3 [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5103] close(3 [pid 5100] openat(AT_FDCWD, "./27/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5103] <... close resumed>) = 0 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5100] <... openat resumed>) = 4 [pid 5099] mkdir("./30", 0777 [pid 5098] mkdir("./30", 0777 [pid 5099] <... mkdir resumed>) = 0 [pid 5098] <... mkdir resumed>) = 0 [pid 5100] newfstatat(4, "", [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] <... openat resumed>) = 3 [pid 5100] getdents64(4, [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5100] getdents64(4, [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5285 ./strace-static-x86_64: Process 5285 attached [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] close(4 [pid 5285] set_robust_list(0x55556fbaa660, 24 [pid 5100] <... close resumed>) = 0 [pid 5100] rmdir("./27/file1" [pid 5285] <... set_robust_list resumed>) = 0 [pid 5100] <... rmdir resumed>) = 0 [pid 5101] <... ioctl resumed>) = 0 [pid 5100] getdents64(3, [pid 5285] chdir("./29" [pid 5284] <... write resumed>) = 524288 [pid 5101] close(3 [pid 5285] <... chdir resumed>) = 0 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5284] munmap(0x7f8438200000, 138412032 [pid 5100] close(3 [pid 5101] <... close resumed>) = 0 [pid 5100] <... close resumed>) = 0 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5284] <... munmap resumed>) = 0 [pid 5100] rmdir("./27" [pid 5285] prctl(PR_SET_PDEATHSIG, SIGKILL./strace-static-x86_64: Process 5286 attached ) = 0 [pid 5284] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5100] <... rmdir resumed>) = 0 [pid 5285] setpgid(0, 0 [pid 5286] set_robust_list(0x55556fbaa660, 24 [pid 5285] <... setpgid resumed>) = 0 [pid 5284] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5286 [pid 5286] <... set_robust_list resumed>) = 0 [pid 5285] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5284] close(4 [pid 5100] mkdir("./28", 0777 [pid 5286] chdir("./29" [pid 5285] <... openat resumed>) = 3 [pid 5286] <... chdir resumed>) = 0 [pid 5286] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5286] setpgid(0, 0) = 0 [pid 5286] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5286] write(3, "1000", 4) = 4 [pid 5286] close(3) = 0 [pid 5286] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5098] <... ioctl resumed>) = 0 executing program [pid 5286] write(1, "executing program\n", 18) = 18 [pid 5286] memfd_create("syzkaller", 0) = 3 [pid 5286] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5100] <... mkdir resumed>) = 0 [pid 5286] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5285] write(3, "1000", 4 [pid 5284] <... close resumed>) = 0 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5099] <... ioctl resumed>) = 0 [pid 5098] close(3 [pid 5285] <... write resumed>) = 4 [pid 5285] close(3 [pid 5100] <... openat resumed>) = 3 [pid 5285] <... close resumed>) = 0 [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5285] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 5284] exit_group(0 [pid 5099] close(3 [pid 5098] <... close resumed>) = 0 [pid 5284] <... exit_group resumed>) = ? [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5285] write(1, "executing program\n", 18 [pid 5099] <... close resumed>) = 0 [pid 5285] <... write resumed>) = 18 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5285] memfd_create("syzkaller", 0./strace-static-x86_64: Process 5287 attached ) = 3 [pid 5284] +++ exited with 0 +++ [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5287 [pid 5285] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5287] set_robust_list(0x55556fbaa660, 24 [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5284, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5287] <... set_robust_list resumed>) = 0 [pid 5285] <... mmap resumed>) = 0x7f8438200000 [pid 5287] chdir("./30" [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5288 [pid 5097] umount2("./30", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5287] <... chdir resumed>) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5287] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5097] openat(AT_FDCWD, "./30", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 ./strace-static-x86_64: Process 5288 attached [pid 5286] <... write resumed>) = 524288 [pid 5288] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5288] chdir("./30") = 0 [pid 5286] munmap(0x7f8438200000, 138412032 [pid 5288] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5286] <... munmap resumed>) = 0 [pid 5097] newfstatat(3, "", [pid 5287] <... prctl resumed>) = 0 [pid 5288] setpgid(0, 0 [pid 5287] setpgid(0, 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5287] <... setpgid resumed>) = 0 [pid 5288] <... setpgid resumed>) = 0 [pid 5288] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5287] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5286] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5097] getdents64(3, [pid 5286] <... openat resumed>) = 4 [pid 5286] ioctl(4, LOOP_SET_FD, 3 [pid 5285] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5288] write(3, "1000", 4 [pid 5287] <... openat resumed>) = 3 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5288] <... write resumed>) = 4 [pid 5288] close(3) = 0 [pid 5288] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 5288] write(1, "executing program\n", 18) = 18 [pid 5097] umount2("./30/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5288] memfd_create("syzkaller", 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(AT_FDCWD, "./30/binderfs", [pid 5288] <... memfd_create resumed>) = 3 [pid 5287] write(3, "1000", 4 [pid 5100] <... ioctl resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5288] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5287] <... write resumed>) = 4 [pid 5100] close(3 [pid 5097] unlink("./30/binderfs" [pid 5288] <... mmap resumed>) = 0x7f8438200000 [pid 5100] <... close resumed>) = 0 [pid 5287] close(3 [pid 5097] <... unlink resumed>) = 0 [pid 5287] <... close resumed>) = 0 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5097] umount2("./30/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5287] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5286] <... ioctl resumed>) = 0 executing program [pid 5286] close(3 [pid 5287] write(1, "executing program\n", 18 [pid 5286] <... close resumed>) = 0 [pid 5286] close(4 [pid 5288] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5286] <... close resumed>) = 0 [pid 5287] <... write resumed>) = 18 [pid 5287] memfd_create("syzkaller", 0 [pid 5286] mkdir("./file1", 0777 [pid 5287] <... memfd_create resumed>) = 3 [pid 5286] <... mkdir resumed>) = 0 [pid 5285] <... write resumed>) = 524288 ./strace-static-x86_64: Process 5289 attached [pid 5287] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5285] munmap(0x7f8438200000, 138412032 [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5289 [pid 5287] <... mmap resumed>) = 0x7f8438200000 [pid 5287] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5286] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5285] <... munmap resumed>) = 0 [pid 5289] set_robust_list(0x55556fbaa660, 24 [pid 5288] <... write resumed>) = 524288 [ 129.479361][ T5286] loop4: detected capacity change from 0 to 1024 [pid 5289] <... set_robust_list resumed>) = 0 [pid 5285] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5097] <... umount2 resumed>) = 0 [pid 5289] chdir("./28" [pid 5285] <... openat resumed>) = 4 [pid 5289] <... chdir resumed>) = 0 [pid 5285] ioctl(4, LOOP_SET_FD, 3 [pid 5288] munmap(0x7f8438200000, 138412032 [pid 5289] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5286] <... mount resumed>) = 0 [pid 5097] umount2("./30/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5289] <... prctl resumed>) = 0 [pid 5286] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5289] setpgid(0, 0 [pid 5286] <... openat resumed>) = 3 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5286] chdir("./file1" [pid 5288] <... munmap resumed>) = 0 [pid 5286] <... chdir resumed>) = 0 [pid 5097] newfstatat(AT_FDCWD, "./30/file1", [pid 5289] <... setpgid resumed>) = 0 [pid 5288] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5287] <... write resumed>) = 524288 [pid 5286] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5285] <... ioctl resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5289] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5288] <... openat resumed>) = 4 [pid 5287] munmap(0x7f8438200000, 138412032 [pid 5286] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5285] close(3 [pid 5288] ioctl(4, LOOP_SET_FD, 3 [pid 5286] truncate("./file1", 0 [pid 5285] <... close resumed>) = 0 [pid 5097] umount2("./30/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5289] <... openat resumed>) = 3 [pid 5288] <... ioctl resumed>) = 0 [pid 5287] <... munmap resumed>) = 0 [pid 5285] close(4 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5289] write(3, "1000", 4 [pid 5285] <... close resumed>) = 0 [pid 5289] <... write resumed>) = 4 [pid 5287] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5286] <... truncate resumed>) = 0 [pid 5285] mkdir("./file1", 0777 [pid 5097] openat(AT_FDCWD, "./30/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5289] close(3 [pid 5097] <... openat resumed>) = 4 [pid 5289] <... close resumed>) = 0 [pid 5286] memfd_create("syzkaller", 0 [pid 5285] <... mkdir resumed>) = 0 [pid 5289] symlink("/dev/binderfs", "./binderfs" [pid 5287] <... openat resumed>) = 4 [pid 5289] <... symlink resumed>) = 0 [pid 5287] ioctl(4, LOOP_SET_FD, 3 [pid 5286] <... memfd_create resumed>) = 4 [pid 5285] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5097] newfstatat(4, "", [pid 5286] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5097] <... newfstatat resumed>{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("./30/file1") = 0 [pid 5097] getdents64(3, executing program [pid 5289] write(1, "executing program\n", 18 [pid 5286] <... mmap resumed>) = 0x7f8438200000 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5289] <... write resumed>) = 18 [pid 5288] close(3 [pid 5286] 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 5289] memfd_create("syzkaller", 0 [pid 5288] <... close resumed>) = 0 [pid 5288] close(4 [pid 5097] <... close resumed>) = 0 [pid 5289] <... memfd_create resumed>) = 3 [pid 5288] <... close resumed>) = 0 [pid 5289] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5288] mkdir("./file1", 0777 [pid 5097] rmdir("./30" [pid 5288] <... mkdir resumed>) = 0 [pid 5289] <... mmap resumed>) = 0x7f8438200000 [pid 5288] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5097] <... rmdir resumed>) = 0 [pid 5097] mkdir("./31", 0777) = 0 [ 129.550225][ T5285] loop5: detected capacity change from 0 to 1024 [ 129.574098][ T5288] loop2: detected capacity change from 0 to 1024 [ 129.592574][ T5287] loop1: detected capacity change from 0 to 1024 [pid 5289] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5287] <... ioctl resumed>) = 0 [pid 5288] <... mount resumed>) = 0 [pid 5287] close(3 [pid 5286] <... write resumed>) = 524288 [pid 5285] <... mount resumed>) = 0 [pid 5288] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5287] <... close resumed>) = 0 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5288] <... openat resumed>) = 3 [pid 5287] close(4 [pid 5285] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5288] chdir("./file1" [pid 5287] <... close resumed>) = 0 [pid 5285] <... openat resumed>) = 3 [pid 5097] <... openat resumed>) = 3 [pid 5288] <... chdir resumed>) = 0 [pid 5287] mkdir("./file1", 0777 [pid 5285] chdir("./file1" [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5288] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5289] <... write resumed>) = 524288 [pid 5286] munmap(0x7f8438200000, 138412032 [pid 5285] <... chdir resumed>) = 0 [pid 5288] truncate("./file1", 0 [pid 5287] <... mkdir resumed>) = 0 [pid 5286] <... munmap resumed>) = 0 [pid 5287] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5285] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5289] munmap(0x7f8438200000, 138412032 [pid 5288] <... truncate resumed>) = 0 [pid 5285] truncate("./file1", 0 [pid 5288] memfd_create("syzkaller", 0 [pid 5289] <... munmap resumed>) = 0 [pid 5288] <... memfd_create resumed>) = 4 [pid 5286] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5288] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5286] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5288] <... mmap resumed>) = 0x7f8438200000 [pid 5288] 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 5286] close(4 [pid 5289] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5289] ioctl(4, LOOP_SET_FD, 3 [pid 5288] <... write resumed>) = 524288 [pid 5285] <... truncate resumed>) = 0 [pid 5286] <... close resumed>) = 0 [pid 5285] memfd_create("syzkaller", 0 [pid 5286] exit_group(0 [pid 5285] <... memfd_create resumed>) = 4 [pid 5097] <... ioctl resumed>) = 0 [pid 5289] <... ioctl resumed>) = 0 [pid 5286] <... exit_group resumed>) = ? [pid 5285] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5289] close(3) = 0 [pid 5285] <... mmap resumed>) = 0x7f8438200000 [pid 5289] close(4) = 0 [pid 5287] <... mount resumed>) = 0 [pid 5286] +++ exited with 0 +++ [pid 5285] 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 5289] mkdir("./file1", 0777 [pid 5287] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5286, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5101] restart_syscall(<... resuming interrupted clone ...> [pid 5289] <... mkdir resumed>) = 0 [pid 5101] <... restart_syscall resumed>) = 0 [pid 5101] umount2("./29", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5287] <... openat resumed>) = 3 [pid 5287] chdir("./file1" [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5287] <... chdir resumed>) = 0 [pid 5101] openat(AT_FDCWD, "./29", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5289] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5287] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5101] <... openat resumed>) = 3 [pid 5287] truncate("./file1", 0 [pid 5101] newfstatat(3, "", [pid 5288] munmap(0x7f8438200000, 138412032 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5288] <... munmap resumed>) = 0 [pid 5101] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5101] umount2("./29/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5288] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5101] newfstatat(AT_FDCWD, "./29/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5288] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] unlink("./29/binderfs") = 0 [pid 5097] close(3 [pid 5288] close(4 [pid 5101] umount2("./29/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... close resumed>) = 0 [pid 5288] <... close resumed>) = 0 [ 129.702180][ T5289] loop3: detected capacity change from 0 to 1024 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5287] <... truncate resumed>) = 0 [pid 5287] memfd_create("syzkaller", 0) = 4 [pid 5287] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5290 ./strace-static-x86_64: Process 5290 attached [pid 5289] <... mount resumed>) = 0 [pid 5285] <... write resumed>) = 524288 [pid 5290] set_robust_list(0x55556fbaa660, 24 [pid 5289] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5101] <... umount2 resumed>) = 0 [pid 5285] munmap(0x7f8438200000, 138412032 [pid 5290] <... set_robust_list resumed>) = 0 [pid 5288] exit_group(0 [pid 5290] chdir("./31" [pid 5288] <... exit_group resumed>) = ? [pid 5290] <... chdir resumed>) = 0 [pid 5289] <... openat resumed>) = 3 [pid 5288] +++ exited with 0 +++ [pid 5101] umount2("./29/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5285] <... munmap resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5287] 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 5290] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5288, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5290] <... prctl resumed>) = 0 [pid 5289] chdir("./file1" [pid 5101] newfstatat(AT_FDCWD, "./29/file1", [pid 5099] umount2("./30", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5290] setpgid(0, 0 [pid 5289] <... chdir resumed>) = 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5290] <... setpgid resumed>) = 0 [pid 5289] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5285] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5101] umount2("./29/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] openat(AT_FDCWD, "./30", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5290] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5289] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5285] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... openat resumed>) = 3 [pid 5101] openat(AT_FDCWD, "./29/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] newfstatat(3, "", [pid 5289] truncate("./file1", 0 [pid 5290] <... openat resumed>) = 3 [pid 5285] close(4 [pid 5101] <... openat resumed>) = 4 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5290] write(3, "1000", 4) = 4 [pid 5290] close(3 [pid 5101] newfstatat(4, "", [pid 5099] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5290] <... close resumed>) = 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] umount2("./30/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5290] symlink("/dev/binderfs", "./binderfs" [pid 5101] getdents64(4, [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5290] <... symlink resumed>) = 0 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5099] newfstatat(AT_FDCWD, "./30/binderfs", executing program [pid 5101] getdents64(4, [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] unlink("./30/binderfs" [pid 5101] close(4 [pid 5099] <... unlink resumed>) = 0 [pid 5101] <... close resumed>) = 0 [pid 5099] umount2("./30/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] rmdir("./29/file1" [pid 5290] write(1, "executing program\n", 18 [pid 5101] <... rmdir resumed>) = 0 [pid 5290] <... write resumed>) = 18 [pid 5290] memfd_create("syzkaller", 0) = 3 [pid 5290] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5101] getdents64(3, [pid 5289] <... truncate resumed>) = 0 [pid 5289] memfd_create("syzkaller", 0) = 4 [pid 5289] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5287] <... write resumed>) = 524288 [pid 5285] <... close resumed>) = 0 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5289] <... mmap resumed>) = 0x7f8438200000 [pid 5287] munmap(0x7f8438200000, 138412032 [pid 5285] exit_group(0 [pid 5101] close(3) = 0 [pid 5101] rmdir("./29" [pid 5289] 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 5101] mkdir("./30", 0777 [pid 5287] <... munmap resumed>) = 0 [pid 5285] <... exit_group resumed>) = ? [pid 5101] <... mkdir resumed>) = 0 [pid 5290] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5287] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5285] +++ exited with 0 +++ [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5285, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5101] <... openat resumed>) = 3 [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5287] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] umount2("./29", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... umount2 resumed>) = 0 [pid 5287] close(4 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] openat(AT_FDCWD, "./29", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5290] <... write resumed>) = 524288 [pid 5103] <... openat resumed>) = 3 [pid 5103] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] umount2("./30/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5289] <... write resumed>) = 524288 [pid 5103] getdents64(3, [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] newfstatat(AT_FDCWD, "./30/file1", [pid 5103] umount2("./29/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... newfstatat resumed>{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, "./29/binderfs", [pid 5099] umount2("./30/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5289] munmap(0x7f8438200000, 138412032 [pid 5103] unlink("./29/binderfs" [pid 5287] <... close resumed>) = 0 [pid 5103] <... unlink resumed>) = 0 [pid 5099] openat(AT_FDCWD, "./30/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 5103] umount2("./29/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] getdents64(4, [pid 5289] <... munmap resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5287] exit_group(0 [pid 5099] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] close(4) = 0 [pid 5290] munmap(0x7f8438200000, 138412032 [pid 5099] rmdir("./30/file1" [pid 5290] <... munmap resumed>) = 0 [pid 5289] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5287] <... exit_group resumed>) = ? [pid 5103] <... umount2 resumed>) = 0 [pid 5099] <... rmdir resumed>) = 0 [pid 5099] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5290] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5099] close(3) = 0 [pid 5099] rmdir("./30") = 0 [pid 5290] <... openat resumed>) = 4 [pid 5099] mkdir("./31", 0777 [pid 5290] ioctl(4, LOOP_SET_FD, 3 [pid 5289] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5287] +++ exited with 0 +++ [pid 5103] umount2("./29/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... mkdir resumed>) = 0 [pid 5289] close(4 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5287, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5103] newfstatat(AT_FDCWD, "./29/file1", [pid 5101] <... ioctl resumed>) = 0 [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5098] umount2("./30", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] <... openat resumed>) = 3 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] umount2("./29/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5098] openat(AT_FDCWD, "./30", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] <... ioctl resumed>) = 0 [pid 5098] <... openat resumed>) = 3 [pid 5099] close(3 [pid 5098] newfstatat(3, "", [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] close(3 [pid 5099] <... close resumed>) = 0 [pid 5103] openat(AT_FDCWD, "./29/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] <... close 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 5103] <... openat resumed>) = 4 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5098] getdents64(3, [pid 5289] <... close resumed>) = 0 [pid 5103] newfstatat(4, "", [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] umount2("./30/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5289] exit_group(0 [pid 5103] getdents64(4, [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5292 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5291 [pid 5098] newfstatat(AT_FDCWD, "./30/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] unlink("./30/binderfs"./strace-static-x86_64: Process 5291 attached ./strace-static-x86_64: Process 5292 attached [pid 5289] <... exit_group resumed>) = ? [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] <... unlink resumed>) = 0 [pid 5103] getdents64(4, [pid 5098] umount2("./30/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5291] set_robust_list(0x55556fbaa660, 24 [pid 5292] set_robust_list(0x55556fbaa660, 24 [pid 5290] <... ioctl resumed>) = 0 [pid 5103] close(4 [pid 5289] +++ exited with 0 +++ [pid 5291] <... set_robust_list resumed>) = 0 [pid 5292] <... set_robust_list resumed>) = 0 [pid 5103] <... close resumed>) = 0 [ 129.928239][ T5290] loop0: detected capacity change from 0 to 1024 [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5289, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5291] chdir("./31" [pid 5292] chdir("./30" [pid 5290] close(3 [pid 5103] rmdir("./29/file1" [pid 5100] restart_syscall(<... resuming interrupted clone ...> [pid 5098] <... umount2 resumed>) = 0 [pid 5291] <... chdir resumed>) = 0 [pid 5292] <... chdir resumed>) = 0 [pid 5290] <... close resumed>) = 0 [pid 5100] <... restart_syscall resumed>) = 0 [pid 5290] close(4 [pid 5291] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5292] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5290] <... close resumed>) = 0 [pid 5103] <... rmdir resumed>) = 0 [pid 5291] <... prctl resumed>) = 0 [pid 5292] <... prctl resumed>) = 0 [pid 5290] mkdir("./file1", 0777 [pid 5100] umount2("./28", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5291] setpgid(0, 0 [pid 5292] setpgid(0, 0 [pid 5290] <... mkdir resumed>) = 0 [pid 5103] getdents64(3, [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5291] <... setpgid resumed>) = 0 [pid 5292] <... setpgid resumed>) = 0 [pid 5100] openat(AT_FDCWD, "./28", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5291] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5292] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5290] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5103] close(3 [pid 5100] <... openat resumed>) = 3 [pid 5098] umount2("./30/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5291] <... openat resumed>) = 3 [pid 5292] <... openat resumed>) = 3 [pid 5103] <... close resumed>) = 0 [pid 5100] newfstatat(3, "", [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5291] write(3, "1000", 4 [pid 5292] write(3, "1000", 4 [pid 5103] rmdir("./29" [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5291] <... write resumed>) = 4 [pid 5292] <... write resumed>) = 4 [pid 5103] <... rmdir resumed>) = 0 [pid 5098] newfstatat(AT_FDCWD, "./30/file1", [pid 5292] close(3 [pid 5103] mkdir("./30", 0777 [pid 5292] <... close resumed>) = 0 [pid 5100] getdents64(3, [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5292] symlink("/dev/binderfs", "./binderfs" [pid 5103] <... mkdir resumed>) = 0 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5100] umount2("./28/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] umount2("./30/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5292] <... symlink resumed>) = 0 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) executing program [pid 5291] close(3 [pid 5292] write(1, "executing program\n", 18 [pid 5103] <... openat resumed>) = 3 [pid 5100] newfstatat(AT_FDCWD, "./28/binderfs", [pid 5098] openat(AT_FDCWD, "./30/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5291] <... close resumed>) = 0 [pid 5292] <... write resumed>) = 18 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] <... openat resumed>) = 4 [pid 5291] symlink("/dev/binderfs", "./binderfs" [pid 5292] memfd_create("syzkaller", 0 [pid 5291] <... symlink resumed>) = 0 [pid 5292] <... memfd_create resumed>) = 3 [pid 5290] <... mount resumed>) = 0 [pid 5100] unlink("./28/binderfs" [pid 5098] newfstatat(4, "", executing program [pid 5291] write(1, "executing program\n", 18 [pid 5292] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5290] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5100] <... unlink resumed>) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5291] <... write resumed>) = 18 [pid 5292] <... mmap resumed>) = 0x7f8438200000 [pid 5100] umount2("./28/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] getdents64(4, [pid 5291] memfd_create("syzkaller", 0 [pid 5290] <... openat resumed>) = 3 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] close(4) = 0 [pid 5292] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5290] chdir("./file1" [pid 5098] rmdir("./30/file1" [pid 5291] <... memfd_create resumed>) = 3 [pid 5290] <... chdir resumed>) = 0 [pid 5098] <... rmdir resumed>) = 0 [pid 5100] <... umount2 resumed>) = 0 [pid 5290] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5098] getdents64(3, [pid 5291] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5290] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5290] truncate("./file1", 0 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5291] <... mmap resumed>) = 0x7f8438200000 [pid 5098] close(3) = 0 [pid 5098] rmdir("./30") = 0 [pid 5098] mkdir("./31", 0777) = 0 [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5100] umount2("./28/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5100] newfstatat(AT_FDCWD, "./28/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] umount2("./28/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5100] openat(AT_FDCWD, "./28/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5100] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5292] <... write resumed>) = 524288 [pid 5100] getdents64(4, [pid 5291] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5290] <... truncate resumed>) = 0 [pid 5103] <... ioctl resumed>) = 0 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5290] memfd_create("syzkaller", 0 [pid 5103] close(3 [pid 5290] <... memfd_create resumed>) = 4 [pid 5100] getdents64(4, [pid 5103] <... close resumed>) = 0 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] close(4) = 0 [pid 5100] rmdir("./28/file1") = 0 [pid 5100] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] close(3 [pid 5291] <... write resumed>) = 524288 [pid 5290] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5100] <... close resumed>) = 0 [pid 5100] rmdir("./28") = 0 [pid 5100] mkdir("./29", 0777 [pid 5292] munmap(0x7f8438200000, 138412032 [pid 5290] <... mmap resumed>) = 0x7f8438200000 [pid 5100] <... mkdir resumed>) = 0 [pid 5292] <... munmap resumed>) = 0 [pid 5290] 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./strace-static-x86_64: Process 5293 attached [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5293 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5293] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5292] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5293] chdir("./30") = 0 [pid 5291] munmap(0x7f8438200000, 138412032 [pid 5292] <... openat resumed>) = 4 [pid 5098] <... ioctl resumed>) = 0 [pid 5293] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5292] ioctl(4, LOOP_SET_FD, 3 [pid 5293] <... prctl resumed>) = 0 [pid 5291] <... munmap resumed>) = 0 [pid 5098] close(3 [pid 5293] setpgid(0, 0 [pid 5098] <... close resumed>) = 0 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5293] <... setpgid resumed>) = 0 [pid 5293] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5291] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5293] <... openat resumed>) = 3 [pid 5291] <... openat resumed>) = 4 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5294 ./strace-static-x86_64: Process 5294 attached [pid 5294] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5294] chdir("./31" [pid 5291] ioctl(4, LOOP_SET_FD, 3 [pid 5293] write(3, "1000", 4 [pid 5294] <... chdir resumed>) = 0 [pid 5293] <... write resumed>) = 4 [pid 5100] <... ioctl resumed>) = 0 [pid 5294] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5293] close(3 [pid 5291] <... ioctl resumed>) = 0 [pid 5292] <... ioctl resumed>) = 0 [pid 5290] <... write resumed>) = 524288 [pid 5293] <... close resumed>) = 0 [pid 5291] close(3 [pid 5292] close(3 [pid 5290] munmap(0x7f8438200000, 138412032 [pid 5293] symlink("/dev/binderfs", "./binderfs" [pid 5291] <... close resumed>) = 0 [pid 5292] <... close resumed>) = 0 [pid 5291] close(4 [pid 5292] close(4 [pid 5293] <... symlink resumed>) = 0 [pid 5292] <... close resumed>) = 0 [pid 5294] setpgid(0, 0executing program ) = 0 [pid 5294] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5100] close(3) = 0 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5293] write(1, "executing program\n", 18 [pid 5291] <... close resumed>) = 0 [pid 5292] mkdir("./file1", 0777 [pid 5290] <... munmap resumed>) = 0 [pid 5293] <... write resumed>) = 18 [pid 5291] mkdir("./file1", 0777 [pid 5294] write(3, "1000", 4 [pid 5292] <... mkdir resumed>) = 0 [pid 5294] <... write resumed>) = 4 [pid 5294] close(3 [pid 5293] memfd_create("syzkaller", 0 [pid 5291] <... mkdir resumed>) = 0 [pid 5292] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5290] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5294] <... close resumed>) = 0 [pid 5293] <... memfd_create resumed>) = 3 [pid 5291] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5290] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5295 [pid 5294] symlink("/dev/binderfs", "./binderfs"./strace-static-x86_64: Process 5295 attached ) = 0 executing program [pid 5293] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5290] close(4 [pid 5295] set_robust_list(0x55556fbaa660, 24 [pid 5294] write(1, "executing program\n", 18 [pid 5295] <... set_robust_list resumed>) = 0 [pid 5294] <... write resumed>) = 18 [pid 5295] chdir("./29" [pid 5294] memfd_create("syzkaller", 0 [pid 5295] <... chdir resumed>) = 0 [pid 5294] <... memfd_create resumed>) = 3 [ 130.165383][ T5292] loop4: detected capacity change from 0 to 1024 [ 130.191978][ T5291] loop2: detected capacity change from 0 to 1024 [pid 5295] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5294] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5295] <... prctl resumed>) = 0 [pid 5294] <... mmap resumed>) = 0x7f8438200000 [pid 5293] <... mmap resumed>) = 0x7f8438200000 [pid 5295] setpgid(0, 0) = 0 [pid 5295] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5294] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5293] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5291] <... mount resumed>) = 0 [pid 5295] write(3, "1000", 4 [pid 5291] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5292] <... mount resumed>) = 0 [pid 5290] <... close resumed>) = 0 [pid 5291] <... openat resumed>) = 3 [pid 5292] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5291] chdir("./file1" [pid 5292] <... openat resumed>) = 3 [pid 5295] <... write resumed>) = 4 [pid 5291] <... chdir resumed>) = 0 [pid 5292] chdir("./file1" [pid 5290] exit_group(0 [pid 5295] close(3 [pid 5291] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5292] <... chdir resumed>) = 0 [pid 5295] <... close resumed>) = 0 [pid 5295] symlink("/dev/binderfs", "./binderfs" [pid 5291] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5292] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5295] <... symlink resumed>) = 0 [pid 5291] truncate("./file1", 0 [pid 5292] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5290] <... exit_group resumed>) = ? executing program [pid 5295] write(1, "executing program\n", 18) = 18 [pid 5295] memfd_create("syzkaller", 0) = 3 [pid 5295] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5293] <... write resumed>) = 524288 [pid 5295] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5292] truncate("./file1", 0 [pid 5290] +++ exited with 0 +++ [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5290, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5294] <... write resumed>) = 524288 [pid 5097] restart_syscall(<... resuming interrupted clone ...> [pid 5291] <... truncate resumed>) = 0 [pid 5097] <... restart_syscall resumed>) = 0 [pid 5291] memfd_create("syzkaller", 0) = 4 [pid 5097] umount2("./31", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5291] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5292] <... truncate resumed>) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] openat(AT_FDCWD, "./31", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5294] munmap(0x7f8438200000, 138412032 [pid 5097] <... openat resumed>) = 3 [pid 5294] <... munmap resumed>) = 0 [pid 5293] munmap(0x7f8438200000, 138412032 [pid 5291] <... mmap resumed>) = 0x7f8438200000 [pid 5292] memfd_create("syzkaller", 0 [pid 5097] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] getdents64(3, [pid 5292] <... memfd_create resumed>) = 4 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5294] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5293] <... munmap resumed>) = 0 [pid 5292] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5097] umount2("./31/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5295] <... write resumed>) = 524288 [pid 5293] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5291] 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 5292] <... mmap resumed>) = 0x7f8438200000 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5294] <... openat resumed>) = 4 [pid 5097] newfstatat(AT_FDCWD, "./31/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] unlink("./31/binderfs" [pid 5293] <... openat resumed>) = 4 [pid 5097] <... unlink resumed>) = 0 [pid 5293] ioctl(4, LOOP_SET_FD, 3 [pid 5294] ioctl(4, LOOP_SET_FD, 3 [pid 5097] umount2("./31/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5292] 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 5295] munmap(0x7f8438200000, 138412032) = 0 [pid 5295] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5295] ioctl(4, LOOP_SET_FD, 3 [pid 5291] <... write resumed>) = 524288 [pid 5294] <... ioctl resumed>) = 0 [pid 5294] close(3) = 0 [pid 5294] close(4) = 0 [pid 5294] mkdir("./file1", 0777) = 0 [pid 5294] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5293] <... ioctl resumed>) = 0 [pid 5295] <... ioctl resumed>) = 0 [pid 5293] close(3 [pid 5291] munmap(0x7f8438200000, 138412032 [pid 5292] <... write resumed>) = 524288 [pid 5097] <... umount2 resumed>) = 0 [pid 5295] close(3 [pid 5293] <... close resumed>) = 0 [pid 5295] <... close resumed>) = 0 [pid 5293] close(4 [pid 5292] munmap(0x7f8438200000, 138412032 [pid 5295] close(4 [pid 5293] <... close resumed>) = 0 [pid 5295] <... close resumed>) = 0 [pid 5293] mkdir("./file1", 0777 [pid 5097] umount2("./31/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5295] mkdir("./file1", 0777 [pid 5293] <... mkdir resumed>) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(AT_FDCWD, "./31/file1", [pid 5295] <... mkdir resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5295] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5293] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5291] <... munmap resumed>) = 0 [pid 5292] <... munmap resumed>) = 0 [pid 5097] umount2("./31/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5294] <... mount resumed>) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5294] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5097] openat(AT_FDCWD, "./31/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5294] <... openat resumed>) = 3 [pid 5291] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5292] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5097] <... openat resumed>) = 4 [pid 5294] chdir("./file1" [pid 5291] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5292] <... openat resumed>) = -1 EBUSY (Device or resource busy) [ 130.347133][ T5294] loop1: detected capacity change from 0 to 1024 [ 130.348004][ T5293] loop5: detected capacity change from 0 to 1024 [ 130.367741][ T5295] loop3: detected capacity change from 0 to 1024 [pid 5097] newfstatat(4, "", [pid 5294] <... chdir resumed>) = 0 [pid 5291] close(4 [pid 5292] close(4 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5294] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5293] <... mount resumed>) = 0 [pid 5294] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5293] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5097] getdents64(4, [pid 5293] <... openat resumed>) = 3 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] close(4) = 0 [pid 5097] rmdir("./31/file1") = 0 [pid 5294] truncate("./file1", 0 [pid 5097] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] close(3 [pid 5294] <... truncate resumed>) = 0 [pid 5293] chdir("./file1" [pid 5294] memfd_create("syzkaller", 0) = 4 [pid 5097] <... close resumed>) = 0 [pid 5294] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5097] rmdir("./31" [pid 5293] <... chdir resumed>) = 0 [pid 5292] <... close resumed>) = 0 [pid 5097] <... rmdir resumed>) = 0 [pid 5293] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5291] <... close resumed>) = 0 [pid 5293] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] mkdir("./32", 0777 [pid 5293] truncate("./file1", 0 [pid 5291] exit_group(0 [pid 5292] exit_group(0 [pid 5097] <... mkdir resumed>) = 0 [pid 5291] <... exit_group resumed>) = ? [pid 5292] <... exit_group resumed>) = ? [pid 5294] 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) = 3 [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5292] +++ exited with 0 +++ [pid 5291] +++ exited with 0 +++ [pid 5293] <... truncate resumed>) = 0 [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5291, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5293] memfd_create("syzkaller", 0 [pid 5099] restart_syscall(<... resuming interrupted clone ...> [pid 5295] <... mount resumed>) = 0 [pid 5293] <... memfd_create resumed>) = 4 [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5292, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5099] <... restart_syscall resumed>) = 0 [pid 5293] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] restart_syscall(<... resuming interrupted clone ...> [pid 5293] <... mmap resumed>) = 0x7f8438200000 [pid 5101] <... restart_syscall resumed>) = 0 [pid 5099] umount2("./31", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] umount2("./30", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "./31", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5295] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5101] openat(AT_FDCWD, "./30", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5295] <... openat resumed>) = 3 [pid 5293] 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 resumed>) = 3 [pid 5099] <... openat resumed>) = 3 [pid 5295] chdir("./file1" [pid 5099] newfstatat(3, "", [pid 5101] newfstatat(3, "", [pid 5295] <... chdir resumed>) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5295] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5099] getdents64(3, [pid 5295] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5294] <... write resumed>) = 524288 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5295] truncate("./file1", 0 [pid 5101] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5101] umount2("./30/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] umount2("./31/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5294] munmap(0x7f8438200000, 138412032 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5294] <... munmap resumed>) = 0 [pid 5101] newfstatat(AT_FDCWD, "./30/binderfs", [pid 5099] newfstatat(AT_FDCWD, "./31/binderfs", [pid 5295] <... truncate resumed>) = 0 [pid 5101] <... 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 5295] memfd_create("syzkaller", 0 [pid 5101] unlink("./30/binderfs" [pid 5099] unlink("./31/binderfs" [pid 5295] <... memfd_create resumed>) = 4 [pid 5101] <... unlink resumed>) = 0 [pid 5101] umount2("./30/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5295] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5294] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5099] <... unlink resumed>) = 0 [pid 5295] <... mmap resumed>) = 0x7f8438200000 [pid 5294] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] umount2("./31/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5294] close(4 [pid 5295] 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 5293] <... write resumed>) = 524288 [pid 5293] munmap(0x7f8438200000, 138412032) = 0 [pid 5097] <... ioctl resumed>) = 0 [pid 5101] <... umount2 resumed>) = 0 [pid 5099] <... umount2 resumed>) = 0 [pid 5293] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5294] <... close resumed>) = 0 [pid 5097] close(3 [pid 5293] close(4 [pid 5101] umount2("./30/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] <... close resumed>) = 0 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5101] newfstatat(AT_FDCWD, "./30/file1", [pid 5295] <... write resumed>) = 524288 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] umount2("./31/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] umount2("./30/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5294] exit_group(0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] openat(AT_FDCWD, "./30/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5101] newfstatat(4, "", [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] newfstatat(AT_FDCWD, "./31/file1", [pid 5293] <... close resumed>) = 0 ./strace-static-x86_64: Process 5296 attached [pid 5295] munmap(0x7f8438200000, 138412032 [pid 5294] <... exit_group resumed>) = ? [pid 5293] exit_group(0 [pid 5101] getdents64(4, [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5296] set_robust_list(0x55556fbaa660, 24 [pid 5294] +++ exited with 0 +++ [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5296 [pid 5296] <... set_robust_list resumed>) = 0 [pid 5295] <... munmap resumed>) = 0 [pid 5293] <... exit_group resumed>) = ? [pid 5101] getdents64(4, [pid 5099] umount2("./31/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5295] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5296] chdir("./32" [pid 5293] +++ exited with 0 +++ [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5294, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5296] <... chdir resumed>) = 0 [pid 5295] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5293, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5101] close(4 [pid 5099] openat(AT_FDCWD, "./31/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5296] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5101] <... close resumed>) = 0 [pid 5296] <... prctl resumed>) = 0 [pid 5101] rmdir("./30/file1" [pid 5099] <... openat resumed>) = 4 [pid 5296] setpgid(0, 0 [pid 5295] close(4 [pid 5101] <... rmdir resumed>) = 0 [pid 5099] newfstatat(4, "", [pid 5296] <... setpgid resumed>) = 0 [pid 5103] umount2("./30", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5296] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] getdents64(4, [pid 5101] getdents64(3, [pid 5296] <... openat resumed>) = 3 [pid 5103] openat(AT_FDCWD, "./30", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] umount2("./31", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5296] write(3, "1000", 4 [pid 5103] <... openat resumed>) = 3 [pid 5101] close(3 [pid 5099] getdents64(4, [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5296] <... write resumed>) = 4 [pid 5103] newfstatat(3, "", [pid 5101] <... close resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] openat(AT_FDCWD, "./31", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5296] close(3 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] rmdir("./30" [pid 5099] close(4 [pid 5098] <... openat resumed>) = 3 [pid 5296] <... close resumed>) = 0 [pid 5103] getdents64(3, [pid 5098] newfstatat(3, "", [pid 5296] symlink("/dev/binderfs", "./binderfs" [pid 5101] <... rmdir resumed>) = 0 [pid 5099] <... close resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5296] <... symlink resumed>) = 0 [pid 5103] umount2("./30/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] rmdir("./31/file1" [pid 5098] getdents64(3, [pid 5295] <... close resumed>) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] mkdir("./31", 0777executing program [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5296] write(1, "executing program\n", 18 [pid 5103] newfstatat(AT_FDCWD, "./30/binderfs", [pid 5099] <... rmdir resumed>) = 0 [pid 5098] umount2("./31/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5296] <... write resumed>) = 18 [pid 5295] exit_group(0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] <... mkdir resumed>) = 0 [pid 5099] getdents64(3, [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5296] memfd_create("syzkaller", 0 [pid 5295] <... exit_group resumed>) = ? [pid 5103] unlink("./30/binderfs" [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] newfstatat(AT_FDCWD, "./31/binderfs", [pid 5103] <... unlink resumed>) = 0 [pid 5101] <... openat resumed>) = 3 [pid 5099] close(3 [pid 5098] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5296] <... memfd_create resumed>) = 3 [pid 5103] umount2("./30/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5099] <... close resumed>) = 0 [pid 5098] unlink("./31/binderfs" [pid 5296] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5099] rmdir("./31" [pid 5098] <... unlink resumed>) = 0 [pid 5296] <... mmap resumed>) = 0x7f8438200000 [pid 5099] <... rmdir resumed>) = 0 [pid 5296] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] mkdir("./32", 0777 [pid 5098] umount2("./31/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... mkdir resumed>) = 0 [pid 5295] +++ exited with 0 +++ [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5295, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5100] umount2("./29", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5100] openat(AT_FDCWD, "./29", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5100] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] getdents64(3, [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5098] <... umount2 resumed>) = 0 [pid 5103] <... umount2 resumed>) = 0 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] <... openat resumed>) = 3 [pid 5100] umount2("./29/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5100] newfstatat(AT_FDCWD, "./29/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] unlink("./29/binderfs" [pid 5296] <... write resumed>) = 524288 [pid 5103] umount2("./30/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5098] umount2("./31/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5296] munmap(0x7f8438200000, 138412032 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5296] <... munmap resumed>) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] <... unlink resumed>) = 0 [pid 5296] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5098] newfstatat(AT_FDCWD, "./31/file1", [pid 5296] <... openat resumed>) = 4 [pid 5103] newfstatat(AT_FDCWD, "./30/file1", [pid 5100] umount2("./29/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5296] ioctl(4, LOOP_SET_FD, 3 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] umount2("./31/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] umount2("./30/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... umount2 resumed>) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] openat(AT_FDCWD, "./30/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5296] <... ioctl resumed>) = 0 [pid 5103] <... openat resumed>) = 4 [pid 5101] <... ioctl resumed>) = 0 [pid 5100] umount2("./29/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] openat(AT_FDCWD, "./31/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] close(3 [pid 5296] close(3 [pid 5103] newfstatat(4, "", [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... openat resumed>) = 4 [pid 5098] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5296] <... close resumed>) = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] getdents64(4, [pid 5296] close(4 [pid 5103] getdents64(4, [pid 5100] newfstatat(AT_FDCWD, "./29/file1", [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5296] <... close resumed>) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] getdents64(4, [pid 5296] mkdir("./file1", 0777 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5296] <... mkdir resumed>) = 0 [pid 5100] umount2("./29/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... close resumed>) = 0 [pid 5098] close(4) = 0 [pid 5103] getdents64(4, [pid 5098] rmdir("./31/file1") = 0 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5103] close(4) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] rmdir("./30/file1" [pid 5100] openat(AT_FDCWD, "./29/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5103] <... rmdir resumed>) = 0 [pid 5100] <... openat resumed>) = 4 [pid 5296] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5100] newfstatat(4, "", [pid 5098] getdents64(3, [pid 5103] getdents64(3, [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [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 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5103] close(3 [pid 5100] getdents64(4, [pid 5098] close(3 [pid 5103] <... close resumed>) = 0 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] <... close resumed>) = 0 [pid 5103] rmdir("./30" [pid 5098] rmdir("./31" [pid 5103] <... rmdir resumed>) = 0 [pid 5100] getdents64(4, [pid 5098] <... rmdir resumed>) = 0 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [ 130.677064][ T5296] loop0: detected capacity change from 0 to 1024 [pid 5100] close(4) = 0 [pid 5100] rmdir("./29/file1" [pid 5103] mkdir("./31", 0777./strace-static-x86_64: Process 5297 attached ) = 0 [pid 5100] <... rmdir resumed>) = 0 [pid 5099] <... ioctl resumed>) = 0 [pid 5099] close(3 [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5297 [pid 5297] set_robust_list(0x55556fbaa660, 24 [pid 5099] <... close resumed>) = 0 [pid 5098] mkdir("./32", 0777 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5100] getdents64(3, [pid 5098] <... mkdir resumed>) = 0 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 ./strace-static-x86_64: Process 5298 attached [pid 5297] <... set_robust_list resumed>) = 0 [pid 5103] <... openat resumed>) = 3 [pid 5100] close(3 [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5298 [pid 5298] set_robust_list(0x55556fbaa660, 24 [pid 5297] chdir("./31" [pid 5100] <... close resumed>) = 0 [pid 5098] <... openat resumed>) = 3 [pid 5298] <... set_robust_list resumed>) = 0 [pid 5297] <... chdir resumed>) = 0 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5298] chdir("./32" [pid 5297] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5100] rmdir("./29" [pid 5297] <... prctl resumed>) = 0 [pid 5298] <... chdir resumed>) = 0 [pid 5297] setpgid(0, 0 [pid 5100] <... rmdir resumed>) = 0 [pid 5297] <... setpgid resumed>) = 0 [pid 5298] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5297] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5100] mkdir("./30", 0777 [pid 5298] <... prctl resumed>) = 0 [pid 5297] <... openat resumed>) = 3 [pid 5100] <... mkdir resumed>) = 0 [pid 5296] <... mount resumed>) = 0 [pid 5298] setpgid(0, 0 [pid 5297] write(3, "1000", 4 [pid 5298] <... setpgid resumed>) = 0 [pid 5297] <... write resumed>) = 4 [pid 5297] close(3 [pid 5296] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5298] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5297] <... close resumed>) = 0 [pid 5296] <... openat resumed>) = 3 [pid 5100] <... openat resumed>) = 3 [pid 5298] <... openat resumed>) = 3 [pid 5297] symlink("/dev/binderfs", "./binderfs" [pid 5298] write(3, "1000", 4 [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5298] <... write resumed>) = 4 [pid 5297] <... symlink resumed>) = 0 [pid 5296] chdir("./file1" [pid 5298] close(3) = 0 [pid 5298] symlink("/dev/binderfs", "./binderfs" [pid 5297] write(1, "executing program\n", 18executing program [pid 5298] <... symlink resumed>) = 0 [pid 5296] <... chdir resumed>) = 0 [pid 5296] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5296] truncate("./file1", 0executing program [pid 5298] write(1, "executing program\n", 18 [pid 5297] <... write resumed>) = 18 [pid 5298] <... write resumed>) = 18 [pid 5298] memfd_create("syzkaller", 0 [pid 5297] memfd_create("syzkaller", 0 [pid 5298] <... memfd_create resumed>) = 3 [pid 5298] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5297] <... memfd_create resumed>) = 3 [pid 5296] <... truncate resumed>) = 0 [pid 5098] <... ioctl resumed>) = 0 [pid 5296] memfd_create("syzkaller", 0 [pid 5297] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5297] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5298] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5296] <... memfd_create resumed>) = 4 [pid 5296] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5298] <... write resumed>) = 524288 [pid 5296] 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 5103] close(3 [pid 5098] close(3 [pid 5297] <... write resumed>) = 524288 [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] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5299 attached [pid 5100] <... ioctl resumed>) = 0 ./strace-static-x86_64: Process 5300 attached [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5299 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5300 [pid 5100] close(3 [pid 5300] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5100] <... close resumed>) = 0 [pid 5299] set_robust_list(0x55556fbaa660, 24 [pid 5297] munmap(0x7f8438200000, 138412032 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5299] <... set_robust_list resumed>) = 0 [pid 5297] <... munmap resumed>) = 0 [pid 5299] chdir("./31") = 0 [pid 5300] chdir("./32" [pid 5299] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5298] munmap(0x7f8438200000, 138412032 [pid 5299] setpgid(0, 0 [pid 5300] <... chdir resumed>) = 0 [pid 5298] <... munmap resumed>) = 0 ./strace-static-x86_64: Process 5301 attached [pid 5299] <... setpgid resumed>) = 0 [pid 5300] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5298] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5296] <... write resumed>) = 524288 [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5301 [pid 5301] set_robust_list(0x55556fbaa660, 24 [pid 5300] <... prctl resumed>) = 0 [pid 5298] <... openat resumed>) = 4 [pid 5301] <... set_robust_list resumed>) = 0 [pid 5299] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5300] setpgid(0, 0 [pid 5298] ioctl(4, LOOP_SET_FD, 3 [pid 5297] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5296] munmap(0x7f8438200000, 138412032 [pid 5299] <... openat resumed>) = 3 [pid 5297] <... openat resumed>) = 4 [pid 5299] write(3, "1000", 4 [pid 5297] ioctl(4, LOOP_SET_FD, 3 [pid 5301] chdir("./30" [pid 5299] <... write resumed>) = 4 [pid 5300] <... setpgid resumed>) = 0 [pid 5298] <... ioctl resumed>) = 0 [pid 5296] <... munmap resumed>) = 0 [pid 5301] <... chdir resumed>) = 0 [pid 5299] close(3 [pid 5300] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5296] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5299] <... close resumed>) = 0 [pid 5299] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5296] <... openat resumed>) = -1 EBUSY (Device or resource busy) executing program [pid 5299] write(1, "executing program\n", 18) = 18 [pid 5300] <... openat resumed>) = 3 [pid 5296] close(4 [pid 5301] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5299] memfd_create("syzkaller", 0) = 3 [pid 5299] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5296] <... close resumed>) = 0 [pid 5301] <... prctl resumed>) = 0 [pid 5301] setpgid(0, 0 [pid 5300] write(3, "1000", 4 [pid 5301] <... setpgid resumed>) = 0 [pid 5299] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5300] <... write resumed>) = 4 [pid 5300] close(3 [pid 5301] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5300] <... close resumed>) = 0 [pid 5300] symlink("/dev/binderfs", "./binderfs" [pid 5301] <... openat resumed>) = 3 [pid 5297] <... ioctl resumed>) = 0 [ 130.902781][ T5298] loop2: detected capacity change from 0 to 1024 [ 130.905061][ T5297] loop4: detected capacity change from 0 to 1024 executing program [pid 5300] <... symlink resumed>) = 0 [pid 5301] write(3, "1000", 4 [pid 5298] close(3 [pid 5300] write(1, "executing program\n", 18 [pid 5297] close(3 [pid 5296] exit_group(0 [pid 5301] <... write resumed>) = 4 [pid 5300] <... write resumed>) = 18 [pid 5298] <... close resumed>) = 0 [pid 5297] <... close resumed>) = 0 [pid 5301] close(3 [pid 5300] memfd_create("syzkaller", 0 [pid 5298] close(4 [pid 5297] close(4 [pid 5296] <... exit_group resumed>) = ? [pid 5301] <... close resumed>) = 0 [pid 5298] <... close resumed>) = 0 [pid 5297] <... close resumed>) = 0 [pid 5301] symlink("/dev/binderfs", "./binderfs" [pid 5300] <... memfd_create resumed>) = 3 [pid 5298] mkdir("./file1", 0777 [pid 5297] mkdir("./file1", 0777 [pid 5301] <... symlink resumed>) = 0 [pid 5299] <... write resumed>) = 524288 [pid 5300] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5298] <... mkdir resumed>) = 0 [pid 5297] <... mkdir resumed>) = 0 [pid 5296] +++ exited with 0 +++ [pid 5300] <... mmap resumed>) = 0x7f8438200000 [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5296, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5297] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, ""executing program [pid 5301] write(1, "executing program\n", 18 [pid 5298] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5301] <... write resumed>) = 18 [pid 5300] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5299] munmap(0x7f8438200000, 138412032 [pid 5097] umount2("./32", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5301] memfd_create("syzkaller", 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5301] <... memfd_create resumed>) = 3 [pid 5299] <... munmap resumed>) = 0 [pid 5097] openat(AT_FDCWD, "./32", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5301] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5097] <... openat resumed>) = 3 [pid 5301] <... mmap resumed>) = 0x7f8438200000 [pid 5299] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5097] newfstatat(3, "", [pid 5299] <... openat resumed>) = 4 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5299] ioctl(4, LOOP_SET_FD, 3 [pid 5097] getdents64(3, [pid 5301] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5299] <... ioctl resumed>) = 0 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5097] umount2("./32/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(AT_FDCWD, "./32/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] unlink("./32/binderfs") = 0 [pid 5097] umount2("./32/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5299] close(3) = 0 [pid 5298] <... mount resumed>) = 0 [pid 5297] <... mount resumed>) = 0 [pid 5299] close(4 [pid 5298] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5297] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5299] <... close resumed>) = 0 [pid 5298] <... openat resumed>) = 3 [pid 5297] <... openat resumed>) = 3 [pid 5298] chdir("./file1" [pid 5299] mkdir("./file1", 0777 [pid 5300] <... write resumed>) = 524288 [pid 5298] <... chdir resumed>) = 0 [pid 5297] chdir("./file1" [pid 5299] <... mkdir resumed>) = 0 [pid 5300] munmap(0x7f8438200000, 138412032 [pid 5298] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5297] <... chdir resumed>) = 0 [pid 5298] truncate("./file1", 0 [pid 5297] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5300] <... munmap resumed>) = 0 [pid 5297] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5300] openat(AT_FDCWD, "/dev/loop1", O_RDWR [ 131.002233][ T5299] loop5: detected capacity change from 0 to 1024 [pid 5299] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5300] <... openat resumed>) = 4 [pid 5297] truncate("./file1", 0 [pid 5300] ioctl(4, LOOP_SET_FD, 3 [pid 5298] <... truncate resumed>) = 0 [pid 5097] <... umount2 resumed>) = 0 [pid 5299] <... mount resumed>) = 0 [pid 5299] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5298] memfd_create("syzkaller", 0 [pid 5301] <... write resumed>) = 524288 [pid 5299] chdir("./file1" [pid 5298] <... memfd_create resumed>) = 4 [pid 5297] <... truncate resumed>) = 0 [pid 5299] <... chdir resumed>) = 0 [pid 5298] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5297] memfd_create("syzkaller", 0 [pid 5299] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5298] <... mmap resumed>) = 0x7f8438200000 [pid 5297] <... memfd_create resumed>) = 4 [pid 5097] umount2("./32/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5301] munmap(0x7f8438200000, 138412032 [pid 5299] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5300] <... ioctl resumed>) = 0 [pid 5298] 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 5297] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5299] truncate("./file1", 0 [pid 5301] <... munmap resumed>) = 0 [pid 5300] close(3 [pid 5097] newfstatat(AT_FDCWD, "./32/file1", [pid 5301] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5300] <... close resumed>) = 0 [pid 5300] close(4 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5301] <... openat resumed>) = 4 [pid 5300] <... close resumed>) = 0 [pid 5297] <... mmap resumed>) = 0x7f8438200000 [pid 5301] ioctl(4, LOOP_SET_FD, 3 [pid 5300] mkdir("./file1", 0777 [pid 5097] umount2("./32/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5299] <... truncate resumed>) = 0 [pid 5297] 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 resumed>) = -1 EINVAL (Invalid argument) [pid 5299] memfd_create("syzkaller", 0) = 4 [pid 5299] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5301] <... ioctl resumed>) = 0 [pid 5299] 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 5300] <... mkdir resumed>) = 0 [pid 5097] openat(AT_FDCWD, "./32/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5301] close(3 [pid 5300] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5301] <... close resumed>) = 0 [pid 5298] <... write resumed>) = 524288 [pid 5097] <... openat resumed>) = 4 [pid 5301] close(4 [pid 5299] <... write resumed>) = 524288 [pid 5300] <... mount resumed>) = 0 [pid 5097] newfstatat(4, "", [pid 5301] <... close resumed>) = 0 [pid 5300] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5301] mkdir("./file1", 0777 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5301] <... mkdir resumed>) = 0 [pid 5300] <... openat resumed>) = 3 [pid 5097] getdents64(4, [pid 5301] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5300] chdir("./file1" [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5298] munmap(0x7f8438200000, 138412032 [pid 5097] getdents64(4, [pid 5300] <... chdir resumed>) = 0 [pid 5298] <... munmap resumed>) = 0 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5300] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5097] close(4 [pid 5297] <... write resumed>) = 524288 [pid 5097] <... close resumed>) = 0 [pid 5300] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] rmdir("./32/file1" [pid 5300] truncate("./file1", 0 [pid 5298] openat(AT_FDCWD, "/dev/loop2", O_RDWR [ 131.050334][ T5300] loop1: detected capacity change from 0 to 1024 [ 131.075613][ T5301] loop3: detected capacity change from 0 to 1024 [pid 5297] munmap(0x7f8438200000, 138412032 [pid 5298] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5297] <... munmap resumed>) = 0 [pid 5097] <... rmdir resumed>) = 0 [pid 5298] close(4) = 0 [pid 5297] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5097] getdents64(3, [pid 5297] close(4) = 0 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] close(3 [pid 5299] munmap(0x7f8438200000, 138412032 [pid 5097] <... close resumed>) = 0 [pid 5299] <... munmap resumed>) = 0 [pid 5300] <... truncate resumed>) = 0 [pid 5097] rmdir("./32" [pid 5299] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5298] exit_group(0 [pid 5299] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5298] <... exit_group resumed>) = ? [pid 5097] <... rmdir resumed>) = 0 [pid 5301] <... mount resumed>) = 0 [pid 5300] memfd_create("syzkaller", 0 [pid 5298] +++ exited with 0 +++ [pid 5097] mkdir("./33", 0777 [pid 5301] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5299] close(4 [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5298, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5097] <... mkdir resumed>) = 0 [pid 5301] <... openat resumed>) = 3 [pid 5300] <... memfd_create resumed>) = 4 [pid 5297] exit_group(0 [pid 5301] chdir("./file1" [pid 5300] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5099] restart_syscall(<... resuming interrupted clone ...> [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5301] <... chdir resumed>) = 0 [pid 5301] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5299] <... close resumed>) = 0 [pid 5300] <... mmap resumed>) = 0x7f8438200000 [pid 5297] <... exit_group resumed>) = ? [pid 5099] <... restart_syscall resumed>) = 0 [pid 5097] <... openat resumed>) = 3 [pid 5299] exit_group(0 [pid 5297] +++ exited with 0 +++ [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5299] <... exit_group resumed>) = ? [pid 5301] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5299] +++ exited with 0 +++ [pid 5300] 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] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5297, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5301] truncate("./file1", 0 [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5299, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5101] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5101] umount2("./31", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] openat(AT_FDCWD, "./31", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5101] newfstatat(3, "", [pid 5103] umount2("./31", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] umount2("./32", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] getdents64(3, [pid 5103] openat(AT_FDCWD, "./31", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] umount2("./31/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] <... openat resumed>) = 3 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "./32", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5103] newfstatat(3, "", [pid 5101] newfstatat(AT_FDCWD, "./31/binderfs", [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] <... openat resumed>) = 3 [pid 5103] getdents64(3, [pid 5101] unlink("./31/binderfs" [pid 5099] newfstatat(3, "", [pid 5301] <... truncate resumed>) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] getdents64(3, [pid 5301] memfd_create("syzkaller", 0 [pid 5300] <... write resumed>) = 524288 [pid 5300] munmap(0x7f8438200000, 138412032 [pid 5301] <... memfd_create resumed>) = 4 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5101] <... unlink resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5301] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] umount2("./31/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] umount2("./31/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] umount2("./32/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5301] <... mmap resumed>) = 0x7f8438200000 [pid 5300] <... munmap resumed>) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] newfstatat(AT_FDCWD, "./31/binderfs", [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] newfstatat(AT_FDCWD, "./32/binderfs", [pid 5300] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5103] unlink("./31/binderfs" [pid 5101] <... umount2 resumed>) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5301] 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 5300] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] <... unlink resumed>) = 0 [pid 5300] close(4 [pid 5101] umount2("./31/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5300] <... close resumed>) = 0 [pid 5103] umount2("./31/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] unlink("./32/binderfs" [pid 5101] newfstatat(AT_FDCWD, "./31/file1", [pid 5099] <... unlink resumed>) = 0 [pid 5097] <... ioctl resumed>) = 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] umount2("./32/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] umount2("./31/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] close(3) = 0 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] openat(AT_FDCWD, "./31/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("./31/file1") = 0 [pid 5300] exit_group(0) = ? [pid 5101] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5099] <... umount2 resumed>) = 0 [pid 5101] close(3) = 0 [pid 5101] rmdir("./31") = 0 [pid 5101] mkdir("./32", 0777) = 0 ./strace-static-x86_64: Process 5302 attached [pid 5301] <... write resumed>) = 524288 [pid 5300] +++ exited with 0 +++ [pid 5103] <... umount2 resumed>) = 0 [pid 5099] umount2("./32/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5301] munmap(0x7f8438200000, 138412032 [pid 5103] umount2("./31/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5300, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5302 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5301] <... munmap resumed>) = 0 [pid 5103] newfstatat(AT_FDCWD, "./31/file1", [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5302] set_robust_list(0x55556fbaa660, 24 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] newfstatat(AT_FDCWD, "./32/file1", [pid 5302] <... set_robust_list resumed>) = 0 [pid 5301] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5103] umount2("./31/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5302] chdir("./33" [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] <... openat resumed>) = 3 [pid 5099] umount2("./32/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5302] <... chdir resumed>) = 0 [pid 5301] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] openat(AT_FDCWD, "./31/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5302] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5103] <... openat resumed>) = 4 [pid 5099] openat(AT_FDCWD, "./32/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5302] <... prctl resumed>) = 0 [pid 5301] close(4 [pid 5103] newfstatat(4, "", [pid 5099] <... openat resumed>) = 4 [pid 5098] umount2("./32", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5302] setpgid(0, 0 [pid 5099] newfstatat(4, "", [pid 5302] <... setpgid resumed>) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5302] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5099] getdents64(4, [pid 5098] openat(AT_FDCWD, "./32", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5302] <... openat resumed>) = 3 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5302] write(3, "1000", 4 [pid 5103] getdents64(4, [pid 5099] getdents64(4, [pid 5098] <... openat resumed>) = 3 [pid 5302] <... write resumed>) = 4 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5302] close(3 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5302] <... close resumed>) = 0 [pid 5099] close(4 [pid 5302] symlink("/dev/binderfs", "./binderfs" [pid 5099] <... close resumed>) = 0 [pid 5302] <... symlink resumed>) = 0 [pid 5103] getdents64(4, [pid 5099] rmdir("./32/file1" [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] <... rmdir resumed>) = 0 [pid 5098] newfstatat(3, "", [pid 5103] close(4executing program [pid 5302] write(1, "executing program\n", 18 [pid 5103] <... close resumed>) = 0 [pid 5099] getdents64(3, [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5302] <... write resumed>) = 18 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] getdents64(3, [pid 5302] memfd_create("syzkaller", 0 [pid 5099] close(3 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5302] <... memfd_create resumed>) = 3 [pid 5099] <... close resumed>) = 0 [pid 5098] umount2("./32/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5302] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5099] rmdir("./32" [pid 5302] <... mmap resumed>) = 0x7f8438200000 [pid 5099] <... rmdir resumed>) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5302] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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("./31/file1" [pid 5099] mkdir("./33", 0777 [pid 5098] newfstatat(AT_FDCWD, "./32/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] <... rmdir resumed>) = 0 [pid 5099] <... mkdir resumed>) = 0 [pid 5098] unlink("./32/binderfs" [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5302] <... write resumed>) = 524288 [pid 5301] <... close resumed>) = 0 [pid 5103] getdents64(3, [pid 5099] <... openat resumed>) = 3 [pid 5098] <... unlink resumed>) = 0 [pid 5302] munmap(0x7f8438200000, 138412032 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5302] <... munmap resumed>) = 0 [pid 5301] exit_group(0 [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5103] close(3 [pid 5098] umount2("./32/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5301] <... exit_group resumed>) = ? [pid 5302] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5103] <... close resumed>) = 0 [pid 5101] <... ioctl resumed>) = 0 [pid 5098] <... umount2 resumed>) = 0 [pid 5098] umount2("./32/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5302] <... openat resumed>) = 4 [pid 5103] rmdir("./31" [pid 5101] close(3 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./32/file1", [pid 5302] ioctl(4, LOOP_SET_FD, 3 [pid 5301] +++ exited with 0 +++ [pid 5103] <... rmdir resumed>) = 0 [pid 5101] <... close resumed>) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5301, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5103] mkdir("./32", 0777) = 0 [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5303 ./strace-static-x86_64: Process 5303 attached [pid 5303] set_robust_list(0x55556fbaa660, 24 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5303] <... set_robust_list resumed>) = 0 [pid 5103] <... openat resumed>) = 3 [pid 5303] chdir("./32" [pid 5302] <... ioctl resumed>) = 0 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5098] umount2("./32/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5100] umount2("./30", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5303] <... chdir resumed>) = 0 [pid 5302] close(3 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./32/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5302] <... close resumed>) = 0 [pid 5098] <... openat resumed>) = 4 [pid 5303] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5302] close(4 [pid 5100] openat(AT_FDCWD, "./30", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] <... ioctl resumed>) = 0 [pid 5303] <... prctl resumed>) = 0 [pid 5302] <... close resumed>) = 0 [pid 5100] <... openat resumed>) = 3 [pid 5099] close(3 [pid 5303] setpgid(0, 0 [pid 5302] mkdir("./file1", 0777 [pid 5098] newfstatat(4, "", [pid 5303] <... setpgid resumed>) = 0 [pid 5100] newfstatat(3, "", [pid 5099] <... close resumed>) = 0 [pid 5100] <... 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 5100] getdents64(3, [pid 5302] <... mkdir resumed>) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5303] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 ./strace-static-x86_64: Process 5304 attached [pid 5100] umount2("./30/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5304 [pid 5304] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5303] <... openat resumed>) = 3 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] getdents64(4, [pid 5304] chdir("./33" [pid 5100] newfstatat(AT_FDCWD, "./30/binderfs", [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5304] <... chdir resumed>) = 0 [pid 5303] write(3, "1000", 4 [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] getdents64(4, [pid 5304] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5303] <... write resumed>) = 4 [pid 5304] <... prctl resumed>) = 0 [pid 5303] close(3 [pid 5302] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5100] unlink("./30/binderfs" [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5304] setpgid(0, 0 [pid 5303] <... close resumed>) = 0 [pid 5098] close(4 [pid 5304] <... setpgid resumed>) = 0 [ 131.428441][ T5302] loop0: detected capacity change from 0 to 1024 [pid 5303] symlink("/dev/binderfs", "./binderfs" [pid 5100] <... unlink resumed>) = 0 [pid 5098] <... close resumed>) = 0 [pid 5304] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5303] <... symlink resumed>) = 0 [pid 5098] rmdir("./32/file1"executing program [pid 5304] <... openat resumed>) = 3 [pid 5303] write(1, "executing program\n", 18 [pid 5098] <... rmdir resumed>) = 0 [pid 5303] <... write resumed>) = 18 [pid 5100] umount2("./30/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5303] memfd_create("syzkaller", 0 [pid 5098] getdents64(3, [pid 5303] <... memfd_create resumed>) = 3 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5303] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5098] close(3 [pid 5303] <... mmap resumed>) = 0x7f8438200000 [pid 5304] write(3, "1000", 4 [pid 5100] <... umount2 resumed>) = 0 [pid 5098] <... close resumed>) = 0 [pid 5304] <... write resumed>) = 4 [pid 5304] close(3 [pid 5098] rmdir("./32" [pid 5304] <... close resumed>) = 0 [pid 5100] umount2("./30/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... rmdir resumed>) = 0 [pid 5303] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5304] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] newfstatat(AT_FDCWD, "./30/file1", executing program [pid 5304] write(1, "executing program\n", 18 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] mkdir("./33", 0777 [pid 5100] umount2("./30/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... mkdir resumed>) = 0 [pid 5304] <... write resumed>) = 18 [pid 5304] memfd_create("syzkaller", 0 [pid 5103] <... ioctl resumed>) = 0 [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5304] <... memfd_create resumed>) = 3 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... openat resumed>) = 3 [pid 5304] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] openat(AT_FDCWD, "./30/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5304] <... mmap resumed>) = 0x7f8438200000 [pid 5302] <... mount resumed>) = 0 [pid 5302] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5100] <... openat resumed>) = 4 [pid 5302] chdir("./file1" [pid 5100] newfstatat(4, "", [pid 5304] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5302] <... chdir resumed>) = 0 [pid 5103] close(3 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5303] <... write resumed>) = 524288 [pid 5302] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5103] <... close resumed>) = 0 [pid 5100] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5302] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5100] getdents64(4, [pid 5302] truncate("./file1", 0 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] close(4 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5305 [pid 5100] <... close resumed>) = 0 [pid 5303] munmap(0x7f8438200000, 138412032./strace-static-x86_64: Process 5305 attached ) = 0 [pid 5100] rmdir("./30/file1" [pid 5305] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5100] <... rmdir resumed>) = 0 [pid 5303] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5305] chdir("./32" [pid 5303] ioctl(4, LOOP_SET_FD, 3 [pid 5100] getdents64(3, [pid 5303] <... ioctl resumed>) = 0 [pid 5305] <... chdir resumed>) = 0 [pid 5305] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] <... ioctl resumed>) = 0 [pid 5305] <... prctl resumed>) = 0 [pid 5100] close(3) = 0 [pid 5305] setpgid(0, 0 [pid 5100] rmdir("./30" [pid 5304] <... write resumed>) = 524288 [pid 5302] <... truncate resumed>) = 0 [pid 5302] memfd_create("syzkaller", 0) = 4 [pid 5302] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5305] <... setpgid resumed>) = 0 [pid 5302] <... mmap resumed>) = 0x7f8438200000 [pid 5100] <... rmdir resumed>) = 0 [pid 5305] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5304] munmap(0x7f8438200000, 138412032 [pid 5100] mkdir("./31", 0777 [pid 5098] close(3 [pid 5305] <... openat resumed>) = 3 [pid 5304] <... munmap resumed>) = 0 [pid 5100] <... mkdir resumed>) = 0 [pid 5305] write(3, "1000", 4) = 4 [pid 5098] <... close resumed>) = 0 [pid 5305] close(3 [pid 5304] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5302] 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, "/dev/loop3", O_RDWR [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5305] <... close resumed>) = 0 [pid 5305] symlink("/dev/binderfs", "./binderfs" [pid 5304] <... openat resumed>) = 4 [pid 5305] <... symlink resumed>) = 0 [pid 5304] ioctl(4, LOOP_SET_FD, 3 [pid 5100] <... openat resumed>) = 3 executing program [pid 5305] write(1, "executing program\n", 18 [pid 5303] close(3 [pid 5302] <... write resumed>) = 524288 [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5305] <... write resumed>) = 18 [pid 5303] <... close resumed>) = 0 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5306 [pid 5305] memfd_create("syzkaller", 0 [pid 5303] close(4./strace-static-x86_64: Process 5306 attached ) = 0 [pid 5306] set_robust_list(0x55556fbaa660, 24 [pid 5303] mkdir("./file1", 0777 [pid 5306] <... set_robust_list resumed>) = 0 [pid 5305] <... memfd_create resumed>) = 3 [pid 5303] <... mkdir resumed>) = 0 [pid 5306] chdir("./33" [pid 5305] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5306] <... chdir resumed>) = 0 [pid 5305] <... mmap resumed>) = 0x7f8438200000 [pid 5306] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5306] setpgid(0, 0) = 0 [pid 5303] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5306] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5306] write(3, "1000", 4) = 4 [pid 5306] close(3) = 0 [pid 5306] symlink("/dev/binderfs", "./binderfs" [pid 5305] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5306] <... symlink resumed>) = 0 [pid 5304] <... ioctl resumed>) = 0 [pid 5306] write(1, "executing program\n", 18 [pid 5304] close(3 [pid 5302] munmap(0x7f8438200000, 138412032executing program [pid 5304] <... close resumed>) = 0 [pid 5302] <... munmap resumed>) = 0 [pid 5306] <... write resumed>) = 18 [pid 5304] close(4 [pid 5306] memfd_create("syzkaller", 0 [ 131.583486][ T5303] loop4: detected capacity change from 0 to 1024 [ 131.620151][ T5304] loop2: detected capacity change from 0 to 1024 [pid 5302] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5306] <... memfd_create resumed>) = 3 [pid 5302] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5306] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5304] <... close resumed>) = 0 [pid 5306] <... mmap resumed>) = 0x7f8438200000 [pid 5302] close(4 [pid 5304] mkdir("./file1", 0777) = 0 [pid 5302] <... close resumed>) = 0 [pid 5306] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5304] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5303] <... mount resumed>) = 0 [pid 5303] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5303] chdir("./file1" [pid 5305] <... write resumed>) = 524288 [pid 5303] <... chdir resumed>) = 0 [pid 5100] <... ioctl resumed>) = 0 [pid 5303] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5303] truncate("./file1", 0 [pid 5302] exit_group(0) = ? [pid 5305] munmap(0x7f8438200000, 138412032 [pid 5304] <... mount resumed>) = 0 [pid 5100] close(3 [pid 5305] <... munmap resumed>) = 0 [pid 5304] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5302] +++ exited with 0 +++ [pid 5100] <... close resumed>) = 0 [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5302, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5304] <... openat resumed>) = 3 [pid 5304] chdir("./file1" [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5305] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5304] <... chdir resumed>) = 0 [pid 5303] <... truncate resumed>) = 0 [pid 5306] <... write resumed>) = 524288 [pid 5304] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5303] memfd_create("syzkaller", 0) = 4 [pid 5097] umount2("./33", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5305] <... openat resumed>) = 4 [pid 5303] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5305] ioctl(4, LOOP_SET_FD, 3 [pid 5304] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5303] <... mmap resumed>) = 0x7f8438200000 [pid 5097] openat(AT_FDCWD, "./33", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5303] 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 resumed>) = 3 [pid 5306] munmap(0x7f8438200000, 138412032 [pid 5097] newfstatat(3, "", [pid 5306] <... munmap resumed>) = 0 [pid 5304] truncate("./file1", 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] getdents64(3, ./strace-static-x86_64: Process 5307 attached [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5307 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5307] set_robust_list(0x55556fbaa660, 24 [pid 5097] umount2("./33/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5307] <... set_robust_list resumed>) = 0 [pid 5304] <... truncate resumed>) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5304] memfd_create("syzkaller", 0 [pid 5307] chdir("./31" [pid 5306] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5304] <... memfd_create resumed>) = 4 [pid 5097] newfstatat(AT_FDCWD, "./33/binderfs", [pid 5306] <... openat resumed>) = 4 [pid 5304] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5306] ioctl(4, LOOP_SET_FD, 3 [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5307] <... chdir resumed>) = 0 [pid 5304] <... mmap resumed>) = 0x7f8438200000 [pid 5307] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5305] <... ioctl resumed>) = 0 [pid 5097] unlink("./33/binderfs" [pid 5307] <... prctl resumed>) = 0 [pid 5305] close(3 [pid 5307] setpgid(0, 0 [pid 5305] <... close resumed>) = 0 [pid 5304] 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 5307] <... setpgid resumed>) = 0 [pid 5305] close(4 [pid 5307] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5305] <... close resumed>) = 0 [pid 5097] <... unlink resumed>) = 0 [pid 5307] <... openat resumed>) = 3 [pid 5305] mkdir("./file1", 0777 [pid 5097] umount2("./33/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5307] write(3, "1000", 4) = 4 [pid 5305] <... mkdir resumed>) = 0 [pid 5307] close(3) = 0 [pid 5305] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5307] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5303] <... write resumed>) = 524288 executing program [pid 5307] write(1, "executing program\n", 18) = 18 [pid 5307] memfd_create("syzkaller", 0) = 3 [pid 5306] <... ioctl resumed>) = 0 [pid 5304] <... write resumed>) = 524288 [pid 5303] munmap(0x7f8438200000, 138412032 [pid 5097] <... umount2 resumed>) = 0 [ 131.714901][ T5305] loop5: detected capacity change from 0 to 1024 [ 131.750359][ T5306] loop1: detected capacity change from 0 to 1024 [pid 5307] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5306] close(3 [pid 5303] <... munmap resumed>) = 0 [pid 5307] <... mmap resumed>) = 0x7f8438200000 [pid 5306] <... close resumed>) = 0 [pid 5307] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5306] close(4) = 0 [pid 5306] mkdir("./file1", 0777) = 0 [pid 5303] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5303] close(4 [pid 5304] munmap(0x7f8438200000, 138412032 [pid 5306] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5304] <... munmap resumed>) = 0 [pid 5097] umount2("./33/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5304] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5097] newfstatat(AT_FDCWD, "./33/file1", [pid 5304] close(4 [pid 5306] <... mount resumed>) = 0 [pid 5305] <... mount resumed>) = 0 [pid 5303] <... close resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5306] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5306] chdir("./file1" [pid 5305] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5097] umount2("./33/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5305] <... openat resumed>) = 3 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5306] <... chdir resumed>) = 0 [pid 5097] openat(AT_FDCWD, "./33/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5307] <... write resumed>) = 524288 [pid 5306] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5097] <... openat resumed>) = 4 [pid 5306] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5305] chdir("./file1" [pid 5303] exit_group(0 [pid 5097] newfstatat(4, "", [pid 5304] <... close resumed>) = 0 [pid 5305] <... chdir resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5305] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5306] truncate("./file1", 0 [pid 5305] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5304] exit_group(0 [pid 5303] <... exit_group resumed>) = ? [pid 5097] getdents64(4, [pid 5305] truncate("./file1", 0 [pid 5304] <... exit_group resumed>) = ? [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5303] +++ exited with 0 +++ [pid 5304] +++ exited with 0 +++ [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5303, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5101] umount2("./32", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] getdents64(4, [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] openat(AT_FDCWD, "./32", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5304, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5305] <... truncate resumed>) = 0 [pid 5101] <... openat resumed>) = 3 [pid 5099] umount2("./33", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5306] <... truncate resumed>) = 0 [pid 5305] memfd_create("syzkaller", 0 [pid 5101] newfstatat(3, "", [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] close(4 [pid 5306] memfd_create("syzkaller", 0 [pid 5305] <... memfd_create resumed>) = 4 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] openat(AT_FDCWD, "./33", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5307] munmap(0x7f8438200000, 138412032 [pid 5306] <... memfd_create resumed>) = 4 [pid 5101] getdents64(3, [pid 5097] <... close resumed>) = 0 [pid 5305] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] <... openat resumed>) = 3 [pid 5097] rmdir("./33/file1" [pid 5306] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] umount2("./32/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] newfstatat(3, "", [pid 5307] <... munmap resumed>) = 0 [pid 5306] <... mmap resumed>) = 0x7f8438200000 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] newfstatat(AT_FDCWD, "./32/binderfs", [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] <... rmdir resumed>) = 0 [pid 5306] 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 5305] <... mmap resumed>) = 0x7f8438200000 [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5307] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5099] getdents64(3, [pid 5307] <... openat resumed>) = 4 [pid 5307] ioctl(4, LOOP_SET_FD, 3 [pid 5305] 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 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5097] getdents64(3, [pid 5099] umount2("./33/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] close(3 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... close resumed>) = 0 [pid 5099] newfstatat(AT_FDCWD, "./33/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] rmdir("./33" [pid 5101] unlink("./32/binderfs") = 0 [pid 5097] <... rmdir resumed>) = 0 [pid 5099] unlink("./33/binderfs" [pid 5097] mkdir("./34", 0777 [pid 5101] umount2("./32/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... unlink resumed>) = 0 [pid 5099] umount2("./33/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... mkdir resumed>) = 0 [pid 5307] <... ioctl resumed>) = 0 [pid 5307] close(3) = 0 [pid 5307] close(4) = 0 [pid 5307] mkdir("./file1", 0777) = 0 [pid 5307] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5099] <... umount2 resumed>) = 0 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5101] <... umount2 resumed>) = 0 [pid 5307] <... mount resumed>) = 0 [pid 5306] <... write resumed>) = 524288 [pid 5099] umount2("./33/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... openat resumed>) = 3 [pid 5307] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5305] <... write resumed>) = 524288 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5099] newfstatat(AT_FDCWD, "./33/file1", [pid 5307] <... openat resumed>) = 3 [ 131.904393][ T5307] loop3: detected capacity change from 0 to 1024 [pid 5101] umount2("./32/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5307] chdir("./file1" [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] umount2("./33/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5305] munmap(0x7f8438200000, 138412032 [pid 5307] <... chdir resumed>) = 0 [pid 5101] newfstatat(AT_FDCWD, "./32/file1", [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5307] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] openat(AT_FDCWD, "./33/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5307] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5306] munmap(0x7f8438200000, 138412032 [pid 5101] umount2("./32/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5307] truncate("./file1", 0 [pid 5306] <... munmap resumed>) = 0 [pid 5305] <... munmap resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... openat resumed>) = 4 [pid 5099] newfstatat(4, "", [pid 5101] openat(AT_FDCWD, "./32/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 5306] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5101] getdents64(4, [pid 5306] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5306] close(4 [pid 5101] close(4) = 0 [pid 5101] rmdir("./32/file1" [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5305] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5101] <... rmdir resumed>) = 0 [pid 5099] getdents64(4, [pid 5307] <... truncate resumed>) = 0 [pid 5305] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] getdents64(3, [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5099] getdents64(4, [pid 5307] memfd_create("syzkaller", 0 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5307] <... memfd_create resumed>) = 4 [pid 5101] close(3 [pid 5099] close(4 [pid 5305] close(4 [pid 5101] <... close resumed>) = 0 [pid 5099] <... close resumed>) = 0 [pid 5307] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] rmdir("./32" [pid 5099] rmdir("./33/file1" [pid 5307] <... mmap resumed>) = 0x7f8438200000 [pid 5101] <... rmdir resumed>) = 0 [pid 5307] 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("./33", 0777 [pid 5099] <... rmdir resumed>) = 0 [pid 5099] getdents64(3, [pid 5306] <... close resumed>) = 0 [pid 5101] <... mkdir resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5099] close(3) = 0 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5099] rmdir("./33" [pid 5306] exit_group(0 [pid 5101] <... openat resumed>) = 3 [pid 5099] <... rmdir resumed>) = 0 [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5099] mkdir("./34", 0777 [pid 5306] <... exit_group resumed>) = ? [pid 5101] <... ioctl resumed>) = 0 [pid 5099] <... mkdir resumed>) = 0 [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5307] <... write resumed>) = 524288 [pid 5305] <... close resumed>) = 0 [pid 5101] close(3 [pid 5099] <... openat resumed>) = 3 [pid 5306] +++ exited with 0 +++ [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5306, si_uid=0, si_status=0, si_utime=0, si_stime=10 /* 0.10 s */} --- [pid 5098] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5097] <... ioctl resumed>) = 0 [pid 5097] close(3 [pid 5305] exit_group(0 [pid 5097] <... close resumed>) = 0 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5098] umount2("./33", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./33", 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("./33/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./33/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] unlink("./33/binderfs" [pid 5305] <... exit_group resumed>) = ? [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5308 [pid 5098] <... unlink resumed>) = 0 ./strace-static-x86_64: Process 5308 attached [pid 5308] set_robust_list(0x55556fbaa660, 24 [pid 5098] umount2("./33/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5308] <... set_robust_list resumed>) = 0 [pid 5307] munmap(0x7f8438200000, 138412032 [pid 5308] chdir("./34" [pid 5307] <... munmap resumed>) = 0 [pid 5308] <... chdir resumed>) = 0 [pid 5308] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5305] +++ exited with 0 +++ [pid 5308] <... prctl resumed>) = 0 [pid 5308] setpgid(0, 0 [pid 5307] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5305, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5101] <... close resumed>) = 0 [pid 5307] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] restart_syscall(<... resuming interrupted clone ...> [pid 5307] close(4 [pid 5308] <... setpgid resumed>) = 0 [pid 5103] <... restart_syscall resumed>) = 0 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5308] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5099] <... ioctl resumed>) = 0 [pid 5098] <... umount2 resumed>) = 0 ./strace-static-x86_64: Process 5309 attached [pid 5308] <... openat resumed>) = 3 [pid 5307] <... close resumed>) = 0 [pid 5103] umount2("./32", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5309] set_robust_list(0x55556fbaa660, 24 [pid 5308] write(3, "1000", 4 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5309 [pid 5099] close(3 [pid 5098] umount2("./33/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5309] <... set_robust_list resumed>) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5309] chdir("./33" [pid 5308] <... write resumed>) = 4 [pid 5103] openat(AT_FDCWD, "./32", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] <... close resumed>) = 0 [pid 5098] newfstatat(AT_FDCWD, "./33/file1", [pid 5309] <... chdir resumed>) = 0 [pid 5308] close(3 [pid 5307] exit_group(0 [pid 5103] <... openat resumed>) = 3 [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_SYMLINK_NOFOLLOW) = 0 [pid 5309] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5308] <... close resumed>) = 0 [pid 5098] umount2("./33/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5309] <... prctl resumed>) = 0 [pid 5307] <... exit_group resumed>) = ? [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5309] setpgid(0, 0 [pid 5308] symlink("/dev/binderfs", "./binderfs" [pid 5103] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5308] <... symlink resumed>) = 0 [pid 5308] write(1, "executing program\n", 18 [pid 5103] getdents64(3, executing program [pid 5309] <... setpgid resumed>) = 0 [pid 5308] <... write resumed>) = 18 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5310 [pid 5098] openat(AT_FDCWD, "./33/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY./strace-static-x86_64: Process 5310 attached [pid 5309] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5308] memfd_create("syzkaller", 0 [pid 5307] +++ exited with 0 +++ [pid 5098] <... openat resumed>) = 4 [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5307, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5309] <... openat resumed>) = 3 [pid 5308] <... memfd_create resumed>) = 3 [pid 5103] umount2("./32/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] newfstatat(4, "", [pid 5310] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] umount2("./31", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5310] chdir("./34" [pid 5309] write(3, "1000", 4 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] getdents64(4, [pid 5310] <... chdir resumed>) = 0 [pid 5309] <... write resumed>) = 4 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] openat(AT_FDCWD, "./31", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5309] close(3 [pid 5308] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5098] getdents64(4, [pid 5309] <... close resumed>) = 0 [pid 5308] <... mmap resumed>) = 0x7f8438200000 [pid 5103] newfstatat(AT_FDCWD, "./32/binderfs", [pid 5100] <... openat resumed>) = 3 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5309] symlink("/dev/binderfs", "./binderfs"executing program [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] newfstatat(3, "", [pid 5098] close(4 [pid 5310] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5309] <... symlink resumed>) = 0 [pid 5308] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 resumed>) = 0 [pid 5098] rmdir("./33/file1" [pid 5309] write(1, "executing program\n", 18 [pid 5098] <... rmdir resumed>) = 0 [pid 5309] <... write resumed>) = 18 [pid 5309] memfd_create("syzkaller", 0 [pid 5098] getdents64(3, [pid 5309] <... memfd_create resumed>) = 3 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5309] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5098] close(3 [pid 5310] <... prctl resumed>) = 0 [pid 5309] <... mmap resumed>) = 0x7f8438200000 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] <... close resumed>) = 0 [pid 5098] rmdir("./33" [pid 5309] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 resumed>) = 0 [pid 5310] setpgid(0, 0 [pid 5309] <... write resumed>) = 524288 [pid 5103] unlink("./32/binderfs" [pid 5100] getdents64(3, [pid 5098] mkdir("./34", 0777 [pid 5310] <... setpgid resumed>) = 0 [pid 5103] <... unlink resumed>) = 0 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] <... mkdir resumed>) = 0 [pid 5100] umount2("./31/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5310] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5309] munmap(0x7f8438200000, 138412032 [pid 5308] <... write resumed>) = 524288 [pid 5103] umount2("./32/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] newfstatat(AT_FDCWD, "./31/binderfs", [pid 5309] <... munmap resumed>) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5100] unlink("./31/binderfs" [pid 5098] <... openat resumed>) = 3 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5100] <... unlink resumed>) = 0 [pid 5309] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5100] umount2("./31/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5309] <... openat resumed>) = 4 [pid 5309] ioctl(4, LOOP_SET_FD, 3 [pid 5310] <... openat resumed>) = 3 [pid 5308] munmap(0x7f8438200000, 138412032 [pid 5310] write(3, "1000", 4) = 4 [pid 5308] <... munmap resumed>) = 0 [pid 5310] close(3 [pid 5308] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5310] <... close resumed>) = 0 [pid 5310] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5309] <... ioctl resumed>) = 0 [pid 5308] <... openat resumed>) = 4 [pid 5310] write(1, "executing program\n", 18 [pid 5309] close(3 [pid 5308] ioctl(4, LOOP_SET_FD, 3 [pid 5309] <... close resumed>) = 0 [pid 5309] close(4executing program [pid 5310] <... write resumed>) = 18 [pid 5309] <... close resumed>) = 0 [pid 5098] <... ioctl resumed>) = 0 [pid 5310] memfd_create("syzkaller", 0 [pid 5103] <... umount2 resumed>) = 0 [pid 5310] <... memfd_create resumed>) = 3 [pid 5309] mkdir("./file1", 0777 [pid 5308] <... ioctl resumed>) = 0 [pid 5100] <... umount2 resumed>) = 0 [pid 5098] close(3 [pid 5308] close(3) = 0 [pid 5308] close(4) = 0 [pid 5308] mkdir("./file1", 0777 [pid 5309] <... mkdir resumed>) = 0 [pid 5308] <... mkdir resumed>) = 0 [pid 5103] umount2("./32/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5103] newfstatat(AT_FDCWD, "./32/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] umount2("./32/file1", MNT_FORCE|UMOUNT_NOFOLLOW [ 132.198691][ T5309] loop4: detected capacity change from 0 to 1024 [ 132.225008][ T5308] loop0: detected capacity change from 0 to 1024 [pid 5308] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5310] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5309] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5103] openat(AT_FDCWD, "./32/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5100] umount2("./31/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... close resumed>) = 0 [pid 5103] <... openat resumed>) = 4 [pid 5103] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5310] <... mmap resumed>) = 0x7f8438200000 [pid 5103] getdents64(4, [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5103] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5103] close(4 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] <... close resumed>) = 0 [pid 5103] rmdir("./32/file1" [pid 5100] newfstatat(AT_FDCWD, "./31/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 ./strace-static-x86_64: Process 5311 attached [pid 5103] <... rmdir resumed>) = 0 [pid 5100] umount2("./31/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5311 [pid 5311] set_robust_list(0x55556fbaa660, 24 [pid 5309] <... mount resumed>) = 0 [pid 5308] <... mount resumed>) = 0 [pid 5103] getdents64(3, [pid 5100] openat(AT_FDCWD, "./31/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5309] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5308] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5100] <... openat resumed>) = 4 [pid 5311] <... set_robust_list resumed>) = 0 [pid 5310] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5309] <... openat resumed>) = 3 [pid 5308] <... openat resumed>) = 3 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] newfstatat(4, "", [pid 5311] chdir("./34" [pid 5310] <... write resumed>) = 524288 [pid 5309] chdir("./file1" [pid 5308] chdir("./file1" [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 5309] <... chdir resumed>) = 0 [pid 5308] <... chdir resumed>) = 0 [pid 5100] getdents64(4, [pid 5309] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5308] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5309] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5308] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] close(4 [pid 5309] truncate("./file1", 0 [pid 5308] truncate("./file1", 0 [pid 5103] close(3 [pid 5311] <... chdir resumed>) = 0 [pid 5100] <... close resumed>) = 0 [pid 5311] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5310] munmap(0x7f8438200000, 138412032 [pid 5308] <... truncate resumed>) = 0 [pid 5103] <... close resumed>) = 0 [pid 5100] rmdir("./31/file1" [pid 5309] <... truncate resumed>) = 0 [pid 5103] rmdir("./32" [pid 5311] <... prctl resumed>) = 0 [pid 5309] memfd_create("syzkaller", 0 [pid 5308] memfd_create("syzkaller", 0 [pid 5311] setpgid(0, 0) = 0 [pid 5309] <... memfd_create resumed>) = 4 [pid 5308] <... memfd_create resumed>) = 4 [pid 5103] <... rmdir resumed>) = 0 [pid 5311] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5309] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5308] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5311] <... openat resumed>) = 3 [pid 5310] <... munmap resumed>) = 0 [pid 5309] <... mmap resumed>) = 0x7f8438200000 [pid 5103] mkdir("./33", 0777 [pid 5100] <... rmdir resumed>) = 0 [pid 5311] write(3, "1000", 4) = 4 [pid 5310] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5309] 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 5308] <... mmap resumed>) = 0x7f8438200000 [pid 5103] <... mkdir resumed>) = 0 [pid 5311] close(3 [pid 5310] <... openat resumed>) = 4 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5311] <... close resumed>) = 0 [pid 5310] ioctl(4, LOOP_SET_FD, 3 [pid 5103] <... openat resumed>) = 3 [pid 5100] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 executing program [pid 5100] close(3) = 0 [pid 5100] rmdir("./31" [pid 5311] symlink("/dev/binderfs", "./binderfs" [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5311] <... symlink resumed>) = 0 [pid 5311] write(1, "executing program\n", 18) = 18 [pid 5308] 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 5311] memfd_create("syzkaller", 0 [pid 5310] <... ioctl resumed>) = 0 [pid 5311] <... memfd_create resumed>) = 3 [pid 5310] close(3 [pid 5311] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5310] <... close resumed>) = 0 [pid 5309] <... write resumed>) = 524288 [pid 5100] mkdir("./32", 0777 [pid 5310] close(4 [pid 5311] <... mmap resumed>) = 0x7f8438200000 [pid 5310] <... close resumed>) = 0 [pid 5310] mkdir("./file1", 0777 [pid 5308] <... write resumed>) = 524288 [pid 5100] <... mkdir resumed>) = 0 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5309] munmap(0x7f8438200000, 138412032) = 0 [pid 5103] <... ioctl resumed>) = 0 [pid 5309] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [ 132.358769][ T5310] loop2: detected capacity change from 0 to 1024 [pid 5309] close(4 [pid 5311] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5310] <... mkdir resumed>) = 0 [pid 5309] <... close resumed>) = 0 [pid 5308] munmap(0x7f8438200000, 138412032) = 0 [pid 5308] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5308] close(4 [pid 5310] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5311] <... write resumed>) = 524288 [pid 5103] close(3 [pid 5100] <... ioctl resumed>) = 0 [pid 5308] <... close resumed>) = 0 [pid 5309] exit_group(0) = ? [pid 5103] <... close resumed>) = 0 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5311] munmap(0x7f8438200000, 138412032) = 0 [pid 5310] <... mount resumed>) = 0 [pid 5309] +++ exited with 0 +++ [pid 5311] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5309, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5310] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5310] chdir("./file1" [pid 5101] umount2("./33", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5310] <... chdir resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5310] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5101] openat(AT_FDCWD, "./33", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5310] truncate("./file1", 0 [pid 5101] <... openat resumed>) = 3 ./strace-static-x86_64: Process 5312 attached [pid 5311] <... openat resumed>) = 4 [pid 5308] exit_group(0 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5312 [pid 5101] newfstatat(3, "", [pid 5100] close(3 [pid 5312] set_robust_list(0x55556fbaa660, 24 [pid 5311] ioctl(4, LOOP_SET_FD, 3 [pid 5308] <... exit_group resumed>) = ? [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] <... close resumed>) = 0 [pid 5312] <... set_robust_list resumed>) = 0 [pid 5101] getdents64(3, [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5312] chdir("./33" [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5101] umount2("./33/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5312] <... chdir resumed>) = 0 [pid 5101] newfstatat(AT_FDCWD, "./33/binderfs", [pid 5312] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5312] <... prctl resumed>) = 0 [pid 5101] unlink("./33/binderfs" [pid 5312] setpgid(0, 0 [pid 5101] <... unlink resumed>) = 0 ./strace-static-x86_64: Process 5313 attached [pid 5312] <... setpgid resumed>) = 0 [pid 5310] <... truncate resumed>) = 0 [pid 5308] +++ exited with 0 +++ [pid 5101] umount2("./33/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5313 [pid 5313] set_robust_list(0x55556fbaa660, 24 [pid 5312] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5311] <... ioctl resumed>) = 0 [pid 5310] memfd_create("syzkaller", 0 [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5308, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5313] <... set_robust_list resumed>) = 0 [pid 5312] <... openat resumed>) = 3 [pid 5097] restart_syscall(<... resuming interrupted clone ...> [pid 5313] chdir("./32" [pid 5310] <... memfd_create resumed>) = 4 [pid 5097] <... restart_syscall resumed>) = 0 [pid 5311] close(3 [pid 5310] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5313] <... chdir resumed>) = 0 [pid 5312] write(3, "1000", 4 [pid 5313] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5312] <... write resumed>) = 4 [pid 5097] umount2("./34", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5313] <... prctl resumed>) = 0 [pid 5312] close(3 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5313] setpgid(0, 0 [pid 5312] <... close resumed>) = 0 [pid 5313] <... setpgid resumed>) = 0 [pid 5313] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5312] symlink("/dev/binderfs", "./binderfs" [pid 5097] openat(AT_FDCWD, "./34", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5312] <... symlink resumed>) = 0 [pid 5313] <... openat resumed>) = 3 [pid 5097] <... openat resumed>) = 3 executing program [pid 5312] write(1, "executing program\n", 18 [pid 5311] <... close resumed>) = 0 [pid 5310] <... mmap resumed>) = 0x7f8438200000 [pid 5097] newfstatat(3, "", [pid 5313] write(3, "1000", 4 [pid 5312] <... write resumed>) = 18 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5313] <... write resumed>) = 4 [pid 5312] memfd_create("syzkaller", 0 [pid 5313] close(3 [pid 5097] getdents64(3, [pid 5313] <... close resumed>) = 0 [pid 5312] <... memfd_create resumed>) = 3 [pid 5313] symlink("/dev/binderfs", "./binderfs" [pid 5311] close(4 [pid 5310] 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 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5313] <... symlink resumed>) = 0 [pid 5312] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] <... umount2 resumed>) = 0 [ 132.484268][ T5311] loop1: detected capacity change from 0 to 1024 executing program [pid 5313] write(1, "executing program\n", 18 [pid 5312] <... mmap resumed>) = 0x7f8438200000 [pid 5312] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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("./34/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5313] <... write resumed>) = 18 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(AT_FDCWD, "./34/binderfs", [pid 5311] <... close resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5311] mkdir("./file1", 0777) = 0 [pid 5097] unlink("./34/binderfs" [pid 5311] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5097] <... unlink resumed>) = 0 [pid 5310] <... write resumed>) = 524288 [pid 5101] umount2("./33/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] umount2("./34/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] newfstatat(AT_FDCWD, "./33/file1", [pid 5311] <... mount resumed>) = 0 [pid 5311] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5310] munmap(0x7f8438200000, 138412032 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] umount2("./33/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5311] <... openat resumed>) = 3 [pid 5312] <... write resumed>) = 524288 [pid 5311] chdir("./file1" [pid 5310] <... munmap resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... umount2 resumed>) = 0 [pid 5101] openat(AT_FDCWD, "./33/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5313] memfd_create("syzkaller", 0) = 3 [pid 5313] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5311] <... chdir resumed>) = 0 [pid 5313] <... mmap resumed>) = 0x7f8438200000 [pid 5311] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5310] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5101] newfstatat(4, "", [pid 5097] umount2("./34/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5311] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5310] <... 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 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5311] truncate("./file1", 0 [pid 5310] close(4 [pid 5101] getdents64(4, [pid 5097] newfstatat(AT_FDCWD, "./34/file1", [pid 5313] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5312] munmap(0x7f8438200000, 138412032 [pid 5310] <... close resumed>) = 0 [pid 5101] getdents64(4, [pid 5097] umount2("./34/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5312] <... munmap resumed>) = 0 [pid 5101] close(4 [pid 5312] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5101] <... close resumed>) = 0 [pid 5097] openat(AT_FDCWD, "./34/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5310] exit_group(0 [pid 5313] <... write resumed>) = 524288 [pid 5312] <... openat resumed>) = 4 [pid 5311] <... truncate resumed>) = 0 [pid 5101] rmdir("./33/file1" [pid 5097] <... openat resumed>) = 4 [pid 5313] munmap(0x7f8438200000, 138412032 [pid 5312] ioctl(4, LOOP_SET_FD, 3 [pid 5311] memfd_create("syzkaller", 0 [pid 5310] <... exit_group resumed>) = ? [pid 5101] <... rmdir resumed>) = 0 [pid 5097] newfstatat(4, "", [pid 5311] <... memfd_create resumed>) = 4 [pid 5311] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5101] getdents64(3, [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5310] +++ exited with 0 +++ [pid 5313] <... munmap resumed>) = 0 [pid 5311] 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] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] getdents64(4, [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5310, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5101] close(3 [pid 5099] restart_syscall(<... resuming interrupted clone ...> [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5313] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5101] <... close resumed>) = 0 [pid 5099] <... restart_syscall resumed>) = 0 [pid 5097] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] umount2("./34", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5313] <... openat resumed>) = 4 [pid 5312] <... ioctl resumed>) = 0 [pid 5101] rmdir("./33" [pid 5313] ioctl(4, LOOP_SET_FD, 3 [pid 5312] close(3) = 0 [pid 5101] <... rmdir resumed>) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] close(4 [pid 5099] openat(AT_FDCWD, "./34", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] <... close resumed>) = 0 [pid 5099] <... openat resumed>) = 3 [pid 5097] rmdir("./34/file1") = 0 [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 5097] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5099] umount2("./34/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] close(3 [pid 5313] <... ioctl resumed>) = 0 [pid 5312] close(4 [pid 5101] mkdir("./34", 0777 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... close resumed>) = 0 [pid 5312] <... close resumed>) = 0 [pid 5099] newfstatat(AT_FDCWD, "./34/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5312] mkdir("./file1", 0777 [pid 5101] <... mkdir resumed>) = 0 [pid 5099] unlink("./34/binderfs" [pid 5097] rmdir("./34" [pid 5312] <... mkdir resumed>) = 0 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5099] <... unlink resumed>) = 0 [pid 5097] <... rmdir resumed>) = 0 [pid 5101] <... openat resumed>) = 3 [pid 5099] umount2("./34/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5312] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5097] mkdir("./35", 0777 [pid 5312] <... mount resumed>) = 0 [pid 5312] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5097] <... mkdir resumed>) = 0 [pid 5313] close(3 [pid 5312] chdir("./file1" [pid 5313] <... close resumed>) = 0 [pid 5313] close(4 [pid 5312] <... chdir resumed>) = 0 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5313] <... close resumed>) = 0 [pid 5312] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5313] mkdir("./file1", 0777 [pid 5312] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] <... openat resumed>) = 3 [pid 5312] truncate("./file1", 0 [pid 5313] <... mkdir resumed>) = 0 [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5311] <... write resumed>) = 524288 [pid 5099] <... umount2 resumed>) = 0 [pid 5311] munmap(0x7f8438200000, 138412032 [pid 5099] umount2("./34/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5311] <... munmap resumed>) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] newfstatat(AT_FDCWD, "./34/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] umount2("./34/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5311] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5311] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] <... ioctl resumed>) = 0 [pid 5099] openat(AT_FDCWD, "./34/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5311] close(4 [pid 5099] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [ 132.656484][ T5312] loop5: detected capacity change from 0 to 1024 [ 132.683771][ T5313] loop3: detected capacity change from 0 to 1024 [pid 5099] getdents64(4, [pid 5313] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5311] <... close resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5099] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] close(4) = 0 [pid 5099] rmdir("./34/file1" [pid 5312] <... truncate resumed>) = 0 [pid 5099] <... rmdir resumed>) = 0 [pid 5313] <... mount resumed>) = 0 [pid 5312] memfd_create("syzkaller", 0 [pid 5101] close(3 [pid 5099] getdents64(3, [pid 5313] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5312] <... memfd_create resumed>) = 4 [pid 5101] <... close resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5313] <... openat resumed>) = 3 [pid 5312] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5099] close(3 [pid 5313] chdir("./file1" [pid 5312] <... mmap resumed>) = 0x7f8438200000 [pid 5099] <... close resumed>) = 0 [pid 5313] <... chdir resumed>) = 0 [pid 5313] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5099] rmdir("./34") = 0 [pid 5312] 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 5313] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5311] exit_group(0) = ? [pid 5099] mkdir("./35", 0777 [pid 5313] truncate("./file1", 0 [pid 5097] <... ioctl resumed>) = 0 [pid 5099] <... mkdir resumed>) = 0 ./strace-static-x86_64: Process 5314 attached [pid 5313] <... truncate resumed>) = 0 [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5314 [pid 5311] +++ exited with 0 +++ [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5311, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5098] umount2("./34", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./34", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5098] <... openat resumed>) = 3 [pid 5312] <... write resumed>) = 524288 [pid 5313] memfd_create("syzkaller", 0 [pid 5099] <... openat resumed>) = 3 [pid 5098] newfstatat(3, "", [pid 5099] ioctl(3, LOOP_CLR_FD [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 5098] umount2("./34/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./34/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] unlink("./34/binderfs") = 0 [pid 5098] umount2("./34/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] close(3 [pid 5314] set_robust_list(0x55556fbaa660, 24 [pid 5313] <... memfd_create resumed>) = 4 [pid 5312] munmap(0x7f8438200000, 138412032 [pid 5098] <... umount2 resumed>) = 0 [pid 5314] <... set_robust_list resumed>) = 0 [pid 5313] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5312] <... munmap resumed>) = 0 [pid 5097] <... close resumed>) = 0 [pid 5314] chdir("./34" [pid 5313] <... mmap resumed>) = 0x7f8438200000 [pid 5314] <... chdir resumed>) = 0 [pid 5312] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5314] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5313] 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 5312] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] <... ioctl resumed>) = 0 [pid 5314] <... prctl resumed>) = 0 [pid 5312] close(4 [pid 5314] setpgid(0, 0) = 0 [pid 5313] <... write resumed>) = 524288 [pid 5098] umount2("./34/file1", MNT_FORCE|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 5315 attached [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5315 [pid 5314] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5315] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5314] <... openat resumed>) = 3 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./34/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] umount2("./34/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5315] chdir("./35" [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./34/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 5315] <... chdir resumed>) = 0 [pid 5314] write(3, "1000", 4 [pid 5312] <... close resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5315] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5314] <... write resumed>) = 4 [pid 5314] close(3 [pid 5312] exit_group(0 [pid 5099] close(3 [pid 5098] getdents64(4, [pid 5315] <... prctl resumed>) = 0 [pid 5314] <... close resumed>) = 0 [pid 5312] <... exit_group resumed>) = ? [pid 5099] <... close resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5314] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5098] close(4 [pid 5314] write(1, "executing program\n", 18 [pid 5098] <... close resumed>) = 0 [pid 5315] setpgid(0, 0 [pid 5314] <... write resumed>) = 18 [pid 5313] munmap(0x7f8438200000, 138412032 [pid 5314] memfd_create("syzkaller", 0 [pid 5313] <... munmap resumed>) = 0 [pid 5312] +++ exited with 0 +++ [pid 5098] rmdir("./34/file1" [pid 5315] <... setpgid resumed>) = 0 [pid 5314] <... memfd_create resumed>) = 3 [pid 5313] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5312, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5098] <... rmdir resumed>) = 0 [pid 5315] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5314] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5313] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5315] <... openat resumed>) = 3 [pid 5314] <... mmap resumed>) = 0x7f8438200000 [pid 5313] close(4 [pid 5098] getdents64(3, ./strace-static-x86_64: Process 5316 attached [pid 5315] write(3, "1000", 4 [pid 5314] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 resumed>, child_tidptr=0x55556fbaa650) = 5316 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] close(3) = 0 [pid 5103] umount2("./33", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] rmdir("./34" [pid 5316] set_robust_list(0x55556fbaa660, 24 [pid 5315] <... write resumed>) = 4 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... rmdir resumed>) = 0 [pid 5316] <... set_robust_list resumed>) = 0 [pid 5315] close(3 [pid 5316] chdir("./35" [pid 5103] openat(AT_FDCWD, "./33", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] mkdir("./35", 0777 [pid 5315] <... close resumed>) = 0 [pid 5313] <... close resumed>) = 0 [pid 5103] <... openat resumed>) = 3 [pid 5098] <... mkdir resumed>) = 0 [pid 5103] newfstatat(3, "", [pid 5316] <... chdir resumed>) = 0 [pid 5315] 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 5316] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5315] <... symlink resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5316] <... prctl resumed>) = 0 [pid 5315] write(1, "executing program\n", 18executing program [pid 5103] umount2("./33/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... openat resumed>) = 3 [pid 5316] setpgid(0, 0 [pid 5315] <... write resumed>) = 18 [pid 5313] exit_group(0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5103] newfstatat(AT_FDCWD, "./33/binderfs", [pid 5316] <... setpgid resumed>) = 0 [pid 5315] memfd_create("syzkaller", 0 [pid 5313] <... exit_group resumed>) = ? [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] unlink("./33/binderfs") = 0 [pid 5103] umount2("./33/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5314] <... write resumed>) = 524288 [pid 5316] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5315] <... memfd_create resumed>) = 3 [pid 5316] <... openat resumed>) = 3 [pid 5316] write(3, "1000", 4 [pid 5315] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5313] +++ exited with 0 +++ [pid 5316] <... write resumed>) = 4 [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5313, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=3 /* 0.03 s */} --- [pid 5315] <... mmap resumed>) = 0x7f8438200000 [pid 5316] close(3) = 0 [pid 5315] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5314] munmap(0x7f8438200000, 138412032 [pid 5103] <... umount2 resumed>) = 0 [pid 5098] <... ioctl resumed>) = 0 [pid 5316] symlink("/dev/binderfs", "./binderfs" [pid 5103] umount2("./33/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] umount2("./32", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5316] <... symlink resumed>) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) executing program [pid 5100] openat(AT_FDCWD, "./32", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5314] <... munmap resumed>) = 0 [pid 5103] newfstatat(AT_FDCWD, "./33/file1", [pid 5100] <... openat resumed>) = 3 [pid 5316] write(1, "executing program\n", 18 [pid 5314] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] newfstatat(3, "", [pid 5316] <... write resumed>) = 18 [pid 5314] <... openat resumed>) = 4 [pid 5103] umount2("./33/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5316] memfd_create("syzkaller", 0 [pid 5314] ioctl(4, LOOP_SET_FD, 3 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] getdents64(3, [pid 5103] openat(AT_FDCWD, "./33/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5103] <... openat resumed>) = 4 [pid 5100] umount2("./32/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5100] newfstatat(AT_FDCWD, "./32/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] unlink("./32/binderfs" [pid 5098] close(3 [pid 5100] <... unlink resumed>) = 0 [pid 5098] <... close resumed>) = 0 [pid 5100] umount2("./32/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55556fbaa650) = 5317 [pid 5103] newfstatat(4, "", [pid 5316] <... memfd_create resumed>) = 3 [pid 5316] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5316] <... mmap resumed>) = 0x7f8438200000 [pid 5103] getdents64(4, [pid 5316] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5315] <... write resumed>) = 524288 [pid 5314] <... ioctl resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 ./strace-static-x86_64: Process 5317 attached [pid 5317] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5317] chdir("./35") = 0 [pid 5317] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5317] setpgid(0, 0 [pid 5315] munmap(0x7f8438200000, 138412032 [pid 5314] close(3 [pid 5103] getdents64(4, [pid 5317] <... setpgid resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5317] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5315] <... munmap resumed>) = 0 [pid 5314] <... close resumed>) = 0 [pid 5103] close(4 [pid 5100] <... umount2 resumed>) = 0 [pid 5317] write(3, "1000", 4 [pid 5314] close(4 [pid 5103] <... close resumed>) = 0 [pid 5100] umount2("./32/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5317] <... write resumed>) = 4 [pid 5314] <... close resumed>) = 0 [pid 5103] rmdir("./33/file1" [pid 5317] close(3 [pid 5314] mkdir("./file1", 0777 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5317] <... close resumed>) = 0 [pid 5314] <... mkdir resumed>) = 0 [pid 5103] <... rmdir resumed>) = 0 [pid 5100] newfstatat(AT_FDCWD, "./32/file1", [pid 5317] symlink("/dev/binderfs", "./binderfs" [pid 5314] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] umount2("./32/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5315] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5317] <... symlink resumed>) = 0 [pid 5315] <... openat resumed>) = 4 [ 132.967803][ T5314] loop4: detected capacity change from 0 to 1024 [pid 5100] openat(AT_FDCWD, "./32/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORYexecuting program [pid 5317] write(1, "executing program\n", 18 [pid 5315] ioctl(4, LOOP_SET_FD, 3 [pid 5100] <... openat resumed>) = 4 [pid 5317] <... write resumed>) = 18 [pid 5317] memfd_create("syzkaller", 0 [pid 5100] newfstatat(4, "", [pid 5317] <... memfd_create resumed>) = 3 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5317] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] getdents64(4, [pid 5317] <... mmap resumed>) = 0x7f8438200000 [pid 5315] <... ioctl resumed>) = 0 [pid 5103] getdents64(3, [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5317] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5315] close(3 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] getdents64(4, [pid 5316] <... write resumed>) = 524288 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] close(4) = 0 [pid 5100] rmdir("./32/file1" [pid 5316] munmap(0x7f8438200000, 138412032 [pid 5315] <... close resumed>) = 0 [pid 5103] close(3 [pid 5100] <... rmdir resumed>) = 0 [pid 5103] <... close resumed>) = 0 [pid 5316] <... munmap resumed>) = 0 [pid 5315] close(4 [pid 5103] rmdir("./33" [pid 5315] <... close resumed>) = 0 [pid 5315] mkdir("./file1", 0777 [pid 5316] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5103] <... rmdir resumed>) = 0 [pid 5100] getdents64(3, [pid 5315] <... mkdir resumed>) = 0 [pid 5314] <... mount resumed>) = 0 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] close(3) = 0 [pid 5100] rmdir("./32") = 0 [pid 5315] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5316] <... openat resumed>) = 4 [pid 5100] mkdir("./33", 0777 [pid 5316] ioctl(4, LOOP_SET_FD, 3 [pid 5314] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5103] mkdir("./34", 0777 [pid 5100] <... mkdir resumed>) = 0 [pid 5103] <... mkdir resumed>) = 0 [pid 5317] <... write resumed>) = 524288 [pid 5314] <... openat resumed>) = 3 [ 133.022824][ T5315] loop0: detected capacity change from 0 to 1024 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5317] munmap(0x7f8438200000, 138412032 [pid 5315] <... mount resumed>) = 0 [pid 5314] chdir("./file1" [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5100] <... openat resumed>) = 3 [pid 5314] <... chdir resumed>) = 0 [pid 5103] <... openat resumed>) = 3 [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5317] <... munmap resumed>) = 0 [pid 5316] <... ioctl resumed>) = 0 [pid 5315] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5314] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5314] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5315] <... openat resumed>) = 3 [pid 5316] close(3 [pid 5315] chdir("./file1" [pid 5314] truncate("./file1", 0 [pid 5316] <... close resumed>) = 0 [pid 5315] <... chdir resumed>) = 0 [pid 5317] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5316] close(4 [pid 5315] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5314] <... truncate resumed>) = 0 [pid 5317] <... openat resumed>) = 4 [pid 5317] ioctl(4, LOOP_SET_FD, 3 [pid 5316] <... close resumed>) = 0 [pid 5315] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5314] memfd_create("syzkaller", 0 [pid 5316] mkdir("./file1", 0777 [pid 5314] <... memfd_create resumed>) = 4 [pid 5316] <... mkdir resumed>) = 0 [pid 5315] truncate("./file1", 0 [pid 5314] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5317] <... ioctl resumed>) = 0 [pid 5316] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5314] <... mmap resumed>) = 0x7f8438200000 [pid 5100] <... ioctl resumed>) = 0 [pid 5315] <... truncate resumed>) = 0 [pid 5317] close(3 [pid 5315] memfd_create("syzkaller", 0 [pid 5314] 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 5315] <... memfd_create resumed>) = 4 [pid 5317] <... close resumed>) = 0 [pid 5315] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5317] close(4) = 0 [pid 5315] <... mmap resumed>) = 0x7f8438200000 [ 133.069399][ T5316] loop2: detected capacity change from 0 to 1024 [ 133.106939][ T5317] loop1: detected capacity change from 0 to 1024 [pid 5317] mkdir("./file1", 0777) = 0 [pid 5103] close(3) = 0 [pid 5317] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5100] close(3) = 0 [pid 5315] 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] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5318 attached [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5318 [pid 5318] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5316] <... mount resumed>) = 0 [pid 5318] chdir("./34" [pid 5317] <... mount resumed>) = 0 [pid 5316] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5318] <... chdir resumed>) = 0 [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5319 ./strace-static-x86_64: Process 5319 attached [pid 5318] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5319] set_robust_list(0x55556fbaa660, 24 [pid 5318] <... prctl resumed>) = 0 [pid 5319] <... set_robust_list resumed>) = 0 [pid 5318] setpgid(0, 0 [pid 5319] chdir("./33" [pid 5318] <... setpgid resumed>) = 0 [pid 5317] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5316] <... openat resumed>) = 3 [pid 5319] <... chdir resumed>) = 0 [pid 5318] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5317] <... openat resumed>) = 3 [pid 5319] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5318] <... openat resumed>) = 3 [pid 5317] chdir("./file1" [pid 5316] chdir("./file1" [pid 5314] <... write resumed>) = 524288 [pid 5319] <... prctl resumed>) = 0 [pid 5317] <... chdir resumed>) = 0 [pid 5316] <... chdir resumed>) = 0 [pid 5319] setpgid(0, 0 [pid 5318] write(3, "1000", 4 [pid 5317] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5319] <... setpgid resumed>) = 0 [pid 5318] <... write resumed>) = 4 [pid 5317] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5319] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5318] close(3) = 0 [pid 5318] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5319] <... openat resumed>) = 3 executing program [pid 5319] write(3, "1000", 4 [pid 5318] write(1, "executing program\n", 18 [pid 5317] truncate("./file1", 0 [pid 5319] <... write resumed>) = 4 [pid 5318] <... write resumed>) = 18 [pid 5319] close(3 [pid 5318] memfd_create("syzkaller", 0 [pid 5319] <... close resumed>) = 0 [pid 5318] <... memfd_create resumed>) = 3 [pid 5319] symlink("/dev/binderfs", "./binderfs" [pid 5318] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5319] <... symlink resumed>) = 0 [pid 5318] <... mmap resumed>) = 0x7f8438200000 executing program [pid 5319] write(1, "executing program\n", 18) = 18 [pid 5319] memfd_create("syzkaller", 0 [pid 5318] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5316] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5314] munmap(0x7f8438200000, 138412032 [pid 5319] <... memfd_create resumed>) = 3 [pid 5319] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5315] <... write resumed>) = 524288 [pid 5319] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5316] truncate("./file1", 0 [pid 5314] <... munmap resumed>) = 0 [pid 5317] <... truncate resumed>) = 0 [pid 5317] memfd_create("syzkaller", 0) = 4 [pid 5317] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5317] 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 5314] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5316] <... truncate resumed>) = 0 [pid 5318] <... write resumed>) = 524288 [pid 5315] munmap(0x7f8438200000, 138412032 [pid 5316] memfd_create("syzkaller", 0 [pid 5314] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5316] <... memfd_create resumed>) = 4 [pid 5314] close(4 [pid 5318] munmap(0x7f8438200000, 138412032 [pid 5316] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5318] <... munmap resumed>) = 0 [pid 5315] <... munmap resumed>) = 0 [pid 5316] <... mmap resumed>) = 0x7f8438200000 [pid 5318] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5315] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5318] <... openat resumed>) = 4 [pid 5318] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5317] <... write resumed>) = 524288 [pid 5315] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5314] <... close resumed>) = 0 [pid 5319] <... write resumed>) = 524288 [pid 5319] munmap(0x7f8438200000, 138412032 [pid 5316] 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 5319] <... munmap resumed>) = 0 [pid 5315] close(4 [pid 5317] munmap(0x7f8438200000, 138412032 [pid 5319] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5317] <... munmap resumed>) = 0 [pid 5319] <... openat resumed>) = 4 [pid 5314] exit_group(0) = ? [pid 5319] ioctl(4, LOOP_SET_FD, 3 [pid 5315] <... close resumed>) = 0 [pid 5317] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5317] close(4 [pid 5316] <... write resumed>) = 524288 [pid 5318] close(3 [pid 5314] +++ exited with 0 +++ [pid 5318] <... close resumed>) = 0 [pid 5318] close(4 [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5314, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5318] <... close resumed>) = 0 [pid 5318] mkdir("./file1", 0777) = 0 [pid 5315] exit_group(0 [pid 5318] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5316] munmap(0x7f8438200000, 138412032 [pid 5315] <... exit_group resumed>) = ? [pid 5101] umount2("./34", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5319] <... ioctl resumed>) = 0 [pid 5319] close(3 [pid 5316] <... munmap resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 133.293114][ T5318] loop5: detected capacity change from 0 to 1024 [ 133.323470][ T5319] loop3: detected capacity change from 0 to 1024 [pid 5319] <... close resumed>) = 0 [pid 5101] openat(AT_FDCWD, "./34", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5319] close(4) = 0 [pid 5316] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5315] +++ exited with 0 +++ [pid 5101] <... openat resumed>) = 3 [pid 5101] newfstatat(3, "", [pid 5319] mkdir("./file1", 0777 [pid 5317] <... close resumed>) = 0 [pid 5316] <... 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 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5315, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5316] close(4 [pid 5101] getdents64(3, [pid 5319] <... mkdir resumed>) = 0 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5101] umount2("./34/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5317] exit_group(0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] newfstatat(AT_FDCWD, "./34/binderfs", [pid 5319] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5317] <... exit_group resumed>) = ? [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] unlink("./34/binderfs") = 0 [pid 5097] umount2("./35", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] umount2("./34/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] openat(AT_FDCWD, "./35", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5097] newfstatat(3, "", [pid 5317] +++ exited with 0 +++ [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5318] <... mount resumed>) = 0 [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5317, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5318] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5097] getdents64(3, [pid 5318] <... openat resumed>) = 3 [pid 5316] <... close resumed>) = 0 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5318] chdir("./file1" [pid 5098] umount2("./35", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] umount2("./35/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5318] <... chdir resumed>) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5318] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5098] openat(AT_FDCWD, "./35", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] newfstatat(AT_FDCWD, "./35/binderfs", [pid 5318] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5316] exit_group(0 [pid 5098] <... openat resumed>) = 3 [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5318] truncate("./file1", 0 [pid 5098] newfstatat(3, "", [pid 5319] <... mount resumed>) = 0 [pid 5316] <... exit_group resumed>) = ? [pid 5101] <... umount2 resumed>) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] unlink("./35/binderfs" [pid 5316] +++ exited with 0 +++ [pid 5101] umount2("./34/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] getdents64(3, [pid 5319] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5101] newfstatat(AT_FDCWD, "./34/file1", [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5316, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5097] <... unlink resumed>) = 0 [pid 5319] <... openat resumed>) = 3 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5319] chdir("./file1" [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] restart_syscall(<... resuming interrupted clone ...> [pid 5098] umount2("./35/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] umount2("./35/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5319] <... chdir resumed>) = 0 [pid 5101] umount2("./34/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... restart_syscall resumed>) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5319] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5318] <... truncate resumed>) = 0 [pid 5098] newfstatat(AT_FDCWD, "./35/binderfs", [pid 5319] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5318] memfd_create("syzkaller", 0 [pid 5319] truncate("./file1", 0 [pid 5318] <... memfd_create resumed>) = 4 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5318] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] openat(AT_FDCWD, "./34/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] umount2("./35", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] unlink("./35/binderfs" [pid 5318] <... mmap resumed>) = 0x7f8438200000 [pid 5101] <... openat resumed>) = 4 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... unlink resumed>) = 0 [pid 5101] newfstatat(4, "", [pid 5099] openat(AT_FDCWD, "./35", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5319] <... truncate resumed>) = 0 [pid 5318] 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 5099] <... openat resumed>) = 3 [pid 5098] umount2("./35/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5319] memfd_create("syzkaller", 0) = 4 [pid 5319] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5101] getdents64(4, [pid 5099] newfstatat(3, "", [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] getdents64(4, [pid 5099] getdents64(3, [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5097] <... umount2 resumed>) = 0 [pid 5319] 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] close(4 [pid 5099] umount2("./35/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] <... close resumed>) = 0 [pid 5101] rmdir("./34/file1" [pid 5099] newfstatat(AT_FDCWD, "./35/binderfs", [pid 5097] umount2("./35/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... rmdir resumed>) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] unlink("./35/binderfs" [pid 5101] getdents64(3, [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... unlink resumed>) = 0 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] newfstatat(AT_FDCWD, "./35/file1", [pid 5101] close(3 [pid 5099] umount2("./35/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... close resumed>) = 0 [pid 5098] <... umount2 resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] rmdir("./34" [pid 5097] umount2("./35/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5318] <... write resumed>) = 524288 [pid 5101] <... rmdir resumed>) = 0 [pid 5098] umount2("./35/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] mkdir("./35", 0777 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] openat(AT_FDCWD, "./35/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] newfstatat(AT_FDCWD, "./35/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] <... openat resumed>) = 4 [pid 5097] newfstatat(4, "", [pid 5098] umount2("./35/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./35/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] newfstatat(4, "", [pid 5318] munmap(0x7f8438200000, 138412032 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] <... mkdir resumed>) = 0 [pid 5097] getdents64(4, [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5098] getdents64(4, [pid 5319] <... write resumed>) = 524288 [pid 5101] <... openat resumed>) = 3 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5318] <... munmap resumed>) = 0 [pid 5318] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5098] getdents64(4, [pid 5097] getdents64(4, [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5318] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5098] close(4 [pid 5099] <... umount2 resumed>) = 0 [pid 5318] close(4 [pid 5098] <... close resumed>) = 0 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] umount2("./35/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] close(4 [pid 5319] munmap(0x7f8438200000, 138412032) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] rmdir("./35/file1" [pid 5097] <... close resumed>) = 0 [pid 5099] newfstatat(AT_FDCWD, "./35/file1", [pid 5318] <... close resumed>) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] <... rmdir resumed>) = 0 [pid 5097] rmdir("./35/file1" [pid 5319] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5098] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] close(3) = 0 [pid 5098] rmdir("./35") = 0 [pid 5319] close(4) = 0 [pid 5099] umount2("./35/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... rmdir resumed>) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] getdents64(3, [pid 5099] openat(AT_FDCWD, "./35/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5099] <... openat resumed>) = 4 [pid 5098] mkdir("./36", 0777 [pid 5097] close(3 [pid 5099] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] <... mkdir resumed>) = 0 [pid 5097] <... close resumed>) = 0 [pid 5099] getdents64(4, [pid 5097] rmdir("./35" [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5318] exit_group(0) = ? [pid 5101] <... ioctl resumed>) = 0 [pid 5099] getdents64(4, [pid 5097] <... rmdir resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] mkdir("./36", 0777 [pid 5318] +++ exited with 0 +++ [pid 5099] close(4 [pid 5097] <... mkdir resumed>) = 0 [pid 5319] exit_group(0 [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5318, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5319] <... exit_group resumed>) = ? [pid 5103] umount2("./34", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] close(3 [pid 5099] <... close resumed>) = 0 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5101] <... close resumed>) = 0 [pid 5319] +++ exited with 0 +++ [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5099] rmdir("./35/file1" [pid 5098] <... ioctl resumed>) = 0 [pid 5097] <... openat resumed>) = 3 [pid 5103] openat(AT_FDCWD, "./34", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5319, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5099] <... rmdir resumed>) = 0 [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5103] newfstatat(3, "", [pid 5100] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5320 [pid 5103] getdents64(3, [pid 5100] umount2("./33", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5100] openat(AT_FDCWD, "./33", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 ./strace-static-x86_64: Process 5320 attached [pid 5320] set_robust_list(0x55556fbaa660, 24 [pid 5103] umount2("./34/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... openat resumed>) = 3 [pid 5320] <... set_robust_list resumed>) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] newfstatat(3, "", [pid 5103] newfstatat(AT_FDCWD, "./34/binderfs", [pid 5099] getdents64(3, [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5320] chdir("./35" [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] getdents64(3, [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5103] unlink("./34/binderfs" [pid 5320] <... chdir resumed>) = 0 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] close(3 [pid 5103] <... unlink resumed>) = 0 [pid 5100] umount2("./33/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5320] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5103] umount2("./34/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... close resumed>) = 0 [pid 5320] <... prctl resumed>) = 0 [pid 5320] setpgid(0, 0 [pid 5100] newfstatat(AT_FDCWD, "./33/binderfs", [pid 5099] rmdir("./35" [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5320] <... setpgid resumed>) = 0 [pid 5098] close(3 [pid 5100] unlink("./33/binderfs" [pid 5099] <... rmdir resumed>) = 0 [pid 5320] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5098] <... close resumed>) = 0 [pid 5100] <... unlink resumed>) = 0 [pid 5099] mkdir("./36", 0777 [pid 5100] umount2("./33/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5320] <... openat resumed>) = 3 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5320] write(3, "1000", 4 [pid 5099] <... mkdir resumed>) = 0 [pid 5320] <... write resumed>) = 4 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5321 [pid 5320] close(3) = 0 [pid 5320] symlink("/dev/binderfs", "./binderfs") = 0 executing program ./strace-static-x86_64: Process 5321 attached [pid 5321] set_robust_list(0x55556fbaa660, 24 [pid 5320] write(1, "executing program\n", 18 [pid 5321] <... set_robust_list resumed>) = 0 [pid 5320] <... write resumed>) = 18 [pid 5321] chdir("./36" [pid 5320] memfd_create("syzkaller", 0 [pid 5321] <... chdir resumed>) = 0 [pid 5320] <... memfd_create resumed>) = 3 [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5321] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5320] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5321] <... prctl resumed>) = 0 [pid 5320] <... mmap resumed>) = 0x7f8438200000 [pid 5321] setpgid(0, 0) = 0 [pid 5320] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5099] <... openat resumed>) = 3 [pid 5321] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5321] <... openat resumed>) = 3 [pid 5321] write(3, "1000", 4) = 4 [pid 5321] close(3) = 0 [pid 5321] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5321] write(1, "executing program\n", 18) = 18 [pid 5321] memfd_create("syzkaller", 0 [pid 5320] <... write resumed>) = 524288 [pid 5321] <... memfd_create resumed>) = 3 [pid 5321] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5103] <... umount2 resumed>) = 0 [pid 5097] close(3) = 0 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5103] umount2("./34/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5321] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5320] munmap(0x7f8438200000, 138412032 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] <... umount2 resumed>) = 0 [pid 5321] <... write resumed>) = 524288 [pid 5320] <... munmap resumed>) = 0 [pid 5103] newfstatat(AT_FDCWD, "./34/file1", ./strace-static-x86_64: Process 5322 attached {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5322 [pid 5322] set_robust_list(0x55556fbaa660, 24 [pid 5103] umount2("./34/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5322] <... set_robust_list resumed>) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5322] chdir("./36" [pid 5103] openat(AT_FDCWD, "./34/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5320] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5322] <... chdir resumed>) = 0 [pid 5320] ioctl(4, LOOP_SET_FD, 3 [pid 5103] <... openat resumed>) = 4 [pid 5100] umount2("./33/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5322] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5103] newfstatat(4, "", [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... ioctl resumed>) = 0 [pid 5322] <... prctl resumed>) = 0 [pid 5100] newfstatat(AT_FDCWD, "./33/file1", [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5322] setpgid(0, 0 [pid 5103] getdents64(4, [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] close(3 [pid 5322] <... setpgid resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5100] umount2("./33/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... close resumed>) = 0 [pid 5322] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5103] getdents64(4, [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] openat(AT_FDCWD, "./33/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5321] munmap(0x7f8438200000, 138412032) = 0 [pid 5103] close(4 [pid 5100] <... openat resumed>) = 4 [pid 5103] <... close resumed>) = 0 [pid 5100] newfstatat(4, "", [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5323 [pid 5103] rmdir("./34/file1" [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5321] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5103] <... rmdir resumed>) = 0 [pid 5100] getdents64(4, ./strace-static-x86_64: Process 5323 attached [pid 5322] <... openat resumed>) = 3 [pid 5321] <... openat resumed>) = 4 [pid 5103] getdents64(3, [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5100] getdents64(4, [pid 5320] <... ioctl resumed>) = 0 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] close(4) = 0 [pid 5320] close(3 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] rmdir("./33/file1" [pid 5103] close(3 [pid 5320] <... close resumed>) = 0 [pid 5320] close(4 [pid 5103] <... close resumed>) = 0 [pid 5321] ioctl(4, LOOP_SET_FD, 3 [pid 5320] <... close resumed>) = 0 [pid 5103] rmdir("./34" [pid 5322] write(3, "1000", 4 [pid 5321] <... ioctl resumed>) = 0 [pid 5320] mkdir("./file1", 0777 [pid 5103] <... rmdir resumed>) = 0 [pid 5323] set_robust_list(0x55556fbaa660, 24 [pid 5322] <... write resumed>) = 4 [pid 5320] <... mkdir resumed>) = 0 [pid 5103] mkdir("./35", 0777 [pid 5100] <... rmdir resumed>) = 0 [pid 5323] <... set_robust_list resumed>) = 0 [pid 5322] close(3) = 0 [pid 5323] chdir("./36" [pid 5322] symlink("/dev/binderfs", "./binderfs" [pid 5321] close(3 [pid 5320] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5103] <... mkdir resumed>) = 0 [pid 5100] getdents64(3, [pid 5323] <... chdir resumed>) = 0 [pid 5322] <... symlink resumed>) = 0 [pid 5321] <... close resumed>) = 0 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5323] prctl(PR_SET_PDEATHSIG, SIGKILLexecuting program [pid 5322] write(1, "executing program\n", 18 [pid 5321] close(4 [pid 5103] <... openat resumed>) = 3 [pid 5100] close(3 [pid 5323] <... prctl resumed>) = 0 [pid 5322] <... write resumed>) = 18 [pid 5321] <... close resumed>) = 0 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5100] <... close resumed>) = 0 [pid 5323] setpgid(0, 0 [pid 5322] memfd_create("syzkaller", 0 [pid 5321] mkdir("./file1", 0777 [pid 5100] rmdir("./33" [pid 5323] <... setpgid resumed>) = 0 [pid 5322] <... memfd_create resumed>) = 3 [pid 5321] <... mkdir resumed>) = 0 [pid 5100] <... rmdir resumed>) = 0 [pid 5323] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5322] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] mkdir("./34", 0777 [pid 5323] <... openat resumed>) = 3 [pid 5323] write(3, "1000", 4 [pid 5322] <... mmap resumed>) = 0x7f8438200000 [pid 5320] <... mount resumed>) = 0 [pid 5100] <... mkdir resumed>) = 0 [pid 5323] <... write resumed>) = 4 [pid 5322] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5321] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5320] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5323] close(3 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [ 133.718417][ T5320] loop4: detected capacity change from 0 to 1024 [ 133.754948][ T5321] loop1: detected capacity change from 0 to 1024 [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5320] <... openat resumed>) = 3 [pid 5320] chdir("./file1") = 0 [pid 5323] <... close resumed>) = 0 [pid 5320] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5323] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5320] <... openat resumed>) = -1 EBUSY (Device or resource busy) executing program [pid 5323] write(1, "executing program\n", 18 [pid 5320] truncate("./file1", 0 [pid 5323] <... write resumed>) = 18 [pid 5323] memfd_create("syzkaller", 0) = 3 [pid 5323] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5323] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5320] <... truncate resumed>) = 0 [pid 5322] <... write resumed>) = 524288 [pid 5322] munmap(0x7f8438200000, 138412032) = 0 [pid 5320] memfd_create("syzkaller", 0 [pid 5322] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5320] <... memfd_create resumed>) = 4 [pid 5322] <... openat resumed>) = 4 [pid 5322] ioctl(4, LOOP_SET_FD, 3 [pid 5320] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] <... ioctl resumed>) = 0 [pid 5320] <... mmap resumed>) = 0x7f8438200000 [pid 5103] close(3 [pid 5321] <... mount resumed>) = 0 [pid 5320] 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] <... close resumed>) = 0 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5322] <... ioctl resumed>) = 0 [pid 5321] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5322] close(3 [pid 5321] chdir("./file1" [pid 5322] <... close resumed>) = 0 [pid 5321] <... chdir resumed>) = 0 [pid 5322] close(4 [pid 5321] openat(AT_FDCWD, "/dev/loop1", O_RDWR./strace-static-x86_64: Process 5324 attached [pid 5322] <... close resumed>) = 0 [pid 5321] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5324 [pid 5322] mkdir("./file1", 0777 [pid 5321] truncate("./file1", 0 [pid 5322] <... mkdir resumed>) = 0 [pid 5100] <... ioctl resumed>) = 0 [pid 5324] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5324] chdir("./35" [pid 5322] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5324] <... chdir resumed>) = 0 [pid 5321] <... truncate resumed>) = 0 [ 133.843634][ T5322] loop0: detected capacity change from 0 to 1024 [pid 5324] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5321] memfd_create("syzkaller", 0) = 4 [pid 5324] <... prctl resumed>) = 0 [pid 5321] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] close(3 [pid 5324] setpgid(0, 0 [pid 5321] <... mmap resumed>) = 0x7f8438200000 [pid 5320] <... write resumed>) = 524288 [pid 5100] <... close resumed>) = 0 [pid 5324] <... setpgid resumed>) = 0 [pid 5320] munmap(0x7f8438200000, 138412032 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5324] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5320] <... munmap resumed>) = 0 [pid 5324] <... openat resumed>) = 3 [pid 5324] write(3, "1000", 4 [pid 5323] <... write resumed>) = 524288 [pid 5321] 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 5320] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5324] <... write resumed>) = 4 [pid 5320] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5324] close(3 [pid 5320] close(4./strace-static-x86_64: Process 5325 attached [pid 5324] <... close resumed>) = 0 [pid 5323] munmap(0x7f8438200000, 138412032 [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5325 [pid 5323] <... munmap resumed>) = 0 [pid 5325] set_robust_list(0x55556fbaa660, 24 [pid 5324] symlink("/dev/binderfs", "./binderfs" [pid 5320] <... close resumed>) = 0 [pid 5323] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5322] <... mount resumed>) = 0 [pid 5325] <... set_robust_list resumed>) = 0 [pid 5324] <... symlink resumed>) = 0 [pid 5323] <... openat resumed>) = 4 [pid 5322] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5325] chdir("./34" [pid 5322] <... openat resumed>) = 3 [pid 5324] write(1, "executing program\n", 18 [pid 5325] <... chdir resumed>) = 0 [pid 5320] exit_group(0executing program [pid 5323] ioctl(4, LOOP_SET_FD, 3 [pid 5322] chdir("./file1" [pid 5324] <... write resumed>) = 18 [pid 5320] <... exit_group resumed>) = ? [pid 5325] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5324] memfd_create("syzkaller", 0 [pid 5322] <... chdir resumed>) = 0 [pid 5320] +++ exited with 0 +++ [pid 5322] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5320, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5322] truncate("./file1", 0 [pid 5324] <... memfd_create resumed>) = 3 [pid 5325] <... prctl resumed>) = 0 [pid 5325] setpgid(0, 0 [pid 5324] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5321] <... write resumed>) = 524288 [pid 5101] umount2("./35", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5321] munmap(0x7f8438200000, 138412032 [pid 5325] <... setpgid resumed>) = 0 [pid 5324] <... mmap resumed>) = 0x7f8438200000 [pid 5321] <... munmap resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5325] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5101] openat(AT_FDCWD, "./35", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5321] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5323] <... ioctl resumed>) = 0 [pid 5321] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5323] close(3 [pid 5321] close(4 [pid 5325] <... openat resumed>) = 3 [pid 5324] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 resumed>) = 3 [pid 5325] write(3, "1000", 4 [pid 5322] <... truncate resumed>) = 0 [pid 5101] newfstatat(3, "", [pid 5322] memfd_create("syzkaller", 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5325] <... write resumed>) = 4 [pid 5322] <... memfd_create resumed>) = 4 [pid 5325] close(3 [pid 5323] <... close resumed>) = 0 [pid 5322] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] getdents64(3, [pid 5323] close(4 [pid 5322] <... mmap resumed>) = 0x7f8438200000 [pid 5325] <... close resumed>) = 0 [pid 5323] <... close resumed>) = 0 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5325] symlink("/dev/binderfs", "./binderfs" [pid 5101] umount2("./35/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5325] <... symlink resumed>) = 0 [pid 5323] mkdir("./file1", 0777executing program [pid 5322] 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 5325] write(1, "executing program\n", 18 [pid 5323] <... mkdir resumed>) = 0 [pid 5101] newfstatat(AT_FDCWD, "./35/binderfs", [ 133.966599][ T5323] loop2: detected capacity change from 0 to 1024 [pid 5323] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5325] <... write resumed>) = 18 [pid 5322] <... write resumed>) = 524288 [pid 5321] <... close resumed>) = 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] unlink("./35/binderfs" [pid 5325] memfd_create("syzkaller", 0 [pid 5101] <... unlink resumed>) = 0 [pid 5101] umount2("./35/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5321] exit_group(0 [pid 5325] <... memfd_create resumed>) = 3 [pid 5322] munmap(0x7f8438200000, 138412032 [pid 5321] <... exit_group resumed>) = ? [pid 5325] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] <... umount2 resumed>) = 0 [pid 5325] <... mmap resumed>) = 0x7f8438200000 [pid 5322] <... munmap resumed>) = 0 [pid 5321] +++ exited with 0 +++ [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5321, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5322] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5322] close(4 [pid 5098] umount2("./36", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5323] <... mount resumed>) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5323] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5098] openat(AT_FDCWD, "./36", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5323] <... openat resumed>) = 3 [pid 5323] chdir("./file1" [pid 5101] umount2("./35/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... openat resumed>) = 3 [pid 5323] <... chdir resumed>) = 0 [pid 5098] newfstatat(3, "", [pid 5323] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5323] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] newfstatat(AT_FDCWD, "./35/file1", [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5323] truncate("./file1", 0 [pid 5324] <... write resumed>) = 524288 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] getdents64(3, [pid 5325] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5324] munmap(0x7f8438200000, 138412032 [pid 5323] <... truncate resumed>) = 0 [pid 5322] <... close resumed>) = 0 [pid 5101] umount2("./35/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5325] <... write resumed>) = 524288 [pid 5324] <... munmap resumed>) = 0 [pid 5325] munmap(0x7f8438200000, 138412032 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] umount2("./36/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] openat(AT_FDCWD, "./35/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5324] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5323] memfd_create("syzkaller", 0 [pid 5101] <... openat resumed>) = 4 [pid 5098] newfstatat(AT_FDCWD, "./36/binderfs", [pid 5101] newfstatat(4, "", [pid 5324] <... openat resumed>) = 4 [pid 5323] <... memfd_create resumed>) = 4 [pid 5322] exit_group(0 [pid 5101] <... 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 5322] <... exit_group resumed>) = ? [pid 5101] getdents64(4, [pid 5325] <... munmap resumed>) = 0 [pid 5322] +++ exited with 0 +++ [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] unlink("./36/binderfs" [pid 5324] ioctl(4, LOOP_SET_FD, 3 [pid 5323] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5325] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5323] <... mmap resumed>) = 0x7f8438200000 [pid 5101] getdents64(4, [pid 5098] <... unlink resumed>) = 0 [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5322, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] umount2("./36/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] close(4 [pid 5097] umount2("./36", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... close resumed>) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] rmdir("./35/file1") = 0 [pid 5097] openat(AT_FDCWD, "./36", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] <... openat resumed>) = 3 [pid 5325] <... openat resumed>) = 4 [pid 5101] close(3 [pid 5097] newfstatat(3, "", [pid 5101] <... close resumed>) = 0 [pid 5325] ioctl(4, LOOP_SET_FD, 3 [pid 5101] rmdir("./35" [pid 5098] <... umount2 resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5323] 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 5097] getdents64(3, [pid 5098] umount2("./36/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./36/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] umount2("./36/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5101] mkdir("./36", 0777 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./36/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5324] <... ioctl resumed>) = 0 [pid 5098] <... openat resumed>) = 4 [pid 5324] close(3 [pid 5098] newfstatat(4, "", [pid 5324] <... close resumed>) = 0 [pid 5101] <... mkdir resumed>) = 0 [pid 5097] umount2("./36/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5324] close(4) = 0 [pid 5101] <... openat resumed>) = 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 5324] mkdir("./file1", 0777 [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5097] newfstatat(AT_FDCWD, "./36/binderfs", [pid 5324] <... mkdir resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] unlink("./36/binderfs" [pid 5098] getdents64(4, [pid 5324] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5097] <... unlink resumed>) = 0 [pid 5097] umount2("./36/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5324] <... mount resumed>) = 0 [pid 5324] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5325] <... ioctl resumed>) = 0 [pid 5324] <... openat resumed>) = 3 [pid 5324] chdir("./file1" [pid 5098] close(4 [pid 5325] close(3 [pid 5324] <... chdir resumed>) = 0 [pid 5323] <... write resumed>) = 524288 [pid 5098] <... close resumed>) = 0 [pid 5325] <... close resumed>) = 0 [pid 5324] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5325] close(4 [pid 5324] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5098] rmdir("./36/file1" [pid 5325] <... close resumed>) = 0 [pid 5324] truncate("./file1", 0 [pid 5323] munmap(0x7f8438200000, 138412032 [pid 5098] <... rmdir resumed>) = 0 [pid 5325] mkdir("./file1", 0777) = 0 [pid 5324] <... truncate resumed>) = 0 [pid 5323] <... munmap resumed>) = 0 [pid 5098] getdents64(3, [pid 5324] memfd_create("syzkaller", 0) = 4 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] close(3) = 0 [pid 5324] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5098] rmdir("./36" [pid 5325] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5098] <... rmdir resumed>) = 0 [pid 5097] <... umount2 resumed>) = 0 [pid 5324] <... mmap resumed>) = 0x7f8438200000 [pid 5324] 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 5323] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5098] mkdir("./37", 0777 [pid 5323] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5098] <... mkdir resumed>) = 0 [pid 5097] umount2("./36/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5323] close(4 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5097] newfstatat(AT_FDCWD, "./36/file1", [pid 5098] <... openat resumed>) = 3 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 134.109462][ T5324] loop5: detected capacity change from 0 to 1024 [ 134.129279][ T5325] loop3: detected capacity change from 0 to 1024 [pid 5097] umount2("./36/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5324] <... write resumed>) = 524288 [pid 5097] openat(AT_FDCWD, "./36/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5323] <... close resumed>) = 0 [pid 5097] <... openat resumed>) = 4 [pid 5097] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] <... ioctl resumed>) = 0 [pid 5097] getdents64(4, [pid 5323] exit_group(0 [pid 5325] <... mount resumed>) = 0 [pid 5324] munmap(0x7f8438200000, 138412032 [pid 5101] close(3 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5101] <... close resumed>) = 0 [pid 5325] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5324] <... munmap resumed>) = 0 [pid 5323] <... exit_group resumed>) = ? [pid 5323] +++ exited with 0 +++ [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5323, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5324] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5325] chdir("./file1" [pid 5099] umount2("./36", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] close(4 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "./36", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5099] newfstatat(3, "", [pid 5324] <... 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 5324] close(4 [pid 5099] getdents64(3, [pid 5325] <... chdir resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5097] <... close resumed>) = 0 [pid 5325] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5326 [pid 5097] rmdir("./36/file1" [pid 5325] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] umount2("./36/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 5326 attached ) = -1 EINVAL (Invalid argument) [pid 5326] set_robust_list(0x55556fbaa660, 24 [pid 5325] truncate("./file1", 0 [pid 5097] <... rmdir resumed>) = 0 [pid 5326] <... set_robust_list resumed>) = 0 [pid 5324] <... close resumed>) = 0 [pid 5099] newfstatat(AT_FDCWD, "./36/binderfs", [pid 5326] chdir("./36" [pid 5325] <... truncate resumed>) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] <... ioctl resumed>) = 0 [pid 5097] getdents64(3, [pid 5325] memfd_create("syzkaller", 0 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5325] <... memfd_create resumed>) = 4 [pid 5099] unlink("./36/binderfs" [pid 5097] close(3 [pid 5326] <... chdir resumed>) = 0 [pid 5099] <... unlink resumed>) = 0 [pid 5097] <... close resumed>) = 0 [pid 5326] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5325] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5099] umount2("./36/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] rmdir("./36" [pid 5325] <... mmap resumed>) = 0x7f8438200000 [pid 5326] <... prctl resumed>) = 0 [pid 5324] exit_group(0 [pid 5326] setpgid(0, 0 [pid 5324] <... exit_group resumed>) = ? [pid 5326] <... setpgid resumed>) = 0 [pid 5325] 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 5324] +++ exited with 0 +++ [pid 5326] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5324, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5097] <... rmdir resumed>) = 0 [pid 5326] <... openat resumed>) = 3 [pid 5326] write(3, "1000", 4 [pid 5097] mkdir("./37", 0777 [pid 5103] umount2("./35", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5326] <... write resumed>) = 4 [pid 5098] close(3 [pid 5326] close(3 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5326] <... close resumed>) = 0 [pid 5326] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5103] openat(AT_FDCWD, "./35", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] <... close resumed>) = 0 [pid 5097] <... mkdir resumed>) = 0 [pid 5103] <... openat resumed>) = 3 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5103] newfstatat(3, "", [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5326] write(1, "executing program\n", 18 [pid 5325] <... write resumed>) = 524288 [pid 5103] getdents64(3, executing program [pid 5097] <... openat resumed>) = 3 [pid 5326] <... write resumed>) = 18 [pid 5326] memfd_create("syzkaller", 0) = 3 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5326] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5327 [pid 5326] <... mmap resumed>) = 0x7f8438200000 [pid 5103] umount2("./35/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 5327 attached [pid 5326] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... umount2 resumed>) = 0 [pid 5099] umount2("./36/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] newfstatat(AT_FDCWD, "./36/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] umount2("./36/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "./36/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 5099] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5099] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5103] newfstatat(AT_FDCWD, "./35/binderfs", [pid 5327] set_robust_list(0x55556fbaa660, 24 [pid 5099] close(4) = 0 [pid 5099] rmdir("./36/file1" [pid 5327] <... set_robust_list resumed>) = 0 [pid 5325] munmap(0x7f8438200000, 138412032 [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] <... rmdir resumed>) = 0 [pid 5099] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5099] close(3 [pid 5325] <... munmap resumed>) = 0 [pid 5103] unlink("./35/binderfs" [pid 5099] <... close resumed>) = 0 [pid 5327] chdir("./37" [pid 5099] rmdir("./36" [pid 5103] <... unlink resumed>) = 0 [pid 5103] umount2("./35/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5327] <... chdir resumed>) = 0 [pid 5099] <... rmdir resumed>) = 0 [pid 5099] mkdir("./37", 0777 [pid 5327] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5325] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5327] <... prctl resumed>) = 0 [pid 5327] setpgid(0, 0 [pid 5326] <... write resumed>) = 524288 [pid 5325] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] <... mkdir resumed>) = 0 [pid 5327] <... setpgid resumed>) = 0 [pid 5325] close(4 [pid 5327] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5103] <... umount2 resumed>) = 0 [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5327] <... openat resumed>) = 3 [pid 5099] <... openat resumed>) = 3 [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5326] munmap(0x7f8438200000, 138412032 [pid 5327] write(3, "1000", 4 [pid 5325] <... close resumed>) = 0 [pid 5103] umount2("./35/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... ioctl resumed>) = 0 [pid 5325] exit_group(0 [pid 5327] <... write resumed>) = 4 [pid 5326] <... munmap resumed>) = 0 [pid 5325] <... exit_group resumed>) = ? [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] close(3 [pid 5327] close(3 [pid 5103] newfstatat(AT_FDCWD, "./35/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5327] <... close resumed>) = 0 [pid 5325] +++ exited with 0 +++ [pid 5097] <... close resumed>) = 0 [pid 5327] symlink("/dev/binderfs", "./binderfs" [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5326] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5103] umount2("./35/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5325, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5327] <... symlink resumed>) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5326] <... openat resumed>) = 4 [pid 5103] openat(AT_FDCWD, "./35/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5326] ioctl(4, LOOP_SET_FD, 3executing program ./strace-static-x86_64: Process 5328 attached [pid 5327] write(1, "executing program\n", 18 [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5328 [pid 5327] <... write resumed>) = 18 [pid 5327] memfd_create("syzkaller", 0 [pid 5103] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] umount2("./34", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5328] set_robust_list(0x55556fbaa660, 24 [pid 5103] getdents64(4, [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... ioctl resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5100] openat(AT_FDCWD, "./34", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5100] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] getdents64(4, [pid 5100] getdents64(3, [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5327] <... memfd_create resumed>) = 3 [pid 5103] close(4 [pid 5327] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5328] <... set_robust_list resumed>) = 0 [pid 5103] <... close resumed>) = 0 [pid 5100] umount2("./34/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5328] chdir("./37" [pid 5327] <... mmap resumed>) = 0x7f8438200000 [pid 5103] rmdir("./35/file1" [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] <... rmdir resumed>) = 0 [pid 5100] newfstatat(AT_FDCWD, "./34/binderfs", [pid 5103] getdents64(3, [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] unlink("./34/binderfs" [pid 5103] close(3 [pid 5100] <... unlink resumed>) = 0 [pid 5103] <... close resumed>) = 0 [pid 5100] umount2("./34/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5327] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5326] <... ioctl resumed>) = 0 [pid 5103] rmdir("./35" [pid 5328] <... chdir resumed>) = 0 [pid 5326] close(3 [pid 5103] <... rmdir resumed>) = 0 [pid 5328] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5326] <... close resumed>) = 0 [pid 5328] <... prctl resumed>) = 0 [pid 5326] close(4) = 0 [pid 5103] mkdir("./36", 0777 [pid 5328] setpgid(0, 0 [pid 5326] mkdir("./file1", 0777 [pid 5103] <... mkdir resumed>) = 0 [pid 5099] close(3 [pid 5328] <... setpgid resumed>) = 0 [pid 5326] <... mkdir resumed>) = 0 [pid 5100] <... umount2 resumed>) = 0 [pid 5099] <... close resumed>) = 0 [ 134.356213][ T5326] loop4: detected capacity change from 0 to 1024 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5328] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5100] umount2("./34/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5100] newfstatat(AT_FDCWD, "./34/file1", [pid 5103] <... ioctl resumed>) = 0 [pid 5326] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] close(3 [pid 5100] umount2("./34/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] <... close resumed>) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5100] openat(AT_FDCWD, "./34/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 ./strace-static-x86_64: Process 5330 attached [pid 5328] write(3, "1000", 4 [pid 5100] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5330 [pid 5328] <... write resumed>) = 4 [pid 5327] <... write resumed>) = 524288 [pid 5330] set_robust_list(0x55556fbaa660, 24 [pid 5328] close(3 [pid 5327] munmap(0x7f8438200000, 138412032 [pid 5328] <... close resumed>) = 0 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5329 [pid 5100] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5327] <... munmap resumed>) = 0 [pid 5328] symlink("/dev/binderfs", "./binderfs" [pid 5330] <... set_robust_list resumed>) = 0 [pid 5100] getdents64(4, [pid 5330] chdir("./37" [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5330] <... chdir resumed>) = 0 [pid 5100] close(4) = 0 [pid 5100] rmdir("./34/file1"executing program executing program [pid 5330] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5328] <... symlink resumed>) = 0 [pid 5327] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5100] <... rmdir resumed>) = 0 [pid 5100] getdents64(3, [pid 5328] write(1, "executing program\n", 18) = 18 [pid 5327] <... openat resumed>) = 4 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] close(3./strace-static-x86_64: Process 5329 attached [pid 5330] <... prctl resumed>) = 0 [pid 5328] memfd_create("syzkaller", 0 [pid 5327] ioctl(4, LOOP_SET_FD, 3 [pid 5100] <... close resumed>) = 0 [pid 5330] setpgid(0, 0 [pid 5328] <... memfd_create resumed>) = 3 [pid 5100] rmdir("./34" [pid 5330] <... setpgid resumed>) = 0 [pid 5100] <... rmdir resumed>) = 0 [pid 5330] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5100] mkdir("./35", 0777 [pid 5330] <... openat resumed>) = 3 [pid 5330] write(3, "1000", 4 [pid 5100] <... mkdir resumed>) = 0 [pid 5330] <... write resumed>) = 4 [pid 5330] close(3 [pid 5328] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5329] set_robust_list(0x55556fbaa660, 24 [pid 5330] <... close resumed>) = 0 [pid 5328] <... mmap resumed>) = 0x7f8438200000 [pid 5326] <... mount resumed>) = 0 [pid 5330] symlink("/dev/binderfs", "./binderfs" [pid 5326] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5330] <... symlink resumed>) = 0 [pid 5326] <... openat resumed>) = 3 [pid 5100] <... openat resumed>) = 3 [pid 5330] write(1, "executing program\n", 18 [pid 5326] chdir("./file1" [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5329] <... set_robust_list resumed>) = 0 [pid 5330] <... write resumed>) = 18 [pid 5330] memfd_create("syzkaller", 0 [pid 5328] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5329] chdir("./36" [pid 5330] <... memfd_create resumed>) = 3 [pid 5330] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] close(3 [pid 5329] <... chdir resumed>) = 0 [pid 5330] <... mmap resumed>) = 0x7f8438200000 [pid 5100] <... close resumed>) = 0 [pid 5330] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5326] <... chdir resumed>) = 0 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5329] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5329] setpgid(0, 0 [pid 5326] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5330] <... write resumed>) = 524288 [pid 5326] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5329] <... setpgid resumed>) = 0 [pid 5327] <... ioctl resumed>) = 0 [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5331 ./strace-static-x86_64: Process 5331 attached [pid 5327] close(3 [pid 5326] truncate("./file1", 0 [pid 5329] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5331] set_robust_list(0x55556fbaa660, 24 [pid 5327] <... close resumed>) = 0 [pid 5331] <... set_robust_list resumed>) = 0 [pid 5327] close(4 [pid 5331] chdir("./35" [pid 5327] <... close resumed>) = 0 [pid 5331] <... chdir resumed>) = 0 [pid 5327] mkdir("./file1", 0777 [pid 5331] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [ 134.465584][ T5327] loop1: detected capacity change from 0 to 1024 [pid 5331] setpgid(0, 0 [pid 5329] <... openat resumed>) = 3 [pid 5327] <... mkdir resumed>) = 0 [pid 5326] <... truncate resumed>) = 0 [pid 5331] <... setpgid resumed>) = 0 [pid 5326] memfd_create("syzkaller", 0 [pid 5331] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5329] write(3, "1000", 4 [pid 5326] <... memfd_create resumed>) = 4 [pid 5331] <... openat resumed>) = 3 [pid 5329] <... write resumed>) = 4 [pid 5326] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5331] write(3, "1000", 4 [pid 5329] close(3 [pid 5327] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5331] <... write resumed>) = 4 [pid 5329] <... close resumed>) = 0 [pid 5326] <... mmap resumed>) = 0x7f8438200000 [pid 5331] close(3 [pid 5329] symlink("/dev/binderfs", "./binderfs" [pid 5328] <... write resumed>) = 524288 [pid 5326] 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 5331] <... close resumed>) = 0 [pid 5329] <... symlink resumed>) = 0 [pid 5330] munmap(0x7f8438200000, 138412032 executing program [pid 5328] munmap(0x7f8438200000, 138412032 [pid 5329] write(1, "executing program\n", 18 [pid 5331] symlink("/dev/binderfs", "./binderfs" [pid 5329] <... write resumed>) = 18 [pid 5328] <... munmap resumed>) = 0 [pid 5331] <... symlink resumed>) = 0 [pid 5329] memfd_create("syzkaller", 0 [pid 5328] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5327] <... mount resumed>) = 0 [pid 5329] <... memfd_create resumed>) = 3 [pid 5328] <... openat resumed>) = 4 [pid 5329] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 executing program [pid 5331] write(1, "executing program\n", 18 [pid 5329] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5327] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5330] <... munmap resumed>) = 0 [pid 5327] <... openat resumed>) = 3 [pid 5331] <... write resumed>) = 18 [pid 5327] chdir("./file1") = 0 [pid 5330] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5328] ioctl(4, LOOP_SET_FD, 3 [pid 5327] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5331] memfd_create("syzkaller", 0 [pid 5327] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5331] <... memfd_create resumed>) = 3 [pid 5327] truncate("./file1", 0 [pid 5331] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5330] <... openat resumed>) = 4 [pid 5330] ioctl(4, LOOP_SET_FD, 3 [pid 5327] <... truncate resumed>) = 0 [pid 5327] memfd_create("syzkaller", 0) = 4 [pid 5331] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5327] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5326] <... write resumed>) = 524288 [pid 5327] <... mmap resumed>) = 0x7f8438200000 [pid 5330] <... ioctl resumed>) = 0 [pid 5329] <... write resumed>) = 524288 [pid 5327] 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 5329] munmap(0x7f8438200000, 138412032 [pid 5328] <... ioctl resumed>) = 0 [pid 5328] close(3 [pid 5326] munmap(0x7f8438200000, 138412032 [pid 5329] <... munmap resumed>) = 0 [pid 5328] <... close resumed>) = 0 [pid 5326] <... munmap resumed>) = 0 [pid 5328] close(4) = 0 [pid 5330] close(3 [pid 5328] mkdir("./file1", 0777 [pid 5330] <... close resumed>) = 0 [pid 5331] <... write resumed>) = 524288 [pid 5329] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5330] close(4 [pid 5328] <... mkdir resumed>) = 0 [pid 5326] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5330] <... close resumed>) = 0 [pid 5329] <... openat resumed>) = 4 [pid 5329] ioctl(4, LOOP_SET_FD, 3 [pid 5330] mkdir("./file1", 0777 [ 134.585074][ T5328] loop0: detected capacity change from 0 to 1024 [ 134.594608][ T5330] loop2: detected capacity change from 0 to 1024 [pid 5326] close(4 [pid 5330] <... mkdir resumed>) = 0 [pid 5326] <... close resumed>) = 0 [pid 5328] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5331] munmap(0x7f8438200000, 138412032) = 0 [pid 5331] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5331] ioctl(4, LOOP_SET_FD, 3 [pid 5330] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5329] <... ioctl resumed>) = 0 [pid 5329] close(3) = 0 [pid 5327] <... write resumed>) = 524288 [pid 5329] close(4 [pid 5327] munmap(0x7f8438200000, 138412032 [pid 5329] <... close resumed>) = 0 [pid 5327] <... munmap resumed>) = 0 [pid 5326] exit_group(0 [pid 5329] mkdir("./file1", 0777 [pid 5326] <... exit_group resumed>) = ? [ 134.644210][ T5329] loop5: detected capacity change from 0 to 1024 [ 134.659885][ T5331] loop3: detected capacity change from 0 to 1024 [pid 5329] <... mkdir resumed>) = 0 [pid 5326] +++ exited with 0 +++ [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5326, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5331] <... ioctl resumed>) = 0 [pid 5329] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5328] <... mount resumed>) = 0 [pid 5331] close(3) = 0 [pid 5331] close(4) = 0 [pid 5101] umount2("./36", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5331] mkdir("./file1", 0777 [pid 5327] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5331] <... mkdir resumed>) = 0 [pid 5328] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5331] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5328] <... openat resumed>) = 3 [pid 5327] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] openat(AT_FDCWD, "./36", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5101] newfstatat(3, "", [pid 5330] <... mount resumed>) = 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5330] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5328] chdir("./file1" [pid 5327] close(4 [pid 5101] getdents64(3, [pid 5329] <... mount resumed>) = 0 [pid 5330] <... openat resumed>) = 3 [pid 5328] <... chdir resumed>) = 0 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5329] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5330] chdir("./file1" [pid 5328] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5330] <... chdir resumed>) = 0 [pid 5329] <... openat resumed>) = 3 [pid 5330] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5328] truncate("./file1", 0 [pid 5101] umount2("./36/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5330] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] newfstatat(AT_FDCWD, "./36/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] unlink("./36/binderfs" [pid 5331] <... mount resumed>) = 0 [pid 5329] chdir("./file1" [pid 5330] truncate("./file1", 0 [pid 5101] <... unlink resumed>) = 0 [pid 5329] <... chdir resumed>) = 0 [pid 5329] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5101] umount2("./36/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5329] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5329] truncate("./file1", 0 [pid 5331] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5327] <... close resumed>) = 0 [pid 5331] <... openat resumed>) = 3 [pid 5331] chdir("./file1" [pid 5328] <... truncate resumed>) = 0 [pid 5328] memfd_create("syzkaller", 0 [pid 5331] <... chdir resumed>) = 0 [pid 5331] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5330] <... truncate resumed>) = 0 [pid 5328] <... memfd_create resumed>) = 4 [pid 5331] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5329] <... truncate resumed>) = 0 [pid 5330] memfd_create("syzkaller", 0 [pid 5328] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5327] exit_group(0 [pid 5101] <... umount2 resumed>) = 0 [pid 5330] <... memfd_create resumed>) = 4 [pid 5330] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5328] <... mmap resumed>) = 0x7f8438200000 [pid 5327] <... exit_group resumed>) = ? [pid 5329] memfd_create("syzkaller", 0 [pid 5330] <... mmap resumed>) = 0x7f8438200000 [pid 5327] +++ exited with 0 +++ [pid 5331] truncate("./file1", 0 [pid 5329] <... memfd_create resumed>) = 4 [pid 5328] 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=5327, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5329] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5330] 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("./36/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5329] <... mmap resumed>) = 0x7f8438200000 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] newfstatat(AT_FDCWD, "./36/file1", [pid 5098] umount2("./37", 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 5101] umount2("./36/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] openat(AT_FDCWD, "./37", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... openat resumed>) = 3 [pid 5101] openat(AT_FDCWD, "./36/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] newfstatat(3, "", [pid 5329] 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 resumed>) = 4 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] newfstatat(4, "", [pid 5098] getdents64(3, [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5101] getdents64(4, [pid 5098] umount2("./37/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] getdents64(4, [pid 5098] newfstatat(AT_FDCWD, "./37/binderfs", [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5331] <... truncate resumed>) = 0 [pid 5101] close(4 [pid 5098] unlink("./37/binderfs" [pid 5331] memfd_create("syzkaller", 0 [pid 5101] <... close resumed>) = 0 [pid 5098] <... unlink resumed>) = 0 [pid 5331] <... memfd_create resumed>) = 4 [pid 5101] rmdir("./36/file1" [pid 5331] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] <... rmdir resumed>) = 0 [pid 5098] umount2("./37/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5331] <... mmap resumed>) = 0x7f8438200000 [pid 5101] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5331] 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] close(3) = 0 [pid 5101] rmdir("./36") = 0 [pid 5101] mkdir("./37", 0777) = 0 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5098] <... umount2 resumed>) = 0 [pid 5101] <... openat resumed>) = 3 [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5330] <... write resumed>) = 524288 [pid 5098] umount2("./37/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./37/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] umount2("./37/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./37/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 5331] <... write resumed>) = 524288 [pid 5329] <... write resumed>) = 524288 [pid 5330] munmap(0x7f8438200000, 138412032 [pid 5328] <... write resumed>) = 524288 [pid 5098] getdents64(4, [pid 5328] munmap(0x7f8438200000, 138412032 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] getdents64(4, [pid 5330] <... munmap resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] close(4) = 0 [pid 5098] rmdir("./37/file1" [pid 5329] munmap(0x7f8438200000, 138412032 [pid 5328] <... munmap resumed>) = 0 [pid 5098] <... rmdir resumed>) = 0 [pid 5098] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5329] <... munmap resumed>) = 0 [pid 5328] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5098] close(3) = 0 [pid 5328] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5330] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5098] rmdir("./37" [pid 5328] close(4 [pid 5331] munmap(0x7f8438200000, 138412032 [pid 5329] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5330] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5098] <... rmdir resumed>) = 0 [pid 5331] <... munmap resumed>) = 0 [pid 5329] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5330] close(4 [pid 5098] mkdir("./38", 0777 [pid 5331] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5329] close(4 [pid 5330] <... close resumed>) = 0 [pid 5101] <... ioctl resumed>) = 0 [pid 5098] <... mkdir resumed>) = 0 [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5098] ioctl(3, LOOP_CLR_FD) = 0 [pid 5098] close(3) = 0 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5331] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5331] close(4 [pid 5328] <... close resumed>) = 0 [pid 5101] close(3) = 0 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5328] exit_group(0) = ? [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5332 [pid 5329] <... close resumed>) = 0 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5333 ./strace-static-x86_64: Process 5332 attached [pid 5331] <... close resumed>) = 0 [pid 5329] exit_group(0 [pid 5330] exit_group(0 [pid 5328] +++ exited with 0 +++ ./strace-static-x86_64: Process 5333 attached [pid 5331] exit_group(0 [pid 5329] <... exit_group resumed>) = ? [pid 5330] <... exit_group resumed>) = ? [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5328, si_uid=0, si_status=0, si_utime=0, si_stime=8 /* 0.08 s */} --- [pid 5333] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5333] chdir("./38" [pid 5097] umount2("./37", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5333] <... chdir resumed>) = 0 [pid 5333] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5329] +++ exited with 0 +++ [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5333] <... prctl resumed>) = 0 [pid 5097] openat(AT_FDCWD, "./37", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5333] setpgid(0, 0 [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5329, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5097] <... openat resumed>) = 3 [pid 5332] set_robust_list(0x55556fbaa660, 24 [pid 5333] <... setpgid resumed>) = 0 [pid 5103] umount2("./36", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5332] <... set_robust_list resumed>) = 0 [pid 5333] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(3, "", [pid 5332] chdir("./37" [pid 5333] <... openat resumed>) = 3 [pid 5331] <... exit_group resumed>) = ? [pid 5330] +++ exited with 0 +++ [pid 5103] openat(AT_FDCWD, "./36", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5332] <... chdir resumed>) = 0 [pid 5103] <... openat resumed>) = 3 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5332] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5333] write(3, "1000", 4 [pid 5103] newfstatat(3, "", [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5330, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5332] <... prctl resumed>) = 0 [pid 5333] <... write resumed>) = 4 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] umount2("./37", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] getdents64(3, [pid 5332] setpgid(0, 0 [pid 5333] close(3 [pid 5331] +++ exited with 0 +++ [pid 5103] getdents64(3, [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5332] <... setpgid resumed>) = 0 [pid 5333] <... close resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] openat(AT_FDCWD, "./37", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5332] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5333] symlink("/dev/binderfs", "./binderfs" [pid 5103] umount2("./36/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5331, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5097] umount2("./37/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5332] <... openat resumed>) = 3 [pid 5333] <... symlink resumed>) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] umount2("./35", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... openat resumed>) = 3 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5332] write(3, "1000", 4 [pid 5103] newfstatat(AT_FDCWD, "./36/binderfs", [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] newfstatat(3, "", [pid 5332] <... write resumed>) = 4 [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] openat(AT_FDCWD, "./35", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] newfstatat(AT_FDCWD, "./37/binderfs", [pid 5332] close(3 [pid 5103] unlink("./36/binderfs"executing program [pid 5100] <... openat resumed>) = 3 [pid 5099] getdents64(3, [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5332] <... close resumed>) = 0 [pid 5333] write(1, "executing program\n", 18 [pid 5103] <... unlink resumed>) = 0 [pid 5100] newfstatat(3, "", [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5332] symlink("/dev/binderfs", "./binderfs" [pid 5333] <... write resumed>) = 18 [pid 5103] umount2("./36/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] umount2("./37/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] unlink("./37/binderfs" [pid 5332] <... symlink resumed>) = 0 [pid 5333] memfd_create("syzkaller", 0 [pid 5100] getdents64(3, [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... unlink resumed>) = 0 executing program [pid 5332] write(1, "executing program\n", 18 [pid 5333] <... memfd_create resumed>) = 3 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] newfstatat(AT_FDCWD, "./37/binderfs", [pid 5097] umount2("./37/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5332] <... write resumed>) = 18 [pid 5332] memfd_create("syzkaller", 0 [pid 5100] umount2("./35/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5333] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] unlink("./37/binderfs" [pid 5333] <... mmap resumed>) = 0x7f8438200000 [pid 5100] newfstatat(AT_FDCWD, "./35/binderfs", [pid 5099] <... unlink resumed>) = 0 [pid 5332] <... memfd_create resumed>) = 3 [pid 5333] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] umount2("./37/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5332] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5100] unlink("./35/binderfs") = 0 [pid 5100] umount2("./35/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5332] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 resumed>) = 0 [pid 5097] <... umount2 resumed>) = 0 [pid 5097] umount2("./37/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(AT_FDCWD, "./37/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] umount2("./36/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... umount2 resumed>) = 0 [pid 5099] <... umount2 resumed>) = 0 [pid 5097] umount2("./37/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5333] <... write resumed>) = 524288 [pid 5332] <... write resumed>) = 524288 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] umount2("./35/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] umount2("./37/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] openat(AT_FDCWD, "./37/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5332] munmap(0x7f8438200000, 138412032 [pid 5097] newfstatat(4, "", [pid 5332] <... munmap resumed>) = 0 [pid 5103] newfstatat(AT_FDCWD, "./36/file1", [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... 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 5100] newfstatat(AT_FDCWD, "./35/file1", [pid 5099] newfstatat(AT_FDCWD, "./37/file1", [pid 5097] getdents64(4, [pid 5103] umount2("./36/file1", MNT_FORCE|UMOUNT_NOFOLLOW [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] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5333] munmap(0x7f8438200000, 138412032 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] umount2("./35/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] umount2("./37/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] getdents64(4, [pid 5332] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5333] <... munmap resumed>) = 0 [pid 5103] openat(AT_FDCWD, "./36/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 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5103] <... openat resumed>) = 4 [pid 5100] openat(AT_FDCWD, "./35/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] openat(AT_FDCWD, "./37/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] close(4 [pid 5332] <... openat resumed>) = 4 [pid 5333] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5103] newfstatat(4, "", [pid 5099] <... openat resumed>) = 4 [pid 5097] <... close resumed>) = 0 [pid 5332] ioctl(4, LOOP_SET_FD, 3 [pid 5333] <... openat resumed>) = 4 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] <... openat resumed>) = 4 [pid 5099] newfstatat(4, "", [pid 5097] rmdir("./37/file1" [pid 5332] <... ioctl resumed>) = 0 [pid 5333] ioctl(4, LOOP_SET_FD, 3 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] <... rmdir resumed>) = 0 [pid 5099] getdents64(4, [pid 5097] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] close(3) = 0 [pid 5097] rmdir("./37" [pid 5103] getdents64(4, [pid 5100] newfstatat(4, "", [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] <... rmdir resumed>) = 0 [pid 5099] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] mkdir("./38", 0777 [pid 5099] close(4 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5103] getdents64(4, [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] <... close resumed>) = 0 [pid 5097] <... mkdir resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] getdents64(4, [pid 5099] rmdir("./37/file1" [pid 5103] close(4) = 0 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5099] <... rmdir resumed>) = 0 [pid 5103] rmdir("./36/file1" [pid 5099] getdents64(3, [pid 5100] getdents64(4, [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5103] <... rmdir resumed>) = 0 [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5103] getdents64(3, [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] close(4 [pid 5099] close(3 [pid 5103] close(3 [pid 5100] <... close resumed>) = 0 [pid 5332] close(3 [pid 5099] <... close resumed>) = 0 [pid 5332] <... close resumed>) = 0 [pid 5103] <... close resumed>) = 0 [pid 5100] rmdir("./35/file1" [pid 5099] rmdir("./37" [pid 5103] rmdir("./36" [pid 5332] close(4) = 0 [pid 5332] mkdir("./file1", 0777 [pid 5100] <... rmdir resumed>) = 0 [pid 5332] <... mkdir resumed>) = 0 [pid 5099] <... rmdir resumed>) = 0 [pid 5103] <... rmdir resumed>) = 0 [pid 5099] mkdir("./38", 0777 [pid 5332] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5099] <... mkdir resumed>) = 0 [pid 5332] <... mount resumed>) = 0 [pid 5332] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5103] mkdir("./37", 0777 [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5100] getdents64(3, [pid 5332] chdir("./file1") = 0 [pid 5332] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5333] <... ioctl resumed>) = 0 [pid 5332] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5333] close(3 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5099] <... openat resumed>) = 3 [pid 5332] truncate("./file1", 0 [pid 5333] <... close resumed>) = 0 [pid 5333] close(4 [pid 5103] <... mkdir resumed>) = 0 [pid 5100] close(3 [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5333] <... close resumed>) = 0 [pid 5333] mkdir("./file1", 0777 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5100] <... close resumed>) = 0 [pid 5332] <... truncate resumed>) = 0 [pid 5333] <... mkdir resumed>) = 0 [pid 5103] <... openat resumed>) = 3 [pid 5100] rmdir("./35" [pid 5332] memfd_create("syzkaller", 0 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5332] <... memfd_create resumed>) = 4 [pid 5100] <... rmdir resumed>) = 0 [ 135.093271][ T5332] loop4: detected capacity change from 0 to 1024 [ 135.108124][ T5333] loop1: detected capacity change from 0 to 1024 [pid 5332] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5333] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5100] mkdir("./36", 0777) = 0 [pid 5332] <... mmap resumed>) = 0x7f8438200000 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5332] 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 5333] <... mount resumed>) = 0 [pid 5099] <... ioctl resumed>) = 0 [pid 5097] <... ioctl resumed>) = 0 [pid 5103] <... ioctl resumed>) = 0 [pid 5097] close(3) = 0 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5333] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5099] close(3 [pid 5333] <... openat resumed>) = 3 [pid 5333] chdir("./file1") = 0 [pid 5333] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5099] <... close resumed>) = 0 [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5335 ./strace-static-x86_64: Process 5335 attached [pid 5332] <... write resumed>) = 524288 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5335] set_robust_list(0x55556fbaa660, 24 [pid 5333] truncate("./file1", 0 [pid 5335] <... set_robust_list resumed>) = 0 [pid 5335] chdir("./38") = 0 [pid 5335] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5335] setpgid(0, 0) = 0 [pid 5335] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5103] close(3 [pid 5335] <... openat resumed>) = 3 [pid 5103] <... close resumed>) = 0 ./strace-static-x86_64: Process 5336 attached [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5335] write(3, "1000", 4) = 4 [pid 5335] close(3 [pid 5332] munmap(0x7f8438200000, 138412032 [pid 5335] <... close resumed>) = 0 [pid 5332] <... munmap resumed>) = 0 [pid 5333] <... truncate resumed>) = 0 [pid 5335] symlink("/dev/binderfs", "./binderfs" [pid 5333] memfd_create("syzkaller", 0 [pid 5335] <... symlink resumed>) = 0 [pid 5333] <... memfd_create resumed>) = 4 [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5336 [pid 5336] set_robust_list(0x55556fbaa660, 24 [pid 5333] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5332] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5337 executing program [pid 5335] write(1, "executing program\n", 18 [pid 5332] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5335] <... write resumed>) = 18 [pid 5332] close(4 [pid 5336] <... set_robust_list resumed>) = 0 ./strace-static-x86_64: Process 5337 attached [pid 5336] chdir("./38" [pid 5335] memfd_create("syzkaller", 0 [pid 5332] <... close resumed>) = 0 [pid 5333] <... mmap resumed>) = 0x7f8438200000 [pid 5337] set_robust_list(0x55556fbaa660, 24 [pid 5336] <... chdir resumed>) = 0 [pid 5337] <... set_robust_list resumed>) = 0 [pid 5336] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5335] <... memfd_create resumed>) = 3 [pid 5333] 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 5335] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] close(3 [pid 5335] <... mmap resumed>) = 0x7f8438200000 [pid 5100] <... close resumed>) = 0 [pid 5337] chdir("./37" [pid 5336] <... prctl resumed>) = 0 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5337] <... chdir resumed>) = 0 [pid 5336] setpgid(0, 0 [pid 5337] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5336] <... setpgid resumed>) = 0 [pid 5336] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5335] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5338 [pid 5337] <... prctl resumed>) = 0 [pid 5336] write(3, "1000", 4./strace-static-x86_64: Process 5338 attached [pid 5337] setpgid(0, 0 [pid 5336] <... write resumed>) = 4 [pid 5337] <... setpgid resumed>) = 0 [pid 5336] close(3) = 0 [pid 5338] set_robust_list(0x55556fbaa660, 24 [pid 5337] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5336] symlink("/dev/binderfs", "./binderfs" [pid 5332] exit_group(0 [pid 5338] <... set_robust_list resumed>) = 0 [pid 5332] <... exit_group resumed>) = ? [pid 5337] <... openat resumed>) = 3 [pid 5336] <... symlink resumed>) = 0 [pid 5337] write(3, "1000", 4 [pid 5338] chdir("./36") = 0 [pid 5333] <... write resumed>) = 524288 executing program [pid 5338] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5332] +++ exited with 0 +++ [pid 5337] <... write resumed>) = 4 [pid 5336] write(1, "executing program\n", 18) = 18 [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5332, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5337] close(3) = 0 [pid 5337] symlink("/dev/binderfs", "./binderfs" [pid 5336] memfd_create("syzkaller", 0 [pid 5338] <... prctl resumed>) = 0 [pid 5333] munmap(0x7f8438200000, 138412032 [pid 5101] umount2("./37", MNT_FORCE|UMOUNT_NOFOLLOWexecuting program [pid 5338] setpgid(0, 0 [pid 5336] <... memfd_create resumed>) = 3 [pid 5333] <... munmap resumed>) = 0 [pid 5337] <... symlink resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5338] <... setpgid resumed>) = 0 [pid 5101] openat(AT_FDCWD, "./37", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5337] write(1, "executing program\n", 18 [pid 5336] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5338] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5337] <... write resumed>) = 18 [pid 5335] <... write resumed>) = 524288 [pid 5333] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5101] <... openat resumed>) = 3 [pid 5101] newfstatat(3, "", [pid 5337] memfd_create("syzkaller", 0 [pid 5336] <... mmap resumed>) = 0x7f8438200000 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] getdents64(3, [pid 5333] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5338] <... openat resumed>) = 3 [pid 5335] munmap(0x7f8438200000, 138412032 [pid 5333] close(4 [pid 5101] umount2("./37/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5337] <... memfd_create resumed>) = 3 [pid 5336] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5338] write(3, "1000", 4 [pid 5337] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5335] <... munmap resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] newfstatat(AT_FDCWD, "./37/binderfs", [pid 5337] <... mmap resumed>) = 0x7f8438200000 [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5338] <... write resumed>) = 4 [pid 5101] unlink("./37/binderfs" [pid 5338] close(3 [pid 5101] <... unlink resumed>) = 0 [pid 5338] <... close resumed>) = 0 [pid 5335] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5101] umount2("./37/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5337] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5338] symlink("/dev/binderfs", "./binderfs" [pid 5335] <... openat resumed>) = 4 executing program [pid 5338] <... symlink resumed>) = 0 [pid 5335] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5338] write(1, "executing program\n", 18) = 18 [pid 5333] <... close resumed>) = 0 [pid 5338] memfd_create("syzkaller", 0 [pid 5333] exit_group(0 [pid 5338] <... memfd_create resumed>) = 3 [pid 5333] <... exit_group resumed>) = ? [pid 5338] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5338] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5333] +++ exited with 0 +++ [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5333, si_uid=0, si_status=0, si_utime=0, si_stime=10 /* 0.10 s */} --- [pid 5098] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5335] close(3) = 0 [pid 5335] close(4 [pid 5098] umount2("./38", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5335] <... close resumed>) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5335] mkdir("./file1", 0777 [pid 5098] openat(AT_FDCWD, "./38", 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("./38/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... umount2 resumed>) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5338] <... write resumed>) = 524288 [pid 5335] <... mkdir resumed>) = 0 [pid 5098] newfstatat(AT_FDCWD, "./38/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] unlink("./38/binderfs") = 0 [pid 5338] munmap(0x7f8438200000, 138412032 [pid 5337] <... write resumed>) = 524288 [pid 5336] <... write resumed>) = 524288 [ 135.333043][ T5335] loop0: detected capacity change from 0 to 1024 [pid 5335] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5101] umount2("./37/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] umount2("./38/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5338] <... munmap resumed>) = 0 [pid 5336] munmap(0x7f8438200000, 138412032 [pid 5335] <... mount resumed>) = 0 [pid 5338] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5337] munmap(0x7f8438200000, 138412032 [pid 5335] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... umount2 resumed>) = 0 [pid 5335] <... openat resumed>) = 3 [pid 5335] chdir("./file1") = 0 [pid 5335] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5337] <... munmap resumed>) = 0 [pid 5101] newfstatat(AT_FDCWD, "./37/file1", [pid 5336] <... munmap resumed>) = 0 [pid 5338] <... openat resumed>) = 4 [pid 5335] truncate("./file1", 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5337] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5336] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5098] umount2("./38/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5338] ioctl(4, LOOP_SET_FD, 3 [pid 5101] umount2("./37/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5337] <... openat resumed>) = 4 [pid 5337] ioctl(4, LOOP_SET_FD, 3 [pid 5336] <... openat resumed>) = 4 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] openat(AT_FDCWD, "./37/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5098] newfstatat(AT_FDCWD, "./38/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] umount2("./38/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./38/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 5338] <... ioctl resumed>) = 0 [pid 5336] ioctl(4, LOOP_SET_FD, 3 [pid 5101] newfstatat(4, "", [pid 5098] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] close(4 [pid 5335] <... truncate resumed>) = 0 [pid 5098] <... close resumed>) = 0 [pid 5098] rmdir("./38/file1") = 0 [pid 5098] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5338] close(3 [pid 5337] <... ioctl resumed>) = 0 [pid 5336] <... ioctl resumed>) = 0 [pid 5335] memfd_create("syzkaller", 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] close(3 [pid 5338] <... close resumed>) = 0 [pid 5336] close(3 [pid 5098] <... close resumed>) = 0 [pid 5098] rmdir("./38" [pid 5338] close(4 [pid 5337] close(3 [pid 5336] <... close resumed>) = 0 [pid 5101] getdents64(4, [pid 5098] <... rmdir resumed>) = 0 [pid 5338] <... close resumed>) = 0 [pid 5337] <... close resumed>) = 0 [pid 5335] <... memfd_create resumed>) = 4 [pid 5335] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5098] mkdir("./39", 0777 [pid 5338] mkdir("./file1", 0777 [pid 5337] close(4 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5337] <... close resumed>) = 0 [pid 5338] <... mkdir resumed>) = 0 [pid 5337] mkdir("./file1", 0777 [pid 5336] close(4 [pid 5335] <... mmap resumed>) = 0x7f8438200000 [pid 5101] getdents64(4, [pid 5098] <... mkdir resumed>) = 0 [pid 5338] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5337] <... mkdir resumed>) = 0 [pid 5336] <... close resumed>) = 0 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5337] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5336] mkdir("./file1", 0777 [pid 5101] close(4) = 0 [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5336] <... mkdir resumed>) = 0 [pid 5101] rmdir("./37/file1" [pid 5336] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5101] <... rmdir resumed>) = 0 [pid 5098] <... openat resumed>) = 3 [pid 5101] getdents64(3, [pid 5335] 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] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5101] close(3) = 0 [ 135.412644][ T5338] loop3: detected capacity change from 0 to 1024 [ 135.413184][ T5337] loop5: detected capacity change from 0 to 1024 [ 135.432888][ T5336] loop2: detected capacity change from 0 to 1024 [pid 5101] rmdir("./37" [pid 5098] ioctl(3, LOOP_CLR_FD) = 0 [pid 5098] close(3 [pid 5101] <... rmdir resumed>) = 0 [pid 5098] <... close resumed>) = 0 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55556fbaa650) = 5339 ./strace-static-x86_64: Process 5339 attached [pid 5335] <... write resumed>) = 524288 [pid 5101] mkdir("./38", 0777 [pid 5339] set_robust_list(0x55556fbaa660, 24 [pid 5101] <... mkdir resumed>) = 0 [pid 5339] <... set_robust_list resumed>) = 0 [pid 5339] chdir("./39") = 0 [pid 5339] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5339] setpgid(0, 0) = 0 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5339] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5335] munmap(0x7f8438200000, 138412032 [pid 5101] <... openat resumed>) = 3 [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5339] <... openat resumed>) = 3 [pid 5337] <... mount resumed>) = 0 [pid 5338] <... mount resumed>) = 0 [pid 5335] <... munmap resumed>) = 0 [pid 5339] write(3, "1000", 4) = 4 [pid 5339] close(3 [pid 5336] <... mount resumed>) = 0 [pid 5339] <... close resumed>) = 0 [pid 5339] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 5338] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5337] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5336] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5335] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5339] write(1, "executing program\n", 18 [pid 5335] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5339] <... write resumed>) = 18 [pid 5337] <... openat resumed>) = 3 [pid 5336] <... openat resumed>) = 3 [pid 5335] close(4 [pid 5338] <... openat resumed>) = 3 [pid 5337] chdir("./file1" [pid 5336] chdir("./file1" [pid 5335] <... close resumed>) = 0 [pid 5339] memfd_create("syzkaller", 0 [pid 5338] chdir("./file1" [pid 5337] <... chdir resumed>) = 0 [pid 5336] <... chdir resumed>) = 0 [pid 5337] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5336] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5337] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5338] <... chdir resumed>) = 0 [pid 5337] truncate("./file1", 0 [pid 5336] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5339] <... memfd_create resumed>) = 3 [pid 5338] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5336] truncate("./file1", 0 [pid 5339] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5338] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5339] <... mmap resumed>) = 0x7f8438200000 [pid 5339] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5337] <... truncate resumed>) = 0 [pid 5338] truncate("./file1", 0 [pid 5335] exit_group(0) = ? [pid 5335] +++ exited with 0 +++ [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5335, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5097] umount2("./38", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] openat(AT_FDCWD, "./38", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5337] memfd_create("syzkaller", 0 [pid 5101] <... ioctl resumed>) = 0 [pid 5337] <... memfd_create resumed>) = 4 [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("./38/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5337] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5336] <... truncate resumed>) = 0 [pid 5101] close(3 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5338] <... truncate resumed>) = 0 [pid 5337] <... mmap resumed>) = 0x7f8438200000 [pid 5336] memfd_create("syzkaller", 0 [pid 5101] <... close resumed>) = 0 [pid 5338] memfd_create("syzkaller", 0 [pid 5337] 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 5336] <... memfd_create resumed>) = 4 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5097] newfstatat(AT_FDCWD, "./38/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] unlink("./38/binderfs") = 0 ./strace-static-x86_64: Process 5340 attached [pid 5339] <... write resumed>) = 524288 [pid 5338] <... memfd_create resumed>) = 4 [pid 5336] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5340 [pid 5097] umount2("./38/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5336] <... mmap resumed>) = 0x7f8438200000 [pid 5338] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5340] set_robust_list(0x55556fbaa660, 24 [pid 5338] <... mmap resumed>) = 0x7f8438200000 [pid 5338] 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 5339] munmap(0x7f8438200000, 138412032 [pid 5340] <... set_robust_list resumed>) = 0 [pid 5339] <... munmap resumed>) = 0 [pid 5340] chdir("./38" [pid 5336] 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 5340] <... chdir resumed>) = 0 [pid 5340] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5339] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 5340] <... prctl resumed>) = 0 [pid 5339] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5340] setpgid(0, 0 [pid 5339] ioctl(4, LOOP_CLR_FD [pid 5340] <... setpgid resumed>) = 0 [pid 5338] <... write resumed>) = 524288 [pid 5337] <... write resumed>) = 524288 [pid 5340] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5097] <... umount2 resumed>) = 0 [pid 5097] umount2("./38/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(AT_FDCWD, "./38/file1", [pid 5340] <... openat resumed>) = 3 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] umount2("./38/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] openat(AT_FDCWD, "./38/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 5097] close(4) = 0 [pid 5097] rmdir("./38/file1") = 0 [pid 5097] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] close(3 [pid 5336] <... write resumed>) = 524288 [pid 5097] <... close resumed>) = 0 [pid 5340] write(3, "1000", 4) = 4 [pid 5340] close(3) = 0 [pid 5097] rmdir("./38" [pid 5340] symlink("/dev/binderfs", "./binderfs" [pid 5097] <... rmdir resumed>) = 0 executing program [pid 5340] <... symlink resumed>) = 0 [pid 5339] <... ioctl resumed>) = 0 [pid 5338] munmap(0x7f8438200000, 138412032 [pid 5337] munmap(0x7f8438200000, 138412032 [pid 5336] munmap(0x7f8438200000, 138412032 [pid 5340] write(1, "executing program\n", 18) = 18 [pid 5338] <... munmap resumed>) = 0 [pid 5337] <... munmap resumed>) = 0 [pid 5336] <... munmap resumed>) = 0 [pid 5340] memfd_create("syzkaller", 0 [pid 5338] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5337] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5336] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5097] mkdir("./39", 0777 [pid 5338] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5337] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5336] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] <... mkdir resumed>) = 0 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5338] close(4 [pid 5337] close(4 [pid 5339] ioctl(4, LOOP_SET_FD, 3 [pid 5340] <... memfd_create resumed>) = 3 [pid 5338] <... close resumed>) = 0 [pid 5336] close(4 [pid 5340] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5336] <... close resumed>) = 0 [pid 5340] <... mmap resumed>) = 0x7f8438200000 [pid 5339] <... ioctl resumed>) = 0 [pid 5339] close(3) = 0 [pid 5339] close(4) = 0 [pid 5339] mkdir("./file1", 0777) = 0 [pid 5337] <... close resumed>) = 0 [pid 5340] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5339] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5338] exit_group(0 [pid 5337] exit_group(0 [pid 5097] <... ioctl resumed>) = 0 [pid 5338] <... exit_group resumed>) = ? [pid 5336] exit_group(0) = ? [ 135.743162][ T5339] loop1: detected capacity change from 0 to 1024 [pid 5338] +++ exited with 0 +++ [pid 5337] <... exit_group resumed>) = ? [pid 5336] +++ exited with 0 +++ [pid 5337] +++ exited with 0 +++ [pid 5340] <... write resumed>) = 524288 [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5337, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5338, 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=5336, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5097] close(3 [pid 5100] restart_syscall(<... resuming interrupted clone ...> [pid 5099] restart_syscall(<... resuming interrupted clone ...> [pid 5097] <... close resumed>) = 0 [pid 5100] <... restart_syscall resumed>) = 0 [pid 5099] <... restart_syscall resumed>) = 0 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5103] umount2("./37", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5341 [pid 5100] umount2("./36", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] umount2("./38", MNT_FORCE|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 5341 attached [pid 5339] <... mount resumed>) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5341] set_robust_list(0x55556fbaa660, 24 [pid 5103] openat(AT_FDCWD, "./37", 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 5341] <... set_robust_list resumed>) = 0 [pid 5103] <... openat resumed>) = 3 [pid 5100] openat(AT_FDCWD, "./36", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] openat(AT_FDCWD, "./38", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5341] chdir("./39" [pid 5103] newfstatat(3, "", [pid 5100] <... openat resumed>) = 3 [pid 5099] <... openat resumed>) = 3 [pid 5341] <... chdir resumed>) = 0 [pid 5100] newfstatat(3, "", [pid 5099] newfstatat(3, "", [pid 5341] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5103] <... 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] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5341] <... prctl resumed>) = 0 [pid 5340] munmap(0x7f8438200000, 138412032 [pid 5339] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5103] getdents64(3, [pid 5100] getdents64(3, [pid 5341] setpgid(0, 0 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] getdents64(3, [pid 5341] <... setpgid resumed>) = 0 [pid 5339] <... openat resumed>) = 3 [pid 5103] umount2("./37/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] umount2("./36/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5341] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] umount2("./38/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5340] <... munmap resumed>) = 0 [pid 5100] newfstatat(AT_FDCWD, "./36/binderfs", [pid 5341] <... openat resumed>) = 3 [pid 5340] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5339] chdir("./file1" [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5341] write(3, "1000", 4 [pid 5339] <... chdir resumed>) = 0 [pid 5103] newfstatat(AT_FDCWD, "./37/binderfs", [pid 5100] unlink("./36/binderfs" [pid 5341] <... write resumed>) = 4 [pid 5340] <... openat resumed>) = 4 [pid 5339] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5099] newfstatat(AT_FDCWD, "./38/binderfs", [pid 5100] <... unlink resumed>) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5339] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] unlink("./38/binderfs") = 0 [pid 5340] ioctl(4, LOOP_SET_FD, 3 [pid 5099] umount2("./38/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5341] close(3 [pid 5339] truncate("./file1", 0 [pid 5100] umount2("./36/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5341] <... close resumed>) = 0 [pid 5340] <... ioctl resumed>) = 0 [pid 5103] unlink("./37/binderfs" [pid 5100] <... umount2 resumed>) = 0 [pid 5341] symlink("/dev/binderfs", "./binderfs" [pid 5340] close(3 [pid 5339] <... truncate resumed>) = 0 [pid 5103] <... unlink resumed>) = 0 [pid 5100] umount2("./36/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... umount2 resumed>) = 0 [pid 5341] <... symlink resumed>) = 0 [pid 5340] <... close resumed>) = 0 [pid 5339] memfd_create("syzkaller", 0 [pid 5103] umount2("./37/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] umount2("./38/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5341] write(1, "executing program\n", 18 [pid 5340] close(4 [pid 5339] <... memfd_create resumed>) = 4 executing program [pid 5100] newfstatat(AT_FDCWD, "./36/file1", [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5341] <... write resumed>) = 18 [pid 5340] <... close resumed>) = 0 [pid 5339] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] newfstatat(AT_FDCWD, "./38/file1", [pid 5341] memfd_create("syzkaller", 0 [pid 5100] umount2("./36/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5341] <... memfd_create resumed>) = 3 [pid 5340] mkdir("./file1", 0777 [pid 5339] <... mmap resumed>) = 0x7f8438200000 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] umount2("./38/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] openat(AT_FDCWD, "./36/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5340] <... mkdir resumed>) = 0 [pid 5100] newfstatat(4, "", [pid 5341] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5099] openat(AT_FDCWD, "./38/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] <... openat resumed>) = 4 [pid 5341] <... mmap resumed>) = 0x7f8438200000 [pid 5099] newfstatat(4, "", [pid 5100] getdents64(4, [pid 5099] <... 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] getdents64(4, [pid 5100] getdents64(4, [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] getdents64(4, [pid 5100] close(4 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] <... close resumed>) = 0 [pid 5099] close(4 [pid 5100] rmdir("./36/file1" [pid 5099] <... close resumed>) = 0 [pid 5341] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 [ 135.865381][ T5340] loop4: detected capacity change from 0 to 1024 [pid 5099] rmdir("./38/file1" [pid 5340] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5339] 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, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] close(3) = 0 [pid 5100] rmdir("./36") = 0 [pid 5099] <... rmdir resumed>) = 0 [pid 5100] mkdir("./37", 0777 [pid 5099] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5099] close(3) = 0 [pid 5100] <... mkdir resumed>) = 0 [pid 5099] rmdir("./38" [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5099] <... rmdir resumed>) = 0 [pid 5100] <... openat resumed>) = 3 [pid 5099] mkdir("./39", 0777 [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5099] <... mkdir resumed>) = 0 [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5103] <... umount2 resumed>) = 0 [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5339] <... write resumed>) = 524288 [pid 5103] umount2("./37/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... ioctl resumed>) = 0 [pid 5099] close(3) = 0 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] newfstatat(AT_FDCWD, "./37/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] umount2("./37/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5103] openat(AT_FDCWD, "./37/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5342 [pid 5103] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5341] <... write resumed>) = 524288 [pid 5103] getdents64(4, [pid 5100] <... ioctl resumed>) = 0 ./strace-static-x86_64: Process 5342 attached [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5342] set_robust_list(0x55556fbaa660, 24 [pid 5103] getdents64(4, [pid 5342] <... set_robust_list resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5342] chdir("./39" [pid 5103] close(4) = 0 [pid 5103] rmdir("./37/file1") = 0 [pid 5340] <... mount resumed>) = 0 [pid 5103] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5342] <... chdir resumed>) = 0 [pid 5103] close(3 [pid 5342] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5340] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5339] munmap(0x7f8438200000, 138412032 [pid 5103] <... close resumed>) = 0 [pid 5103] rmdir("./37" [pid 5339] <... munmap resumed>) = 0 [pid 5340] <... openat resumed>) = 3 [pid 5103] <... rmdir resumed>) = 0 [pid 5342] <... prctl resumed>) = 0 [pid 5103] mkdir("./38", 0777 [pid 5100] close(3 [pid 5103] <... mkdir resumed>) = 0 [pid 5100] <... close resumed>) = 0 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5341] munmap(0x7f8438200000, 138412032 [pid 5339] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5342] setpgid(0, 0) = 0 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5342] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5339] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] <... openat resumed>) = 3 [pid 5342] <... openat resumed>) = 3 [pid 5341] <... munmap resumed>) = 0 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5339] close(4 [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5343 [pid 5342] write(3, "1000", 4./strace-static-x86_64: Process 5343 attached ) = 4 [pid 5343] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5342] close(3 [pid 5343] chdir("./37") = 0 [pid 5342] <... close resumed>) = 0 [pid 5343] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5342] symlink("/dev/binderfs", "./binderfs"executing program [pid 5343] <... prctl resumed>) = 0 [pid 5342] <... symlink resumed>) = 0 [pid 5341] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5340] chdir("./file1" [pid 5343] setpgid(0, 0 [pid 5342] write(1, "executing program\n", 18 [pid 5340] <... chdir resumed>) = 0 [pid 5343] <... setpgid resumed>) = 0 [pid 5342] <... write resumed>) = 18 [pid 5341] <... openat resumed>) = 4 [pid 5343] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5342] memfd_create("syzkaller", 0 [pid 5340] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5339] <... close resumed>) = 0 [pid 5343] <... openat resumed>) = 3 [pid 5341] ioctl(4, LOOP_SET_FD, 3 [pid 5343] write(3, "1000", 4) = 4 [pid 5343] close(3) = 0 [pid 5343] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 5343] write(1, "executing program\n", 18) = 18 [pid 5343] memfd_create("syzkaller", 0 [pid 5342] <... memfd_create resumed>) = 3 [pid 5343] <... memfd_create resumed>) = 3 [pid 5342] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5343] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5342] <... mmap resumed>) = 0x7f8438200000 [pid 5343] <... mmap resumed>) = 0x7f8438200000 [pid 5340] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5343] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5342] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5339] exit_group(0 [pid 5340] truncate("./file1", 0 [pid 5339] <... exit_group resumed>) = ? [pid 5340] <... truncate resumed>) = 0 [pid 5339] +++ exited with 0 +++ [pid 5340] memfd_create("syzkaller", 0 [pid 5341] <... ioctl resumed>) = 0 [pid 5340] <... memfd_create resumed>) = 4 [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5339, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5341] close(3 [pid 5340] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5341] <... close resumed>) = 0 [pid 5340] <... mmap resumed>) = 0x7f8438200000 [pid 5341] close(4) = 0 [pid 5098] umount2("./39", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./39", 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 5341] mkdir("./file1", 0777 [pid 5098] getdents64(3, [pid 5341] <... mkdir resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] umount2("./39/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5341] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./39/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 136.027498][ T5341] loop0: detected capacity change from 0 to 1024 [pid 5098] unlink("./39/binderfs") = 0 [pid 5098] umount2("./39/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5340] 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 5342] <... write resumed>) = 524288 [pid 5343] <... write resumed>) = 524288 [pid 5342] munmap(0x7f8438200000, 138412032 [pid 5341] <... mount resumed>) = 0 [pid 5340] <... write resumed>) = 524288 [pid 5103] close(3 [pid 5098] <... umount2 resumed>) = 0 [pid 5342] <... munmap resumed>) = 0 [pid 5341] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5103] <... close resumed>) = 0 [pid 5341] <... openat resumed>) = 3 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5341] chdir("./file1" [pid 5343] munmap(0x7f8438200000, 138412032 [pid 5342] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5341] <... chdir resumed>) = 0 [pid 5343] <... munmap resumed>) = 0 [pid 5342] <... openat resumed>) = 4 [pid 5341] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5342] ioctl(4, LOOP_SET_FD, 3./strace-static-x86_64: Process 5344 attached [pid 5341] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5340] munmap(0x7f8438200000, 138412032 [pid 5341] truncate("./file1", 0 [pid 5344] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5343] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5340] <... munmap resumed>) = 0 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5344 [pid 5098] umount2("./39/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5344] chdir("./38" [pid 5343] <... openat resumed>) = 4 [pid 5340] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5344] <... chdir resumed>) = 0 [pid 5098] newfstatat(AT_FDCWD, "./39/file1", [pid 5344] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5343] ioctl(4, LOOP_SET_FD, 3 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5344] <... prctl resumed>) = 0 [pid 5340] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5098] umount2("./39/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5344] setpgid(0, 0 [pid 5340] close(4 [pid 5098] openat(AT_FDCWD, "./39/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5344] <... setpgid resumed>) = 0 [pid 5098] <... openat resumed>) = 4 [pid 5342] <... ioctl resumed>) = 0 [pid 5342] close(3) = 0 [pid 5342] close(4) = 0 [pid 5344] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5342] mkdir("./file1", 0777 [pid 5098] newfstatat(4, "", [pid 5342] <... mkdir resumed>) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5344] <... openat resumed>) = 3 [pid 5098] getdents64(4, [pid 5343] <... ioctl resumed>) = 0 [pid 5342] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5343] close(3 [pid 5341] <... truncate resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5344] write(3, "1000", 4 [pid 5343] <... close resumed>) = 0 [pid 5341] memfd_create("syzkaller", 0 [pid 5098] getdents64(4, [pid 5344] <... write resumed>) = 4 [pid 5341] <... memfd_create resumed>) = 4 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5344] close(3 [pid 5341] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5098] close(4 [pid 5344] <... close resumed>) = 0 [pid 5343] close(4 [pid 5341] <... mmap resumed>) = 0x7f8438200000 [pid 5098] <... close resumed>) = 0 [pid 5340] <... close resumed>) = 0 [pid 5344] symlink("/dev/binderfs", "./binderfs" [pid 5343] <... close resumed>) = 0 [pid 5342] <... mount resumed>) = 0 [pid 5343] mkdir("./file1", 0777 [pid 5342] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5098] rmdir("./39/file1" [pid 5344] <... symlink resumed>) = 0 [pid 5343] <... mkdir resumed>) = 0 [pid 5342] <... openat resumed>) = 3 [pid 5340] exit_group(0 [pid 5343] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [ 136.119992][ T5342] loop2: detected capacity change from 0 to 1024 [ 136.135037][ T5343] loop3: detected capacity change from 0 to 1024 [pid 5342] chdir("./file1") = 0 [pid 5340] <... exit_group resumed>) = ? [pid 5098] <... rmdir resumed>) = 0 [pid 5342] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5344] write(1, "executing program\n", 18 [pid 5343] <... mount resumed>) = 0 [pid 5342] truncate("./file1", 0executing program [pid 5098] getdents64(3, [pid 5344] <... write resumed>) = 18 [pid 5343] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5341] 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 5343] <... openat resumed>) = 3 [pid 5342] <... truncate resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5344] memfd_create("syzkaller", 0 [pid 5343] chdir("./file1" [pid 5342] memfd_create("syzkaller", 0 [pid 5098] close(3 [pid 5344] <... memfd_create resumed>) = 3 [pid 5343] <... chdir resumed>) = 0 [pid 5342] <... memfd_create resumed>) = 4 [pid 5098] <... close resumed>) = 0 [pid 5344] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5343] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5342] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5098] rmdir("./39" [pid 5344] <... mmap resumed>) = 0x7f8438200000 [pid 5343] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5342] <... mmap resumed>) = 0x7f8438200000 [pid 5343] truncate("./file1", 0 [pid 5342] 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 resumed>) = 0 [pid 5340] +++ exited with 0 +++ [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5340, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5098] mkdir("./40", 0777 [pid 5101] umount2("./38", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... mkdir resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] openat(AT_FDCWD, "./38", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5343] <... truncate resumed>) = 0 [pid 5101] <... openat resumed>) = 3 [pid 5343] memfd_create("syzkaller", 0 [pid 5101] newfstatat(3, "", [pid 5343] <... memfd_create resumed>) = 4 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] getdents64(3, [pid 5343] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5344] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5343] <... mmap resumed>) = 0x7f8438200000 [pid 5101] umount2("./38/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5341] <... write resumed>) = 524288 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] newfstatat(AT_FDCWD, "./38/binderfs", [pid 5098] <... openat resumed>) = 3 [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5341] munmap(0x7f8438200000, 138412032 [pid 5101] unlink("./38/binderfs" [pid 5342] <... write resumed>) = 524288 [pid 5341] <... munmap resumed>) = 0 [pid 5101] <... unlink resumed>) = 0 [pid 5344] <... write resumed>) = 524288 [pid 5341] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5101] umount2("./38/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5341] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5344] munmap(0x7f8438200000, 138412032 [pid 5343] 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 5344] <... munmap resumed>) = 0 [pid 5343] <... write resumed>) = 524288 [pid 5341] close(4 [pid 5342] munmap(0x7f8438200000, 138412032) = 0 [pid 5342] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5342] close(4 [pid 5101] <... umount2 resumed>) = 0 [pid 5343] munmap(0x7f8438200000, 138412032 [pid 5342] <... close resumed>) = 0 [pid 5343] <... munmap resumed>) = 0 [pid 5343] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5344] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5342] exit_group(0 [pid 5101] umount2("./38/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5343] close(4 [pid 5342] <... exit_group resumed>) = ? [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5344] <... openat resumed>) = 4 [pid 5098] <... ioctl resumed>) = 0 [pid 5344] ioctl(4, LOOP_SET_FD, 3 [pid 5101] newfstatat(AT_FDCWD, "./38/file1", [pid 5342] +++ exited with 0 +++ [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5342, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5099] umount2("./39", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "./39", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5344] <... ioctl resumed>) = 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] <... openat resumed>) = 3 [pid 5099] newfstatat(3, "", [pid 5101] umount2("./38/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5343] <... close resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] umount2("./39/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] newfstatat(AT_FDCWD, "./39/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] unlink("./39/binderfs" [pid 5101] openat(AT_FDCWD, "./38/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5343] exit_group(0 [pid 5341] <... close resumed>) = 0 [pid 5101] <... openat resumed>) = 4 [pid 5099] <... unlink resumed>) = 0 [pid 5099] umount2("./39/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] newfstatat(4, "", [pid 5343] <... exit_group resumed>) = ? [pid 5343] +++ exited with 0 +++ [pid 5341] exit_group(0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] close(3 [pid 5341] <... exit_group resumed>) = ? [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5343, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5100] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5098] <... close resumed>) = 0 [pid 5100] umount2("./37", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5100] openat(AT_FDCWD, "./37", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5100] newfstatat(3, "", [pid 5341] +++ exited with 0 +++ [pid 5101] getdents64(4, [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5100] getdents64(3, [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5341, 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 5097] restart_syscall(<... resuming interrupted clone ...> [pid 5100] umount2("./37/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... restart_syscall resumed>) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] newfstatat(AT_FDCWD, "./37/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] umount2("./39", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] unlink("./37/binderfs" [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] <... unlink resumed>) = 0 [pid 5097] openat(AT_FDCWD, "./39", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5097] newfstatat(3, "", [pid 5100] umount2("./37/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, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5097] umount2("./39/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(AT_FDCWD, "./39/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5101] getdents64(4, [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5345 ./strace-static-x86_64: Process 5345 attached [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5345] set_robust_list(0x55556fbaa660, 24 [ 136.302399][ T5344] loop5: detected capacity change from 0 to 1024 [pid 5344] close(3 [pid 5101] close(4 [pid 5345] <... set_robust_list resumed>) = 0 [pid 5344] <... close resumed>) = 0 [pid 5101] <... close resumed>) = 0 [pid 5100] <... umount2 resumed>) = 0 [pid 5099] <... umount2 resumed>) = 0 [pid 5097] unlink("./39/binderfs" [pid 5345] chdir("./40" [pid 5344] close(4 [pid 5101] rmdir("./38/file1" [pid 5344] <... close resumed>) = 0 [pid 5101] <... rmdir resumed>) = 0 [pid 5100] umount2("./37/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... unlink resumed>) = 0 [pid 5345] <... chdir resumed>) = 0 [pid 5344] mkdir("./file1", 0777 [pid 5101] getdents64(3, [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5345] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5344] <... mkdir resumed>) = 0 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] newfstatat(AT_FDCWD, "./37/file1", [pid 5099] umount2("./39/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] umount2("./39/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] newfstatat(AT_FDCWD, "./39/file1", [pid 5345] <... prctl resumed>) = 0 [pid 5101] close(3 [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 5345] setpgid(0, 0) = 0 [pid 5344] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5101] <... close resumed>) = 0 [pid 5100] umount2("./37/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] umount2("./39/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5345] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5101] rmdir("./38" [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] openat(AT_FDCWD, "./37/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] openat(AT_FDCWD, "./39/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5100] <... openat resumed>) = 4 [pid 5099] <... openat resumed>) = 4 [pid 5100] newfstatat(4, "", [pid 5099] newfstatat(4, "", [pid 5345] <... openat resumed>) = 3 [pid 5101] <... rmdir resumed>) = 0 [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 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5345] write(3, "1000", 4 [pid 5101] mkdir("./39", 0777 [pid 5100] getdents64(4, [pid 5099] getdents64(4, [pid 5345] <... write resumed>) = 4 [pid 5101] <... mkdir resumed>) = 0 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5345] close(3 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5345] <... close resumed>) = 0 [pid 5100] close(4 [pid 5099] getdents64(4, [pid 5345] symlink("/dev/binderfs", "./binderfs" [pid 5100] <... close resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5345] <... symlink resumed>) = 0 [pid 5101] <... openat resumed>) = 3 [pid 5100] rmdir("./37/file1" [pid 5099] close(4 [pid 5344] <... mount resumed>) = 0 [pid 5100] <... rmdir resumed>) = 0 [pid 5099] <... close resumed>) = 0 [pid 5099] rmdir("./39/file1") = 0 [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5345] write(1, "executing program\n", 18 [pid 5097] <... umount2 resumed>) = 0 executing program [pid 5100] getdents64(3, [pid 5099] getdents64(3, [pid 5345] <... write resumed>) = 18 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] close(3 [pid 5099] close(3 [pid 5344] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5100] <... close resumed>) = 0 [pid 5099] <... close resumed>) = 0 [pid 5344] <... openat resumed>) = 3 [pid 5100] rmdir("./37" [pid 5099] rmdir("./39" [pid 5100] <... rmdir resumed>) = 0 [pid 5099] <... rmdir resumed>) = 0 [pid 5344] chdir("./file1" [pid 5099] mkdir("./40", 0777 [pid 5345] memfd_create("syzkaller", 0 [pid 5344] <... chdir resumed>) = 0 [pid 5100] mkdir("./38", 0777 [pid 5099] <... mkdir resumed>) = 0 [pid 5344] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5100] <... mkdir resumed>) = 0 [pid 5344] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5344] truncate("./file1", 0 [pid 5097] umount2("./39/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(AT_FDCWD, "./39/file1", [pid 5345] <... memfd_create resumed>) = 3 [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5345] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5099] <... openat resumed>) = 3 [pid 5345] <... mmap resumed>) = 0x7f8438200000 [pid 5344] <... truncate resumed>) = 0 [pid 5100] <... openat resumed>) = 3 [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5097] umount2("./39/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... ioctl resumed>) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] openat(AT_FDCWD, "./39/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5344] memfd_create("syzkaller", 0) = 4 [pid 5344] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5099] close(3 [pid 5097] newfstatat(4, "", [pid 5344] <... mmap resumed>) = 0x7f8438200000 [pid 5099] <... close resumed>) = 0 [pid 5345] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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_EMPTY_PATH) = 0 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [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("./39/file1") = 0 [pid 5097] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] close(3 [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5346 [pid 5097] <... close resumed>) = 0 ./strace-static-x86_64: Process 5346 attached [pid 5344] 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] rmdir("./39") = 0 [pid 5346] set_robust_list(0x55556fbaa660, 24 [pid 5097] mkdir("./40", 0777) = 0 [pid 5346] <... set_robust_list resumed>) = 0 [pid 5346] chdir("./40") = 0 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5346] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5097] ioctl(3, LOOP_CLR_FD) = 0 [pid 5097] close(3) = 0 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5346] <... prctl resumed>) = 0 [pid 5346] setpgid(0, 0) = 0 [pid 5346] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5347 ./strace-static-x86_64: Process 5347 attached [pid 5346] <... openat resumed>) = 3 [pid 5347] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5347] chdir("./40" [pid 5344] <... write resumed>) = 524288 [pid 5101] <... ioctl resumed>) = 0 [pid 5346] write(3, "1000", 4 [pid 5347] <... chdir resumed>) = 0 [pid 5346] <... write resumed>) = 4 [pid 5347] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5346] close(3 [pid 5347] <... prctl resumed>) = 0 [pid 5346] <... close resumed>) = 0 [pid 5347] setpgid(0, 0 [pid 5346] symlink("/dev/binderfs", "./binderfs" [pid 5347] <... setpgid resumed>) = 0 [pid 5346] <... symlink resumed>) = 0 [pid 5347] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5346] write(1, "executing program\n", 18 [pid 5345] <... write resumed>) = 524288 [pid 5344] munmap(0x7f8438200000, 138412032executing program [pid 5347] write(3, "1000", 4 [pid 5346] <... write resumed>) = 18 [pid 5345] munmap(0x7f8438200000, 138412032 [pid 5344] <... munmap resumed>) = 0 [pid 5101] close(3 [pid 5346] memfd_create("syzkaller", 0) = 3 [pid 5345] <... munmap resumed>) = 0 [pid 5346] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] <... close resumed>) = 0 [pid 5346] <... mmap resumed>) = 0x7f8438200000 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5347] <... write resumed>) = 4 [pid 5346] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5344] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5347] close(3 [pid 5344] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5345] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5344] close(4 [pid 5345] <... openat resumed>) = 4 [pid 5344] <... close resumed>) = 0 [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5348 [pid 5347] <... close resumed>) = 0 [pid 5345] ioctl(4, LOOP_SET_FD, 3 [pid 5347] symlink("/dev/binderfs", "./binderfs") = 0 ./strace-static-x86_64: Process 5348 attached [pid 5348] set_robust_list(0x55556fbaa660, 24 [pid 5347] write(1, "executing program\n", 18executing program [pid 5348] <... set_robust_list resumed>) = 0 [pid 5347] <... write resumed>) = 18 [pid 5347] memfd_create("syzkaller", 0 [pid 5348] chdir("./39" [pid 5346] <... write resumed>) = 524288 [pid 5348] <... chdir resumed>) = 0 [pid 5347] <... memfd_create resumed>) = 3 [pid 5348] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5347] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5348] setpgid(0, 0 [pid 5347] <... mmap resumed>) = 0x7f8438200000 [pid 5347] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5348] <... setpgid resumed>) = 0 [pid 5344] exit_group(0executing program [pid 5348] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5344] <... exit_group resumed>) = ? [pid 5348] <... openat resumed>) = 3 [pid 5348] write(3, "1000", 4) = 4 [pid 5348] close(3) = 0 [pid 5348] symlink("/dev/binderfs", "./binderfs" [pid 5344] +++ exited with 0 +++ [pid 5348] <... symlink resumed>) = 0 [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5344, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5348] write(1, "executing program\n", 18) = 18 [pid 5348] memfd_create("syzkaller", 0 [pid 5345] <... ioctl resumed>) = 0 [pid 5103] umount2("./38", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5348] <... memfd_create resumed>) = 3 [pid 5346] munmap(0x7f8438200000, 138412032 [pid 5103] openat(AT_FDCWD, "./38", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5348] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5346] <... munmap resumed>) = 0 [pid 5345] close(3 [pid 5103] <... openat resumed>) = 3 [pid 5348] <... mmap resumed>) = 0x7f8438200000 [pid 5345] <... close resumed>) = 0 [pid 5103] newfstatat(3, "", [pid 5100] <... ioctl resumed>) = 0 [pid 5348] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5346] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5345] close(4 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] close(3 [pid 5345] <... close resumed>) = 0 [pid 5103] getdents64(3, [pid 5100] <... close resumed>) = 0 [pid 5345] mkdir("./file1", 0777 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5103] umount2("./38/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5103] newfstatat(AT_FDCWD, "./38/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] unlink("./38/binderfs") = 0 [pid 5346] <... openat resumed>) = 4 [pid 5103] umount2("./38/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5349 ./strace-static-x86_64: Process 5349 attached [pid 5346] ioctl(4, LOOP_SET_FD, 3 [pid 5345] <... mkdir resumed>) = 0 [pid 5349] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5345] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5349] chdir("./38") = 0 [pid 5347] <... write resumed>) = 524288 [ 136.553734][ T5109] I/O error, dev loop3, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0 [ 136.572048][ T5345] loop1: detected capacity change from 0 to 1024 [pid 5349] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5348] <... write resumed>) = 524288 [pid 5347] munmap(0x7f8438200000, 138412032executing program [pid 5349] setpgid(0, 0) = 0 [pid 5349] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5347] <... munmap resumed>) = 0 [pid 5349] <... openat resumed>) = 3 [pid 5349] write(3, "1000", 4) = 4 [pid 5349] close(3) = 0 [pid 5349] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5347] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5103] <... umount2 resumed>) = 0 [pid 5349] write(1, "executing program\n", 18 [pid 5347] ioctl(4, LOOP_SET_FD, 3 [pid 5349] <... write resumed>) = 18 [pid 5347] <... ioctl resumed>) = 0 [pid 5349] memfd_create("syzkaller", 0 [pid 5348] munmap(0x7f8438200000, 138412032 [pid 5346] <... ioctl resumed>) = 0 [pid 5349] <... memfd_create resumed>) = 3 [pid 5348] <... munmap resumed>) = 0 [pid 5346] close(3 [pid 5349] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5346] <... close resumed>) = 0 [pid 5103] umount2("./38/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5349] <... mmap resumed>) = 0x7f8438200000 [pid 5346] close(4 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5346] <... close resumed>) = 0 [pid 5103] newfstatat(AT_FDCWD, "./38/file1", [pid 5346] mkdir("./file1", 0777 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5346] <... mkdir resumed>) = 0 [pid 5103] umount2("./38/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5348] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5346] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5348] <... openat resumed>) = 4 [pid 5103] openat(AT_FDCWD, "./38/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [ 136.613807][ T5346] loop2: detected capacity change from 0 to 1024 [ 136.643099][ T5347] loop0: detected capacity change from 0 to 1024 [pid 5348] ioctl(4, LOOP_SET_FD, 3 [pid 5103] <... openat resumed>) = 4 [pid 5103] newfstatat(4, "", [pid 5349] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5345] <... mount resumed>) = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5347] close(3 [pid 5103] getdents64(4, [pid 5347] <... close resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5347] close(4 [pid 5103] close(4 [pid 5347] <... close resumed>) = 0 [pid 5103] <... close resumed>) = 0 [pid 5347] mkdir("./file1", 0777 [pid 5346] <... mount resumed>) = 0 [pid 5345] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5103] rmdir("./38/file1" [pid 5347] <... mkdir resumed>) = 0 [pid 5345] <... openat resumed>) = 3 [pid 5103] <... rmdir resumed>) = 0 [pid 5345] chdir("./file1") = 0 [pid 5347] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5346] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5345] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5103] getdents64(3, [pid 5348] <... ioctl resumed>) = 0 [pid 5346] <... openat resumed>) = 3 [pid 5345] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5349] <... write resumed>) = 524288 [pid 5348] close(3 [pid 5346] chdir("./file1" [pid 5345] truncate("./file1", 0 [pid 5103] close(3 [pid 5348] <... close resumed>) = 0 [pid 5346] <... chdir resumed>) = 0 [ 136.666432][ T5348] loop4: detected capacity change from 0 to 1024 [pid 5103] <... close resumed>) = 0 [pid 5348] close(4 [pid 5346] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5103] rmdir("./38" [pid 5348] <... close resumed>) = 0 [pid 5346] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5348] mkdir("./file1", 0777 [pid 5346] truncate("./file1", 0 [pid 5348] <... mkdir resumed>) = 0 [pid 5103] <... rmdir resumed>) = 0 [pid 5347] <... mount resumed>) = 0 [pid 5345] <... truncate resumed>) = 0 [pid 5103] mkdir("./39", 0777 [pid 5345] memfd_create("syzkaller", 0 [pid 5348] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5349] munmap(0x7f8438200000, 138412032 [pid 5103] <... mkdir resumed>) = 0 [pid 5349] <... munmap resumed>) = 0 [pid 5347] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5346] <... truncate resumed>) = 0 [pid 5349] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5347] <... openat resumed>) = 3 [pid 5346] memfd_create("syzkaller", 0 [pid 5345] <... memfd_create resumed>) = 4 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5349] <... openat resumed>) = 4 [pid 5347] chdir("./file1" [pid 5346] <... memfd_create resumed>) = 4 [pid 5349] ioctl(4, LOOP_SET_FD, 3 [pid 5347] <... chdir resumed>) = 0 [pid 5346] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] <... openat resumed>) = 3 [pid 5348] <... mount resumed>) = 0 [pid 5347] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5346] <... mmap resumed>) = 0x7f8438200000 [pid 5345] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5348] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5347] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5346] 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 5345] <... mmap resumed>) = 0x7f8438200000 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5348] <... openat resumed>) = 3 [pid 5347] truncate("./file1", 0 [pid 5103] <... ioctl resumed>) = 0 [pid 5348] chdir("./file1" [pid 5103] close(3) = 0 [pid 5348] <... chdir resumed>) = 0 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5348] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [ 136.766196][ T5349] loop3: detected capacity change from 0 to 1024 [pid 5348] truncate("./file1", 0 [pid 5349] <... ioctl resumed>) = 0 [pid 5346] <... write resumed>) = 524288 [pid 5349] close(3) = 0 [pid 5349] close(4) = 0 [pid 5349] mkdir("./file1", 0777 [pid 5347] <... truncate resumed>) = 0 [pid 5345] 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) = 5351 [pid 5349] <... mkdir resumed>) = 0 [pid 5347] memfd_create("syzkaller", 0 [pid 5349] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5348] <... truncate resumed>) = 0 [pid 5347] <... memfd_create resumed>) = 4 ./strace-static-x86_64: Process 5351 attached [pid 5348] memfd_create("syzkaller", 0 [pid 5347] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5351] set_robust_list(0x55556fbaa660, 24 [pid 5348] <... memfd_create resumed>) = 4 [pid 5347] <... mmap resumed>) = 0x7f8438200000 [pid 5351] <... set_robust_list resumed>) = 0 [pid 5351] chdir("./39" [pid 5348] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5347] 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 5351] <... chdir resumed>) = 0 [pid 5351] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5348] <... mmap resumed>) = 0x7f8438200000 [pid 5351] <... prctl resumed>) = 0 [pid 5351] setpgid(0, 0 [pid 5348] 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 5345] <... write resumed>) = 524288 [pid 5351] <... setpgid resumed>) = 0 [pid 5349] <... mount resumed>) = 0 [pid 5346] munmap(0x7f8438200000, 138412032 [pid 5351] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5346] <... munmap resumed>) = 0 [pid 5351] <... openat resumed>) = 3 [pid 5349] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5347] <... write resumed>) = 524288 [pid 5345] munmap(0x7f8438200000, 138412032 [pid 5349] <... openat resumed>) = 3 [pid 5345] <... munmap resumed>) = 0 [pid 5349] chdir("./file1" [pid 5351] write(3, "1000", 4 [pid 5345] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5351] <... write resumed>) = 4 [pid 5349] <... chdir resumed>) = 0 [pid 5346] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5345] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5351] close(3 [pid 5349] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5346] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5345] close(4 [pid 5351] <... close resumed>) = 0 [pid 5349] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5351] symlink("/dev/binderfs", "./binderfs" [pid 5349] truncate("./file1", 0 [pid 5346] close(4 [pid 5351] <... symlink resumed>) = 0 [pid 5349] <... truncate resumed>) = 0 [pid 5351] write(1, "executing program\n", 18 [pid 5349] memfd_create("syzkaller", 0) = 4 [pid 5349] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 executing program [pid 5347] munmap(0x7f8438200000, 138412032 [pid 5351] <... write resumed>) = 18 [pid 5347] <... munmap resumed>) = 0 [pid 5351] memfd_create("syzkaller", 0 [pid 5349] 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 5348] <... write resumed>) = 524288 [pid 5345] <... close resumed>) = 0 [pid 5351] <... memfd_create resumed>) = 3 [pid 5351] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5347] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5346] <... close resumed>) = 0 [pid 5351] <... mmap resumed>) = 0x7f8438200000 [pid 5347] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5346] exit_group(0 [pid 5347] close(4 [pid 5346] <... exit_group resumed>) = ? [pid 5351] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5346] +++ exited with 0 +++ [pid 5345] exit_group(0 [pid 5348] munmap(0x7f8438200000, 138412032 [pid 5345] <... exit_group resumed>) = ? [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5346, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5348] <... munmap resumed>) = 0 [pid 5348] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5099] umount2("./40", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5348] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "./40", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5348] close(4 [pid 5099] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5351] <... write resumed>) = 524288 [pid 5347] <... close resumed>) = 0 [pid 5099] getdents64(3, [pid 5348] <... close resumed>) = 0 [pid 5345] +++ exited with 0 +++ [pid 5349] <... write resumed>) = 524288 [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5345, si_uid=0, si_status=0, si_utime=0, si_stime=8 /* 0.08 s */} --- [pid 5351] munmap(0x7f8438200000, 138412032 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] umount2("./40/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] umount2("./40", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] newfstatat(AT_FDCWD, "./40/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] unlink("./40/binderfs" [pid 5349] munmap(0x7f8438200000, 138412032 [pid 5099] <... unlink resumed>) = 0 [pid 5098] openat(AT_FDCWD, "./40", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5351] <... munmap resumed>) = 0 [pid 5349] <... munmap resumed>) = 0 [pid 5347] exit_group(0 [pid 5099] umount2("./40/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... openat resumed>) = 3 [pid 5347] <... exit_group resumed>) = ? [pid 5098] newfstatat(3, "", [pid 5351] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5347] +++ exited with 0 +++ [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] getdents64(3, [pid 5349] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5348] exit_group(0 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5347, si_uid=0, si_status=0, si_utime=0, si_stime=8 /* 0.08 s */} --- [pid 5349] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5348] <... exit_group resumed>) = ? [pid 5098] umount2("./40/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5351] <... openat resumed>) = 4 [pid 5349] close(4 [pid 5348] +++ exited with 0 +++ [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5351] ioctl(4, LOOP_SET_FD, 3 [pid 5098] newfstatat(AT_FDCWD, "./40/binderfs", [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5348, si_uid=0, si_status=0, si_utime=0, si_stime=8 /* 0.08 s */} --- [pid 5097] umount2("./40", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] openat(AT_FDCWD, "./40", 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("./40/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5349] <... close resumed>) = 0 [pid 5101] umount2("./39", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] unlink("./40/binderfs" [pid 5097] newfstatat(AT_FDCWD, "./40/binderfs", [pid 5101] openat(AT_FDCWD, "./39", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] <... umount2 resumed>) = 0 [pid 5098] <... unlink resumed>) = 0 [pid 5101] <... openat resumed>) = 3 [pid 5098] umount2("./40/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] unlink("./40/binderfs" [pid 5101] newfstatat(3, "", [pid 5097] <... unlink resumed>) = 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] umount2("./40/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5349] exit_group(0) = ? [pid 5349] +++ exited with 0 +++ [pid 5101] getdents64(3, [pid 5099] umount2("./40/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] newfstatat(AT_FDCWD, "./40/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] umount2("./40/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "./40/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5349, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5099] newfstatat(4, "", [pid 5101] umount2("./39/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] getdents64(4, [pid 5100] umount2("./38", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] newfstatat(AT_FDCWD, "./39/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] openat(AT_FDCWD, "./38", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5099] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5101] unlink("./39/binderfs" [pid 5100] <... openat resumed>) = 3 [pid 5099] close(4 [pid 5098] <... umount2 resumed>) = 0 [pid 5099] <... close resumed>) = 0 [pid 5099] rmdir("./40/file1" [pid 5101] <... unlink resumed>) = 0 [pid 5100] newfstatat(3, "", [pid 5099] <... rmdir resumed>) = 0 [ 137.022453][ T5351] loop5: detected capacity change from 0 to 1024 [pid 5098] umount2("./40/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... umount2 resumed>) = 0 [pid 5351] <... ioctl resumed>) = 0 [pid 5101] umount2("./39/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] getdents64(3, [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5351] close(3 [pid 5098] newfstatat(AT_FDCWD, "./40/file1", [pid 5100] getdents64(3, [pid 5351] <... close resumed>) = 0 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] umount2("./40/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5351] close(4 [pid 5100] umount2("./38/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5351] <... close resumed>) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./40/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5351] mkdir("./file1", 0777 [pid 5100] newfstatat(AT_FDCWD, "./38/binderfs", [pid 5351] <... mkdir resumed>) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] close(3 [pid 5098] <... openat resumed>) = 4 [pid 5097] umount2("./40/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5351] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5100] unlink("./38/binderfs" [pid 5098] newfstatat(4, "", [pid 5100] <... unlink resumed>) = 0 [pid 5099] <... close 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 5100] umount2("./38/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] getdents64(4, [pid 5097] newfstatat(AT_FDCWD, "./40/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] umount2("./40/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] rmdir("./40" [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] close(4 [pid 5099] <... rmdir resumed>) = 0 [pid 5098] <... close resumed>) = 0 [pid 5097] openat(AT_FDCWD, "./40/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] rmdir("./40/file1" [pid 5097] <... openat resumed>) = 4 [pid 5098] <... rmdir resumed>) = 0 [pid 5097] newfstatat(4, "", [pid 5351] <... mount resumed>) = 0 [pid 5099] mkdir("./41", 0777 [pid 5098] getdents64(3, [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5351] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5099] <... mkdir resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] getdents64(4, [pid 5351] <... openat resumed>) = 3 [pid 5098] close(3 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5351] chdir("./file1" [pid 5098] <... close resumed>) = 0 [pid 5097] getdents64(4, [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] <... openat resumed>) = 3 [pid 5097] close(4 [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5097] <... close resumed>) = 0 [pid 5099] <... ioctl resumed>) = 0 [pid 5097] rmdir("./40/file1" [pid 5098] rmdir("./40" [pid 5351] <... chdir resumed>) = 0 [pid 5351] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5099] close(3 [pid 5098] <... rmdir resumed>) = 0 [pid 5097] <... rmdir resumed>) = 0 [pid 5099] <... close resumed>) = 0 [pid 5098] mkdir("./41", 0777 [pid 5097] getdents64(3, [pid 5351] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5351] truncate("./file1", 0 [pid 5100] <... umount2 resumed>) = 0 [pid 5098] <... mkdir resumed>) = 0 [pid 5097] close(3 [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5100] umount2("./38/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5353 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... openat resumed>) = 3 [pid 5097] <... close resumed>) = 0 [pid 5100] newfstatat(AT_FDCWD, "./38/file1", [pid 5097] rmdir("./40" [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] <... rmdir resumed>) = 0 [pid 5100] umount2("./38/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5100] openat(AT_FDCWD, "./38/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] mkdir("./41", 0777 [pid 5351] <... truncate resumed>) = 0 [pid 5101] <... umount2 resumed>) = 0 [pid 5100] <... openat resumed>) = 4 [pid 5098] <... ioctl resumed>) = 0 [pid 5097] <... mkdir resumed>) = 0 [pid 5351] memfd_create("syzkaller", 0 [pid 5100] newfstatat(4, "", ./strace-static-x86_64: Process 5353 attached [pid 5351] <... memfd_create resumed>) = 4 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5353] set_robust_list(0x55556fbaa660, 24 [pid 5351] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] umount2("./39/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] getdents64(4, [pid 5098] close(3 [pid 5353] <... set_robust_list resumed>) = 0 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5353] chdir("./41" [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] <... openat resumed>) = 3 [pid 5353] <... chdir resumed>) = 0 [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5353] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] getdents64(4, [pid 5351] <... mmap resumed>) = 0x7f8438200000 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5101] newfstatat(AT_FDCWD, "./39/file1", [pid 5100] close(4 [pid 5353] <... prctl resumed>) = 0 [pid 5100] <... close resumed>) = 0 [pid 5353] setpgid(0, 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] rmdir("./38/file1" [pid 5353] <... setpgid resumed>) = 0 [pid 5353] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5101] umount2("./39/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... rmdir resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] getdents64(3, [pid 5101] openat(AT_FDCWD, "./39/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5353] write(3, "1000", 4 [pid 5351] 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 resumed>) = 4 [pid 5100] close(3) = 0 [pid 5100] rmdir("./38" [pid 5098] <... close resumed>) = 0 [pid 5101] newfstatat(4, "", [pid 5100] <... rmdir resumed>) = 0 [pid 5353] <... write resumed>) = 4 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5353] close(3) = 0 [pid 5353] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5353] write(1, "executing program\n", 18) = 18 [pid 5353] memfd_create("syzkaller", 0 [pid 5100] mkdir("./39", 0777 [pid 5101] getdents64(4, [pid 5100] <... mkdir resumed>) = 0 [pid 5353] <... memfd_create resumed>) = 3 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5354 [pid 5101] getdents64(4, [pid 5353] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] <... openat resumed>) = 3 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5353] <... mmap resumed>) = 0x7f8438200000 [pid 5101] close(4 [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5097] <... ioctl resumed>) = 0 ./strace-static-x86_64: Process 5354 attached [pid 5101] <... close resumed>) = 0 [pid 5354] set_robust_list(0x55556fbaa660, 24 [pid 5353] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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("./39/file1" [pid 5100] <... ioctl resumed>) = 0 [pid 5354] <... set_robust_list resumed>) = 0 [pid 5351] <... write resumed>) = 524288 [pid 5354] chdir("./41" [pid 5351] munmap(0x7f8438200000, 138412032 [pid 5354] <... chdir resumed>) = 0 [pid 5354] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5351] <... munmap resumed>) = 0 [pid 5100] close(3 [pid 5101] <... rmdir resumed>) = 0 [pid 5354] <... prctl resumed>) = 0 [pid 5351] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5101] getdents64(3, [pid 5100] <... close resumed>) = 0 [pid 5354] setpgid(0, 0 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 ./strace-static-x86_64: Process 5355 attached [pid 5354] <... setpgid resumed>) = 0 [pid 5353] <... write resumed>) = 524288 [pid 5351] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] close(3 [pid 5097] close(3 [pid 5355] set_robust_list(0x55556fbaa660, 24 [pid 5351] close(4 [pid 5355] <... set_robust_list resumed>) = 0 [pid 5354] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5101] <... close resumed>) = 0 [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5355 [pid 5097] <... close resumed>) = 0 [pid 5101] rmdir("./39" [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5101] <... rmdir resumed>) = 0 [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5356 ./strace-static-x86_64: Process 5356 attached [pid 5356] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5356] chdir("./41") = 0 [pid 5356] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5355] chdir("./39" [pid 5354] <... openat resumed>) = 3 [pid 5353] munmap(0x7f8438200000, 138412032 [pid 5101] mkdir("./40", 0777 [pid 5356] <... prctl resumed>) = 0 [pid 5356] setpgid(0, 0) = 0 [pid 5356] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5353] <... munmap resumed>) = 0 [pid 5356] write(3, "1000", 4 [pid 5355] <... chdir resumed>) = 0 [pid 5101] <... mkdir resumed>) = 0 [pid 5356] <... write resumed>) = 4 [pid 5356] close(3 [pid 5355] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5356] <... close resumed>) = 0 [pid 5354] write(3, "1000", 4 [pid 5356] symlink("/dev/binderfs", "./binderfs" [pid 5355] <... prctl resumed>) = 0 [pid 5353] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5101] <... openat resumed>) = 3 [pid 5356] <... symlink resumed>) = 0 [pid 5355] setpgid(0, 0 [pid 5353] <... openat resumed>) = 4 [pid 5101] ioctl(3, LOOP_CLR_FDexecuting program [pid 5356] write(1, "executing program\n", 18 [pid 5354] <... write resumed>) = 4 [pid 5101] <... ioctl resumed>) = 0 [pid 5356] <... write resumed>) = 18 [pid 5355] <... setpgid resumed>) = 0 [pid 5101] close(3 [pid 5356] memfd_create("syzkaller", 0 [pid 5354] close(3 [pid 5353] ioctl(4, LOOP_SET_FD, 3 [pid 5356] <... memfd_create resumed>) = 3 [pid 5355] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5101] <... close resumed>) = 0 [pid 5356] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5354] <... close resumed>) = 0 [pid 5355] <... openat resumed>) = 3 [pid 5354] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5354] write(1, "executing program\n", 18 [pid 5356] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5355] write(3, "1000", 4 [pid 5354] <... write resumed>) = 18 [pid 5351] <... close resumed>) = 0 [pid 5355] <... write resumed>) = 4 [pid 5355] close(3 [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5357 ./strace-static-x86_64: Process 5357 attached [pid 5356] <... write resumed>) = 524288 [pid 5355] <... close resumed>) = 0 [pid 5354] memfd_create("syzkaller", 0 [pid 5357] set_robust_list(0x55556fbaa660, 24 [pid 5355] symlink("/dev/binderfs", "./binderfs" [pid 5354] <... memfd_create resumed>) = 3 [pid 5351] exit_group(0 [pid 5357] <... set_robust_list resumed>) = 0 [pid 5354] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5351] <... exit_group resumed>) = ? [pid 5357] chdir("./40") = 0 [pid 5357] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5357] setpgid(0, 0 [pid 5351] +++ exited with 0 +++ [pid 5354] <... mmap resumed>) = 0x7f8438200000 [pid 5357] <... setpgid resumed>) = 0 [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5351, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5357] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXECexecuting program ) = 3 [pid 5355] <... symlink resumed>) = 0 [pid 5354] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5353] <... ioctl resumed>) = 0 [pid 5355] write(1, "executing program\n", 18 [pid 5353] close(3 [pid 5355] <... write resumed>) = 18 [pid 5353] <... close resumed>) = 0 [pid 5357] write(3, "1000", 4 [pid 5355] memfd_create("syzkaller", 0 [pid 5353] close(4) = 0 [pid 5357] <... write resumed>) = 4 [pid 5356] munmap(0x7f8438200000, 138412032 [pid 5353] mkdir("./file1", 0777 [pid 5357] close(3 [pid 5356] <... munmap resumed>) = 0 [pid 5357] <... close resumed>) = 0 [pid 5353] <... mkdir resumed>) = 0 [pid 5103] umount2("./39", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5357] symlink("/dev/binderfs", "./binderfs" [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5357] <... symlink resumed>) = 0 [ 137.343601][ T5353] loop2: detected capacity change from 0 to 1024 executing program [pid 5357] write(1, "executing program\n", 18 [pid 5356] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5355] <... memfd_create resumed>) = 3 [pid 5353] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5103] openat(AT_FDCWD, "./39", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5356] <... openat resumed>) = 4 [pid 5103] newfstatat(3, "", [pid 5357] <... write resumed>) = 18 [pid 5356] ioctl(4, LOOP_SET_FD, 3 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5357] memfd_create("syzkaller", 0 [pid 5103] getdents64(3, [pid 5357] <... memfd_create resumed>) = 3 [pid 5355] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5357] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5355] <... mmap resumed>) = 0x7f8438200000 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5357] <... mmap resumed>) = 0x7f8438200000 [pid 5103] umount2("./39/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5357] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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, "./39/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] unlink("./39/binderfs") = 0 [pid 5353] <... mount resumed>) = 0 [pid 5103] umount2("./39/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5354] <... write resumed>) = 524288 [pid 5353] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5355] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5353] <... openat resumed>) = 3 [pid 5355] <... write resumed>) = 524288 [pid 5354] munmap(0x7f8438200000, 138412032 [pid 5353] chdir("./file1" [pid 5354] <... munmap resumed>) = 0 [pid 5353] <... chdir resumed>) = 0 [pid 5353] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5103] <... umount2 resumed>) = 0 [pid 5353] truncate("./file1", 0 [pid 5354] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 5354] ioctl(4, LOOP_SET_FD, 3 [ 137.444956][ T5356] loop0: detected capacity change from 0 to 1024 [pid 5356] <... ioctl resumed>) = 0 [pid 5357] <... write resumed>) = 524288 [pid 5356] close(3 [pid 5355] munmap(0x7f8438200000, 138412032 [pid 5353] <... truncate resumed>) = 0 [pid 5103] umount2("./39/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5356] <... close resumed>) = 0 [pid 5356] close(4 [pid 5353] memfd_create("syzkaller", 0 [pid 5356] <... close resumed>) = 0 [pid 5354] <... ioctl resumed>) = 0 [pid 5356] mkdir("./file1", 0777 [pid 5354] close(3 [pid 5357] munmap(0x7f8438200000, 138412032 [pid 5356] <... mkdir resumed>) = 0 [pid 5355] <... munmap resumed>) = 0 [pid 5354] <... close resumed>) = 0 [pid 5353] <... memfd_create resumed>) = 4 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5356] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5354] close(4) = 0 [pid 5354] mkdir("./file1", 0777 [pid 5357] <... munmap resumed>) = 0 [pid 5355] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5354] <... mkdir resumed>) = 0 [pid 5353] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [ 137.496908][ T5354] loop1: detected capacity change from 0 to 1024 [pid 5103] newfstatat(AT_FDCWD, "./39/file1", [pid 5355] <... openat resumed>) = 4 [pid 5354] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5353] <... mmap resumed>) = 0x7f8438200000 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5355] ioctl(4, LOOP_SET_FD, 3 [pid 5103] umount2("./39/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5353] 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 resumed>) = -1 EINVAL (Invalid argument) [pid 5357] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5103] openat(AT_FDCWD, "./39/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5103] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5357] <... openat resumed>) = 4 [pid 5103] getdents64(4, [pid 5357] ioctl(4, LOOP_SET_FD, 3 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5103] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5103] close(4) = 0 [pid 5103] rmdir("./39/file1") = 0 [pid 5355] <... ioctl resumed>) = 0 [pid 5356] <... mount resumed>) = 0 [pid 5355] close(3) = 0 [pid 5355] close(4) = 0 [pid 5355] mkdir("./file1", 0777) = 0 [pid 5355] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5353] <... write resumed>) = 524288 [pid 5103] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5103] close(3) = 0 [pid 5103] rmdir("./39") = 0 [pid 5357] <... ioctl resumed>) = 0 [pid 5103] mkdir("./40", 0777 [pid 5357] close(3 [pid 5103] <... mkdir resumed>) = 0 [pid 5357] <... close resumed>) = 0 [pid 5357] close(4 [pid 5356] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5357] <... close resumed>) = 0 [pid 5356] <... openat resumed>) = 3 [ 137.539538][ T5355] loop3: detected capacity change from 0 to 1024 [ 137.563395][ T5357] loop4: detected capacity change from 0 to 1024 [pid 5353] munmap(0x7f8438200000, 138412032 [pid 5357] mkdir("./file1", 0777 [pid 5356] chdir("./file1" [pid 5355] <... mount resumed>) = 0 [pid 5353] <... munmap resumed>) = 0 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5357] <... mkdir resumed>) = 0 [pid 5356] <... chdir resumed>) = 0 [pid 5355] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5353] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5103] <... openat resumed>) = 3 [pid 5353] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5356] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5353] close(4 [pid 5103] <... ioctl resumed>) = 0 [pid 5356] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5355] <... openat resumed>) = 3 [pid 5353] <... close resumed>) = 0 [pid 5103] close(3 [pid 5357] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5356] truncate("./file1", 0 [pid 5355] chdir("./file1") = 0 [pid 5355] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5103] <... close resumed>) = 0 [pid 5355] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5355] truncate("./file1", 0 [pid 5356] <... truncate resumed>) = 0 [pid 5354] <... mount resumed>) = 0 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5359 ./strace-static-x86_64: Process 5359 attached [pid 5359] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5356] memfd_create("syzkaller", 0 [pid 5355] <... truncate resumed>) = 0 [pid 5354] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5356] <... memfd_create resumed>) = 4 [pid 5357] <... mount resumed>) = 0 [pid 5354] <... openat resumed>) = 3 [pid 5353] exit_group(0 [pid 5359] chdir("./40" [pid 5357] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5355] memfd_create("syzkaller", 0 [pid 5353] <... exit_group resumed>) = ? [pid 5357] <... openat resumed>) = 3 [pid 5355] <... memfd_create resumed>) = 4 [pid 5353] +++ exited with 0 +++ [pid 5359] <... chdir resumed>) = 0 [pid 5355] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5359] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5355] <... mmap resumed>) = 0x7f8438200000 [pid 5359] <... prctl resumed>) = 0 [pid 5356] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5355] 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 5354] chdir("./file1" [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5353, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5359] setpgid(0, 0 [pid 5357] chdir("./file1" [pid 5356] <... mmap resumed>) = 0x7f8438200000 [pid 5354] <... chdir resumed>) = 0 [pid 5359] <... setpgid resumed>) = 0 [pid 5357] <... chdir resumed>) = 0 [pid 5359] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5357] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5354] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5357] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5354] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5357] truncate("./file1", 0 [pid 5354] truncate("./file1", 0 [pid 5359] <... openat resumed>) = 3 [pid 5357] <... truncate resumed>) = 0 [pid 5356] 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("./41", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5357] memfd_create("syzkaller", 0) = 4 [pid 5357] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0executing program ) = 0x7f8438200000 [pid 5359] write(3, "1000", 4 [pid 5099] openat(AT_FDCWD, "./41", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5359] <... write resumed>) = 4 [pid 5359] close(3) = 0 [pid 5359] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5359] write(1, "executing program\n", 18 [pid 5357] 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 5359] <... write resumed>) = 18 [pid 5359] memfd_create("syzkaller", 0 [pid 5099] <... openat resumed>) = 3 [pid 5359] <... memfd_create resumed>) = 3 [pid 5354] <... truncate resumed>) = 0 [pid 5099] newfstatat(3, "", [pid 5359] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5354] memfd_create("syzkaller", 0 [pid 5357] <... write resumed>) = 524288 [pid 5355] <... write resumed>) = 524288 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5359] <... mmap resumed>) = 0x7f8438200000 [pid 5355] munmap(0x7f8438200000, 138412032 [pid 5354] <... memfd_create resumed>) = 4 [pid 5356] <... write resumed>) = 524288 [pid 5355] <... munmap resumed>) = 0 [pid 5354] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5099] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] umount2("./41/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5359] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5355] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] newfstatat(AT_FDCWD, "./41/binderfs", [pid 5355] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] unlink("./41/binderfs" [pid 5355] close(4) = 0 [pid 5099] <... unlink resumed>) = 0 [pid 5356] munmap(0x7f8438200000, 138412032) = 0 [pid 5354] 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 5359] <... write resumed>) = 524288 [pid 5357] munmap(0x7f8438200000, 138412032) = 0 [pid 5357] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5357] close(4 [pid 5355] exit_group(0 [pid 5356] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5099] umount2("./41/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5359] munmap(0x7f8438200000, 138412032 [pid 5356] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5355] <... exit_group resumed>) = ? [pid 5356] close(4 [pid 5359] <... munmap resumed>) = 0 [pid 5357] <... close resumed>) = 0 [pid 5354] munmap(0x7f8438200000, 138412032 [pid 5359] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5356] <... close resumed>) = 0 [pid 5354] <... munmap resumed>) = 0 [pid 5359] <... openat resumed>) = 4 [pid 5359] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5356] exit_group(0 [pid 5099] <... umount2 resumed>) = 0 [pid 5356] <... exit_group resumed>) = ? [pid 5355] +++ exited with 0 +++ [pid 5354] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5354] close(4) = 0 [pid 5357] exit_group(0 [pid 5356] +++ exited with 0 +++ [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5355, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5099] umount2("./41/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5357] <... exit_group resumed>) = ? [pid 5100] restart_syscall(<... resuming interrupted clone ...> [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5356, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5357] +++ exited with 0 +++ [pid 5100] <... restart_syscall resumed>) = 0 [pid 5099] newfstatat(AT_FDCWD, "./41/file1", [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5357, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] umount2("./40", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] umount2("./41/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] umount2("./39", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] openat(AT_FDCWD, "./40", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "./41/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] umount2("./41", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5354] exit_group(0 [pid 5101] <... openat resumed>) = 3 [pid 5100] openat(AT_FDCWD, "./39", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] <... openat resumed>) = 4 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5354] <... exit_group resumed>) = ? [ 137.863636][ T5359] loop5: detected capacity change from 0 to 1024 [pid 5101] newfstatat(3, "", [pid 5100] <... openat resumed>) = 3 [pid 5097] openat(AT_FDCWD, "./41", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5359] close(3 [pid 5354] +++ exited with 0 +++ [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] newfstatat(4, "", [pid 5359] <... close resumed>) = 0 [pid 5101] getdents64(3, [pid 5100] newfstatat(3, "", [pid 5359] close(4 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5359] <... close resumed>) = 0 [pid 5101] umount2("./40/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] getdents64(3, [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] <... openat resumed>) = 3 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] getdents64(4, [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5354, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5097] newfstatat(3, "", [pid 5101] newfstatat(AT_FDCWD, "./40/binderfs", [pid 5100] umount2("./39/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] restart_syscall(<... resuming interrupted clone ...> [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] getdents64(4, [pid 5098] <... restart_syscall resumed>) = 0 [pid 5097] getdents64(3, [pid 5101] unlink("./40/binderfs" [pid 5100] newfstatat(AT_FDCWD, "./39/binderfs", [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5101] <... unlink resumed>) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] close(4 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5101] umount2("./40/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] unlink("./39/binderfs" [pid 5099] <... close resumed>) = 0 [pid 5098] umount2("./41", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] umount2("./41/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5359] mkdir("./file1", 0777 [pid 5100] <... unlink resumed>) = 0 [pid 5099] rmdir("./41/file1" [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5359] <... mkdir resumed>) = 0 [pid 5100] umount2("./39/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... rmdir resumed>) = 0 [pid 5098] openat(AT_FDCWD, "./41", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] newfstatat(AT_FDCWD, "./41/binderfs", [pid 5099] getdents64(3, [pid 5098] <... openat resumed>) = 3 [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5359] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5100] <... umount2 resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] newfstatat(3, "", [pid 5097] unlink("./41/binderfs" [pid 5099] close(3 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] <... unlink resumed>) = 0 [pid 5099] <... close resumed>) = 0 [pid 5098] getdents64(3, [pid 5097] umount2("./41/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] rmdir("./41" [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5101] <... umount2 resumed>) = 0 [pid 5100] umount2("./39/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... rmdir resumed>) = 0 [pid 5098] umount2("./41/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] mkdir("./42", 0777 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] newfstatat(AT_FDCWD, "./39/file1", [pid 5099] <... mkdir resumed>) = 0 [pid 5098] newfstatat(AT_FDCWD, "./41/binderfs", [pid 5097] <... umount2 resumed>) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] unlink("./41/binderfs") = 0 [pid 5097] umount2("./41/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] umount2("./40/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5098] umount2("./41/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] umount2("./39/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... openat resumed>) = 3 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] newfstatat(AT_FDCWD, "./40/file1", [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] openat(AT_FDCWD, "./39/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] umount2("./40/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... openat resumed>) = 4 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] newfstatat(4, "", [pid 5101] openat(AT_FDCWD, "./40/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] <... openat resumed>) = 4 [pid 5100] getdents64(4, [pid 5101] newfstatat(4, "", [pid 5100] <... 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] getdents64(4, [pid 5097] newfstatat(AT_FDCWD, "./41/file1", [pid 5101] getdents64(4, [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5100] close(4 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] getdents64(4, [pid 5100] <... close resumed>) = 0 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] rmdir("./39/file1" [pid 5101] close(4 [pid 5100] <... rmdir resumed>) = 0 [pid 5097] umount2("./41/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... close resumed>) = 0 [pid 5100] getdents64(3, [pid 5101] rmdir("./40/file1" [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5359] <... mount resumed>) = 0 [pid 5101] <... rmdir resumed>) = 0 [pid 5100] close(3 [pid 5359] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5101] getdents64(3, [pid 5100] <... close resumed>) = 0 [pid 5359] <... openat resumed>) = 3 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] rmdir("./39" [pid 5097] openat(AT_FDCWD, "./41/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] close(3 [pid 5100] <... rmdir resumed>) = 0 [pid 5101] <... close resumed>) = 0 [pid 5100] mkdir("./40", 0777 [pid 5097] <... openat resumed>) = 4 [pid 5101] rmdir("./40" [pid 5100] <... mkdir resumed>) = 0 [pid 5359] chdir("./file1" [pid 5101] <... rmdir resumed>) = 0 [pid 5097] newfstatat(4, "", [pid 5359] <... chdir resumed>) = 0 [pid 5098] <... umount2 resumed>) = 0 [pid 5359] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5101] mkdir("./41", 0777 [pid 5359] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] <... mkdir resumed>) = 0 [pid 5359] truncate("./file1", 0 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] umount2("./41/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5100] <... openat resumed>) = 3 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] getdents64(4, [pid 5098] newfstatat(AT_FDCWD, "./41/file1", [pid 5101] <... openat resumed>) = 3 [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] umount2("./41/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] getdents64(4, [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] openat(AT_FDCWD, "./41/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] close(4 [pid 5101] <... ioctl resumed>) = 0 [pid 5098] <... openat resumed>) = 4 [pid 5097] <... close resumed>) = 0 [pid 5359] <... truncate resumed>) = 0 [pid 5101] close(3 [pid 5098] newfstatat(4, "", [pid 5097] rmdir("./41/file1" [pid 5359] memfd_create("syzkaller", 0 [pid 5101] <... close resumed>) = 0 [pid 5359] <... memfd_create resumed>) = 4 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5359] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] <... rmdir resumed>) = 0 [pid 5359] <... mmap resumed>) = 0x7f8438200000 [pid 5359] 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] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5360 [pid 5097] getdents64(3, [pid 5098] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] getdents64(4, [pid 5097] close(3./strace-static-x86_64: Process 5360 attached [pid 5360] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5360] chdir("./41") = 0 [pid 5360] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5097] <... close resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] close(4 [pid 5097] rmdir("./41" [pid 5099] <... ioctl resumed>) = 0 [pid 5098] <... close resumed>) = 0 [pid 5360] setpgid(0, 0) = 0 [pid 5360] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5099] close(3 [pid 5098] rmdir("./41/file1" [pid 5097] <... rmdir resumed>) = 0 [pid 5360] <... openat resumed>) = 3 [pid 5098] <... rmdir resumed>) = 0 [pid 5097] mkdir("./42", 0777 [pid 5099] <... close resumed>) = 0 [pid 5359] <... write resumed>) = 524288 [pid 5097] <... mkdir resumed>) = 0 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5098] getdents64(3, [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5360] write(3, "1000", 4) = 4 [pid 5360] close(3) = 0 [pid 5360] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] close(3 [pid 5097] <... openat resumed>) = 3 executing program ./strace-static-x86_64: Process 5361 attached [pid 5100] <... ioctl resumed>) = 0 [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5361 [pid 5098] <... close resumed>) = 0 [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5361] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5359] munmap(0x7f8438200000, 138412032 [pid 5098] rmdir("./41" [pid 5360] write(1, "executing program\n", 18 [pid 5359] <... munmap resumed>) = 0 [pid 5098] <... rmdir resumed>) = 0 [pid 5361] chdir("./42" [pid 5098] mkdir("./42", 0777 [pid 5361] <... chdir resumed>) = 0 [pid 5360] <... write resumed>) = 18 [pid 5360] memfd_create("syzkaller", 0 [pid 5359] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5098] <... mkdir resumed>) = 0 [pid 5361] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5360] <... memfd_create resumed>) = 3 [pid 5359] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5360] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5359] close(4 [pid 5361] <... prctl resumed>) = 0 [pid 5360] <... mmap resumed>) = 0x7f8438200000 [pid 5098] <... openat resumed>) = 3 [pid 5361] setpgid(0, 0 [pid 5360] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5361] <... setpgid resumed>) = 0 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5100] close(3) = 0 [pid 5361] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5361] <... openat resumed>) = 3 [pid 5359] <... close resumed>) = 0 [pid 5097] <... ioctl resumed>) = 0 [pid 5359] exit_group(0) = ? [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5362 [pid 5359] +++ exited with 0 +++ [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5359, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5103] umount2("./40", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5103] openat(AT_FDCWD, "./40", 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 ./strace-static-x86_64: Process 5362 attached [pid 5103] umount2("./40/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5362] set_robust_list(0x55556fbaa660, 24 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] newfstatat(AT_FDCWD, "./40/binderfs", [pid 5361] write(3, "1000", 4 [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] unlink("./40/binderfs" [pid 5361] <... write resumed>) = 4 [pid 5103] <... unlink resumed>) = 0 [pid 5361] close(3 [pid 5103] umount2("./40/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] close(3 [pid 5362] <... set_robust_list resumed>) = 0 [pid 5361] <... close resumed>) = 0 [pid 5360] <... write resumed>) = 524288 [pid 5097] <... close resumed>) = 0 [pid 5362] chdir("./40" [pid 5360] munmap(0x7f8438200000, 138412032 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5362] <... chdir resumed>) = 0 [pid 5361] symlink("/dev/binderfs", "./binderfs" [pid 5360] <... munmap resumed>) = 0 [pid 5362] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5103] <... umount2 resumed>) = 0 [pid 5361] <... symlink resumed>) = 0 [pid 5362] <... prctl resumed>) = 0 [pid 5362] setpgid(0, 0 [pid 5361] write(1, "executing program\n", 18 [pid 5362] <... setpgid resumed>) = 0 executing program [pid 5362] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5361] <... write resumed>) = 18 [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5364 [pid 5360] openat(AT_FDCWD, "/dev/loop4", O_RDWR./strace-static-x86_64: Process 5364 attached ) = 4 [pid 5364] set_robust_list(0x55556fbaa660, 24 [pid 5362] <... openat resumed>) = 3 [pid 5361] memfd_create("syzkaller", 0 [pid 5364] <... set_robust_list resumed>) = 0 [pid 5360] ioctl(4, LOOP_SET_FD, 3 [pid 5361] <... memfd_create resumed>) = 3 [pid 5103] umount2("./40/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5364] chdir("./42" [pid 5361] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5361] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5364] <... chdir resumed>) = 0 [pid 5362] write(3, "1000", 4 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5364] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5364] setpgid(0, 0) = 0 [pid 5362] <... write resumed>) = 4 [pid 5103] newfstatat(AT_FDCWD, "./40/file1", [pid 5364] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5362] close(3 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5362] <... close resumed>) = 0 [pid 5103] umount2("./40/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5362] symlink("/dev/binderfs", "./binderfs" [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5364] <... openat resumed>) = 3 [pid 5362] <... symlink resumed>) = 0 [pid 5103] openat(AT_FDCWD, "./40/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5364] write(3, "1000", 4 [pid 5362] write(1, "executing program\n", 18 [pid 5103] <... openat resumed>) = 4 executing program [pid 5362] <... write resumed>) = 18 [pid 5103] newfstatat(4, "", [pid 5362] memfd_create("syzkaller", 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5364] <... write resumed>) = 4 [pid 5362] <... memfd_create resumed>) = 3 [pid 5103] getdents64(4, [pid 5364] close(3 [pid 5362] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5364] <... close resumed>) = 0 [pid 5362] <... mmap resumed>) = 0x7f8438200000 [pid 5103] close(4 [pid 5364] symlink("/dev/binderfs", "./binderfs" [pid 5362] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5364] <... symlink resumed>) = 0 [pid 5103] rmdir("./40/file1") = 0 [pid 5364] write(1, "executing program\n", 18 [pid 5361] <... write resumed>) = 524288 [pid 5360] <... ioctl resumed>) = 0 [pid 5103] getdents64(3, [pid 5098] <... ioctl resumed>) = 0 executing program [pid 5364] <... write resumed>) = 18 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] close(3 [pid 5364] memfd_create("syzkaller", 0 [pid 5360] close(3 [pid 5103] close(3 [pid 5098] <... close resumed>) = 0 [pid 5364] <... memfd_create resumed>) = 3 [pid 5360] <... close resumed>) = 0 [pid 5103] <... close resumed>) = 0 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5360] close(4 [pid 5103] rmdir("./40" [pid 5360] <... close resumed>) = 0 [pid 5103] <... rmdir resumed>) = 0 [pid 5360] mkdir("./file1", 0777 [pid 5364] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5360] <... mkdir resumed>) = 0 [pid 5364] <... mmap resumed>) = 0x7f8438200000 [ 138.204343][ T5360] loop4: detected capacity change from 0 to 1024 [pid 5103] mkdir("./41", 0777 [pid 5364] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5361] munmap(0x7f8438200000, 138412032 [pid 5360] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5103] <... mkdir resumed>) = 0 ./strace-static-x86_64: Process 5365 attached [pid 5365] set_robust_list(0x55556fbaa660, 24 [pid 5361] <... munmap resumed>) = 0 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5365 [pid 5365] <... set_robust_list resumed>) = 0 [pid 5365] chdir("./42") = 0 [pid 5365] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5361] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5365] <... prctl resumed>) = 0 [pid 5365] setpgid(0, 0 [pid 5364] <... write resumed>) = 524288 [pid 5362] <... write resumed>) = 524288 [pid 5361] <... openat resumed>) = 4 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5361] ioctl(4, LOOP_SET_FD, 3 [pid 5103] <... openat resumed>) = 3 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5365] <... setpgid resumed>) = 0 [pid 5362] munmap(0x7f8438200000, 138412032 [pid 5360] <... mount resumed>) = 0 [pid 5365] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5364] munmap(0x7f8438200000, 138412032 [pid 5362] <... munmap resumed>) = 0 [pid 5361] <... ioctl resumed>) = 0 [pid 5360] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5365] <... openat resumed>) = 3 [pid 5361] close(3 [pid 5360] chdir("./file1" [pid 5361] <... close resumed>) = 0 [pid 5360] <... chdir resumed>) = 0 [pid 5365] write(3, "1000", 4 [pid 5362] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5361] close(4 [pid 5360] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5365] <... write resumed>) = 4 [pid 5364] <... munmap resumed>) = 0 [pid 5362] <... openat resumed>) = 4 [pid 5361] <... close resumed>) = 0 [pid 5360] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5365] close(3 [pid 5361] mkdir("./file1", 0777 [pid 5360] truncate("./file1", 0 [pid 5365] <... close resumed>) = 0 [pid 5362] ioctl(4, LOOP_SET_FD, 3 [pid 5361] <... mkdir resumed>) = 0 [pid 5365] symlink("/dev/binderfs", "./binderfs" [pid 5364] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5362] <... ioctl resumed>) = 0 [pid 5361] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5365] <... symlink resumed>) = 0 [pid 5364] <... openat resumed>) = 4 executing program [pid 5365] write(1, "executing program\n", 18 [pid 5362] close(3 [pid 5360] <... truncate resumed>) = 0 [pid 5103] <... ioctl resumed>) = 0 [pid 5365] <... write resumed>) = 18 [pid 5365] memfd_create("syzkaller", 0) = 3 [pid 5362] <... close resumed>) = 0 [pid 5365] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5364] ioctl(4, LOOP_SET_FD, 3 [ 138.315007][ T5361] loop2: detected capacity change from 0 to 1024 [ 138.341910][ T5362] loop3: detected capacity change from 0 to 1024 [pid 5360] memfd_create("syzkaller", 0 [pid 5365] <... mmap resumed>) = 0x7f8438200000 [pid 5362] close(4 [pid 5360] <... memfd_create resumed>) = 4 [pid 5103] close(3 [pid 5360] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5103] <... close resumed>) = 0 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5362] <... close resumed>) = 0 [pid 5360] 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 5362] mkdir("./file1", 0777 [pid 5365] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5362] <... mkdir resumed>) = 0 [pid 5364] <... ioctl resumed>) = 0 [pid 5360] <... write resumed>) = 524288 [pid 5364] close(3 [pid 5361] <... mount resumed>) = 0 [pid 5364] <... close resumed>) = 0 [pid 5362] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5364] close(4) = 0 [pid 5365] <... write resumed>) = 524288 [ 138.368345][ T5364] loop0: detected capacity change from 0 to 1024 [pid 5364] mkdir("./file1", 0777 [pid 5365] munmap(0x7f8438200000, 138412032 [pid 5364] <... mkdir resumed>) = 0 [pid 5361] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5367 ./strace-static-x86_64: Process 5367 attached [pid 5361] <... openat resumed>) = 3 [pid 5367] set_robust_list(0x55556fbaa660, 24 [pid 5361] chdir("./file1" [pid 5367] <... set_robust_list resumed>) = 0 [pid 5362] <... mount resumed>) = 0 [pid 5361] <... chdir resumed>) = 0 [pid 5367] chdir("./41" [pid 5361] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5362] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5361] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5367] <... chdir resumed>) = 0 [pid 5364] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5362] <... openat resumed>) = 3 [pid 5367] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5365] <... munmap resumed>) = 0 [pid 5361] truncate("./file1", 0 [pid 5367] <... prctl resumed>) = 0 [pid 5365] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5364] <... mount resumed>) = 0 [pid 5362] chdir("./file1" [pid 5367] setpgid(0, 0 [pid 5364] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5362] <... chdir resumed>) = 0 [pid 5360] munmap(0x7f8438200000, 138412032 [pid 5367] <... setpgid resumed>) = 0 [pid 5364] <... openat resumed>) = 3 [pid 5362] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5360] <... munmap resumed>) = 0 [pid 5367] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5364] chdir("./file1" [pid 5362] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5367] <... openat resumed>) = 3 [pid 5360] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5365] <... openat resumed>) = 4 [pid 5360] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5360] close(4) = 0 [pid 5367] write(3, "1000", 4 [pid 5364] <... chdir resumed>) = 0 [pid 5362] truncate("./file1", 0 [pid 5365] ioctl(4, LOOP_SET_FD, 3 [pid 5361] <... truncate resumed>) = 0 [pid 5367] <... write resumed>) = 4 [pid 5364] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5361] memfd_create("syzkaller", 0 [pid 5364] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5364] truncate("./file1", 0 [pid 5367] close(3 [pid 5364] <... truncate resumed>) = 0 [pid 5367] <... close resumed>) = 0 [pid 5364] memfd_create("syzkaller", 0 [pid 5361] <... memfd_create resumed>) = 4 [pid 5365] <... ioctl resumed>) = 0 [pid 5367] symlink("/dev/binderfs", "./binderfs" [pid 5365] close(3 [pid 5364] <... memfd_create resumed>) = 4 executing program [pid 5361] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5367] <... symlink resumed>) = 0 [pid 5365] <... close resumed>) = 0 [pid 5364] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5367] write(1, "executing program\n", 18 [pid 5365] close(4 [pid 5364] <... mmap resumed>) = 0x7f8438200000 [pid 5362] <... truncate resumed>) = 0 [pid 5361] <... mmap resumed>) = 0x7f8438200000 [pid 5367] <... write resumed>) = 18 [pid 5365] <... close resumed>) = 0 [pid 5364] 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 5362] memfd_create("syzkaller", 0 [pid 5367] memfd_create("syzkaller", 0 [pid 5362] <... memfd_create resumed>) = 4 [pid 5367] <... memfd_create resumed>) = 3 [pid 5365] mkdir("./file1", 0777 [pid 5362] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5367] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5362] <... mmap resumed>) = 0x7f8438200000 [pid 5360] exit_group(0 [pid 5367] <... mmap resumed>) = 0x7f8438200000 [pid 5365] <... mkdir resumed>) = 0 [pid 5362] 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 5361] 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 5367] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5365] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5360] <... exit_group resumed>) = ? [pid 5360] +++ exited with 0 +++ [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5360, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5101] umount2("./41", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] openat(AT_FDCWD, "./41", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [ 138.472554][ T5365] loop1: detected capacity change from 0 to 1024 [pid 5101] newfstatat(3, "", [pid 5367] <... write resumed>) = 524288 [pid 5361] <... write resumed>) = 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("./41/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5364] <... write resumed>) = 524288 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5362] <... write resumed>) = 524288 [pid 5361] munmap(0x7f8438200000, 138412032 [pid 5101] newfstatat(AT_FDCWD, "./41/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5364] munmap(0x7f8438200000, 138412032 [pid 5101] unlink("./41/binderfs" [pid 5364] <... munmap resumed>) = 0 [pid 5361] <... munmap resumed>) = 0 [pid 5101] <... unlink resumed>) = 0 [pid 5101] umount2("./41/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5362] munmap(0x7f8438200000, 138412032 [pid 5361] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5101] <... umount2 resumed>) = 0 [pid 5362] <... munmap resumed>) = 0 [pid 5361] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5364] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5364] close(4 [pid 5362] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5361] close(4 [pid 5364] <... close resumed>) = 0 [pid 5362] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5365] <... mount resumed>) = 0 [pid 5367] munmap(0x7f8438200000, 138412032 [pid 5101] umount2("./41/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5365] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5367] <... munmap resumed>) = 0 [pid 5362] close(4 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5365] <... openat resumed>) = 3 [pid 5101] newfstatat(AT_FDCWD, "./41/file1", [pid 5365] chdir("./file1" [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5367] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5101] umount2("./41/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5367] <... openat resumed>) = 4 [pid 5365] <... chdir resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5367] ioctl(4, LOOP_SET_FD, 3 [pid 5101] openat(AT_FDCWD, "./41/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5365] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5361] <... close resumed>) = 0 [pid 5101] <... openat resumed>) = 4 [pid 5101] newfstatat(4, "", [pid 5365] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5365] truncate("./file1", 0 [pid 5361] exit_group(0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] getdents64(4, [pid 5364] exit_group(0 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5364] <... exit_group resumed>) = ? [pid 5101] getdents64(4, [pid 5364] +++ exited with 0 +++ [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5101] close(4) = 0 [pid 5101] rmdir("./41/file1") = 0 [pid 5362] <... close resumed>) = 0 [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5364, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5362] exit_group(0 [pid 5361] <... exit_group resumed>) = ? [pid 5101] getdents64(3, [pid 5362] <... exit_group resumed>) = ? [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5101] close(3 [pid 5097] umount2("./42", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... close resumed>) = 0 [pid 5101] rmdir("./41" [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] <... rmdir resumed>) = 0 [pid 5097] openat(AT_FDCWD, "./42", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5362] +++ exited with 0 +++ [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5362, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5097] <... openat resumed>) = 3 [pid 5097] newfstatat(3, "", [pid 5100] umount2("./40", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5367] <... ioctl resumed>) = 0 [pid 5100] openat(AT_FDCWD, "./40", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5367] close(3 [pid 5101] mkdir("./42", 0777 [pid 5100] <... openat resumed>) = 3 [pid 5097] getdents64(3, [pid 5367] <... close resumed>) = 0 [pid 5101] <... mkdir resumed>) = 0 [pid 5100] newfstatat(3, "", [pid 5367] close(4 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5100] getdents64(3, [pid 5097] umount2("./42/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] umount2("./40/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] newfstatat(AT_FDCWD, "./42/binderfs", [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] newfstatat(AT_FDCWD, "./40/binderfs", [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5100] <... 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 5367] <... close resumed>) = 0 [pid 5100] unlink("./40/binderfs" [pid 5097] unlink("./42/binderfs" [ 138.606268][ T5367] loop5: detected capacity change from 0 to 1024 [pid 5367] mkdir("./file1", 0777 [pid 5361] +++ exited with 0 +++ [pid 5101] <... openat resumed>) = 3 [pid 5100] <... unlink resumed>) = 0 [pid 5367] <... mkdir resumed>) = 0 [pid 5365] <... truncate resumed>) = 0 [pid 5097] <... unlink resumed>) = 0 [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5361, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5097] umount2("./42/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5365] memfd_create("syzkaller", 0 [pid 5100] umount2("./40/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5365] <... memfd_create resumed>) = 4 [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5365] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5099] umount2("./42", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5367] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5365] <... mmap resumed>) = 0x7f8438200000 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "./42", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5367] <... mount resumed>) = 0 [pid 5365] 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 [pid 5099] newfstatat(3, "", [pid 5367] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] <... umount2 resumed>) = 0 [pid 5367] <... openat resumed>) = 3 [pid 5099] getdents64(3, [pid 5367] chdir("./file1" [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5367] <... chdir resumed>) = 0 [pid 5099] umount2("./42/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] umount2("./42/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5367] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5367] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] umount2("./40/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5367] truncate("./file1", 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(AT_FDCWD, "./42/file1", [pid 5100] newfstatat(AT_FDCWD, "./40/file1", [pid 5099] newfstatat(AT_FDCWD, "./42/binderfs", [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5367] <... truncate resumed>) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] umount2("./42/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5367] memfd_create("syzkaller", 0 [pid 5100] umount2("./40/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] unlink("./42/binderfs" [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5367] <... memfd_create resumed>) = 4 [pid 5101] <... ioctl resumed>) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... unlink resumed>) = 0 [pid 5097] openat(AT_FDCWD, "./42/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5367] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5365] <... write resumed>) = 524288 [pid 5367] <... mmap resumed>) = 0x7f8438200000 [pid 5097] <... openat resumed>) = 4 [pid 5367] 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] close(3 [pid 5100] openat(AT_FDCWD, "./40/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] umount2("./42/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] newfstatat(4, "", [pid 5365] munmap(0x7f8438200000, 138412032 [pid 5100] <... openat resumed>) = 4 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] <... close resumed>) = 0 [pid 5100] newfstatat(4, "", [pid 5097] getdents64(4, [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5365] <... munmap resumed>) = 0 [pid 5100] getdents64(4, [pid 5365] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] getdents64(4, [pid 5100] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] close(4 [pid 5365] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] close(4 [pid 5365] close(4 [pid 5100] <... close resumed>) = 0 [pid 5097] <... close resumed>) = 0 [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5368 [pid 5100] rmdir("./40/file1") = 0 [pid 5097] rmdir("./42/file1") = 0 ./strace-static-x86_64: Process 5368 attached [pid 5100] getdents64(3, [pid 5097] getdents64(3, [pid 5368] set_robust_list(0x55556fbaa660, 24 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] close(3 [pid 5097] close(3 [pid 5100] <... close resumed>) = 0 [pid 5100] rmdir("./40" [pid 5097] <... close resumed>) = 0 [pid 5365] <... close resumed>) = 0 [pid 5100] <... rmdir resumed>) = 0 [pid 5097] rmdir("./42" [pid 5365] exit_group(0 [pid 5097] <... rmdir resumed>) = 0 [pid 5368] <... set_robust_list resumed>) = 0 [pid 5368] chdir("./42") = 0 [pid 5368] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5100] mkdir("./41", 0777 [pid 5368] setpgid(0, 0) = 0 [pid 5365] <... exit_group resumed>) = ? [pid 5100] <... mkdir resumed>) = 0 [pid 5099] <... umount2 resumed>) = 0 [pid 5097] mkdir("./43", 0777 [pid 5368] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5367] <... write resumed>) = 524288 [pid 5097] <... mkdir resumed>) = 0 [pid 5368] <... openat resumed>) = 3 [pid 5368] write(3, "1000", 4 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5368] <... write resumed>) = 4 [pid 5097] <... openat resumed>) = 3 [pid 5368] close(3 [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5368] <... close resumed>) = 0 [pid 5368] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5368] write(1, "executing program\n", 18 [pid 5367] munmap(0x7f8438200000, 138412032 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5367] <... munmap resumed>) = 0 [pid 5100] <... openat resumed>) = 3 [pid 5099] umount2("./42/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5365] +++ exited with 0 +++ [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] newfstatat(AT_FDCWD, "./42/file1", [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5365, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] umount2("./42", MNT_FORCE|UMOUNT_NOFOLLOWexecuting program [pid 5099] umount2("./42/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5368] <... write resumed>) = 18 [pid 5367] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./42", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5368] memfd_create("syzkaller", 0 [pid 5367] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] openat(AT_FDCWD, "./42/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] <... openat resumed>) = 3 [pid 5368] <... memfd_create resumed>) = 3 [pid 5367] close(4 [pid 5098] newfstatat(3, "", [pid 5368] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5099] <... openat resumed>) = 4 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5368] <... mmap resumed>) = 0x7f8438200000 [pid 5098] getdents64(3, [pid 5099] newfstatat(4, "", [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] umount2("./42/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./42/binderfs", [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 5099] getdents64(4, [pid 5098] unlink("./42/binderfs" [pid 5368] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] <... unlink resumed>) = 0 [pid 5097] <... ioctl resumed>) = 0 [pid 5098] umount2("./42/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5367] <... close resumed>) = 0 [pid 5099] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] close(4) = 0 [pid 5099] rmdir("./42/file1" [pid 5368] <... write resumed>) = 524288 [pid 5099] <... rmdir resumed>) = 0 [pid 5097] close(3 [pid 5368] munmap(0x7f8438200000, 138412032 [pid 5367] exit_group(0 [pid 5099] getdents64(3, [pid 5097] <... close resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5368] <... munmap resumed>) = 0 [pid 5099] close(3 [pid 5098] <... umount2 resumed>) = 0 ./strace-static-x86_64: Process 5369 attached [pid 5369] set_robust_list(0x55556fbaa660, 24 [pid 5368] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5367] <... exit_group resumed>) = ? [pid 5100] <... ioctl resumed>) = 0 [pid 5099] <... close resumed>) = 0 [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5369 [pid 5099] rmdir("./42" [pid 5368] <... openat resumed>) = 4 [pid 5367] +++ exited with 0 +++ [pid 5100] close(3 [pid 5099] <... rmdir resumed>) = 0 [pid 5098] umount2("./42/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5368] ioctl(4, LOOP_SET_FD, 3 [pid 5100] <... close resumed>) = 0 [pid 5099] mkdir("./43", 0777 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5367, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5098] newfstatat(AT_FDCWD, "./42/file1", [pid 5099] <... mkdir resumed>) = 0 [pid 5369] <... set_robust_list resumed>) = 0 [pid 5368] <... ioctl resumed>) = 0 [pid 5103] umount2("./41", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5369] chdir("./43" [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] umount2("./42/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] openat(AT_FDCWD, "./41", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5369] <... chdir resumed>) = 0 [pid 5103] <... openat resumed>) = 3 [pid 5098] openat(AT_FDCWD, "./42/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5103] newfstatat(3, "", [pid 5098] <... openat resumed>) = 4 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] newfstatat(4, "", [pid 5369] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5103] getdents64(3, [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] getdents64(4, [pid 5103] umount2("./41/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] getdents64(4, [pid 5369] <... prctl resumed>) = 0 [pid 5103] newfstatat(AT_FDCWD, "./41/binderfs", [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5369] setpgid(0, 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] close(4 [pid 5103] unlink("./41/binderfs" [pid 5098] <... close resumed>) = 0 [pid 5369] <... setpgid resumed>) = 0 [pid 5103] <... unlink resumed>) = 0 [pid 5098] rmdir("./42/file1" [pid 5369] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5103] umount2("./41/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... rmdir resumed>) = 0 [pid 5369] <... openat resumed>) = 3 [pid 5098] getdents64(3, [pid 5099] <... openat resumed>) = 3 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] close(3) = 0 [pid 5098] rmdir("./42" [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5098] <... rmdir resumed>) = 0 ./strace-static-x86_64: Process 5370 attached [pid 5369] write(3, "1000", 4 [pid 5368] close(3 [pid 5103] <... umount2 resumed>) = 0 [pid 5098] mkdir("./43", 0777 [pid 5370] set_robust_list(0x55556fbaa660, 24 [pid 5369] <... write resumed>) = 4 [pid 5368] <... close resumed>) = 0 [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5370 [pid 5098] <... mkdir resumed>) = 0 [pid 5370] <... set_robust_list resumed>) = 0 [pid 5368] close(4 [pid 5369] close(3 [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5370] chdir("./41" [pid 5369] <... close resumed>) = 0 [pid 5368] <... close resumed>) = 0 [pid 5370] <... chdir resumed>) = 0 [pid 5369] symlink("/dev/binderfs", "./binderfs" [pid 5368] mkdir("./file1", 0777 [pid 5098] <... openat resumed>) = 3 [ 138.894153][ T5368] loop4: detected capacity change from 0 to 1024 [pid 5370] prctl(PR_SET_PDEATHSIG, SIGKILLexecuting program ) = 0 [pid 5369] <... symlink resumed>) = 0 [pid 5368] <... mkdir resumed>) = 0 [pid 5103] umount2("./41/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5370] setpgid(0, 0 [pid 5368] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5370] <... setpgid resumed>) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5370] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5369] write(1, "executing program\n", 18) = 18 [pid 5369] memfd_create("syzkaller", 0) = 3 [pid 5369] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5370] <... openat resumed>) = 3 [pid 5103] newfstatat(AT_FDCWD, "./41/file1", [pid 5099] <... ioctl resumed>) = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5370] write(3, "1000", 4 [pid 5103] umount2("./41/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] close(3 [pid 5098] <... ioctl resumed>) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] openat(AT_FDCWD, "./41/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] <... close resumed>) = 0 [pid 5370] <... write resumed>) = 4 [pid 5369] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5370] close(3 [pid 5103] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5370] <... close resumed>) = 0 [pid 5103] getdents64(4, ./strace-static-x86_64: Process 5371 attached [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5371 [pid 5371] set_robust_list(0x55556fbaa660, 24 [pid 5370] symlink("/dev/binderfs", "./binderfs" [pid 5369] <... write resumed>) = 524288 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5371] <... set_robust_list resumed>) = 0 [pid 5370] <... symlink resumed>) = 0 [pid 5103] getdents64(4, executing program [pid 5371] chdir("./43" [pid 5370] write(1, "executing program\n", 18 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5371] <... chdir resumed>) = 0 [pid 5370] <... write resumed>) = 18 [pid 5103] close(4 [pid 5371] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5370] memfd_create("syzkaller", 0 [pid 5103] <... close resumed>) = 0 [pid 5371] <... prctl resumed>) = 0 [pid 5103] rmdir("./41/file1" [pid 5098] close(3 [pid 5103] <... rmdir resumed>) = 0 [pid 5098] <... close resumed>) = 0 [pid 5371] setpgid(0, 0 [pid 5370] <... memfd_create resumed>) = 3 [pid 5368] <... mount resumed>) = 0 [pid 5371] <... setpgid resumed>) = 0 [pid 5370] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5368] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5103] getdents64(3, [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5371] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5370] <... mmap resumed>) = 0x7f8438200000 [pid 5368] <... openat resumed>) = 3 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 ./strace-static-x86_64: Process 5372 attached [pid 5368] chdir("./file1" [pid 5103] close(3 [pid 5371] <... openat resumed>) = 3 [pid 5368] <... chdir resumed>) = 0 [pid 5103] <... close resumed>) = 0 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5372 [pid 5372] set_robust_list(0x55556fbaa660, 24 [pid 5368] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5103] rmdir("./41" [pid 5369] munmap(0x7f8438200000, 138412032 [pid 5368] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5369] <... munmap resumed>) = 0 [pid 5103] <... rmdir resumed>) = 0 [pid 5372] <... set_robust_list resumed>) = 0 [pid 5371] write(3, "1000", 4 [pid 5368] truncate("./file1", 0 [pid 5369] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5372] chdir("./43" [pid 5371] <... write resumed>) = 4 [pid 5370] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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("./42", 0777 [pid 5372] <... chdir resumed>) = 0 [pid 5371] close(3 [pid 5369] <... openat resumed>) = 4 [pid 5371] <... close resumed>) = 0 [pid 5103] <... mkdir resumed>) = 0 [pid 5372] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5371] symlink("/dev/binderfs", "./binderfs" [pid 5370] <... write resumed>) = 524288 [pid 5369] ioctl(4, LOOP_SET_FD, 3 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5372] <... prctl resumed>) = 0 [pid 5371] <... symlink resumed>) = 0 executing program [pid 5372] setpgid(0, 0 [pid 5371] write(1, "executing program\n", 18 [pid 5370] munmap(0x7f8438200000, 138412032 [pid 5368] <... truncate resumed>) = 0 [pid 5103] <... openat resumed>) = 3 [pid 5372] <... setpgid resumed>) = 0 [pid 5371] <... write resumed>) = 18 [pid 5368] memfd_create("syzkaller", 0 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5371] memfd_create("syzkaller", 0 [pid 5368] <... memfd_create resumed>) = 4 [pid 5372] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5371] <... memfd_create resumed>) = 3 [pid 5368] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5371] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5368] <... mmap resumed>) = 0x7f8438200000 [pid 5372] <... openat resumed>) = 3 [pid 5371] <... mmap resumed>) = 0x7f8438200000 [pid 5372] write(3, "1000", 4 [pid 5370] <... munmap resumed>) = 0 [pid 5372] <... write resumed>) = 4 [pid 5372] close(3 [pid 5370] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5372] <... close resumed>) = 0 [pid 5370] <... openat resumed>) = 4 [pid 5372] symlink("/dev/binderfs", "./binderfs" [pid 5370] ioctl(4, LOOP_SET_FD, 3 [pid 5369] <... ioctl resumed>) = 0 [pid 5372] <... symlink resumed>) = 0 [pid 5369] close(3) = 0 [pid 5369] close(4) = 0 [pid 5369] mkdir("./file1", 0777executing program [pid 5372] write(1, "executing program\n", 18 [pid 5371] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5370] <... ioctl resumed>) = 0 [pid 5369] <... mkdir resumed>) = 0 [pid 5368] 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 5372] <... write resumed>) = 18 [pid 5372] memfd_create("syzkaller", 0) = 3 [pid 5372] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5370] close(3 [pid 5103] <... ioctl resumed>) = 0 [pid 5372] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5370] <... close resumed>) = 0 [pid 5369] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5103] close(3 [pid 5370] close(4 [pid 5103] <... close resumed>) = 0 [pid 5370] <... close resumed>) = 0 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5370] mkdir("./file1", 0777 [pid 5369] <... mount resumed>) = 0 [pid 5369] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5370] <... mkdir resumed>) = 0 [ 139.040284][ T5369] loop0: detected capacity change from 0 to 1024 [ 139.064970][ T5370] loop3: detected capacity change from 0 to 1024 [pid 5369] <... openat resumed>) = 3 ./strace-static-x86_64: Process 5373 attached [pid 5372] <... write resumed>) = 524288 [pid 5371] <... write resumed>) = 524288 [pid 5370] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5369] chdir("./file1" [pid 5368] <... write resumed>) = 524288 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5373 [pid 5373] set_robust_list(0x55556fbaa660, 24 [pid 5372] munmap(0x7f8438200000, 138412032 [pid 5370] <... mount resumed>) = 0 [pid 5369] <... chdir resumed>) = 0 [pid 5371] munmap(0x7f8438200000, 138412032 [pid 5369] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5373] <... set_robust_list resumed>) = 0 [pid 5372] <... munmap resumed>) = 0 [pid 5371] <... munmap resumed>) = 0 [pid 5370] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5369] truncate("./file1", 0 [pid 5373] chdir("./42") = 0 [pid 5372] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5370] <... openat resumed>) = 3 [pid 5373] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5370] chdir("./file1" [pid 5373] <... prctl resumed>) = 0 [pid 5372] <... openat resumed>) = 4 [pid 5371] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5369] <... truncate resumed>) = 0 [pid 5368] munmap(0x7f8438200000, 138412032 [pid 5370] <... chdir resumed>) = 0 [pid 5373] setpgid(0, 0 [pid 5372] ioctl(4, LOOP_SET_FD, 3 [pid 5371] <... openat resumed>) = 4 [pid 5370] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5369] memfd_create("syzkaller", 0 [pid 5368] <... munmap resumed>) = 0 [pid 5373] <... setpgid resumed>) = 0 [pid 5371] ioctl(4, LOOP_SET_FD, 3 [pid 5369] <... memfd_create resumed>) = 4 [pid 5368] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5373] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5370] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5369] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5370] truncate("./file1", 0 [pid 5368] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5368] close(4 [pid 5373] <... openat resumed>) = 3 [pid 5373] write(3, "1000", 4 [pid 5369] <... mmap resumed>) = 0x7f8438200000 [pid 5373] <... write resumed>) = 4 [pid 5373] close(3 [pid 5370] <... truncate resumed>) = 0 [pid 5369] 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 5368] <... close resumed>) = 0 [pid 5373] <... close resumed>) = 0 [pid 5372] <... ioctl resumed>) = 0 [pid 5370] memfd_create("syzkaller", 0 [pid 5372] close(3 [pid 5373] symlink("/dev/binderfs", "./binderfs" [pid 5372] <... close resumed>) = 0 [pid 5371] <... ioctl resumed>) = 0 [pid 5370] <... memfd_create resumed>) = 4 [pid 5370] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5372] close(4 [pid 5373] <... symlink resumed>) = 0 [pid 5372] <... close resumed>) = 0 [pid 5371] close(3 [pid 5372] mkdir("./file1", 0777 [pid 5370] <... mmap resumed>) = 0x7f8438200000 [pid 5373] write(1, "executing program\n", 18executing program [pid 5371] <... close resumed>) = 0 [pid 5373] <... write resumed>) = 18 [pid 5372] <... mkdir resumed>) = 0 [pid 5371] close(4) = 0 [pid 5373] memfd_create("syzkaller", 0 [pid 5371] mkdir("./file1", 0777 [pid 5373] <... memfd_create resumed>) = 3 [pid 5372] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5371] <... mkdir resumed>) = 0 [pid 5373] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5371] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5373] <... mmap resumed>) = 0x7f8438200000 [pid 5368] exit_group(0) = ? [pid 5370] 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 5368] +++ exited with 0 +++ [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5368, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5101] restart_syscall(<... resuming interrupted clone ...> [pid 5373] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5371] <... mount resumed>) = 0 [pid 5101] <... restart_syscall resumed>) = 0 [ 139.157361][ T5372] loop1: detected capacity change from 0 to 1024 [ 139.158664][ T5371] loop2: detected capacity change from 0 to 1024 [pid 5371] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5101] umount2("./42", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] openat(AT_FDCWD, "./42", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5101] newfstatat(3, "", [pid 5371] <... openat resumed>) = 3 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] getdents64(3, [pid 5372] <... mount resumed>) = 0 [pid 5371] chdir("./file1" [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5372] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5371] <... chdir resumed>) = 0 [pid 5101] umount2("./42/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5372] <... openat resumed>) = 3 [pid 5371] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5369] <... write resumed>) = 524288 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5371] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] newfstatat(AT_FDCWD, "./42/binderfs", [pid 5371] truncate("./file1", 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5372] chdir("./file1" [pid 5370] <... write resumed>) = 524288 [pid 5101] unlink("./42/binderfs" [pid 5372] <... chdir resumed>) = 0 [pid 5370] munmap(0x7f8438200000, 138412032 [pid 5369] munmap(0x7f8438200000, 138412032 [pid 5101] <... unlink resumed>) = 0 [pid 5372] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5371] <... truncate resumed>) = 0 [pid 5369] <... munmap resumed>) = 0 [pid 5101] umount2("./42/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5372] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5371] memfd_create("syzkaller", 0 [pid 5372] truncate("./file1", 0 [pid 5371] <... memfd_create resumed>) = 4 [pid 5370] <... munmap resumed>) = 0 [pid 5371] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5370] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5369] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5371] <... mmap resumed>) = 0x7f8438200000 [pid 5373] <... write resumed>) = 524288 [pid 5371] 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 5369] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5370] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] <... umount2 resumed>) = 0 [pid 5370] close(4 [pid 5369] close(4) = 0 [pid 5373] munmap(0x7f8438200000, 138412032 [pid 5101] umount2("./42/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] newfstatat(AT_FDCWD, "./42/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5373] <... munmap resumed>) = 0 [pid 5371] <... write resumed>) = 524288 [pid 5101] umount2("./42/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5372] <... truncate resumed>) = 0 [pid 5370] <... close resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] openat(AT_FDCWD, "./42/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5373] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5369] exit_group(0 [pid 5101] <... openat resumed>) = 4 [pid 5372] memfd_create("syzkaller", 0 [pid 5370] exit_group(0 [pid 5373] <... openat resumed>) = 4 [pid 5372] <... memfd_create resumed>) = 4 [pid 5371] munmap(0x7f8438200000, 138412032 [pid 5370] <... exit_group resumed>) = ? [pid 5369] <... exit_group resumed>) = ? [pid 5101] newfstatat(4, "", [pid 5373] ioctl(4, LOOP_SET_FD, 3 [pid 5372] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5371] <... munmap resumed>) = 0 [pid 5369] +++ exited with 0 +++ [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5370] +++ exited with 0 +++ [pid 5101] getdents64(4, [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5369, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5101] getdents64(4, [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5370, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] restart_syscall(<... resuming interrupted clone ...> [pid 5101] close(4) = 0 [pid 5100] <... restart_syscall resumed>) = 0 [pid 5101] rmdir("./42/file1" [pid 5372] <... mmap resumed>) = 0x7f8438200000 [pid 5371] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5101] <... rmdir resumed>) = 0 [pid 5371] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] getdents64(3, [pid 5100] umount2("./41", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5371] close(4 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5372] 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] close(3 [pid 5100] openat(AT_FDCWD, "./41", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] <... close resumed>) = 0 [pid 5373] <... ioctl resumed>) = 0 [pid 5373] close(3 [pid 5100] <... openat resumed>) = 3 [pid 5373] <... close resumed>) = 0 [pid 5097] umount2("./43", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] openat(AT_FDCWD, "./43", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5097] newfstatat(3, "", [pid 5101] rmdir("./42" [pid 5100] newfstatat(3, "", [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5373] close(4 [pid 5097] getdents64(3, [pid 5373] <... close resumed>) = 0 [pid 5371] <... close resumed>) = 0 [pid 5101] <... rmdir resumed>) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5373] mkdir("./file1", 0777 [pid 5097] umount2("./43/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] mkdir("./43", 0777 [pid 5100] getdents64(3, [pid 5373] <... mkdir resumed>) = 0 [pid 5101] <... mkdir resumed>) = 0 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5371] exit_group(0 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5100] umount2("./41/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] newfstatat(AT_FDCWD, "./43/binderfs", [pid 5371] <... exit_group resumed>) = ? [pid 5101] <... openat resumed>) = 3 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5371] +++ exited with 0 +++ [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5100] newfstatat(AT_FDCWD, "./41/binderfs", [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] <... ioctl resumed>) = 0 [pid 5100] <... 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=5371, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5373] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5097] unlink("./43/binderfs" [pid 5101] close(3 [pid 5100] unlink("./41/binderfs" [pid 5097] <... unlink resumed>) = 0 [pid 5101] <... close resumed>) = 0 [pid 5100] <... unlink resumed>) = 0 [ 139.316082][ T5373] loop5: detected capacity change from 0 to 1024 [pid 5097] umount2("./43/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5100] umount2("./41/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] umount2("./43", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "./43", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5374 [pid 5099] <... openat resumed>) = 3 [pid 5099] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] getdents64(3, ./strace-static-x86_64: Process 5374 attached [pid 5374] set_robust_list(0x55556fbaa660, 24 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] umount2("./43/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5374] <... set_robust_list resumed>) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5374] chdir("./43") = 0 [pid 5374] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5099] newfstatat(AT_FDCWD, "./43/binderfs", [pid 5097] <... umount2 resumed>) = 0 [pid 5374] setpgid(0, 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5374] <... setpgid resumed>) = 0 [pid 5374] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5100] <... umount2 resumed>) = 0 [pid 5099] unlink("./43/binderfs") = 0 [pid 5374] write(3, "1000", 4 [pid 5099] umount2("./43/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5374] <... write resumed>) = 4 [pid 5374] close(3) = 0 [pid 5374] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5373] <... mount resumed>) = 0 [pid 5097] umount2("./43/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] umount2("./41/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5373] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(AT_FDCWD, "./43/file1", [pid 5372] <... write resumed>) = 524288 [pid 5100] newfstatat(AT_FDCWD, "./41/file1", executing program [pid 5374] write(1, "executing program\n", 18 [pid 5373] <... openat resumed>) = 3 [pid 5372] munmap(0x7f8438200000, 138412032 [pid 5100] <... 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 5373] chdir("./file1" [pid 5374] <... write resumed>) = 18 [pid 5373] <... chdir resumed>) = 0 [pid 5372] <... munmap resumed>) = 0 [pid 5100] umount2("./41/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] umount2("./43/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5373] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5374] memfd_create("syzkaller", 0 [pid 5373] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5373] truncate("./file1", 0 [pid 5100] openat(AT_FDCWD, "./41/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] openat(AT_FDCWD, "./43/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5372] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5374] <... memfd_create resumed>) = 3 [pid 5374] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5097] <... openat resumed>) = 4 [pid 5374] <... mmap resumed>) = 0x7f8438200000 [pid 5372] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] <... openat resumed>) = 4 [pid 5097] newfstatat(4, "", [pid 5372] close(4 [pid 5100] newfstatat(4, "", [pid 5097] <... 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 5097] getdents64(4, [pid 5373] <... truncate resumed>) = 0 [pid 5100] getdents64(4, [pid 5373] memfd_create("syzkaller", 0 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5373] <... memfd_create resumed>) = 4 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] getdents64(4, [pid 5374] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5373] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5372] <... close resumed>) = 0 [pid 5099] <... umount2 resumed>) = 0 [pid 5373] <... mmap resumed>) = 0x7f8438200000 [pid 5372] exit_group(0 [pid 5100] getdents64(4, [pid 5099] umount2("./43/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] close(4 [pid 5373] 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 5372] <... exit_group resumed>) = ? [pid 5100] close(4 [pid 5099] newfstatat(AT_FDCWD, "./43/file1", [pid 5097] <... close resumed>) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] <... close resumed>) = 0 [pid 5097] rmdir("./43/file1" [pid 5372] +++ exited with 0 +++ [pid 5100] rmdir("./41/file1" [pid 5099] umount2("./43/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5372, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5097] <... rmdir resumed>) = 0 [pid 5098] umount2("./43", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./43", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... openat resumed>) = 3 [pid 5100] <... rmdir resumed>) = 0 [pid 5099] openat(AT_FDCWD, "./43/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] newfstatat(3, "", [pid 5097] getdents64(3, [pid 5099] <... openat resumed>) = 4 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] getdents64(3, [pid 5099] newfstatat(4, "", [pid 5098] getdents64(3, [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] close(3 [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] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5097] <... close resumed>) = 0 [pid 5100] close(3 [pid 5099] getdents64(4, [pid 5098] umount2("./43/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] rmdir("./43" [pid 5100] <... close resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] rmdir("./41" [pid 5097] <... rmdir resumed>) = 0 [pid 5098] newfstatat(AT_FDCWD, "./43/binderfs", [pid 5097] mkdir("./44", 0777 [pid 5099] getdents64(4, [pid 5374] <... write resumed>) = 524288 [pid 5100] <... rmdir resumed>) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5374] munmap(0x7f8438200000, 138412032) = 0 [pid 5100] mkdir("./42", 0777 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] unlink("./43/binderfs" [pid 5097] <... mkdir resumed>) = 0 [pid 5100] <... mkdir resumed>) = 0 [pid 5099] close(4 [pid 5098] <... unlink resumed>) = 0 [pid 5374] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5099] <... close resumed>) = 0 [pid 5098] umount2("./43/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5099] rmdir("./43/file1" [pid 5374] <... openat resumed>) = 4 [pid 5099] <... rmdir resumed>) = 0 [pid 5097] <... openat resumed>) = 3 [pid 5374] ioctl(4, LOOP_SET_FD, 3 [pid 5100] <... openat resumed>) = 3 [pid 5099] getdents64(3, [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5373] <... write resumed>) = 524288 [pid 5100] <... ioctl resumed>) = 0 [pid 5099] close(3 [pid 5373] munmap(0x7f8438200000, 138412032 [pid 5100] close(3 [pid 5373] <... munmap resumed>) = 0 [pid 5100] <... close resumed>) = 0 [pid 5099] <... close resumed>) = 0 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5099] rmdir("./43"./strace-static-x86_64: Process 5375 attached [pid 5373] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5099] <... rmdir resumed>) = 0 [pid 5098] <... umount2 resumed>) = 0 [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5375 [pid 5374] <... ioctl resumed>) = 0 [pid 5374] close(3) = 0 [pid 5373] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5374] close(4) = 0 [pid 5374] mkdir("./file1", 0777) = 0 [pid 5374] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5375] set_robust_list(0x55556fbaa660, 24 [pid 5373] close(4 [pid 5099] mkdir("./44", 0777) = 0 [pid 5375] <... set_robust_list resumed>) = 0 [ 139.547033][ T5374] loop4: detected capacity change from 0 to 1024 [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5375] chdir("./42" [pid 5099] <... openat resumed>) = 3 [pid 5098] umount2("./43/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5375] <... chdir resumed>) = 0 [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5375] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5099] <... ioctl resumed>) = 0 [pid 5098] newfstatat(AT_FDCWD, "./43/file1", [pid 5374] <... mount resumed>) = 0 [pid 5374] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5375] <... prctl resumed>) = 0 [pid 5099] close(3 [pid 5375] setpgid(0, 0 [pid 5374] <... openat resumed>) = 3 [pid 5373] <... close resumed>) = 0 [pid 5099] <... close resumed>) = 0 [pid 5098] umount2("./43/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... ioctl resumed>) = 0 [pid 5375] <... setpgid resumed>) = 0 [pid 5374] chdir("./file1") = 0 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5375] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] close(3 [pid 5374] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5373] exit_group(0 [pid 5375] <... openat resumed>) = 3 [pid 5374] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5373] <... exit_group resumed>) = ? [pid 5098] openat(AT_FDCWD, "./43/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] <... close resumed>) = 0 ./strace-static-x86_64: Process 5376 attached [pid 5375] write(3, "1000", 4 [pid 5374] truncate("./file1", 0 [pid 5098] <... openat resumed>) = 4 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5376] set_robust_list(0x55556fbaa660, 24 [pid 5375] <... write resumed>) = 4 [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5376 [pid 5098] newfstatat(4, "", [pid 5376] <... set_robust_list resumed>) = 0 [pid 5376] chdir("./44" [pid 5375] close(3 [pid 5373] +++ exited with 0 +++ [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5376] <... chdir resumed>) = 0 [pid 5375] <... close resumed>) = 0 [pid 5098] getdents64(4, ./strace-static-x86_64: Process 5377 attached [pid 5376] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5375] symlink("/dev/binderfs", "./binderfs" [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5373, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5377 [pid 5376] <... prctl resumed>) = 0 [pid 5103] restart_syscall(<... resuming interrupted clone ...> [pid 5377] set_robust_list(0x55556fbaa660, 24 [pid 5376] setpgid(0, 0 [pid 5375] <... symlink resumed>) = 0 [pid 5103] <... restart_syscall resumed>) = 0 [pid 5098] getdents64(4, executing program [pid 5376] <... setpgid resumed>) = 0 [pid 5376] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5103] umount2("./42", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5377] <... set_robust_list resumed>) = 0 [pid 5375] write(1, "executing program\n", 18 [pid 5098] close(4 [pid 5377] chdir("./44" [pid 5375] <... write resumed>) = 18 [pid 5374] <... truncate resumed>) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... close resumed>) = 0 [pid 5377] <... chdir resumed>) = 0 [pid 5376] write(3, "1000", 4 [pid 5375] memfd_create("syzkaller", 0 [pid 5374] memfd_create("syzkaller", 0 [pid 5103] openat(AT_FDCWD, "./42", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] rmdir("./43/file1" [pid 5377] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5376] <... write resumed>) = 4 [pid 5374] <... memfd_create resumed>) = 4 [pid 5103] <... openat resumed>) = 3 [pid 5377] <... prctl resumed>) = 0 [pid 5098] <... rmdir resumed>) = 0 [pid 5376] close(3 [pid 5374] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] newfstatat(3, "", [pid 5377] setpgid(0, 0 [pid 5098] getdents64(3, [pid 5377] <... setpgid resumed>) = 0 [pid 5376] <... close resumed>) = 0 [pid 5375] <... memfd_create resumed>) = 3 [pid 5374] <... mmap resumed>) = 0x7f8438200000 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5377] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5376] symlink("/dev/binderfs", "./binderfs" [pid 5375] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5374] 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(3, [pid 5098] close(3 [pid 5377] <... openat resumed>) = 3 [pid 5376] <... symlink resumed>) = 0 [pid 5375] <... mmap resumed>) = 0x7f8438200000 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5377] write(3, "1000", 4executing program [pid 5376] write(1, "executing program\n", 18 [pid 5103] umount2("./42/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... close resumed>) = 0 [pid 5377] <... write resumed>) = 4 [pid 5374] <... write resumed>) = 524288 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] newfstatat(AT_FDCWD, "./42/binderfs", [pid 5377] close(3 [pid 5375] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] rmdir("./43" [pid 5377] <... close resumed>) = 0 [pid 5377] symlink("/dev/binderfs", "./binderfs" [pid 5376] <... write resumed>) = 18 [pid 5376] memfd_create("syzkaller", 0) = 3 executing program [pid 5377] <... symlink resumed>) = 0 [pid 5376] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] unlink("./42/binderfs" [pid 5098] <... rmdir resumed>) = 0 [pid 5377] write(1, "executing program\n", 18) = 18 [pid 5376] <... mmap resumed>) = 0x7f8438200000 [pid 5103] <... unlink resumed>) = 0 [pid 5098] mkdir("./44", 0777 [pid 5377] memfd_create("syzkaller", 0 [pid 5376] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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("./42/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... mkdir resumed>) = 0 [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5377] <... memfd_create resumed>) = 3 [pid 5098] <... openat resumed>) = 3 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5374] munmap(0x7f8438200000, 138412032) = 0 [pid 5374] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5377] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5375] <... write resumed>) = 524288 [pid 5374] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5377] <... mmap resumed>) = 0x7f8438200000 [pid 5376] <... write resumed>) = 524288 [pid 5374] close(4 [pid 5377] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5375] munmap(0x7f8438200000, 138412032 [pid 5103] <... umount2 resumed>) = 0 [pid 5376] munmap(0x7f8438200000, 138412032 [pid 5375] <... munmap resumed>) = 0 [pid 5374] <... close resumed>) = 0 [pid 5376] <... munmap resumed>) = 0 [pid 5375] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5376] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5375] <... openat resumed>) = 4 [pid 5103] umount2("./42/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5376] <... openat resumed>) = 4 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5376] ioctl(4, LOOP_SET_FD, 3 [pid 5103] newfstatat(AT_FDCWD, "./42/file1", [pid 5375] ioctl(4, LOOP_SET_FD, 3 [pid 5374] exit_group(0) = ? [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5374] +++ exited with 0 +++ [pid 5103] umount2("./42/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... ioctl resumed>) = 0 [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5374, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5377] <... write resumed>) = 524288 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] openat(AT_FDCWD, "./42/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] umount2("./43", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] <... openat resumed>) = 4 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] newfstatat(4, "", [pid 5101] openat(AT_FDCWD, "./43", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] <... openat resumed>) = 3 [pid 5103] getdents64(4, [pid 5101] newfstatat(3, "", [pid 5377] munmap(0x7f8438200000, 138412032 [pid 5375] <... ioctl resumed>) = 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 5098] close(3 [pid 5103] getdents64(4, [pid 5101] getdents64(3, [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5103] close(4 [pid 5101] umount2("./43/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] <... close resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5377] <... munmap resumed>) = 0 [pid 5375] close(3 [pid 5103] rmdir("./42/file1" [pid 5101] newfstatat(AT_FDCWD, "./43/binderfs", [pid 5098] <... close resumed>) = 0 [pid 5375] <... close resumed>) = 0 [pid 5103] <... rmdir resumed>) = 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5375] close(4 [pid 5103] getdents64(3, [pid 5101] unlink("./43/binderfs" [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5377] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5376] <... ioctl resumed>) = 0 [pid 5375] <... close resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5101] <... unlink resumed>) = 0 [pid 5376] close(3 [pid 5375] mkdir("./file1", 0777 [pid 5101] umount2("./43/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5376] <... close resumed>) = 0 [pid 5103] close(3 [pid 5376] close(4 [pid 5103] <... close resumed>) = 0 [pid 5376] <... close resumed>) = 0 [pid 5103] rmdir("./42" [ 139.787407][ T5376] loop2: detected capacity change from 0 to 1024 [ 139.795796][ T5375] loop3: detected capacity change from 0 to 1024 [pid 5376] mkdir("./file1", 0777 [pid 5375] <... mkdir resumed>) = 0 [pid 5103] <... rmdir resumed>) = 0 [pid 5377] <... openat resumed>) = 4 [pid 5376] <... mkdir resumed>) = 0 [pid 5101] <... umount2 resumed>) = 0 [pid 5101] umount2("./43/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5103] mkdir("./43", 0777 [pid 5101] newfstatat(AT_FDCWD, "./43/file1", ./strace-static-x86_64: Process 5378 attached [pid 5377] ioctl(4, LOOP_SET_FD, 3 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5378] set_robust_list(0x55556fbaa660, 24 [pid 5375] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5378 [pid 5378] <... set_robust_list resumed>) = 0 [pid 5376] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5103] <... mkdir resumed>) = 0 [pid 5101] umount2("./43/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5378] chdir("./44" [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5378] <... chdir resumed>) = 0 [pid 5101] openat(AT_FDCWD, "./43/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5378] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5101] <... openat resumed>) = 4 [pid 5378] <... prctl resumed>) = 0 [pid 5101] newfstatat(4, "", [pid 5378] setpgid(0, 0 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5378] <... setpgid resumed>) = 0 [pid 5103] <... openat resumed>) = 3 [pid 5101] getdents64(4, [pid 5378] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5378] <... openat resumed>) = 3 [pid 5101] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5101] close(4 [pid 5378] write(3, "1000", 4 [pid 5101] <... close resumed>) = 0 [pid 5377] <... ioctl resumed>) = 0 [pid 5376] <... mount resumed>) = 0 [pid 5101] rmdir("./43/file1" [pid 5378] <... write resumed>) = 4 [pid 5377] close(3 [pid 5376] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5101] <... rmdir resumed>) = 0 [pid 5377] <... close resumed>) = 0 [pid 5378] close(3 [pid 5377] close(4 [pid 5376] <... openat resumed>) = 3 [pid 5101] getdents64(3, [pid 5378] <... close resumed>) = 0 [pid 5377] <... close resumed>) = 0 [pid 5376] chdir("./file1" [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5378] symlink("/dev/binderfs", "./binderfs" [pid 5376] <... chdir resumed>) = 0 [pid 5101] close(3 [pid 5378] <... symlink resumed>) = 0 [pid 5377] mkdir("./file1", 0777 [pid 5376] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5101] <... close resumed>) = 0 [pid 5376] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] rmdir("./43" [pid 5378] write(1, "executing program\n", 18 [pid 5376] truncate("./file1", 0executing program [pid 5101] <... rmdir resumed>) = 0 [pid 5378] <... write resumed>) = 18 [ 139.858727][ T5377] loop0: detected capacity change from 0 to 1024 [pid 5377] <... mkdir resumed>) = 0 [pid 5101] mkdir("./44", 0777 [pid 5378] memfd_create("syzkaller", 0 [pid 5376] <... truncate resumed>) = 0 [pid 5375] <... mount resumed>) = 0 [pid 5378] <... memfd_create resumed>) = 3 [pid 5376] memfd_create("syzkaller", 0 [pid 5375] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5101] <... mkdir resumed>) = 0 [pid 5377] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5378] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] <... ioctl resumed>) = 0 [pid 5377] <... mount resumed>) = 0 [pid 5375] <... openat resumed>) = 3 [pid 5376] <... memfd_create resumed>) = 4 [pid 5375] chdir("./file1") = 0 [pid 5378] <... mmap resumed>) = 0x7f8438200000 [pid 5377] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5376] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5378] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5377] <... openat resumed>) = 3 [pid 5376] <... mmap resumed>) = 0x7f8438200000 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5377] chdir("./file1" [pid 5375] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5377] <... chdir resumed>) = 0 [pid 5377] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5376] 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 5375] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] <... openat resumed>) = 3 [pid 5377] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5377] truncate("./file1", 0 [pid 5378] <... write resumed>) = 524288 [pid 5377] <... truncate resumed>) = 0 [pid 5377] memfd_create("syzkaller", 0) = 4 [pid 5376] <... write resumed>) = 524288 [pid 5375] truncate("./file1", 0 [pid 5377] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5378] munmap(0x7f8438200000, 138412032 [pid 5377] <... mmap resumed>) = 0x7f8438200000 [pid 5376] munmap(0x7f8438200000, 138412032 [pid 5375] <... truncate resumed>) = 0 [pid 5103] close(3 [pid 5378] <... munmap resumed>) = 0 [pid 5378] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5376] <... munmap resumed>) = 0 [pid 5103] <... close resumed>) = 0 [pid 5378] <... openat resumed>) = 4 [pid 5376] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5378] ioctl(4, LOOP_SET_FD, 3 [pid 5377] 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 5376] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5375] memfd_create("syzkaller", 0 [pid 5376] close(4 [pid 5101] <... ioctl resumed>) = 0 ./strace-static-x86_64: Process 5379 attached [pid 5375] <... memfd_create resumed>) = 4 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5379 [pid 5101] close(3 [pid 5379] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5375] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] <... close resumed>) = 0 [pid 5379] chdir("./43" [pid 5375] <... mmap resumed>) = 0x7f8438200000 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5375] 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 5376] <... close resumed>) = 0 [pid 5379] <... chdir resumed>) = 0 [pid 5378] <... ioctl resumed>) = 0 [pid 5379] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5378] close(3 [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5380 ./strace-static-x86_64: Process 5380 attached [pid 5379] <... prctl resumed>) = 0 [pid 5378] <... close resumed>) = 0 [pid 5380] set_robust_list(0x55556fbaa660, 24 [pid 5379] setpgid(0, 0 [pid 5378] close(4 [pid 5376] exit_group(0 [pid 5380] <... set_robust_list resumed>) = 0 [pid 5378] <... close resumed>) = 0 [pid 5380] chdir("./44" [pid 5379] <... setpgid resumed>) = 0 [pid 5378] mkdir("./file1", 0777 [pid 5376] <... exit_group resumed>) = ? [ 140.016663][ T5378] loop1: detected capacity change from 0 to 1024 [pid 5380] <... chdir resumed>) = 0 [pid 5379] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5378] <... mkdir resumed>) = 0 [pid 5376] +++ exited with 0 +++ [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5376, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5380] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5379] <... openat resumed>) = 3 [pid 5378] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5377] <... write resumed>) = 524288 [pid 5380] <... prctl resumed>) = 0 [pid 5379] write(3, "1000", 4 [pid 5099] umount2("./44", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5380] setpgid(0, 0 [pid 5379] <... write resumed>) = 4 [pid 5379] close(3 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5380] <... setpgid resumed>) = 0 [pid 5099] openat(AT_FDCWD, "./44", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5379] <... close resumed>) = 0 [pid 5380] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5379] symlink("/dev/binderfs", "./binderfs" [pid 5099] <... openat resumed>) = 3 [pid 5380] <... openat resumed>) = 3 [pid 5379] <... symlink resumed>) = 0 [pid 5377] munmap(0x7f8438200000, 138412032 [pid 5375] <... write resumed>) = 524288 [pid 5099] newfstatat(3, "", [pid 5380] write(3, "1000", 4 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5380] <... write resumed>) = 4 [pid 5380] close(3 [pid 5379] write(1, "executing program\n", 18 [pid 5377] <... munmap resumed>) = 0 [pid 5099] getdents64(3, [pid 5380] <... close resumed>) = 0 executing program [pid 5380] symlink("/dev/binderfs", "./binderfs" [pid 5379] <... write resumed>) = 18 [pid 5377] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5377] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5379] memfd_create("syzkaller", 0 [pid 5380] <... symlink resumed>) = 0 [pid 5379] <... memfd_create resumed>) = 3 [pid 5377] close(4 [pid 5375] munmap(0x7f8438200000, 138412032 [pid 5099] umount2("./44/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5379] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5378] <... mount resumed>) = 0 [pid 5375] <... munmap resumed>) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5380] write(1, "executing program\n", 18 [pid 5379] <... mmap resumed>) = 0x7f8438200000 [pid 5378] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5377] <... close resumed>) = 0 [pid 5375] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5099] newfstatat(AT_FDCWD, "./44/binderfs", executing program [pid 5375] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5380] <... write resumed>) = 18 [pid 5378] <... openat resumed>) = 3 [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5380] memfd_create("syzkaller", 0 [pid 5379] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5378] chdir("./file1" [pid 5375] close(4 [pid 5099] unlink("./44/binderfs" [pid 5380] <... memfd_create resumed>) = 3 [pid 5378] <... chdir resumed>) = 0 [pid 5377] exit_group(0 [pid 5099] <... unlink resumed>) = 0 [pid 5380] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5378] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5377] <... exit_group resumed>) = ? [pid 5099] umount2("./44/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5380] <... mmap resumed>) = 0x7f8438200000 [pid 5377] +++ exited with 0 +++ [pid 5375] <... close resumed>) = 0 [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5377, si_uid=0, si_status=0, si_utime=0, si_stime=8 /* 0.08 s */} --- [pid 5097] umount2("./44", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] openat(AT_FDCWD, "./44", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5378] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5378] truncate("./file1", 0 [pid 5097] <... openat resumed>) = 3 [pid 5375] exit_group(0 [pid 5097] newfstatat(3, "", [pid 5380] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5378] <... truncate resumed>) = 0 [pid 5099] <... umount2 resumed>) = 0 [pid 5380] <... write resumed>) = 524288 [pid 5378] memfd_create("syzkaller", 0 [pid 5375] <... exit_group resumed>) = ? [pid 5099] umount2("./44/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5375] +++ exited with 0 +++ [pid 5097] getdents64(3, [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5375, 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] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5097] umount2("./44/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5378] <... memfd_create resumed>) = 4 [pid 5099] newfstatat(AT_FDCWD, "./44/file1", [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5378] 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_SYMLINK_NOFOLLOW) = 0 [pid 5378] <... mmap resumed>) = 0x7f8438200000 [pid 5099] umount2("./44/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] newfstatat(AT_FDCWD, "./44/binderfs", [pid 5100] umount2("./42", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "./44/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5100] openat(AT_FDCWD, "./42", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] unlink("./44/binderfs" [pid 5378] 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 resumed>) = 3 [pid 5099] <... openat resumed>) = 4 [pid 5097] <... unlink resumed>) = 0 [pid 5099] newfstatat(4, "", [pid 5097] umount2("./44/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] newfstatat(3, "", [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5380] munmap(0x7f8438200000, 138412032 [pid 5379] <... write resumed>) = 524288 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] getdents64(4, [pid 5380] <... munmap resumed>) = 0 [pid 5379] munmap(0x7f8438200000, 138412032 [pid 5100] getdents64(3, [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] close(4 [pid 5100] umount2("./42/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5380] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5379] <... munmap resumed>) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... close resumed>) = 0 [pid 5097] <... umount2 resumed>) = 0 [pid 5099] rmdir("./44/file1" [pid 5380] <... openat resumed>) = 4 [pid 5379] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5100] newfstatat(AT_FDCWD, "./42/binderfs", [pid 5099] <... rmdir resumed>) = 0 [pid 5380] ioctl(4, LOOP_SET_FD, 3 [pid 5379] <... openat resumed>) = 4 [pid 5378] <... write resumed>) = 524288 [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] getdents64(3, [pid 5097] umount2("./44/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] unlink("./42/binderfs" [pid 5099] close(3 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5379] ioctl(4, LOOP_SET_FD, 3 [pid 5378] munmap(0x7f8438200000, 138412032 [pid 5100] <... unlink resumed>) = 0 [pid 5099] <... close resumed>) = 0 [pid 5097] newfstatat(AT_FDCWD, "./44/file1", [pid 5380] <... ioctl resumed>) = 0 [pid 5379] <... ioctl resumed>) = 0 [pid 5378] <... munmap resumed>) = 0 [pid 5100] umount2("./42/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] rmdir("./44" [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5380] close(3 [pid 5099] <... rmdir resumed>) = 0 [pid 5097] umount2("./44/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5380] <... close resumed>) = 0 [pid 5380] close(4 [pid 5379] close(3 [pid 5099] mkdir("./45", 0777 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5380] <... close resumed>) = 0 [pid 5380] mkdir("./file1", 0777) = 0 [pid 5097] openat(AT_FDCWD, "./44/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5380] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5379] <... close resumed>) = 0 [pid 5097] <... openat resumed>) = 4 [pid 5379] close(4 [pid 5378] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5099] <... mkdir resumed>) = 0 [pid 5097] newfstatat(4, "", [pid 5379] <... close resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5379] mkdir("./file1", 0777 [pid 5378] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5379] <... mkdir resumed>) = 0 [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5097] getdents64(4, [pid 5379] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5378] close(4 [pid 5100] <... umount2 resumed>) = 0 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5380] <... mount resumed>) = 0 [pid 5380] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5380] chdir("./file1") = 0 [pid 5380] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5097] getdents64(4, [pid 5380] truncate("./file1", 0 [pid 5099] <... openat resumed>) = 3 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] close(4 [pid 5100] umount2("./42/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5097] <... close resumed>) = 0 [pid 5097] rmdir("./44/file1" [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5380] <... truncate resumed>) = 0 [ 140.270528][ T5380] loop4: detected capacity change from 0 to 1024 [ 140.282027][ T5379] loop5: detected capacity change from 0 to 1024 [pid 5100] newfstatat(AT_FDCWD, "./42/file1", [pid 5097] <... rmdir resumed>) = 0 [pid 5380] memfd_create("syzkaller", 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] getdents64(3, [pid 5100] umount2("./42/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] close(3 [pid 5380] <... memfd_create resumed>) = 4 [pid 5100] openat(AT_FDCWD, "./42/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] <... close resumed>) = 0 [pid 5097] rmdir("./44" [pid 5380] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] <... openat resumed>) = 4 [pid 5380] <... mmap resumed>) = 0x7f8438200000 [pid 5380] 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 5378] <... close resumed>) = 0 [pid 5100] newfstatat(4, "", [pid 5097] <... rmdir resumed>) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] mkdir("./45", 0777 [pid 5378] exit_group(0) = ? [pid 5100] getdents64(4, [pid 5097] <... mkdir resumed>) = 0 [pid 5380] <... write resumed>) = 524288 [pid 5379] <... mount resumed>) = 0 [pid 5378] +++ exited with 0 +++ [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5379] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5100] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5378, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5379] <... openat resumed>) = 3 [pid 5100] close(4 [pid 5098] restart_syscall(<... resuming interrupted clone ...> [pid 5097] <... openat resumed>) = 3 [pid 5379] chdir("./file1" [pid 5100] <... close resumed>) = 0 [pid 5098] <... restart_syscall resumed>) = 0 [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5379] <... chdir resumed>) = 0 [pid 5100] rmdir("./42/file1" [pid 5379] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5099] <... ioctl resumed>) = 0 [pid 5380] munmap(0x7f8438200000, 138412032) = 0 [pid 5098] umount2("./44", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5379] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5380] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5379] truncate("./file1", 0 [pid 5100] <... rmdir resumed>) = 0 [pid 5099] close(3 [pid 5098] openat(AT_FDCWD, "./44", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5380] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5380] close(4 [pid 5098] <... openat resumed>) = 3 [pid 5098] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5380] <... close resumed>) = 0 [pid 5099] <... close resumed>) = 0 [pid 5100] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5100] close(3 [pid 5098] getdents64(3, [pid 5100] <... close resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 ./strace-static-x86_64: Process 5381 attached [pid 5100] rmdir("./42" [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5381 [pid 5098] umount2("./44/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5381] set_robust_list(0x55556fbaa660, 24 [pid 5100] <... rmdir resumed>) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] mkdir("./43", 0777 [pid 5098] newfstatat(AT_FDCWD, "./44/binderfs", [pid 5381] <... set_robust_list resumed>) = 0 [pid 5380] exit_group(0 [pid 5379] <... truncate resumed>) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] <... ioctl resumed>) = 0 [pid 5379] memfd_create("syzkaller", 0 [pid 5100] <... mkdir resumed>) = 0 [pid 5098] unlink("./44/binderfs" [pid 5097] close(3 [pid 5379] <... memfd_create resumed>) = 4 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5098] <... unlink resumed>) = 0 [pid 5097] <... close resumed>) = 0 [pid 5379] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5098] umount2("./44/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5379] <... mmap resumed>) = 0x7f8438200000 [pid 5381] chdir("./45" [pid 5380] <... exit_group resumed>) = ? ./strace-static-x86_64: Process 5382 attached [pid 5381] <... chdir resumed>) = 0 [pid 5380] +++ exited with 0 +++ [pid 5379] 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 resumed>) = 3 [pid 5381] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5381] setpgid(0, 0) = 0 [pid 5381] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5380, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5098] <... umount2 resumed>) = 0 [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5382 [pid 5382] set_robust_list(0x55556fbaa660, 24 [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5382] <... set_robust_list resumed>) = 0 [pid 5382] chdir("./45" [pid 5381] <... openat resumed>) = 3 [pid 5382] <... chdir resumed>) = 0 [pid 5382] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5381] write(3, "1000", 4) = 4 [pid 5382] <... prctl resumed>) = 0 [pid 5381] close(3 [pid 5101] umount2("./44", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5382] setpgid(0, 0 [pid 5381] <... close resumed>) = 0 [pid 5379] <... write resumed>) = 524288 [pid 5098] umount2("./44/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5382] <... setpgid resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5381] symlink("/dev/binderfs", "./binderfs" [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5381] <... symlink resumed>) = 0 [pid 5098] newfstatat(AT_FDCWD, "./44/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] umount2("./44/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./44/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 5098] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] close(4) = 0 [pid 5098] rmdir("./44/file1" [pid 5382] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5379] munmap(0x7f8438200000, 138412032 [pid 5101] openat(AT_FDCWD, "./44", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORYexecuting program [pid 5382] <... openat resumed>) = 3 [pid 5381] write(1, "executing program\n", 18 [pid 5379] <... munmap resumed>) = 0 [pid 5101] <... openat resumed>) = 3 [pid 5100] <... ioctl resumed>) = 0 [pid 5098] <... rmdir resumed>) = 0 [pid 5382] write(3, "1000", 4 [pid 5379] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5101] newfstatat(3, "", [pid 5382] <... write resumed>) = 4 [pid 5382] close(3 [pid 5381] <... write resumed>) = 18 [pid 5379] <... 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 5098] getdents64(3, [pid 5382] <... close resumed>) = 0 [pid 5382] symlink("/dev/binderfs", "./binderfs" [pid 5101] getdents64(3, [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] close(3) = 0 [pid 5098] rmdir("./44" [pid 5382] <... symlink resumed>) = 0 [pid 5381] memfd_create("syzkaller", 0 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] <... rmdir resumed>) = 0 [pid 5382] write(1, "executing program\n", 18 [pid 5381] <... memfd_create resumed>) = 3 [pid 5381] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5098] mkdir("./45", 0777executing program [pid 5382] <... write resumed>) = 18 [pid 5381] <... mmap resumed>) = 0x7f8438200000 [pid 5379] close(4 [pid 5101] umount2("./44/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] close(3 [pid 5098] <... mkdir resumed>) = 0 [pid 5382] memfd_create("syzkaller", 0 [pid 5381] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5379] <... close resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] <... close resumed>) = 0 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5101] newfstatat(AT_FDCWD, "./44/binderfs", [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5382] <... memfd_create resumed>) = 3 [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5382] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] unlink("./44/binderfs" [pid 5382] <... mmap resumed>) = 0x7f8438200000 [pid 5101] <... unlink resumed>) = 0 ./strace-static-x86_64: Process 5383 attached [pid 5101] umount2("./44/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5383] set_robust_list(0x55556fbaa660, 24 [pid 5382] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5383 [pid 5379] exit_group(0 [pid 5383] <... set_robust_list resumed>) = 0 [pid 5383] chdir("./43" [pid 5379] <... exit_group resumed>) = ? [pid 5383] <... chdir resumed>) = 0 [pid 5382] <... write resumed>) = 524288 [pid 5379] +++ exited with 0 +++ [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5379, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5101] umount2("./44/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5383] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5383] <... prctl resumed>) = 0 [pid 5101] newfstatat(AT_FDCWD, "./44/file1", [pid 5103] umount2("./43", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5383] setpgid(0, 0 [pid 5382] munmap(0x7f8438200000, 138412032 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] umount2("./44/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] openat(AT_FDCWD, "./43", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5383] <... setpgid resumed>) = 0 [pid 5101] openat(AT_FDCWD, "./44/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5383] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5382] <... munmap resumed>) = 0 [pid 5103] <... openat resumed>) = 3 [pid 5101] <... openat resumed>) = 4 [pid 5103] newfstatat(3, "", [pid 5101] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5383] <... openat resumed>) = 3 [pid 5101] getdents64(4, [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] getdents64(3, [pid 5383] write(3, "1000", 4 [pid 5382] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5381] <... write resumed>) = 524288 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5383] <... write resumed>) = 4 [pid 5383] close(3) = 0 [pid 5382] <... openat resumed>) = 4 [pid 5381] munmap(0x7f8438200000, 138412032 [pid 5103] umount2("./43/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] getdents64(4, [pid 5383] symlink("/dev/binderfs", "./binderfs" [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5383] <... symlink resumed>) = 0 [pid 5103] newfstatat(AT_FDCWD, "./43/binderfs", [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5101] close(4executing program [pid 5383] write(1, "executing program\n", 18 [pid 5382] ioctl(4, LOOP_SET_FD, 3 [pid 5381] <... munmap resumed>) = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] <... close resumed>) = 0 [pid 5383] <... write resumed>) = 18 [pid 5101] rmdir("./44/file1" [pid 5098] <... ioctl resumed>) = 0 [pid 5101] <... rmdir resumed>) = 0 [pid 5101] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5101] close(3 [pid 5098] close(3 [pid 5101] <... close resumed>) = 0 [pid 5098] <... close resumed>) = 0 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5101] rmdir("./44") = 0 [pid 5101] mkdir("./45", 0777 [pid 5383] memfd_create("syzkaller", 0 [pid 5381] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5103] unlink("./43/binderfs" [pid 5383] <... memfd_create resumed>) = 3 [pid 5381] <... openat resumed>) = 4 [pid 5103] <... unlink resumed>) = 0 [pid 5101] <... mkdir resumed>) = 0 [pid 5383] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5381] ioctl(4, LOOP_SET_FD, 3 [pid 5103] umount2("./43/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5384 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5101] ioctl(3, LOOP_CLR_FD./strace-static-x86_64: Process 5384 attached [pid 5384] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5384] chdir("./45" [pid 5383] <... mmap resumed>) = 0x7f8438200000 [pid 5382] <... ioctl resumed>) = 0 [pid 5384] <... chdir resumed>) = 0 [pid 5384] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5382] close(3 [pid 5384] <... prctl resumed>) = 0 [pid 5382] <... close resumed>) = 0 [pid 5384] setpgid(0, 0 [pid 5382] close(4 [pid 5384] <... setpgid resumed>) = 0 [pid 5382] <... close resumed>) = 0 [pid 5384] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5382] mkdir("./file1", 0777 [pid 5384] <... openat resumed>) = 3 [pid 5384] write(3, "1000", 4) = 4 [pid 5382] <... mkdir resumed>) = 0 [pid 5384] close(3) = 0 executing program [pid 5384] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5382] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5103] <... umount2 resumed>) = 0 [pid 5384] write(1, "executing program\n", 18) = 18 [pid 5384] memfd_create("syzkaller", 0 [pid 5383] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5384] <... memfd_create resumed>) = 3 [pid 5384] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5381] <... ioctl resumed>) = 0 [pid 5384] <... mmap resumed>) = 0x7f8438200000 [pid 5381] close(3 [pid 5384] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5381] <... close resumed>) = 0 [ 140.580398][ T5382] loop0: detected capacity change from 0 to 1024 [ 140.601751][ T5381] loop2: detected capacity change from 0 to 1024 [pid 5381] close(4 [pid 5382] <... mount resumed>) = 0 [pid 5381] <... close resumed>) = 0 [pid 5103] umount2("./43/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5381] mkdir("./file1", 0777 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5382] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5103] newfstatat(AT_FDCWD, "./43/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5381] <... mkdir resumed>) = 0 [pid 5383] <... write resumed>) = 524288 [pid 5382] chdir("./file1" [pid 5381] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5103] umount2("./43/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5382] <... chdir resumed>) = 0 [pid 5382] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5382] truncate("./file1", 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5383] munmap(0x7f8438200000, 138412032 [pid 5382] <... truncate resumed>) = 0 [pid 5103] openat(AT_FDCWD, "./43/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5382] memfd_create("syzkaller", 0 [pid 5103] <... openat resumed>) = 4 [pid 5101] <... ioctl resumed>) = 0 [pid 5383] <... munmap resumed>) = 0 [pid 5382] <... memfd_create resumed>) = 4 [pid 5384] <... write resumed>) = 524288 [pid 5383] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5103] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5382] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5383] <... openat resumed>) = 4 [pid 5103] getdents64(4, [pid 5382] <... mmap resumed>) = 0x7f8438200000 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5101] close(3 [pid 5383] ioctl(4, LOOP_SET_FD, 3 [pid 5103] getdents64(4, [pid 5101] <... close resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5384] munmap(0x7f8438200000, 138412032 [pid 5103] close(4) = 0 [pid 5384] <... munmap resumed>) = 0 [pid 5103] rmdir("./43/file1") = 0 [pid 5384] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5385 [pid 5384] <... openat resumed>) = 4 [pid 5382] 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./strace-static-x86_64: Process 5385 attached [pid 5384] ioctl(4, LOOP_SET_FD, 3 [pid 5103] getdents64(3, [pid 5381] <... mount resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5381] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5103] close(3 [pid 5385] set_robust_list(0x55556fbaa660, 24 [pid 5383] <... ioctl resumed>) = 0 [pid 5381] <... openat resumed>) = 3 [pid 5103] <... close resumed>) = 0 [pid 5383] close(3 [pid 5381] chdir("./file1" [pid 5103] rmdir("./43" [pid 5383] <... close resumed>) = 0 [pid 5381] <... chdir resumed>) = 0 [pid 5385] <... set_robust_list resumed>) = 0 [pid 5385] chdir("./45" [pid 5383] close(4 [pid 5381] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5103] <... rmdir resumed>) = 0 [pid 5383] <... close resumed>) = 0 [pid 5385] <... chdir resumed>) = 0 [pid 5382] <... write resumed>) = 524288 [pid 5381] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5385] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5385] setpgid(0, 0) = 0 [pid 5385] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5381] truncate("./file1", 0 [pid 5383] mkdir("./file1", 0777 [pid 5385] <... openat resumed>) = 3 [pid 5103] mkdir("./44", 0777 [pid 5385] write(3, "1000", 4) = 4 [pid 5385] close(3 [pid 5384] <... ioctl resumed>) = 0 [pid 5385] <... close resumed>) = 0 [pid 5384] close(3 [pid 5382] munmap(0x7f8438200000, 138412032 [pid 5385] symlink("/dev/binderfs", "./binderfs" [pid 5384] <... close resumed>) = 0 [pid 5103] <... mkdir resumed>) = 0 [pid 5385] <... symlink resumed>) = 0 [pid 5384] close(4executing program [pid 5385] write(1, "executing program\n", 18 [pid 5384] <... close resumed>) = 0 [pid 5382] <... munmap resumed>) = 0 [pid 5385] <... write resumed>) = 18 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [ 140.699308][ T5383] loop3: detected capacity change from 0 to 1024 [ 140.729050][ T5384] loop1: detected capacity change from 0 to 1024 [pid 5384] mkdir("./file1", 0777 [pid 5385] memfd_create("syzkaller", 0 [pid 5384] <... mkdir resumed>) = 0 [pid 5383] <... mkdir resumed>) = 0 [pid 5382] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5381] <... truncate resumed>) = 0 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5385] <... memfd_create resumed>) = 3 [pid 5382] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5385] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5382] close(4 [pid 5385] <... mmap resumed>) = 0x7f8438200000 [pid 5383] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5382] <... close resumed>) = 0 [pid 5381] memfd_create("syzkaller", 0 [pid 5385] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5384] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5381] <... memfd_create resumed>) = 4 [pid 5381] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5383] <... mount resumed>) = 0 [pid 5381] 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 5382] exit_group(0) = ? [pid 5383] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5382] +++ exited with 0 +++ [pid 5383] <... openat resumed>) = 3 [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5382, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5383] chdir("./file1" [pid 5097] umount2("./45", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5383] <... chdir resumed>) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5383] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5097] openat(AT_FDCWD, "./45", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5383] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5381] <... write resumed>) = 524288 [pid 5097] <... openat resumed>) = 3 [pid 5097] newfstatat(3, "", [pid 5383] truncate("./file1", 0 [pid 5385] <... write resumed>) = 524288 [pid 5384] <... mount resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5384] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5097] getdents64(3, [pid 5384] <... openat resumed>) = 3 [pid 5384] chdir("./file1") = 0 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5383] <... truncate resumed>) = 0 [pid 5097] umount2("./45/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5384] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5384] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5383] memfd_create("syzkaller", 0 [pid 5097] newfstatat(AT_FDCWD, "./45/binderfs", [pid 5384] truncate("./file1", 0 [pid 5383] <... memfd_create resumed>) = 4 [pid 5383] 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 5383] <... mmap resumed>) = 0x7f8438200000 [pid 5385] munmap(0x7f8438200000, 138412032) = 0 [pid 5097] unlink("./45/binderfs" [pid 5385] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5097] <... unlink resumed>) = 0 [pid 5103] <... ioctl resumed>) = 0 [pid 5381] munmap(0x7f8438200000, 138412032 [pid 5385] ioctl(4, LOOP_SET_FD, 3 [pid 5384] <... truncate resumed>) = 0 [pid 5381] <... munmap resumed>) = 0 [pid 5384] memfd_create("syzkaller", 0 [pid 5103] close(3 [pid 5385] <... ioctl resumed>) = 0 [pid 5384] <... memfd_create resumed>) = 4 [pid 5383] 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 5381] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5103] <... close resumed>) = 0 [pid 5097] umount2("./45/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5381] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5385] close(3) = 0 [pid 5385] close(4) = 0 [pid 5385] mkdir("./file1", 0777) = 0 [pid 5384] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5381] close(4 [pid 5097] <... umount2 resumed>) = 0 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5386 [ 140.874380][ T5385] loop4: detected capacity change from 0 to 1024 [pid 5385] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, ""./strace-static-x86_64: Process 5386 attached ) = 0 [pid 5384] <... mmap resumed>) = 0x7f8438200000 [pid 5097] umount2("./45/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5385] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5386] set_robust_list(0x55556fbaa660, 24 [pid 5385] <... openat resumed>) = 3 [pid 5384] 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 resumed>) = -1 EINVAL (Invalid argument) [pid 5386] <... set_robust_list resumed>) = 0 [pid 5385] chdir("./file1" [pid 5097] newfstatat(AT_FDCWD, "./45/file1", [pid 5385] <... chdir resumed>) = 0 [pid 5386] chdir("./44" [pid 5385] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5386] <... chdir resumed>) = 0 [pid 5386] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5385] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5381] <... close resumed>) = 0 [pid 5097] umount2("./45/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5386] <... prctl resumed>) = 0 [pid 5385] truncate("./file1", 0 [pid 5386] setpgid(0, 0 [pid 5381] exit_group(0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5386] <... setpgid resumed>) = 0 [pid 5386] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5385] <... truncate resumed>) = 0 [pid 5383] <... write resumed>) = 524288 [pid 5381] <... exit_group resumed>) = ? [pid 5097] openat(AT_FDCWD, "./45/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5385] memfd_create("syzkaller", 0) = 4 [pid 5381] +++ exited with 0 +++ [pid 5097] <... openat resumed>) = 4 [pid 5386] <... openat resumed>) = 3 [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5381, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5097] newfstatat(4, "", [pid 5385] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5386] write(3, "1000", 4 [pid 5385] 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 5383] munmap(0x7f8438200000, 138412032 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] getdents64(4, [pid 5099] umount2("./45", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] getdents64(4, [pid 5099] openat(AT_FDCWD, "./45", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] <... openat resumed>) = 3 [pid 5097] close(4 [pid 5099] newfstatat(3, "", [pid 5386] <... write resumed>) = 4 [pid 5384] <... write resumed>) = 524288 [pid 5383] <... munmap resumed>) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] <... close resumed>) = 0 [pid 5386] close(3 [pid 5099] getdents64(3, [pid 5097] rmdir("./45/file1" [pid 5386] <... close resumed>) = 0 [pid 5384] munmap(0x7f8438200000, 138412032 [pid 5383] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5097] <... rmdir resumed>) = 0 [pid 5099] umount2("./45/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5386] symlink("/dev/binderfs", "./binderfs" [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] getdents64(3, [pid 5384] <... munmap resumed>) = 0 [pid 5386] <... symlink resumed>) = 0 [pid 5384] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5383] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] newfstatat(AT_FDCWD, "./45/binderfs", [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5384] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] close(3 [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] <... close resumed>) = 0 [pid 5386] write(1, "executing program\n", 18 [pid 5099] unlink("./45/binderfs" [pid 5097] rmdir("./45" [pid 5384] close(4 [pid 5383] close(4 [pid 5097] <... rmdir resumed>) = 0 [pid 5099] <... unlink resumed>) = 0 executing program [pid 5385] <... write resumed>) = 524288 [pid 5386] <... write resumed>) = 18 [pid 5383] <... close resumed>) = 0 [pid 5099] umount2("./45/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] mkdir("./46", 0777 [pid 5386] memfd_create("syzkaller", 0 [pid 5385] munmap(0x7f8438200000, 138412032 [pid 5384] <... close resumed>) = 0 [pid 5386] <... memfd_create resumed>) = 3 [pid 5385] <... munmap resumed>) = 0 [pid 5384] exit_group(0 [pid 5383] exit_group(0 [pid 5099] <... umount2 resumed>) = 0 [pid 5097] <... mkdir resumed>) = 0 [pid 5386] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5385] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5385] close(4 [pid 5386] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5384] <... exit_group resumed>) = ? [pid 5383] <... exit_group resumed>) = ? [pid 5099] umount2("./45/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... openat resumed>) = 3 [pid 5099] newfstatat(AT_FDCWD, "./45/file1", [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5385] <... close resumed>) = 0 [pid 5384] +++ exited with 0 +++ [pid 5383] +++ exited with 0 +++ [pid 5099] umount2("./45/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5383, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5384, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] restart_syscall(<... resuming interrupted clone ...> [pid 5385] exit_group(0 [pid 5100] umount2("./43", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] openat(AT_FDCWD, "./45/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] <... restart_syscall resumed>) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5385] <... exit_group resumed>) = ? [pid 5100] openat(AT_FDCWD, "./43", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] <... openat resumed>) = 4 [pid 5386] <... write resumed>) = 524288 [pid 5100] <... openat resumed>) = 3 [pid 5099] newfstatat(4, "", [pid 5386] munmap(0x7f8438200000, 138412032 [pid 5100] newfstatat(3, "", [pid 5098] umount2("./45", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5386] <... munmap resumed>) = 0 [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 5386] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5100] getdents64(3, [pid 5099] getdents64(4, [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5386] <... openat resumed>) = 4 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] openat(AT_FDCWD, "./45", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5386] ioctl(4, LOOP_SET_FD, 3 [pid 5100] umount2("./43/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] <... openat resumed>) = 3 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] getdents64(4, [pid 5098] newfstatat(3, "", [pid 5100] newfstatat(AT_FDCWD, "./43/binderfs", [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] close(4 [pid 5385] +++ exited with 0 +++ [pid 5100] unlink("./43/binderfs" [pid 5098] getdents64(3, [pid 5100] <... unlink resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5385, si_uid=0, si_status=0, si_utime=0, si_stime=8 /* 0.08 s */} --- [pid 5098] umount2("./45/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] restart_syscall(<... resuming interrupted clone ...> [pid 5100] umount2("./43/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] <... restart_syscall resumed>) = 0 [pid 5098] newfstatat(AT_FDCWD, "./45/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] umount2("./45", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] openat(AT_FDCWD, "./45", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] unlink("./45/binderfs" [pid 5101] <... openat resumed>) = 3 [pid 5098] <... unlink resumed>) = 0 [pid 5101] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] <... ioctl resumed>) = 0 [pid 5101] getdents64(3, [pid 5099] <... close resumed>) = 0 [pid 5098] umount2("./45/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5101] umount2("./45/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] newfstatat(AT_FDCWD, "./45/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] unlink("./45/binderfs") = 0 [pid 5100] <... umount2 resumed>) = 0 [pid 5101] umount2("./45/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] umount2("./43/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5386] <... ioctl resumed>) = 0 [pid 5099] rmdir("./45/file1" [pid 5097] close(3 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5386] close(3 [pid 5101] <... umount2 resumed>) = 0 [pid 5100] newfstatat(AT_FDCWD, "./43/file1", [pid 5099] <... rmdir resumed>) = 0 [pid 5098] <... umount2 resumed>) = 0 [pid 5097] <... close resumed>) = 0 [pid 5386] <... close resumed>) = 0 [pid 5101] umount2("./45/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] getdents64(3, [pid 5386] close(4 [ 141.073550][ T5386] loop5: detected capacity change from 0 to 1024 [pid 5098] umount2("./45/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5386] <... close resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] umount2("./43/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5386] mkdir("./file1", 0777 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5386] <... mkdir resumed>) = 0 [pid 5100] openat(AT_FDCWD, "./43/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5100] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5386] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5101] newfstatat(AT_FDCWD, "./45/file1", [pid 5099] close(3 [pid 5098] newfstatat(AT_FDCWD, "./45/file1", ./strace-static-x86_64: Process 5387 attached [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] getdents64(4, [pid 5099] <... close resumed>) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5387 [pid 5099] rmdir("./45" [pid 5387] set_robust_list(0x55556fbaa660, 24 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5099] <... rmdir resumed>) = 0 [pid 5098] umount2("./45/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] umount2("./45/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] mkdir("./46", 0777 [pid 5387] <... set_robust_list resumed>) = 0 [pid 5386] <... mount resumed>) = 0 [pid 5100] getdents64(4, [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5387] chdir("./46" [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] close(4 [pid 5387] <... chdir resumed>) = 0 [pid 5100] <... close resumed>) = 0 [pid 5099] <... mkdir resumed>) = 0 [pid 5098] openat(AT_FDCWD, "./45/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5386] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5387] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5100] rmdir("./43/file1" [pid 5098] <... openat resumed>) = 4 [pid 5387] <... prctl resumed>) = 0 [pid 5386] <... openat resumed>) = 3 [pid 5101] openat(AT_FDCWD, "./45/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5100] <... rmdir resumed>) = 0 [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5098] newfstatat(4, "", [pid 5387] setpgid(0, 0 [pid 5386] chdir("./file1" [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5386] <... chdir resumed>) = 0 [pid 5098] getdents64(4, [pid 5387] <... setpgid resumed>) = 0 [pid 5100] getdents64(3, [pid 5387] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5386] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5101] <... openat resumed>) = 4 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5099] <... openat resumed>) = 3 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5387] <... openat resumed>) = 3 [pid 5101] newfstatat(4, "", [pid 5100] close(3 [pid 5386] <... 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 5387] write(3, "1000", 4 [pid 5386] truncate("./file1", 0 [pid 5101] getdents64(4, [pid 5100] <... close resumed>) = 0 [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5098] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5387] <... write resumed>) = 4 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5100] rmdir("./43" [pid 5098] close(4 [pid 5387] close(3 [pid 5101] getdents64(4, [pid 5100] <... rmdir resumed>) = 0 [pid 5387] <... close resumed>) = 0 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] <... close resumed>) = 0 [pid 5101] close(4 [pid 5098] rmdir("./45/file1" [pid 5387] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5101] <... close resumed>) = 0 [pid 5098] <... rmdir resumed>) = 0 [pid 5101] rmdir("./45/file1"executing program [pid 5387] write(1, "executing program\n", 18 [pid 5100] mkdir("./44", 0777 [pid 5098] getdents64(3, [pid 5387] <... write resumed>) = 18 [pid 5101] <... rmdir resumed>) = 0 [pid 5100] <... mkdir resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5387] memfd_create("syzkaller", 0 [pid 5386] <... truncate resumed>) = 0 [pid 5098] close(3 [pid 5386] memfd_create("syzkaller", 0 [pid 5101] getdents64(3, [pid 5098] <... close resumed>) = 0 [pid 5386] <... memfd_create resumed>) = 4 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] rmdir("./45" [pid 5101] close(3 [pid 5387] <... memfd_create resumed>) = 3 [pid 5386] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5387] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5386] <... mmap resumed>) = 0x7f8438200000 [pid 5101] <... close resumed>) = 0 [pid 5100] <... openat resumed>) = 3 [pid 5387] <... mmap resumed>) = 0x7f8438200000 [pid 5386] 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 5098] <... rmdir resumed>) = 0 [pid 5387] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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("./45") = 0 [pid 5098] mkdir("./46", 0777) = 0 [pid 5101] mkdir("./46", 0777 [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5101] <... mkdir resumed>) = 0 [pid 5098] <... openat resumed>) = 3 [pid 5386] <... write resumed>) = 524288 [pid 5387] <... write resumed>) = 524288 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5099] <... ioctl resumed>) = 0 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5101] <... openat resumed>) = 3 [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5099] close(3) = 0 [pid 5387] munmap(0x7f8438200000, 138412032 [pid 5386] munmap(0x7f8438200000, 138412032 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5387] <... munmap resumed>) = 0 [pid 5386] <... munmap resumed>) = 0 [pid 5100] <... ioctl resumed>) = 0 ./strace-static-x86_64: Process 5388 attached [pid 5387] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5386] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5100] close(3 [pid 5388] set_robust_list(0x55556fbaa660, 24 [pid 5387] <... openat resumed>) = 4 [pid 5386] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] <... close resumed>) = 0 [pid 5388] <... set_robust_list resumed>) = 0 [pid 5387] ioctl(4, LOOP_SET_FD, 3 [pid 5386] close(4 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5388 [pid 5388] chdir("./46" [pid 5387] <... ioctl resumed>) = 0 [pid 5388] <... chdir resumed>) = 0 [pid 5388] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5101] <... ioctl resumed>) = 0 [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5389 [pid 5098] <... ioctl resumed>) = 0 [pid 5388] <... prctl resumed>) = 0 [pid 5388] setpgid(0, 0./strace-static-x86_64: Process 5389 attached [pid 5386] <... close resumed>) = 0 [pid 5389] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5389] chdir("./44") = 0 [pid 5388] <... setpgid resumed>) = 0 [pid 5387] close(3 [pid 5098] close(3 [pid 5389] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5388] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5387] <... close resumed>) = 0 [pid 5098] <... close resumed>) = 0 [pid 5389] <... prctl resumed>) = 0 [pid 5387] close(4 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5389] setpgid(0, 0 [pid 5387] <... close resumed>) = 0 [pid 5389] <... setpgid resumed>) = 0 [pid 5387] mkdir("./file1", 0777 [pid 5389] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5387] <... mkdir resumed>) = 0 [pid 5386] exit_group(0./strace-static-x86_64: Process 5390 attached [pid 5389] <... openat resumed>) = 3 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5390 [pid 5389] write(3, "1000", 4 [pid 5390] set_robust_list(0x55556fbaa660, 24 [pid 5389] <... write resumed>) = 4 [pid 5387] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5386] <... exit_group resumed>) = ? [pid 5390] <... set_robust_list resumed>) = 0 [pid 5389] close(3 [pid 5388] <... openat resumed>) = 3 [pid 5387] <... mount resumed>) = 0 [pid 5386] +++ exited with 0 +++ [pid 5389] <... close resumed>) = 0 [pid 5387] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5101] close(3 [pid 5389] symlink("/dev/binderfs", "./binderfs" [pid 5388] write(3, "1000", 4 [pid 5387] <... openat resumed>) = 3 [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5386, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [ 141.302709][ T5387] loop0: detected capacity change from 0 to 1024 [pid 5390] chdir("./46" [pid 5389] <... symlink resumed>) = 0 [pid 5388] <... write resumed>) = 4 [pid 5387] chdir("./file1") = 0 [pid 5390] <... chdir resumed>) = 0 [pid 5388] close(3 [pid 5387] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5390] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5388] <... close resumed>) = 0 [pid 5387] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5387] truncate("./file1", 0 [pid 5388] symlink("/dev/binderfs", "./binderfs" [pid 5390] <... prctl resumed>) = 0 [pid 5101] <... close resumed>) = 0 executing program [pid 5390] setpgid(0, 0 [pid 5389] write(1, "executing program\n", 18 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5390] <... setpgid resumed>) = 0 [pid 5389] <... write resumed>) = 18 [pid 5388] <... symlink resumed>) = 0 [pid 5103] umount2("./44", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5390] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5389] memfd_create("syzkaller", 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5388] write(1, "executing program\n", 18executing program [pid 5390] <... openat resumed>) = 3 [pid 5389] <... memfd_create resumed>) = 3 [pid 5388] <... write resumed>) = 18 [pid 5387] <... truncate resumed>) = 0 [pid 5103] openat(AT_FDCWD, "./44", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY./strace-static-x86_64: Process 5391 attached [pid 5390] write(3, "1000", 4 [pid 5389] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5387] memfd_create("syzkaller", 0 [pid 5103] <... openat resumed>) = 3 [pid 5391] set_robust_list(0x55556fbaa660, 24 [pid 5390] <... write resumed>) = 4 [pid 5389] <... mmap resumed>) = 0x7f8438200000 [pid 5387] <... memfd_create resumed>) = 4 [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5391 [pid 5103] newfstatat(3, "", [pid 5391] <... set_robust_list resumed>) = 0 [pid 5390] close(3 [pid 5389] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5388] memfd_create("syzkaller", 0 [pid 5387] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5391] chdir("./46" [pid 5387] <... mmap resumed>) = 0x7f8438200000 [pid 5391] <... chdir resumed>) = 0 [pid 5390] <... close resumed>) = 0 [pid 5103] getdents64(3, [pid 5390] symlink("/dev/binderfs", "./binderfs" [pid 5388] <... memfd_create resumed>) = 3 [pid 5391] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5387] 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 5391] setpgid(0, 0) = 0 [pid 5390] <... symlink resumed>) = 0 [pid 5388] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5391] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5390] write(1, "executing program\n", 18 [pid 5388] <... mmap resumed>) = 0x7f8438200000 [pid 5103] umount2("./44/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5391] <... openat resumed>) = 3 executing program [pid 5391] write(3, "1000", 4) = 4 [pid 5391] close(3) = 0 [pid 5391] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5390] <... write resumed>) = 18 [pid 5388] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 resumed>) = -1 EINVAL (Invalid argument) [pid 5391] write(1, "executing program\n", 18 [pid 5390] memfd_create("syzkaller", 0 [pid 5103] newfstatat(AT_FDCWD, "./44/binderfs", executing program [pid 5391] <... write resumed>) = 18 [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5391] memfd_create("syzkaller", 0 [pid 5103] unlink("./44/binderfs" [pid 5391] <... memfd_create resumed>) = 3 [pid 5391] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5390] <... memfd_create resumed>) = 3 [pid 5103] <... unlink resumed>) = 0 [pid 5391] <... mmap resumed>) = 0x7f8438200000 [pid 5391] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5390] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] umount2("./44/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5390] <... mmap resumed>) = 0x7f8438200000 [pid 5390] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5389] <... write resumed>) = 524288 [pid 5388] <... write resumed>) = 524288 [pid 5387] <... write resumed>) = 524288 [pid 5103] <... umount2 resumed>) = 0 [pid 5389] munmap(0x7f8438200000, 138412032 [pid 5387] munmap(0x7f8438200000, 138412032 [pid 5389] <... munmap resumed>) = 0 [pid 5387] <... munmap resumed>) = 0 [pid 5387] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5389] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5388] munmap(0x7f8438200000, 138412032 [pid 5387] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5389] <... openat resumed>) = 4 [pid 5387] close(4 [pid 5391] <... write resumed>) = 524288 [pid 5389] ioctl(4, LOOP_SET_FD, 3 [pid 5388] <... munmap resumed>) = 0 [pid 5103] umount2("./44/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5103] newfstatat(AT_FDCWD, "./44/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] umount2("./44/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5388] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5388] <... openat resumed>) = 4 [pid 5388] ioctl(4, LOOP_SET_FD, 3 [pid 5103] openat(AT_FDCWD, "./44/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5387] <... close resumed>) = 0 [pid 5103] newfstatat(4, "", [pid 5391] munmap(0x7f8438200000, 138412032 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5391] <... munmap resumed>) = 0 [pid 5103] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5103] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5391] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5390] <... write resumed>) = 524288 [pid 5103] close(4) = 0 [pid 5391] <... openat resumed>) = 4 [pid 5387] exit_group(0 [pid 5103] rmdir("./44/file1" [pid 5391] ioctl(4, LOOP_SET_FD, 3 [pid 5103] <... rmdir resumed>) = 0 [pid 5388] <... ioctl resumed>) = 0 [pid 5390] munmap(0x7f8438200000, 138412032 [pid 5388] close(3) = 0 [pid 5390] <... munmap resumed>) = 0 [pid 5388] close(4 [pid 5387] <... exit_group resumed>) = ? [pid 5390] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5389] <... ioctl resumed>) = 0 [pid 5388] <... close resumed>) = 0 [pid 5103] getdents64(3, [pid 5388] mkdir("./file1", 0777 [pid 5390] <... openat resumed>) = 4 [pid 5390] ioctl(4, LOOP_SET_FD, 3 [pid 5389] close(3 [pid 5388] <... mkdir resumed>) = 0 [pid 5387] +++ exited with 0 +++ [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5389] <... close resumed>) = 0 [pid 5103] close(3 [pid 5389] close(4 [pid 5103] <... close resumed>) = 0 [pid 5389] <... close resumed>) = 0 [pid 5103] rmdir("./44" [pid 5389] mkdir("./file1", 0777 [pid 5103] <... rmdir resumed>) = 0 [pid 5389] <... mkdir resumed>) = 0 [pid 5388] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5103] mkdir("./45", 0777 [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5387, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5389] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5103] <... mkdir resumed>) = 0 [pid 5389] <... mount resumed>) = 0 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5097] umount2("./46", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5389] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5103] <... openat resumed>) = 3 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5391] <... ioctl resumed>) = 0 [pid 5389] <... openat resumed>) = 3 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5097] openat(AT_FDCWD, "./46", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5389] chdir("./file1" [pid 5391] close(3 [pid 5390] <... ioctl resumed>) = 0 [pid 5389] <... chdir resumed>) = 0 [pid 5097] <... openat resumed>) = 3 [pid 5391] <... close resumed>) = 0 [pid 5390] close(3 [pid 5389] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5391] close(4 [pid 5097] newfstatat(3, "", [pid 5391] <... close resumed>) = 0 [pid 5390] <... close resumed>) = 0 [pid 5389] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5391] mkdir("./file1", 0777 [pid 5390] close(4 [pid 5389] truncate("./file1", 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5390] <... close resumed>) = 0 [pid 5097] getdents64(3, [pid 5390] mkdir("./file1", 0777 [pid 5388] <... mount resumed>) = 0 [pid 5390] <... mkdir resumed>) = 0 [pid 5388] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5391] <... mkdir resumed>) = 0 [pid 5390] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5388] <... openat resumed>) = 3 [ 141.473452][ T5389] loop3: detected capacity change from 0 to 1024 [ 141.485575][ T5388] loop2: detected capacity change from 0 to 1024 [ 141.500395][ T5391] loop4: detected capacity change from 0 to 1024 [ 141.516532][ T5390] loop1: detected capacity change from 0 to 1024 [pid 5097] umount2("./46/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5391] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5389] <... truncate resumed>) = 0 [pid 5388] chdir("./file1" [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5389] memfd_create("syzkaller", 0 [pid 5388] <... chdir resumed>) = 0 [pid 5097] newfstatat(AT_FDCWD, "./46/binderfs", [pid 5389] <... memfd_create resumed>) = 4 [pid 5388] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5390] <... mount resumed>) = 0 [pid 5389] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5388] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5391] <... mount resumed>) = 0 [pid 5390] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5389] <... mmap resumed>) = 0x7f8438200000 [pid 5388] truncate("./file1", 0 [pid 5097] unlink("./46/binderfs" [pid 5391] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5390] <... openat resumed>) = 3 [pid 5391] <... openat resumed>) = 3 [pid 5390] chdir("./file1" [pid 5097] <... unlink resumed>) = 0 [pid 5391] chdir("./file1" [pid 5390] <... chdir resumed>) = 0 [pid 5097] umount2("./46/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5391] <... chdir resumed>) = 0 [pid 5390] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5391] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5390] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5391] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5390] truncate("./file1", 0 [pid 5388] <... truncate resumed>) = 0 [pid 5391] truncate("./file1", 0 [pid 5389] 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 5390] <... truncate resumed>) = 0 [pid 5388] memfd_create("syzkaller", 0 [pid 5103] <... ioctl resumed>) = 0 [pid 5390] memfd_create("syzkaller", 0 [pid 5388] <... memfd_create resumed>) = 4 [pid 5390] <... memfd_create resumed>) = 4 [pid 5388] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5390] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5388] <... mmap resumed>) = 0x7f8438200000 [pid 5390] <... mmap resumed>) = 0x7f8438200000 [pid 5388] 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 5391] <... truncate resumed>) = 0 [pid 5391] memfd_create("syzkaller", 0) = 4 [pid 5391] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5103] close(3) = 0 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5390] 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./strace-static-x86_64: Process 5392 attached [pid 5391] 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 5389] <... write resumed>) = 524288 [pid 5097] <... umount2 resumed>) = 0 [pid 5392] set_robust_list(0x55556fbaa660, 24 [pid 5390] <... write resumed>) = 524288 [pid 5388] <... write resumed>) = 524288 [pid 5392] <... set_robust_list resumed>) = 0 [pid 5389] munmap(0x7f8438200000, 138412032 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5392 [pid 5097] umount2("./46/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5392] chdir("./45" [pid 5389] <... munmap resumed>) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5392] <... chdir resumed>) = 0 [pid 5390] munmap(0x7f8438200000, 138412032 [pid 5389] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5388] munmap(0x7f8438200000, 138412032 [pid 5097] newfstatat(AT_FDCWD, "./46/file1", [pid 5392] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5390] <... munmap resumed>) = 0 [pid 5389] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5392] <... prctl resumed>) = 0 [pid 5390] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5389] close(4 [pid 5388] <... munmap resumed>) = 0 [pid 5392] setpgid(0, 0 [pid 5390] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5388] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5392] <... setpgid resumed>) = 0 [pid 5390] close(4 [pid 5097] umount2("./46/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5392] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5388] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5392] <... openat resumed>) = 3 [pid 5097] openat(AT_FDCWD, "./46/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5391] <... write resumed>) = 524288 [pid 5388] close(4 [pid 5097] newfstatat(4, "", [pid 5392] write(3, "1000", 4) = 4 [pid 5392] close(3 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5392] <... close resumed>) = 0 [pid 5392] symlink("/dev/binderfs", "./binderfs" [pid 5097] getdents64(4, executing program [pid 5392] <... symlink resumed>) = 0 [pid 5389] <... close resumed>) = 0 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5392] write(1, "executing program\n", 18 [pid 5390] <... close resumed>) = 0 [pid 5097] getdents64(4, [pid 5392] <... write resumed>) = 18 [pid 5391] munmap(0x7f8438200000, 138412032 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5392] memfd_create("syzkaller", 0 [pid 5391] <... munmap resumed>) = 0 [pid 5390] exit_group(0 [pid 5389] exit_group(0 [pid 5097] close(4 [pid 5392] <... memfd_create resumed>) = 3 [pid 5097] <... close resumed>) = 0 [pid 5392] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5391] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5390] <... exit_group resumed>) = ? [pid 5389] <... exit_group resumed>) = ? [pid 5097] rmdir("./46/file1" [pid 5392] <... mmap resumed>) = 0x7f8438200000 [pid 5391] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5390] +++ exited with 0 +++ [pid 5389] +++ exited with 0 +++ [pid 5388] <... close resumed>) = 0 [pid 5391] close(4 [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5389, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5097] <... rmdir resumed>) = 0 [pid 5388] exit_group(0 [pid 5100] restart_syscall(<... resuming interrupted clone ...> [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5390, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5391] <... close resumed>) = 0 [pid 5100] <... restart_syscall resumed>) = 0 [pid 5388] <... exit_group resumed>) = ? [pid 5098] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5097] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] close(3) = 0 [pid 5097] rmdir("./46" [pid 5392] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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("./44", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... rmdir resumed>) = 0 [pid 5388] +++ exited with 0 +++ [pid 5098] umount2("./46", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] mkdir("./47", 0777 [pid 5100] openat(AT_FDCWD, "./44", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5388, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5098] openat(AT_FDCWD, "./46", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5100] <... openat resumed>) = 3 [pid 5099] umount2("./46", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] newfstatat(3, "", [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... openat resumed>) = 3 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] openat(AT_FDCWD, "./46", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] newfstatat(3, "", [pid 5100] getdents64(3, [pid 5097] <... mkdir resumed>) = 0 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] <... openat resumed>) = 3 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] umount2("./44/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] getdents64(3, [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] newfstatat(3, "", [pid 5100] newfstatat(AT_FDCWD, "./44/binderfs", [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5392] <... write resumed>) = 524288 [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] getdents64(3, [pid 5098] umount2("./46/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5392] munmap(0x7f8438200000, 138412032 [pid 5391] exit_group(0 [pid 5100] unlink("./44/binderfs" [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... openat resumed>) = 3 [pid 5392] <... munmap resumed>) = 0 [pid 5391] <... exit_group resumed>) = ? [pid 5100] <... unlink resumed>) = 0 [pid 5099] umount2("./46/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] newfstatat(AT_FDCWD, "./46/binderfs", [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5098] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5392] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5098] unlink("./46/binderfs" [pid 5392] <... openat resumed>) = 4 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] umount2("./44/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] newfstatat(AT_FDCWD, "./46/binderfs", [pid 5098] <... unlink resumed>) = 0 [pid 5392] ioctl(4, LOOP_SET_FD, 3 [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] umount2("./46/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] unlink("./46/binderfs") = 0 [pid 5100] <... umount2 resumed>) = 0 [pid 5391] +++ exited with 0 +++ [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5391, si_uid=0, si_status=0, si_utime=0, si_stime=8 /* 0.08 s */} --- [pid 5101] restart_syscall(<... resuming interrupted clone ...> [pid 5099] umount2("./46/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... restart_syscall resumed>) = 0 [pid 5392] <... ioctl resumed>) = 0 [pid 5100] umount2("./44/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... umount2 resumed>) = 0 [pid 5392] close(3 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5392] <... close resumed>) = 0 [pid 5392] close(4 [pid 5100] newfstatat(AT_FDCWD, "./44/file1", [pid 5392] <... close resumed>) = 0 [pid 5101] umount2("./46", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5392] mkdir("./file1", 0777 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] umount2("./44/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] umount2("./46/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5392] <... mkdir resumed>) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] openat(AT_FDCWD, "./44/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] openat(AT_FDCWD, "./46", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5100] <... openat resumed>) = 4 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5392] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5101] <... openat resumed>) = 3 [pid 5100] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] newfstatat(3, "", [pid 5098] newfstatat(AT_FDCWD, "./46/file1", [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] getdents64(4, [pid 5101] getdents64(3, [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] <... umount2 resumed>) = 0 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [ 141.733668][ T5392] loop5: detected capacity change from 0 to 1024 [pid 5098] umount2("./46/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] umount2("./46/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] openat(AT_FDCWD, "./46/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] close(4 [pid 5098] <... openat resumed>) = 4 [pid 5101] newfstatat(AT_FDCWD, "./46/binderfs", [pid 5099] umount2("./46/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] newfstatat(4, "", [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] <... close resumed>) = 0 [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 5098] getdents64(4, [pid 5099] newfstatat(AT_FDCWD, "./46/file1", [pid 5101] unlink("./46/binderfs" [pid 5100] rmdir("./44/file1" [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 5101] <... unlink resumed>) = 0 [pid 5100] <... rmdir resumed>) = 0 [pid 5099] umount2("./46/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] getdents64(4, [pid 5101] umount2("./46/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] getdents64(3, [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] close(4 [pid 5099] openat(AT_FDCWD, "./46/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5098] <... close resumed>) = 0 [pid 5098] rmdir("./46/file1" [pid 5100] close(3 [pid 5392] <... mount resumed>) = 0 [pid 5100] <... close resumed>) = 0 [pid 5099] newfstatat(4, "", [pid 5098] <... rmdir resumed>) = 0 [pid 5100] rmdir("./44" [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] <... ioctl resumed>) = 0 [pid 5098] getdents64(3, [pid 5392] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5100] <... rmdir resumed>) = 0 [pid 5099] getdents64(4, [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5392] <... openat resumed>) = 3 [pid 5100] mkdir("./45", 0777 [pid 5097] close(3 [pid 5100] <... mkdir resumed>) = 0 [pid 5098] close(3 [pid 5097] <... close resumed>) = 0 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5098] <... close resumed>) = 0 [pid 5392] chdir("./file1" [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] rmdir("./46" [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5100] ioctl(3, LOOP_CLR_FD) = 0 [pid 5100] close(3) = 0 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5393 [pid 5392] <... chdir resumed>) = 0 [pid 5392] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5392] truncate("./file1", 0 [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5394 ./strace-static-x86_64: Process 5393 attached [pid 5393] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5393] chdir("./47") = 0 [pid 5393] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5393] setpgid(0, 0) = 0 [pid 5393] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5098] <... rmdir resumed>) = 0 [pid 5099] getdents64(4, ./strace-static-x86_64: Process 5394 attached [pid 5393] write(3, "1000", 4 [pid 5392] <... truncate resumed>) = 0 [pid 5101] <... umount2 resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] mkdir("./47", 0777 [pid 5393] <... write resumed>) = 4 [pid 5392] memfd_create("syzkaller", 0 [pid 5099] close(4 [pid 5393] close(3 [pid 5392] <... memfd_create resumed>) = 4 [pid 5393] <... close resumed>) = 0 [pid 5392] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5394] set_robust_list(0x55556fbaa660, 24 [pid 5393] symlink("/dev/binderfs", "./binderfs"executing program [pid 5392] <... mmap resumed>) = 0x7f8438200000 [pid 5099] <... close resumed>) = 0 [pid 5098] <... mkdir resumed>) = 0 [pid 5394] <... set_robust_list resumed>) = 0 [pid 5393] <... symlink resumed>) = 0 [pid 5101] umount2("./46/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5394] chdir("./45" [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] rmdir("./46/file1" [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5393] write(1, "executing program\n", 18) = 18 [pid 5393] memfd_create("syzkaller", 0) = 3 [pid 5393] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5098] <... openat resumed>) = 3 [pid 5394] <... chdir resumed>) = 0 [pid 5101] newfstatat(AT_FDCWD, "./46/file1", [pid 5099] <... rmdir resumed>) = 0 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5394] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] getdents64(3, [pid 5098] <... ioctl resumed>) = 0 [pid 5394] <... prctl resumed>) = 0 [pid 5101] umount2("./46/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] close(3 [pid 5394] setpgid(0, 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] close(3 [pid 5098] <... close resumed>) = 0 [pid 5394] <... setpgid resumed>) = 0 [pid 5393] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5392] 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, "./46/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] <... close resumed>) = 0 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5395 attached [pid 5394] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5101] <... openat resumed>) = 4 [pid 5099] rmdir("./46" [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5395 [pid 5395] set_robust_list(0x55556fbaa660, 24 [pid 5101] newfstatat(4, "", [pid 5395] <... set_robust_list resumed>) = 0 [pid 5394] <... openat resumed>) = 3 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] <... rmdir resumed>) = 0 [pid 5395] chdir("./47" [pid 5101] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5395] <... chdir resumed>) = 0 [pid 5394] write(3, "1000", 4 [pid 5392] <... write resumed>) = 524288 [pid 5101] getdents64(4, [pid 5099] mkdir("./47", 0777 [pid 5395] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5394] <... write resumed>) = 4 [pid 5099] <... mkdir resumed>) = 0 [pid 5395] <... prctl resumed>) = 0 [pid 5394] close(3 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5395] setpgid(0, 0 [pid 5394] <... close resumed>) = 0 [pid 5101] close(4 [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5395] <... setpgid resumed>) = 0 [pid 5394] symlink("/dev/binderfs", "./binderfs" [pid 5101] <... close resumed>) = 0 [pid 5099] <... openat resumed>) = 3 [pid 5395] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5394] <... symlink resumed>) = 0 [pid 5393] <... write resumed>) = 524288 [pid 5101] rmdir("./46/file1" [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5392] munmap(0x7f8438200000, 138412032 [pid 5395] <... openat resumed>) = 3 [pid 5101] <... rmdir resumed>) = 0 executing program [pid 5395] write(3, "1000", 4 [pid 5394] write(1, "executing program\n", 18 [pid 5393] munmap(0x7f8438200000, 138412032 [pid 5101] getdents64(3, [pid 5394] <... write resumed>) = 18 [pid 5393] <... munmap resumed>) = 0 [pid 5392] <... munmap resumed>) = 0 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5101] close(3 [pid 5394] memfd_create("syzkaller", 0 [pid 5101] <... close resumed>) = 0 [pid 5101] rmdir("./46" [pid 5393] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5392] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5393] <... openat resumed>) = 4 [pid 5392] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] <... rmdir resumed>) = 0 [pid 5393] ioctl(4, LOOP_SET_FD, 3 [pid 5395] <... write resumed>) = 4 [pid 5394] <... memfd_create resumed>) = 3 [pid 5392] close(4 [pid 5101] mkdir("./47", 0777 [pid 5394] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] <... mkdir resumed>) = 0 [pid 5099] <... ioctl resumed>) = 0 [pid 5395] close(3 [pid 5394] <... mmap resumed>) = 0x7f8438200000 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5395] <... close resumed>) = 0 [pid 5101] <... openat resumed>) = 3 [pid 5395] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5394] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] ioctl(3, LOOP_CLR_FD [pid 5395] write(1, "executing program\n", 18) = 18 [pid 5395] memfd_create("syzkaller", 0 [pid 5099] close(3) = 0 [pid 5395] <... memfd_create resumed>) = 3 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5395] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5393] <... ioctl resumed>) = 0 [pid 5395] <... mmap resumed>) = 0x7f8438200000 [pid 5393] close(3) = 0 [pid 5393] close(4) = 0 [pid 5393] mkdir("./file1", 0777 [pid 5395] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5393] <... mkdir resumed>) = 0 [pid 5392] <... close resumed>) = 0 [pid 5394] <... write resumed>) = 524288 [ 141.982575][ T5393] loop0: detected capacity change from 0 to 1024 [pid 5392] exit_group(0 [pid 5101] <... ioctl resumed>) = 0 [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5396 [pid 5393] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5392] <... exit_group resumed>) = ? [pid 5392] +++ exited with 0 +++ [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5392, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5103] umount2("./45", MNT_FORCE|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 5396 attached ) = -1 EINVAL (Invalid argument) [pid 5396] set_robust_list(0x55556fbaa660, 24 [pid 5103] openat(AT_FDCWD, "./45", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5396] <... set_robust_list resumed>) = 0 [pid 5103] <... openat resumed>) = 3 [pid 5396] chdir("./47" [pid 5103] newfstatat(3, "", [pid 5396] <... chdir resumed>) = 0 [pid 5396] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] close(3 [pid 5396] <... prctl resumed>) = 0 [pid 5396] setpgid(0, 0 [pid 5103] getdents64(3, [pid 5101] <... close resumed>) = 0 [pid 5396] <... setpgid resumed>) = 0 [pid 5396] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5394] munmap(0x7f8438200000, 138412032 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5393] <... mount resumed>) = 0 [pid 5396] <... openat resumed>) = 3 [pid 5395] <... write resumed>) = 524288 [pid 5394] <... munmap resumed>) = 0 [pid 5103] umount2("./45/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5393] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] newfstatat(AT_FDCWD, "./45/binderfs", [pid 5393] chdir("./file1" [pid 5396] write(3, "1000", 4 [pid 5393] <... chdir resumed>) = 0 [pid 5396] <... write resumed>) = 4 [pid 5394] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5393] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5396] close(3 [pid 5394] <... openat resumed>) = 4 [pid 5393] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5393] truncate("./file1", 0 [pid 5396] <... close resumed>) = 0 [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5397 [pid 5396] symlink("/dev/binderfs", "./binderfs" [pid 5394] ioctl(4, LOOP_SET_FD, 3 [pid 5103] unlink("./45/binderfs"./strace-static-x86_64: Process 5397 attached [pid 5393] <... truncate resumed>) = 0 [pid 5397] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5103] <... unlink resumed>) = 0 [pid 5397] chdir("./47" [pid 5396] <... symlink resumed>) = 0 [pid 5395] munmap(0x7f8438200000, 138412032 [pid 5393] memfd_create("syzkaller", 0 [pid 5395] <... munmap resumed>) = 0 [pid 5393] <... memfd_create resumed>) = 4 [pid 5103] umount2("./45/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5393] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5397] <... chdir resumed>) = 0 [pid 5393] <... mmap resumed>) = 0x7f8438200000 [pid 5397] prctl(PR_SET_PDEATHSIG, SIGKILLexecuting program [pid 5396] write(1, "executing program\n", 18 [pid 5397] <... prctl resumed>) = 0 [pid 5396] <... write resumed>) = 18 [pid 5395] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5397] setpgid(0, 0 [pid 5396] memfd_create("syzkaller", 0 [pid 5395] <... openat resumed>) = 4 [pid 5393] 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 5397] <... setpgid resumed>) = 0 [pid 5394] <... ioctl resumed>) = 0 [pid 5103] <... umount2 resumed>) = 0 [pid 5397] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5394] close(3) = 0 [pid 5394] close(4) = 0 [ 142.094638][ T5394] loop3: detected capacity change from 0 to 1024 [pid 5397] write(3, "1000", 4 [pid 5396] <... memfd_create resumed>) = 3 [pid 5395] ioctl(4, LOOP_SET_FD, 3 [pid 5394] mkdir("./file1", 0777 [pid 5396] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5394] <... mkdir resumed>) = 0 [pid 5397] <... write resumed>) = 4 [pid 5396] <... mmap resumed>) = 0x7f8438200000 [pid 5394] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5397] close(3) = 0 [pid 5397] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5396] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5397] write(1, "executing program\n", 18 [pid 5103] umount2("./45/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5397] <... write resumed>) = 18 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5397] memfd_create("syzkaller", 0 [pid 5103] newfstatat(AT_FDCWD, "./45/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] umount2("./45/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5397] <... memfd_create resumed>) = 3 [pid 5397] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] openat(AT_FDCWD, "./45/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5397] <... mmap resumed>) = 0x7f8438200000 [pid 5103] <... openat resumed>) = 4 [pid 5397] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5103] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5395] <... ioctl resumed>) = 0 [pid 5103] close(4 [pid 5395] close(3 [pid 5103] <... close resumed>) = 0 [pid 5397] <... write resumed>) = 524288 [pid 5395] <... close resumed>) = 0 [pid 5394] <... mount resumed>) = 0 [pid 5393] <... write resumed>) = 524288 [pid 5103] rmdir("./45/file1") = 0 [ 142.134895][ T5395] loop1: detected capacity change from 0 to 1024 [pid 5395] close(4) = 0 [pid 5395] mkdir("./file1", 0777) = 0 [pid 5103] getdents64(3, [pid 5394] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5103] close(3 [pid 5395] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5394] <... openat resumed>) = 3 [pid 5393] munmap(0x7f8438200000, 138412032 [pid 5103] <... close resumed>) = 0 [pid 5396] <... write resumed>) = 524288 [pid 5394] chdir("./file1" [pid 5393] <... munmap resumed>) = 0 [pid 5103] rmdir("./45" [pid 5394] <... chdir resumed>) = 0 [pid 5103] <... rmdir resumed>) = 0 [pid 5396] munmap(0x7f8438200000, 138412032 [pid 5394] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5393] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5103] mkdir("./46", 0777 [pid 5396] <... munmap resumed>) = 0 [pid 5394] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5393] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] <... mkdir resumed>) = 0 [pid 5397] munmap(0x7f8438200000, 138412032 [pid 5393] close(4 [pid 5397] <... munmap resumed>) = 0 [pid 5394] truncate("./file1", 0 [pid 5393] <... close resumed>) = 0 [pid 5395] <... mount resumed>) = 0 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5396] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5397] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5103] <... openat resumed>) = 3 [pid 5397] <... openat resumed>) = 4 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5397] ioctl(4, LOOP_SET_FD, 3 [pid 5103] <... ioctl resumed>) = 0 [pid 5396] <... openat resumed>) = 4 [pid 5103] close(3 [pid 5396] ioctl(4, LOOP_SET_FD, 3 [pid 5395] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5103] <... close resumed>) = 0 [pid 5395] <... openat resumed>) = 3 [pid 5394] <... truncate resumed>) = 0 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5395] chdir("./file1" [pid 5394] memfd_create("syzkaller", 0 [pid 5393] exit_group(0 [pid 5394] <... memfd_create resumed>) = 4 [pid 5395] <... chdir resumed>) = 0 [pid 5394] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5395] openat(AT_FDCWD, "/dev/loop1", O_RDWR./strace-static-x86_64: Process 5398 attached ) = -1 EBUSY (Device or resource busy) [pid 5393] <... exit_group resumed>) = ? [pid 5395] truncate("./file1", 0 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5398 [pid 5398] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5393] +++ exited with 0 +++ [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5393, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5398] chdir("./46" [pid 5394] <... mmap resumed>) = 0x7f8438200000 [pid 5398] <... chdir resumed>) = 0 [pid 5394] 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 5398] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5398] setpgid(0, 0 [pid 5397] <... ioctl resumed>) = 0 [pid 5396] <... ioctl resumed>) = 0 [pid 5395] <... truncate resumed>) = 0 [pid 5398] <... setpgid resumed>) = 0 [pid 5396] close(3) = 0 [pid 5097] umount2("./47", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5398] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5396] close(4) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5396] mkdir("./file1", 0777 [pid 5097] openat(AT_FDCWD, "./47", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5097] newfstatat(3, "", [pid 5396] <... mkdir resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5398] <... openat resumed>) = 3 [pid 5097] getdents64(3, [pid 5395] memfd_create("syzkaller", 0 [pid 5397] close(3 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5397] <... close resumed>) = 0 [pid 5395] <... memfd_create resumed>) = 4 [pid 5397] close(4 [pid 5097] umount2("./47/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5397] <... close resumed>) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 142.250796][ T5397] loop4: detected capacity change from 0 to 1024 [ 142.257519][ T5396] loop2: detected capacity change from 0 to 1024 [pid 5398] write(3, "1000", 4 [pid 5397] mkdir("./file1", 0777 [pid 5395] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5097] newfstatat(AT_FDCWD, "./47/binderfs", [pid 5398] <... write resumed>) = 4 [pid 5396] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5398] close(3 [pid 5397] <... mkdir resumed>) = 0 [pid 5395] <... mmap resumed>) = 0x7f8438200000 [pid 5097] unlink("./47/binderfs" [pid 5398] <... close resumed>) = 0 [pid 5097] <... unlink resumed>) = 0 [pid 5097] umount2("./47/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5398] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5398] write(1, "executing program\n", 18 [pid 5397] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5395] 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 5398] <... write resumed>) = 18 [pid 5397] <... mount resumed>) = 0 [pid 5396] <... mount resumed>) = 0 [pid 5395] <... write resumed>) = 524288 [pid 5398] memfd_create("syzkaller", 0 [pid 5397] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5396] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5395] munmap(0x7f8438200000, 138412032 [pid 5394] <... write resumed>) = 524288 [pid 5398] <... memfd_create resumed>) = 3 [pid 5397] <... openat resumed>) = 3 [pid 5396] <... openat resumed>) = 3 [pid 5395] <... munmap resumed>) = 0 [pid 5394] munmap(0x7f8438200000, 138412032 [pid 5097] <... umount2 resumed>) = 0 [pid 5097] umount2("./47/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5398] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5397] chdir("./file1" [pid 5396] chdir("./file1" [pid 5395] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5394] <... munmap resumed>) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(AT_FDCWD, "./47/file1", [pid 5394] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5398] <... mmap resumed>) = 0x7f8438200000 [pid 5397] <... chdir resumed>) = 0 [pid 5396] <... chdir resumed>) = 0 [pid 5395] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5394] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5398] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5397] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5396] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5395] close(4 [pid 5394] close(4 [pid 5097] umount2("./47/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5397] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5396] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5395] <... close resumed>) = 0 [pid 5394] <... close resumed>) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5397] truncate("./file1", 0 [pid 5396] truncate("./file1", 0 [pid 5097] openat(AT_FDCWD, "./47/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 5394] exit_group(0 [pid 5097] getdents64(4, [pid 5397] <... truncate resumed>) = 0 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5394] <... exit_group resumed>) = ? [pid 5097] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] close(4 [pid 5397] memfd_create("syzkaller", 0 [pid 5097] <... close resumed>) = 0 [pid 5397] <... memfd_create resumed>) = 4 [pid 5396] <... truncate resumed>) = 0 [pid 5097] rmdir("./47/file1" [pid 5397] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5396] memfd_create("syzkaller", 0) = 4 [pid 5097] <... rmdir resumed>) = 0 [pid 5097] getdents64(3, [pid 5397] <... mmap resumed>) = 0x7f8438200000 [pid 5396] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5398] <... write resumed>) = 524288 [pid 5397] 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 5396] 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 5395] exit_group(0 [pid 5394] +++ exited with 0 +++ [pid 5097] close(3 [pid 5395] <... exit_group resumed>) = ? [pid 5097] <... close resumed>) = 0 [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5394, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5398] munmap(0x7f8438200000, 138412032 [pid 5395] +++ exited with 0 +++ [pid 5097] rmdir("./47" [pid 5398] <... munmap resumed>) = 0 [pid 5100] umount2("./45", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5395, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5097] <... rmdir resumed>) = 0 [pid 5398] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5098] restart_syscall(<... resuming interrupted clone ...> [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5398] <... openat resumed>) = 4 [pid 5396] <... write resumed>) = 524288 [pid 5097] mkdir("./48", 0777 [pid 5398] ioctl(4, LOOP_SET_FD, 3 [pid 5100] openat(AT_FDCWD, "./45", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] <... restart_syscall resumed>) = 0 [pid 5097] <... mkdir resumed>) = 0 [pid 5100] <... openat resumed>) = 3 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5396] munmap(0x7f8438200000, 138412032 [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5396] <... munmap resumed>) = 0 [pid 5100] newfstatat(3, "", [pid 5098] umount2("./47", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... ioctl resumed>) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] close(3 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./47", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] <... close resumed>) = 0 [pid 5100] getdents64(3, [pid 5098] <... openat resumed>) = 3 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5396] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5098] newfstatat(3, "", [pid 5396] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 ./strace-static-x86_64: Process 5399 attached [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5399 [pid 5398] <... ioctl resumed>) = 0 [pid 5396] close(4 [pid 5399] set_robust_list(0x55556fbaa660, 24 [pid 5398] close(3 [pid 5100] umount2("./45/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] getdents64(3, [pid 5399] <... set_robust_list resumed>) = 0 [pid 5398] <... close resumed>) = 0 [pid 5397] <... write resumed>) = 524288 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5399] chdir("./48" [pid 5398] close(4 [pid 5397] munmap(0x7f8438200000, 138412032 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5399] <... chdir resumed>) = 0 [pid 5398] <... close resumed>) = 0 [pid 5397] <... munmap resumed>) = 0 [pid 5100] newfstatat(AT_FDCWD, "./45/binderfs", [pid 5098] umount2("./47/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5398] mkdir("./file1", 0777) = 0 [pid 5398] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5399] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5397] openat(AT_FDCWD, "/dev/loop4", O_RDWR [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 5399] <... prctl resumed>) = 0 [pid 5397] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5399] setpgid(0, 0 [pid 5397] close(4 [pid 5100] unlink("./45/binderfs" [pid 5098] newfstatat(AT_FDCWD, "./47/binderfs", [pid 5399] <... setpgid resumed>) = 0 [pid 5100] <... unlink resumed>) = 0 [pid 5399] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5396] <... close resumed>) = 0 [ 142.479558][ T5398] loop5: detected capacity change from 0 to 1024 [pid 5100] umount2("./45/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5399] <... openat resumed>) = 3 [pid 5396] exit_group(0 [pid 5098] unlink("./47/binderfs" [pid 5399] write(3, "1000", 4 [pid 5397] <... close resumed>) = 0 [pid 5399] <... write resumed>) = 4 [pid 5397] exit_group(0 [pid 5396] <... exit_group resumed>) = ? [pid 5098] <... unlink resumed>) = 0 [pid 5399] close(3 [pid 5397] <... exit_group resumed>) = ? [pid 5098] umount2("./47/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5399] <... close resumed>) = 0 [pid 5399] symlink("/dev/binderfs", "./binderfs" [pid 5397] +++ exited with 0 +++ [pid 5396] +++ exited with 0 +++ [pid 5399] <... symlink resumed>) = 0 [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5397, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5100] <... umount2 resumed>) = 0 [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5396, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5399] write(1, "executing program\n", 18executing program ) = 18 [pid 5398] <... mount resumed>) = 0 [pid 5098] <... umount2 resumed>) = 0 [pid 5101] umount2("./47", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] openat(AT_FDCWD, "./47", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5399] memfd_create("syzkaller", 0 [pid 5101] <... openat resumed>) = 3 [pid 5099] umount2("./47", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] umount2("./47/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "./47", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5399] <... memfd_create resumed>) = 3 [pid 5398] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5101] newfstatat(3, "", [pid 5399] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5398] <... openat resumed>) = 3 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] <... openat resumed>) = 3 [pid 5098] newfstatat(AT_FDCWD, "./47/file1", [pid 5399] <... mmap resumed>) = 0x7f8438200000 [pid 5099] newfstatat(3, "", [pid 5398] chdir("./file1" [pid 5101] getdents64(3, [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5398] <... chdir resumed>) = 0 [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 5398] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5101] umount2("./47/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5398] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] umount2("./45/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] getdents64(3, [pid 5398] truncate("./file1", 0 [pid 5101] newfstatat(AT_FDCWD, "./47/binderfs", [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] umount2("./47/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] newfstatat(AT_FDCWD, "./45/file1", [pid 5099] umount2("./47/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] unlink("./47/binderfs" [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 5098] openat(AT_FDCWD, "./47/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] <... unlink resumed>) = 0 [pid 5099] newfstatat(AT_FDCWD, "./47/binderfs", [pid 5101] umount2("./47/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] umount2("./45/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... openat 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 5100] openat(AT_FDCWD, "./45/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] newfstatat(4, "", [pid 5399] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] unlink("./47/binderfs" [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5398] <... truncate resumed>) = 0 [pid 5100] <... openat resumed>) = 4 [pid 5099] <... unlink resumed>) = 0 [pid 5098] getdents64(4, [pid 5398] memfd_create("syzkaller", 0 [pid 5100] newfstatat(4, "", [pid 5398] <... memfd_create resumed>) = 4 [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("./45/file1") = 0 [pid 5398] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5101] <... umount2 resumed>) = 0 [pid 5100] getdents64(3, [pid 5099] umount2("./47/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5101] umount2("./47/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] getdents64(4, [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] close(3 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5101] newfstatat(AT_FDCWD, "./47/file1", [pid 5100] <... close resumed>) = 0 [pid 5098] close(4 [pid 5398] 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 5100] rmdir("./45" [pid 5399] <... write resumed>) = 524288 [pid 5098] <... close resumed>) = 0 [pid 5399] munmap(0x7f8438200000, 138412032 [pid 5101] umount2("./47/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... rmdir resumed>) = 0 [pid 5098] rmdir("./47/file1" [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] openat(AT_FDCWD, "./47/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 5100] mkdir("./46", 0777 [pid 5098] <... rmdir resumed>) = 0 [pid 5399] <... munmap resumed>) = 0 [pid 5100] <... mkdir resumed>) = 0 [pid 5098] getdents64(3, [pid 5101] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5101] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5101] close(4 [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5101] <... close resumed>) = 0 [pid 5101] rmdir("./47/file1") = 0 [pid 5099] <... umount2 resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5398] <... write resumed>) = 524288 [pid 5098] close(3 [pid 5399] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5101] getdents64(3, [pid 5098] <... close resumed>) = 0 [pid 5399] ioctl(4, LOOP_SET_FD, 3 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] rmdir("./47" [pid 5101] close(3) = 0 [pid 5101] rmdir("./47") = 0 [pid 5098] <... rmdir resumed>) = 0 [pid 5101] mkdir("./48", 0777 [pid 5098] mkdir("./48", 0777 [pid 5101] <... mkdir resumed>) = 0 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5098] <... mkdir resumed>) = 0 [pid 5101] <... openat resumed>) = 3 [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5099] umount2("./47/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... openat resumed>) = 3 [pid 5099] newfstatat(AT_FDCWD, "./47/file1", [pid 5398] munmap(0x7f8438200000, 138412032) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5398] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5099] umount2("./47/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... ioctl resumed>) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] close(3 [pid 5099] openat(AT_FDCWD, "./47/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5399] <... ioctl resumed>) = 0 [ 142.655524][ T5399] loop0: detected capacity change from 0 to 1024 [pid 5398] close(4 [pid 5399] close(3 [pid 5101] <... ioctl resumed>) = 0 [pid 5099] <... openat resumed>) = 4 [pid 5098] <... close resumed>) = 0 [pid 5399] <... close resumed>) = 0 [pid 5398] <... close resumed>) = 0 [pid 5099] newfstatat(4, "", [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5399] close(4 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5399] <... close resumed>) = 0 [pid 5399] mkdir("./file1", 0777 [pid 5100] <... ioctl resumed>) = 0 [pid 5099] getdents64(4, [pid 5399] <... mkdir resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5099] getdents64(4, [pid 5399] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5101] close(3 [pid 5100] close(3 [pid 5101] <... close resumed>) = 0 [pid 5100] <... close resumed>) = 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 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5400 [pid 5099] close(4./strace-static-x86_64: Process 5400 attached ) = 0 [pid 5099] rmdir("./47/file1" [pid 5400] set_robust_list(0x55556fbaa660, 24 [pid 5398] exit_group(0./strace-static-x86_64: Process 5402 attached ./strace-static-x86_64: Process 5401 attached [pid 5400] <... set_robust_list resumed>) = 0 [pid 5399] <... mount resumed>) = 0 [pid 5099] <... rmdir resumed>) = 0 [pid 5400] chdir("./48" [pid 5099] getdents64(3, [pid 5400] <... chdir resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5402] set_robust_list(0x55556fbaa660, 24 [pid 5401] set_robust_list(0x55556fbaa660, 24 [pid 5400] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5399] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5398] <... exit_group resumed>) = ? [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5402 [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5401 [pid 5400] <... prctl resumed>) = 0 [pid 5402] <... set_robust_list resumed>) = 0 [pid 5401] <... set_robust_list resumed>) = 0 [pid 5400] setpgid(0, 0 [pid 5399] <... openat resumed>) = 3 [pid 5398] +++ exited with 0 +++ [pid 5402] chdir("./48" [pid 5401] chdir("./46" [pid 5399] chdir("./file1" [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5398, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5401] <... chdir resumed>) = 0 [pid 5399] <... chdir resumed>) = 0 [pid 5099] close(3 [pid 5399] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5401] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5399] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] umount2("./46", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5402] <... chdir resumed>) = 0 [pid 5401] <... prctl resumed>) = 0 [pid 5400] <... setpgid resumed>) = 0 [pid 5399] truncate("./file1", 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... close resumed>) = 0 [pid 5402] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5401] setpgid(0, 0 [pid 5400] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5103] openat(AT_FDCWD, "./46", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] rmdir("./47" [pid 5402] <... prctl resumed>) = 0 [pid 5401] <... setpgid resumed>) = 0 [pid 5400] <... openat resumed>) = 3 [pid 5103] <... openat resumed>) = 3 [pid 5402] setpgid(0, 0 [pid 5399] <... truncate resumed>) = 0 [pid 5099] <... rmdir resumed>) = 0 [pid 5399] memfd_create("syzkaller", 0) = 4 [pid 5399] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5400] write(3, "1000", 4 [pid 5399] 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 5400] <... write resumed>) = 4 [pid 5400] close(3) = 0 [pid 5099] mkdir("./48", 0777 [pid 5400] symlink("/dev/binderfs", "./binderfs" [pid 5402] <... setpgid resumed>) = 0 [pid 5400] <... symlink resumed>) = 0 [pid 5099] <... mkdir resumed>) = 0 executing program [pid 5402] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5401] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5400] write(1, "executing program\n", 18 [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5400] <... write resumed>) = 18 [pid 5402] <... openat resumed>) = 3 [pid 5401] <... openat resumed>) = 3 [pid 5400] memfd_create("syzkaller", 0 [pid 5103] newfstatat(3, "", [pid 5099] <... openat resumed>) = 3 [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5402] write(3, "1000", 4 [pid 5401] write(3, "1000", 4 [pid 5400] <... memfd_create resumed>) = 3 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5401] <... write resumed>) = 4 [pid 5103] getdents64(3, [pid 5402] <... write resumed>) = 4 [pid 5401] close(3 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5402] close(3 [pid 5401] <... close resumed>) = 0 [pid 5402] <... close resumed>) = 0 [pid 5401] symlink("/dev/binderfs", "./binderfs" [pid 5402] symlink("/dev/binderfs", "./binderfs" [pid 5401] <... symlink resumed>) = 0 [pid 5399] <... write resumed>) = 524288 [pid 5103] umount2("./46/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5402] <... symlink resumed>) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5402] write(1, "executing program\n", 18 [pid 5400] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] newfstatat(AT_FDCWD, "./46/binderfs", executing program [pid 5402] <... write resumed>) = 18 [pid 5401] write(1, "executing program\n", 18 [pid 5400] <... mmap resumed>) = 0x7f8438200000 executing program [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5402] memfd_create("syzkaller", 0 [pid 5401] <... write resumed>) = 18 [pid 5103] unlink("./46/binderfs" [pid 5401] memfd_create("syzkaller", 0 [pid 5103] <... unlink resumed>) = 0 [pid 5401] <... memfd_create resumed>) = 3 [pid 5103] umount2("./46/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5399] munmap(0x7f8438200000, 138412032 [pid 5402] <... memfd_create resumed>) = 3 [pid 5401] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5399] <... munmap resumed>) = 0 [pid 5401] <... mmap resumed>) = 0x7f8438200000 [pid 5401] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5400] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5402] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5399] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5399] close(4 [pid 5103] <... umount2 resumed>) = 0 [pid 5402] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5103] umount2("./46/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5399] <... close resumed>) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] newfstatat(AT_FDCWD, "./46/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] umount2("./46/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5103] openat(AT_FDCWD, "./46/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5103] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5103] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5103] close(4) = 0 [pid 5103] rmdir("./46/file1" [pid 5400] <... write resumed>) = 524288 [pid 5103] <... rmdir resumed>) = 0 [pid 5401] <... write resumed>) = 524288 [pid 5399] exit_group(0) = ? [pid 5399] +++ exited with 0 +++ [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5399, si_uid=0, si_status=0, si_utime=0, si_stime=9 /* 0.09 s */} --- [pid 5103] getdents64(3, [pid 5401] munmap(0x7f8438200000, 138412032 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5103] close(3) = 0 [pid 5401] <... munmap resumed>) = 0 [pid 5103] rmdir("./46") = 0 [pid 5402] munmap(0x7f8438200000, 138412032 [pid 5099] <... ioctl resumed>) = 0 [pid 5103] mkdir("./47", 0777 [pid 5402] <... munmap resumed>) = 0 [pid 5103] <... mkdir resumed>) = 0 [pid 5402] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5401] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5402] <... openat resumed>) = 4 [pid 5401] <... openat resumed>) = 4 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5097] umount2("./48", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] <... openat resumed>) = 3 [pid 5402] ioctl(4, LOOP_SET_FD, 3 [pid 5401] ioctl(4, LOOP_SET_FD, 3 [pid 5103] ioctl(3, LOOP_CLR_FD) = 0 [pid 5401] <... ioctl resumed>) = 0 [pid 5400] munmap(0x7f8438200000, 138412032 [pid 5103] close(3 [pid 5099] close(3 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5402] <... ioctl resumed>) = 0 [pid 5097] openat(AT_FDCWD, "./48", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5401] close(3) = 0 [pid 5401] close(4 [pid 5400] <... munmap resumed>) = 0 [pid 5401] <... close resumed>) = 0 [pid 5400] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5097] <... openat resumed>) = 3 [pid 5401] mkdir("./file1", 0777) = 0 [pid 5400] <... openat resumed>) = 4 [pid 5099] <... close resumed>) = 0 [pid 5097] newfstatat(3, "", [pid 5402] close(3 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5400] ioctl(4, LOOP_SET_FD, 3 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5097] getdents64(3, [pid 5402] <... close resumed>) = 0 [pid 5401] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5402] close(4) = 0 [pid 5402] mkdir("./file1", 0777) = 0 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5402] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5097] umount2("./48/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 5403 attached [pid 5403] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5103] <... close resumed>) = 0 [pid 5403] chdir("./48") = 0 [pid 5400] <... ioctl resumed>) = 0 [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5403 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5403] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5400] close(3 [pid 5097] newfstatat(AT_FDCWD, "./48/binderfs", [pid 5403] <... prctl resumed>) = 0 [pid 5400] <... close resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5400] close(4 [pid 5403] setpgid(0, 0 [pid 5400] <... close resumed>) = 0 [pid 5097] unlink("./48/binderfs" [pid 5403] <... setpgid resumed>) = 0 [pid 5400] mkdir("./file1", 0777 [pid 5403] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5401] <... mount resumed>) = 0 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5400] <... mkdir resumed>) = 0 [pid 5097] <... unlink resumed>) = 0 [pid 5403] <... openat resumed>) = 3 [ 142.914936][ T5401] loop3: detected capacity change from 0 to 1024 [ 142.932665][ T5402] loop4: detected capacity change from 0 to 1024 [ 142.954985][ T5400] loop1: detected capacity change from 0 to 1024 [pid 5401] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5400] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5097] umount2("./48/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5401] <... openat resumed>) = 3 [pid 5401] chdir("./file1") = 0 [pid 5403] write(3, "1000", 4) = 4 [pid 5403] close(3 [pid 5402] <... mount resumed>) = 0 [pid 5401] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5403] <... close resumed>) = 0 [pid 5402] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5401] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5403] symlink("/dev/binderfs", "./binderfs" [pid 5402] <... openat resumed>) = 3 [pid 5401] truncate("./file1", 0 [pid 5403] <... symlink resumed>) = 0 [pid 5400] <... mount resumed>) = 0 [pid 5097] <... umount2 resumed>) = 0 [pid 5400] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5402] chdir("./file1" [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5404 [pid 5402] <... chdir resumed>) = 0 [pid 5402] openat(AT_FDCWD, "/dev/loop4", O_RDWR./strace-static-x86_64: Process 5404 attached ) = -1 EBUSY (Device or resource busy) executing program [pid 5404] set_robust_list(0x55556fbaa660, 24 [pid 5403] write(1, "executing program\n", 18 [pid 5402] truncate("./file1", 0 [pid 5403] <... write resumed>) = 18 [pid 5403] memfd_create("syzkaller", 0 [pid 5400] chdir("./file1" [pid 5404] <... set_robust_list resumed>) = 0 [pid 5403] <... memfd_create resumed>) = 3 [pid 5400] <... chdir resumed>) = 0 [pid 5097] umount2("./48/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5403] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5403] <... mmap resumed>) = 0x7f8438200000 [pid 5400] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5404] chdir("./47" [pid 5403] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5400] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] newfstatat(AT_FDCWD, "./48/file1", [pid 5404] <... chdir resumed>) = 0 [pid 5402] <... truncate resumed>) = 0 [pid 5401] <... truncate resumed>) = 0 [pid 5404] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5402] memfd_create("syzkaller", 0 [pid 5401] memfd_create("syzkaller", 0 [pid 5400] truncate("./file1", 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] umount2("./48/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5402] <... memfd_create resumed>) = 4 [pid 5401] <... memfd_create resumed>) = 4 [pid 5402] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5401] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5402] <... mmap resumed>) = 0x7f8438200000 [pid 5401] <... mmap resumed>) = 0x7f8438200000 [pid 5404] <... prctl resumed>) = 0 [pid 5402] 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 5401] 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 5400] <... truncate resumed>) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5404] setpgid(0, 0 [pid 5403] <... write resumed>) = 524288 [pid 5400] memfd_create("syzkaller", 0 [pid 5097] openat(AT_FDCWD, "./48/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5404] <... setpgid resumed>) = 0 [pid 5404] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5097] <... openat resumed>) = 4 [pid 5404] <... openat resumed>) = 3 [pid 5400] <... memfd_create resumed>) = 4 [pid 5097] newfstatat(4, "", [pid 5400] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] getdents64(4, [pid 5400] <... mmap resumed>) = 0x7f8438200000 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5404] write(3, "1000", 4 [pid 5097] close(4 [pid 5404] <... write resumed>) = 4 [pid 5097] <... close resumed>) = 0 [pid 5097] rmdir("./48/file1" [pid 5404] close(3 [pid 5097] <... rmdir resumed>) = 0 [pid 5404] <... close resumed>) = 0 [pid 5404] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 5097] getdents64(3, [pid 5404] write(1, "executing program\n", 18) = 18 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] close(3 [pid 5404] memfd_create("syzkaller", 0) = 3 [pid 5403] munmap(0x7f8438200000, 138412032 [pid 5097] <... close resumed>) = 0 [pid 5403] <... munmap resumed>) = 0 [pid 5097] rmdir("./48" [pid 5404] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5097] <... rmdir resumed>) = 0 [pid 5097] mkdir("./49", 0777 [pid 5403] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5400] 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 5403] <... openat resumed>) = 4 [pid 5403] ioctl(4, LOOP_SET_FD, 3 [pid 5097] <... mkdir resumed>) = 0 [pid 5404] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5402] <... write resumed>) = 524288 [pid 5401] <... write resumed>) = 524288 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5402] munmap(0x7f8438200000, 138412032) = 0 [pid 5401] munmap(0x7f8438200000, 138412032) = 0 [pid 5400] <... write resumed>) = 524288 [pid 5404] <... write resumed>) = 524288 [pid 5402] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5401] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5402] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5401] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5400] munmap(0x7f8438200000, 138412032 [pid 5403] <... ioctl resumed>) = 0 [pid 5402] close(4 [ 143.105904][ T5403] loop2: detected capacity change from 0 to 1024 [pid 5401] close(4 [pid 5402] <... close resumed>) = 0 [pid 5403] close(3 [pid 5401] <... close resumed>) = 0 [pid 5400] <... munmap resumed>) = 0 [pid 5403] <... close resumed>) = 0 [pid 5403] close(4) = 0 [pid 5403] mkdir("./file1", 0777) = 0 [pid 5400] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5404] munmap(0x7f8438200000, 138412032 [pid 5403] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5404] <... munmap resumed>) = 0 [pid 5401] exit_group(0 [pid 5097] <... ioctl resumed>) = 0 [pid 5401] <... exit_group resumed>) = ? [pid 5404] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5402] exit_group(0 [pid 5400] close(4 [pid 5404] <... openat resumed>) = 4 [pid 5402] <... exit_group resumed>) = ? [pid 5404] ioctl(4, LOOP_SET_FD, 3 [pid 5402] +++ exited with 0 +++ [pid 5400] <... close resumed>) = 0 [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5402, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5101] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5401] +++ exited with 0 +++ [pid 5097] close(3 [pid 5101] umount2("./48", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5401, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5097] <... close resumed>) = 0 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5403] <... mount resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] openat(AT_FDCWD, "./48", 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, [pid 5403] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5100] umount2("./46", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5405 [pid 5100] openat(AT_FDCWD, "./46", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5403] <... openat resumed>) = 3 [pid 5101] umount2("./48/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... openat resumed>) = 3 [pid 5100] newfstatat(3, "", [pid 5403] chdir("./file1" [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 5403] <... chdir resumed>) = 0 [pid 5101] newfstatat(AT_FDCWD, "./48/binderfs", [pid 5403] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5403] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] unlink("./48/binderfs"./strace-static-x86_64: Process 5405 attached ) = 0 [pid 5405] set_robust_list(0x55556fbaa660, 24 [pid 5404] <... ioctl resumed>) = 0 [pid 5403] truncate("./file1", 0 [pid 5101] umount2("./48/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5405] <... set_robust_list resumed>) = 0 [pid 5404] close(3 [pid 5400] exit_group(0 [pid 5100] getdents64(3, [pid 5405] chdir("./49" [pid 5404] <... close resumed>) = 0 [pid 5405] <... chdir resumed>) = 0 [pid 5404] close(4 [pid 5400] <... exit_group resumed>) = ? [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5405] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5403] <... truncate resumed>) = 0 [pid 5101] <... umount2 resumed>) = 0 [pid 5405] <... prctl resumed>) = 0 [pid 5403] memfd_create("syzkaller", 0 [pid 5405] setpgid(0, 0 [pid 5403] <... memfd_create resumed>) = 4 [pid 5403] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5405] <... setpgid resumed>) = 0 [pid 5404] <... close resumed>) = 0 [pid 5101] umount2("./48/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5405] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5404] mkdir("./file1", 0777 [pid 5100] umount2("./46/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5405] <... openat resumed>) = 3 [pid 5404] <... mkdir resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 143.208810][ T5404] loop5: detected capacity change from 0 to 1024 [pid 5101] newfstatat(AT_FDCWD, "./48/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5405] write(3, "1000", 4 [pid 5404] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5403] 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(AT_FDCWD, "./46/binderfs", [pid 5405] <... write resumed>) = 4 [pid 5101] umount2("./48/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5405] close(3 [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5405] <... close resumed>) = 0 executing program [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5405] symlink("/dev/binderfs", "./binderfs" [pid 5404] <... mount resumed>) = 0 [pid 5100] unlink("./46/binderfs" [pid 5405] <... symlink resumed>) = 0 [pid 5101] openat(AT_FDCWD, "./48/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5405] write(1, "executing program\n", 18 [pid 5404] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5101] <... openat resumed>) = 4 [pid 5100] <... unlink resumed>) = 0 [pid 5405] <... write resumed>) = 18 [pid 5405] memfd_create("syzkaller", 0 [pid 5404] <... openat resumed>) = 3 [pid 5400] +++ exited with 0 +++ [pid 5101] newfstatat(4, "", [pid 5100] umount2("./46/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5404] chdir("./file1" [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5400, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5404] <... chdir resumed>) = 0 [pid 5101] getdents64(4, [pid 5405] <... memfd_create resumed>) = 3 [pid 5404] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5405] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5404] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] getdents64(4, [pid 5405] <... mmap resumed>) = 0x7f8438200000 [pid 5404] truncate("./file1", 0 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] umount2("./48", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] close(4) = 0 [pid 5101] rmdir("./48/file1" [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5405] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5098] openat(AT_FDCWD, "./48", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] <... rmdir resumed>) = 0 [pid 5098] <... openat resumed>) = 3 [pid 5101] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5403] <... write resumed>) = 524288 [pid 5101] close(3 [pid 5098] newfstatat(3, "", [pid 5100] umount2("./46/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5404] <... truncate resumed>) = 0 [pid 5101] <... close 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 5100] newfstatat(AT_FDCWD, "./46/file1", [pid 5098] getdents64(3, [pid 5404] memfd_create("syzkaller", 0 [pid 5101] rmdir("./48" [pid 5404] <... memfd_create resumed>) = 4 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5404] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] <... rmdir resumed>) = 0 [pid 5100] umount2("./46/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] umount2("./48/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5404] <... mmap resumed>) = 0x7f8438200000 [pid 5101] mkdir("./49", 0777 [pid 5404] 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 5403] munmap(0x7f8438200000, 138412032 [pid 5101] <... mkdir resumed>) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./48/binderfs", [pid 5403] <... munmap resumed>) = 0 [pid 5100] openat(AT_FDCWD, "./46/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5405] <... write resumed>) = 524288 [pid 5404] <... write resumed>) = 524288 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5100] <... openat resumed>) = 4 [pid 5098] unlink("./48/binderfs" [pid 5100] newfstatat(4, "", [pid 5101] <... openat resumed>) = 3 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] <... unlink resumed>) = 0 [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5100] getdents64(4, [pid 5405] munmap(0x7f8438200000, 138412032 [pid 5403] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5405] <... munmap resumed>) = 0 [pid 5403] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] getdents64(4, [pid 5098] umount2("./48/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5403] close(4 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5405] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5100] close(4 [pid 5405] <... openat resumed>) = 4 [pid 5100] <... close resumed>) = 0 [pid 5405] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5100] rmdir("./46/file1" [pid 5403] <... close resumed>) = 0 [pid 5100] <... rmdir resumed>) = 0 [pid 5404] munmap(0x7f8438200000, 138412032) = 0 [pid 5100] getdents64(3, [pid 5098] <... umount2 resumed>) = 0 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] close(3 [pid 5098] umount2("./48/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5405] close(3 [pid 5404] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5403] exit_group(0 [pid 5100] <... close resumed>) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] rmdir("./46" [pid 5098] newfstatat(AT_FDCWD, "./48/file1", [pid 5404] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5404] close(4) = 0 [pid 5100] <... rmdir resumed>) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] mkdir("./47", 0777 [pid 5098] umount2("./48/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5405] <... close resumed>) = 0 [pid 5404] exit_group(0 [pid 5403] <... exit_group resumed>) = ? [pid 5101] <... ioctl resumed>) = 0 [pid 5100] <... mkdir resumed>) = 0 [pid 5098] openat(AT_FDCWD, "./48/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5405] close(4 [pid 5404] <... exit_group resumed>) = ? [pid 5405] <... close resumed>) = 0 [pid 5404] +++ exited with 0 +++ [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5101] close(3 [pid 5098] <... openat resumed>) = 4 [pid 5405] mkdir("./file1", 0777 [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5404, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5101] <... close resumed>) = 0 [pid 5405] <... mkdir resumed>) = 0 [pid 5103] restart_syscall(<... resuming interrupted clone ...> [ 143.363767][ T5405] loop0: detected capacity change from 0 to 1024 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5100] <... openat resumed>) = 3 [pid 5098] newfstatat(4, "", [pid 5405] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5103] <... restart_syscall resumed>) = 0 [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 ./strace-static-x86_64: Process 5406 attached [pid 5103] umount2("./47", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5406 [pid 5098] getdents64(4, [pid 5406] set_robust_list(0x55556fbaa660, 24 [pid 5403] +++ exited with 0 +++ [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5406] <... set_robust_list resumed>) = 0 [pid 5103] openat(AT_FDCWD, "./47", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5406] chdir("./49" [pid 5103] <... openat resumed>) = 3 [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5403, si_uid=0, si_status=0, si_utime=0, si_stime=9 /* 0.09 s */} --- [pid 5406] <... chdir resumed>) = 0 [pid 5103] newfstatat(3, "", [pid 5099] restart_syscall(<... resuming interrupted clone ...> [pid 5098] getdents64(4, [pid 5406] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5405] <... mount resumed>) = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] <... restart_syscall resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5406] <... prctl resumed>) = 0 [pid 5103] getdents64(3, [pid 5098] close(4 [pid 5406] setpgid(0, 0 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5405] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5103] umount2("./47/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5406] <... setpgid resumed>) = 0 [pid 5405] <... openat resumed>) = 3 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... close resumed>) = 0 [pid 5405] chdir("./file1" [pid 5103] newfstatat(AT_FDCWD, "./47/binderfs", [pid 5406] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5405] <... chdir resumed>) = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] umount2("./48", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] rmdir("./48/file1" [pid 5406] <... openat resumed>) = 3 [pid 5405] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5103] unlink("./47/binderfs" [pid 5406] write(3, "1000", 4 [pid 5405] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] <... unlink resumed>) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... rmdir resumed>) = 0 [pid 5406] <... write resumed>) = 4 [pid 5405] truncate("./file1", 0 [pid 5103] umount2("./47/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] openat(AT_FDCWD, "./48", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5406] close(3 [pid 5098] getdents64(3, [pid 5405] <... truncate resumed>) = 0 [pid 5103] <... umount2 resumed>) = 0 [pid 5406] <... close resumed>) = 0 [pid 5405] memfd_create("syzkaller", 0 [pid 5406] symlink("/dev/binderfs", "./binderfs" [pid 5405] <... memfd_create resumed>) = 4 [pid 5406] <... symlink resumed>) = 0 [pid 5099] <... openat resumed>) = 3 [pid 5405] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0executing program [pid 5406] write(1, "executing program\n", 18 [pid 5405] <... mmap resumed>) = 0x7f8438200000 [pid 5099] newfstatat(3, "", [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5406] <... write resumed>) = 18 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5406] memfd_create("syzkaller", 0 [pid 5405] 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 5406] <... memfd_create resumed>) = 3 [pid 5100] <... ioctl resumed>) = 0 [pid 5099] getdents64(3, [pid 5098] <... close resumed>) = 0 [pid 5406] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] close(3 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5100] <... close resumed>) = 0 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5098] rmdir("./48" [pid 5406] <... mmap resumed>) = 0x7f8438200000 [pid 5103] umount2("./47/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5103] newfstatat(AT_FDCWD, "./47/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] umount2("./47/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5103] openat(AT_FDCWD, "./47/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5098] <... rmdir resumed>) = 0 [pid 5406] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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(4, "", [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5407 [pid 5099] umount2("./48/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] mkdir("./49", 0777 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] getdents64(4, [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... mkdir resumed>) = 0 ./strace-static-x86_64: Process 5407 attached [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5099] newfstatat(AT_FDCWD, "./48/binderfs", [pid 5407] set_robust_list(0x55556fbaa660, 24 [pid 5103] getdents64(4, [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5407] <... set_robust_list resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5407] chdir("./47" [pid 5103] close(4 [pid 5099] unlink("./48/binderfs" [pid 5407] <... chdir resumed>) = 0 [pid 5103] <... close resumed>) = 0 [pid 5099] <... unlink resumed>) = 0 [pid 5407] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5103] rmdir("./47/file1" [pid 5099] umount2("./48/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] <... rmdir resumed>) = 0 [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5407] <... prctl resumed>) = 0 [pid 5407] setpgid(0, 0) = 0 [pid 5407] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5098] <... openat resumed>) = 3 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5405] <... write resumed>) = 524288 [pid 5103] getdents64(3, [pid 5407] write(3, "1000", 4 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5407] <... write resumed>) = 4 [pid 5103] close(3 [pid 5407] close(3 [pid 5103] <... close resumed>) = 0 [pid 5103] rmdir("./47") = 0 [pid 5407] <... close resumed>) = 0 [pid 5407] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5405] munmap(0x7f8438200000, 138412032) = 0 [pid 5103] mkdir("./48", 0777executing program [pid 5407] write(1, "executing program\n", 18 [pid 5103] <... mkdir resumed>) = 0 [pid 5407] <... write resumed>) = 18 [pid 5405] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5407] memfd_create("syzkaller", 0 [pid 5406] <... write resumed>) = 524288 [pid 5405] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5407] <... memfd_create resumed>) = 3 [pid 5405] close(4 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5407] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5405] <... close resumed>) = 0 [pid 5103] <... openat resumed>) = 3 [pid 5407] <... mmap resumed>) = 0x7f8438200000 [pid 5407] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 resumed>) = 0 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5099] umount2("./48/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... ioctl resumed>) = 0 [pid 5406] munmap(0x7f8438200000, 138412032 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] newfstatat(AT_FDCWD, "./48/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] umount2("./48/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "./48/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5406] <... munmap resumed>) = 0 [pid 5405] exit_group(0 [pid 5099] <... openat resumed>) = 4 [pid 5098] close(3 [pid 5406] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5405] <... exit_group resumed>) = ? [pid 5099] newfstatat(4, "", [pid 5098] <... close resumed>) = 0 [pid 5407] <... write resumed>) = 524288 [pid 5406] <... openat resumed>) = 4 [pid 5103] <... ioctl resumed>) = 0 [pid 5407] munmap(0x7f8438200000, 138412032 [pid 5406] ioctl(4, LOOP_SET_FD, 3 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5405] +++ exited with 0 +++ [pid 5103] close(3 [pid 5407] <... munmap resumed>) = 0 [pid 5099] getdents64(4, [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5405, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- ./strace-static-x86_64: Process 5408 attached [pid 5407] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5103] <... close resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5408 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5097] umount2("./49", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] close(4 [pid 5097] openat(AT_FDCWD, "./49", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] <... close resumed>) = 0 [pid 5097] <... openat resumed>) = 3 [pid 5099] rmdir("./48/file1" [pid 5097] newfstatat(3, "", [pid 5408] set_robust_list(0x55556fbaa660, 24 [pid 5099] <... rmdir resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5408] <... set_robust_list resumed>) = 0 [pid 5407] <... openat resumed>) = 4 [pid 5406] <... ioctl resumed>) = 0 [pid 5097] getdents64(3, [pid 5408] chdir("./49" [pid 5407] ioctl(4, LOOP_SET_FD, 3 [pid 5406] close(3 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5408] <... chdir resumed>) = 0 [pid 5408] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5408] setpgid(0, 0) = 0 [pid 5408] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5406] <... close resumed>) = 0 [pid 5097] umount2("./49/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5406] close(4 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5406] <... close resumed>) = 0 ./strace-static-x86_64: Process 5409 attached [pid 5408] <... openat resumed>) = 3 [pid 5406] mkdir("./file1", 0777 [pid 5097] newfstatat(AT_FDCWD, "./49/binderfs", [pid 5409] set_robust_list(0x55556fbaa660, 24 [pid 5406] <... mkdir resumed>) = 0 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5409 [pid 5409] <... set_robust_list resumed>) = 0 [pid 5408] write(3, "1000", 4 [pid 5099] getdents64(3, [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5409] chdir("./48" [pid 5408] <... write resumed>) = 4 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5406] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5097] unlink("./49/binderfs" [pid 5409] <... chdir resumed>) = 0 [pid 5408] close(3 [pid 5099] close(3 [pid 5409] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5408] <... close resumed>) = 0 [pid 5409] <... prctl resumed>) = 0 [pid 5408] symlink("/dev/binderfs", "./binderfs" [pid 5407] <... ioctl resumed>) = 0 [pid 5099] <... close resumed>) = 0 [pid 5097] <... unlink resumed>) = 0 [pid 5409] setpgid(0, 0 [pid 5408] <... symlink resumed>) = 0 [pid 5407] close(3 [pid 5099] rmdir("./48" [pid 5097] umount2("./49/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5409] <... setpgid resumed>) = 0 [pid 5407] <... close resumed>) = 0 executing program [pid 5409] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5408] write(1, "executing program\n", 18 [pid 5407] close(4 [pid 5099] <... rmdir resumed>) = 0 [pid 5408] <... write resumed>) = 18 [pid 5407] <... close resumed>) = 0 [pid 5099] mkdir("./49", 0777 [pid 5408] memfd_create("syzkaller", 0 [pid 5407] mkdir("./file1", 0777 [pid 5409] <... openat resumed>) = 3 [pid 5408] <... memfd_create resumed>) = 3 [pid 5099] <... mkdir resumed>) = 0 [pid 5407] <... mkdir resumed>) = 0 [pid 5409] write(3, "1000", 4 [pid 5407] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5409] <... write resumed>) = 4 [pid 5408] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5409] close(3 [pid 5408] <... mmap resumed>) = 0x7f8438200000 [pid 5409] <... close resumed>) = 0 [pid 5409] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5099] <... openat resumed>) = 3 [pid 5099] ioctl(3, LOOP_CLR_FDexecuting program [pid 5097] <... umount2 resumed>) = 0 [pid 5409] write(1, "executing program\n", 18) = 18 [ 143.599009][ T5406] loop4: detected capacity change from 0 to 1024 [ 143.630106][ T5407] loop3: detected capacity change from 0 to 1024 [pid 5097] umount2("./49/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5409] memfd_create("syzkaller", 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5409] <... memfd_create resumed>) = 3 [pid 5408] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5409] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5097] newfstatat(AT_FDCWD, "./49/file1", [pid 5409] <... mmap resumed>) = 0x7f8438200000 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] umount2("./49/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5409] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 resumed>) = -1 EINVAL (Invalid argument) [pid 5407] <... mount resumed>) = 0 [pid 5406] <... mount resumed>) = 0 [pid 5097] openat(AT_FDCWD, "./49/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5407] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5097] <... openat resumed>) = 4 [pid 5407] chdir("./file1" [pid 5406] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5407] <... chdir resumed>) = 0 [pid 5407] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5097] newfstatat(4, "", [pid 5406] <... openat resumed>) = 3 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5406] chdir("./file1" [pid 5097] getdents64(4, [pid 5406] <... chdir resumed>) = 0 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5409] <... write resumed>) = 524288 [pid 5407] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5406] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5099] <... ioctl resumed>) = 0 [pid 5408] <... write resumed>) = 524288 [pid 5407] truncate("./file1", 0 [pid 5406] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5406] truncate("./file1", 0 [pid 5099] close(3 [pid 5097] getdents64(4, [pid 5099] <... close resumed>) = 0 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5097] close(4) = 0 [pid 5097] rmdir("./49/file1") = 0 [pid 5097] getdents64(3, [pid 5407] <... truncate resumed>) = 0 [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5410 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 ./strace-static-x86_64: Process 5410 attached [pid 5407] memfd_create("syzkaller", 0 [pid 5406] <... truncate resumed>) = 0 [pid 5097] close(3 [pid 5410] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5409] munmap(0x7f8438200000, 138412032 [pid 5408] munmap(0x7f8438200000, 138412032 [pid 5407] <... memfd_create resumed>) = 4 [pid 5406] memfd_create("syzkaller", 0 [pid 5097] <... close resumed>) = 0 [pid 5410] chdir("./49" [pid 5409] <... munmap resumed>) = 0 [pid 5408] <... munmap resumed>) = 0 [pid 5407] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5406] <... memfd_create resumed>) = 4 [pid 5097] rmdir("./49" [pid 5410] <... chdir resumed>) = 0 [pid 5408] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5407] <... mmap resumed>) = 0x7f8438200000 [pid 5406] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5410] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5406] <... mmap resumed>) = 0x7f8438200000 [pid 5097] <... rmdir resumed>) = 0 [pid 5410] <... prctl resumed>) = 0 [pid 5406] 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 5410] setpgid(0, 0) = 0 [pid 5409] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5410] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5409] <... openat resumed>) = 4 [pid 5408] <... openat resumed>) = 4 [pid 5407] 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] mkdir("./50", 0777 [pid 5409] ioctl(4, LOOP_SET_FD, 3 [pid 5408] ioctl(4, LOOP_SET_FD, 3 [pid 5410] <... openat resumed>) = 3 [pid 5097] <... mkdir resumed>) = 0 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5410] write(3, "1000", 4 [pid 5097] <... openat resumed>) = 3 [pid 5410] <... write resumed>) = 4 [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5410] close(3 [pid 5408] <... ioctl resumed>) = 0 [pid 5410] <... close resumed>) = 0 [pid 5410] symlink("/dev/binderfs", "./binderfs" [pid 5408] close(3executing program [pid 5410] <... symlink resumed>) = 0 [pid 5408] <... close resumed>) = 0 [pid 5410] write(1, "executing program\n", 18 [pid 5409] <... ioctl resumed>) = 0 [pid 5407] <... write resumed>) = 524288 [pid 5410] <... write resumed>) = 18 [pid 5408] close(4) = 0 [pid 5410] memfd_create("syzkaller", 0) = 3 [pid 5409] close(3 [pid 5408] mkdir("./file1", 0777 [pid 5409] <... close resumed>) = 0 [pid 5410] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5409] close(4 [pid 5407] munmap(0x7f8438200000, 138412032 [pid 5410] <... mmap resumed>) = 0x7f8438200000 [pid 5409] <... close resumed>) = 0 [pid 5408] <... mkdir resumed>) = 0 [pid 5409] mkdir("./file1", 0777) = 0 [pid 5408] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5407] <... munmap resumed>) = 0 [pid 5406] <... write resumed>) = 524288 [ 143.784662][ T5409] loop5: detected capacity change from 0 to 1024 [ 143.791551][ T5408] loop1: detected capacity change from 0 to 1024 [pid 5407] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5406] munmap(0x7f8438200000, 138412032 [pid 5408] <... mount resumed>) = 0 [pid 5406] <... munmap resumed>) = 0 [pid 5409] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5407] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] <... ioctl resumed>) = 0 [pid 5410] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5407] close(4 [pid 5408] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5406] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5408] <... openat resumed>) = 3 [pid 5406] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5408] chdir("./file1") = 0 [pid 5406] close(4 [pid 5408] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5407] <... close resumed>) = 0 [pid 5410] <... write resumed>) = 524288 [pid 5408] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5408] truncate("./file1", 0 [pid 5410] munmap(0x7f8438200000, 138412032 [pid 5407] exit_group(0) = ? [pid 5408] <... truncate resumed>) = 0 [pid 5097] close(3 [pid 5408] memfd_create("syzkaller", 0 [pid 5406] <... close resumed>) = 0 [pid 5408] <... memfd_create resumed>) = 4 [pid 5408] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5410] <... munmap resumed>) = 0 [pid 5408] <... mmap resumed>) = 0x7f8438200000 [pid 5406] exit_group(0 [pid 5410] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5407] +++ exited with 0 +++ [pid 5406] <... exit_group resumed>) = ? [pid 5097] <... close resumed>) = 0 [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5407, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5410] <... openat resumed>) = 4 [pid 5100] umount2("./47", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5410] ioctl(4, LOOP_SET_FD, 3 [pid 5409] <... mount resumed>) = 0 [pid 5408] 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 5100] openat(AT_FDCWD, "./47", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY./strace-static-x86_64: Process 5411 attached ) = 3 [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5411 [pid 5411] set_robust_list(0x55556fbaa660, 24 [pid 5100] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5406] +++ exited with 0 +++ [pid 5100] getdents64(3, [pid 5409] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5406, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5411] <... set_robust_list resumed>) = 0 [pid 5409] <... openat resumed>) = 3 [pid 5101] restart_syscall(<... resuming interrupted clone ...> [pid 5100] umount2("./47/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5411] chdir("./50" [pid 5409] chdir("./file1" [pid 5101] <... restart_syscall resumed>) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5411] <... chdir resumed>) = 0 [pid 5409] <... chdir resumed>) = 0 [pid 5100] newfstatat(AT_FDCWD, "./47/binderfs", [pid 5411] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5409] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5411] <... prctl resumed>) = 0 [pid 5409] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] unlink("./47/binderfs" [pid 5411] setpgid(0, 0 [pid 5409] truncate("./file1", 0 [pid 5408] <... write resumed>) = 524288 [pid 5101] umount2("./49", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... unlink resumed>) = 0 [pid 5411] <... setpgid resumed>) = 0 [pid 5410] <... ioctl resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] umount2("./47/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] openat(AT_FDCWD, "./49", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5101] newfstatat(3, "", [pid 5411] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5411] <... openat resumed>) = 3 [pid 5410] close(3 [pid 5409] <... truncate resumed>) = 0 [pid 5101] getdents64(3, [pid 5410] <... close resumed>) = 0 [pid 5409] memfd_create("syzkaller", 0 [pid 5410] close(4 [pid 5409] <... memfd_create resumed>) = 4 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5411] write(3, "1000", 4 [pid 5410] <... close resumed>) = 0 [pid 5409] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] umount2("./49/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5411] <... write resumed>) = 4 [pid 5410] mkdir("./file1", 0777 [pid 5409] <... mmap resumed>) = 0x7f8438200000 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5411] close(3 [pid 5408] munmap(0x7f8438200000, 138412032 [pid 5101] newfstatat(AT_FDCWD, "./49/binderfs", [pid 5411] <... close resumed>) = 0 [pid 5408] <... munmap resumed>) = 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5411] symlink("/dev/binderfs", "./binderfs" [pid 5101] unlink("./49/binderfs" [pid 5411] <... symlink resumed>) = 0 [pid 5410] <... mkdir resumed>) = 0 [pid 5411] write(1, "executing program\n", 18executing program [pid 5101] <... unlink resumed>) = 0 [pid 5100] <... umount2 resumed>) = 0 [pid 5411] <... write resumed>) = 18 [pid 5410] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5101] umount2("./49/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5411] memfd_create("syzkaller", 0 [pid 5409] 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 5408] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5408] close(4 [pid 5411] <... memfd_create resumed>) = 3 [pid 5411] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [ 143.895422][ T5410] loop2: detected capacity change from 0 to 1024 [pid 5411] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5408] <... close resumed>) = 0 [pid 5100] umount2("./47/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5410] <... mount resumed>) = 0 [pid 5100] newfstatat(AT_FDCWD, "./47/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] umount2("./47/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5100] openat(AT_FDCWD, "./47/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5100] newfstatat(4, "", [pid 5410] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5410] <... openat resumed>) = 3 [pid 5100] getdents64(4, [pid 5410] chdir("./file1" [pid 5409] <... write resumed>) = 524288 [pid 5101] <... umount2 resumed>) = 0 [pid 5410] <... chdir resumed>) = 0 [pid 5408] exit_group(0 [pid 5410] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5408] <... exit_group resumed>) = ? [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5410] truncate("./file1", 0 [pid 5408] +++ exited with 0 +++ [pid 5100] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] close(4 [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5408, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5100] <... close resumed>) = 0 [pid 5409] munmap(0x7f8438200000, 138412032 [pid 5101] umount2("./49/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] rmdir("./47/file1" [pid 5409] <... munmap resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] <... rmdir resumed>) = 0 [pid 5098] umount2("./49", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] newfstatat(AT_FDCWD, "./49/file1", [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] openat(AT_FDCWD, "./49", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5409] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5101] umount2("./49/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] getdents64(3, [pid 5409] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] <... openat resumed>) = 3 [pid 5411] <... write resumed>) = 524288 [pid 5410] <... truncate resumed>) = 0 [pid 5409] close(4 [pid 5101] openat(AT_FDCWD, "./49/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5100] close(3 [pid 5098] newfstatat(3, "", [pid 5100] <... close resumed>) = 0 [pid 5100] rmdir("./47" [pid 5411] munmap(0x7f8438200000, 138412032 [pid 5409] <... close resumed>) = 0 [pid 5100] <... rmdir resumed>) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] <... openat resumed>) = 4 [pid 5410] memfd_create("syzkaller", 0 [pid 5101] newfstatat(4, "", [pid 5100] mkdir("./48", 0777 [pid 5098] getdents64(3, [pid 5411] <... munmap resumed>) = 0 [pid 5410] <... memfd_create resumed>) = 4 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] <... mkdir resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5410] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] getdents64(4, [pid 5098] umount2("./49/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5411] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5410] <... mmap resumed>) = 0x7f8438200000 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5411] <... openat resumed>) = 4 [pid 5101] getdents64(4, [pid 5098] newfstatat(AT_FDCWD, "./49/binderfs", [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] <... openat resumed>) = 3 [pid 5411] ioctl(4, LOOP_SET_FD, 3 [pid 5409] exit_group(0 [pid 5101] close(4 [pid 5098] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5410] 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 5409] <... exit_group resumed>) = ? [pid 5101] <... close resumed>) = 0 [pid 5098] unlink("./49/binderfs" [pid 5101] rmdir("./49/file1" [pid 5411] <... ioctl resumed>) = 0 [pid 5409] +++ exited with 0 +++ [pid 5101] <... rmdir resumed>) = 0 [pid 5098] <... unlink resumed>) = 0 [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5409, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5101] getdents64(3, [pid 5411] close(3 [pid 5098] umount2("./49/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5411] <... close resumed>) = 0 [pid 5103] umount2("./48", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5411] close(4 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5411] <... close resumed>) = 0 [pid 5103] openat(AT_FDCWD, "./48", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5411] mkdir("./file1", 0777 [pid 5103] <... openat resumed>) = 3 [pid 5411] <... mkdir resumed>) = 0 [pid 5103] newfstatat(3, "", [pid 5410] <... write resumed>) = 524288 [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 5101] close(3) = 0 [pid 5100] <... ioctl resumed>) = 0 [pid 5101] rmdir("./49" [pid 5411] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5103] umount2("./48/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] <... rmdir resumed>) = 0 [pid 5103] newfstatat(AT_FDCWD, "./48/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] mkdir("./50", 0777 [pid 5103] unlink("./48/binderfs") = 0 [ 144.020891][ T5411] loop0: detected capacity change from 0 to 1024 [pid 5103] umount2("./48/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] close(3 [pid 5410] munmap(0x7f8438200000, 138412032 [pid 5101] <... mkdir resumed>) = 0 [pid 5098] <... umount2 resumed>) = 0 [pid 5103] <... umount2 resumed>) = 0 [pid 5103] umount2("./48/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5103] newfstatat(AT_FDCWD, "./48/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5410] <... munmap resumed>) = 0 [pid 5103] umount2("./48/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5098] umount2("./49/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] openat(AT_FDCWD, "./48/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5411] <... mount resumed>) = 0 [pid 5103] <... openat resumed>) = 4 [pid 5101] <... openat resumed>) = 3 [pid 5100] <... close resumed>) = 0 [pid 5098] newfstatat(AT_FDCWD, "./49/file1", [pid 5103] newfstatat(4, "", [pid 5098] <... 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_EMPTY_PATH) = 0 [pid 5098] umount2("./49/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] getdents64(4, [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5098] openat(AT_FDCWD, "./49/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5411] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5410] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5103] getdents64(4, [pid 5098] <... openat resumed>) = 4 [pid 5411] <... openat resumed>) = 3 [pid 5410] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] newfstatat(4, "", [pid 5411] chdir("./file1" [pid 5410] close(4 [pid 5103] close(4 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 ./strace-static-x86_64: Process 5412 attached [pid 5412] set_robust_list(0x55556fbaa660, 24 [pid 5411] <... chdir resumed>) = 0 [pid 5103] <... close resumed>) = 0 [pid 5411] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5412 [pid 5411] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5098] getdents64(4, [pid 5411] truncate("./file1", 0 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] close(4 [pid 5412] <... set_robust_list resumed>) = 0 [pid 5410] <... close resumed>) = 0 [pid 5103] rmdir("./48/file1" [pid 5098] <... close resumed>) = 0 [pid 5412] chdir("./48" [pid 5098] rmdir("./49/file1" [pid 5103] <... rmdir resumed>) = 0 [pid 5412] <... chdir resumed>) = 0 [pid 5103] getdents64(3, [pid 5098] <... rmdir resumed>) = 0 [pid 5412] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5412] setpgid(0, 0 [pid 5103] close(3 [pid 5101] <... ioctl resumed>) = 0 [pid 5098] getdents64(3, [pid 5412] <... setpgid resumed>) = 0 [pid 5103] <... close resumed>) = 0 [pid 5412] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5103] rmdir("./48" [pid 5411] <... truncate resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5411] memfd_create("syzkaller", 0 [pid 5103] <... rmdir resumed>) = 0 [pid 5098] close(3 [pid 5411] <... memfd_create resumed>) = 4 [pid 5098] <... close resumed>) = 0 [pid 5098] rmdir("./49" [pid 5411] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5098] <... rmdir resumed>) = 0 [pid 5411] <... mmap resumed>) = 0x7f8438200000 [pid 5412] <... openat resumed>) = 3 [pid 5103] mkdir("./49", 0777 [pid 5098] mkdir("./50", 0777 [pid 5412] write(3, "1000", 4 [pid 5103] <... mkdir resumed>) = 0 [pid 5098] <... mkdir resumed>) = 0 [pid 5412] <... write resumed>) = 4 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5412] close(3) = 0 [pid 5410] exit_group(0 [pid 5103] <... openat resumed>) = 3 [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5412] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5098] <... openat resumed>) = 3 [pid 5412] write(1, "executing program\n", 18) = 18 [pid 5411] 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(3, LOOP_CLR_FD [pid 5412] memfd_create("syzkaller", 0 [pid 5410] <... exit_group resumed>) = ? [pid 5412] <... memfd_create resumed>) = 3 [pid 5412] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5412] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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(3) = 0 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5410] +++ exited with 0 +++ [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5410, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5099] restart_syscall(<... resuming interrupted clone ...>) = 0 ./strace-static-x86_64: Process 5413 attached [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5413 [pid 5099] umount2("./49", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5413] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5413] chdir("./50" [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5413] <... chdir resumed>) = 0 [pid 5412] <... write resumed>) = 524288 [pid 5099] openat(AT_FDCWD, "./49", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5413] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5412] munmap(0x7f8438200000, 138412032 [pid 5411] <... write resumed>) = 524288 [pid 5099] <... openat resumed>) = 3 [pid 5413] <... prctl resumed>) = 0 [pid 5099] newfstatat(3, "", [pid 5413] setpgid(0, 0 [pid 5412] <... munmap resumed>) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5411] munmap(0x7f8438200000, 138412032 [pid 5413] <... setpgid resumed>) = 0 [pid 5099] getdents64(3, [pid 5413] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] umount2("./49/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5413] <... openat resumed>) = 3 [pid 5412] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5411] <... munmap resumed>) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5413] write(3, "1000", 4 [pid 5099] newfstatat(AT_FDCWD, "./49/binderfs", [pid 5413] <... write resumed>) = 4 [pid 5412] <... openat resumed>) = 4 [pid 5411] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5413] close(3 [pid 5412] ioctl(4, LOOP_SET_FD, 3 [pid 5411] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] unlink("./49/binderfs" [pid 5413] <... close resumed>) = 0 [pid 5411] close(4 [pid 5099] <... unlink resumed>) = 0 [pid 5099] umount2("./49/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5413] symlink("/dev/binderfs", "./binderfs" [pid 5411] <... close resumed>) = 0 [pid 5098] <... ioctl resumed>) = 0 [pid 5413] <... symlink resumed>) = 0 [pid 5413] write(1, "executing program\n", 18executing program ) = 18 [pid 5103] <... ioctl resumed>) = 0 [pid 5413] memfd_create("syzkaller", 0) = 3 [pid 5099] <... umount2 resumed>) = 0 [pid 5413] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] close(3) = 0 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5413] <... mmap resumed>) = 0x7f8438200000 [pid 5412] <... ioctl resumed>) = 0 [pid 5411] exit_group(0 [pid 5412] close(3) = 0 ./strace-static-x86_64: Process 5414 attached [pid 5412] close(4) = 0 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5414 [pid 5098] close(3) = 0 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5412] mkdir("./file1", 0777 [pid 5099] umount2("./49/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] newfstatat(AT_FDCWD, "./49/file1", [pid 5412] <... mkdir resumed>) = 0 [ 144.228918][ T5412] loop3: detected capacity change from 0 to 1024 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5414] set_robust_list(0x55556fbaa660, 24 [pid 5412] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5411] <... exit_group resumed>) = ? [pid 5414] <... set_robust_list resumed>) = 0 [pid 5099] umount2("./49/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5415 [pid 5414] chdir("./49" [pid 5413] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288./strace-static-x86_64: Process 5415 attached [pid 5099] openat(AT_FDCWD, "./49/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5415] set_robust_list(0x55556fbaa660, 24 [pid 5099] <... openat resumed>) = 4 [pid 5411] +++ exited with 0 +++ [pid 5415] <... set_robust_list resumed>) = 0 [pid 5414] <... chdir resumed>) = 0 [pid 5099] newfstatat(4, "", [pid 5415] chdir("./50" [pid 5414] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5411, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5415] <... chdir resumed>) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5415] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5414] <... prctl resumed>) = 0 [pid 5415] <... prctl resumed>) = 0 [pid 5414] setpgid(0, 0 [pid 5099] getdents64(4, [pid 5097] umount2("./50", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5415] setpgid(0, 0 [pid 5414] <... setpgid resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5415] <... setpgid resumed>) = 0 [pid 5099] getdents64(4, [pid 5415] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5414] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] openat(AT_FDCWD, "./50", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5415] <... openat resumed>) = 3 [pid 5414] <... openat resumed>) = 3 [pid 5099] close(4 [pid 5097] <... openat resumed>) = 3 [pid 5414] write(3, "1000", 4 [pid 5099] <... close resumed>) = 0 [pid 5415] write(3, "1000", 4 [pid 5414] <... write resumed>) = 4 [pid 5099] rmdir("./49/file1" [pid 5097] newfstatat(3, "", [pid 5415] <... write resumed>) = 4 [pid 5414] close(3 [pid 5412] <... mount resumed>) = 0 [pid 5099] <... rmdir resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5415] close(3 [pid 5414] <... close resumed>) = 0 [pid 5412] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5097] getdents64(3, [pid 5415] <... close resumed>) = 0 [pid 5414] symlink("/dev/binderfs", "./binderfs" [pid 5413] <... write resumed>) = 524288 [pid 5412] <... openat resumed>) = 3 [pid 5099] getdents64(3, [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5415] symlink("/dev/binderfs", "./binderfs" [pid 5414] <... symlink resumed>) = 0 [pid 5412] chdir("./file1" [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 executing program [pid 5097] umount2("./50/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5415] <... symlink resumed>) = 0 [pid 5412] <... chdir resumed>) = 0 [pid 5099] close(3 [pid 5415] write(1, "executing program\n", 18executing program [pid 5414] write(1, "executing program\n", 18 [pid 5412] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5415] <... write resumed>) = 18 [pid 5414] <... write resumed>) = 18 [pid 5413] munmap(0x7f8438200000, 138412032 [pid 5412] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] <... close resumed>) = 0 [pid 5415] memfd_create("syzkaller", 0 [pid 5412] truncate("./file1", 0 [pid 5097] newfstatat(AT_FDCWD, "./50/binderfs", [pid 5415] <... memfd_create resumed>) = 3 [pid 5414] memfd_create("syzkaller", 0 [pid 5099] rmdir("./49" [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5415] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5413] <... munmap resumed>) = 0 [pid 5099] <... rmdir resumed>) = 0 [pid 5415] <... mmap resumed>) = 0x7f8438200000 [pid 5097] unlink("./50/binderfs" [pid 5414] <... memfd_create resumed>) = 3 [pid 5097] <... unlink resumed>) = 0 [pid 5415] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5414] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5413] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5414] <... mmap resumed>) = 0x7f8438200000 [pid 5413] <... openat resumed>) = 4 [pid 5099] mkdir("./50", 0777 [pid 5097] umount2("./50/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... mkdir resumed>) = 0 [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5413] ioctl(4, LOOP_SET_FD, 3 [pid 5099] <... openat resumed>) = 3 [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5412] <... truncate resumed>) = 0 [pid 5412] memfd_create("syzkaller", 0) = 4 [pid 5097] <... umount2 resumed>) = 0 [pid 5412] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5414] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5412] <... mmap resumed>) = 0x7f8438200000 [pid 5415] <... write resumed>) = 524288 [pid 5412] 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("./50/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(AT_FDCWD, "./50/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] umount2("./50/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] openat(AT_FDCWD, "./50/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 5415] munmap(0x7f8438200000, 138412032 [pid 5097] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5415] <... munmap resumed>) = 0 [pid 5097] close(4) = 0 [pid 5097] rmdir("./50/file1" [pid 5413] <... ioctl resumed>) = 0 [pid 5413] close(3 [pid 5415] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5413] <... close resumed>) = 0 [pid 5413] close(4 [pid 5415] <... openat resumed>) = 4 [pid 5413] <... close resumed>) = 0 [pid 5097] <... rmdir resumed>) = 0 [pid 5413] mkdir("./file1", 0777 [pid 5097] getdents64(3, [pid 5413] <... mkdir resumed>) = 0 [ 144.355871][ T5413] loop4: detected capacity change from 0 to 1024 [pid 5415] ioctl(4, LOOP_SET_FD, 3 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5414] <... write resumed>) = 524288 [pid 5413] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5097] close(3) = 0 [pid 5097] rmdir("./50") = 0 [pid 5097] mkdir("./51", 0777 [pid 5414] munmap(0x7f8438200000, 138412032 [pid 5097] <... mkdir resumed>) = 0 [pid 5414] <... munmap resumed>) = 0 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5412] <... write resumed>) = 524288 [pid 5414] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5412] munmap(0x7f8438200000, 138412032 [pid 5414] <... openat resumed>) = 4 [pid 5412] <... munmap resumed>) = 0 [pid 5415] <... ioctl resumed>) = 0 [pid 5415] close(3) = 0 [ 144.408568][ T5415] loop1: detected capacity change from 0 to 1024 [pid 5414] ioctl(4, LOOP_SET_FD, 3 [pid 5415] close(4 [pid 5412] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5415] <... close resumed>) = 0 [pid 5412] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5415] mkdir("./file1", 0777 [pid 5412] close(4 [pid 5415] <... mkdir resumed>) = 0 [pid 5415] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5099] <... ioctl resumed>) = 0 [pid 5412] <... close resumed>) = 0 [pid 5099] close(3) = 0 [pid 5413] <... mount resumed>) = 0 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5413] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5414] <... ioctl resumed>) = 0 [pid 5413] <... openat resumed>) = 3 [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5416 [pid 5413] chdir("./file1" [pid 5414] close(3 [pid 5413] <... chdir resumed>) = 0 [pid 5412] exit_group(0 [pid 5413] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5413] truncate("./file1", 0 [pid 5414] <... close resumed>) = 0 ./strace-static-x86_64: Process 5416 attached [pid 5414] close(4 [pid 5412] <... exit_group resumed>) = ? [pid 5416] set_robust_list(0x55556fbaa660, 24 [pid 5414] <... close resumed>) = 0 [pid 5412] +++ exited with 0 +++ [pid 5416] <... set_robust_list resumed>) = 0 [pid 5414] mkdir("./file1", 0777 [pid 5416] chdir("./50" [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5412, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5416] <... chdir resumed>) = 0 [pid 5415] <... mount resumed>) = 0 [pid 5414] <... mkdir resumed>) = 0 [pid 5100] umount2("./48", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5414] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5416] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5416] <... prctl resumed>) = 0 [pid 5100] openat(AT_FDCWD, "./48", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [ 144.457528][ T5414] loop5: detected capacity change from 0 to 1024 [pid 5416] setpgid(0, 0 [pid 5100] <... openat resumed>) = 3 [pid 5097] <... ioctl resumed>) = 0 [pid 5416] <... setpgid resumed>) = 0 [pid 5415] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5100] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5416] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5415] <... openat resumed>) = 3 [pid 5100] getdents64(3, [pid 5415] chdir("./file1" [pid 5413] <... truncate resumed>) = 0 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5416] <... openat resumed>) = 3 [pid 5415] <... chdir resumed>) = 0 [pid 5413] memfd_create("syzkaller", 0 [pid 5100] umount2("./48/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5415] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5413] <... memfd_create resumed>) = 4 [pid 5416] write(3, "1000", 4 [pid 5415] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5413] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5416] <... write resumed>) = 4 [pid 5415] truncate("./file1", 0 [pid 5413] <... mmap resumed>) = 0x7f8438200000 [pid 5100] newfstatat(AT_FDCWD, "./48/binderfs", [pid 5097] close(3 [pid 5416] close(3 [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] <... close resumed>) = 0 [pid 5100] unlink("./48/binderfs" [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5413] 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] <... unlink resumed>) = 0 [pid 5416] <... close resumed>) = 0 [pid 5414] <... mount resumed>) = 0 [pid 5100] umount2("./48/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5416] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5416] write(1, "executing program\n", 18executing program [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5417 ./strace-static-x86_64: Process 5417 attached [pid 5416] <... write resumed>) = 18 [pid 5415] <... truncate resumed>) = 0 [pid 5414] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5417] set_robust_list(0x55556fbaa660, 24 [pid 5416] memfd_create("syzkaller", 0 [pid 5415] memfd_create("syzkaller", 0 [pid 5417] <... set_robust_list resumed>) = 0 [pid 5416] <... memfd_create resumed>) = 3 [pid 5415] <... memfd_create resumed>) = 4 [pid 5414] <... openat resumed>) = 3 [pid 5417] chdir("./51" [pid 5416] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5415] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5417] <... chdir resumed>) = 0 [pid 5416] <... mmap resumed>) = 0x7f8438200000 [pid 5415] <... mmap resumed>) = 0x7f8438200000 [pid 5417] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5416] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5415] 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 5414] chdir("./file1" [pid 5413] <... write resumed>) = 524288 [pid 5417] <... prctl resumed>) = 0 [pid 5417] setpgid(0, 0) = 0 [pid 5414] <... chdir resumed>) = 0 [pid 5100] <... umount2 resumed>) = 0 [pid 5417] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5414] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5417] <... openat resumed>) = 3 [pid 5414] truncate("./file1", 0 [pid 5417] write(3, "1000", 4) = 4 [pid 5417] close(3 [pid 5415] <... write resumed>) = 524288 [pid 5100] umount2("./48/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5417] <... close resumed>) = 0 [pid 5414] <... truncate resumed>) = 0 [pid 5413] munmap(0x7f8438200000, 138412032 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] newfstatat(AT_FDCWD, "./48/file1", [pid 5417] symlink("/dev/binderfs", "./binderfs" [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 executing program [pid 5417] <... symlink resumed>) = 0 [pid 5416] <... write resumed>) = 524288 [pid 5414] memfd_create("syzkaller", 0 [pid 5413] <... munmap resumed>) = 0 [pid 5100] umount2("./48/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5417] write(1, "executing program\n", 18) = 18 [pid 5417] memfd_create("syzkaller", 0) = 3 [pid 5417] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5414] <... memfd_create resumed>) = 4 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5417] <... mmap resumed>) = 0x7f8438200000 [pid 5414] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] openat(AT_FDCWD, "./48/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5414] <... mmap resumed>) = 0x7f8438200000 [pid 5100] newfstatat(4, "", [pid 5413] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5417] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5414] 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 5413] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] getdents64(4, [pid 5413] close(4 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5100] getdents64(4, [pid 5416] munmap(0x7f8438200000, 138412032 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5416] <... munmap resumed>) = 0 [pid 5100] close(4 [pid 5415] munmap(0x7f8438200000, 138412032 [pid 5413] <... close resumed>) = 0 [pid 5100] <... close resumed>) = 0 [pid 5416] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5416] ioctl(4, LOOP_SET_FD, 3 [pid 5414] <... write resumed>) = 524288 [pid 5100] rmdir("./48/file1" [pid 5415] <... munmap resumed>) = 0 [pid 5413] exit_group(0 [pid 5100] <... rmdir resumed>) = 0 [pid 5415] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5413] <... exit_group resumed>) = ? [pid 5100] getdents64(3, [pid 5413] +++ exited with 0 +++ [pid 5415] close(4 [pid 5414] munmap(0x7f8438200000, 138412032 [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5413, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5417] <... write resumed>) = 524288 [pid 5416] <... ioctl resumed>) = 0 [pid 5414] <... munmap resumed>) = 0 [pid 5100] close(3 [pid 5417] munmap(0x7f8438200000, 138412032 [pid 5416] close(3 [pid 5414] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5100] <... close resumed>) = 0 [pid 5416] <... close resumed>) = 0 [pid 5414] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] rmdir("./48" [pid 5416] close(4 [pid 5414] close(4 [pid 5100] <... rmdir resumed>) = 0 [pid 5416] <... close resumed>) = 0 [pid 5415] <... close resumed>) = 0 [pid 5416] mkdir("./file1", 0777 [pid 5101] umount2("./50", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5416] <... mkdir resumed>) = 0 [pid 5101] openat(AT_FDCWD, "./50", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5100] mkdir("./49", 0777 [pid 5101] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] getdents64(3, [pid 5417] <... munmap resumed>) = 0 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5100] <... mkdir resumed>) = 0 [pid 5415] exit_group(0 [pid 5417] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5416] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5101] umount2("./50/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5415] <... exit_group resumed>) = ? [pid 5417] <... openat resumed>) = 4 [pid 5415] +++ exited with 0 +++ [pid 5414] <... close resumed>) = 0 [pid 5100] <... openat resumed>) = 3 [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5415, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [ 144.646700][ T5416] loop2: detected capacity change from 0 to 1024 [pid 5417] ioctl(4, LOOP_SET_FD, 3 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5098] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5098] umount2("./50", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./50", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5101] newfstatat(AT_FDCWD, "./50/binderfs", [pid 5098] newfstatat(3, "", [pid 5416] <... mount resumed>) = 0 [pid 5101] <... newfstatat resumed>{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 5414] exit_group(0 [pid 5101] unlink("./50/binderfs" [pid 5098] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5416] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5098] umount2("./50/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./50/binderfs", [pid 5416] chdir("./file1") = 0 [pid 5414] <... exit_group resumed>) = ? [pid 5098] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5416] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5101] <... unlink resumed>) = 0 [pid 5098] unlink("./50/binderfs" [pid 5416] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5417] <... ioctl resumed>) = 0 [pid 5416] truncate("./file1", 0 [pid 5414] +++ exited with 0 +++ [pid 5101] umount2("./50/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... unlink resumed>) = 0 [pid 5417] close(3) = 0 [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5414, si_uid=0, si_status=0, si_utime=0, si_stime=8 /* 0.08 s */} --- [pid 5417] close(4) = 0 [pid 5103] umount2("./49", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5417] mkdir("./file1", 0777 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] openat(AT_FDCWD, "./49", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] umount2("./50/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5417] <... mkdir resumed>) = 0 [pid 5103] <... openat resumed>) = 3 [pid 5417] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5103] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] getdents64(3, [pid 5101] <... umount2 resumed>) = 0 [pid 5416] <... truncate resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5103] umount2("./49/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... umount2 resumed>) = 0 [pid 5416] memfd_create("syzkaller", 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] umount2("./50/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5103] newfstatat(AT_FDCWD, "./49/binderfs", [pid 5101] newfstatat(AT_FDCWD, "./50/file1", [pid 5416] <... memfd_create resumed>) = 4 [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5416] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] unlink("./49/binderfs" [pid 5416] <... mmap resumed>) = 0x7f8438200000 [pid 5103] <... unlink resumed>) = 0 [pid 5101] umount2("./50/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] umount2("./50/file1", MNT_FORCE|UMOUNT_NOFOLLOW [ 144.705341][ T5417] loop0: detected capacity change from 0 to 1024 [pid 5101] openat(AT_FDCWD, "./50/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] umount2("./49/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] newfstatat(AT_FDCWD, "./50/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] umount2("./50/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./50/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5417] <... mount resumed>) = 0 [pid 5101] newfstatat(4, "", [pid 5098] <... openat resumed>) = 4 [pid 5417] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5103] <... umount2 resumed>) = 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5416] 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] getdents64(4, [pid 5100] <... ioctl resumed>) = 0 [pid 5098] newfstatat(4, "", [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5417] <... openat resumed>) = 3 [pid 5416] <... write resumed>) = 524288 [pid 5101] getdents64(4, [pid 5100] close(3 [pid 5098] getdents64(4, [pid 5417] chdir("./file1" [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] <... close resumed>) = 0 [pid 5417] <... chdir resumed>) = 0 [pid 5101] close(4 [pid 5416] munmap(0x7f8438200000, 138412032 [pid 5103] umount2("./49/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5417] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5416] <... munmap resumed>) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] <... close resumed>) = 0 [pid 5098] getdents64(4, [pid 5417] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] newfstatat(AT_FDCWD, "./49/file1", [pid 5101] rmdir("./50/file1" [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5416] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] <... rmdir resumed>) = 0 [pid 5098] close(4 [pid 5416] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] umount2("./49/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... close resumed>) = 0 [pid 5416] close(4 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] getdents64(3, [pid 5417] truncate("./file1", 0 [pid 5098] rmdir("./50/file1"./strace-static-x86_64: Process 5418 attached [pid 5416] <... close resumed>) = 0 [pid 5103] openat(AT_FDCWD, "./49/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] <... rmdir resumed>) = 0 [pid 5418] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5103] <... openat resumed>) = 4 [pid 5098] getdents64(3, [pid 5418] chdir("./49" [pid 5103] newfstatat(4, "", [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5418] <... chdir resumed>) = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] close(3 [pid 5103] getdents64(4, [pid 5098] <... close resumed>) = 0 [pid 5418] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] rmdir("./50" [pid 5418] <... prctl resumed>) = 0 [pid 5103] getdents64(4, [pid 5098] <... rmdir resumed>) = 0 [pid 5418] setpgid(0, 0 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5418] <... setpgid resumed>) = 0 [pid 5103] close(4 [pid 5098] mkdir("./51", 0777 [pid 5418] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5103] <... close resumed>) = 0 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5418 [pid 5098] <... mkdir resumed>) = 0 [pid 5103] rmdir("./49/file1") = 0 [pid 5418] <... openat resumed>) = 3 [pid 5418] write(3, "1000", 4 [pid 5103] getdents64(3, [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] <... openat resumed>) = 3 [pid 5103] close(3 [pid 5418] <... write resumed>) = 4 [pid 5103] <... close resumed>) = 0 [pid 5418] close(3 [pid 5103] rmdir("./49" [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5418] <... close resumed>) = 0 [pid 5418] symlink("/dev/binderfs", "./binderfs" [pid 5103] <... rmdir resumed>) = 0 [pid 5418] <... symlink resumed>) = 0 [pid 5101] close(3 [pid 5416] exit_group(0 [pid 5101] <... close resumed>) = 0 executing program [pid 5418] write(1, "executing program\n", 18 [pid 5417] <... truncate resumed>) = 0 [pid 5416] <... exit_group resumed>) = ? [pid 5103] mkdir("./50", 0777 [pid 5101] rmdir("./50" [pid 5418] <... write resumed>) = 18 [pid 5417] memfd_create("syzkaller", 0 [pid 5416] +++ exited with 0 +++ [pid 5417] <... memfd_create resumed>) = 4 [pid 5103] <... mkdir resumed>) = 0 [pid 5101] <... rmdir resumed>) = 0 [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5416, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5418] memfd_create("syzkaller", 0 [pid 5417] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5418] <... memfd_create resumed>) = 3 [pid 5417] <... mmap resumed>) = 0x7f8438200000 [pid 5101] mkdir("./51", 0777 [pid 5099] umount2("./50", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5418] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5418] <... mmap resumed>) = 0x7f8438200000 [pid 5103] <... openat resumed>) = 3 [pid 5099] openat(AT_FDCWD, "./50", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5099] <... openat resumed>) = 3 [pid 5101] <... mkdir resumed>) = 0 [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 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5099] umount2("./50/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5418] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 resumed>) = 3 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] newfstatat(AT_FDCWD, "./50/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5417] 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] ioctl(3, LOOP_CLR_FD [pid 5099] unlink("./50/binderfs" [pid 5098] <... ioctl resumed>) = 0 [pid 5099] <... unlink resumed>) = 0 [pid 5418] <... write resumed>) = 524288 [pid 5099] umount2("./50/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] close(3) = 0 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5103] <... ioctl resumed>) = 0 [pid 5099] <... umount2 resumed>) = 0 [pid 5417] <... write resumed>) = 524288 [pid 5417] munmap(0x7f8438200000, 138412032 [pid 5099] umount2("./50/file1", MNT_FORCE|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 5419 attached [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5419 [pid 5419] set_robust_list(0x55556fbaa660, 24 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] newfstatat(AT_FDCWD, "./50/file1", [pid 5419] <... set_robust_list resumed>) = 0 [pid 5419] chdir("./51" [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5417] <... munmap resumed>) = 0 [pid 5417] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5099] umount2("./50/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5419] <... chdir resumed>) = 0 [pid 5418] munmap(0x7f8438200000, 138412032 [pid 5417] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] close(3 [pid 5099] openat(AT_FDCWD, "./50/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5419] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5418] <... munmap resumed>) = 0 [pid 5417] close(4 [pid 5103] <... close resumed>) = 0 [pid 5099] <... openat resumed>) = 4 [pid 5419] <... prctl resumed>) = 0 [pid 5418] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5099] newfstatat(4, "", [pid 5418] <... openat resumed>) = 4 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5418] ioctl(4, LOOP_SET_FD, 3 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5420 [pid 5099] getdents64(4, ./strace-static-x86_64: Process 5420 attached [pid 5419] setpgid(0, 0 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5099] getdents64(4, [pid 5419] <... setpgid resumed>) = 0 [pid 5420] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5101] <... ioctl resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5420] chdir("./50" [pid 5419] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5099] close(4 [pid 5420] <... chdir resumed>) = 0 [pid 5099] <... close resumed>) = 0 [pid 5420] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5099] rmdir("./50/file1" [pid 5420] <... prctl resumed>) = 0 [pid 5420] setpgid(0, 0) = 0 [pid 5099] <... rmdir resumed>) = 0 [pid 5420] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5099] getdents64(3, [pid 5420] write(3, "1000", 4) = 4 [pid 5419] <... openat resumed>) = 3 [pid 5420] close(3 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 executing program [pid 5420] <... close resumed>) = 0 [pid 5418] <... ioctl resumed>) = 0 [pid 5419] write(3, "1000", 4 [pid 5099] close(3 [pid 5420] symlink("/dev/binderfs", "./binderfs" [pid 5418] close(3 [pid 5099] <... close resumed>) = 0 [pid 5419] <... write resumed>) = 4 [pid 5420] <... symlink resumed>) = 0 [pid 5419] close(3 [pid 5418] <... close resumed>) = 0 [pid 5099] rmdir("./50" [pid 5420] write(1, "executing program\n", 18 [pid 5418] close(4 [pid 5420] <... write resumed>) = 18 [pid 5418] <... close resumed>) = 0 [pid 5420] memfd_create("syzkaller", 0 [pid 5418] mkdir("./file1", 0777 [pid 5099] <... rmdir resumed>) = 0 [pid 5420] <... memfd_create resumed>) = 3 [pid 5418] <... mkdir resumed>) = 0 [pid 5419] <... close resumed>) = 0 [pid 5420] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5419] symlink("/dev/binderfs", "./binderfs" [pid 5418] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5420] <... mmap resumed>) = 0x7f8438200000 [pid 5419] <... symlink resumed>) = 0 [pid 5099] mkdir("./51", 0777 [pid 5417] <... close resumed>) = 0 executing program [pid 5419] write(1, "executing program\n", 18 [pid 5417] exit_group(0 [pid 5101] close(3 [pid 5099] <... mkdir resumed>) = 0 [pid 5419] <... write resumed>) = 18 [pid 5417] <... exit_group resumed>) = ? [ 144.948154][ T5418] loop3: detected capacity change from 0 to 1024 [pid 5101] <... close resumed>) = 0 [pid 5419] memfd_create("syzkaller", 0 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5420] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... openat resumed>) = 3 [pid 5419] <... memfd_create resumed>) = 3 [pid 5419] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5418] <... mount resumed>) = 0 [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5419] <... mmap resumed>) = 0x7f8438200000 [pid 5417] +++ exited with 0 +++ [pid 5418] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY./strace-static-x86_64: Process 5421 attached [pid 5419] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5418] <... openat resumed>) = 3 [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5417, si_uid=0, si_status=0, si_utime=0, si_stime=8 /* 0.08 s */} --- [pid 5097] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5418] chdir("./file1") = 0 [pid 5097] umount2("./51", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5418] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5418] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] openat(AT_FDCWD, "./51", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5418] truncate("./file1", 0 [pid 5097] <... openat resumed>) = 3 [pid 5421] set_robust_list(0x55556fbaa660, 24 [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5421 [pid 5097] newfstatat(3, "", [pid 5421] <... set_robust_list resumed>) = 0 [pid 5421] chdir("./51" [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5421] <... chdir resumed>) = 0 [pid 5097] umount2("./51/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5421] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5421] <... prctl resumed>) = 0 [pid 5420] <... write resumed>) = 524288 [pid 5419] <... write resumed>) = 524288 [pid 5418] <... truncate resumed>) = 0 [pid 5097] newfstatat(AT_FDCWD, "./51/binderfs", [pid 5419] munmap(0x7f8438200000, 138412032 [pid 5418] memfd_create("syzkaller", 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5421] setpgid(0, 0 [pid 5419] <... munmap resumed>) = 0 [pid 5418] <... memfd_create resumed>) = 4 [pid 5097] unlink("./51/binderfs" [pid 5421] <... setpgid resumed>) = 0 [pid 5420] munmap(0x7f8438200000, 138412032 [pid 5418] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5097] <... unlink resumed>) = 0 [pid 5421] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5420] <... munmap resumed>) = 0 [pid 5419] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5418] <... mmap resumed>) = 0x7f8438200000 [pid 5099] <... ioctl resumed>) = 0 [pid 5097] umount2("./51/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5421] <... openat resumed>) = 3 [pid 5419] <... openat resumed>) = 4 [pid 5418] 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 5420] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5419] ioctl(4, LOOP_SET_FD, 3 [pid 5421] write(3, "1000", 4 [pid 5420] <... openat resumed>) = 4 [pid 5421] <... write resumed>) = 4 [pid 5421] close(3) = 0 [pid 5420] ioctl(4, LOOP_SET_FD, 3 [pid 5421] symlink("/dev/binderfs", "./binderfs" [pid 5099] close(3 [pid 5421] <... symlink resumed>) = 0 [pid 5099] <... close resumed>) = 0 [pid 5421] write(1, "executing program\n", 18executing program [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5421] <... write resumed>) = 18 [pid 5421] memfd_create("syzkaller", 0 [pid 5418] <... write resumed>) = 524288 [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5422 [pid 5421] <... memfd_create resumed>) = 3 ./strace-static-x86_64: Process 5422 attached [pid 5422] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5421] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5422] chdir("./51" [pid 5421] <... mmap resumed>) = 0x7f8438200000 [pid 5422] <... chdir resumed>) = 0 [pid 5419] <... ioctl resumed>) = 0 [pid 5422] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5419] close(3 [pid 5422] <... prctl resumed>) = 0 [pid 5419] <... close resumed>) = 0 [pid 5422] setpgid(0, 0 [pid 5421] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5419] close(4 [pid 5422] <... setpgid resumed>) = 0 [pid 5419] <... close resumed>) = 0 [pid 5422] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5419] mkdir("./file1", 0777 [pid 5422] <... openat resumed>) = 3 [pid 5419] <... mkdir resumed>) = 0 [pid 5422] write(3, "1000", 4) = 4 [pid 5422] close(3 [pid 5420] <... ioctl resumed>) = 0 [pid 5419] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5422] <... close resumed>) = 0 [pid 5420] close(3 [pid 5097] <... umount2 resumed>) = 0 [pid 5422] symlink("/dev/binderfs", "./binderfs" [pid 5420] <... close resumed>) = 0 [pid 5422] <... symlink resumed>) = 0 [pid 5420] close(4executing program [ 145.098825][ T5419] loop1: detected capacity change from 0 to 1024 [ 145.116837][ T5420] loop5: detected capacity change from 0 to 1024 [pid 5422] write(1, "executing program\n", 18 [pid 5420] <... close resumed>) = 0 [pid 5419] <... mount resumed>) = 0 [pid 5422] <... write resumed>) = 18 [pid 5420] mkdir("./file1", 0777 [pid 5419] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5422] memfd_create("syzkaller", 0 [pid 5420] <... mkdir resumed>) = 0 [pid 5419] <... openat resumed>) = 3 [pid 5422] <... memfd_create resumed>) = 3 [pid 5419] chdir("./file1" [pid 5418] munmap(0x7f8438200000, 138412032 [pid 5422] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5420] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5419] <... chdir resumed>) = 0 [pid 5097] umount2("./51/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5422] <... mmap resumed>) = 0x7f8438200000 [pid 5419] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5418] <... munmap resumed>) = 0 [pid 5422] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5419] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5419] truncate("./file1", 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(AT_FDCWD, "./51/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5419] <... truncate resumed>) = 0 [pid 5418] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5097] umount2("./51/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5419] memfd_create("syzkaller", 0 [pid 5418] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5419] <... memfd_create resumed>) = 4 [pid 5418] close(4 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5419] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5097] openat(AT_FDCWD, "./51/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5421] <... write resumed>) = 524288 [pid 5420] <... mount resumed>) = 0 [pid 5419] <... mmap resumed>) = 0x7f8438200000 [pid 5421] munmap(0x7f8438200000, 138412032 [pid 5097] <... openat resumed>) = 4 [pid 5421] <... munmap resumed>) = 0 [pid 5420] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5419] 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 5418] <... close resumed>) = 0 [pid 5097] newfstatat(4, "", [pid 5420] <... openat resumed>) = 3 [pid 5420] chdir("./file1") = 0 [pid 5420] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5420] truncate("./file1", 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5421] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5097] getdents64(4, [pid 5422] <... write resumed>) = 524288 [pid 5421] <... openat resumed>) = 4 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5421] ioctl(4, LOOP_SET_FD, 3 [pid 5097] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] close(4 [pid 5422] munmap(0x7f8438200000, 138412032 [pid 5097] <... close resumed>) = 0 [pid 5422] <... munmap resumed>) = 0 [pid 5420] <... truncate resumed>) = 0 [pid 5420] memfd_create("syzkaller", 0) = 4 [pid 5422] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5420] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5418] exit_group(0 [pid 5422] <... openat resumed>) = 4 [pid 5420] <... mmap resumed>) = 0x7f8438200000 [pid 5422] ioctl(4, LOOP_SET_FD, 3 [pid 5421] <... ioctl resumed>) = 0 [pid 5418] <... exit_group resumed>) = ? [pid 5097] rmdir("./51/file1" [pid 5421] close(3 [pid 5418] +++ exited with 0 +++ [pid 5421] <... close resumed>) = 0 [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5418, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5097] <... rmdir resumed>) = 0 [pid 5421] close(4) = 0 [pid 5097] getdents64(3, [pid 5421] mkdir("./file1", 0777 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5421] <... mkdir resumed>) = 0 [pid 5420] 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 5421] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5100] umount2("./49", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] <... close resumed>) = 0 [pid 5100] openat(AT_FDCWD, "./49", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] rmdir("./51" [pid 5419] <... write resumed>) = 524288 [pid 5100] <... openat resumed>) = 3 [pid 5100] newfstatat(3, "", [pid 5097] <... rmdir resumed>) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] mkdir("./52", 0777 [pid 5100] getdents64(3, [pid 5419] munmap(0x7f8438200000, 138412032) = 0 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5097] <... mkdir resumed>) = 0 [pid 5100] umount2("./49/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5422] <... ioctl resumed>) = 0 [pid 5419] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5097] <... openat resumed>) = 3 [pid 5100] newfstatat(AT_FDCWD, "./49/binderfs", [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5422] close(3) = 0 [pid 5420] <... write resumed>) = 524288 [pid 5419] <... 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 5422] close(4 [pid 5100] unlink("./49/binderfs" [pid 5421] <... mount resumed>) = 0 [pid 5100] <... unlink resumed>) = 0 [pid 5422] <... close resumed>) = 0 [pid 5100] umount2("./49/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5422] mkdir("./file1", 0777 [pid 5419] close(4 [pid 5422] <... mkdir resumed>) = 0 [pid 5421] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [ 145.225423][ T5421] loop4: detected capacity change from 0 to 1024 [ 145.249077][ T5422] loop2: detected capacity change from 0 to 1024 [pid 5422] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5420] munmap(0x7f8438200000, 138412032 [pid 5421] chdir("./file1" [pid 5420] <... munmap resumed>) = 0 [pid 5100] <... umount2 resumed>) = 0 [pid 5421] <... chdir resumed>) = 0 [pid 5421] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5100] umount2("./49/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5420] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5421] truncate("./file1", 0 [pid 5420] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5420] close(4 [pid 5419] <... close resumed>) = 0 [pid 5421] <... truncate resumed>) = 0 [pid 5420] <... close resumed>) = 0 [pid 5100] newfstatat(AT_FDCWD, "./49/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] umount2("./49/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5419] exit_group(0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5421] memfd_create("syzkaller", 0 [pid 5419] <... exit_group resumed>) = ? [pid 5419] +++ exited with 0 +++ [pid 5097] <... ioctl resumed>) = 0 [pid 5421] <... memfd_create resumed>) = 4 [pid 5421] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] openat(AT_FDCWD, "./49/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5419, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5097] close(3 [pid 5421] <... mmap resumed>) = 0x7f8438200000 [pid 5098] umount2("./51", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... openat resumed>) = 4 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... close resumed>) = 0 [pid 5100] newfstatat(4, "", [pid 5098] openat(AT_FDCWD, "./51", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5420] exit_group(0 [pid 5098] <... openat resumed>) = 3 [pid 5420] <... exit_group resumed>) = ? [pid 5100] getdents64(4, [pid 5098] newfstatat(3, "", [pid 5420] +++ exited with 0 +++ [pid 5422] <... mount resumed>) = 0 [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5420, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5423 ./strace-static-x86_64: Process 5423 attached [pid 5100] getdents64(4, [pid 5098] getdents64(3, [pid 5423] set_robust_list(0x55556fbaa660, 24 [pid 5422] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5423] <... set_robust_list resumed>) = 0 [pid 5422] <... openat resumed>) = 3 [pid 5100] close(4 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5423] chdir("./52" [pid 5100] <... close resumed>) = 0 [pid 5098] umount2("./51/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5423] <... chdir resumed>) = 0 [pid 5103] umount2("./50", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5423] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5423] <... prctl resumed>) = 0 [pid 5422] chdir("./file1" [pid 5103] openat(AT_FDCWD, "./50", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5423] setpgid(0, 0 [pid 5422] <... chdir resumed>) = 0 [pid 5103] <... openat resumed>) = 3 [pid 5423] <... setpgid resumed>) = 0 [pid 5422] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5103] newfstatat(3, "", [pid 5423] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5422] <... 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 5100] rmdir("./49/file1" [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5422] truncate("./file1", 0 [pid 5421] 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(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5100] <... rmdir resumed>) = 0 [pid 5098] newfstatat(AT_FDCWD, "./51/binderfs", [pid 5103] umount2("./50/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5423] <... openat resumed>) = 3 [pid 5103] newfstatat(AT_FDCWD, "./50/binderfs", [pid 5100] getdents64(3, [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] unlink("./50/binderfs") = 0 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] unlink("./51/binderfs" [pid 5423] write(3, "1000", 4 [pid 5103] umount2("./50/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] close(3 [pid 5098] <... unlink resumed>) = 0 [pid 5423] <... write resumed>) = 4 [pid 5100] <... close resumed>) = 0 [pid 5423] close(3 [pid 5100] rmdir("./49" [pid 5098] umount2("./51/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5423] <... close resumed>) = 0 [pid 5423] symlink("/dev/binderfs", "./binderfs" [pid 5421] <... write resumed>) = 524288 [pid 5100] <... rmdir resumed>) = 0 [pid 5423] <... symlink resumed>) = 0 [pid 5422] <... truncate resumed>) = 0 [pid 5100] mkdir("./50", 0777executing program [pid 5423] write(1, "executing program\n", 18 [pid 5422] memfd_create("syzkaller", 0 [pid 5423] <... write resumed>) = 18 [pid 5422] <... memfd_create resumed>) = 4 [pid 5103] <... umount2 resumed>) = 0 [pid 5100] <... mkdir resumed>) = 0 [pid 5098] <... umount2 resumed>) = 0 [pid 5421] munmap(0x7f8438200000, 138412032 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5423] memfd_create("syzkaller", 0 [pid 5422] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5421] <... munmap resumed>) = 0 [pid 5423] <... memfd_create resumed>) = 3 [pid 5422] <... mmap resumed>) = 0x7f8438200000 [pid 5100] <... openat resumed>) = 3 [pid 5421] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5423] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5422] 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 5421] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5098] umount2("./51/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5423] <... mmap resumed>) = 0x7f8438200000 [pid 5421] close(4 [pid 5103] umount2("./50/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5421] <... close resumed>) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./51/file1", [pid 5103] newfstatat(AT_FDCWD, "./50/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] umount2("./50/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5103] openat(AT_FDCWD, "./50/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5103] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5100] <... ioctl resumed>) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5423] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5098] umount2("./51/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5103] close(4 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5421] exit_group(0 [pid 5103] <... close resumed>) = 0 [pid 5098] openat(AT_FDCWD, "./51/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5421] <... exit_group resumed>) = ? [pid 5100] close(3 [pid 5103] rmdir("./50/file1" [pid 5100] <... close resumed>) = 0 [pid 5098] <... openat resumed>) = 4 [pid 5098] newfstatat(4, "", [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5423] <... write resumed>) = 524288 [pid 5103] <... rmdir resumed>) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5103] close(3) = 0 [pid 5421] +++ exited with 0 +++ [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5421, si_uid=0, si_status=0, si_utime=0, si_stime=8 /* 0.08 s */} --- [pid 5103] rmdir("./50") = 0 [pid 5101] umount2("./51", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5422] <... write resumed>) = 524288 [pid 5103] mkdir("./51", 0777) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] getdents64(4, [pid 5101] openat(AT_FDCWD, "./51", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5424 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5422] munmap(0x7f8438200000, 138412032 [pid 5101] <... openat resumed>) = 3 [pid 5098] getdents64(4, [pid 5101] newfstatat(3, "", [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 ./strace-static-x86_64: Process 5424 attached [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5422] <... munmap resumed>) = 0 [pid 5103] <... openat resumed>) = 3 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5422] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5423] munmap(0x7f8438200000, 138412032 [pid 5422] close(4 [pid 5423] <... munmap resumed>) = 0 [pid 5423] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5424] set_robust_list(0x55556fbaa660, 24 [pid 5423] <... openat resumed>) = 4 [pid 5098] close(4 [pid 5424] <... set_robust_list resumed>) = 0 [pid 5423] ioctl(4, LOOP_SET_FD, 3 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5424] chdir("./50" [pid 5422] <... close resumed>) = 0 [pid 5101] getdents64(3, [pid 5098] <... close resumed>) = 0 [pid 5424] <... chdir resumed>) = 0 [pid 5424] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] rmdir("./51/file1" [pid 5424] <... prctl resumed>) = 0 [pid 5098] <... rmdir resumed>) = 0 [pid 5424] setpgid(0, 0 [pid 5101] umount2("./51/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] getdents64(3, [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5424] <... setpgid resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5101] newfstatat(AT_FDCWD, "./51/binderfs", [pid 5098] close(3 [pid 5424] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5098] <... close resumed>) = 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] rmdir("./51" [pid 5101] unlink("./51/binderfs" [pid 5098] <... rmdir resumed>) = 0 [pid 5098] mkdir("./52", 0777 [pid 5422] exit_group(0 [pid 5424] <... openat resumed>) = 3 [pid 5422] <... exit_group resumed>) = ? [pid 5101] <... unlink resumed>) = 0 [pid 5098] <... mkdir resumed>) = 0 [pid 5424] write(3, "1000", 4 [pid 5423] <... ioctl resumed>) = 0 [pid 5422] +++ exited with 0 +++ [pid 5424] <... write resumed>) = 4 [pid 5424] close(3 [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5422, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5101] umount2("./51/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5424] <... close resumed>) = 0 [pid 5423] close(3 [pid 5099] umount2("./51", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5423] <... close resumed>) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... openat resumed>) = 3 [pid 5424] symlink("/dev/binderfs", "./binderfs"executing program [pid 5423] close(4 [pid 5099] openat(AT_FDCWD, "./51", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5423] <... close resumed>) = 0 [pid 5099] <... openat resumed>) = 3 [pid 5423] mkdir("./file1", 0777 [pid 5099] newfstatat(3, "", [pid 5424] <... symlink resumed>) = 0 [pid 5423] <... mkdir resumed>) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5424] write(1, "executing program\n", 18 [pid 5099] getdents64(3, [pid 5424] <... write resumed>) = 18 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5423] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5103] <... ioctl resumed>) = 0 [pid 5101] <... umount2 resumed>) = 0 [pid 5099] umount2("./51/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5424] memfd_create("syzkaller", 0) = 3 [pid 5101] umount2("./51/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5424] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5099] newfstatat(AT_FDCWD, "./51/binderfs", [pid 5424] <... mmap resumed>) = 0x7f8438200000 [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] unlink("./51/binderfs" [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... unlink resumed>) = 0 [ 145.498019][ T5423] loop0: detected capacity change from 0 to 1024 [pid 5101] newfstatat(AT_FDCWD, "./51/file1", [pid 5099] umount2("./51/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] umount2("./51/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5103] close(3 [pid 5101] openat(AT_FDCWD, "./51/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5103] <... close resumed>) = 0 [pid 5101] <... openat resumed>) = 4 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [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("./51/file1") = 0 [pid 5424] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 resumed>) = 0 [pid 5423] <... mount resumed>) = 0 [pid 5101] getdents64(3, [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5425 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 ./strace-static-x86_64: Process 5425 attached [pid 5423] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5101] close(3 [pid 5425] set_robust_list(0x55556fbaa660, 24 [pid 5423] <... openat resumed>) = 3 [pid 5101] <... close resumed>) = 0 [pid 5425] <... set_robust_list resumed>) = 0 [pid 5101] rmdir("./51" [pid 5425] chdir("./51" [pid 5423] chdir("./file1" [pid 5101] <... rmdir resumed>) = 0 [pid 5425] <... chdir resumed>) = 0 [pid 5423] <... chdir resumed>) = 0 [pid 5099] umount2("./51/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5423] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5423] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] newfstatat(AT_FDCWD, "./51/file1", [pid 5425] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5425] <... prctl resumed>) = 0 [pid 5423] truncate("./file1", 0 [pid 5425] setpgid(0, 0) = 0 [pid 5425] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5101] mkdir("./52", 0777 [pid 5099] umount2("./51/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5425] <... openat resumed>) = 3 [pid 5101] <... mkdir resumed>) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... ioctl resumed>) = 0 [pid 5099] openat(AT_FDCWD, "./51/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] close(3 [pid 5099] <... openat resumed>) = 4 [pid 5098] <... close resumed>) = 0 [pid 5099] newfstatat(4, "", [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5425] write(3, "1000", 4 [pid 5423] <... truncate resumed>) = 0 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5425] <... write resumed>) = 4 [pid 5423] memfd_create("syzkaller", 0 [pid 5101] <... openat resumed>) = 3 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 ./strace-static-x86_64: Process 5426 attached [pid 5425] close(3 [pid 5424] <... write resumed>) = 524288 [pid 5099] getdents64(4, [pid 5426] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5425] <... close resumed>) = 0 [pid 5423] <... memfd_create resumed>) = 4 [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5426 [pid 5425] symlink("/dev/binderfs", "./binderfs" [pid 5423] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5425] <... symlink resumed>) = 0 [pid 5423] <... mmap resumed>) = 0x7f8438200000 executing program [pid 5425] write(1, "executing program\n", 18 [pid 5423] 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(4, [pid 5425] <... write resumed>) = 18 [pid 5426] chdir("./52" [pid 5425] memfd_create("syzkaller", 0 [pid 5424] munmap(0x7f8438200000, 138412032 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5426] <... chdir resumed>) = 0 [pid 5425] <... memfd_create resumed>) = 3 [pid 5424] <... munmap resumed>) = 0 [pid 5099] close(4 [pid 5426] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5099] <... close resumed>) = 0 [pid 5426] <... prctl resumed>) = 0 [pid 5099] rmdir("./51/file1" [pid 5426] setpgid(0, 0 [pid 5424] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5426] <... setpgid resumed>) = 0 [pid 5425] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5424] <... openat resumed>) = 4 [pid 5099] <... rmdir resumed>) = 0 [pid 5426] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5425] <... mmap resumed>) = 0x7f8438200000 [pid 5424] ioctl(4, LOOP_SET_FD, 3 [pid 5099] getdents64(3, [pid 5425] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 /* 0 entries */, 32768) = 0 [pid 5426] <... openat resumed>) = 3 [pid 5426] write(3, "1000", 4 [pid 5099] close(3 [pid 5426] <... write resumed>) = 4 [pid 5099] <... close resumed>) = 0 [pid 5426] close(3) = 0 [pid 5426] symlink("/dev/binderfs", "./binderfs" [pid 5099] rmdir("./51") = 0 [pid 5426] <... symlink resumed>) = 0 [pid 5426] write(1, "executing program\n", 18 [pid 5425] <... write resumed>) = 524288 [pid 5099] mkdir("./52", 0777 [pid 5424] <... ioctl resumed>) = 0 [pid 5423] <... write resumed>) = 524288 [pid 5424] close(3executing program ) = 0 [pid 5426] <... write resumed>) = 18 [pid 5424] close(4) = 0 [pid 5424] mkdir("./file1", 0777 [pid 5426] memfd_create("syzkaller", 0) = 3 [pid 5424] <... mkdir resumed>) = 0 [pid 5423] munmap(0x7f8438200000, 138412032 [pid 5101] <... ioctl resumed>) = 0 [pid 5099] <... mkdir resumed>) = 0 [pid 5426] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5426] <... mmap resumed>) = 0x7f8438200000 [pid 5423] <... munmap resumed>) = 0 [pid 5099] <... openat resumed>) = 3 [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5423] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [ 145.654028][ T5424] loop3: detected capacity change from 0 to 1024 [pid 5426] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5424] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5423] close(4 [pid 5101] close(3) = 0 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5425] munmap(0x7f8438200000, 138412032) = 0 ./strace-static-x86_64: Process 5427 attached [pid 5425] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5427 [pid 5427] set_robust_list(0x55556fbaa660, 24 [pid 5425] <... openat resumed>) = 4 [pid 5427] <... set_robust_list resumed>) = 0 [pid 5423] <... close resumed>) = 0 [pid 5427] chdir("./52" [pid 5425] ioctl(4, LOOP_SET_FD, 3 [pid 5427] <... chdir resumed>) = 0 [pid 5427] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5427] setpgid(0, 0) = 0 [pid 5423] exit_group(0 [pid 5427] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5423] <... exit_group resumed>) = ? [pid 5426] <... write resumed>) = 524288 [pid 5424] <... mount resumed>) = 0 [pid 5099] <... ioctl resumed>) = 0 [pid 5427] write(3, "1000", 4 [pid 5426] munmap(0x7f8438200000, 138412032 [pid 5424] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5423] +++ exited with 0 +++ [pid 5427] <... write resumed>) = 4 [pid 5426] <... munmap resumed>) = 0 [pid 5425] <... ioctl resumed>) = 0 [pid 5424] <... openat resumed>) = 3 [pid 5099] close(3 [pid 5427] close(3) = 0 [pid 5099] <... close resumed>) = 0 [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5423, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5097] umount2("./52", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5427] symlink("/dev/binderfs", "./binderfs" [pid 5426] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5424] chdir("./file1" [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5427] <... symlink resumed>) = 0 [pid 5426] <... openat resumed>) = 4 [pid 5424] <... chdir resumed>) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5424] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5097] openat(AT_FDCWD, "./52", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5426] ioctl(4, LOOP_SET_FD, 3executing program [pid 5424] truncate("./file1", 0 [pid 5427] write(1, "executing program\n", 18 [pid 5097] <... openat resumed>) = 3 [pid 5425] close(3 [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5428 [pid 5097] newfstatat(3, "", ./strace-static-x86_64: Process 5428 attached [pid 5427] <... write resumed>) = 18 [pid 5428] set_robust_list(0x55556fbaa660, 24 [pid 5427] memfd_create("syzkaller", 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5428] <... set_robust_list resumed>) = 0 [pid 5097] getdents64(3, [pid 5428] chdir("./52" [pid 5427] <... memfd_create resumed>) = 3 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5428] <... chdir resumed>) = 0 [pid 5425] <... close resumed>) = 0 [pid 5097] umount2("./52/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5428] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5427] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5425] close(4 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5428] <... prctl resumed>) = 0 [pid 5427] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5425] <... close resumed>) = 0 [pid 5097] newfstatat(AT_FDCWD, "./52/binderfs", [pid 5428] setpgid(0, 0 [pid 5425] mkdir("./file1", 0777 [pid 5424] <... truncate resumed>) = 0 [pid 5428] <... setpgid resumed>) = 0 [pid 5424] memfd_create("syzkaller", 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5428] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5425] <... mkdir resumed>) = 0 [pid 5424] <... memfd_create resumed>) = 4 [pid 5097] unlink("./52/binderfs" [pid 5428] <... openat resumed>) = 3 [pid 5425] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5424] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5428] write(3, "1000", 4 [pid 5426] <... ioctl resumed>) = 0 [pid 5424] <... mmap resumed>) = 0x7f8438200000 [pid 5097] <... unlink resumed>) = 0 [pid 5426] close(3 [pid 5428] <... write resumed>) = 4 [pid 5424] 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("./52/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5428] close(3 [pid 5426] <... close resumed>) = 0 [pid 5428] <... close resumed>) = 0 [pid 5426] close(4) = 0 [pid 5428] symlink("/dev/binderfs", "./binderfs" [pid 5426] mkdir("./file1", 0777 [pid 5428] <... symlink resumed>) = 0 [pid 5426] <... mkdir resumed>) = 0 [ 145.762349][ T5425] loop5: detected capacity change from 0 to 1024 [ 145.790959][ T5426] loop1: detected capacity change from 0 to 1024 [pid 5428] write(1, "executing program\n", 18executing program ) = 18 [pid 5426] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5428] memfd_create("syzkaller", 0) = 3 [pid 5428] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5097] <... umount2 resumed>) = 0 [pid 5428] <... mmap resumed>) = 0x7f8438200000 [pid 5427] <... write resumed>) = 524288 [pid 5428] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5424] <... write resumed>) = 524288 [pid 5097] umount2("./52/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5427] munmap(0x7f8438200000, 138412032 [pid 5426] <... mount resumed>) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(AT_FDCWD, "./52/file1", [pid 5427] <... munmap resumed>) = 0 [pid 5426] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5425] <... mount resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5426] <... openat resumed>) = 3 [pid 5097] umount2("./52/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5426] chdir("./file1" [pid 5425] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5426] <... chdir resumed>) = 0 [pid 5097] openat(AT_FDCWD, "./52/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5425] <... openat resumed>) = 3 [pid 5426] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5425] chdir("./file1" [pid 5097] <... openat resumed>) = 4 [pid 5427] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5426] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5424] munmap(0x7f8438200000, 138412032 [pid 5427] <... openat resumed>) = 4 [pid 5426] truncate("./file1", 0 [pid 5424] <... munmap resumed>) = 0 [pid 5427] ioctl(4, LOOP_SET_FD, 3 [pid 5425] <... chdir resumed>) = 0 [pid 5424] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5097] newfstatat(4, "", [pid 5425] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5424] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5424] close(4 [pid 5428] <... write resumed>) = 524288 [pid 5425] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5426] <... truncate resumed>) = 0 [pid 5426] memfd_create("syzkaller", 0) = 4 [pid 5426] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5425] truncate("./file1", 0 [pid 5097] getdents64(4, [pid 5426] 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 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5427] <... ioctl resumed>) = 0 [pid 5428] munmap(0x7f8438200000, 138412032 [pid 5427] close(3 [pid 5097] getdents64(4, [pid 5427] <... close resumed>) = 0 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5428] <... munmap resumed>) = 0 [pid 5427] close(4 [pid 5097] close(4 [pid 5428] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5427] <... close resumed>) = 0 [pid 5428] <... openat resumed>) = 4 [pid 5427] mkdir("./file1", 0777 [pid 5425] <... truncate resumed>) = 0 [pid 5424] <... close resumed>) = 0 [pid 5097] <... close resumed>) = 0 [pid 5428] ioctl(4, LOOP_SET_FD, 3 [pid 5427] <... mkdir resumed>) = 0 [pid 5425] memfd_create("syzkaller", 0 [ 145.898057][ T5427] loop4: detected capacity change from 0 to 1024 [pid 5424] exit_group(0 [pid 5097] rmdir("./52/file1" [pid 5425] <... memfd_create resumed>) = 4 [pid 5424] <... exit_group resumed>) = ? [pid 5427] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5424] +++ exited with 0 +++ [pid 5425] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5097] <... rmdir resumed>) = 0 [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5424, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5097] getdents64(3, [pid 5428] <... ioctl resumed>) = 0 [pid 5426] <... write resumed>) = 524288 [pid 5425] <... mmap resumed>) = 0x7f8438200000 [pid 5426] munmap(0x7f8438200000, 138412032 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5425] 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 5100] umount2("./50", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... close resumed>) = 0 [pid 5428] close(3 [pid 5426] <... munmap resumed>) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] rmdir("./52" [pid 5428] <... close resumed>) = 0 [pid 5426] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5100] openat(AT_FDCWD, "./50", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] <... rmdir resumed>) = 0 [pid 5428] close(4 [pid 5426] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] <... openat resumed>) = 3 [pid 5097] mkdir("./53", 0777 [pid 5428] <... close resumed>) = 0 [pid 5426] close(4 [pid 5100] newfstatat(3, "", [pid 5097] <... mkdir resumed>) = 0 [pid 5428] mkdir("./file1", 0777 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5428] <... mkdir resumed>) = 0 [pid 5100] getdents64(3, [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5097] <... openat resumed>) = 3 [pid 5100] umount2("./50/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5428] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5426] <... close resumed>) = 0 [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5426] exit_group(0 [pid 5425] <... write resumed>) = 524288 [pid 5100] newfstatat(AT_FDCWD, "./50/binderfs", [pid 5426] <... exit_group resumed>) = ? [pid 5425] munmap(0x7f8438200000, 138412032 [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5425] <... munmap resumed>) = 0 [pid 5426] +++ exited with 0 +++ [pid 5425] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5100] unlink("./50/binderfs" [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5426, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5427] <... mount resumed>) = 0 [pid 5428] <... mount resumed>) = 0 [pid 5100] <... unlink resumed>) = 0 [pid 5428] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5425] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5428] <... openat resumed>) = 3 [pid 5425] close(4 [ 145.945624][ T5428] loop2: detected capacity change from 0 to 1024 [pid 5428] chdir("./file1" [pid 5427] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5098] umount2("./52", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5428] <... chdir resumed>) = 0 [pid 5427] <... openat resumed>) = 3 [pid 5428] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5427] chdir("./file1" [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5428] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5427] <... chdir resumed>) = 0 [pid 5100] umount2("./50/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] openat(AT_FDCWD, "./52", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5428] truncate("./file1", 0 [pid 5427] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5098] <... openat resumed>) = 3 [pid 5427] truncate("./file1", 0 [pid 5098] newfstatat(3, "", [pid 5428] <... truncate resumed>) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5428] memfd_create("syzkaller", 0 [pid 5098] getdents64(3, [pid 5428] <... memfd_create resumed>) = 4 [pid 5425] <... close resumed>) = 0 [pid 5100] <... umount2 resumed>) = 0 [pid 5428] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5425] exit_group(0 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5428] <... mmap resumed>) = 0x7f8438200000 [pid 5098] umount2("./52/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5425] <... exit_group resumed>) = ? [pid 5427] <... truncate resumed>) = 0 [pid 5427] memfd_create("syzkaller", 0) = 4 [pid 5427] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5428] 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 5427] <... mmap resumed>) = 0x7f8438200000 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./52/binderfs", [pid 5427] 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 5425] +++ exited with 0 +++ [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5425, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5098] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] umount2("./51", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5103] openat(AT_FDCWD, "./51", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] unlink("./52/binderfs" [pid 5103] <... openat resumed>) = 3 [pid 5098] <... unlink resumed>) = 0 [pid 5428] <... write resumed>) = 524288 [pid 5427] <... write resumed>) = 524288 [pid 5098] umount2("./52/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... ioctl resumed>) = 0 [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("./51/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5103] newfstatat(AT_FDCWD, "./51/binderfs", [pid 5100] umount2("./50/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5100] newfstatat(AT_FDCWD, "./50/file1", [pid 5103] <... 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_SYMLINK_NOFOLLOW) = 0 [pid 5100] umount2("./50/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] unlink("./51/binderfs" [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] <... unlink resumed>) = 0 [pid 5100] openat(AT_FDCWD, "./50/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] close(3 [pid 5100] <... openat resumed>) = 4 [pid 5103] umount2("./51/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] <... close resumed>) = 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 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5100] rmdir("./50/file1") = 0 [pid 5100] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] close(3) = 0 [pid 5100] rmdir("./50") = 0 [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5429 ./strace-static-x86_64: Process 5429 attached [pid 5429] set_robust_list(0x55556fbaa660, 24 [pid 5100] mkdir("./51", 0777 [pid 5429] <... set_robust_list resumed>) = 0 [pid 5100] <... mkdir resumed>) = 0 [pid 5429] chdir("./53") = 0 [pid 5429] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5429] setpgid(0, 0) = 0 [pid 5429] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5427] munmap(0x7f8438200000, 138412032 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5428] munmap(0x7f8438200000, 138412032 [pid 5427] <... munmap resumed>) = 0 [pid 5100] <... openat resumed>) = 3 [pid 5098] <... umount2 resumed>) = 0 [pid 5429] <... openat resumed>) = 3 [pid 5429] write(3, "1000", 4 [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5429] <... write resumed>) = 4 [pid 5428] <... munmap resumed>) = 0 [pid 5429] close(3 [pid 5427] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5429] <... close resumed>) = 0 [pid 5427] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5429] symlink("/dev/binderfs", "./binderfs" [pid 5427] close(4 [pid 5429] <... symlink resumed>) = 0 [pid 5428] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5427] <... close resumed>) = 0 [pid 5098] umount2("./52/file1", MNT_FORCE|UMOUNT_NOFOLLOWexecuting program [pid 5429] write(1, "executing program\n", 18 [pid 5428] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] <... umount2 resumed>) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5429] <... write resumed>) = 18 [pid 5428] close(4 [pid 5098] newfstatat(AT_FDCWD, "./52/file1", [pid 5429] memfd_create("syzkaller", 0) = 3 [pid 5429] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5427] exit_group(0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] umount2("./51/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5427] <... exit_group resumed>) = ? [pid 5103] newfstatat(AT_FDCWD, "./51/file1", [pid 5429] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5427] +++ exited with 0 +++ [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] umount2("./52/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5427, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5101] umount2("./52", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] openat(AT_FDCWD, "./52", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5103] umount2("./51/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] newfstatat(3, "", [pid 5429] <... 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 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] openat(AT_FDCWD, "./51/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] getdents64(3, [pid 5098] openat(AT_FDCWD, "./52/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5103] <... openat resumed>) = 4 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] <... openat resumed>) = 4 [pid 5428] <... close resumed>) = 0 [pid 5101] umount2("./52/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] newfstatat(4, "", [pid 5103] newfstatat(4, "", [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... 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_EMPTY_PATH) = 0 [pid 5098] getdents64(4, [pid 5103] getdents64(4, [pid 5101] newfstatat(AT_FDCWD, "./52/binderfs", [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5103] getdents64(4, [pid 5101] unlink("./52/binderfs" [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5101] <... unlink resumed>) = 0 [pid 5103] close(4) = 0 [pid 5101] umount2("./52/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5428] exit_group(0 [pid 5103] rmdir("./51/file1" [pid 5098] getdents64(4, [pid 5428] <... exit_group resumed>) = ? [pid 5103] <... rmdir resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] close(4 [pid 5428] +++ exited with 0 +++ [pid 5103] getdents64(3, [pid 5098] <... close resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5428, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5098] rmdir("./52/file1" [pid 5103] close(3) = 0 [pid 5103] rmdir("./51") = 0 [pid 5098] <... rmdir resumed>) = 0 [pid 5100] <... ioctl resumed>) = 0 [pid 5099] umount2("./52", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] mkdir("./52", 0777 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5429] munmap(0x7f8438200000, 138412032 [pid 5100] close(3 [pid 5099] openat(AT_FDCWD, "./52", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] getdents64(3, [pid 5429] <... munmap resumed>) = 0 [pid 5103] <... mkdir resumed>) = 0 [pid 5100] <... close resumed>) = 0 [pid 5099] <... openat resumed>) = 3 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5099] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] close(3 [pid 5429] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5099] getdents64(3, [pid 5098] <... close resumed>) = 0 [pid 5429] <... openat resumed>) = 4 [pid 5103] <... openat resumed>) = 3 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5429] ioctl(4, LOOP_SET_FD, 3 [pid 5103] ioctl(3, LOOP_CLR_FD) = 0 [pid 5101] <... umount2 resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] rmdir("./52" [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5430 [pid 5103] close(3) = 0 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5099] umount2("./52/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... rmdir resumed>) = 0 ./strace-static-x86_64: Process 5430 attached [pid 5430] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5430] chdir("./51" [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] mkdir("./53", 0777 [pid 5099] newfstatat(AT_FDCWD, "./52/binderfs", ./strace-static-x86_64: Process 5431 attached {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] <... mkdir resumed>) = 0 [pid 5430] <... chdir resumed>) = 0 [pid 5099] unlink("./52/binderfs" [pid 5430] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5431] set_robust_list(0x55556fbaa660, 24 [pid 5430] setpgid(0, 0 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5431 [pid 5101] umount2("./52/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... unlink resumed>) = 0 [pid 5431] <... set_robust_list resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] umount2("./52/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5430] <... setpgid resumed>) = 0 [pid 5431] chdir("./52" [pid 5430] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5429] <... ioctl resumed>) = 0 [pid 5101] newfstatat(AT_FDCWD, "./52/file1", [pid 5430] <... openat resumed>) = 3 [pid 5429] close(3 [pid 5430] write(3, "1000", 4 [pid 5429] <... close resumed>) = 0 [pid 5430] <... write resumed>) = 4 [pid 5429] close(4 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5431] <... chdir resumed>) = 0 [pid 5430] close(3 [pid 5429] <... close resumed>) = 0 [pid 5431] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5430] <... close resumed>) = 0 [pid 5429] mkdir("./file1", 0777 [pid 5431] <... prctl resumed>) = 0 [pid 5430] symlink("/dev/binderfs", "./binderfs" [pid 5429] <... mkdir resumed>) = 0 [pid 5101] umount2("./52/file1", MNT_FORCE|UMOUNT_NOFOLLOWexecuting program [pid 5431] setpgid(0, 0 [pid 5430] <... symlink resumed>) = 0 [pid 5429] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... umount2 resumed>) = 0 [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5430] write(1, "executing program\n", 18 [pid 5101] openat(AT_FDCWD, "./52/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5430] <... write resumed>) = 18 [pid 5430] memfd_create("syzkaller", 0 [pid 5101] <... openat resumed>) = 4 [pid 5431] <... setpgid resumed>) = 0 [pid 5430] <... memfd_create resumed>) = 3 [pid 5431] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5430] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] newfstatat(4, "", [pid 5098] <... openat resumed>) = 3 [pid 5430] <... mmap resumed>) = 0x7f8438200000 [pid 5431] <... openat resumed>) = 3 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5101] getdents64(4, [pid 5430] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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>0x55556fbb3730 /* 2 entries */, 32768) = 48 [ 146.236051][ T5429] loop0: detected capacity change from 0 to 1024 [pid 5101] getdents64(4, [pid 5431] write(3, "1000", 4 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] umount2("./52/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] close(4) = 0 [pid 5101] rmdir("./52/file1" [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5431] <... write resumed>) = 4 [pid 5101] <... rmdir resumed>) = 0 [pid 5431] close(3 [pid 5429] <... mount resumed>) = 0 [pid 5101] getdents64(3, [pid 5099] newfstatat(AT_FDCWD, "./52/file1", [pid 5431] <... close resumed>) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5431] symlink("/dev/binderfs", "./binderfs" [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5099] umount2("./52/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5431] <... symlink resumed>) = 0 [pid 5430] <... write resumed>) = 524288 [pid 5101] close(3 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5431] write(1, "executing program\n", 18 [pid 5101] <... close resumed>) = 0 executing program [pid 5431] <... write resumed>) = 18 [pid 5099] openat(AT_FDCWD, "./52/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] rmdir("./52" [pid 5431] memfd_create("syzkaller", 0 [pid 5429] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5099] <... openat resumed>) = 4 [pid 5429] <... openat resumed>) = 3 [pid 5429] chdir("./file1") = 0 [pid 5429] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5101] <... rmdir resumed>) = 0 [pid 5099] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] getdents64(4, [pid 5429] truncate("./file1", 0 [pid 5430] munmap(0x7f8438200000, 138412032) = 0 [pid 5429] <... truncate resumed>) = 0 [pid 5429] memfd_create("syzkaller", 0) = 4 [pid 5429] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5431] <... memfd_create resumed>) = 3 [pid 5101] mkdir("./53", 0777 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] <... ioctl resumed>) = 0 [pid 5430] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5099] getdents64(4, [pid 5430] <... openat resumed>) = 4 [pid 5431] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] <... mkdir resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5430] ioctl(4, LOOP_SET_FD, 3 [pid 5431] <... mmap resumed>) = 0x7f8438200000 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5099] close(4 [pid 5101] <... openat resumed>) = 3 [pid 5099] <... close resumed>) = 0 [pid 5101] ioctl(3, LOOP_CLR_FD) = 0 [pid 5099] rmdir("./52/file1" [pid 5429] 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] close(3 [pid 5099] <... rmdir resumed>) = 0 [pid 5431] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5429] <... write resumed>) = 524288 [pid 5101] <... close resumed>) = 0 [pid 5099] getdents64(3, [pid 5098] close(3) = 0 [pid 5098] 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 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 ./strace-static-x86_64: Process 5432 attached [pid 5099] close(3 [pid 5430] <... ioctl resumed>) = 0 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5432 [pid 5430] close(3) = 0 [pid 5430] close(4) = 0 [pid 5430] mkdir("./file1", 0777 [pid 5432] set_robust_list(0x55556fbaa660, 24 [pid 5430] <... mkdir resumed>) = 0 [pid 5099] <... close resumed>) = 0 [pid 5432] <... set_robust_list resumed>) = 0 [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5433 [pid 5099] rmdir("./52" [pid 5432] chdir("./53" [pid 5099] <... rmdir resumed>) = 0 [ 146.362631][ T5430] loop3: detected capacity change from 0 to 1024 [pid 5430] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5432] <... chdir resumed>) = 0 [pid 5099] mkdir("./53", 0777./strace-static-x86_64: Process 5433 attached [pid 5432] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5433] set_robust_list(0x55556fbaa660, 24 [pid 5432] <... prctl resumed>) = 0 [pid 5099] <... mkdir resumed>) = 0 [pid 5433] <... set_robust_list resumed>) = 0 [pid 5432] setpgid(0, 0 [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5432] <... setpgid resumed>) = 0 [pid 5433] chdir("./53" [pid 5432] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5430] <... mount resumed>) = 0 [pid 5099] <... openat resumed>) = 3 [pid 5430] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5433] <... chdir resumed>) = 0 [pid 5432] write(3, "1000", 4 [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5433] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5432] <... write resumed>) = 4 [pid 5431] <... write resumed>) = 524288 [pid 5430] chdir("./file1" [pid 5429] munmap(0x7f8438200000, 138412032 [pid 5433] <... prctl resumed>) = 0 [pid 5432] close(3 [pid 5431] munmap(0x7f8438200000, 138412032 [pid 5430] <... chdir resumed>) = 0 [pid 5429] <... munmap resumed>) = 0 [pid 5433] setpgid(0, 0 [pid 5432] <... close resumed>) = 0 [pid 5430] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5429] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5433] <... setpgid resumed>) = 0 [pid 5432] symlink("/dev/binderfs", "./binderfs" [pid 5431] <... munmap resumed>) = 0 [pid 5430] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5429] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5432] <... symlink resumed>) = 0 [pid 5430] truncate("./file1", 0 [pid 5429] close(4executing program [pid 5433] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5432] write(1, "executing program\n", 18 [pid 5431] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5429] <... close resumed>) = 0 [pid 5433] <... openat resumed>) = 3 [pid 5432] <... write resumed>) = 18 [pid 5431] <... openat resumed>) = 4 [pid 5430] <... truncate resumed>) = 0 [pid 5433] write(3, "1000", 4 [pid 5432] memfd_create("syzkaller", 0 [pid 5431] ioctl(4, LOOP_SET_FD, 3 [pid 5430] memfd_create("syzkaller", 0) = 4 [pid 5430] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5430] 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 5432] <... memfd_create resumed>) = 3 [pid 5433] <... write resumed>) = 4 executing program [pid 5433] close(3 [pid 5432] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5429] exit_group(0 [pid 5099] <... ioctl resumed>) = 0 [pid 5433] <... close resumed>) = 0 [pid 5429] <... exit_group resumed>) = ? [pid 5433] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5432] <... mmap resumed>) = 0x7f8438200000 [pid 5431] <... ioctl resumed>) = 0 [pid 5429] +++ exited with 0 +++ [pid 5433] write(1, "executing program\n", 18 [pid 5431] close(3 [pid 5433] <... write resumed>) = 18 [pid 5431] <... close resumed>) = 0 [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5429, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5099] close(3 [pid 5433] memfd_create("syzkaller", 0 [pid 5431] close(4 [pid 5433] <... memfd_create resumed>) = 3 [pid 5431] <... close resumed>) = 0 [pid 5099] <... close resumed>) = 0 [pid 5431] mkdir("./file1", 0777 [pid 5097] umount2("./53", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5433] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5432] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5431] <... mkdir resumed>) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5433] <... mmap resumed>) = 0x7f8438200000 [pid 5097] openat(AT_FDCWD, "./53", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5434 [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("./53/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(AT_FDCWD, "./53/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5430] <... write resumed>) = 524288 [ 146.478484][ T5431] loop5: detected capacity change from 0 to 1024 [pid 5097] unlink("./53/binderfs"./strace-static-x86_64: Process 5434 attached [pid 5433] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5434] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5434] chdir("./53") = 0 [pid 5430] munmap(0x7f8438200000, 138412032 [pid 5431] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5430] <... munmap resumed>) = 0 [pid 5097] <... unlink resumed>) = 0 [pid 5434] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5430] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5434] <... prctl resumed>) = 0 [pid 5430] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] umount2("./53/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5434] setpgid(0, 0 [pid 5433] <... write resumed>) = 524288 [pid 5430] close(4 [pid 5434] <... setpgid resumed>) = 0 [pid 5430] <... close resumed>) = 0 [pid 5434] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5433] munmap(0x7f8438200000, 138412032 [pid 5432] <... write resumed>) = 524288 [pid 5434] write(3, "1000", 4) = 4 [pid 5434] close(3) = 0 [pid 5434] symlink("/dev/binderfs", "./binderfs" [pid 5432] munmap(0x7f8438200000, 138412032executing program [pid 5434] <... symlink resumed>) = 0 [pid 5434] write(1, "executing program\n", 18) = 18 [pid 5434] memfd_create("syzkaller", 0 [pid 5432] <... munmap resumed>) = 0 [pid 5434] <... memfd_create resumed>) = 3 [pid 5434] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5430] exit_group(0 [pid 5434] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5433] <... munmap resumed>) = 0 [pid 5432] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5097] <... umount2 resumed>) = 0 [pid 5430] <... exit_group resumed>) = ? [pid 5433] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5432] <... openat resumed>) = 4 [pid 5434] <... write resumed>) = 524288 [pid 5433] <... openat resumed>) = 4 [pid 5432] ioctl(4, LOOP_SET_FD, 3 [pid 5430] +++ exited with 0 +++ [pid 5097] umount2("./53/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5430, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5100] umount2("./51", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] newfstatat(AT_FDCWD, "./53/file1", [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] openat(AT_FDCWD, "./51", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 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 5100] umount2("./51/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5100] newfstatat(AT_FDCWD, "./51/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] unlink("./51/binderfs") = 0 [pid 5100] umount2("./51/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5434] munmap(0x7f8438200000, 138412032 [pid 5433] ioctl(4, LOOP_SET_FD, 3 [pid 5432] <... ioctl resumed>) = 0 [pid 5431] <... mount resumed>) = 0 [pid 5100] <... umount2 resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5434] <... munmap resumed>) = 0 [pid 5100] umount2("./51/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5100] newfstatat(AT_FDCWD, "./51/file1", [pid 5434] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5434] <... openat resumed>) = 4 [pid 5432] close(3 [pid 5431] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5097] umount2("./53/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5432] <... close resumed>) = 0 [pid 5431] <... openat resumed>) = 3 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5432] close(4 [pid 5431] chdir("./file1" [pid 5097] openat(AT_FDCWD, "./53/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5432] <... close resumed>) = 0 [pid 5431] <... chdir resumed>) = 0 [ 146.636811][ T5432] loop1: detected capacity change from 0 to 1024 [ 146.669326][ T5433] loop4: detected capacity change from 0 to 1024 [pid 5434] ioctl(4, LOOP_SET_FD, 3 [pid 5433] <... ioctl resumed>) = 0 [pid 5432] mkdir("./file1", 0777 [pid 5431] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5100] umount2("./51/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... openat resumed>) = 4 [pid 5433] close(3) = 0 [pid 5432] <... mkdir resumed>) = 0 [pid 5431] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(4, "", [pid 5433] close(4 [pid 5431] truncate("./file1", 0 [pid 5100] openat(AT_FDCWD, "./51/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5433] <... close resumed>) = 0 [pid 5100] <... openat resumed>) = 4 [pid 5433] mkdir("./file1", 0777) = 0 [pid 5100] newfstatat(4, "", [pid 5097] getdents64(4, [pid 5433] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5432] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5431] <... truncate resumed>) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5431] memfd_create("syzkaller", 0 [pid 5100] getdents64(4, [pid 5097] getdents64(4, [pid 5431] <... memfd_create resumed>) = 4 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5431] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5097] close(4 [pid 5431] <... mmap resumed>) = 0x7f8438200000 [pid 5097] <... close resumed>) = 0 [pid 5097] rmdir("./53/file1" [pid 5434] <... ioctl resumed>) = 0 [pid 5434] close(3) = 0 [pid 5434] close(4 [pid 5097] <... rmdir resumed>) = 0 [pid 5434] <... close resumed>) = 0 [pid 5431] 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(4, [pid 5097] getdents64(3, [pid 5434] mkdir("./file1", 0777 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] close(3 [pid 5434] <... mkdir resumed>) = 0 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] <... close resumed>) = 0 [pid 5434] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5100] close(4 [pid 5097] rmdir("./53" [pid 5432] <... mount resumed>) = 0 [pid 5100] <... close resumed>) = 0 [pid 5434] <... mount resumed>) = 0 [pid 5432] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5100] rmdir("./51/file1" [pid 5097] <... rmdir resumed>) = 0 [ 146.699756][ T5434] loop2: detected capacity change from 0 to 1024 [pid 5434] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5432] <... openat resumed>) = 3 [pid 5434] <... openat resumed>) = 3 [pid 5433] <... mount resumed>) = 0 [pid 5432] chdir("./file1" [pid 5100] <... rmdir resumed>) = 0 [pid 5097] mkdir("./54", 0777 [pid 5433] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5432] <... chdir resumed>) = 0 [pid 5100] getdents64(3, [pid 5434] chdir("./file1" [pid 5433] <... openat resumed>) = 3 [pid 5432] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] <... mkdir resumed>) = 0 [pid 5434] <... chdir resumed>) = 0 [pid 5433] chdir("./file1" [pid 5432] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] close(3 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5434] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5433] <... chdir resumed>) = 0 [pid 5432] truncate("./file1", 0 [pid 5431] <... write resumed>) = 524288 [pid 5100] <... close resumed>) = 0 [pid 5434] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5433] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5432] <... truncate resumed>) = 0 [pid 5431] munmap(0x7f8438200000, 138412032 [pid 5097] <... openat resumed>) = 3 [pid 5434] truncate("./file1", 0 [pid 5100] rmdir("./51") = 0 [pid 5431] <... munmap resumed>) = 0 [pid 5100] mkdir("./52", 0777 [pid 5433] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] <... mkdir resumed>) = 0 [pid 5432] memfd_create("syzkaller", 0 [pid 5433] truncate("./file1", 0 [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5432] <... memfd_create resumed>) = 4 [pid 5433] <... truncate resumed>) = 0 [pid 5432] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5431] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5100] <... openat resumed>) = 3 [pid 5433] memfd_create("syzkaller", 0 [pid 5432] <... mmap resumed>) = 0x7f8438200000 [pid 5431] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5433] <... memfd_create resumed>) = 4 [pid 5431] close(4 [pid 5100] <... ioctl resumed>) = 0 [pid 5433] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] close(3 [pid 5433] <... mmap resumed>) = 0x7f8438200000 [pid 5100] <... close resumed>) = 0 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5434] <... truncate resumed>) = 0 [pid 5434] memfd_create("syzkaller", 0) = 4 [pid 5434] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 ./strace-static-x86_64: Process 5435 attached [pid 5433] 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] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5435 [pid 5435] set_robust_list(0x55556fbaa660, 24 [pid 5432] 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 5431] <... close resumed>) = 0 [pid 5435] <... set_robust_list resumed>) = 0 [pid 5435] chdir("./52" [pid 5432] <... write resumed>) = 524288 [pid 5431] exit_group(0 [pid 5435] <... chdir resumed>) = 0 [pid 5435] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5433] <... write resumed>) = 524288 [pid 5432] munmap(0x7f8438200000, 138412032 [pid 5431] <... exit_group resumed>) = ? [pid 5435] <... prctl resumed>) = 0 [pid 5431] +++ exited with 0 +++ [pid 5435] setpgid(0, 0 [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5431, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5435] <... setpgid resumed>) = 0 [pid 5103] restart_syscall(<... resuming interrupted clone ...> [pid 5435] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5103] <... restart_syscall resumed>) = 0 [pid 5103] umount2("./52", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5432] <... munmap resumed>) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] openat(AT_FDCWD, "./52", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5435] <... openat resumed>) = 3 [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 5435] write(3, "1000", 4 [pid 5434] 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("./52/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5435] <... write resumed>) = 4 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5435] close(3 [pid 5433] munmap(0x7f8438200000, 138412032 [pid 5432] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5103] newfstatat(AT_FDCWD, "./52/binderfs", [pid 5435] <... close resumed>) = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5435] symlink("/dev/binderfs", "./binderfs" [pid 5432] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] unlink("./52/binderfs" [pid 5435] <... symlink resumed>) = 0 [pid 5103] <... unlink resumed>) = 0 [pid 5103] umount2("./52/file1", MNT_FORCE|UMOUNT_NOFOLLOWexecuting program [pid 5435] write(1, "executing program\n", 18 [pid 5433] <... munmap resumed>) = 0 [pid 5432] close(4 [pid 5097] <... ioctl resumed>) = 0 [pid 5435] <... write resumed>) = 18 [pid 5433] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5432] <... close resumed>) = 0 [pid 5097] close(3 [pid 5435] memfd_create("syzkaller", 0) = 3 [pid 5433] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] <... close resumed>) = 0 [pid 5433] close(4 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5435] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 ./strace-static-x86_64: Process 5436 attached [pid 5435] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5434] <... write resumed>) = 524288 [pid 5433] <... close resumed>) = 0 [pid 5432] exit_group(0 [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5436 [pid 5436] set_robust_list(0x55556fbaa660, 24 [pid 5434] munmap(0x7f8438200000, 138412032 [pid 5436] <... set_robust_list resumed>) = 0 [pid 5434] <... munmap resumed>) = 0 [pid 5433] exit_group(0 [pid 5432] <... exit_group resumed>) = ? [pid 5436] chdir("./54" [pid 5434] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5433] <... exit_group resumed>) = ? [pid 5432] +++ exited with 0 +++ [pid 5436] <... chdir resumed>) = 0 [pid 5434] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5433] +++ exited with 0 +++ [pid 5103] <... umount2 resumed>) = 0 [pid 5436] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5434] close(4 [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5432, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5098] restart_syscall(<... resuming interrupted clone ...> [pid 5436] <... prctl resumed>) = 0 [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5433, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5098] <... restart_syscall resumed>) = 0 [pid 5101] umount2("./53", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5436] setpgid(0, 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5436] <... setpgid resumed>) = 0 [pid 5434] <... close resumed>) = 0 [pid 5101] openat(AT_FDCWD, "./53", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] umount2("./53", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5103] umount2("./52/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./53", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5103] newfstatat(AT_FDCWD, "./52/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] newfstatat(3, "", [pid 5103] umount2("./52/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] openat(AT_FDCWD, "./52/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] getdents64(3, [pid 5103] <... openat resumed>) = 4 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5103] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] umount2("./53/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./53/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] getdents64(4, [pid 5098] unlink("./53/binderfs" [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] <... unlink resumed>) = 0 [pid 5103] getdents64(4, [pid 5098] umount2("./53/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5103] close(4 [pid 5436] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5103] <... close resumed>) = 0 [pid 5103] rmdir("./52/file1" [pid 5101] <... openat resumed>) = 3 [pid 5103] <... rmdir resumed>) = 0 [pid 5103] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5103] close(3 [pid 5436] <... openat resumed>) = 3 [pid 5434] exit_group(0 [pid 5103] <... close resumed>) = 0 [pid 5101] newfstatat(3, "", [pid 5436] write(3, "1000", 4 [pid 5434] <... exit_group resumed>) = ? [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] <... umount2 resumed>) = 0 [pid 5436] <... write resumed>) = 4 [pid 5435] <... write resumed>) = 524288 [pid 5103] rmdir("./52" [pid 5436] close(3 [pid 5435] munmap(0x7f8438200000, 138412032 [pid 5434] +++ exited with 0 +++ [pid 5103] <... rmdir resumed>) = 0 [pid 5101] getdents64(3, [pid 5436] <... close resumed>) = 0 [pid 5436] symlink("/dev/binderfs", "./binderfs" [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5435] <... munmap resumed>) = 0 [pid 5103] mkdir("./53", 0777 [pid 5101] umount2("./53/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5434, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5436] <... symlink resumed>) = 0 [pid 5103] <... mkdir resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] newfstatat(AT_FDCWD, "./53/binderfs", executing program [pid 5436] write(1, "executing program\n", 18 [pid 5435] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] umount2("./53", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] umount2("./53/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5435] <... openat resumed>) = 4 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5436] <... write resumed>) = 18 [pid 5435] ioctl(4, LOOP_SET_FD, 3 [pid 5101] unlink("./53/binderfs" [pid 5099] openat(AT_FDCWD, "./53", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] <... openat resumed>) = 3 [pid 5099] <... openat resumed>) = 3 [pid 5098] newfstatat(AT_FDCWD, "./53/file1", [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5101] <... unlink resumed>) = 0 [pid 5099] newfstatat(3, "", [pid 5436] memfd_create("syzkaller", 0 [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_SYMLINK_NOFOLLOW) = 0 [pid 5101] umount2("./53/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] getdents64(3, [pid 5098] umount2("./53/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] umount2("./53/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] openat(AT_FDCWD, "./53/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5436] <... memfd_create resumed>) = 3 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... openat resumed>) = 4 [pid 5436] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5099] newfstatat(AT_FDCWD, "./53/binderfs", [pid 5098] newfstatat(4, "", [pid 5099] <... newfstatat resumed>{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("./53/binderfs" [pid 5098] getdents64(4, [pid 5436] <... mmap resumed>) = 0x7f8438200000 [pid 5101] <... umount2 resumed>) = 0 [pid 5099] <... unlink resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5099] umount2("./53/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5436] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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("./53/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] getdents64(4, [pid 5099] <... umount2 resumed>) = 0 [pid 5099] umount2("./53/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] newfstatat(AT_FDCWD, "./53/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] umount2("./53/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "./53/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... openat resumed>) = 4 [pid 5103] <... ioctl resumed>) = 0 [pid 5101] newfstatat(AT_FDCWD, "./53/file1", [pid 5099] newfstatat(4, "", [pid 5101] <... 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_EMPTY_PATH) = 0 [pid 5098] close(4 [pid 5101] umount2("./53/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] getdents64(4, [pid 5098] <... close resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] openat(AT_FDCWD, "./53/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] rmdir("./53/file1" [pid 5101] <... openat resumed>) = 4 [pid 5099] getdents64(4, [pid 5098] <... rmdir resumed>) = 0 [pid 5101] newfstatat(4, "", [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] getdents64(3, [pid 5435] <... ioctl resumed>) = 0 [pid 5099] close(4 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5435] close(3 [pid 5099] <... close resumed>) = 0 [pid 5098] close(3 [pid 5435] <... close resumed>) = 0 [pid 5099] rmdir("./53/file1" [pid 5098] <... close resumed>) = 0 [pid 5435] close(4 [pid 5099] <... rmdir resumed>) = 0 [pid 5098] rmdir("./53" [pid 5435] <... close resumed>) = 0 [pid 5099] getdents64(3, [pid 5098] <... rmdir resumed>) = 0 [pid 5435] mkdir("./file1", 0777 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] mkdir("./54", 0777 [pid 5436] <... write resumed>) = 524288 [pid 5435] <... mkdir resumed>) = 0 [pid 5101] getdents64(4, [pid 5099] close(3) = 0 [pid 5099] rmdir("./53") = 0 [pid 5435] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5103] close(3 [pid 5098] <... mkdir resumed>) = 0 [pid 5436] munmap(0x7f8438200000, 138412032 [pid 5435] <... mount resumed>) = 0 [pid 5103] <... close resumed>) = 0 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5099] mkdir("./54", 0777 [pid 5436] <... munmap resumed>) = 0 [pid 5435] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [ 147.043632][ T5435] loop3: detected capacity change from 0 to 1024 [pid 5101] getdents64(4, [pid 5436] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5435] <... openat resumed>) = 3 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] <... mkdir resumed>) = 0 [pid 5436] <... openat resumed>) = 4 [pid 5435] chdir("./file1" [pid 5101] close(4 [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5101] <... close resumed>) = 0 [pid 5436] ioctl(4, LOOP_SET_FD, 3 [pid 5101] rmdir("./53/file1" [pid 5435] <... chdir resumed>) = 0 [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5098] <... openat resumed>) = 3 [pid 5101] <... rmdir resumed>) = 0 [pid 5435] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5099] <... openat resumed>) = 3 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5435] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5435] truncate("./file1", 0 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5437 [pid 5435] <... truncate resumed>) = 0 [pid 5101] getdents64(3, [pid 5435] memfd_create("syzkaller", 0) = 4 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 ./strace-static-x86_64: Process 5437 attached [pid 5435] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] close(3 [pid 5437] set_robust_list(0x55556fbaa660, 24 [pid 5101] <... close resumed>) = 0 [pid 5435] <... mmap resumed>) = 0x7f8438200000 [pid 5437] <... set_robust_list resumed>) = 0 [pid 5101] rmdir("./53" [pid 5435] 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 5437] chdir("./53" [pid 5101] <... rmdir resumed>) = 0 [pid 5437] <... chdir resumed>) = 0 [pid 5101] mkdir("./54", 0777) = 0 [pid 5437] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5436] <... ioctl resumed>) = 0 [pid 5435] <... write resumed>) = 524288 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5436] close(3) = 0 [ 147.111024][ T5436] loop0: detected capacity change from 0 to 1024 [pid 5436] close(4 [pid 5435] munmap(0x7f8438200000, 138412032 [pid 5437] <... prctl resumed>) = 0 [pid 5436] <... close resumed>) = 0 [pid 5101] <... openat resumed>) = 3 [pid 5436] mkdir("./file1", 0777 [pid 5437] setpgid(0, 0 [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5436] <... mkdir resumed>) = 0 [pid 5437] <... setpgid resumed>) = 0 [pid 5435] <... munmap resumed>) = 0 [pid 5099] <... ioctl resumed>) = 0 [pid 5098] <... ioctl resumed>) = 0 [pid 5437] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5436] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5437] <... openat resumed>) = 3 [pid 5436] <... mount resumed>) = 0 [pid 5435] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5098] close(3) = 0 [pid 5436] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5437] write(3, "1000", 4) = 4 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5437] close(3 [pid 5436] <... openat resumed>) = 3 [pid 5437] <... close resumed>) = 0 [pid 5436] chdir("./file1" [pid 5437] symlink("/dev/binderfs", "./binderfs" [pid 5436] <... chdir resumed>) = 0 [pid 5436] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5435] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5437] <... symlink resumed>) = 0 [pid 5435] close(4 [pid 5099] close(3executing program [pid 5437] write(1, "executing program\n", 18 [pid 5436] <... openat resumed>) = -1 EBUSY (Device or resource busy) ./strace-static-x86_64: Process 5438 attached [pid 5435] <... close resumed>) = 0 [pid 5099] <... close resumed>) = 0 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5438] set_robust_list(0x55556fbaa660, 24 [pid 5437] <... write resumed>) = 18 [pid 5436] truncate("./file1", 0 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5438 [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5439 ./strace-static-x86_64: Process 5439 attached [pid 5435] exit_group(0 [pid 5439] set_robust_list(0x55556fbaa660, 24 [pid 5438] <... set_robust_list resumed>) = 0 [pid 5437] memfd_create("syzkaller", 0 [pid 5436] <... truncate resumed>) = 0 [pid 5439] <... set_robust_list resumed>) = 0 [pid 5438] chdir("./54" [pid 5437] <... memfd_create resumed>) = 3 [pid 5436] memfd_create("syzkaller", 0 [pid 5435] <... exit_group resumed>) = ? [pid 5438] <... chdir resumed>) = 0 [pid 5437] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5436] <... memfd_create resumed>) = 4 [pid 5435] +++ exited with 0 +++ [pid 5439] chdir("./54" [pid 5438] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5437] <... mmap resumed>) = 0x7f8438200000 [pid 5436] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5439] <... chdir resumed>) = 0 [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5435, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5100] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5436] <... mmap resumed>) = 0x7f8438200000 [pid 5438] <... prctl resumed>) = 0 [pid 5439] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5438] setpgid(0, 0 [pid 5436] 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 5438] <... setpgid resumed>) = 0 [pid 5100] umount2("./52", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5438] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5439] <... prctl resumed>) = 0 [pid 5438] <... openat resumed>) = 3 [pid 5437] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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, "./52", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5439] setpgid(0, 0) = 0 [pid 5100] <... openat resumed>) = 3 [pid 5100] newfstatat(3, "", [pid 5439] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5438] write(3, "1000", 4 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] <... ioctl resumed>) = 0 [pid 5101] close(3) = 0 [pid 5438] <... write resumed>) = 4 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5100] getdents64(3, [pid 5438] close(3 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5439] <... openat resumed>) = 3 [pid 5438] <... close resumed>) = 0 [pid 5437] <... write resumed>) = 524288 [pid 5100] umount2("./52/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 5440 attached [pid 5439] write(3, "1000", 4 [pid 5438] symlink("/dev/binderfs", "./binderfs" [pid 5437] munmap(0x7f8438200000, 138412032 [pid 5436] <... write resumed>) = 524288 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5439] <... write resumed>) = 4 [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5440 [pid 5439] close(3 [pid 5438] <... symlink resumed>) = 0 [pid 5100] newfstatat(AT_FDCWD, "./52/binderfs", [pid 5437] <... munmap resumed>) = 0 [pid 5436] munmap(0x7f8438200000, 138412032 [pid 5440] set_robust_list(0x55556fbaa660, 24 [pid 5439] <... close resumed>) = 0 [pid 5438] write(1, "executing program\n", 18 [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 executing program [pid 5440] <... set_robust_list resumed>) = 0 [pid 5439] symlink("/dev/binderfs", "./binderfs" [pid 5438] <... write resumed>) = 18 [pid 5437] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5436] <... munmap resumed>) = 0 [pid 5100] unlink("./52/binderfs" [pid 5438] memfd_create("syzkaller", 0 [pid 5437] <... openat resumed>) = 4 [pid 5100] <... unlink resumed>) = 0 [pid 5439] <... symlink resumed>) = 0 [pid 5438] <... memfd_create resumed>) = 3 [pid 5437] ioctl(4, LOOP_SET_FD, 3 [pid 5100] umount2("./52/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5440] chdir("./54"executing program ) = 0 [pid 5440] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5439] write(1, "executing program\n", 18 [pid 5440] <... prctl resumed>) = 0 [pid 5439] <... write resumed>) = 18 [pid 5438] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5437] <... ioctl resumed>) = 0 [pid 5436] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5100] <... umount2 resumed>) = 0 [pid 5440] setpgid(0, 0 [pid 5439] memfd_create("syzkaller", 0 [pid 5438] <... mmap resumed>) = 0x7f8438200000 [pid 5437] close(3 [pid 5436] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5440] <... setpgid resumed>) = 0 [pid 5437] <... close resumed>) = 0 [pid 5436] close(4 [pid 5437] close(4 [pid 5438] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5440] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5439] <... memfd_create resumed>) = 3 [pid 5437] <... close resumed>) = 0 [pid 5437] mkdir("./file1", 0777 [pid 5440] <... openat resumed>) = 3 [pid 5439] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] umount2("./52/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5440] write(3, "1000", 4 [pid 5439] <... mmap resumed>) = 0x7f8438200000 [pid 5437] <... mkdir resumed>) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5440] <... write resumed>) = 4 [pid 5100] newfstatat(AT_FDCWD, "./52/file1", [pid 5440] close(3 [pid 5437] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5440] <... close resumed>) = 0 [pid 5436] <... close resumed>) = 0 [pid 5440] symlink("/dev/binderfs", "./binderfs" [pid 5100] umount2("./52/file1", MNT_FORCE|UMOUNT_NOFOLLOWexecuting program [pid 5440] <... symlink resumed>) = 0 [pid 5439] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5437] <... mount resumed>) = 0 [pid 5440] write(1, "executing program\n", 18 [pid 5436] exit_group(0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5440] <... write resumed>) = 18 [pid 5100] openat(AT_FDCWD, "./52/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5440] memfd_create("syzkaller", 0 [pid 5437] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5100] <... openat resumed>) = 4 [pid 5440] <... memfd_create resumed>) = 3 [pid 5437] <... openat resumed>) = 3 [pid 5436] <... exit_group resumed>) = ? [pid 5100] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [ 147.326010][ T5437] loop5: detected capacity change from 0 to 1024 [pid 5100] getdents64(4, [pid 5440] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5437] chdir("./file1" [pid 5436] +++ exited with 0 +++ [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5100] getdents64(4, [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5436, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5440] <... mmap resumed>) = 0x7f8438200000 [pid 5438] <... write resumed>) = 524288 [pid 5437] <... chdir resumed>) = 0 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] umount2("./54", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] close(4 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5440] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5439] <... write resumed>) = 524288 [pid 5438] munmap(0x7f8438200000, 138412032 [pid 5437] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5100] <... close resumed>) = 0 [pid 5437] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] rmdir("./52/file1" [pid 5097] openat(AT_FDCWD, "./54", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5437] truncate("./file1", 0 [pid 5100] <... rmdir resumed>) = 0 [pid 5097] <... openat resumed>) = 3 [pid 5438] <... munmap resumed>) = 0 [pid 5100] getdents64(3, [pid 5097] newfstatat(3, "", [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5439] munmap(0x7f8438200000, 138412032 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] close(3 [pid 5097] getdents64(3, [pid 5100] <... close resumed>) = 0 [pid 5439] <... munmap resumed>) = 0 [pid 5438] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5437] <... truncate resumed>) = 0 [pid 5100] rmdir("./52" [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5438] <... openat resumed>) = 4 [pid 5437] memfd_create("syzkaller", 0 [pid 5097] umount2("./54/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5438] ioctl(4, LOOP_SET_FD, 3 [pid 5437] <... memfd_create resumed>) = 4 [pid 5439] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5437] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] <... rmdir resumed>) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] mkdir("./53", 0777 [pid 5097] newfstatat(AT_FDCWD, "./54/binderfs", [pid 5439] <... openat resumed>) = 4 [pid 5437] <... mmap resumed>) = 0x7f8438200000 [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] unlink("./54/binderfs" [pid 5439] ioctl(4, LOOP_SET_FD, 3 [pid 5437] 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 resumed>) = 0 [pid 5097] <... unlink resumed>) = 0 [pid 5440] <... write resumed>) = 524288 [pid 5438] <... ioctl resumed>) = 0 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5097] umount2("./54/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5439] <... ioctl resumed>) = 0 [pid 5440] munmap(0x7f8438200000, 138412032 [pid 5438] close(3 [pid 5437] <... write resumed>) = 524288 [pid 5100] <... openat resumed>) = 3 [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5439] close(3) = 0 [pid 5439] close(4) = 0 [pid 5439] mkdir("./file1", 0777) = 0 [pid 5440] <... munmap resumed>) = 0 [pid 5438] <... close resumed>) = 0 [pid 5437] munmap(0x7f8438200000, 138412032 [pid 5097] <... umount2 resumed>) = 0 [pid 5438] close(4 [pid 5440] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5438] <... close resumed>) = 0 [pid 5438] mkdir("./file1", 0777 [pid 5439] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5437] <... munmap resumed>) = 0 [pid 5438] <... mkdir resumed>) = 0 [pid 5440] <... openat resumed>) = 4 [pid 5438] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5437] openat(AT_FDCWD, "/dev/loop5", O_RDWR [ 147.412968][ T5438] loop1: detected capacity change from 0 to 1024 [ 147.428695][ T5439] loop2: detected capacity change from 0 to 1024 [pid 5097] umount2("./54/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5440] ioctl(4, LOOP_SET_FD, 3 [pid 5437] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(AT_FDCWD, "./54/file1", [pid 5437] close(4 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] <... ioctl resumed>) = 0 [pid 5097] umount2("./54/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] openat(AT_FDCWD, "./54/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5097] newfstatat(4, "", [pid 5439] <... mount resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5440] <... ioctl resumed>) = 0 [pid 5097] getdents64(4, [pid 5439] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5439] <... openat resumed>) = 3 [pid 5097] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] close(4) = 0 [pid 5097] rmdir("./54/file1" [pid 5440] close(3 [pid 5097] <... rmdir resumed>) = 0 [pid 5097] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] close(3) = 0 [pid 5439] chdir("./file1" [pid 5097] rmdir("./54" [pid 5439] <... chdir resumed>) = 0 [pid 5437] <... close resumed>) = 0 [pid 5439] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5097] <... rmdir resumed>) = 0 [pid 5439] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5439] truncate("./file1", 0 [pid 5440] <... close resumed>) = 0 [pid 5440] close(4) = 0 [pid 5437] exit_group(0 [pid 5097] mkdir("./55", 0777 [pid 5440] mkdir("./file1", 0777 [pid 5437] <... exit_group resumed>) = ? [pid 5440] <... mkdir resumed>) = 0 [pid 5097] <... mkdir resumed>) = 0 [pid 5440] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5438] <... mount resumed>) = 0 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5437] +++ exited with 0 +++ [pid 5439] <... truncate resumed>) = 0 [pid 5438] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5437, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5439] memfd_create("syzkaller", 0 [pid 5100] close(3 [pid 5439] <... memfd_create resumed>) = 4 [pid 5438] <... openat resumed>) = 3 [pid 5100] <... close resumed>) = 0 [pid 5439] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] umount2("./53", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5439] <... mmap resumed>) = 0x7f8438200000 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5439] 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 5438] chdir("./file1" [pid 5103] openat(AT_FDCWD, "./53", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5438] <... chdir resumed>) = 0 [pid 5103] <... openat resumed>) = 3 [pid 5438] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5103] newfstatat(3, "", [pid 5438] <... 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 5438] truncate("./file1", 0 [pid 5103] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5441 [pid 5103] umount2("./53/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5103] newfstatat(AT_FDCWD, "./53/binderfs", ./strace-static-x86_64: Process 5441 attached [ 147.473243][ T5440] loop4: detected capacity change from 0 to 1024 {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5441] set_robust_list(0x55556fbaa660, 24 [pid 5103] unlink("./53/binderfs" [pid 5441] <... set_robust_list resumed>) = 0 [pid 5103] <... unlink resumed>) = 0 [pid 5441] chdir("./53" [pid 5440] <... mount resumed>) = 0 [pid 5103] umount2("./53/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5441] <... chdir resumed>) = 0 [pid 5441] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5441] setpgid(0, 0) = 0 [pid 5441] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5440] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5438] <... truncate resumed>) = 0 [pid 5440] <... openat resumed>) = 3 [pid 5438] memfd_create("syzkaller", 0 [pid 5441] write(3, "1000", 4 [pid 5438] <... memfd_create resumed>) = 4 [pid 5438] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5441] <... write resumed>) = 4 [pid 5441] close(3) = 0 [pid 5441] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5440] chdir("./file1" [pid 5438] <... mmap resumed>) = 0x7f8438200000 [pid 5103] <... umount2 resumed>) = 0 [pid 5440] <... chdir resumed>) = 0 [pid 5441] write(1, "executing program\n", 18 [pid 5439] <... write resumed>) = 524288 [pid 5438] 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("./53/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5440] openat(AT_FDCWD, "/dev/loop4", O_RDWRexecuting program [pid 5441] <... write resumed>) = 18 [pid 5441] memfd_create("syzkaller", 0 [pid 5440] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5441] <... memfd_create resumed>) = 3 [pid 5439] munmap(0x7f8438200000, 138412032 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5439] <... munmap resumed>) = 0 [pid 5103] newfstatat(AT_FDCWD, "./53/file1", [pid 5441] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5440] truncate("./file1", 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] <... ioctl resumed>) = 0 [pid 5441] <... mmap resumed>) = 0x7f8438200000 [pid 5103] umount2("./53/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5440] <... truncate resumed>) = 0 [pid 5439] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5440] memfd_create("syzkaller", 0 [pid 5439] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] close(3 [pid 5103] openat(AT_FDCWD, "./53/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5439] close(4 [pid 5103] <... openat resumed>) = 4 [pid 5097] <... close resumed>) = 0 [pid 5440] <... memfd_create resumed>) = 4 [pid 5439] <... close resumed>) = 0 [pid 5103] newfstatat(4, "", [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5441] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288./strace-static-x86_64: Process 5442 attached [pid 5440] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5439] exit_group(0 [pid 5438] <... write resumed>) = 524288 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5441] <... write resumed>) = 524288 [pid 5103] getdents64(4, [pid 5442] set_robust_list(0x55556fbaa660, 24 [pid 5440] <... mmap resumed>) = 0x7f8438200000 [pid 5439] <... exit_group resumed>) = ? [pid 5438] munmap(0x7f8438200000, 138412032 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5442] <... set_robust_list resumed>) = 0 [pid 5440] 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 5439] +++ exited with 0 +++ [pid 5438] <... munmap resumed>) = 0 [pid 5103] getdents64(4, [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5442 [pid 5442] chdir("./55" [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5103] close(4) = 0 [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5439, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5103] rmdir("./53/file1" [pid 5442] <... chdir resumed>) = 0 [pid 5438] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5103] <... rmdir resumed>) = 0 [pid 5442] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5438] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] getdents64(3, [pid 5442] <... prctl resumed>) = 0 [pid 5438] close(4 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5442] setpgid(0, 0 [pid 5099] umount2("./54", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5442] <... setpgid resumed>) = 0 [pid 5442] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5103] close(3 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5442] <... openat resumed>) = 3 [pid 5103] <... close resumed>) = 0 [pid 5099] openat(AT_FDCWD, "./54", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5442] write(3, "1000", 4 [pid 5440] <... write resumed>) = 524288 [pid 5103] rmdir("./53" [pid 5099] <... openat resumed>) = 3 [pid 5442] <... write resumed>) = 4 [pid 5441] munmap(0x7f8438200000, 138412032 [pid 5103] <... rmdir resumed>) = 0 [pid 5099] newfstatat(3, "", [pid 5442] close(3 [pid 5441] <... munmap resumed>) = 0 [pid 5103] mkdir("./54", 0777 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5442] <... close resumed>) = 0 [pid 5103] <... mkdir resumed>) = 0 [pid 5442] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5442] write(1, "executing program\n", 18 [pid 5441] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5438] <... close resumed>) = 0 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5099] getdents64(3, [pid 5440] munmap(0x7f8438200000, 138412032 [pid 5442] <... write resumed>) = 18 [pid 5441] <... openat resumed>) = 4 [pid 5103] <... openat resumed>) = 3 [pid 5442] memfd_create("syzkaller", 0 [pid 5441] ioctl(4, LOOP_SET_FD, 3 [pid 5440] <... munmap resumed>) = 0 [pid 5438] exit_group(0 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5440] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5438] <... exit_group resumed>) = ? [pid 5442] <... memfd_create resumed>) = 3 [pid 5440] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5438] +++ exited with 0 +++ [pid 5099] umount2("./54/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5440] close(4 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] newfstatat(AT_FDCWD, "./54/binderfs", [pid 5442] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5438, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5442] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] unlink("./54/binderfs" [pid 5098] umount2("./54", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./54", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] <... unlink resumed>) = 0 [pid 5098] <... openat resumed>) = 3 [pid 5099] umount2("./54/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5442] <... write resumed>) = 524288 [pid 5441] <... ioctl resumed>) = 0 [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("./54/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./54/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] unlink("./54/binderfs" [pid 5441] close(3) = 0 [pid 5441] close(4) = 0 [pid 5098] <... unlink resumed>) = 0 [pid 5441] mkdir("./file1", 0777) = 0 [pid 5098] umount2("./54/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] <... ioctl resumed>) = 0 [pid 5099] <... umount2 resumed>) = 0 [ 147.690372][ T5441] loop3: detected capacity change from 0 to 1024 [pid 5441] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5440] <... close resumed>) = 0 [pid 5099] umount2("./54/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5442] munmap(0x7f8438200000, 138412032 [pid 5440] exit_group(0 [pid 5442] <... munmap resumed>) = 0 [pid 5440] <... exit_group resumed>) = ? [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] newfstatat(AT_FDCWD, "./54/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] close(3 [pid 5442] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5103] <... close resumed>) = 0 [pid 5442] <... openat resumed>) = 4 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5442] ioctl(4, LOOP_SET_FD, 3 [pid 5098] <... umount2 resumed>) = 0 [pid 5440] +++ exited with 0 +++ [pid 5099] umount2("./54/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] umount2("./54/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "./54/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5443 [pid 5098] newfstatat(AT_FDCWD, "./54/file1", [pid 5099] <... openat resumed>) = 4 [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5440, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5099] newfstatat(4, "", [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 ./strace-static-x86_64: Process 5443 attached [pid 5101] umount2("./54", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] umount2("./54/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] getdents64(4, [pid 5098] openat(AT_FDCWD, "./54/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... openat resumed>) = 4 [pid 5098] newfstatat(4, "", [pid 5441] <... mount resumed>) = 0 [pid 5101] openat(AT_FDCWD, "./54", 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 5443] set_robust_list(0x55556fbaa660, 24 [pid 5101] <... openat resumed>) = 3 [pid 5099] getdents64(4, [pid 5098] getdents64(4, [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5099] close(4 [pid 5098] getdents64(4, [pid 5441] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] <... close resumed>) = 0 [pid 5443] <... set_robust_list resumed>) = 0 [pid 5441] <... openat resumed>) = 3 [pid 5101] newfstatat(3, "", [pid 5099] rmdir("./54/file1" [pid 5098] close(4 [pid 5441] chdir("./file1" [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] <... close resumed>) = 0 [pid 5441] <... chdir resumed>) = 0 [pid 5098] rmdir("./54/file1" [pid 5443] chdir("./54" [pid 5441] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5099] <... rmdir resumed>) = 0 [pid 5098] <... rmdir resumed>) = 0 [pid 5443] <... chdir resumed>) = 0 [pid 5441] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5441] truncate("./file1", 0 [pid 5443] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5101] getdents64(3, [pid 5099] getdents64(3, [pid 5443] <... prctl resumed>) = 0 [pid 5443] setpgid(0, 0 [pid 5442] <... ioctl resumed>) = 0 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] getdents64(3, [pid 5443] <... setpgid resumed>) = 0 [pid 5442] close(3 [pid 5101] umount2("./54/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5442] <... close resumed>) = 0 [pid 5099] close(3 [pid 5098] close(3 [pid 5443] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5442] close(4 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... close resumed>) = 0 [pid 5442] <... close resumed>) = 0 [pid 5098] rmdir("./54" [pid 5101] newfstatat(AT_FDCWD, "./54/binderfs", [pid 5099] <... close resumed>) = 0 [pid 5442] mkdir("./file1", 0777 [pid 5441] <... truncate resumed>) = 0 [pid 5099] rmdir("./54" [pid 5098] <... rmdir resumed>) = 0 [pid 5443] <... openat resumed>) = 3 [pid 5442] <... mkdir resumed>) = 0 [pid 5441] memfd_create("syzkaller", 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5442] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5441] <... memfd_create resumed>) = 4 [pid 5101] unlink("./54/binderfs" [pid 5099] <... rmdir resumed>) = 0 [pid 5098] mkdir("./55", 0777 [pid 5443] write(3, "1000", 4 [pid 5441] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5443] <... write resumed>) = 4 [pid 5441] <... mmap resumed>) = 0x7f8438200000 [pid 5101] <... unlink resumed>) = 0 [pid 5099] mkdir("./55", 0777 [pid 5098] <... mkdir resumed>) = 0 [pid 5443] close(3) = 0 [pid 5099] <... mkdir resumed>) = 0 [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5443] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5098] <... openat resumed>) = 3 executing program [pid 5443] write(1, "executing program\n", 18 [pid 5101] umount2("./54/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5443] <... write resumed>) = 18 [ 147.770164][ T5442] loop0: detected capacity change from 0 to 1024 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5443] memfd_create("syzkaller", 0 [pid 5099] <... openat resumed>) = 3 [pid 5443] <... memfd_create resumed>) = 3 [pid 5441] 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 5443] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5443] <... mmap resumed>) = 0x7f8438200000 [pid 5442] <... mount resumed>) = 0 [pid 5442] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5443] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5442] chdir("./file1") = 0 [pid 5442] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5442] truncate("./file1", 0 [pid 5101] <... umount2 resumed>) = 0 [pid 5441] <... write resumed>) = 524288 [pid 5443] <... write resumed>) = 524288 [pid 5442] <... truncate resumed>) = 0 [pid 5101] umount2("./54/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... ioctl resumed>) = 0 [pid 5442] memfd_create("syzkaller", 0) = 4 [pid 5441] munmap(0x7f8438200000, 138412032 [pid 5442] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5441] <... munmap resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5442] <... mmap resumed>) = 0x7f8438200000 [pid 5101] newfstatat(AT_FDCWD, "./54/file1", [pid 5442] 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("./54/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5441] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5441] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] openat(AT_FDCWD, "./54/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5441] close(4 [pid 5101] <... openat resumed>) = 4 [pid 5098] close(3 [pid 5101] newfstatat(4, "", [pid 5443] munmap(0x7f8438200000, 138412032) = 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5443] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5098] <... close resumed>) = 0 [pid 5443] <... openat resumed>) = 4 [pid 5442] <... write resumed>) = 524288 [pid 5101] getdents64(4, [pid 5099] <... ioctl resumed>) = 0 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5443] ioctl(4, LOOP_SET_FD, 3 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5099] close(3 [pid 5101] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] <... close resumed>) = 0 [pid 5101] close(4 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5444 [pid 5441] <... close resumed>) = 0 [pid 5441] exit_group(0) = ? [pid 5441] +++ exited with 0 +++ ./strace-static-x86_64: Process 5444 attached [pid 5101] <... close resumed>) = 0 [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5441, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5444] set_robust_list(0x55556fbaa660, 24 [pid 5101] rmdir("./54/file1"./strace-static-x86_64: Process 5445 attached [pid 5444] <... set_robust_list resumed>) = 0 [pid 5443] <... ioctl resumed>) = 0 [pid 5101] <... rmdir resumed>) = 0 [pid 5100] umount2("./53", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5445] set_robust_list(0x55556fbaa660, 24 [pid 5100] openat(AT_FDCWD, "./53", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5443] close(3 [pid 5445] <... set_robust_list resumed>) = 0 [pid 5444] chdir("./55" [pid 5443] <... close resumed>) = 0 [pid 5101] getdents64(3, [pid 5100] <... openat resumed>) = 3 [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5445 [pid 5443] close(4 [pid 5445] chdir("./55" [pid 5443] <... close resumed>) = 0 [pid 5442] munmap(0x7f8438200000, 138412032 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] newfstatat(3, "", [pid 5444] <... chdir resumed>) = 0 [pid 5442] <... munmap resumed>) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5444] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5443] mkdir("./file1", 0777 [pid 5100] getdents64(3, [pid 5444] <... prctl resumed>) = 0 [pid 5442] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5444] setpgid(0, 0 [pid 5442] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5444] <... setpgid resumed>) = 0 [pid 5443] <... mkdir resumed>) = 0 [pid 5442] close(4 [pid 5101] close(3 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5101] <... close resumed>) = 0 [ 147.924197][ T5443] loop5: detected capacity change from 0 to 1024 [pid 5445] <... chdir resumed>) = 0 [pid 5444] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5443] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5101] rmdir("./54" [pid 5100] umount2("./53/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5444] <... openat resumed>) = 3 [pid 5101] <... rmdir resumed>) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] newfstatat(AT_FDCWD, "./53/binderfs", [pid 5445] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5444] write(3, "1000", 4 [pid 5101] mkdir("./55", 0777 [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5445] setpgid(0, 0) = 0 [pid 5445] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5444] <... write resumed>) = 4 [pid 5442] <... close resumed>) = 0 [pid 5101] <... mkdir resumed>) = 0 [pid 5100] unlink("./53/binderfs" [pid 5444] close(3) = 0 [pid 5444] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 5444] write(1, "executing program\n", 18 [pid 5100] <... unlink resumed>) = 0 [pid 5444] <... write resumed>) = 18 [pid 5100] umount2("./53/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5444] memfd_create("syzkaller", 0 [pid 5442] exit_group(0) = ? [pid 5445] <... openat resumed>) = 3 [pid 5445] write(3, "1000", 4 [pid 5444] <... memfd_create resumed>) = 3 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5445] <... write resumed>) = 4 [pid 5444] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] <... openat resumed>) = 3 [pid 5100] <... umount2 resumed>) = 0 [pid 5445] close(3 [pid 5444] <... mmap resumed>) = 0x7f8438200000 [pid 5445] <... close resumed>) = 0 [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5445] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5442] +++ exited with 0 +++ [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5442, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5097] umount2("./55", MNT_FORCE|UMOUNT_NOFOLLOW executing program [pid 5445] write(1, "executing program\n", 18 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5445] <... write resumed>) = 18 [pid 5097] openat(AT_FDCWD, "./55", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5445] memfd_create("syzkaller", 0 [pid 5444] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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("./53/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... openat resumed>) = 3 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(3, "", [pid 5100] newfstatat(AT_FDCWD, "./53/file1", [pid 5443] <... mount resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5445] <... memfd_create resumed>) = 3 [pid 5443] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] getdents64(3, [pid 5100] umount2("./53/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5100] openat(AT_FDCWD, "./53/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] umount2("./55/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... openat resumed>) = 4 [pid 5100] newfstatat(4, "", [pid 5445] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5443] <... openat resumed>) = 3 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] getdents64(4, [pid 5097] newfstatat(AT_FDCWD, "./55/binderfs", [pid 5445] <... mmap resumed>) = 0x7f8438200000 [pid 5443] chdir("./file1" [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5100] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] close(4) = 0 [pid 5100] rmdir("./53/file1") = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] close(3) = 0 [pid 5100] rmdir("./53" [pid 5443] <... chdir resumed>) = 0 [pid 5100] <... rmdir resumed>) = 0 [pid 5097] unlink("./55/binderfs" [pid 5443] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5100] mkdir("./54", 0777 [pid 5443] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] <... mkdir resumed>) = 0 [pid 5097] <... unlink resumed>) = 0 [pid 5097] umount2("./55/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5443] truncate("./file1", 0 [pid 5445] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... ioctl resumed>) = 0 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5097] <... umount2 resumed>) = 0 [pid 5444] <... write resumed>) = 524288 [pid 5100] <... openat resumed>) = 3 [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5443] <... truncate resumed>) = 0 [pid 5097] umount2("./55/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5443] memfd_create("syzkaller", 0 [pid 5097] newfstatat(AT_FDCWD, "./55/file1", [pid 5444] munmap(0x7f8438200000, 138412032 [pid 5443] <... memfd_create resumed>) = 4 [pid 5444] <... munmap resumed>) = 0 [pid 5443] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5443] <... mmap resumed>) = 0x7f8438200000 [pid 5101] close(3 [pid 5097] umount2("./55/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] <... close resumed>) = 0 [pid 5444] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 5444] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5443] 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] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5097] openat(AT_FDCWD, "./55/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5445] <... write resumed>) = 524288 [pid 5097] <... openat resumed>) = 4 [pid 5097] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 ./strace-static-x86_64: Process 5446 attached [pid 5445] munmap(0x7f8438200000, 138412032 [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5446 [pid 5097] getdents64(4, [pid 5444] close(3) = 0 [pid 5444] close(4) = 0 [pid 5444] mkdir("./file1", 0777 [pid 5100] <... ioctl resumed>) = 0 [pid 5446] set_robust_list(0x55556fbaa660, 24 [pid 5445] <... munmap resumed>) = 0 [pid 5444] <... mkdir resumed>) = 0 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] getdents64(4, [pid 5100] close(3) = 0 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [ 148.104218][ T5444] loop1: detected capacity change from 0 to 1024 [pid 5446] <... set_robust_list resumed>) = 0 [pid 5445] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5097] close(4) = 0 [pid 5097] rmdir("./55/file1" [pid 5444] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5445] <... openat resumed>) = 4 [pid 5446] chdir("./55" [pid 5097] <... rmdir resumed>) = 0 [pid 5446] <... chdir resumed>) = 0 [pid 5445] ioctl(4, LOOP_SET_FD, 3 [pid 5097] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 ./strace-static-x86_64: Process 5447 attached [pid 5447] set_robust_list(0x55556fbaa660, 24 [pid 5446] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5443] <... write resumed>) = 524288 [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5447 [pid 5097] close(3 [pid 5446] <... prctl resumed>) = 0 [pid 5443] munmap(0x7f8438200000, 138412032 [pid 5097] <... close resumed>) = 0 [pid 5447] <... set_robust_list resumed>) = 0 [pid 5446] setpgid(0, 0 [pid 5445] <... ioctl resumed>) = 0 [pid 5443] <... munmap resumed>) = 0 [pid 5097] rmdir("./55" [pid 5446] <... setpgid resumed>) = 0 [pid 5446] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5444] <... mount resumed>) = 0 [pid 5097] <... rmdir resumed>) = 0 [pid 5447] chdir("./54" [pid 5446] <... openat resumed>) = 3 [pid 5097] mkdir("./56", 0777 [pid 5447] <... chdir resumed>) = 0 [pid 5447] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5446] write(3, "1000", 4 [pid 5445] close(3 [pid 5444] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5443] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5097] <... mkdir resumed>) = 0 [pid 5446] <... write resumed>) = 4 [pid 5445] <... close resumed>) = 0 [pid 5444] <... openat resumed>) = 3 [pid 5443] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5445] close(4 [pid 5447] <... prctl resumed>) = 0 [pid 5444] chdir("./file1" [pid 5447] setpgid(0, 0 [pid 5444] <... chdir resumed>) = 0 [pid 5444] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5446] close(3 [pid 5445] <... close resumed>) = 0 [pid 5446] <... close resumed>) = 0 [pid 5443] close(4 [pid 5445] mkdir("./file1", 0777 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5447] <... setpgid resumed>) = 0 [pid 5446] symlink("/dev/binderfs", "./binderfs" [pid 5445] <... mkdir resumed>) = 0 [pid 5444] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] <... openat resumed>) = 3 [ 148.166074][ T5445] loop2: detected capacity change from 0 to 1024 [pid 5444] truncate("./file1", 0executing program [pid 5447] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5446] <... symlink resumed>) = 0 [pid 5445] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5446] write(1, "executing program\n", 18 [pid 5447] <... openat resumed>) = 3 [pid 5446] <... write resumed>) = 18 [pid 5444] <... truncate resumed>) = 0 [pid 5443] <... close resumed>) = 0 [pid 5444] memfd_create("syzkaller", 0 [pid 5447] write(3, "1000", 4 [pid 5444] <... memfd_create resumed>) = 4 [pid 5447] <... write resumed>) = 4 [pid 5444] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5443] exit_group(0 [pid 5447] close(3 [pid 5446] memfd_create("syzkaller", 0 [pid 5444] <... mmap resumed>) = 0x7f8438200000 [pid 5443] <... exit_group resumed>) = ? [pid 5447] <... close resumed>) = 0 [pid 5443] +++ exited with 0 +++ [pid 5447] symlink("/dev/binderfs", "./binderfs"executing program [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5443, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5447] <... symlink resumed>) = 0 [pid 5446] <... memfd_create resumed>) = 3 [pid 5447] write(1, "executing program\n", 18) = 18 [pid 5446] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5444] 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 5447] memfd_create("syzkaller", 0 [pid 5446] <... mmap resumed>) = 0x7f8438200000 [pid 5447] <... memfd_create resumed>) = 3 [pid 5447] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5103] umount2("./54", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5103] openat(AT_FDCWD, "./54", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5445] <... mount resumed>) = 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, [pid 5446] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5445] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5444] <... write resumed>) = 524288 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5445] <... openat resumed>) = 3 [pid 5103] umount2("./54/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5445] chdir("./file1" [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] newfstatat(AT_FDCWD, "./54/binderfs", [pid 5447] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5445] <... chdir resumed>) = 0 [pid 5103] unlink("./54/binderfs") = 0 [pid 5103] umount2("./54/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5445] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5447] <... write resumed>) = 524288 [pid 5446] <... write resumed>) = 524288 [pid 5445] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5446] munmap(0x7f8438200000, 138412032 [pid 5445] truncate("./file1", 0 [pid 5444] munmap(0x7f8438200000, 138412032 [pid 5097] <... ioctl resumed>) = 0 [pid 5097] close(3 [pid 5103] <... umount2 resumed>) = 0 [pid 5097] <... close resumed>) = 0 [pid 5444] <... munmap resumed>) = 0 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5446] <... munmap resumed>) = 0 ./strace-static-x86_64: Process 5448 attached [pid 5446] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5444] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5448] set_robust_list(0x55556fbaa660, 24 [pid 5446] <... openat resumed>) = 4 [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5448 [pid 5448] <... set_robust_list resumed>) = 0 [pid 5447] munmap(0x7f8438200000, 138412032 [pid 5445] <... truncate resumed>) = 0 [pid 5444] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] umount2("./54/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5448] chdir("./56" [pid 5447] <... munmap resumed>) = 0 [pid 5446] ioctl(4, LOOP_SET_FD, 3 [pid 5445] memfd_create("syzkaller", 0 [pid 5444] close(4 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5445] <... memfd_create resumed>) = 4 [pid 5103] newfstatat(AT_FDCWD, "./54/file1", [pid 5445] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5447] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5445] <... mmap resumed>) = 0x7f8438200000 [pid 5103] umount2("./54/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5447] <... openat resumed>) = 4 [pid 5447] ioctl(4, LOOP_SET_FD, 3 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5448] <... chdir resumed>) = 0 [pid 5446] <... ioctl resumed>) = 0 [pid 5444] <... close resumed>) = 0 [pid 5103] openat(AT_FDCWD, "./54/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5448] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5446] close(3 [pid 5445] 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 5444] exit_group(0 [pid 5103] newfstatat(4, "", [pid 5448] <... prctl resumed>) = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] getdents64(4, [pid 5448] setpgid(0, 0 [pid 5444] <... exit_group resumed>) = ? [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5448] <... setpgid resumed>) = 0 [pid 5445] <... write resumed>) = 524288 [pid 5444] +++ exited with 0 +++ [pid 5103] getdents64(4, [pid 5446] <... close resumed>) = 0 [pid 5448] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5446] close(4 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5446] <... close resumed>) = 0 [pid 5103] close(4 [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5444, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5103] <... close resumed>) = 0 [pid 5448] <... openat resumed>) = 3 [pid 5446] mkdir("./file1", 0777 [pid 5103] rmdir("./54/file1" [pid 5098] restart_syscall(<... resuming interrupted clone ...> [pid 5448] write(3, "1000", 4 [pid 5446] <... mkdir resumed>) = 0 [pid 5103] <... rmdir resumed>) = 0 [pid 5098] <... restart_syscall resumed>) = 0 [pid 5448] <... write resumed>) = 4 [pid 5448] close(3 [pid 5103] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5448] <... close resumed>) = 0 [pid 5103] close(3 [pid 5448] symlink("/dev/binderfs", "./binderfs" [pid 5103] <... close resumed>) = 0 [pid 5103] rmdir("./54"executing program [pid 5448] <... symlink resumed>) = 0 [pid 5103] <... rmdir resumed>) = 0 [pid 5098] umount2("./55", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5448] write(1, "executing program\n", 18) = 18 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] mkdir("./55", 0777 [pid 5448] memfd_create("syzkaller", 0 [pid 5098] openat(AT_FDCWD, "./55", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5446] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5098] <... openat resumed>) = 3 [pid 5098] newfstatat(3, "", [pid 5103] <... mkdir resumed>) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] getdents64(3, [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5448] <... memfd_create resumed>) = 3 [pid 5447] <... ioctl resumed>) = 0 [pid 5445] munmap(0x7f8438200000, 138412032 [pid 5103] <... openat resumed>) = 3 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5448] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5447] close(3 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5447] <... close resumed>) = 0 [pid 5445] <... munmap resumed>) = 0 [pid 5447] close(4 [pid 5098] umount2("./55/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5448] <... mmap resumed>) = 0x7f8438200000 [pid 5447] <... close resumed>) = 0 [ 148.351967][ T5446] loop4: detected capacity change from 0 to 1024 [ 148.354362][ T5447] loop3: detected capacity change from 0 to 1024 [pid 5445] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5447] mkdir("./file1", 0777) = 0 [pid 5445] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5445] close(4 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./55/binderfs", [pid 5447] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5445] <... close resumed>) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] unlink("./55/binderfs") = 0 [pid 5447] <... mount resumed>) = 0 [pid 5447] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5447] chdir("./file1" [pid 5445] exit_group(0 [pid 5447] <... chdir resumed>) = 0 [pid 5447] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5447] truncate("./file1", 0 [pid 5445] <... exit_group resumed>) = ? [pid 5448] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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("./55/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5445] +++ exited with 0 +++ [pid 5446] <... mount resumed>) = 0 [pid 5448] <... write resumed>) = 524288 [pid 5103] <... ioctl resumed>) = 0 [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5445, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5447] <... truncate resumed>) = 0 [pid 5446] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5099] umount2("./55", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5446] <... openat resumed>) = 3 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "./55", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] <... umount2 resumed>) = 0 [pid 5099] <... openat resumed>) = 3 [pid 5099] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5448] munmap(0x7f8438200000, 138412032 [pid 5447] memfd_create("syzkaller", 0 [pid 5446] chdir("./file1" [pid 5099] getdents64(3, [pid 5098] umount2("./55/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] umount2("./55/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./55/file1", [pid 5447] <... memfd_create resumed>) = 4 [pid 5099] newfstatat(AT_FDCWD, "./55/binderfs", [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5448] <... munmap resumed>) = 0 [pid 5447] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5446] <... chdir resumed>) = 0 [pid 5447] <... mmap resumed>) = 0x7f8438200000 [pid 5446] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] umount2("./55/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5448] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5446] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] unlink("./55/binderfs" [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5448] <... openat resumed>) = 4 [pid 5446] truncate("./file1", 0 [pid 5099] <... unlink resumed>) = 0 [pid 5448] ioctl(4, LOOP_SET_FD, 3 [pid 5099] umount2("./55/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] openat(AT_FDCWD, "./55/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5098] newfstatat(4, "", [pid 5446] <... truncate resumed>) = 0 [pid 5103] close(3 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5447] 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 5446] memfd_create("syzkaller", 0 [pid 5103] <... close resumed>) = 0 [pid 5446] <... memfd_create resumed>) = 4 [pid 5446] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5099] <... umount2 resumed>) = 0 [pid 5098] getdents64(4, [pid 5448] <... ioctl resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5448] close(3 [pid 5098] close(4 [pid 5448] <... close resumed>) = 0 [pid 5098] <... close resumed>) = 0 [pid 5448] close(4) = 0 [pid 5098] rmdir("./55/file1" [pid 5448] mkdir("./file1", 0777 [pid 5098] <... rmdir resumed>) = 0 [pid 5446] <... mmap resumed>) = 0x7f8438200000 [pid 5098] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5448] <... mkdir resumed>) = 0 [pid 5098] close(3 [pid 5448] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5447] <... write resumed>) = 524288 [pid 5446] 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("./55/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... close resumed>) = 0 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5449 [pid 5098] rmdir("./55") = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] newfstatat(AT_FDCWD, "./55/file1", [pid 5098] mkdir("./56", 0777./strace-static-x86_64: Process 5449 attached ) = 0 [pid 5449] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] umount2("./55/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5449] chdir("./55" [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5099] openat(AT_FDCWD, "./55/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] <... openat resumed>) = 3 [pid 5449] <... chdir resumed>) = 0 [pid 5099] <... openat resumed>) = 4 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5449] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5099] newfstatat(4, "", [pid 5449] <... prctl resumed>) = 0 [ 148.477945][ T5448] loop0: detected capacity change from 0 to 1024 [pid 5449] setpgid(0, 0) = 0 [pid 5446] <... write resumed>) = 524288 [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 [pid 5099] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] close(4) = 0 [pid 5449] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5099] rmdir("./55/file1" [pid 5449] <... openat resumed>) = 3 [pid 5099] <... rmdir resumed>) = 0 [pid 5447] munmap(0x7f8438200000, 138412032) = 0 [pid 5099] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5099] close(3) = 0 [pid 5099] rmdir("./55") = 0 [pid 5447] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5099] mkdir("./56", 0777 [pid 5449] write(3, "1000", 4) = 4 [pid 5099] <... mkdir resumed>) = 0 [pid 5449] close(3) = 0 [pid 5447] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5447] close(4 [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5449] symlink("/dev/binderfs", "./binderfs" [pid 5448] <... mount resumed>) = 0 [pid 5099] <... openat resumed>) = 3 [pid 5449] <... symlink resumed>) = 0 executing program [pid 5449] write(1, "executing program\n", 18 [pid 5448] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5446] munmap(0x7f8438200000, 138412032 [pid 5098] <... ioctl resumed>) = 0 [pid 5449] <... write resumed>) = 18 [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5449] memfd_create("syzkaller", 0 [pid 5448] <... openat resumed>) = 3 [pid 5449] <... memfd_create resumed>) = 3 [pid 5448] chdir("./file1" [pid 5446] <... munmap resumed>) = 0 [pid 5449] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5448] <... chdir resumed>) = 0 [pid 5446] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5448] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5449] <... mmap resumed>) = 0x7f8438200000 [pid 5448] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5446] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5448] truncate("./file1", 0 [pid 5447] <... close resumed>) = 0 [pid 5447] exit_group(0 [pid 5098] close(3) = 0 [pid 5447] <... exit_group resumed>) = ? [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5449] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5446] close(4 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5450 [pid 5446] <... close resumed>) = 0 ./strace-static-x86_64: Process 5450 attached [pid 5447] +++ exited with 0 +++ [pid 5450] set_robust_list(0x55556fbaa660, 24 [pid 5099] <... ioctl resumed>) = 0 [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5447, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5100] restart_syscall(<... resuming interrupted clone ...> [pid 5450] <... set_robust_list resumed>) = 0 [pid 5100] <... restart_syscall resumed>) = 0 [pid 5450] chdir("./56" [pid 5448] <... truncate resumed>) = 0 [pid 5100] umount2("./54", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5450] <... chdir resumed>) = 0 [pid 5448] memfd_create("syzkaller", 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] openat(AT_FDCWD, "./54", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5450] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5449] <... write resumed>) = 524288 [pid 5448] <... memfd_create resumed>) = 4 [pid 5446] exit_group(0 [pid 5100] newfstatat(3, "", [pid 5448] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5446] <... exit_group resumed>) = ? [pid 5448] <... mmap resumed>) = 0x7f8438200000 [pid 5450] <... prctl resumed>) = 0 [pid 5450] setpgid(0, 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5450] <... setpgid resumed>) = 0 [pid 5100] getdents64(3, [pid 5450] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5450] <... openat resumed>) = 3 [pid 5100] umount2("./54/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5448] 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 5100] newfstatat(AT_FDCWD, "./54/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5450] write(3, "1000", 4 [pid 5100] unlink("./54/binderfs" [pid 5450] <... write resumed>) = 4 [pid 5100] <... unlink resumed>) = 0 [pid 5450] close(3 [pid 5100] umount2("./54/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5450] <... close resumed>) = 0 [pid 5450] symlink("/dev/binderfs", "./binderfs" [pid 5446] +++ exited with 0 +++ [pid 5099] close(3 [pid 5450] <... symlink resumed>) = 0 executing program [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5446, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5099] <... close resumed>) = 0 [pid 5450] write(1, "executing program\n", 18) = 18 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5450] memfd_create("syzkaller", 0) = 3 [pid 5450] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0./strace-static-x86_64: Process 5451 attached ) = 0x7f8438200000 [pid 5449] munmap(0x7f8438200000, 138412032 [pid 5100] <... umount2 resumed>) = 0 [pid 5451] set_robust_list(0x55556fbaa660, 24 [pid 5450] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5449] <... munmap resumed>) = 0 [pid 5101] umount2("./55", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] umount2("./54/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5451 [pid 5451] <... set_robust_list resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5451] chdir("./56" [pid 5101] openat(AT_FDCWD, "./55", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5451] <... chdir resumed>) = 0 [pid 5449] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5101] <... openat resumed>) = 3 [pid 5100] newfstatat(AT_FDCWD, "./54/file1", [pid 5451] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5449] <... openat resumed>) = 4 [pid 5101] newfstatat(3, "", [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] umount2("./54/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5451] <... prctl resumed>) = 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5449] ioctl(4, LOOP_SET_FD, 3 [pid 5100] openat(AT_FDCWD, "./54/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5451] setpgid(0, 0 [pid 5448] <... write resumed>) = 524288 [pid 5101] getdents64(3, [pid 5451] <... setpgid resumed>) = 0 [pid 5451] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5448] munmap(0x7f8438200000, 138412032 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5100] <... openat resumed>) = 4 [pid 5449] <... ioctl resumed>) = 0 [pid 5451] <... openat resumed>) = 3 [pid 5450] <... write resumed>) = 524288 [pid 5449] close(3 [pid 5448] <... munmap resumed>) = 0 [pid 5101] umount2("./55/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] newfstatat(4, "", [pid 5450] munmap(0x7f8438200000, 138412032 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5450] <... munmap resumed>) = 0 [pid 5449] <... close resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5451] write(3, "1000", 4 [ 148.696836][ T5449] loop5: detected capacity change from 0 to 1024 [pid 5100] getdents64(4, [pid 5448] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5451] <... write resumed>) = 4 [pid 5449] close(4 [pid 5101] newfstatat(AT_FDCWD, "./55/binderfs", [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5100] getdents64(4, [pid 5451] close(3 [pid 5449] <... close resumed>) = 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5451] <... close resumed>) = 0 [pid 5449] mkdir("./file1", 0777 [pid 5448] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5101] unlink("./55/binderfs" [pid 5451] symlink("/dev/binderfs", "./binderfs" [pid 5100] close(4 [pid 5450] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5100] <... close resumed>) = 0 [pid 5450] <... openat resumed>) = 4 [pid 5449] <... mkdir resumed>) = 0 [pid 5450] ioctl(4, LOOP_SET_FD, 3 [pid 5100] rmdir("./54/file1" [pid 5451] <... symlink resumed>) = 0 executing program [pid 5449] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5448] close(4 [pid 5101] <... unlink resumed>) = 0 [pid 5451] write(1, "executing program\n", 18 [pid 5101] umount2("./55/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... rmdir resumed>) = 0 [pid 5100] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] close(3) = 0 [pid 5100] rmdir("./54" [pid 5451] <... write resumed>) = 18 [pid 5100] <... rmdir resumed>) = 0 [pid 5451] memfd_create("syzkaller", 0 [pid 5100] mkdir("./55", 0777 [pid 5451] <... memfd_create resumed>) = 3 [pid 5100] <... mkdir resumed>) = 0 [pid 5451] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5451] <... mmap resumed>) = 0x7f8438200000 [pid 5450] <... ioctl resumed>) = 0 [pid 5100] <... openat resumed>) = 3 [pid 5450] close(3 [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5450] <... close resumed>) = 0 [pid 5450] close(4) = 0 [pid 5450] mkdir("./file1", 0777) = 0 [pid 5450] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5448] <... close resumed>) = 0 [pid 5450] <... mount resumed>) = 0 [pid 5448] exit_group(0 [pid 5450] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5451] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5450] <... openat resumed>) = 3 [pid 5448] <... exit_group resumed>) = ? [pid 5101] <... umount2 resumed>) = 0 [pid 5450] chdir("./file1") = 0 [pid 5450] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5448] +++ exited with 0 +++ [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5448, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5097] restart_syscall(<... resuming interrupted clone ...> [pid 5450] truncate("./file1", 0 [pid 5097] <... restart_syscall resumed>) = 0 [ 148.760253][ T5450] loop1: detected capacity change from 0 to 1024 [pid 5101] umount2("./55/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5451] <... write resumed>) = 524288 [pid 5450] <... truncate resumed>) = 0 [pid 5449] <... mount resumed>) = 0 [pid 5100] <... ioctl resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5450] memfd_create("syzkaller", 0 [pid 5449] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5450] <... memfd_create resumed>) = 4 [pid 5449] <... openat resumed>) = 3 [pid 5449] chdir("./file1") = 0 [pid 5449] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5449] truncate("./file1", 0 [pid 5450] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5451] munmap(0x7f8438200000, 138412032 [pid 5101] newfstatat(AT_FDCWD, "./55/file1", [pid 5100] close(3 [pid 5097] umount2("./56", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] openat(AT_FDCWD, "./56", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5451] <... munmap resumed>) = 0 [pid 5101] umount2("./55/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... openat resumed>) = 3 [pid 5449] <... truncate resumed>) = 0 [pid 5097] newfstatat(3, "", [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5449] memfd_create("syzkaller", 0) = 4 [pid 5101] openat(AT_FDCWD, "./55/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5449] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5451] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5449] 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 resumed>) = 4 [pid 5100] <... close resumed>) = 0 [pid 5097] getdents64(3, [pid 5450] 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 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5451] <... openat resumed>) = 4 [pid 5101] newfstatat(4, "", [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5097] umount2("./56/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5451] ioctl(4, LOOP_SET_FD, 3 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(AT_FDCWD, "./56/binderfs", [pid 5101] getdents64(4, [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 ./strace-static-x86_64: Process 5452 attached [pid 5450] <... write resumed>) = 524288 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5452 [pid 5097] unlink("./56/binderfs" [pid 5452] set_robust_list(0x55556fbaa660, 24 [pid 5451] <... ioctl resumed>) = 0 [pid 5101] getdents64(4, [pid 5097] <... unlink resumed>) = 0 [pid 5097] umount2("./56/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5452] <... set_robust_list resumed>) = 0 [pid 5452] chdir("./55" [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5101] close(4 [pid 5451] close(3) = 0 [pid 5451] close(4 [pid 5101] <... close resumed>) = 0 [pid 5451] <... close resumed>) = 0 [pid 5101] rmdir("./55/file1" [pid 5452] <... chdir resumed>) = 0 [pid 5451] mkdir("./file1", 0777 [pid 5450] munmap(0x7f8438200000, 138412032 [pid 5101] <... rmdir resumed>) = 0 [pid 5452] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5450] <... munmap resumed>) = 0 [pid 5451] <... mkdir resumed>) = 0 [pid 5451] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5452] <... prctl resumed>) = 0 [pid 5450] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5449] <... write resumed>) = 524288 [pid 5101] getdents64(3, [pid 5450] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5452] setpgid(0, 0) = 0 [pid 5450] close(4 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5452] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5101] close(3 [pid 5452] write(3, "1000", 4 [pid 5101] <... close resumed>) = 0 [pid 5097] <... umount2 resumed>) = 0 [pid 5101] rmdir("./55" [pid 5452] <... write resumed>) = 4 [ 148.856755][ T5451] loop2: detected capacity change from 0 to 1024 [pid 5452] close(3 [pid 5449] munmap(0x7f8438200000, 138412032 [pid 5452] <... close resumed>) = 0 [pid 5449] <... munmap resumed>) = 0 [pid 5097] umount2("./56/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5452] symlink("/dev/binderfs", "./binderfs" [pid 5101] <... rmdir resumed>) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5452] <... symlink resumed>) = 0 [pid 5097] newfstatat(AT_FDCWD, "./56/file1", [pid 5452] write(1, "executing program\n", 18 executing program [pid 5449] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5452] <... write resumed>) = 18 [pid 5449] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] umount2("./56/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5452] memfd_create("syzkaller", 0 [pid 5449] close(4 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5450] <... close resumed>) = 0 [pid 5097] openat(AT_FDCWD, "./56/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5452] <... memfd_create resumed>) = 3 [pid 5097] <... openat resumed>) = 4 [pid 5097] newfstatat(4, "", [pid 5101] mkdir("./56", 0777 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5450] exit_group(0 [pid 5097] getdents64(4, [pid 5452] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5450] <... exit_group resumed>) = ? [pid 5101] <... mkdir resumed>) = 0 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5452] <... mmap resumed>) = 0x7f8438200000 [pid 5451] <... mount resumed>) = 0 [pid 5450] +++ exited with 0 +++ [pid 5097] getdents64(4, [pid 5451] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5449] <... close resumed>) = 0 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5450, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5452] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5451] <... openat resumed>) = 3 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5098] umount2("./56", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] close(4 [pid 5451] chdir("./file1" [pid 5101] <... openat resumed>) = 3 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5451] <... chdir resumed>) = 0 [pid 5451] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5098] openat(AT_FDCWD, "./56", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] <... close resumed>) = 0 [pid 5451] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] rmdir("./56/file1" [pid 5451] truncate("./file1", 0 [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5098] <... openat resumed>) = 3 [pid 5097] <... rmdir resumed>) = 0 [pid 5097] getdents64(3, [pid 5449] exit_group(0 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] close(3 [pid 5098] newfstatat(3, "", [pid 5097] <... close resumed>) = 0 [pid 5449] <... exit_group resumed>) = ? [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] rmdir("./56" [pid 5452] <... write resumed>) = 524288 [pid 5098] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5097] <... rmdir resumed>) = 0 [pid 5098] umount2("./56/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./56/binderfs", [pid 5451] <... truncate resumed>) = 0 [pid 5451] memfd_create("syzkaller", 0 [pid 5449] +++ exited with 0 +++ [pid 5098] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5451] <... memfd_create resumed>) = 4 [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5449, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5098] unlink("./56/binderfs" [pid 5097] mkdir("./57", 0777 [pid 5098] <... unlink resumed>) = 0 [pid 5097] <... mkdir resumed>) = 0 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5098] umount2("./56/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] umount2("./55", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5103] openat(AT_FDCWD, "./55", 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("./55/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5103] newfstatat(AT_FDCWD, "./55/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] unlink("./55/binderfs") = 0 [pid 5452] munmap(0x7f8438200000, 138412032 [pid 5451] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] umount2("./55/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5452] <... munmap resumed>) = 0 [pid 5451] <... mmap resumed>) = 0x7f8438200000 [pid 5103] <... umount2 resumed>) = 0 [pid 5101] <... ioctl resumed>) = 0 [pid 5452] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5451] 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>) = 0 [pid 5452] <... openat resumed>) = 4 [pid 5103] umount2("./55/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5452] ioctl(4, LOOP_SET_FD, 3 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] umount2("./56/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5452] <... ioctl resumed>) = 0 [pid 5103] newfstatat(AT_FDCWD, "./55/file1", [pid 5101] close(3 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] <... close resumed>) = 0 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5098] newfstatat(AT_FDCWD, "./56/file1", [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] umount2("./56/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] umount2("./55/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] openat(AT_FDCWD, "./55/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] openat(AT_FDCWD, "./56/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5103] <... openat resumed>) = 4 [pid 5098] <... openat resumed>) = 4 [pid 5103] newfstatat(4, "", [pid 5098] newfstatat(4, "", [pid 5097] <... ioctl resumed>) = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5453 [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 5098] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] close(4 [pid 5103] getdents64(4, [pid 5098] <... close resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5103] close(4) = 0 [pid 5103] rmdir("./55/file1" [pid 5098] rmdir("./56/file1"./strace-static-x86_64: Process 5453 attached [pid 5103] <... rmdir resumed>) = 0 [pid 5098] <... rmdir resumed>) = 0 [pid 5453] set_robust_list(0x55556fbaa660, 24 [pid 5103] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5103] close(3 [pid 5098] getdents64(3, [pid 5103] <... close resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] close(3 [pid 5103] rmdir("./55" [pid 5098] <... close resumed>) = 0 [pid 5452] close(3 [pid 5103] <... rmdir resumed>) = 0 [pid 5098] rmdir("./56" [pid 5097] close(3 [pid 5453] <... set_robust_list resumed>) = 0 [pid 5452] <... close resumed>) = 0 [pid 5098] <... rmdir resumed>) = 0 [pid 5097] <... close resumed>) = 0 [pid 5453] chdir("./56") = 0 [pid 5452] close(4 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5452] <... close resumed>) = 0 [pid 5451] <... write resumed>) = 524288 [pid 5103] mkdir("./56", 0777 [pid 5098] mkdir("./57", 0777 [ 149.043491][ T5452] loop3: detected capacity change from 0 to 1024 [pid 5453] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5452] mkdir("./file1", 0777 [pid 5103] <... mkdir resumed>) = 0 [pid 5098] <... mkdir resumed>) = 0 [pid 5453] <... prctl resumed>) = 0 [pid 5451] munmap(0x7f8438200000, 138412032 [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5454 [pid 5452] <... mkdir resumed>) = 0 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5103] <... openat resumed>) = 3 [pid 5453] setpgid(0, 0 [pid 5098] <... openat resumed>) = 3 [pid 5452] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, ""./strace-static-x86_64: Process 5454 attached [pid 5453] <... setpgid resumed>) = 0 [pid 5451] <... munmap resumed>) = 0 [pid 5454] set_robust_list(0x55556fbaa660, 24 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5454] <... set_robust_list resumed>) = 0 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5454] chdir("./57") = 0 [pid 5454] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5453] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5451] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5454] <... prctl resumed>) = 0 [pid 5454] setpgid(0, 0 [pid 5451] close(4 [pid 5454] <... setpgid resumed>) = 0 [pid 5454] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5454] write(3, "1000", 4) = 4 [pid 5454] close(3) = 0 [pid 5454] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5451] <... close resumed>) = 0 [pid 5453] <... openat resumed>) = 3 [pid 5453] write(3, "1000", 4 [pid 5454] write(1, "executing program\n", 18 [pid 5452] <... mount resumed>) = 0 [pid 5453] <... write resumed>) = 4 executing program [pid 5454] <... write resumed>) = 18 [pid 5453] close(3 [pid 5452] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5454] memfd_create("syzkaller", 0 [pid 5453] <... close resumed>) = 0 [pid 5452] <... openat resumed>) = 3 [pid 5452] chdir("./file1" [pid 5453] symlink("/dev/binderfs", "./binderfs" [pid 5454] <... memfd_create resumed>) = 3 [pid 5453] <... symlink resumed>) = 0 [pid 5452] <... chdir resumed>) = 0 [pid 5451] exit_group(0 [pid 5454] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5452] openat(AT_FDCWD, "/dev/loop3", O_RDWRexecuting program [pid 5451] <... exit_group resumed>) = ? [pid 5454] <... mmap resumed>) = 0x7f8438200000 [pid 5453] write(1, "executing program\n", 18 [pid 5452] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5098] <... ioctl resumed>) = 0 [pid 5453] <... write resumed>) = 18 [pid 5452] truncate("./file1", 0 [pid 5453] memfd_create("syzkaller", 0 [pid 5103] <... ioctl resumed>) = 0 [pid 5452] <... truncate resumed>) = 0 [pid 5451] +++ exited with 0 +++ [pid 5452] memfd_create("syzkaller", 0) = 4 [pid 5453] <... memfd_create resumed>) = 3 [pid 5452] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5454] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5452] <... mmap resumed>) = 0x7f8438200000 [pid 5453] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5452] 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] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5451, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5453] <... mmap resumed>) = 0x7f8438200000 [pid 5099] umount2("./56", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] close(3) = 0 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5453] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] close(3 [pid 5099] openat(AT_FDCWD, "./56", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5103] <... close resumed>) = 0 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5099] <... openat resumed>) = 3 [pid 5099] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] getdents64(3, ./strace-static-x86_64: Process 5455 attached 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] umount2("./56/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5455] set_robust_list(0x55556fbaa660, 24 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] newfstatat(AT_FDCWD, "./56/binderfs", [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5455 [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] unlink("./56/binderfs" [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5456 ./strace-static-x86_64: Process 5456 attached [pid 5455] <... set_robust_list resumed>) = 0 [pid 5454] <... write resumed>) = 524288 [pid 5099] <... unlink resumed>) = 0 [pid 5099] umount2("./56/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5456] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5455] chdir("./57" [pid 5456] chdir("./56" [pid 5455] <... chdir resumed>) = 0 [pid 5456] <... chdir resumed>) = 0 [pid 5456] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5455] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5456] setpgid(0, 0 [pid 5455] <... prctl resumed>) = 0 [pid 5452] <... write resumed>) = 524288 [pid 5456] <... setpgid resumed>) = 0 [pid 5455] setpgid(0, 0 [pid 5456] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5455] <... setpgid resumed>) = 0 [pid 5456] <... openat resumed>) = 3 [pid 5456] write(3, "1000", 4 [pid 5455] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5456] <... write resumed>) = 4 [pid 5454] munmap(0x7f8438200000, 138412032 [pid 5456] close(3 [pid 5454] <... munmap resumed>) = 0 [pid 5456] <... close resumed>) = 0 [pid 5454] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5456] symlink("/dev/binderfs", "./binderfs" [pid 5454] <... openat resumed>) = 4 [pid 5452] munmap(0x7f8438200000, 138412032) = 0 [pid 5099] <... umount2 resumed>) = 0 [pid 5456] <... symlink resumed>) = 0 [pid 5099] umount2("./56/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5454] ioctl(4, LOOP_SET_FD, 3executing program [pid 5455] <... openat resumed>) = 3 [pid 5453] <... write resumed>) = 524288 [pid 5452] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5455] write(3, "1000", 4 [pid 5453] munmap(0x7f8438200000, 138412032 [pid 5099] newfstatat(AT_FDCWD, "./56/file1", [pid 5455] <... write resumed>) = 4 [pid 5456] write(1, "executing program\n", 18 [pid 5452] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5456] <... write resumed>) = 18 [pid 5452] close(4 [pid 5456] memfd_create("syzkaller", 0 [pid 5455] close(3 [pid 5453] <... munmap resumed>) = 0 [pid 5452] <... close resumed>) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5455] <... close resumed>) = 0 [pid 5453] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5099] umount2("./56/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5455] symlink("/dev/binderfs", "./binderfs" [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5456] <... memfd_create resumed>) = 3 [pid 5455] <... symlink resumed>) = 0 [pid 5456] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5453] <... openat resumed>) = 4 [pid 5099] openat(AT_FDCWD, "./56/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5456] <... mmap resumed>) = 0x7f8438200000 executing program [pid 5455] write(1, "executing program\n", 18 [pid 5099] <... openat resumed>) = 4 [pid 5455] <... write resumed>) = 18 [pid 5099] newfstatat(4, "", [pid 5453] ioctl(4, LOOP_SET_FD, 3 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5456] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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(4, [pid 5454] <... ioctl resumed>) = 0 [pid 5454] close(3 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5455] memfd_create("syzkaller", 0 [pid 5454] <... close resumed>) = 0 [pid 5099] getdents64(4, [pid 5454] close(4 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5454] <... close resumed>) = 0 [pid 5099] close(4 [pid 5455] <... memfd_create resumed>) = 3 [pid 5454] mkdir("./file1", 0777 [pid 5452] exit_group(0 [pid 5099] <... close resumed>) = 0 [pid 5456] <... write resumed>) = 524288 [pid 5455] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5454] <... mkdir resumed>) = 0 [pid 5453] <... ioctl resumed>) = 0 [pid 5099] rmdir("./56/file1" [pid 5453] close(3) = 0 [pid 5099] <... rmdir resumed>) = 0 [pid 5453] close(4) = 0 [pid 5453] mkdir("./file1", 0777 [pid 5454] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5452] <... exit_group resumed>) = ? [pid 5455] <... mmap resumed>) = 0x7f8438200000 [pid 5453] <... mkdir resumed>) = 0 [pid 5452] +++ exited with 0 +++ [pid 5099] getdents64(3, [pid 5453] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5452, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5456] munmap(0x7f8438200000, 138412032 [pid 5099] close(3 [pid 5100] umount2("./55", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] <... close resumed>) = 0 [pid 5100] openat(AT_FDCWD, "./55", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] rmdir("./56" [pid 5100] <... openat resumed>) = 3 [ 149.273329][ T5454] loop0: detected capacity change from 0 to 1024 [ 149.295753][ T5453] loop4: detected capacity change from 0 to 1024 [pid 5456] <... munmap resumed>) = 0 [pid 5100] newfstatat(3, "", [pid 5099] <... rmdir resumed>) = 0 [pid 5456] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5454] <... mount resumed>) = 0 [pid 5456] <... openat resumed>) = 4 [pid 5456] ioctl(4, LOOP_SET_FD, 3 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] mkdir("./57", 0777 [pid 5454] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5454] chdir("./file1" [pid 5455] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5454] <... chdir resumed>) = 0 [pid 5100] getdents64(3, [pid 5454] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5099] <... mkdir resumed>) = 0 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5454] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] umount2("./55/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... openat resumed>) = 3 [pid 5454] truncate("./file1", 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5100] newfstatat(AT_FDCWD, "./55/binderfs", [pid 5455] <... write resumed>) = 524288 [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] unlink("./55/binderfs" [pid 5454] <... truncate resumed>) = 0 [pid 5454] memfd_create("syzkaller", 0) = 4 [pid 5100] <... unlink resumed>) = 0 [pid 5454] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5100] umount2("./55/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5453] <... mount resumed>) = 0 [pid 5455] munmap(0x7f8438200000, 138412032 [pid 5453] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5455] <... munmap resumed>) = 0 [pid 5100] <... umount2 resumed>) = 0 [pid 5456] <... ioctl resumed>) = 0 [pid 5454] 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 5453] <... openat resumed>) = 3 [pid 5456] close(3) = 0 [pid 5456] close(4) = 0 [pid 5456] mkdir("./file1", 0777) = 0 [pid 5456] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5099] <... ioctl resumed>) = 0 [pid 5455] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5453] chdir("./file1" [pid 5455] <... openat resumed>) = 4 [pid 5453] <... chdir resumed>) = 0 [ 149.381219][ T5456] loop5: detected capacity change from 0 to 1024 [pid 5456] <... mount resumed>) = 0 [pid 5455] ioctl(4, LOOP_SET_FD, 3 [pid 5453] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5100] umount2("./55/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5100] newfstatat(AT_FDCWD, "./55/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5456] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5100] umount2("./55/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5453] truncate("./file1", 0 [pid 5100] openat(AT_FDCWD, "./55/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5456] <... openat resumed>) = 3 [pid 5100] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5456] chdir("./file1" [pid 5100] getdents64(4, [pid 5456] <... chdir resumed>) = 0 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5456] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5453] <... truncate resumed>) = 0 [pid 5099] close(3 [pid 5456] truncate("./file1", 0 [pid 5454] <... write resumed>) = 524288 [pid 5453] memfd_create("syzkaller", 0 [pid 5455] <... ioctl resumed>) = 0 [pid 5100] getdents64(4, [pid 5099] <... close resumed>) = 0 [pid 5455] close(3 [pid 5453] <... memfd_create resumed>) = 4 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5455] <... close resumed>) = 0 [pid 5455] close(4 [pid 5100] close(4) = 0 [pid 5455] <... close resumed>) = 0 [pid 5453] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] rmdir("./55/file1" [pid 5453] <... mmap resumed>) = 0x7f8438200000 [pid 5100] <... rmdir resumed>) = 0 [pid 5455] mkdir("./file1", 0777 [pid 5456] <... truncate resumed>) = 0 [pid 5455] <... mkdir resumed>) = 0 [pid 5100] getdents64(3, [pid 5455] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5456] memfd_create("syzkaller", 0 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5457 [pid 5456] <... memfd_create resumed>) = 4 [pid 5100] close(3 [pid 5456] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] <... close resumed>) = 0 ./strace-static-x86_64: Process 5457 attached [pid 5456] <... mmap resumed>) = 0x7f8438200000 [ 149.427410][ T5455] loop1: detected capacity change from 0 to 1024 [pid 5100] rmdir("./55" [pid 5457] set_robust_list(0x55556fbaa660, 24 [pid 5456] 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 5454] munmap(0x7f8438200000, 138412032 [pid 5100] mkdir("./56", 0777 [pid 5454] <... munmap resumed>) = 0 [pid 5100] <... mkdir resumed>) = 0 [pid 5457] <... set_robust_list resumed>) = 0 [pid 5453] 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 5457] chdir("./57" [pid 5454] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5457] <... chdir resumed>) = 0 [pid 5455] <... mount resumed>) = 0 [pid 5454] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5453] <... write resumed>) = 524288 [pid 5100] <... openat resumed>) = 3 [pid 5457] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5455] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5454] close(4 [pid 5457] <... prctl resumed>) = 0 [pid 5455] <... openat resumed>) = 3 [pid 5457] setpgid(0, 0) = 0 [pid 5455] chdir("./file1" [pid 5457] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5455] <... chdir resumed>) = 0 [pid 5454] <... close resumed>) = 0 [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5455] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5457] <... openat resumed>) = 3 [pid 5455] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5457] write(3, "1000", 4 [pid 5456] <... write resumed>) = 524288 [pid 5455] truncate("./file1", 0 [pid 5456] munmap(0x7f8438200000, 138412032 [pid 5453] munmap(0x7f8438200000, 138412032 [pid 5457] <... write resumed>) = 4 [pid 5456] <... munmap resumed>) = 0 [pid 5453] <... munmap resumed>) = 0 [pid 5457] close(3 [pid 5456] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5453] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5457] <... close resumed>) = 0 [pid 5456] close(4 [pid 5453] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5457] symlink("/dev/binderfs", "./binderfs" [pid 5455] <... truncate resumed>) = 0 [pid 5454] exit_group(0) = ? [pid 5457] <... symlink resumed>) = 0 [pid 5455] memfd_create("syzkaller", 0executing program [pid 5457] write(1, "executing program\n", 18 [pid 5455] <... memfd_create resumed>) = 4 [pid 5457] <... write resumed>) = 18 [pid 5455] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5457] memfd_create("syzkaller", 0 [pid 5455] <... mmap resumed>) = 0x7f8438200000 [pid 5454] +++ exited with 0 +++ [pid 5453] close(4 [pid 5457] <... memfd_create resumed>) = 3 [pid 5455] 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 5453] <... close resumed>) = 0 [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5454, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5457] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] <... ioctl resumed>) = 0 [pid 5456] <... close resumed>) = 0 [pid 5457] <... mmap resumed>) = 0x7f8438200000 [pid 5456] exit_group(0 [pid 5097] umount2("./57", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5456] <... exit_group resumed>) = ? [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5456] +++ exited with 0 +++ [pid 5097] openat(AT_FDCWD, "./57", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5456, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5097] newfstatat(3, "", [pid 5103] umount2("./56", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] getdents64(3, [pid 5103] openat(AT_FDCWD, "./56", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5103] <... openat resumed>) = 3 [pid 5097] umount2("./57/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] newfstatat(3, "", [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] getdents64(3, [pid 5097] newfstatat(AT_FDCWD, "./57/binderfs", [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] umount2("./56/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] close(3 [pid 5097] unlink("./57/binderfs" [pid 5453] exit_group(0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] <... close resumed>) = 0 [pid 5097] <... unlink resumed>) = 0 [pid 5453] <... exit_group resumed>) = ? [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5457] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5453] +++ exited with 0 +++ [pid 5097] umount2("./57/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5457] <... write resumed>) = 524288 [pid 5103] newfstatat(AT_FDCWD, "./56/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5453, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5455] <... write resumed>) = 524288 [pid 5103] unlink("./56/binderfs" [pid 5097] <... umount2 resumed>) = 0 [pid 5455] munmap(0x7f8438200000, 138412032 [pid 5103] <... unlink resumed>) = 0 [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5458 [pid 5103] umount2("./56/file1", MNT_FORCE|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 5458 attached [pid 5455] <... munmap resumed>) = 0 [pid 5101] restart_syscall(<... resuming interrupted clone ...> [pid 5458] set_robust_list(0x55556fbaa660, 24 [pid 5101] <... restart_syscall resumed>) = 0 [pid 5458] <... set_robust_list resumed>) = 0 [pid 5458] chdir("./56") = 0 [pid 5455] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5103] <... umount2 resumed>) = 0 [pid 5097] umount2("./57/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5458] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5455] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5458] <... prctl resumed>) = 0 [pid 5097] newfstatat(AT_FDCWD, "./57/file1", [pid 5458] setpgid(0, 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5458] <... setpgid resumed>) = 0 [pid 5457] munmap(0x7f8438200000, 138412032 [pid 5455] close(4 [pid 5101] umount2("./56", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] umount2("./57/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5458] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] openat(AT_FDCWD, "./56", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORYexecuting program [pid 5097] openat(AT_FDCWD, "./57/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5458] <... openat resumed>) = 3 [pid 5457] <... munmap resumed>) = 0 [pid 5101] <... openat resumed>) = 3 [pid 5097] <... openat resumed>) = 4 [pid 5458] write(3, "1000", 4 [pid 5097] newfstatat(4, "", [pid 5458] <... write resumed>) = 4 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5458] close(3 [pid 5103] umount2("./56/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] getdents64(4, [pid 5458] <... close resumed>) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5458] symlink("/dev/binderfs", "./binderfs" [pid 5103] newfstatat(AT_FDCWD, "./56/file1", [pid 5097] getdents64(4, [pid 5458] <... symlink resumed>) = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] close(4 [pid 5458] write(1, "executing program\n", 18 [pid 5103] umount2("./56/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... close resumed>) = 0 [pid 5458] <... write resumed>) = 18 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] rmdir("./57/file1" [pid 5458] memfd_create("syzkaller", 0 [pid 5103] openat(AT_FDCWD, "./56/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] <... rmdir resumed>) = 0 [pid 5103] <... openat resumed>) = 4 [pid 5097] getdents64(3, [pid 5458] <... memfd_create resumed>) = 3 [pid 5103] newfstatat(4, "", [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5458] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] close(3 [pid 5458] <... mmap resumed>) = 0x7f8438200000 [pid 5097] <... close resumed>) = 0 [pid 5103] getdents64(4, [pid 5455] <... close resumed>) = 0 [pid 5097] rmdir("./57" [pid 5458] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5457] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5101] newfstatat(3, "", [pid 5103] getdents64(4, [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5457] <... openat resumed>) = 4 [pid 5103] close(4 [pid 5097] <... rmdir resumed>) = 0 [pid 5458] <... write resumed>) = 524288 [pid 5457] ioctl(4, LOOP_SET_FD, 3 [pid 5455] exit_group(0 [pid 5103] <... close resumed>) = 0 [pid 5101] getdents64(3, [pid 5103] rmdir("./56/file1" [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5103] <... rmdir resumed>) = 0 [pid 5458] munmap(0x7f8438200000, 138412032 [pid 5455] <... exit_group resumed>) = ? [pid 5103] getdents64(3, [pid 5097] mkdir("./58", 0777 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] <... mkdir resumed>) = 0 [pid 5458] <... munmap resumed>) = 0 [pid 5103] close(3 [pid 5101] umount2("./56/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5455] +++ exited with 0 +++ [pid 5103] <... close resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] rmdir("./56" [pid 5101] newfstatat(AT_FDCWD, "./56/binderfs", [pid 5103] <... rmdir resumed>) = 0 [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5455, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5458] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5457] <... ioctl resumed>) = 0 [pid 5103] mkdir("./57", 0777 [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] umount2("./57", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... openat resumed>) = 3 [pid 5458] <... openat resumed>) = 4 [pid 5457] close(3 [pid 5101] unlink("./56/binderfs" [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5458] ioctl(4, LOOP_SET_FD, 3 [pid 5457] <... close resumed>) = 0 [pid 5103] <... mkdir resumed>) = 0 [pid 5101] <... unlink resumed>) = 0 [pid 5098] openat(AT_FDCWD, "./57", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5457] close(4 [pid 5101] umount2("./56/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5457] <... close resumed>) = 0 [pid 5457] mkdir("./file1", 0777) = 0 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5098] <... openat resumed>) = 3 [pid 5457] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5098] newfstatat(3, "", [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] getdents64(3, [pid 5458] <... ioctl resumed>) = 0 [pid 5101] <... umount2 resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5458] close(3 [pid 5101] umount2("./56/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] umount2("./57/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5458] <... close resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5458] close(4 [pid 5098] newfstatat(AT_FDCWD, "./57/binderfs", [pid 5458] <... close resumed>) = 0 [pid 5101] newfstatat(AT_FDCWD, "./56/file1", [pid 5098] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5458] mkdir("./file1", 0777 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] unlink("./57/binderfs" [pid 5458] <... mkdir resumed>) = 0 [pid 5101] umount2("./56/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... unlink resumed>) = 0 [pid 5098] umount2("./57/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5457] <... mount resumed>) = 0 [pid 5457] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] openat(AT_FDCWD, "./56/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5458] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5101] newfstatat(4, "", [pid 5457] <... openat resumed>) = 3 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5457] chdir("./file1") = 0 [pid 5457] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5101] getdents64(4, [pid 5457] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5457] truncate("./file1", 0 [pid 5101] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5101] close(4) = 0 [pid 5101] rmdir("./56/file1") = 0 [pid 5101] getdents64(3, [pid 5458] <... mount resumed>) = 0 [pid 5457] <... truncate resumed>) = 0 [pid 5098] <... umount2 resumed>) = 0 [pid 5458] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5458] <... openat resumed>) = 3 [pid 5457] memfd_create("syzkaller", 0 [pid 5101] close(3 [pid 5458] chdir("./file1" [pid 5457] <... memfd_create resumed>) = 4 [pid 5101] <... close resumed>) = 0 [pid 5457] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5458] <... chdir resumed>) = 0 [pid 5101] rmdir("./56" [pid 5458] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5457] <... mmap resumed>) = 0x7f8438200000 [pid 5101] <... rmdir resumed>) = 0 [pid 5098] umount2("./57/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5458] <... openat resumed>) = -1 EBUSY (Device or resource busy) [ 149.696409][ T5457] loop2: detected capacity change from 0 to 1024 [ 149.726797][ T5458] loop3: detected capacity change from 0 to 1024 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5458] truncate("./file1", 0 [pid 5457] 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("./57", 0777 [pid 5098] newfstatat(AT_FDCWD, "./57/file1", [pid 5103] <... ioctl resumed>) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] close(3 [pid 5457] <... write resumed>) = 524288 [pid 5103] <... close resumed>) = 0 [pid 5101] <... mkdir resumed>) = 0 [pid 5098] umount2("./57/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5457] munmap(0x7f8438200000, 138412032 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./57/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5458] <... truncate resumed>) = 0 [pid 5098] newfstatat(4, "", [pid 5458] memfd_create("syzkaller", 0) = 4 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] <... ioctl resumed>) = 0 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5098] getdents64(4, [pid 5457] <... munmap resumed>) = 0 [pid 5101] <... openat resumed>) = 3 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] close(3 [pid 5098] getdents64(4, [pid 5097] <... close resumed>) = 0 [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5458] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5098] close(4 [pid 5458] <... mmap resumed>) = 0x7f8438200000 [pid 5457] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5098] <... close resumed>) = 0 [pid 5098] rmdir("./57/file1") = 0 [pid 5098] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] close(3 [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5459 ./strace-static-x86_64: Process 5459 attached [pid 5459] set_robust_list(0x55556fbaa660, 24 [pid 5098] <... close resumed>) = 0 ./strace-static-x86_64: Process 5460 attached [pid 5457] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5459] <... set_robust_list resumed>) = 0 [pid 5457] close(4 [pid 5460] set_robust_list(0x55556fbaa660, 24 [pid 5459] chdir("./58") = 0 [pid 5098] rmdir("./57" [pid 5459] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5098] <... rmdir resumed>) = 0 [pid 5459] <... prctl resumed>) = 0 [pid 5459] setpgid(0, 0) = 0 [pid 5459] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5098] mkdir("./58", 0777 [pid 5460] <... set_robust_list resumed>) = 0 [pid 5459] write(3, "1000", 4 [pid 5457] <... close resumed>) = 0 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5460 [pid 5098] <... mkdir resumed>) = 0 [pid 5459] <... write resumed>) = 4 [pid 5459] close(3) = 0 [pid 5459] symlink("/dev/binderfs", "./binderfs" [pid 5460] chdir("./57" [pid 5459] <... symlink resumed>) = 0 [pid 5458] 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] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5098] ioctl(3, LOOP_CLR_FDexecuting program [pid 5460] <... chdir resumed>) = 0 [pid 5459] write(1, "executing program\n", 18) = 18 [pid 5459] memfd_create("syzkaller", 0 [pid 5460] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5458] <... write resumed>) = 524288 [pid 5457] exit_group(0 [pid 5460] <... prctl resumed>) = 0 [pid 5459] <... memfd_create resumed>) = 3 [pid 5459] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5460] setpgid(0, 0 [pid 5459] <... mmap resumed>) = 0x7f8438200000 [pid 5457] <... exit_group resumed>) = ? [pid 5460] <... setpgid resumed>) = 0 [pid 5457] +++ exited with 0 +++ [pid 5460] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5458] munmap(0x7f8438200000, 138412032 [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5457, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5460] <... openat resumed>) = 3 [pid 5459] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5458] <... munmap resumed>) = 0 [pid 5099] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5460] write(3, "1000", 4 [pid 5458] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5460] <... write resumed>) = 4 [pid 5458] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5460] close(3 [pid 5101] <... ioctl resumed>) = 0 [pid 5098] <... ioctl resumed>) = 0 [pid 5460] <... close resumed>) = 0 [pid 5458] close(4 [pid 5101] close(3 [pid 5099] umount2("./57", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5460] symlink("/dev/binderfs", "./binderfs" [pid 5101] <... close resumed>) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "./57", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5460] <... symlink resumed>) = 0 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5099] <... openat resumed>) = 3 [pid 5459] <... write resumed>) = 524288 [pid 5099] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] getdents64(3, executing program [pid 5459] munmap(0x7f8438200000, 138412032 [pid 5098] close(3 [pid 5459] <... munmap resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] <... close resumed>) = 0 [pid 5460] write(1, "executing program\n", 18 [pid 5099] umount2("./57/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5460] <... write resumed>) = 18 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5459] openat(AT_FDCWD, "/dev/loop0", O_RDWR./strace-static-x86_64: Process 5461 attached [pid 5460] memfd_create("syzkaller", 0 [pid 5459] <... openat resumed>) = 4 [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5461 [pid 5099] newfstatat(AT_FDCWD, "./57/binderfs", [pid 5461] set_robust_list(0x55556fbaa660, 24 [pid 5459] ioctl(4, LOOP_SET_FD, 3 [pid 5461] <... set_robust_list resumed>) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5461] chdir("./57" [pid 5460] <... memfd_create resumed>) = 3 [pid 5459] <... ioctl resumed>) = 0 [pid 5458] <... close resumed>) = 0 [pid 5099] unlink("./57/binderfs" [pid 5461] <... chdir resumed>) = 0 [pid 5461] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5462 ./strace-static-x86_64: Process 5462 attached [pid 5461] <... prctl resumed>) = 0 [pid 5460] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5458] exit_group(0 [pid 5099] <... unlink resumed>) = 0 [pid 5462] set_robust_list(0x55556fbaa660, 24 [pid 5460] <... mmap resumed>) = 0x7f8438200000 [pid 5099] umount2("./57/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5458] <... exit_group resumed>) = ? [pid 5462] <... set_robust_list resumed>) = 0 [pid 5461] setpgid(0, 0) = 0 [pid 5462] chdir("./58" [pid 5461] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5462] <... chdir resumed>) = 0 [pid 5462] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5458] +++ exited with 0 +++ [pid 5462] setpgid(0, 0) = 0 [pid 5461] write(3, "1000", 4 [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5458, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- executing program [pid 5462] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5461] <... write resumed>) = 4 [pid 5100] restart_syscall(<... resuming interrupted clone ...> [pid 5461] close(3 [pid 5100] <... restart_syscall resumed>) = 0 [pid 5461] <... close resumed>) = 0 [pid 5461] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5100] umount2("./56", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5462] <... openat resumed>) = 3 [pid 5461] write(1, "executing program\n", 18 [pid 5459] close(3 [pid 5461] <... write resumed>) = 18 [pid 5460] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5459] <... close resumed>) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5461] memfd_create("syzkaller", 0 [pid 5459] close(4 [pid 5100] openat(AT_FDCWD, "./56", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5461] <... memfd_create resumed>) = 3 [pid 5459] <... close resumed>) = 0 [pid 5100] <... openat resumed>) = 3 [pid 5462] write(3, "1000", 4 [pid 5461] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5459] mkdir("./file1", 0777 [pid 5100] newfstatat(3, "", [pid 5462] <... write resumed>) = 4 [pid 5461] <... mmap resumed>) = 0x7f8438200000 [pid 5459] <... mkdir resumed>) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5462] close(3 [pid 5100] getdents64(3, [pid 5462] <... close resumed>) = 0 [pid 5459] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5462] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5461] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5462] write(1, "executing program\n", 18 [pid 5100] umount2("./56/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5462] <... write resumed>) = 18 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5462] memfd_create("syzkaller", 0 [pid 5100] newfstatat(AT_FDCWD, "./56/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] unlink("./56/binderfs") = 0 [ 149.923311][ T5459] loop0: detected capacity change from 0 to 1024 [pid 5100] umount2("./56/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5462] <... memfd_create resumed>) = 3 [pid 5461] <... write resumed>) = 524288 [pid 5460] <... write resumed>) = 524288 [pid 5099] <... umount2 resumed>) = 0 [pid 5462] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5460] munmap(0x7f8438200000, 138412032 [pid 5099] umount2("./57/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5462] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] newfstatat(AT_FDCWD, "./57/file1", [pid 5460] <... munmap resumed>) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5460] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5100] <... umount2 resumed>) = 0 [pid 5099] umount2("./57/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5460] <... openat resumed>) = 4 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5460] ioctl(4, LOOP_SET_FD, 3 [pid 5099] openat(AT_FDCWD, "./57/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5459] <... mount resumed>) = 0 [pid 5099] <... openat resumed>) = 4 [pid 5459] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5099] newfstatat(4, "", [pid 5459] <... openat resumed>) = 3 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5459] chdir("./file1") = 0 [pid 5459] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5459] truncate("./file1", 0 [pid 5461] munmap(0x7f8438200000, 138412032 [pid 5460] <... ioctl resumed>) = 0 [pid 5100] umount2("./56/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] getdents64(4, [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5100] newfstatat(AT_FDCWD, "./56/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] umount2("./56/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5100] openat(AT_FDCWD, "./56/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5462] <... write resumed>) = 524288 [pid 5100] <... openat resumed>) = 4 [pid 5099] getdents64(4, [pid 5461] <... munmap resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] newfstatat(4, "", [pid 5099] close(4 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] <... close resumed>) = 0 [pid 5100] getdents64(4, [pid 5461] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5459] <... truncate resumed>) = 0 [pid 5461] <... openat resumed>) = 4 [pid 5459] memfd_create("syzkaller", 0 [pid 5461] ioctl(4, LOOP_SET_FD, 3 [pid 5459] <... memfd_create resumed>) = 4 [pid 5459] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5461] <... ioctl resumed>) = 0 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5099] rmdir("./57/file1" [pid 5462] munmap(0x7f8438200000, 138412032 [pid 5459] <... mmap resumed>) = 0x7f8438200000 [pid 5100] getdents64(4, [pid 5462] <... munmap resumed>) = 0 [pid 5460] close(3 [pid 5459] 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 /* 0 entries */, 32768) = 0 [pid 5099] <... rmdir resumed>) = 0 [pid 5460] <... close resumed>) = 0 [pid 5462] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 5460] close(4 [pid 5100] close(4) = 0 [pid 5460] <... close resumed>) = 0 [pid 5460] mkdir("./file1", 0777 [ 150.013147][ T5460] loop5: detected capacity change from 0 to 1024 [ 150.034393][ T5461] loop4: detected capacity change from 0 to 1024 [pid 5100] rmdir("./56/file1" [pid 5462] ioctl(4, LOOP_SET_FD, 3 [pid 5460] <... mkdir resumed>) = 0 [pid 5100] <... rmdir resumed>) = 0 [pid 5099] getdents64(3, [pid 5460] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5100] getdents64(3, [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5459] <... write resumed>) = 524288 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5099] close(3 [pid 5100] close(3 [pid 5099] <... close resumed>) = 0 [pid 5100] <... close resumed>) = 0 [pid 5099] rmdir("./57" [pid 5100] rmdir("./56" [pid 5461] close(3) = 0 [pid 5461] close(4) = 0 [pid 5461] mkdir("./file1", 0777) = 0 [pid 5100] <... rmdir resumed>) = 0 [pid 5099] <... rmdir resumed>) = 0 [pid 5100] mkdir("./57", 0777 [pid 5461] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5100] <... mkdir resumed>) = 0 [pid 5099] mkdir("./58", 0777 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5099] <... mkdir resumed>) = 0 [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5462] <... ioctl resumed>) = 0 [pid 5461] <... mount resumed>) = 0 [pid 5100] <... ioctl resumed>) = 0 [pid 5100] close(3) = 0 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5462] close(3 [pid 5461] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5462] <... close resumed>) = 0 [pid 5461] <... openat resumed>) = 3 [pid 5462] close(4 [pid 5461] chdir("./file1" [pid 5462] <... close resumed>) = 0 [pid 5461] <... chdir resumed>) = 0 [pid 5099] <... openat resumed>) = 3 [pid 5461] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5462] mkdir("./file1", 0777 [pid 5461] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] ioctl(3, LOOP_CLR_FD./strace-static-x86_64: Process 5463 attached [pid 5462] <... mkdir resumed>) = 0 [pid 5461] truncate("./file1", 0 [pid 5459] munmap(0x7f8438200000, 138412032 [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5463 [ 150.066081][ T5462] loop1: detected capacity change from 0 to 1024 [pid 5463] set_robust_list(0x55556fbaa660, 24 [pid 5462] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5459] <... munmap resumed>) = 0 [pid 5461] <... truncate resumed>) = 0 [pid 5463] <... set_robust_list resumed>) = 0 [pid 5461] memfd_create("syzkaller", 0 [pid 5460] <... mount resumed>) = 0 [pid 5463] chdir("./57" [pid 5461] <... memfd_create resumed>) = 4 [pid 5459] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5461] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5459] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5459] close(4) = 0 [pid 5463] <... chdir resumed>) = 0 [pid 5461] <... mmap resumed>) = 0x7f8438200000 [pid 5463] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5461] 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 5460] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5463] <... prctl resumed>) = 0 [pid 5460] <... openat resumed>) = 3 [pid 5463] setpgid(0, 0) = 0 [pid 5463] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5460] chdir("./file1") = 0 [pid 5463] write(3, "1000", 4 [pid 5462] <... mount resumed>) = 0 [pid 5460] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5463] <... write resumed>) = 4 [pid 5462] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5463] close(3 [pid 5462] <... openat resumed>) = 3 [pid 5463] <... close resumed>) = 0 [pid 5462] chdir("./file1" [pid 5460] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5463] symlink("/dev/binderfs", "./binderfs"executing program [pid 5460] truncate("./file1", 0 [pid 5099] <... ioctl resumed>) = 0 [pid 5463] <... symlink resumed>) = 0 [pid 5462] <... chdir resumed>) = 0 [pid 5459] exit_group(0 [pid 5463] write(1, "executing program\n", 18 [pid 5462] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5459] <... exit_group resumed>) = ? [pid 5463] <... write resumed>) = 18 [pid 5462] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5459] +++ exited with 0 +++ [pid 5463] memfd_create("syzkaller", 0 [pid 5462] truncate("./file1", 0 [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5459, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5463] <... memfd_create resumed>) = 3 [pid 5463] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5462] <... truncate resumed>) = 0 [pid 5463] <... mmap resumed>) = 0x7f8438200000 [pid 5462] memfd_create("syzkaller", 0 [pid 5097] umount2("./58", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5463] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5462] <... memfd_create resumed>) = 4 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] openat(AT_FDCWD, "./58", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5462] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5461] <... write resumed>) = 524288 [pid 5097] <... openat resumed>) = 3 [pid 5462] <... mmap resumed>) = 0x7f8438200000 [pid 5460] <... truncate resumed>) = 0 [pid 5099] close(3 [pid 5463] <... write resumed>) = 524288 [pid 5462] 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 5461] munmap(0x7f8438200000, 138412032 [pid 5460] memfd_create("syzkaller", 0 [pid 5099] <... close resumed>) = 0 [pid 5097] newfstatat(3, "", [pid 5460] <... memfd_create resumed>) = 4 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5097] umount2("./58/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5460] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5464 [pid 5097] newfstatat(AT_FDCWD, "./58/binderfs", [pid 5460] <... mmap resumed>) = 0x7f8438200000 [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] unlink("./58/binderfs") = 0 [pid 5097] umount2("./58/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5461] <... munmap resumed>) = 0 ./strace-static-x86_64: Process 5464 attached [pid 5464] set_robust_list(0x55556fbaa660, 24 [pid 5463] munmap(0x7f8438200000, 138412032 [pid 5461] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5464] <... set_robust_list resumed>) = 0 [pid 5463] <... munmap resumed>) = 0 [pid 5461] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5460] 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 resumed>) = 0 [pid 5464] chdir("./58") = 0 [pid 5463] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5462] <... write resumed>) = 524288 [pid 5461] close(4 [pid 5464] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5463] <... openat resumed>) = 4 [pid 5461] <... close resumed>) = 0 [pid 5464] <... prctl resumed>) = 0 [pid 5463] ioctl(4, LOOP_SET_FD, 3 [pid 5097] umount2("./58/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5464] setpgid(0, 0 [pid 5463] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5464] <... setpgid resumed>) = 0 [pid 5463] ioctl(4, LOOP_CLR_FD [pid 5097] newfstatat(AT_FDCWD, "./58/file1", [pid 5464] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5463] <... ioctl resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] umount2("./58/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5464] <... openat resumed>) = 3 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] openat(AT_FDCWD, "./58/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5464] write(3, "1000", 4 [pid 5463] ioctl(4, LOOP_SET_FD, 3 [pid 5097] <... openat resumed>) = 4 [pid 5464] <... write resumed>) = 4 [pid 5463] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] newfstatat(4, "", [pid 5464] close(3 [pid 5463] close(4 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5464] <... close resumed>) = 0 [pid 5463] <... close resumed>) = 0 [pid 5460] <... write resumed>) = 524288 [pid 5097] getdents64(4, [pid 5464] symlink("/dev/binderfs", "./binderfs" [pid 5463] close(3 [pid 5460] munmap(0x7f8438200000, 138412032 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5464] <... symlink resumed>) = 0 [pid 5463] <... close resumed>) = 0 [pid 5462] munmap(0x7f8438200000, 138412032 [pid 5461] exit_group(0 [pid 5460] <... munmap resumed>) = 0 [pid 5097] getdents64(4, [pid 5464] write(1, "executing program\n", 18 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] close(4executing program [pid 5464] <... write resumed>) = 18 [pid 5097] <... close resumed>) = 0 [pid 5464] memfd_create("syzkaller", 0 [pid 5097] rmdir("./58/file1") = 0 [pid 5464] <... memfd_create resumed>) = 3 [pid 5464] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5460] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5464] <... mmap resumed>) = 0x7f8438200000 [pid 5460] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] getdents64(3, [pid 5462] <... munmap resumed>) = 0 [pid 5461] <... exit_group resumed>) = ? [pid 5460] close(4 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5460] <... close resumed>) = 0 [pid 5097] close(3) = 0 [pid 5464] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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("./58" [pid 5461] +++ exited with 0 +++ [pid 5097] <... rmdir resumed>) = 0 [pid 5462] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5461, si_uid=0, si_status=0, si_utime=0, si_stime=8 /* 0.08 s */} --- [pid 5463] truncate("./file1", 0 [pid 5097] mkdir("./59", 0777 [pid 5463] <... truncate resumed>) = -1 ENOENT (No such file or directory) [pid 5462] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] <... mkdir resumed>) = 0 [pid 5462] close(4 [pid 5460] exit_group(0) = ? [pid 5463] memfd_create("syzkaller", 0 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5463] <... memfd_create resumed>) = 3 [pid 5101] umount2("./57", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... openat resumed>) = 3 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5463] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] openat(AT_FDCWD, "./57", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5463] <... mmap resumed>) = 0x7f8438200000 [pid 5101] <... openat resumed>) = 3 [pid 5097] <... ioctl resumed>) = 0 [pid 5101] newfstatat(3, "", [pid 5097] close(3 [pid 5463] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5097] 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 5101] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5101] umount2("./57/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 5465 attached [pid 5462] <... close resumed>) = 0 [pid 5460] +++ exited with 0 +++ [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5465 [pid 5465] set_robust_list(0x55556fbaa660, 24 [pid 5464] <... write resumed>) = 524288 [pid 5462] exit_group(0 [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5460, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5101] newfstatat(AT_FDCWD, "./57/binderfs", [pid 5465] <... set_robust_list resumed>) = 0 [pid 5462] <... exit_group resumed>) = ? [pid 5464] munmap(0x7f8438200000, 138412032) = 0 [pid 5465] chdir("./59" [pid 5462] +++ exited with 0 +++ [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] umount2("./57", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5462, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] openat(AT_FDCWD, "./57", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] unlink("./57/binderfs" [pid 5465] <... chdir resumed>) = 0 [pid 5103] <... openat resumed>) = 3 [pid 5101] <... unlink resumed>) = 0 [pid 5465] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5464] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5103] newfstatat(3, "", [pid 5101] umount2("./57/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5464] <... openat resumed>) = 4 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5464] ioctl(4, LOOP_SET_FD, 3 [pid 5098] umount2("./58", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5465] <... prctl resumed>) = 0 [pid 5103] getdents64(3, [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] openat(AT_FDCWD, "./58", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5098] newfstatat(3, "", [pid 5103] umount2("./57/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5465] setpgid(0, 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] newfstatat(AT_FDCWD, "./57/binderfs", [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] getdents64(3, [pid 5103] unlink("./57/binderfs" [pid 5463] <... write resumed>) = 524288 [pid 5103] <... unlink resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5465] <... setpgid resumed>) = 0 [pid 5465] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5103] umount2("./57/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] umount2("./58/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5465] <... openat resumed>) = 3 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./58/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] unlink("./58/binderfs" [pid 5465] write(3, "1000", 4 [pid 5098] <... unlink resumed>) = 0 [pid 5465] <... write resumed>) = 4 [pid 5463] munmap(0x7f8438200000, 138412032 [pid 5103] <... umount2 resumed>) = 0 [pid 5101] <... umount2 resumed>) = 0 [pid 5098] umount2("./58/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5465] close(3 [pid 5463] <... munmap resumed>) = 0 [pid 5465] <... close resumed>) = 0 [pid 5101] umount2("./57/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5465] symlink("/dev/binderfs", "./binderfs" [pid 5101] newfstatat(AT_FDCWD, "./57/file1", [pid 5463] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5463] ioctl(4, LOOP_SET_FD, 3 [pid 5103] umount2("./57/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5464] <... ioctl resumed>) = 0 [pid 5103] newfstatat(AT_FDCWD, "./57/file1", [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5464] close(3 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5465] <... symlink resumed>) = 0 [pid 5464] <... close resumed>) = 0 [pid 5103] umount2("./57/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5464] close(4 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5464] <... close resumed>) = 0 [pid 5103] openat(AT_FDCWD, "./57/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5464] mkdir("./file1", 0777 [pid 5103] <... openat resumed>) = 4 executing program [pid 5464] <... mkdir resumed>) = 0 [pid 5103] newfstatat(4, "", [pid 5465] write(1, "executing program\n", 18 [pid 5464] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5465] <... write resumed>) = 18 [pid 5103] getdents64(4, [pid 5101] umount2("./57/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5465] memfd_create("syzkaller", 0 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5465] <... memfd_create resumed>) = 3 [pid 5464] <... mount resumed>) = 0 [pid 5103] getdents64(4, [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... umount2 resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5103] close(4) = 0 [ 150.425939][ T5464] loop2: detected capacity change from 0 to 1024 [pid 5103] rmdir("./57/file1" [pid 5465] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] <... rmdir resumed>) = 0 [pid 5101] openat(AT_FDCWD, "./57/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] umount2("./58/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5464] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5103] getdents64(3, [pid 5101] <... openat resumed>) = 4 [pid 5465] <... mmap resumed>) = 0x7f8438200000 [pid 5464] <... openat resumed>) = 3 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5464] chdir("./file1" [pid 5103] close(3 [pid 5464] <... chdir resumed>) = 0 [pid 5103] <... close resumed>) = 0 [pid 5098] newfstatat(AT_FDCWD, "./58/file1", [pid 5464] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5103] rmdir("./57" [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] umount2("./58/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5464] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] <... rmdir resumed>) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5464] truncate("./file1", 0 [pid 5103] mkdir("./58", 0777 [pid 5098] openat(AT_FDCWD, "./58/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5103] <... mkdir resumed>) = 0 [pid 5101] newfstatat(4, "", [pid 5098] <... openat resumed>) = 4 [pid 5464] <... truncate resumed>) = 0 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5098] newfstatat(4, "", [pid 5465] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5463] <... ioctl resumed>) = 0 [pid 5103] <... openat resumed>) = 3 [pid 5101] <... 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 5101] getdents64(4, [pid 5464] memfd_create("syzkaller", 0 [pid 5463] close(3 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] getdents64(4, [pid 5464] <... memfd_create resumed>) = 4 [pid 5463] <... close resumed>) = 0 [pid 5464] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5463] close(4 [pid 5101] getdents64(4, [pid 5464] <... mmap resumed>) = 0x7f8438200000 [pid 5463] <... close resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] getdents64(4, [pid 5464] 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 5463] mkdir("./file1", 0777 [pid 5101] close(4 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] close(4 [pid 5463] <... mkdir resumed>) = 0 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5098] <... close resumed>) = 0 [pid 5098] rmdir("./58/file1" [pid 5465] <... write resumed>) = 524288 [pid 5463] mount("/dev/loop3", "./file1", "hfsplus", MS_NOSUID|MS_NOEXEC|MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5101] <... close resumed>) = 0 [pid 5098] <... rmdir resumed>) = 0 [pid 5098] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5101] rmdir("./57/file1" [pid 5098] close(3 [pid 5101] <... rmdir resumed>) = 0 [pid 5098] <... close resumed>) = 0 [pid 5098] rmdir("./58" [pid 5465] munmap(0x7f8438200000, 138412032 [pid 5101] getdents64(3, [pid 5098] <... rmdir resumed>) = 0 [pid 5098] mkdir("./59", 0777 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5101] close(3 [pid 5098] <... mkdir resumed>) = 0 [pid 5465] <... munmap resumed>) = 0 [ 150.521936][ T5463] loop3: detected capacity change from 0 to 1024 [ 150.573944][ T5463] [ 150.576299][ T5463] ====================================================== [ 150.583329][ T5463] WARNING: possible circular locking dependency detected [ 150.590357][ T5463] 6.10.0-rc1-syzkaller-00021-ge0cce98fe279 #0 Not tainted [ 150.597488][ T5463] ------------------------------------------------------ [ 150.604602][ T5463] syz-executor183/5463 is trying to acquire lock: [ 150.611029][ T5463] ffff88802ba93708 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_get_block+0x277/0x9e0 [ 150.621928][ T5463] [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5465] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5464] <... write resumed>) = 524288 [pid 5101] <... close resumed>) = 0 [pid 5098] <... openat resumed>) = 3 [pid 5465] <... openat resumed>) = 4 [pid 5101] rmdir("./57" [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5465] ioctl(4, LOOP_SET_FD, 3 [pid 5464] munmap(0x7f8438200000, 138412032 [pid 5101] <... rmdir resumed>) = 0 [pid 5101] mkdir("./58", 0777) = 0 [pid 5464] <... munmap resumed>) = 0 [pid 5464] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5464] close(4) = 0 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5464] exit_group(0) = ? [pid 5465] <... ioctl resumed>) = 0 [pid 5465] close(3) = 0 [pid 5465] close(4) = 0 [pid 5465] mkdir("./file1", 0777) = 0 [pid 5464] +++ exited with 0 +++ [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5464, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [ 150.621928][ T5463] but task is already holding lock: [ 150.629303][ T5463] ffff88801eeb20b0 (&tree->tree_lock){+.+.}-{3:3}, at: hfsplus_find_init+0x1a7/0x200 [ 150.636251][ T5465] loop0: detected capacity change from 0 to 1024 [ 150.638839][ T5463] [ 150.638839][ T5463] which lock already depends on the new lock. [ 150.638839][ T5463] [ 150.638851][ T5463] [ 150.638851][ T5463] the existing dependency chain (in reverse order) is: [ 150.664678][ T5463] [ 150.664678][ T5463] -> #1 (&tree->tree_lock){+.+.}-{3:3}: [pid 5099] restart_syscall(<... resuming interrupted clone ...> [pid 5465] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5099] <... restart_syscall resumed>) = 0 [pid 5099] umount2("./58", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "./58", 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("./58/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] newfstatat(AT_FDCWD, "./58/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] unlink("./58/binderfs") = 0 [pid 5099] umount2("./58/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5465] <... mount resumed>) = 0 [ 150.672458][ T5463] __mutex_lock+0x175/0x9c0 [ 150.677556][ T5463] hfsplus_file_truncate+0x886/0x9e0 [ 150.683421][ T5463] hfsplus_setattr+0x1eb/0x310 [ 150.688755][ T5463] notify_change+0x745/0x11f0 [ 150.693997][ T5463] do_truncate+0x15c/0x220 [ 150.698967][ T5463] vfs_truncate+0x3ef/0x4e0 [ 150.704106][ T5463] __x64_sys_truncate+0x177/0x1f0 [ 150.709688][ T5463] do_syscall_64+0xcd/0x250 [ 150.714747][ T5463] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 150.721205][ T5463] [pid 5465] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5465] chdir("./file1") = 0 [pid 5465] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5465] truncate("./file1", 0) = 0 [pid 5465] memfd_create("syzkaller", 0) = 4 [pid 5465] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [ 150.721205][ T5463] -> #0 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}: [ 150.730291][ T5463] __lock_acquire+0x2478/0x3b30 [ 150.735703][ T5463] lock_acquire+0x1b1/0x560 [ 150.740763][ T5463] __mutex_lock+0x175/0x9c0 [ 150.745845][ T5463] hfsplus_get_block+0x277/0x9e0 [ 150.751359][ T5463] block_read_full_folio+0x392/0xa70 [ 150.757213][ T5463] filemap_read_folio+0xe8/0x2c0 [ 150.762704][ T5463] do_read_cache_folio+0x203/0x540 [ 150.768374][ T5463] read_cache_page+0x5b/0x160 [pid 5465] 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 5465] munmap(0x7f8438200000, 138412032) = 0 [pid 5465] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [ 150.773609][ T5463] __hfs_bnode_create+0x63e/0x870 [ 150.779188][ T5463] hfsplus_bnode_find+0x2c8/0xcb0 [ 150.784773][ T5463] hfsplus_brec_find+0x2b9/0x520 [ 150.790274][ T5463] hfsplus_brec_read+0x2d/0x120 [ 150.795688][ T5463] hfsplus_find_cat+0x1e3/0x4d0 [ 150.801089][ T5463] hfsplus_iget+0x3bd/0x7a0 [ 150.806162][ T5463] hfsplus_fill_super+0xca8/0x1bc0 [ 150.811844][ T5463] mount_bdev+0x1e6/0x2d0 [ 150.816752][ T5463] legacy_get_tree+0x10c/0x220 [pid 5465] close(4) = 0 [pid 5465] exit_group(0) = ? [pid 5465] +++ exited with 0 +++ [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5465, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5097] restart_syscall(<... resuming interrupted clone ...>) = 0 [ 150.822080][ T5463] vfs_get_tree+0x92/0x380 [ 150.827074][ T5463] path_mount+0x14e6/0x1f20 [ 150.832155][ T5463] __x64_sys_mount+0x297/0x320 [ 150.837492][ T5463] do_syscall_64+0xcd/0x250 [ 150.842552][ T5463] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 150.849011][ T5463] [ 150.849011][ T5463] other info that might help us debug this: [ 150.849011][ T5463] [ 150.859250][ T5463] Possible unsafe locking scenario: [ 150.859250][ T5463] [ 150.866703][ T5463] CPU0 CPU1 [pid 5097] umount2("./59", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] openat(AT_FDCWD, "./59", 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 [ 150.872061][ T5463] ---- ---- [ 150.877420][ T5463] lock(&tree->tree_lock); [ 150.881928][ T5463] lock(&HFSPLUS_I(inode)->extents_lock); [ 150.890262][ T5463] lock(&tree->tree_lock); [ 150.897286][ T5463] lock(&HFSPLUS_I(inode)->extents_lock); [ 150.903097][ T5463] [ 150.903097][ T5463] *** DEADLOCK *** [ 150.903097][ T5463] [ 150.911234][ T5463] 2 locks held by syz-executor183/5463: [pid 5097] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5097] umount2("./59/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(AT_FDCWD, "./59/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] unlink("./59/binderfs") = 0 [ 150.916773][ T5463] #0: ffff88807970a0e0 (&type->s_umount_key#42/1){+.+.}-{3:3}, at: alloc_super+0x23d/0xbd0 [ 150.926931][ T5463] #1: ffff88801eeb20b0 (&tree->tree_lock){+.+.}-{3:3}, at: hfsplus_find_init+0x1a7/0x200 [ 150.936889][ T5463] [ 150.936889][ T5463] stack backtrace: [ 150.942769][ T5463] CPU: 1 PID: 5463 Comm: syz-executor183 Not tainted 6.10.0-rc1-syzkaller-00021-ge0cce98fe279 #0 [ 150.953275][ T5463] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 150.963336][ T5463] Call Trace: [ 150.966615][ T5463] [ 150.969542][ T5463] dump_stack_lvl+0x116/0x1f0 [ 150.974247][ T5463] check_noncircular+0x31a/0x400 [ 150.979199][ T5463] ? __pfx_check_noncircular+0x10/0x10 [ 150.984693][ T5463] ? register_lock_class+0xb1/0x1230 [ 150.989997][ T5463] ? srso_alias_return_thunk+0x5/0xfbef5 [ 150.995649][ T5463] ? lockdep_lock+0xc6/0x200 [ 151.000261][ T5463] ? __pfx_lockdep_lock+0x10/0x10 [ 151.005307][ T5463] ? srso_alias_return_thunk+0x5/0xfbef5 [ 151.010964][ T5463] __lock_acquire+0x2478/0x3b30 [ 151.015834][ T5463] ? __pfx___lock_acquire+0x10/0x10 [ 151.021047][ T5463] ? do_read_cache_folio+0x203/0x540 [ 151.026344][ T5463] ? __hfs_bnode_create+0x63e/0x870 [ 151.031551][ T5463] ? hfsplus_bnode_find+0x2c8/0xcb0 [ 151.036767][ T5463] ? hfsplus_brec_find+0x2b9/0x520 [ 151.041892][ T5463] ? hfsplus_brec_read+0x2d/0x120 [ 151.046931][ T5463] ? hfsplus_find_cat+0x1e3/0x4d0 [ 151.051989][ T5463] ? hfsplus_iget+0x3bd/0x7a0 [ 151.056690][ T5463] lock_acquire+0x1b1/0x560 [ 151.061203][ T5463] ? hfsplus_get_block+0x277/0x9e0 [ 151.066342][ T5463] ? __pfx_lock_acquire+0x10/0x10 [ 151.071378][ T5463] ? srso_alias_return_thunk+0x5/0xfbef5 [ 151.077062][ T5463] ? __pfx___might_resched+0x10/0x10 [ 151.082477][ T5463] ? __pfx___lock_acquire+0x10/0x10 [ 151.087693][ T5463] __mutex_lock+0x175/0x9c0 [ 151.092223][ T5463] ? hfsplus_get_block+0x277/0x9e0 [ 151.097357][ T5463] ? lock_acquire+0x1b1/0x560 [ 151.102044][ T5463] ? hfsplus_get_block+0x277/0x9e0 [ 151.107177][ T5463] ? find_held_lock+0x2d/0x110 [ 151.111978][ T5463] ? __pfx___mutex_lock+0x10/0x10 [ 151.117035][ T5463] ? srso_alias_return_thunk+0x5/0xfbef5 [ 151.122694][ T5463] ? srso_alias_return_thunk+0x5/0xfbef5 [ 151.128355][ T5463] ? do_raw_spin_lock+0x12d/0x2c0 [ 151.133411][ T5463] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 151.138805][ T5463] ? srso_alias_return_thunk+0x5/0xfbef5 [ 151.144462][ T5463] ? hfsplus_get_block+0x277/0x9e0 [ 151.149598][ T5463] hfsplus_get_block+0x277/0x9e0 [ 151.154570][ T5463] block_read_full_folio+0x392/0xa70 [ 151.159881][ T5463] ? __pfx_hfsplus_get_block+0x10/0x10 [ 151.165368][ T5463] ? __pfx_block_read_full_folio+0x10/0x10 [ 151.171201][ T5463] ? srso_alias_return_thunk+0x5/0xfbef5 [ 151.176858][ T5463] ? __pfx_hfsplus_read_folio+0x10/0x10 [ 151.182426][ T5463] filemap_read_folio+0xe8/0x2c0 [ 151.187374][ T5463] ? __pfx_filemap_read_folio+0x10/0x10 [ 151.192927][ T5463] ? srso_alias_return_thunk+0x5/0xfbef5 [ 151.198577][ T5463] ? __filemap_get_folio+0x2a1/0xa80 [ 151.203883][ T5463] ? __hfs_bnode_create+0x48f/0x870 [ 151.209119][ T5463] do_read_cache_folio+0x203/0x540 [ 151.214245][ T5463] ? __pfx_hfsplus_read_folio+0x10/0x10 [ 151.219817][ T5463] read_cache_page+0x5b/0x160 [ 151.224537][ T5463] __hfs_bnode_create+0x63e/0x870 [ 151.229578][ T5463] ? __pfx___hfs_bnode_create+0x10/0x10 [ 151.235136][ T5463] ? __pfx_lock_release+0x10/0x10 [ 151.240176][ T5463] ? srso_alias_return_thunk+0x5/0xfbef5 [ 151.245830][ T5463] ? do_raw_spin_lock+0x12d/0x2c0 [ 151.250895][ T5463] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 151.256292][ T5463] hfsplus_bnode_find+0x2c8/0xcb0 [ 151.261329][ T5463] ? srso_alias_return_thunk+0x5/0xfbef5 [ 151.266982][ T5463] ? is_bpf_text_address+0x8a/0x1a0 [ 151.272189][ T5463] ? srso_alias_return_thunk+0x5/0xfbef5 [ 151.277843][ T5463] ? hlock_class+0x4e/0x130 [ 151.282369][ T5463] ? srso_alias_return_thunk+0x5/0xfbef5 [ 151.288020][ T5463] ? __pfx_hfsplus_bnode_find+0x10/0x10 [ 151.293576][ T5463] ? srso_alias_return_thunk+0x5/0xfbef5 [ 151.299229][ T5463] ? srso_alias_return_thunk+0x5/0xfbef5 [ 151.304879][ T5463] ? __module_address+0x55/0x3c0 [ 151.309831][ T5463] ? srso_alias_return_thunk+0x5/0xfbef5 [ 151.315482][ T5463] ? __pfx_mark_lock+0x10/0x10 [ 151.320263][ T5463] ? srso_alias_return_thunk+0x5/0xfbef5 [ 151.325914][ T5463] ? register_lock_class+0xb1/0x1230 [ 151.331211][ T5463] ? srso_alias_return_thunk+0x5/0xfbef5 [ 151.336862][ T5463] ? is_bpf_text_address+0x94/0x1a0 [ 151.342071][ T5463] ? srso_alias_return_thunk+0x5/0xfbef5 [ 151.347726][ T5463] hfsplus_brec_find+0x2b9/0x520 [ 151.352683][ T5463] ? __pfx_hfs_find_rec_by_key+0x10/0x10 [ 151.358332][ T5463] ? __pfx_hfsplus_brec_find+0x10/0x10 [ 151.363809][ T5463] ? hlock_class+0x4e/0x130 [ 151.368334][ T5463] ? srso_alias_return_thunk+0x5/0xfbef5 [ 151.373990][ T5463] ? __lock_acquire+0x14f4/0x3b30 [ 151.379030][ T5463] hfsplus_brec_read+0x2d/0x120 [ 151.383899][ T5463] hfsplus_find_cat+0x1e3/0x4d0 [ 151.388757][ T5463] ? __pfx_hfsplus_find_cat+0x10/0x10 [ 151.394135][ T5463] ? srso_alias_return_thunk+0x5/0xfbef5 [ 151.399820][ T5463] ? srso_alias_return_thunk+0x5/0xfbef5 [ 151.405470][ T5463] ? rcu_is_watching+0x12/0xc0 [ 151.410250][ T5463] ? srso_alias_return_thunk+0x5/0xfbef5 [ 151.415904][ T5463] ? trace_kmalloc+0x2d/0xe0 [ 151.420512][ T5463] ? srso_alias_return_thunk+0x5/0xfbef5 [ 151.426163][ T5463] ? __kmalloc_noprof+0x20b/0x410 [ 151.431214][ T5463] hfsplus_iget+0x3bd/0x7a0 [ 151.435745][ T5463] ? __pfx_hfsplus_iget+0x10/0x10 [ 151.440786][ T5463] ? const_folio_flags.constprop.0+0x56/0x150 [ 151.446878][ T5463] ? srso_alias_return_thunk+0x5/0xfbef5 [ 151.452616][ T5463] ? hfsplus_btree_open+0x6b8/0xda0 [ 151.457830][ T5463] hfsplus_fill_super+0xca8/0x1bc0 [ 151.462967][ T5463] ? __pfx_hfsplus_fill_super+0x10/0x10 [ 151.468560][ T5463] ? bdev_name.constprop.0+0xa5/0x350 [ 151.473957][ T5463] ? srso_alias_return_thunk+0x5/0xfbef5 [ 151.479641][ T5463] ? do_raw_spin_lock+0x12d/0x2c0 [ 151.484686][ T5463] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 151.490076][ T5463] ? srso_alias_return_thunk+0x5/0xfbef5 [ 151.495728][ T5463] ? set_blocksize+0x2c1/0x370 [ 151.500506][ T5463] ? srso_alias_return_thunk+0x5/0xfbef5 [ 151.506157][ T5463] ? sb_set_blocksize+0xf6/0x120 [ 151.511108][ T5463] ? srso_alias_return_thunk+0x5/0xfbef5 [ 151.516760][ T5463] ? setup_bdev_super+0x320/0x6e0 [ 151.521806][ T5463] ? __pfx_hfsplus_fill_super+0x10/0x10 [ 151.527373][ T5463] mount_bdev+0x1e6/0x2d0 [ 151.531728][ T5463] ? __pfx_mount_bdev+0x10/0x10 [ 151.536604][ T5463] ? srso_alias_return_thunk+0x5/0xfbef5 [ 151.542255][ T5463] ? apparmor_capable+0x126/0x1e0 [ 151.547305][ T5463] ? __pfx_hfsplus_mount+0x10/0x10 [ 151.552465][ T5463] legacy_get_tree+0x10c/0x220 [ 151.557247][ T5463] vfs_get_tree+0x92/0x380 [ 151.561684][ T5463] ? srso_alias_return_thunk+0x5/0xfbef5 [ 151.567336][ T5463] path_mount+0x14e6/0x1f20 [ 151.571868][ T5463] ? srso_alias_return_thunk+0x5/0xfbef5 [ 151.577516][ T5463] ? kmem_cache_free+0x12f/0x3a0 [ 151.582462][ T5463] ? __pfx_path_mount+0x10/0x10 [ 151.587342][ T5463] ? srso_alias_return_thunk+0x5/0xfbef5 [ 151.592996][ T5463] ? putname+0x12e/0x170 [ 151.597251][ T5463] __x64_sys_mount+0x297/0x320 [ 151.602038][ T5463] ? __pfx___x64_sys_mount+0x10/0x10 [ 151.607351][ T5463] ? srso_alias_return_thunk+0x5/0xfbef5 [ 151.613090][ T5463] ? srso_alias_return_thunk+0x5/0xfbef5 [ 151.618742][ T5463] ? _raw_spin_unlock_irq+0x2e/0x50 [ 151.623958][ T5463] ? srso_alias_return_thunk+0x5/0xfbef5 [ 151.629610][ T5463] ? ptrace_notify+0xf1/0x130 [ 151.634309][ T5463] do_syscall_64+0xcd/0x250 [ 151.638828][ T5463] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 151.644736][ T5463] RIP: 0033:0x7f844067169a [ 151.649158][ T5463] Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 5e 04 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 151.668775][ T5463] RSP: 002b:00007ffdf422cba8 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5 [ 151.677197][ T5463] RAX: ffffffffffffffda RBX: 00007ffdf422cbd0 RCX: 00007f844067169a [ 151.685172][ T5463] RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007ffdf422cbd0 [ 151.693152][ T5463] RBP: 00007ffdf422cc10 R08: 00007ffdf422cc10 R09: 0000000000000646 [ 151.701124][ T5463] R10: 000000000000005a R11: 0000000000000286 R12: 000000000000064c [ 151.709102][ T5463] R13: 0000000000000003 R14: 0000000000080000 R15: 000000000000064a [ 151.717089][ T5463] [pid 5097] umount2("./59/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] <... ioctl resumed>) = 0 [pid 5099] <... umount2 resumed>) = 0 [pid 5097] <... umount2 resumed>) = 0 [pid 5099] umount2("./58/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] newfstatat(AT_FDCWD, "./58/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] umount2("./58/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "./58/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 5099] getdents64(4, [pid 5103] close(3 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5099] getdents64(4, [pid 5103] <... close resumed>) = 0 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] close(4) = 0 [pid 5099] rmdir("./58/file1"./strace-static-x86_64: Process 5466 attached [pid 5463] <... mount resumed>) = -1 EIO (Input/output error) [pid 5099] <... rmdir resumed>) = 0 [pid 5098] <... ioctl resumed>) = 0 [pid 5097] umount2("./59/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5466 [pid 5466] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5466] chdir("./58" [pid 5097] newfstatat(AT_FDCWD, "./59/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5463] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5097] umount2("./59/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5466] <... chdir resumed>) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5463] ioctl(3, LOOP_CLR_FD [pid 5097] openat(AT_FDCWD, "./59/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5466] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5097] newfstatat(4, "", [pid 5101] <... ioctl resumed>) = 0 [pid 5099] getdents64(3, [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5466] <... prctl resumed>) = 0 [pid 5466] setpgid(0, 0) = 0 [pid 5466] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5097] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] getdents64(4, [pid 5466] write(3, "1000", 4 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5466] <... write resumed>) = 4 [pid 5097] close(4 [pid 5466] close(3 [pid 5097] <... close resumed>) = 0 [pid 5466] <... close resumed>) = 0 [pid 5097] rmdir("./59/file1" [pid 5466] symlink("/dev/binderfs", "./binderfs" [pid 5097] <... rmdir resumed>) = 0 [pid 5466] <... symlink resumed>) = 0 executing program [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] getdents64(3, [pid 5466] write(1, "executing program\n", 18 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5466] <... write resumed>) = 18 [pid 5097] close(3 [pid 5466] memfd_create("syzkaller", 0 [pid 5101] close(3 [pid 5099] close(3 [pid 5098] close(3 [pid 5097] <... close resumed>) = 0 [pid 5101] <... close resumed>) = 0 [pid 5466] <... memfd_create resumed>) = 3 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5099] <... close resumed>) = 0 [pid 5098] <... close resumed>) = 0 [pid 5097] rmdir("./59" [pid 5466] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5097] <... rmdir resumed>) = 0 [ 151.739707][ T5463] hfsplus: failed to load root directory [pid 5466] <... mmap resumed>) = 0x7f8438200000 [pid 5097] mkdir("./60", 0777 [pid 5466] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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("./58" [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5097] <... mkdir resumed>) = 0 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5099] <... rmdir resumed>) = 0 [pid 5099] mkdir("./59", 0777 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5468 [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5467 ./strace-static-x86_64: Process 5467 attached [pid 5467] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5467] chdir("./58" [pid 5099] <... mkdir resumed>) = 0 ./strace-static-x86_64: Process 5468 attached [pid 5467] <... chdir resumed>) = 0 [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5467] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5467] setpgid(0, 0 [pid 5468] set_robust_list(0x55556fbaa660, 24 [pid 5099] <... openat resumed>) = 3 [pid 5467] <... setpgid resumed>) = 0 [pid 5467] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5468] <... set_robust_list resumed>) = 0 [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5467] <... openat resumed>) = 3 [pid 5468] chdir("./59" [pid 5466] <... write resumed>) = 524288 [pid 5467] write(3, "1000", 4) = 4 [pid 5467] close(3) = 0 [pid 5467] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5467] write(1, "executing program\n", 18 [pid 5468] <... chdir resumed>) = 0 [pid 5463] <... ioctl resumed>) = 0 [pid 5467] <... write resumed>) = 18 [pid 5467] memfd_create("syzkaller", 0) = 3 [pid 5468] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5467] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5467] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5468] setpgid(0, 0) = 0 [pid 5466] munmap(0x7f8438200000, 138412032 [pid 5468] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5466] <... munmap resumed>) = 0 [pid 5097] <... ioctl resumed>) = 0 [pid 5467] <... write resumed>) = 524288 [pid 5468] <... openat resumed>) = 3 [pid 5466] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 5466] ioctl(4, LOOP_SET_FD, 3 [pid 5463] close(3 [pid 5468] write(3, "1000", 4 [pid 5463] <... close resumed>) = 0 [pid 5463] exit_group(0) = ? [pid 5468] <... write resumed>) = 4 [pid 5463] +++ exited with 0 +++ [pid 5468] close(3executing program ) = 0 [pid 5468] symlink("/dev/binderfs", "./binderfs" [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5463, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5100] umount2("./57", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5468] <... symlink resumed>) = 0 [pid 5097] close(3 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5468] write(1, "executing program\n", 18 [pid 5100] openat(AT_FDCWD, "./57", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5468] <... write resumed>) = 18 [pid 5097] <... close resumed>) = 0 [pid 5468] memfd_create("syzkaller", 0 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5100] <... openat resumed>) = 3 [pid 5468] <... memfd_create resumed>) = 3 [pid 5100] newfstatat(3, "", [pid 5468] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5468] <... mmap resumed>) = 0x7f8438200000 [pid 5467] munmap(0x7f8438200000, 138412032 [pid 5100] getdents64(3, [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5469 [pid 5467] <... munmap resumed>) = 0 ./strace-static-x86_64: Process 5469 attached [pid 5469] set_robust_list(0x55556fbaa660, 24 [pid 5467] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5469] <... set_robust_list resumed>) = 0 [pid 5469] chdir("./60" [pid 5467] <... openat resumed>) = 4 [pid 5468] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5469] <... chdir resumed>) = 0 [pid 5467] ioctl(4, LOOP_SET_FD, 3 [pid 5100] umount2("./57/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5469] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5466] <... ioctl resumed>) = 0 [pid 5466] close(3 [pid 5469] <... prctl resumed>) = 0 [pid 5466] <... close resumed>) = 0 [pid 5469] setpgid(0, 0 [pid 5466] close(4 [pid 5469] <... setpgid resumed>) = 0 [pid 5469] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5466] <... close resumed>) = 0 [pid 5100] newfstatat(AT_FDCWD, "./57/binderfs", [pid 5469] <... openat resumed>) = 3 [pid 5466] mkdir("./file1", 0777) = 0 [pid 5469] write(3, "1000", 4 [pid 5466] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] unlink("./57/binderfs" [pid 5099] <... ioctl resumed>) = 0 [pid 5469] <... write resumed>) = 4 [pid 5469] close(3) = 0 [pid 5469] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5100] <... unlink resumed>) = 0 [pid 5099] close(3) = 0 [pid 5100] umount2("./57/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLDexecuting program [pid 5469] write(1, "executing program\n", 18) = 18 [pid 5469] memfd_create("syzkaller", 0) = 3 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5469] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] newfstatat(AT_FDCWD, "./57/file1", [pid 5469] <... mmap resumed>) = 0x7f8438200000 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] umount2("./57/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5100] openat(AT_FDCWD, "./57/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5100] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] getdents64(4, [pid 5469] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5467] <... ioctl resumed>) = 0 [pid 5100] getdents64(4, [pid 5467] close(3 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5467] <... close resumed>) = 0 [pid 5467] close(4) = 0 [pid 5467] mkdir("./file1", 0777 [pid 5469] <... write resumed>) = 524288 [pid 5467] <... mkdir resumed>) = 0 [pid 5468] <... write resumed>) = 524288 [pid 5466] <... mount resumed>) = 0 [pid 5100] close(4./strace-static-x86_64: Process 5470 attached [pid 5466] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5470] set_robust_list(0x55556fbaa660, 24 [pid 5466] <... openat resumed>) = 3 [pid 5470] <... set_robust_list resumed>) = 0 [pid 5466] chdir("./file1" [pid 5470] chdir("./59" [pid 5466] <... chdir resumed>) = 0 [pid 5466] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5470] <... chdir resumed>) = 0 [pid 5466] truncate("./file1", 0 [pid 5470] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5470] setpgid(0, 0 [pid 5467] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5470] <... setpgid resumed>) = 0 [ 151.859083][ T5466] loop5: detected capacity change from 0 to 1024 [ 151.887909][ T5467] loop4: detected capacity change from 0 to 1024 [pid 5470] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5469] munmap(0x7f8438200000, 138412032 [pid 5468] munmap(0x7f8438200000, 138412032 [pid 5100] <... close resumed>) = 0 [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5470 [pid 5470] <... openat resumed>) = 3 [pid 5100] rmdir("./57/file1" [pid 5466] <... truncate resumed>) = 0 [pid 5466] memfd_create("syzkaller", 0) = 4 [pid 5100] <... rmdir resumed>) = 0 [pid 5470] write(3, "1000", 4 [pid 5469] <... munmap resumed>) = 0 [pid 5466] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] getdents64(3, [pid 5466] <... mmap resumed>) = 0x7f8438200000 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5470] <... write resumed>) = 4 [pid 5469] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5468] <... munmap resumed>) = 0 [pid 5466] 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(3 [pid 5468] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5470] close(3 [pid 5469] <... openat resumed>) = 4 [pid 5467] <... mount resumed>) = 0 [pid 5100] <... close resumed>) = 0 [pid 5470] <... close resumed>) = 0 [pid 5467] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5468] <... openat resumed>) = 4 [pid 5100] rmdir("./57" [pid 5470] symlink("/dev/binderfs", "./binderfs" [pid 5469] ioctl(4, LOOP_SET_FD, 3 [pid 5467] <... openat resumed>) = 3 executing program [pid 5468] ioctl(4, LOOP_SET_FD, 3 [pid 5466] <... write resumed>) = 524288 [pid 5100] <... rmdir resumed>) = 0 [pid 5470] <... symlink resumed>) = 0 [pid 5467] chdir("./file1" [pid 5470] write(1, "executing program\n", 18 [pid 5467] <... chdir resumed>) = 0 [pid 5100] mkdir("./58", 0777 [pid 5470] <... write resumed>) = 18 [pid 5467] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5470] memfd_create("syzkaller", 0 [pid 5467] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5470] <... memfd_create resumed>) = 3 [pid 5467] truncate("./file1", 0 [pid 5470] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5470] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 resumed>) = 0 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5467] <... truncate resumed>) = 0 [pid 5467] memfd_create("syzkaller", 0) = 4 [pid 5467] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5466] munmap(0x7f8438200000, 138412032 [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5466] <... munmap resumed>) = 0 [pid 5469] <... ioctl resumed>) = 0 [pid 5100] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5469] close(3 [pid 5100] close(3 [pid 5469] <... close resumed>) = 0 [pid 5469] close(4 [pid 5100] <... close resumed>) = 0 [pid 5469] <... close resumed>) = 0 [pid 5468] <... ioctl resumed>) = 0 [pid 5466] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5469] mkdir("./file1", 0777 [pid 5468] close(3 [pid 5466] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5466] close(4 [pid 5469] <... mkdir resumed>) = 0 [pid 5468] <... close resumed>) = 0 [pid 5468] close(4) = 0 [pid 5468] mkdir("./file1", 0777 [pid 5469] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5467] 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 5468] <... mkdir resumed>) = 0 [pid 5468] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5471 ./strace-static-x86_64: Process 5471 attached [pid 5471] set_robust_list(0x55556fbaa660, 24 [pid 5466] <... close resumed>) = 0 [pid 5471] <... set_robust_list resumed>) = 0 [pid 5471] chdir("./58" [pid 5470] <... write resumed>) = 524288 [pid 5471] <... chdir resumed>) = 0 [ 151.973824][ T5468] loop1: detected capacity change from 0 to 1024 [ 151.983682][ T5469] loop0: detected capacity change from 0 to 1024 [pid 5471] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5471] setpgid(0, 0) = 0 [pid 5471] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5471] write(3, "1000", 4 [pid 5470] munmap(0x7f8438200000, 138412032 [pid 5466] exit_group(0 [pid 5471] <... write resumed>) = 4 [pid 5470] <... munmap resumed>) = 0 [pid 5466] <... exit_group resumed>) = ? [pid 5471] close(3 [pid 5466] +++ exited with 0 +++ [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5466, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5471] <... close resumed>) = 0 [pid 5471] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5470] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5471] write(1, "executing program\n", 18 [pid 5470] <... openat resumed>) = 4 [pid 5103] umount2("./58", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5471] <... write resumed>) = 18 [pid 5470] ioctl(4, LOOP_SET_FD, 3 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5471] memfd_create("syzkaller", 0 [pid 5467] <... write resumed>) = 524288 [pid 5467] munmap(0x7f8438200000, 138412032 [pid 5103] openat(AT_FDCWD, "./58", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5467] <... munmap resumed>) = 0 [pid 5103] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] getdents64(3, [pid 5471] <... memfd_create resumed>) = 3 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5471] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5467] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5103] umount2("./58/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5467] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5467] close(4 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] newfstatat(AT_FDCWD, "./58/binderfs", [pid 5471] <... mmap resumed>) = 0x7f8438200000 [pid 5467] <... close resumed>) = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5471] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5470] <... ioctl resumed>) = 0 [pid 5469] <... mount resumed>) = 0 [pid 5467] exit_group(0 [pid 5468] <... mount resumed>) = 0 [pid 5103] unlink("./58/binderfs" [pid 5468] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5469] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5103] <... unlink resumed>) = 0 [pid 5469] <... openat resumed>) = 3 [pid 5468] <... openat resumed>) = 3 [pid 5103] umount2("./58/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5469] chdir("./file1" [pid 5468] chdir("./file1" [pid 5469] <... chdir resumed>) = 0 [pid 5468] <... chdir resumed>) = 0 [pid 5469] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5468] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5470] close(3) = 0 [pid 5469] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5467] <... exit_group resumed>) = ? [pid 5468] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5470] close(4 [pid 5469] truncate("./file1", 0 [pid 5468] truncate("./file1", 0 [pid 5467] +++ exited with 0 +++ [pid 5470] <... close resumed>) = 0 [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5467, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5470] mkdir("./file1", 0777 [pid 5101] restart_syscall(<... resuming interrupted clone ...> [pid 5471] <... write resumed>) = 524288 [pid 5470] <... mkdir resumed>) = 0 [pid 5468] <... truncate resumed>) = 0 [pid 5468] memfd_create("syzkaller", 0) = 4 [pid 5468] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5468] 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 resumed>) = 0 [pid 5101] <... restart_syscall resumed>) = 0 [pid 5470] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5469] <... truncate resumed>) = 0 [ 152.049805][ T5470] loop2: detected capacity change from 0 to 1024 [pid 5469] memfd_create("syzkaller", 0 [pid 5101] umount2("./58", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] openat(AT_FDCWD, "./58", 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, [pid 5471] munmap(0x7f8438200000, 138412032 [pid 5470] <... mount resumed>) = 0 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5469] <... memfd_create resumed>) = 4 [pid 5470] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5471] <... munmap resumed>) = 0 [pid 5470] <... openat resumed>) = 3 [pid 5469] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] umount2("./58/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] umount2("./58/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5469] <... mmap resumed>) = 0x7f8438200000 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5469] 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(AT_FDCWD, "./58/binderfs", [pid 5471] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5470] chdir("./file1" [pid 5469] <... write resumed>) = 524288 [pid 5468] <... write resumed>) = 524288 [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 5471] <... openat resumed>) = 4 [pid 5470] <... chdir resumed>) = 0 [pid 5103] newfstatat(AT_FDCWD, "./58/file1", [pid 5101] unlink("./58/binderfs" [pid 5471] ioctl(4, LOOP_SET_FD, 3 [pid 5470] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] <... unlink resumed>) = 0 [pid 5470] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] umount2("./58/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5468] munmap(0x7f8438200000, 138412032) = 0 [pid 5468] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5468] close(4 [pid 5470] truncate("./file1", 0 [pid 5103] umount2("./58/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5469] munmap(0x7f8438200000, 138412032 [pid 5103] openat(AT_FDCWD, "./58/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5470] <... truncate resumed>) = 0 [pid 5469] <... munmap resumed>) = 0 [pid 5103] newfstatat(4, "", [pid 5470] memfd_create("syzkaller", 0 [pid 5469] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5471] <... ioctl resumed>) = 0 [pid 5470] <... memfd_create resumed>) = 4 [pid 5469] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] getdents64(4, [pid 5101] <... umount2 resumed>) = 0 [pid 5471] close(3 [pid 5470] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5471] <... close resumed>) = 0 [pid 5470] <... mmap resumed>) = 0x7f8438200000 [pid 5103] getdents64(4, [pid 5471] close(4 [pid 5470] 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 5469] close(4 [pid 5468] <... close resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5101] umount2("./58/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] close(4) = 0 [pid 5103] rmdir("./58/file1") = 0 [pid 5103] getdents64(3, [pid 5471] <... close resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5103] close(3 [pid 5471] mkdir("./file1", 0777 [pid 5103] <... close resumed>) = 0 [pid 5103] rmdir("./58") = 0 [pid 5103] mkdir("./59", 0777 [pid 5471] <... mkdir resumed>) = 0 [pid 5103] <... mkdir resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5468] exit_group(0 [pid 5101] newfstatat(AT_FDCWD, "./58/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5468] <... exit_group resumed>) = ? [pid 5468] +++ exited with 0 +++ [pid 5101] umount2("./58/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5468, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5471] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] umount2("./59", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] openat(AT_FDCWD, "./58/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./59", 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, [pid 5469] <... close resumed>) = 0 [pid 5101] newfstatat(4, "", [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] umount2("./59/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [ 152.153266][ T5471] loop3: detected capacity change from 0 to 1024 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] getdents64(4, [pid 5098] newfstatat(AT_FDCWD, "./59/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5470] <... write resumed>) = 524288 [pid 5471] <... mount resumed>) = 0 [pid 5469] exit_group(0 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] unlink("./59/binderfs" [pid 5470] munmap(0x7f8438200000, 138412032 [pid 5098] <... unlink resumed>) = 0 [pid 5471] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5469] <... exit_group resumed>) = ? [pid 5471] <... openat resumed>) = 3 [pid 5469] +++ exited with 0 +++ [pid 5101] getdents64(4, [pid 5098] umount2("./59/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5470] <... munmap resumed>) = 0 [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5469, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5097] umount2("./60", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5471] chdir("./file1" [pid 5101] close(4 [pid 5097] openat(AT_FDCWD, "./60", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5471] <... chdir resumed>) = 0 [pid 5101] <... close resumed>) = 0 [pid 5097] <... openat resumed>) = 3 [pid 5471] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5470] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5101] rmdir("./58/file1" [pid 5097] newfstatat(3, "", [pid 5471] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5470] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] <... rmdir resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5471] truncate("./file1", 0 [pid 5097] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5097] umount2("./60/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5470] close(4 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(AT_FDCWD, "./60/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] unlink("./60/binderfs") = 0 [pid 5097] umount2("./60/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] getdents64(3, [pid 5098] <... umount2 resumed>) = 0 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] umount2("./59/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5470] <... close resumed>) = 0 [pid 5101] close(3 [pid 5098] newfstatat(AT_FDCWD, "./59/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] <... close resumed>) = 0 [pid 5098] umount2("./59/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] rmdir("./58" [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5471] <... truncate resumed>) = 0 [pid 5471] memfd_create("syzkaller", 0 [pid 5098] openat(AT_FDCWD, "./59/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5471] <... memfd_create resumed>) = 4 [pid 5471] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5098] <... openat resumed>) = 4 [pid 5471] <... mmap resumed>) = 0x7f8438200000 [pid 5471] 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 5098] newfstatat(4, "", [pid 5101] mkdir("./59", 0777 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] getdents64(4, [pid 5101] <... mkdir resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] <... umount2 resumed>) = 0 [pid 5098] getdents64(4, [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] umount2("./60/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] close(4) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] rmdir("./59/file1" [pid 5103] <... ioctl resumed>) = 0 [pid 5471] <... write resumed>) = 524288 [pid 5470] exit_group(0 [pid 5101] <... openat resumed>) = 3 [pid 5098] <... rmdir resumed>) = 0 [pid 5097] newfstatat(AT_FDCWD, "./60/file1", [pid 5103] close(3) = 0 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5472 attached [pid 5471] munmap(0x7f8438200000, 138412032 [pid 5470] <... exit_group resumed>) = ? [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5098] getdents64(3, [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5472] set_robust_list(0x55556fbaa660, 24 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5472 [pid 5472] <... set_robust_list resumed>) = 0 [pid 5470] +++ exited with 0 +++ [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] umount2("./60/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5472] chdir("./59") = 0 [pid 5472] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5472] setpgid(0, 0) = 0 [pid 5472] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5472] write(3, "1000", 4) = 4 [pid 5471] <... munmap resumed>) = 0 [pid 5472] close(3 [pid 5471] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5472] <... close resumed>) = 0 [pid 5471] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5470, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5472] symlink("/dev/binderfs", "./binderfs" [pid 5471] close(4executing program [pid 5472] <... symlink resumed>) = 0 [pid 5098] close(3 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5472] write(1, "executing program\n", 18) = 18 [pid 5098] <... close resumed>) = 0 [pid 5097] openat(AT_FDCWD, "./60/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5472] memfd_create("syzkaller", 0 [pid 5098] rmdir("./59" [pid 5472] <... memfd_create resumed>) = 3 [pid 5097] <... openat resumed>) = 4 [pid 5472] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5098] <... rmdir resumed>) = 0 [pid 5097] newfstatat(4, "", [pid 5098] mkdir("./60", 0777 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] umount2("./59", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... mkdir resumed>) = 0 [pid 5097] getdents64(4, [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5099] openat(AT_FDCWD, "./59", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5097] getdents64(4, [pid 5472] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5471] <... close resumed>) = 0 [pid 5099] <... openat resumed>) = 3 [pid 5098] <... openat resumed>) = 3 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] newfstatat(3, "", [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5097] close(4) = 0 [pid 5097] rmdir("./60/file1" [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] <... rmdir resumed>) = 0 [pid 5099] getdents64(3, [pid 5097] getdents64(3, [pid 5471] exit_group(0 [pid 5472] <... write resumed>) = 524288 [pid 5471] <... exit_group resumed>) = ? [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5099] umount2("./59/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] close(3 [pid 5471] +++ exited with 0 +++ [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] newfstatat(AT_FDCWD, "./59/binderfs", [pid 5097] <... close resumed>) = 0 [pid 5472] munmap(0x7f8438200000, 138412032 [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] rmdir("./60" [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5471, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5099] unlink("./59/binderfs" [pid 5472] <... munmap resumed>) = 0 [pid 5097] <... rmdir resumed>) = 0 [pid 5100] umount2("./58", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... unlink resumed>) = 0 [pid 5097] mkdir("./61", 0777 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] umount2("./59/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... mkdir resumed>) = 0 [pid 5472] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5100] openat(AT_FDCWD, "./58", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5100] <... openat resumed>) = 3 [pid 5097] <... openat resumed>) = 3 [pid 5100] newfstatat(3, "", [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5472] <... openat resumed>) = 4 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5472] ioctl(4, LOOP_SET_FD, 3 [pid 5100] getdents64(3, [pid 5099] <... umount2 resumed>) = 0 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] <... ioctl resumed>) = 0 [pid 5472] <... ioctl resumed>) = 0 [pid 5100] umount2("./58/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5472] close(3 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... ioctl resumed>) = 0 [pid 5472] <... close resumed>) = 0 [pid 5100] newfstatat(AT_FDCWD, "./58/binderfs", [pid 5472] close(4) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5472] mkdir("./file1", 0777 [pid 5100] unlink("./58/binderfs" [pid 5099] umount2("./59/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5472] <... mkdir resumed>) = 0 [pid 5101] <... ioctl resumed>) = 0 [pid 5100] <... unlink resumed>) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] close(3 [pid 5100] umount2("./58/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] newfstatat(AT_FDCWD, "./59/file1", [pid 5101] <... close resumed>) = 0 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] umount2("./59/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5473 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "./59/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY./strace-static-x86_64: Process 5473 attached [pid 5473] set_robust_list(0x55556fbaa660, 24 [pid 5472] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5099] <... openat resumed>) = 4 [pid 5473] <... set_robust_list resumed>) = 0 [pid 5099] newfstatat(4, "", [pid 5473] chdir("./59" [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] close(3) = 0 [ 152.338040][ T5472] loop5: detected capacity change from 0 to 1024 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5100] <... umount2 resumed>) = 0 [pid 5099] getdents64(4, ./strace-static-x86_64: Process 5474 attached [pid 5473] <... chdir resumed>) = 0 [pid 5097] close(3 [pid 5474] set_robust_list(0x55556fbaa660, 24 [pid 5473] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5100] umount2("./58/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5474 [pid 5097] <... close resumed>) = 0 [pid 5474] <... set_robust_list resumed>) = 0 [pid 5473] <... prctl resumed>) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5474] chdir("./60" [pid 5473] setpgid(0, 0 [pid 5100] newfstatat(AT_FDCWD, "./58/file1", [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5474] <... chdir resumed>) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5474] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5473] <... setpgid resumed>) = 0 [pid 5100] umount2("./58/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] getdents64(4, [pid 5474] <... prctl resumed>) = 0 [pid 5473] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5474] setpgid(0, 0 [pid 5100] openat(AT_FDCWD, "./58/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5474] <... setpgid resumed>) = 0 [pid 5099] close(4 [pid 5474] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5100] <... openat resumed>) = 4 [pid 5474] <... openat resumed>) = 3 [pid 5473] <... openat resumed>) = 3 [pid 5100] newfstatat(4, "", [pid 5099] <... close resumed>) = 0 [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5475 [pid 5474] write(3, "1000", 4 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] rmdir("./59/file1" [pid 5474] <... write resumed>) = 4 [pid 5100] getdents64(4, [pid 5474] close(3 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5474] <... close resumed>) = 0 [pid 5100] getdents64(4, [pid 5099] <... rmdir resumed>) = 0 ./strace-static-x86_64: Process 5475 attached [pid 5474] symlink("/dev/binderfs", "./binderfs"executing program [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] getdents64(3, [pid 5475] set_robust_list(0x55556fbaa660, 24 [pid 5474] <... symlink resumed>) = 0 [pid 5100] close(4 [pid 5475] <... set_robust_list resumed>) = 0 [pid 5474] write(1, "executing program\n", 18 [pid 5100] <... close resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5475] chdir("./61" [pid 5474] <... write resumed>) = 18 [pid 5473] write(3, "1000", 4 [pid 5100] rmdir("./58/file1" [pid 5099] close(3 [pid 5475] <... chdir resumed>) = 0 [pid 5474] memfd_create("syzkaller", 0 [pid 5473] <... write resumed>) = 4 [pid 5100] <... rmdir resumed>) = 0 [pid 5475] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5474] <... memfd_create resumed>) = 3 [pid 5100] getdents64(3, [pid 5099] <... close resumed>) = 0 [pid 5475] <... prctl resumed>) = 0 [pid 5474] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5473] close(3 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5099] rmdir("./59" [pid 5475] setpgid(0, 0 [pid 5474] <... mmap resumed>) = 0x7f8438200000 [pid 5100] close(3 [pid 5475] <... setpgid resumed>) = 0 [pid 5473] <... close resumed>) = 0 [pid 5100] <... close resumed>) = 0 [pid 5099] <... rmdir resumed>) = 0 [pid 5475] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5473] symlink("/dev/binderfs", "./binderfs" [pid 5100] rmdir("./58" [pid 5099] mkdir("./60", 0777 [pid 5475] <... openat resumed>) = 3 [pid 5100] <... rmdir resumed>) = 0 [pid 5099] <... mkdir resumed>) = 0 [pid 5475] write(3, "1000", 4 [pid 5100] mkdir("./59", 0777 [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5475] <... write resumed>) = 4 [pid 5474] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 resumed>) = 0 [pid 5475] close(3 [pid 5099] <... openat resumed>) = 3 [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5475] <... close resumed>) = 0 [pid 5472] <... mount resumed>) = 0 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5473] <... symlink resumed>) = 0 [pid 5100] <... openat resumed>) = 3 [pid 5475] symlink("/dev/binderfs", "./binderfs" [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5475] <... symlink resumed>) = 0 [pid 5475] write(1, "executing program\n", 18executing program executing program ) = 18 [pid 5472] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5475] memfd_create("syzkaller", 0 [pid 5472] <... openat resumed>) = 3 [pid 5473] write(1, "executing program\n", 18) = 18 [pid 5472] chdir("./file1" [pid 5475] <... memfd_create resumed>) = 3 [pid 5472] <... chdir resumed>) = 0 [pid 5475] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5472] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5473] memfd_create("syzkaller", 0 [pid 5472] truncate("./file1", 0 [pid 5100] <... ioctl resumed>) = 0 [pid 5474] <... write resumed>) = 524288 [pid 5473] <... memfd_create resumed>) = 3 [pid 5473] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5475] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5474] munmap(0x7f8438200000, 138412032 [pid 5473] <... mmap resumed>) = 0x7f8438200000 [pid 5100] close(3 [pid 5475] <... write resumed>) = 524288 [pid 5474] <... munmap resumed>) = 0 [pid 5473] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5472] <... truncate resumed>) = 0 [pid 5099] <... ioctl resumed>) = 0 [pid 5472] memfd_create("syzkaller", 0 [pid 5474] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5100] <... close resumed>) = 0 [pid 5474] <... openat resumed>) = 4 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5474] ioctl(4, LOOP_SET_FD, 3 [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5476 [pid 5475] munmap(0x7f8438200000, 138412032) = 0 ./strace-static-x86_64: Process 5476 attached [pid 5476] set_robust_list(0x55556fbaa660, 24 [pid 5472] <... memfd_create resumed>) = 4 [pid 5476] <... set_robust_list resumed>) = 0 [pid 5476] chdir("./59") = 0 [pid 5475] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5476] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5475] <... openat resumed>) = 4 [pid 5476] <... prctl resumed>) = 0 [pid 5475] ioctl(4, LOOP_SET_FD, 3 [pid 5472] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5476] setpgid(0, 0 [pid 5472] <... mmap resumed>) = 0x7f8438200000 [pid 5099] close(3 [pid 5476] <... setpgid resumed>) = 0 [pid 5476] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5472] 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 resumed>) = 0 [pid 5476] write(3, "1000", 4 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5476] <... write resumed>) = 4 [pid 5476] close(3) = 0 [pid 5476] symlink("/dev/binderfs", "./binderfs") = 0 ./strace-static-x86_64: Process 5477 attached [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5477 [pid 5474] <... ioctl resumed>) = 0 [pid 5477] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5476] write(1, "executing program\n", 18 [pid 5474] close(3 [pid 5473] <... write resumed>) = 524288 executing program [pid 5477] chdir("./60" [pid 5476] <... write resumed>) = 18 [pid 5474] <... close resumed>) = 0 [pid 5473] munmap(0x7f8438200000, 138412032 [pid 5477] <... chdir resumed>) = 0 [pid 5474] close(4 [pid 5477] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5474] <... close resumed>) = 0 [pid 5474] mkdir("./file1", 0777 [pid 5477] <... prctl resumed>) = 0 [pid 5474] <... mkdir resumed>) = 0 [pid 5473] <... munmap resumed>) = 0 [pid 5477] setpgid(0, 0) = 0 [pid 5476] memfd_create("syzkaller", 0 [pid 5477] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5476] <... memfd_create resumed>) = 3 [pid 5474] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5477] <... openat resumed>) = 3 [pid 5476] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5473] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5472] <... write resumed>) = 524288 [pid 5477] write(3, "1000", 4 [pid 5476] <... mmap resumed>) = 0x7f8438200000 [pid 5473] <... openat resumed>) = 4 [pid 5472] munmap(0x7f8438200000, 138412032 [pid 5476] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5472] <... munmap resumed>) = 0 [pid 5477] <... write resumed>) = 4 [pid 5473] ioctl(4, LOOP_SET_FD, 3 [ 152.498060][ T5474] loop1: detected capacity change from 0 to 1024 [ 152.528269][ T5475] loop0: detected capacity change from 0 to 1024 [pid 5477] close(3 [pid 5474] <... mount resumed>) = 0 [pid 5474] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5474] chdir("./file1") = 0 [pid 5474] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5477] <... close resumed>) = 0 [pid 5477] symlink("/dev/binderfs", "./binderfs" [pid 5475] <... ioctl resumed>) = 0 [pid 5472] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5477] <... symlink resumed>) = 0 [pid 5475] close(3 [pid 5474] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5472] <... openat resumed>) = -1 EBUSY (Device or resource busy) executing program [pid 5477] write(1, "executing program\n", 18 [pid 5476] <... write resumed>) = 524288 [pid 5475] <... close resumed>) = 0 [pid 5474] truncate("./file1", 0 [pid 5473] <... ioctl resumed>) = 0 [pid 5472] close(4 [pid 5477] <... write resumed>) = 18 [pid 5473] close(3 [pid 5475] close(4) = 0 [pid 5475] mkdir("./file1", 0777 [pid 5477] memfd_create("syzkaller", 0 [pid 5475] <... mkdir resumed>) = 0 [pid 5473] <... close resumed>) = 0 [pid 5477] <... memfd_create resumed>) = 3 [pid 5473] close(4 [pid 5477] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5473] <... close resumed>) = 0 [pid 5477] <... mmap resumed>) = 0x7f8438200000 [pid 5473] mkdir("./file1", 0777 [pid 5475] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5473] <... mkdir resumed>) = 0 [pid 5473] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5474] <... truncate resumed>) = 0 [pid 5474] memfd_create("syzkaller", 0) = 4 [pid 5474] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5474] 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 5473] <... mount resumed>) = 0 [pid 5473] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5477] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5473] <... openat resumed>) = 3 [pid 5473] chdir("./file1") = 0 [pid 5473] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5472] <... close resumed>) = 0 [pid 5476] munmap(0x7f8438200000, 138412032 [pid 5473] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5476] <... munmap resumed>) = 0 [pid 5473] truncate("./file1", 0 [pid 5472] exit_group(0 [pid 5477] <... write resumed>) = 524288 [pid 5472] <... exit_group resumed>) = ? [ 152.551913][ T5473] loop4: detected capacity change from 0 to 1024 [pid 5476] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5475] <... mount resumed>) = 0 [pid 5475] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5475] chdir("./file1") = 0 [pid 5475] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5476] ioctl(4, LOOP_SET_FD, 3 [pid 5475] truncate("./file1", 0 [pid 5472] +++ exited with 0 +++ [pid 5474] <... write resumed>) = 524288 [pid 5473] <... truncate resumed>) = 0 [pid 5477] munmap(0x7f8438200000, 138412032 [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5472, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5473] memfd_create("syzkaller", 0 [pid 5475] <... truncate resumed>) = 0 [pid 5473] <... memfd_create resumed>) = 4 [pid 5103] umount2("./59", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5473] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5475] memfd_create("syzkaller", 0 [pid 5473] <... mmap resumed>) = 0x7f8438200000 [pid 5477] <... munmap resumed>) = 0 [pid 5475] <... memfd_create resumed>) = 4 [pid 5475] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5475] 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 5474] munmap(0x7f8438200000, 138412032 [pid 5103] openat(AT_FDCWD, "./59", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5477] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5474] <... munmap resumed>) = 0 [pid 5473] 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 5477] <... openat resumed>) = 4 [pid 5103] <... openat resumed>) = 3 [pid 5477] ioctl(4, LOOP_SET_FD, 3 [pid 5103] newfstatat(3, "", [pid 5474] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5476] <... ioctl resumed>) = 0 [pid 5474] close(4 [pid 5476] close(3 [pid 5475] <... write resumed>) = 524288 [pid 5476] <... close resumed>) = 0 [pid 5476] close(4 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5476] <... close resumed>) = 0 [pid 5476] mkdir("./file1", 0777) = 0 [pid 5103] getdents64(3, [pid 5476] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5103] umount2("./59/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5103] newfstatat(AT_FDCWD, "./59/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] unlink("./59/binderfs") = 0 [pid 5476] <... mount resumed>) = 0 [pid 5473] <... write resumed>) = 524288 [pid 5473] munmap(0x7f8438200000, 138412032 [pid 5476] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5476] chdir("./file1" [pid 5103] umount2("./59/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5473] <... munmap resumed>) = 0 [pid 5476] <... chdir resumed>) = 0 [pid 5477] <... ioctl resumed>) = 0 [pid 5476] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5477] close(3 [pid 5476] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5476] truncate("./file1", 0 [pid 5475] munmap(0x7f8438200000, 138412032 [pid 5477] <... close resumed>) = 0 [pid 5475] <... munmap resumed>) = 0 [pid 5477] close(4) = 0 [pid 5477] mkdir("./file1", 0777 [pid 5474] <... close resumed>) = 0 [pid 5473] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5477] <... mkdir resumed>) = 0 [pid 5475] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5474] exit_group(0 [pid 5473] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5475] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5474] <... exit_group resumed>) = ? [pid 5476] <... truncate resumed>) = 0 [pid 5475] close(4 [pid 5473] close(4 [ 152.618463][ T5476] loop3: detected capacity change from 0 to 1024 [ 152.640650][ T5477] loop2: detected capacity change from 0 to 1024 [pid 5476] memfd_create("syzkaller", 0) = 4 [pid 5477] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5475] <... close resumed>) = 0 [pid 5474] +++ exited with 0 +++ [pid 5473] <... close resumed>) = 0 [pid 5103] <... umount2 resumed>) = 0 [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5474, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5098] umount2("./60", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./60", 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("./60/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./60/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] unlink("./60/binderfs") = 0 [pid 5098] umount2("./60/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5476] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5103] umount2("./59/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5476] 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 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] newfstatat(AT_FDCWD, "./59/file1", [pid 5477] <... mount resumed>) = 0 [pid 5475] exit_group(0 [pid 5473] exit_group(0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5477] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5103] umount2("./59/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5473] <... exit_group resumed>) = ? [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5475] <... exit_group resumed>) = ? [pid 5103] openat(AT_FDCWD, "./59/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5477] <... openat resumed>) = 3 [pid 5475] +++ exited with 0 +++ [pid 5473] +++ exited with 0 +++ [pid 5103] <... openat resumed>) = 4 [pid 5098] <... umount2 resumed>) = 0 [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5473, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5103] newfstatat(4, "", [pid 5477] chdir("./file1") = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5477] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5103] getdents64(4, [pid 5101] umount2("./59", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5477] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5477] truncate("./file1", 0 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5475, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5101] openat(AT_FDCWD, "./59", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5103] getdents64(4, [pid 5101] <... openat resumed>) = 3 [pid 5097] umount2("./61", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] openat(AT_FDCWD, "./61", 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("./61/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5101] newfstatat(3, "", [pid 5097] newfstatat(AT_FDCWD, "./61/binderfs", [pid 5103] close(4 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] <... close resumed>) = 0 [pid 5101] getdents64(3, [pid 5098] umount2("./60/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] unlink("./61/binderfs" [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... unlink resumed>) = 0 [pid 5103] rmdir("./59/file1" [pid 5101] umount2("./59/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] newfstatat(AT_FDCWD, "./60/file1", [pid 5097] umount2("./61/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] <... rmdir resumed>) = 0 [pid 5476] <... write resumed>) = 524288 [pid 5103] getdents64(3, [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] umount2("./60/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] close(3 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] <... close resumed>) = 0 [pid 5098] openat(AT_FDCWD, "./60/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5103] rmdir("./59" [pid 5098] <... openat resumed>) = 4 [pid 5098] newfstatat(4, "", [pid 5101] newfstatat(AT_FDCWD, "./59/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 5103] <... rmdir resumed>) = 0 [pid 5098] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5101] unlink("./59/binderfs" [pid 5477] <... truncate resumed>) = 0 [pid 5101] <... unlink resumed>) = 0 [pid 5098] getdents64(4, [pid 5477] memfd_create("syzkaller", 0 [pid 5103] mkdir("./60", 0777 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] close(4) = 0 [pid 5103] <... mkdir resumed>) = 0 [pid 5098] rmdir("./60/file1" [pid 5477] <... memfd_create resumed>) = 4 [pid 5101] umount2("./59/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... rmdir resumed>) = 0 [pid 5477] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5476] munmap(0x7f8438200000, 138412032 [pid 5097] <... umount2 resumed>) = 0 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5477] <... mmap resumed>) = 0x7f8438200000 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5476] <... munmap resumed>) = 0 [pid 5097] umount2("./61/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] getdents64(3, [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(AT_FDCWD, "./61/file1", [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] close(3) = 0 [pid 5476] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5098] rmdir("./60" [pid 5477] 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 5476] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] <... umount2 resumed>) = 0 [pid 5098] <... rmdir resumed>) = 0 [pid 5097] umount2("./61/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5476] close(4 [pid 5097] openat(AT_FDCWD, "./61/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] mkdir("./61", 0777) = 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 5101] umount2("./59/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] getdents64(4, [pid 5101] newfstatat(AT_FDCWD, "./59/file1", [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] close(4 [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] <... openat resumed>) = 3 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5101] umount2("./59/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... close resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] rmdir("./61/file1" [pid 5101] openat(AT_FDCWD, "./59/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5476] <... close resumed>) = 0 [pid 5101] <... openat resumed>) = 4 [pid 5097] <... rmdir resumed>) = 0 [pid 5476] exit_group(0 [pid 5477] <... write resumed>) = 524288 [pid 5101] newfstatat(4, "", [pid 5097] getdents64(3, [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5101] getdents64(4, [pid 5097] close(3 [pid 5477] munmap(0x7f8438200000, 138412032 [pid 5097] <... close resumed>) = 0 [pid 5097] rmdir("./61" [pid 5477] <... munmap resumed>) = 0 [pid 5477] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5476] <... exit_group resumed>) = ? [pid 5477] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5477] close(4 [pid 5476] +++ exited with 0 +++ [pid 5103] <... ioctl resumed>) = 0 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] <... ioctl resumed>) = 0 [pid 5097] <... rmdir resumed>) = 0 [pid 5103] close(3 [pid 5101] getdents64(4, [pid 5103] <... close resumed>) = 0 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5476, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5097] mkdir("./62", 0777 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5101] close(4) = 0 [pid 5100] umount2("./59", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] rmdir("./59/file1" [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] openat(AT_FDCWD, "./59", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5100] newfstatat(3, "", [pid 5101] <... rmdir resumed>) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5100] umount2("./59/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5100] newfstatat(AT_FDCWD, "./59/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] unlink("./59/binderfs") = 0 [pid 5097] <... mkdir resumed>) = 0 [pid 5100] umount2("./59/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] close(3 [pid 5101] getdents64(3, [pid 5098] <... close resumed>) = 0 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5479 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5478 ./strace-static-x86_64: Process 5478 attached [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5101] close(3 [pid 5478] set_robust_list(0x55556fbaa660, 24 [pid 5477] <... close resumed>) = 0 [pid 5101] <... close resumed>) = 0 [pid 5097] <... openat resumed>) = 3 ./strace-static-x86_64: Process 5479 attached [pid 5479] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5479] chdir("./61") = 0 [pid 5479] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5479] setpgid(0, 0) = 0 [pid 5479] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5478] <... set_robust_list resumed>) = 0 [pid 5477] exit_group(0 [pid 5101] rmdir("./59" [pid 5100] <... umount2 resumed>) = 0 [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5479] write(3, "1000", 4) = 4 [pid 5478] chdir("./60" [pid 5477] <... exit_group resumed>) = ? [pid 5101] <... rmdir resumed>) = 0 [pid 5479] close(3) = 0 [pid 5479] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5479] write(1, "executing program\n", 18) = 18 [pid 5100] umount2("./59/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5479] memfd_create("syzkaller", 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5479] <... memfd_create resumed>) = 3 [pid 5100] newfstatat(AT_FDCWD, "./59/file1", [pid 5479] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5479] <... mmap resumed>) = 0x7f8438200000 [pid 5100] umount2("./59/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5479] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5478] <... chdir resumed>) = 0 [pid 5477] +++ exited with 0 +++ [pid 5101] mkdir("./60", 0777 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5478] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5477, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5100] openat(AT_FDCWD, "./59/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5478] <... prctl resumed>) = 0 [pid 5101] <... mkdir resumed>) = 0 [pid 5100] <... openat resumed>) = 4 [pid 5478] setpgid(0, 0 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5100] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] umount2("./60", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... openat resumed>) = 3 [pid 5478] <... setpgid resumed>) = 0 [pid 5100] getdents64(4, [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5478] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5099] openat(AT_FDCWD, "./60", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] <... ioctl resumed>) = 0 [pid 5100] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] close(4 [pid 5479] <... write resumed>) = 524288 [pid 5101] close(3 [pid 5100] <... close resumed>) = 0 [pid 5099] <... openat resumed>) = 3 [pid 5099] newfstatat(3, "", [pid 5478] <... openat resumed>) = 3 [pid 5101] <... close resumed>) = 0 [pid 5100] rmdir("./59/file1" [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5478] write(3, "1000", 4 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5478] <... write resumed>) = 4 [pid 5099] getdents64(3, [pid 5478] close(3 [pid 5100] <... rmdir resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5478] <... close resumed>) = 0 [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5480 [pid 5478] symlink("/dev/binderfs", "./binderfs" [pid 5100] getdents64(3, [pid 5099] umount2("./60/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... ioctl resumed>) = 0 executing program [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5478] <... symlink resumed>) = 0 [pid 5100] close(3 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) ./strace-static-x86_64: Process 5480 attached [pid 5478] write(1, "executing program\n", 18 [pid 5100] <... close resumed>) = 0 [pid 5099] newfstatat(AT_FDCWD, "./60/binderfs", [pid 5480] set_robust_list(0x55556fbaa660, 24 [pid 5100] rmdir("./59" [pid 5480] <... set_robust_list resumed>) = 0 [pid 5478] <... write resumed>) = 18 [pid 5100] <... rmdir resumed>) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] mkdir("./60", 0777 [pid 5478] memfd_create("syzkaller", 0 [pid 5099] unlink("./60/binderfs" [pid 5480] chdir("./60" [pid 5097] close(3 [pid 5478] <... memfd_create resumed>) = 3 [pid 5100] <... mkdir resumed>) = 0 [pid 5480] <... chdir resumed>) = 0 [pid 5099] <... unlink resumed>) = 0 [pid 5478] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5480] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5097] <... close resumed>) = 0 [pid 5099] umount2("./60/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5480] <... prctl resumed>) = 0 [pid 5479] munmap(0x7f8438200000, 138412032 [pid 5478] <... mmap resumed>) = 0x7f8438200000 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5099] <... umount2 resumed>) = 0 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5480] setpgid(0, 0 [pid 5479] <... munmap resumed>) = 0 [pid 5478] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5480] <... setpgid resumed>) = 0 [pid 5099] umount2("./60/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5480] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5479] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 5479] ioctl(4, LOOP_SET_FD, 3 [pid 5100] <... openat resumed>) = 3 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] newfstatat(AT_FDCWD, "./60/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] umount2("./60/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5480] <... openat resumed>) = 3 [pid 5479] <... ioctl resumed>) = 0 [pid 5478] <... write resumed>) = 524288 [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5099] openat(AT_FDCWD, "./60/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5481 [pid 5099] <... openat resumed>) = 4 [pid 5480] write(3, "1000", 4 [pid 5479] close(3 [pid 5099] newfstatat(4, "", [pid 5480] <... write resumed>) = 4 [pid 5479] <... close resumed>) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5480] close(3 [pid 5479] close(4 [pid 5099] getdents64(4, ./strace-static-x86_64: Process 5481 attached [pid 5480] <... close resumed>) = 0 [pid 5479] <... close resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5480] symlink("/dev/binderfs", "./binderfs" [pid 5479] mkdir("./file1", 0777 [pid 5481] set_robust_list(0x55556fbaa660, 24 [pid 5099] getdents64(4, [pid 5481] <... set_robust_list resumed>) = 0 [pid 5479] <... mkdir resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 executing program [pid 5481] chdir("./62" [pid 5480] <... symlink resumed>) = 0 [pid 5099] close(4 [pid 5480] write(1, "executing program\n", 18 [pid 5478] munmap(0x7f8438200000, 138412032 [pid 5480] <... write resumed>) = 18 [pid 5479] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5481] <... chdir resumed>) = 0 [pid 5099] <... close resumed>) = 0 [pid 5481] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5480] memfd_create("syzkaller", 0 [pid 5099] rmdir("./60/file1" [pid 5481] <... prctl resumed>) = 0 [pid 5481] setpgid(0, 0 [pid 5478] <... munmap resumed>) = 0 [pid 5099] <... rmdir resumed>) = 0 [pid 5481] <... setpgid resumed>) = 0 [pid 5481] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5099] getdents64(3, [pid 5481] <... openat resumed>) = 3 [pid 5480] <... memfd_create resumed>) = 3 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5481] write(3, "1000", 4 [pid 5480] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5478] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5099] close(3 [pid 5481] <... write resumed>) = 4 [pid 5480] <... mmap resumed>) = 0x7f8438200000 [pid 5478] <... openat resumed>) = 4 [pid 5099] <... close resumed>) = 0 [pid 5481] close(3) = 0 [pid 5478] ioctl(4, LOOP_SET_FD, 3 [pid 5099] rmdir("./60" [pid 5481] symlink("/dev/binderfs", "./binderfs" [pid 5099] <... rmdir resumed>) = 0 [pid 5481] <... symlink resumed>) = 0 [pid 5099] mkdir("./61", 0777executing program [pid 5481] write(1, "executing program\n", 18 [pid 5099] <... mkdir resumed>) = 0 [pid 5481] <... write resumed>) = 18 [pid 5481] memfd_create("syzkaller", 0 [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5481] <... memfd_create resumed>) = 3 [ 152.968935][ T5479] loop1: detected capacity change from 0 to 1024 [pid 5481] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5099] <... openat resumed>) = 3 [pid 5481] <... mmap resumed>) = 0x7f8438200000 [pid 5481] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] ioctl(3, LOOP_CLR_FD [pid 5480] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5481] <... write resumed>) = 524288 [pid 5481] munmap(0x7f8438200000, 138412032 [pid 5479] <... mount resumed>) = 0 [pid 5481] <... munmap resumed>) = 0 [pid 5481] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5478] <... ioctl resumed>) = 0 [pid 5479] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5478] close(3 [pid 5481] ioctl(4, LOOP_SET_FD, 3 [pid 5479] <... openat resumed>) = 3 [pid 5478] <... close resumed>) = 0 [pid 5480] <... write resumed>) = 524288 [pid 5479] chdir("./file1" [pid 5478] close(4 [pid 5481] <... ioctl resumed>) = 0 [pid 5479] <... chdir resumed>) = 0 [pid 5478] <... close resumed>) = 0 [pid 5100] <... ioctl resumed>) = 0 [pid 5480] munmap(0x7f8438200000, 138412032 [pid 5479] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5478] mkdir("./file1", 0777 [pid 5100] close(3 [pid 5099] <... ioctl resumed>) = 0 [ 153.021845][ T5478] loop5: detected capacity change from 0 to 1024 [ 153.055894][ T5481] loop0: detected capacity change from 0 to 1024 [pid 5480] <... munmap resumed>) = 0 [pid 5479] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5478] <... mkdir resumed>) = 0 [pid 5100] <... close resumed>) = 0 [pid 5480] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5479] truncate("./file1", 0 [pid 5478] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5481] close(3) = 0 [pid 5481] close(4./strace-static-x86_64: Process 5482 attached ) = 0 [pid 5480] <... openat resumed>) = 4 [pid 5481] mkdir("./file1", 0777 [pid 5482] set_robust_list(0x55556fbaa660, 24 [pid 5481] <... mkdir resumed>) = 0 [pid 5480] ioctl(4, LOOP_SET_FD, 3 [pid 5479] <... truncate resumed>) = 0 [pid 5478] <... mount resumed>) = 0 [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5482 [pid 5482] <... set_robust_list resumed>) = 0 [pid 5478] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5482] chdir("./60" [pid 5478] <... openat resumed>) = 3 [pid 5478] chdir("./file1" [pid 5481] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5099] close(3) = 0 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5482] <... chdir resumed>) = 0 [pid 5479] memfd_create("syzkaller", 0 [pid 5478] <... chdir resumed>) = 0 [pid 5482] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5479] <... memfd_create resumed>) = 4 [pid 5478] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5482] <... prctl resumed>) = 0 [pid 5479] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5482] setpgid(0, 0 [pid 5481] <... mount resumed>) = 0 [pid 5480] <... ioctl resumed>) = 0 [pid 5479] <... mmap resumed>) = 0x7f8438200000 [pid 5478] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5482] <... setpgid resumed>) = 0 [pid 5481] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5480] close(3 [pid 5478] truncate("./file1", 0 [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5483 [pid 5482] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC./strace-static-x86_64: Process 5483 attached [pid 5483] set_robust_list(0x55556fbaa660, 24 [pid 5482] <... openat resumed>) = 3 [pid 5480] <... close resumed>) = 0 [pid 5480] close(4) = 0 [pid 5480] mkdir("./file1", 0777 [pid 5483] <... set_robust_list resumed>) = 0 [pid 5482] write(3, "1000", 4 [pid 5481] <... openat resumed>) = 3 [pid 5480] <... mkdir resumed>) = 0 [pid 5479] 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 5478] <... truncate resumed>) = 0 [pid 5483] chdir("./61" [pid 5482] <... write resumed>) = 4 [pid 5481] chdir("./file1" [pid 5480] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5478] memfd_create("syzkaller", 0 [pid 5483] <... chdir resumed>) = 0 [pid 5482] close(3 [pid 5481] <... chdir resumed>) = 0 [pid 5478] <... memfd_create resumed>) = 4 [pid 5481] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5478] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5482] <... close resumed>) = 0 [pid 5483] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5482] symlink("/dev/binderfs", "./binderfs" [pid 5481] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5478] <... mmap resumed>) = 0x7f8438200000 [pid 5483] <... prctl resumed>) = 0 [pid 5483] setpgid(0, 0) = 0 [pid 5483] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5483] write(3, "1000", 4) = 4 [pid 5482] <... symlink resumed>) = 0 [pid 5481] truncate("./file1", 0 [pid 5482] write(1, "executing program\n", 18executing program [pid 5483] close(3) = 0 [pid 5483] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5483] write(1, "executing program\n", 18) = 18 executing program [pid 5483] memfd_create("syzkaller", 0 [pid 5482] <... write resumed>) = 18 [pid 5479] <... write resumed>) = 524288 [pid 5478] 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 5482] memfd_create("syzkaller", 0 [pid 5483] <... memfd_create resumed>) = 3 [pid 5483] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5481] <... truncate resumed>) = 0 [pid 5481] memfd_create("syzkaller", 0) = 4 [pid 5481] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5482] <... memfd_create resumed>) = 3 [pid 5481] <... mmap resumed>) = 0x7f8438200000 [ 153.123496][ T5480] loop4: detected capacity change from 0 to 1024 [pid 5481] 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 5483] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5482] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5481] <... write resumed>) = 524288 [pid 5479] munmap(0x7f8438200000, 138412032 [pid 5478] <... write resumed>) = 524288 [pid 5482] <... mmap resumed>) = 0x7f8438200000 [pid 5479] <... munmap resumed>) = 0 [pid 5481] munmap(0x7f8438200000, 138412032 [pid 5478] munmap(0x7f8438200000, 138412032 [pid 5479] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5478] <... munmap resumed>) = 0 [pid 5483] <... write resumed>) = 524288 [pid 5482] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5481] <... munmap resumed>) = 0 [pid 5480] <... mount resumed>) = 0 [pid 5479] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5478] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5480] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5479] close(4 [pid 5478] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5481] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5482] <... write resumed>) = 524288 [pid 5481] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5480] <... openat resumed>) = 3 [pid 5479] <... close resumed>) = 0 [pid 5478] close(4 [pid 5483] munmap(0x7f8438200000, 138412032) = 0 [pid 5483] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5480] chdir("./file1" [pid 5483] <... openat resumed>) = 4 [pid 5483] ioctl(4, LOOP_SET_FD, 3 [pid 5481] close(4 [pid 5480] <... chdir resumed>) = 0 [pid 5480] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5479] exit_group(0 [pid 5478] <... close resumed>) = 0 [pid 5483] <... ioctl resumed>) = 0 [pid 5483] close(3 [pid 5481] <... close resumed>) = 0 [pid 5483] <... close resumed>) = 0 [pid 5479] <... exit_group resumed>) = ? [pid 5482] munmap(0x7f8438200000, 138412032 [pid 5480] truncate("./file1", 0 [pid 5483] close(4) = 0 [pid 5483] mkdir("./file1", 0777) = 0 [pid 5483] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5482] <... munmap resumed>) = 0 [pid 5482] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5483] <... mount resumed>) = 0 [pid 5481] exit_group(0 [pid 5480] <... truncate resumed>) = 0 [pid 5479] +++ exited with 0 +++ [pid 5478] exit_group(0 [pid 5483] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5482] <... openat resumed>) = 4 [pid 5481] <... exit_group resumed>) = ? [pid 5480] memfd_create("syzkaller", 0 [pid 5478] <... exit_group resumed>) = ? [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5479, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5483] <... openat resumed>) = 3 [pid 5482] ioctl(4, LOOP_SET_FD, 3 [pid 5481] +++ exited with 0 +++ [pid 5098] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5481, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5097] restart_syscall(<... resuming interrupted clone ...> [pid 5098] umount2("./61", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] <... restart_syscall resumed>) = 0 [pid 5483] chdir("./file1" [pid 5098] openat(AT_FDCWD, "./61", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5483] <... chdir resumed>) = 0 [pid 5098] <... openat resumed>) = 3 [pid 5483] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5098] newfstatat(3, "", [pid 5483] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5483] truncate("./file1", 0 [ 153.267923][ T5483] loop2: detected capacity change from 0 to 1024 [pid 5098] getdents64(3, [pid 5097] umount2("./62", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] umount2("./61/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5483] <... truncate resumed>) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5483] memfd_create("syzkaller", 0 [pid 5098] newfstatat(AT_FDCWD, "./61/binderfs", [pid 5483] <... memfd_create resumed>) = 4 [pid 5098] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5483] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5098] unlink("./61/binderfs" [pid 5483] <... mmap resumed>) = 0x7f8438200000 [pid 5098] <... unlink resumed>) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5483] 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("./61/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] openat(AT_FDCWD, "./62", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5478] +++ exited with 0 +++ [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5478, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=1 /* 0.01 s */} --- [pid 5097] newfstatat(3, "", [pid 5098] <... umount2 resumed>) = 0 [pid 5098] umount2("./61/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./61/file1", [pid 5480] <... memfd_create resumed>) = 4 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5480] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] umount2("./60", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5483] <... write resumed>) = 524288 [pid 5480] <... mmap resumed>) = 0x7f8438200000 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] umount2("./61/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] getdents64(3, [pid 5482] <... ioctl resumed>) = 0 [pid 5103] openat(AT_FDCWD, "./60", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5482] close(3 [pid 5103] <... openat resumed>) = 3 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5482] <... close resumed>) = 0 [pid 5103] newfstatat(3, "", [pid 5097] umount2("./62/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5482] close(4 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] openat(AT_FDCWD, "./61/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5482] <... close resumed>) = 0 [pid 5103] getdents64(3, [pid 5097] newfstatat(AT_FDCWD, "./62/binderfs", [pid 5482] mkdir("./file1", 0777 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] <... openat resumed>) = 4 [pid 5098] newfstatat(4, "", [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] umount2("./60/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] getdents64(4, [pid 5482] <... mkdir resumed>) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] unlink("./62/binderfs" [pid 5103] newfstatat(AT_FDCWD, "./60/binderfs", [pid 5098] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] <... unlink resumed>) = 0 [pid 5103] unlink("./60/binderfs" [pid 5098] close(4 [pid 5097] umount2("./62/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... close resumed>) = 0 [pid 5098] rmdir("./61/file1" [pid 5480] 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] <... unlink resumed>) = 0 [pid 5098] <... rmdir resumed>) = 0 [pid 5097] <... umount2 resumed>) = 0 [pid 5098] getdents64(3, [pid 5483] munmap(0x7f8438200000, 138412032 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5483] <... munmap resumed>) = 0 [pid 5098] close(3 [pid 5483] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5098] <... close resumed>) = 0 [ 153.314441][ T5482] loop3: detected capacity change from 0 to 1024 [pid 5097] umount2("./62/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5483] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5098] rmdir("./61" [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5483] close(4 [pid 5482] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5103] umount2("./60/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... rmdir resumed>) = 0 [pid 5097] newfstatat(AT_FDCWD, "./62/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5483] <... close resumed>) = 0 [pid 5098] mkdir("./62", 0777 [pid 5483] exit_group(0 [pid 5098] <... mkdir resumed>) = 0 [pid 5097] umount2("./62/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5483] <... exit_group resumed>) = ? [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5483] +++ exited with 0 +++ [pid 5097] openat(AT_FDCWD, "./62/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5483, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5097] <... openat resumed>) = 4 [pid 5099] umount2("./61", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] newfstatat(4, "", [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] openat(AT_FDCWD, "./61", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] getdents64(4, [pid 5099] <... openat resumed>) = 3 [pid 5099] newfstatat(3, "", [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] <... openat resumed>) = 3 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5099] getdents64(3, [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5097] getdents64(4, [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] umount2("./61/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] close(4 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] newfstatat(AT_FDCWD, "./61/binderfs", [pid 5097] <... close resumed>) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] rmdir("./62/file1" [pid 5482] <... mount resumed>) = 0 [pid 5099] unlink("./61/binderfs" [pid 5097] <... rmdir resumed>) = 0 [pid 5099] <... unlink resumed>) = 0 [pid 5099] umount2("./61/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5482] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5480] <... write resumed>) = 524288 [pid 5482] <... openat resumed>) = 3 [pid 5480] munmap(0x7f8438200000, 138412032 [pid 5097] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5482] chdir("./file1" [pid 5480] <... munmap resumed>) = 0 [pid 5097] close(3 [pid 5103] <... umount2 resumed>) = 0 [pid 5482] <... chdir resumed>) = 0 [pid 5480] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5103] umount2("./60/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5482] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5482] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] newfstatat(AT_FDCWD, "./60/file1", [pid 5482] truncate("./file1", 0 [pid 5480] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5480] close(4 [pid 5097] <... close resumed>) = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] rmdir("./62" [pid 5482] <... truncate resumed>) = 0 [pid 5480] <... close resumed>) = 0 [pid 5099] <... umount2 resumed>) = 0 [pid 5097] <... rmdir resumed>) = 0 [pid 5097] mkdir("./63", 0777 [pid 5482] memfd_create("syzkaller", 0 [pid 5480] exit_group(0 [pid 5103] umount2("./60/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... mkdir resumed>) = 0 [pid 5482] <... memfd_create resumed>) = 4 [pid 5480] <... exit_group resumed>) = ? [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5482] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] openat(AT_FDCWD, "./60/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5103] newfstatat(4, "", [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5099] umount2("./61/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5482] <... mmap resumed>) = 0x7f8438200000 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5480] +++ exited with 0 +++ [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5480, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5099] newfstatat(AT_FDCWD, "./61/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5482] 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("./61/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5103] getdents64(4, [pid 5099] openat(AT_FDCWD, "./61/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5099] newfstatat(4, "", [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5103] getdents64(4, [pid 5101] umount2("./60", MNT_FORCE|UMOUNT_NOFOLLOW [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 [pid 5099] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] close(4) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] rmdir("./61/file1" [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5101] openat(AT_FDCWD, "./60", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] <... rmdir resumed>) = 0 [pid 5103] close(4 [pid 5101] <... openat resumed>) = 3 [pid 5103] <... close resumed>) = 0 [pid 5101] newfstatat(3, "", [pid 5103] rmdir("./60/file1" [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] getdents64(3, [pid 5098] <... ioctl resumed>) = 0 [pid 5101] getdents64(3, [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5103] <... rmdir resumed>) = 0 [pid 5099] close(3) = 0 [pid 5099] rmdir("./61") = 0 [pid 5099] mkdir("./62", 0777 [pid 5103] getdents64(3, [pid 5099] <... mkdir resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 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 5103] close(3 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5103] <... close resumed>) = 0 [pid 5101] umount2("./60/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] rmdir("./60" [pid 5098] close(3) = 0 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5482] <... write resumed>) = 524288 [pid 5103] <... rmdir resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) ./strace-static-x86_64: Process 5484 attached [pid 5101] newfstatat(AT_FDCWD, "./60/binderfs", [pid 5484] set_robust_list(0x55556fbaa660, 24 [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5484 [pid 5484] <... set_robust_list resumed>) = 0 [pid 5484] chdir("./62") = 0 ./strace-static-x86_64: Process 5485 attached [pid 5484] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5103] mkdir("./61", 0777 [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] unlink("./60/binderfs" [pid 5482] munmap(0x7f8438200000, 138412032 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5485 [pid 5485] set_robust_list(0x55556fbaa660, 24 [pid 5484] <... prctl resumed>) = 0 [pid 5485] <... set_robust_list resumed>) = 0 [pid 5484] setpgid(0, 0 [pid 5485] chdir("./62" [pid 5484] <... setpgid resumed>) = 0 [pid 5482] <... munmap resumed>) = 0 [pid 5485] <... chdir resumed>) = 0 [pid 5484] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5485] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5103] <... mkdir resumed>) = 0 [pid 5485] <... prctl resumed>) = 0 [pid 5484] <... openat resumed>) = 3 [pid 5482] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5101] <... unlink resumed>) = 0 [pid 5485] setpgid(0, 0 [pid 5097] <... ioctl resumed>) = 0 [pid 5485] <... setpgid resumed>) = 0 [pid 5484] write(3, "1000", 4 [pid 5482] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5101] umount2("./60/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5482] close(4 [pid 5485] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5484] <... write resumed>) = 4 [pid 5103] <... openat resumed>) = 3 [pid 5485] <... openat resumed>) = 3 [pid 5484] close(3 [pid 5485] write(3, "1000", 4 [pid 5484] <... close resumed>) = 0 [pid 5097] close(3 [pid 5485] <... write resumed>) = 4 [pid 5484] symlink("/dev/binderfs", "./binderfs" [pid 5097] <... close resumed>) = 0 [pid 5485] close(3) = 0 [pid 5484] <... symlink resumed>) = 0 executing program [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5485] symlink("/dev/binderfs", "./binderfs" [pid 5484] write(1, "executing program\n", 18 [pid 5482] <... close resumed>) = 0 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5485] <... symlink resumed>) = 0 [pid 5484] <... write resumed>) = 18 [pid 5484] memfd_create("syzkaller", 0executing program [pid 5485] write(1, "executing program\n", 18 [pid 5484] <... memfd_create resumed>) = 3 [pid 5485] <... write resumed>) = 18 [pid 5484] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5485] memfd_create("syzkaller", 0 [pid 5484] <... mmap resumed>) = 0x7f8438200000 [pid 5482] exit_group(0 [pid 5101] <... umount2 resumed>) = 0 [pid 5484] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288./strace-static-x86_64: Process 5486 attached [pid 5485] <... memfd_create resumed>) = 3 [pid 5484] <... write resumed>) = 524288 [pid 5482] <... exit_group resumed>) = ? [pid 5486] set_robust_list(0x55556fbaa660, 24 [pid 5485] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5486] <... set_robust_list resumed>) = 0 [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5486 [pid 5486] chdir("./63" [pid 5485] <... mmap resumed>) = 0x7f8438200000 [pid 5486] <... chdir resumed>) = 0 [pid 5485] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5486] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5486] setpgid(0, 0) = 0 [pid 5486] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5486] write(3, "1000", 4) = 4 [pid 5486] close(3) = 0 [pid 5486] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5486] write(1, "executing program\n", 18 [pid 5485] <... write resumed>) = 524288 [pid 5482] +++ exited with 0 +++ [pid 5101] umount2("./60/file1", MNT_FORCE|UMOUNT_NOFOLLOWexecuting program [pid 5486] <... write resumed>) = 18 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5482, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5486] memfd_create("syzkaller", 0 [pid 5101] newfstatat(AT_FDCWD, "./60/file1", [pid 5486] <... memfd_create resumed>) = 3 [pid 5484] munmap(0x7f8438200000, 138412032 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5486] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5484] <... munmap resumed>) = 0 [pid 5100] umount2("./60", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5486] <... mmap resumed>) = 0x7f8438200000 [pid 5486] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5484] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5101] umount2("./60/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5484] <... openat resumed>) = 4 [pid 5484] ioctl(4, LOOP_SET_FD, 3 [pid 5103] <... ioctl resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] openat(AT_FDCWD, "./60", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5103] close(3 [pid 5101] openat(AT_FDCWD, "./60/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5103] <... close resumed>) = 0 [pid 5101] <... openat resumed>) = 4 [pid 5100] <... openat resumed>) = 3 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5101] newfstatat(4, "", [pid 5100] newfstatat(3, "", [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 5485] munmap(0x7f8438200000, 138412032 [pid 5101] getdents64(4, [pid 5100] getdents64(3, [pid 5485] <... munmap resumed>) = 0 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5101] getdents64(4, [pid 5100] umount2("./60/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5487 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] close(4 [pid 5485] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5101] <... close resumed>) = 0 [pid 5100] newfstatat(AT_FDCWD, "./60/binderfs", [pid 5485] <... openat resumed>) = 4 [pid 5101] rmdir("./60/file1" [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 ./strace-static-x86_64: Process 5487 attached [pid 5101] <... rmdir resumed>) = 0 [pid 5100] unlink("./60/binderfs" [pid 5485] ioctl(4, LOOP_SET_FD, 3 [pid 5101] getdents64(3, [pid 5487] set_robust_list(0x55556fbaa660, 24 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] <... unlink resumed>) = 0 [pid 5486] <... write resumed>) = 524288 [pid 5101] close(3 [pid 5100] umount2("./60/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5487] <... set_robust_list resumed>) = 0 [pid 5101] <... close resumed>) = 0 [pid 5486] munmap(0x7f8438200000, 138412032 [pid 5485] <... ioctl resumed>) = 0 [pid 5484] <... ioctl resumed>) = 0 [pid 5101] rmdir("./60" [pid 5100] <... umount2 resumed>) = 0 [ 153.619414][ T5484] loop2: detected capacity change from 0 to 1024 [ 153.639934][ T5485] loop1: detected capacity change from 0 to 1024 [pid 5486] <... munmap resumed>) = 0 [pid 5484] close(3 [pid 5486] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5484] <... close resumed>) = 0 [pid 5486] <... openat resumed>) = 4 [pid 5484] close(4 [pid 5487] chdir("./61" [pid 5101] <... rmdir resumed>) = 0 [pid 5100] umount2("./60/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5487] <... chdir resumed>) = 0 [pid 5486] ioctl(4, LOOP_SET_FD, 3 [pid 5484] <... close resumed>) = 0 [pid 5101] mkdir("./61", 0777 [pid 5487] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5486] <... ioctl resumed>) = 0 [pid 5484] mkdir("./file1", 0777 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5485] close(3 [pid 5484] <... mkdir resumed>) = 0 [pid 5101] <... mkdir resumed>) = 0 [pid 5100] newfstatat(AT_FDCWD, "./60/file1", [pid 5487] <... prctl resumed>) = 0 [pid 5485] <... close resumed>) = 0 [pid 5484] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5487] setpgid(0, 0 [pid 5485] close(4 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5487] <... setpgid resumed>) = 0 [pid 5485] <... close resumed>) = 0 [pid 5100] umount2("./60/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5485] mkdir("./file1", 0777 [pid 5487] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5485] <... mkdir resumed>) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5485] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5487] <... openat resumed>) = 3 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5100] openat(AT_FDCWD, "./60/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5484] <... mount resumed>) = 0 [pid 5100] <... openat resumed>) = 4 [pid 5100] newfstatat(4, "", [pid 5487] write(3, "1000", 4 [pid 5485] <... mount resumed>) = 0 [pid 5484] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5101] <... openat resumed>) = 3 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] getdents64(4, [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5100] getdents64(4, [pid 5487] <... write resumed>) = 4 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5487] close(3 [pid 5486] close(3 [pid 5487] <... close resumed>) = 0 [pid 5100] close(4 [pid 5487] symlink("/dev/binderfs", "./binderfs" [pid 5485] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5484] <... openat resumed>) = 3 [pid 5100] <... close resumed>) = 0 [pid 5487] <... symlink resumed>) = 0 [pid 5484] chdir("./file1" [pid 5100] rmdir("./60/file1" [pid 5485] <... openat resumed>) = 3 [pid 5485] chdir("./file1" [pid 5484] <... chdir resumed>) = 0 [pid 5100] <... rmdir resumed>) = 0 [pid 5485] <... chdir resumed>) = 0 [pid 5100] getdents64(3, [pid 5484] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5486] <... close resumed>) = 0 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5486] close(4 [pid 5484] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] close(3 [pid 5486] <... close resumed>) = 0 [pid 5484] truncate("./file1", 0 [pid 5100] <... close resumed>) = 0 [pid 5487] write(1, "executing program\n", 18 [pid 5485] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5100] rmdir("./60" [pid 5486] mkdir("./file1", 0777) = 0 [pid 5100] <... rmdir resumed>) = 0 executing program [pid 5100] mkdir("./61", 0777 [pid 5487] <... write resumed>) = 18 [pid 5485] <... openat resumed>) = -1 EBUSY (Device or resource busy) [ 153.664576][ T5486] loop0: detected capacity change from 0 to 1024 [pid 5487] memfd_create("syzkaller", 0 [pid 5486] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5485] truncate("./file1", 0 [pid 5100] <... mkdir resumed>) = 0 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5487] <... memfd_create resumed>) = 3 [pid 5484] <... truncate resumed>) = 0 [pid 5484] memfd_create("syzkaller", 0) = 4 [pid 5484] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5487] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5485] <... truncate resumed>) = 0 [pid 5487] <... mmap resumed>) = 0x7f8438200000 [pid 5486] <... mount resumed>) = 0 [pid 5485] memfd_create("syzkaller", 0) = 4 [pid 5486] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5484] 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 5485] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5486] chdir("./file1") = 0 [pid 5485] <... mmap resumed>) = 0x7f8438200000 [pid 5486] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5487] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5486] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5486] truncate("./file1", 0 [pid 5485] 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 5486] <... truncate resumed>) = 0 [pid 5486] memfd_create("syzkaller", 0) = 4 [pid 5486] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5486] 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] <... ioctl resumed>) = 0 [pid 5101] close(3 [pid 5487] <... write resumed>) = 524288 [pid 5101] <... close resumed>) = 0 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55556fbaa650) = 5488 [pid 5484] <... write resumed>) = 524288 [pid 5484] munmap(0x7f8438200000, 138412032./strace-static-x86_64: Process 5488 attached [pid 5488] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5488] chdir("./61") = 0 [pid 5488] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5486] <... write resumed>) = 524288 [pid 5100] <... ioctl resumed>) = 0 [pid 5488] <... prctl resumed>) = 0 [pid 5488] setpgid(0, 0 [pid 5484] <... munmap resumed>) = 0 [pid 5488] <... setpgid resumed>) = 0 [pid 5488] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5487] munmap(0x7f8438200000, 138412032 [pid 5485] <... write resumed>) = 524288 [pid 5488] write(3, "1000", 4) = 4 [pid 5488] close(3 [pid 5487] <... munmap resumed>) = 0 [pid 5484] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5488] <... close resumed>) = 0 [pid 5485] munmap(0x7f8438200000, 138412032 [pid 5484] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5487] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5100] close(3) = 0 [pid 5486] munmap(0x7f8438200000, 138412032 [pid 5487] <... openat resumed>) = 4 [pid 5488] symlink("/dev/binderfs", "./binderfs" [pid 5487] ioctl(4, LOOP_SET_FD, 3 [pid 5486] <... munmap resumed>) = 0 [pid 5485] <... munmap resumed>) = 0 [pid 5484] close(4 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5488] <... symlink resumed>) = 0 executing program [pid 5484] <... close resumed>) = 0 [pid 5488] write(1, "executing program\n", 18) = 18 [pid 5486] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5488] memfd_create("syzkaller", 0 [pid 5486] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5488] <... memfd_create resumed>) = 3 [pid 5486] close(4./strace-static-x86_64: Process 5489 attached [pid 5488] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5485] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5489 [pid 5489] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5488] <... mmap resumed>) = 0x7f8438200000 [pid 5487] <... ioctl resumed>) = 0 [pid 5485] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5484] exit_group(0 [pid 5485] close(4 [pid 5489] chdir("./61" [pid 5484] <... exit_group resumed>) = ? [pid 5487] close(3) = 0 [pid 5487] close(4) = 0 [pid 5487] mkdir("./file1", 0777 [pid 5488] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5489] <... chdir resumed>) = 0 [pid 5487] <... mkdir resumed>) = 0 [pid 5486] <... close resumed>) = 0 [pid 5484] +++ exited with 0 +++ [pid 5489] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5484, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5487] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5489] <... prctl resumed>) = 0 [pid 5099] umount2("./62", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "./62", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5489] setpgid(0, 0 [pid 5485] <... close resumed>) = 0 [pid 5099] <... openat resumed>) = 3 [pid 5489] <... setpgid resumed>) = 0 [pid 5485] exit_group(0 [pid 5099] newfstatat(3, "", [pid 5489] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5485] <... exit_group resumed>) = ? [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 5486] exit_group(0 [pid 5099] umount2("./62/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5486] <... exit_group resumed>) = ? [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5489] <... openat resumed>) = 3 [pid 5099] newfstatat(AT_FDCWD, "./62/binderfs", [pid 5489] write(3, "1000", 4 [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5489] <... write resumed>) = 4 [pid 5487] <... mount resumed>) = 0 [pid 5486] +++ exited with 0 +++ [pid 5485] +++ exited with 0 +++ [pid 5099] unlink("./62/binderfs" [pid 5489] close(3 [pid 5487] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5099] <... unlink resumed>) = 0 [pid 5489] <... close resumed>) = 0 [pid 5487] <... openat resumed>) = 3 [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5485, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5486, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5489] symlink("/dev/binderfs", "./binderfs" [pid 5487] chdir("./file1" [pid 5099] umount2("./62/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] restart_syscall(<... resuming interrupted clone ...> [pid 5097] restart_syscall(<... resuming interrupted clone ...> [pid 5489] <... symlink resumed>) = 0 [pid 5487] <... chdir resumed>) = 0 [pid 5098] <... restart_syscall resumed>) = 0 [pid 5097] <... restart_syscall resumed>) = 0 executing program [pid 5488] <... write resumed>) = 524288 [pid 5489] write(1, "executing program\n", 18 [pid 5487] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5489] <... write resumed>) = 18 [pid 5098] umount2("./62", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] umount2("./63", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5487] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./62", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] openat(AT_FDCWD, "./63", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5489] memfd_create("syzkaller", 0 [pid 5487] truncate("./file1", 0 [pid 5098] <... openat resumed>) = 3 [pid 5097] <... openat resumed>) = 3 [pid 5489] <... memfd_create resumed>) = 3 [pid 5487] <... truncate resumed>) = 0 [pid 5099] <... umount2 resumed>) = 0 [pid 5098] newfstatat(3, "", [pid 5097] newfstatat(3, "", [pid 5489] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [ 153.799732][ T5487] loop5: detected capacity change from 0 to 1024 [pid 5487] memfd_create("syzkaller", 0 [pid 5489] <... mmap resumed>) = 0x7f8438200000 [pid 5488] munmap(0x7f8438200000, 138412032 [pid 5487] <... memfd_create resumed>) = 4 [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 5487] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5488] <... munmap resumed>) = 0 [pid 5487] <... mmap resumed>) = 0x7f8438200000 [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("./62/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] umount2("./63/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./62/binderfs", [pid 5097] newfstatat(AT_FDCWD, "./63/binderfs", [pid 5488] openat(AT_FDCWD, "/dev/loop4", O_RDWR [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("./62/binderfs" [pid 5488] <... openat resumed>) = 4 [pid 5098] <... unlink resumed>) = 0 [pid 5097] unlink("./63/binderfs" [pid 5488] ioctl(4, LOOP_SET_FD, 3 [pid 5097] <... unlink resumed>) = 0 [pid 5489] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5487] 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("./62/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] umount2("./62/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] newfstatat(AT_FDCWD, "./62/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] umount2("./63/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] umount2("./62/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "./62/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5488] <... ioctl resumed>) = 0 [pid 5487] <... write resumed>) = 524288 [pid 5099] <... openat resumed>) = 4 [pid 5097] <... umount2 resumed>) = 0 [pid 5488] close(3) = 0 [pid 5487] munmap(0x7f8438200000, 138412032 [pid 5488] close(4 [pid 5487] <... munmap resumed>) = 0 [pid 5488] <... close resumed>) = 0 [pid 5488] mkdir("./file1", 0777 [pid 5487] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5099] newfstatat(4, "", [pid 5097] umount2("./63/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5489] <... write resumed>) = 524288 [pid 5488] <... mkdir resumed>) = 0 [pid 5098] <... umount2 resumed>) = 0 [pid 5489] munmap(0x7f8438200000, 138412032 [pid 5488] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5487] <... 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 5098] umount2("./62/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5489] <... munmap resumed>) = 0 [pid 5487] close(4 [pid 5099] getdents64(4, [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(AT_FDCWD, "./63/file1", [pid 5489] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] newfstatat(AT_FDCWD, "./62/file1", [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] getdents64(4, [pid 5097] umount2("./63/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] close(4 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5489] ioctl(4, LOOP_SET_FD, 3 [pid 5099] <... close resumed>) = 0 [pid 5098] umount2("./62/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 153.866448][ T5488] loop4: detected capacity change from 0 to 1024 [pid 5487] <... close resumed>) = 0 [pid 5489] <... ioctl resumed>) = 0 [pid 5488] <... mount resumed>) = 0 [pid 5099] rmdir("./62/file1" [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] openat(AT_FDCWD, "./63/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5488] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5099] <... rmdir resumed>) = 0 [pid 5097] <... openat resumed>) = 4 [pid 5488] chdir("./file1" [pid 5099] getdents64(3, [pid 5098] openat(AT_FDCWD, "./62/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] newfstatat(4, "", [pid 5488] <... chdir resumed>) = 0 [pid 5488] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] <... openat resumed>) = 4 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5488] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] close(3 [pid 5098] newfstatat(4, "", [pid 5097] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5487] exit_group(0 [pid 5099] <... close resumed>) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5488] truncate("./file1", 0 [pid 5097] getdents64(4, [pid 5099] rmdir("./62" [pid 5098] getdents64(4, [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5487] <... exit_group resumed>) = ? [pid 5487] +++ exited with 0 +++ [pid 5099] <... rmdir resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] close(4 [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5487, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5099] mkdir("./63", 0777 [pid 5098] getdents64(4, [pid 5097] <... close resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] rmdir("./63/file1" [pid 5099] <... mkdir resumed>) = 0 [pid 5097] <... rmdir resumed>) = 0 [pid 5098] close(4 [pid 5097] getdents64(3, [pid 5489] close(3 [pid 5488] <... truncate resumed>) = 0 [pid 5103] umount2("./61", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5098] <... close resumed>) = 0 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5489] <... close resumed>) = 0 [pid 5488] memfd_create("syzkaller", 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... openat resumed>) = 3 [pid 5098] rmdir("./62/file1" [pid 5097] close(3 [pid 5489] close(4) = 0 [pid 5488] <... memfd_create resumed>) = 4 [pid 5103] openat(AT_FDCWD, "./61", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5098] <... rmdir resumed>) = 0 [pid 5097] <... close resumed>) = 0 [pid 5489] mkdir("./file1", 0777 [pid 5488] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5489] <... mkdir resumed>) = 0 [pid 5488] <... mmap resumed>) = 0x7f8438200000 [pid 5103] <... openat resumed>) = 3 [pid 5099] <... ioctl resumed>) = 0 [pid 5098] getdents64(3, [pid 5097] rmdir("./63" [pid 5489] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5488] 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] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] <... rmdir resumed>) = 0 [pid 5103] newfstatat(3, "", [pid 5099] <... close resumed>) = 0 [pid 5098] close(3 [pid 5097] mkdir("./64", 0777 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5098] <... close resumed>) = 0 [pid 5097] <... mkdir resumed>) = 0 [ 153.923950][ T5489] loop3: detected capacity change from 0 to 1024 [pid 5098] rmdir("./62" [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5488] <... write resumed>) = 524288 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] <... rmdir resumed>) = 0 [pid 5097] <... openat resumed>) = 3 ./strace-static-x86_64: Process 5490 attached [pid 5490] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5490] chdir("./63" [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5490 [pid 5103] getdents64(3, [pid 5098] mkdir("./63", 0777 [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5488] munmap(0x7f8438200000, 138412032) = 0 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5097] <... ioctl resumed>) = 0 [pid 5098] <... mkdir resumed>) = 0 [pid 5097] close(3 [pid 5489] <... mount resumed>) = 0 [pid 5488] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5103] umount2("./61/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5097] <... close resumed>) = 0 [pid 5490] <... chdir resumed>) = 0 [pid 5489] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5488] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... openat resumed>) = 3 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5488] close(4 [pid 5103] newfstatat(AT_FDCWD, "./61/binderfs", [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5490] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5098] <... ioctl resumed>) = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5490] <... prctl resumed>) = 0 [pid 5103] unlink("./61/binderfs" [pid 5098] close(3 [pid 5490] setpgid(0, 0 [pid 5098] <... close resumed>) = 0 [pid 5490] <... setpgid resumed>) = 0 [pid 5103] <... unlink resumed>) = 0 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5492 attached [pid 5490] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5489] <... openat resumed>) = 3 [pid 5103] umount2("./61/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5492] set_robust_list(0x55556fbaa660, 24 [pid 5489] chdir("./file1" [pid 5492] <... set_robust_list resumed>) = 0 [pid 5490] <... openat resumed>) = 3 [pid 5489] <... chdir resumed>) = 0 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5492 [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5491 [pid 5492] chdir("./63" [pid 5490] write(3, "1000", 4 [pid 5489] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5492] <... chdir resumed>) = 0 [pid 5490] <... write resumed>) = 4 [pid 5489] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5492] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5490] close(3 [pid 5489] truncate("./file1", 0 [pid 5490] <... close resumed>) = 0 [pid 5490] symlink("/dev/binderfs", "./binderfs") = 0 executing program ./strace-static-x86_64: Process 5491 attached [pid 5492] <... prctl resumed>) = 0 [pid 5490] write(1, "executing program\n", 18 [pid 5491] set_robust_list(0x55556fbaa660, 24 [pid 5490] <... write resumed>) = 18 [pid 5491] <... set_robust_list resumed>) = 0 [pid 5492] setpgid(0, 0 [pid 5490] memfd_create("syzkaller", 0 [pid 5488] <... close resumed>) = 0 [pid 5491] chdir("./64" [pid 5492] <... setpgid resumed>) = 0 [pid 5491] <... chdir resumed>) = 0 [pid 5490] <... memfd_create resumed>) = 3 [pid 5488] exit_group(0 [pid 5491] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5492] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5490] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5488] <... exit_group resumed>) = ? [pid 5103] <... umount2 resumed>) = 0 [pid 5491] <... prctl resumed>) = 0 [pid 5490] <... mmap resumed>) = 0x7f8438200000 [pid 5491] setpgid(0, 0 [pid 5488] +++ exited with 0 +++ [pid 5492] <... openat resumed>) = 3 [pid 5490] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5489] <... truncate resumed>) = 0 [pid 5103] umount2("./61/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5488, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5492] write(3, "1000", 4 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5492] <... write resumed>) = 4 [pid 5489] memfd_create("syzkaller", 0 [pid 5492] close(3 [pid 5491] <... setpgid resumed>) = 0 [pid 5492] <... close resumed>) = 0 [pid 5489] <... memfd_create resumed>) = 4 [pid 5491] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5492] symlink("/dev/binderfs", "./binderfs" [pid 5489] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] newfstatat(AT_FDCWD, "./61/file1", [pid 5491] <... openat resumed>) = 3 [pid 5492] <... symlink resumed>) = 0 [pid 5489] <... mmap resumed>) = 0x7f8438200000 [pid 5101] umount2("./61", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5492] write(1, "executing program\n", 18 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] umount2("./61/file1", MNT_FORCE|UMOUNT_NOFOLLOWexecuting program [pid 5491] write(3, "1000", 4 [pid 5492] <... write resumed>) = 18 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5491] <... write resumed>) = 4 [pid 5492] memfd_create("syzkaller", 0 [pid 5103] openat(AT_FDCWD, "./61/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] openat(AT_FDCWD, "./61", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5491] close(3 [pid 5492] <... memfd_create resumed>) = 3 [pid 5489] 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>) = 4 [pid 5101] <... openat resumed>) = 3 [pid 5491] <... close resumed>) = 0 [pid 5101] newfstatat(3, "", [pid 5491] symlink("/dev/binderfs", "./binderfs" [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5491] <... symlink resumed>) = 0 [pid 5103] newfstatat(4, "", [pid 5101] getdents64(3, executing program [pid 5491] write(1, "executing program\n", 18 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5492] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5491] <... write resumed>) = 18 [pid 5101] umount2("./61/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5492] <... mmap resumed>) = 0x7f8438200000 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5491] memfd_create("syzkaller", 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5491] <... memfd_create resumed>) = 3 [pid 5103] getdents64(4, [pid 5101] newfstatat(AT_FDCWD, "./61/binderfs", [pid 5491] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5491] <... mmap resumed>) = 0x7f8438200000 [pid 5101] unlink("./61/binderfs" [pid 5492] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5489] <... write resumed>) = 524288 [pid 5103] getdents64(4, [pid 5101] <... unlink resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5103] close(4) = 0 [pid 5101] umount2("./61/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5491] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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("./61/file1") = 0 [pid 5101] <... umount2 resumed>) = 0 [pid 5103] getdents64(3, [pid 5490] <... write resumed>) = 524288 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5490] munmap(0x7f8438200000, 138412032) = 0 [pid 5489] munmap(0x7f8438200000, 138412032 [pid 5103] close(3 [pid 5490] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5492] <... write resumed>) = 524288 [pid 5489] <... munmap resumed>) = 0 [pid 5103] <... close resumed>) = 0 [pid 5103] rmdir("./61" [pid 5490] ioctl(4, LOOP_SET_FD, 3 [pid 5101] umount2("./61/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] newfstatat(AT_FDCWD, "./61/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] umount2("./61/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] <... rmdir resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] openat(AT_FDCWD, "./61/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 5489] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5103] mkdir("./62", 0777 [pid 5101] getdents64(4, [pid 5489] <... openat resumed>) = -1 EBUSY (Device or resource busy) [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("./61/file1" [pid 5489] close(4 [pid 5103] <... mkdir resumed>) = 0 [pid 5101] <... rmdir resumed>) = 0 [pid 5101] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5101] close(3) = 0 [pid 5101] rmdir("./61") = 0 [pid 5491] <... write resumed>) = 524288 [pid 5101] mkdir("./62", 0777) = 0 [pid 5491] munmap(0x7f8438200000, 138412032) = 0 [pid 5492] munmap(0x7f8438200000, 138412032 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5103] <... openat resumed>) = 3 [pid 5101] <... openat resumed>) = 3 [pid 5492] <... munmap resumed>) = 0 [pid 5103] ioctl(3, LOOP_CLR_FD) = 0 [pid 5492] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5103] close(3) = 0 [pid 5491] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5489] <... close resumed>) = 0 [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5491] <... openat resumed>) = 4 [pid 5492] <... openat resumed>) = 4 [pid 5489] exit_group(0 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5491] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5491] ioctl(4, LOOP_CLR_FD) = 0 [pid 5491] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5491] close(4) = 0 [pid 5491] close(3executing program ) = 0 ./strace-static-x86_64: Process 5493 attached [pid 5492] ioctl(4, LOOP_SET_FD, 3 [pid 5490] <... ioctl resumed>) = 0 [pid 5489] <... exit_group resumed>) = ? [pid 5493] set_robust_list(0x55556fbaa660, 24 [pid 5490] close(3 [pid 5493] <... set_robust_list resumed>) = 0 [pid 5490] <... close resumed>) = 0 [pid 5493] chdir("./62" [pid 5490] close(4 [pid 5493] <... chdir resumed>) = 0 [pid 5490] <... close resumed>) = 0 [pid 5493] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5490] mkdir("./file1", 0777 [pid 5493] <... prctl resumed>) = 0 [pid 5490] <... mkdir resumed>) = 0 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5493 [pid 5493] setpgid(0, 0) = 0 [pid 5493] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5490] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5493] write(3, "1000", 4) = 4 [pid 5493] close(3) = 0 [pid 5493] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5491] truncate("./file1", 0 [pid 5493] write(1, "executing program\n", 18 [pid 5491] <... truncate resumed>) = -1 ENOENT (No such file or directory) [pid 5491] memfd_create("syzkaller", 0 [pid 5493] <... write resumed>) = 18 [pid 5491] <... memfd_create resumed>) = 3 [pid 5492] <... ioctl resumed>) = 0 [pid 5490] <... mount resumed>) = 0 [pid 5489] +++ exited with 0 +++ [pid 5493] memfd_create("syzkaller", 0 [pid 5491] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5492] close(3 [pid 5490] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5489, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5492] <... close resumed>) = 0 [pid 5492] close(4 [pid 5490] <... openat resumed>) = 3 [pid 5491] <... mmap resumed>) = 0x7f8438200000 [pid 5492] <... close resumed>) = 0 [pid 5100] umount2("./61", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5493] <... memfd_create resumed>) = 3 [pid 5492] mkdir("./file1", 0777 [pid 5490] chdir("./file1" [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5493] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5491] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5492] <... mkdir resumed>) = 0 [pid 5490] <... chdir resumed>) = 0 [pid 5100] openat(AT_FDCWD, "./61", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5493] <... mmap resumed>) = 0x7f8438200000 [pid 5492] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [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 5100] umount2("./61/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5100] newfstatat(AT_FDCWD, "./61/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] unlink("./61/binderfs") = 0 [pid 5100] umount2("./61/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5493] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5490] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5490] truncate("./file1", 0 [pid 5493] <... write resumed>) = 524288 [pid 5492] <... mount resumed>) = 0 [pid 5492] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [ 154.177231][ T5490] loop2: detected capacity change from 0 to 1024 [ 154.211906][ T5492] loop1: detected capacity change from 0 to 1024 [pid 5492] chdir("./file1" [pid 5490] <... truncate resumed>) = 0 [pid 5101] <... ioctl resumed>) = 0 [pid 5492] <... chdir resumed>) = 0 [pid 5490] memfd_create("syzkaller", 0) = 4 [pid 5490] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5490] 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 5492] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5491] <... write resumed>) = 524288 [pid 5492] truncate("./file1", 0 [pid 5100] <... umount2 resumed>) = 0 [pid 5491] munmap(0x7f8438200000, 138412032) = 0 [pid 5493] munmap(0x7f8438200000, 138412032) = 0 [pid 5491] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5101] close(3) = 0 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5492] <... truncate resumed>) = 0 [pid 5492] memfd_create("syzkaller", 0 [pid 5493] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5490] <... write resumed>) = 524288 [pid 5100] umount2("./61/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5493] <... openat resumed>) = 4 [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5494 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5493] ioctl(4, LOOP_SET_FD, 3 [pid 5492] <... memfd_create resumed>) = 4 [pid 5100] newfstatat(AT_FDCWD, "./61/file1", ./strace-static-x86_64: Process 5494 attached [pid 5491] <... openat resumed>) = 4 [pid 5492] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5491] ioctl(4, LOOP_SET_FD, 3 [pid 5492] <... mmap resumed>) = 0x7f8438200000 [pid 5494] set_robust_list(0x55556fbaa660, 24 [pid 5492] 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 5490] munmap(0x7f8438200000, 138412032 [pid 5100] umount2("./61/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5490] <... munmap resumed>) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5494] <... set_robust_list resumed>) = 0 [pid 5494] chdir("./62" [pid 5100] openat(AT_FDCWD, "./61/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5100] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5494] <... chdir resumed>) = 0 [pid 5490] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5100] getdents64(4, [pid 5490] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5100] getdents64(4, [pid 5490] close(4 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5494] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5494] setpgid(0, 0 [pid 5490] <... close resumed>) = 0 [pid 5100] close(4 [pid 5494] <... setpgid resumed>) = 0 [pid 5100] <... close resumed>) = 0 [pid 5494] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5100] rmdir("./61/file1") = 0 [pid 5494] <... openat resumed>) = 3 [pid 5100] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] close(3) = 0 [pid 5100] rmdir("./61" [pid 5494] write(3, "1000", 4 [pid 5100] <... rmdir resumed>) = 0 [pid 5100] mkdir("./62", 0777 [pid 5494] <... write resumed>) = 4 [pid 5494] close(3 [pid 5100] <... mkdir resumed>) = 0 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5494] <... close resumed>) = 0 [pid 5493] <... ioctl resumed>) = 0 [pid 5491] <... ioctl resumed>) = 0 [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5494] symlink("/dev/binderfs", "./binderfs" [pid 5100] <... ioctl resumed>) = 0 [pid 5491] close(3 [pid 5100] close(3 [pid 5491] <... close resumed>) = 0 [pid 5100] <... close resumed>) = 0 [pid 5491] close(4 [ 154.309265][ T5493] loop5: detected capacity change from 0 to 1024 [ 154.326928][ T5491] loop0: detected capacity change from 0 to 1024 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5494] <... symlink resumed>) = 0 [pid 5491] <... close resumed>) = 0 [pid 5491] mkdir("./file1", 0777 [pid 5493] close(3 [pid 5491] <... mkdir resumed>) = 0 [pid 5493] <... close resumed>) = 0 [pid 5493] close(4 [pid 5491] mount("/dev/loop0", "./file1", "hfsplus", MS_NOSUID|MS_NOEXEC|MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5490] exit_group(0 [pid 5493] <... close resumed>) = 0 [pid 5490] <... exit_group resumed>) = ? executing program [pid 5494] write(1, "executing program\n", 18) = 18 [pid 5493] mkdir("./file1", 0777 [pid 5492] <... write resumed>) = 524288 [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5495 [pid 5493] <... mkdir resumed>) = 0 [pid 5493] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5490] +++ exited with 0 +++ ./strace-static-x86_64: Process 5495 attached [pid 5494] memfd_create("syzkaller", 0 [pid 5492] munmap(0x7f8438200000, 138412032 [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5490, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5495] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5492] <... munmap resumed>) = 0 [pid 5495] chdir("./62" [pid 5494] <... memfd_create resumed>) = 3 [pid 5099] umount2("./63", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5495] <... chdir resumed>) = 0 [pid 5494] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5492] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5494] <... mmap resumed>) = 0x7f8438200000 [pid 5492] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5492] close(4 [pid 5495] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5492] <... close resumed>) = 0 [pid 5495] <... prctl resumed>) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5495] setpgid(0, 0 [pid 5099] openat(AT_FDCWD, "./63", 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, [pid 5494] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5495] <... setpgid resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5495] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5494] <... write resumed>) = 524288 [pid 5492] exit_group(0 [pid 5099] umount2("./63/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5492] <... exit_group resumed>) = ? [pid 5495] <... openat resumed>) = 3 [pid 5493] <... mount resumed>) = 0 [pid 5492] +++ exited with 0 +++ [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5493] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5099] newfstatat(AT_FDCWD, "./63/binderfs", [pid 5493] chdir("./file1" [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5492, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5495] write(3, "1000", 4 [pid 5494] munmap(0x7f8438200000, 138412032 [pid 5493] <... chdir resumed>) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] umount2("./63", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] unlink("./63/binderfs" [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./63", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5493] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5098] <... openat resumed>) = 3 [pid 5099] <... unlink resumed>) = 0 [pid 5493] truncate("./file1", 0 [pid 5495] <... write resumed>) = 4 [pid 5494] <... munmap resumed>) = 0 [ 154.427200][ T5491] hfsplus: failed to load root directory [pid 5099] umount2("./63/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] newfstatat(3, "", [pid 5495] close(3 [pid 5494] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5495] <... close resumed>) = 0 [pid 5494] <... openat resumed>) = 4 [pid 5099] <... umount2 resumed>) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5495] symlink("/dev/binderfs", "./binderfs" [pid 5494] ioctl(4, LOOP_SET_FD, 3 [pid 5495] <... symlink resumed>) = 0 [pid 5491] <... mount resumed>) = -1 EIO (Input/output error) [pid 5491] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5491] ioctl(3, LOOP_CLR_FD) = 0 [pid 5493] <... truncate resumed>) = 0 [pid 5098] getdents64(3, [pid 5493] memfd_create("syzkaller", 0) = 4 [pid 5493] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 executing program [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5495] write(1, "executing program\n", 18 [pid 5493] 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 5495] <... write resumed>) = 18 [pid 5491] close(3) = 0 [pid 5491] exit_group(0) = ? [pid 5495] memfd_create("syzkaller", 0 [pid 5491] +++ exited with 0 +++ [pid 5099] umount2("./63/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] umount2("./63/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5495] <... memfd_create resumed>) = 3 [pid 5098] newfstatat(AT_FDCWD, "./63/binderfs", [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5491, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5099] newfstatat(AT_FDCWD, "./63/file1", [pid 5495] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5097] umount2("./64", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5495] <... mmap resumed>) = 0x7f8438200000 [pid 5493] <... write resumed>) = 524288 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5494] <... ioctl resumed>) = 0 [pid 5493] munmap(0x7f8438200000, 138412032 [pid 5495] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5494] close(3 [pid 5099] umount2("./63/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] unlink("./63/binderfs" [pid 5097] openat(AT_FDCWD, "./64", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5494] <... close resumed>) = 0 [pid 5494] close(4 [pid 5493] <... munmap resumed>) = 0 [pid 5098] <... unlink resumed>) = 0 [pid 5097] <... openat resumed>) = 3 [ 154.473337][ T5494] loop4: detected capacity change from 0 to 1024 [pid 5494] <... close resumed>) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] umount2("./63/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] newfstatat(3, "", [pid 5494] mkdir("./file1", 0777 [pid 5493] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5493] close(4 [pid 5494] <... mkdir resumed>) = 0 [pid 5099] openat(AT_FDCWD, "./63/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5494] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5099] <... openat resumed>) = 4 [pid 5097] getdents64(3, [pid 5099] newfstatat(4, "", [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 5097] umount2("./64/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] getdents64(4, [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] newfstatat(AT_FDCWD, "./64/binderfs", [pid 5493] <... close resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] unlink("./64/binderfs") = 0 [pid 5493] exit_group(0 [pid 5495] <... write resumed>) = 524288 [pid 5099] getdents64(4, [pid 5098] <... umount2 resumed>) = 0 [pid 5097] umount2("./64/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5493] <... exit_group resumed>) = ? [pid 5494] <... mount resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] close(4 [pid 5495] munmap(0x7f8438200000, 138412032 [pid 5494] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5493] +++ exited with 0 +++ [pid 5099] <... close resumed>) = 0 [pid 5098] umount2("./63/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] newfstatat(AT_FDCWD, "./64/file1", [pid 5494] <... openat resumed>) = 3 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] rmdir("./63/file1" [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5493, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5097] umount2("./64/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... rmdir resumed>) = 0 [pid 5098] newfstatat(AT_FDCWD, "./63/file1", [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5494] chdir("./file1" [pid 5099] getdents64(3, [pid 5495] <... munmap resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] openat(AT_FDCWD, "./64/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5495] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5494] <... chdir resumed>) = 0 [pid 5103] umount2("./62", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] close(3 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5494] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... close resumed>) = 0 [pid 5097] <... openat resumed>) = 4 [pid 5495] <... openat resumed>) = 4 [pid 5103] openat(AT_FDCWD, "./62", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5494] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5495] ioctl(4, LOOP_SET_FD, 3 [pid 5494] truncate("./file1", 0 [pid 5103] <... openat resumed>) = 3 [pid 5099] rmdir("./63" [pid 5098] umount2("./63/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] newfstatat(4, "", [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./63/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] newfstatat(3, "", [pid 5099] <... rmdir resumed>) = 0 [pid 5098] <... openat resumed>) = 4 [pid 5097] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] newfstatat(4, "", [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 5097] getdents64(4, [pid 5103] getdents64(3, [pid 5099] mkdir("./64", 0777 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5495] <... ioctl resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] <... mkdir resumed>) = 0 [pid 5098] getdents64(4, [pid 5097] close(4 [pid 5103] umount2("./62/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5495] close(3 [pid 5103] newfstatat(AT_FDCWD, "./62/binderfs", [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5098] getdents64(4, [pid 5097] <... close resumed>) = 0 [pid 5495] <... close resumed>) = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] unlink("./62/binderfs" [pid 5495] close(4 [pid 5103] <... unlink resumed>) = 0 [pid 5099] <... openat resumed>) = 3 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] rmdir("./64/file1" [pid 5495] <... close resumed>) = 0 [pid 5494] <... truncate resumed>) = 0 [pid 5103] umount2("./62/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5098] close(4 [pid 5495] mkdir("./file1", 0777 [pid 5494] memfd_create("syzkaller", 0 [pid 5097] <... rmdir resumed>) = 0 [pid 5098] <... close resumed>) = 0 [pid 5495] <... mkdir resumed>) = 0 [pid 5494] <... memfd_create resumed>) = 4 [pid 5103] <... umount2 resumed>) = 0 [pid 5098] rmdir("./63/file1" [pid 5097] getdents64(3, [pid 5494] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] umount2("./62/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5495] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5494] <... mmap resumed>) = 0x7f8438200000 [pid 5098] <... rmdir resumed>) = 0 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] close(3) = 0 [pid 5098] rmdir("./63") = 0 [pid 5098] mkdir("./64", 0777 [pid 5494] 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 [pid 5097] close(3 [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... close resumed>) = 0 [pid 5097] rmdir("./64" [pid 5103] newfstatat(AT_FDCWD, "./62/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] umount2("./62/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 154.597648][ T5495] loop3: detected capacity change from 0 to 1024 [pid 5103] openat(AT_FDCWD, "./62/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5097] <... rmdir resumed>) = 0 [pid 5097] mkdir("./65", 0777 [pid 5103] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5103] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] <... mkdir resumed>) = 0 [pid 5103] close(4 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5103] <... close resumed>) = 0 [pid 5097] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5103] rmdir("./62/file1" [pid 5097] close(3 [pid 5103] <... rmdir resumed>) = 0 [pid 5097] <... close resumed>) = 0 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5103] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 ./strace-static-x86_64: Process 5496 attached [pid 5495] <... mount resumed>) = 0 [pid 5494] <... write resumed>) = 524288 [pid 5103] close(3 [pid 5496] set_robust_list(0x55556fbaa660, 24 [pid 5495] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5496 [pid 5496] <... set_robust_list resumed>) = 0 [pid 5495] <... openat resumed>) = 3 [pid 5103] <... close resumed>) = 0 [pid 5496] chdir("./65" [pid 5495] chdir("./file1" [pid 5494] munmap(0x7f8438200000, 138412032 [pid 5103] rmdir("./62" [pid 5496] <... chdir resumed>) = 0 [pid 5495] <... chdir resumed>) = 0 [pid 5494] <... munmap resumed>) = 0 [pid 5495] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5496] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5495] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5496] <... prctl resumed>) = 0 [pid 5496] setpgid(0, 0) = 0 [pid 5495] truncate("./file1", 0 [pid 5496] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5494] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5496] <... openat resumed>) = 3 [pid 5494] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5494] close(4 [pid 5496] write(3, "1000", 4 [pid 5103] <... rmdir resumed>) = 0 [pid 5496] <... write resumed>) = 4 [pid 5103] mkdir("./63", 0777 [pid 5496] close(3) = 0 [pid 5496] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 5103] <... mkdir resumed>) = 0 [pid 5496] write(1, "executing program\n", 18) = 18 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5496] memfd_create("syzkaller", 0 [pid 5495] <... truncate resumed>) = 0 [pid 5494] <... close resumed>) = 0 [pid 5103] <... openat resumed>) = 3 [pid 5099] <... ioctl resumed>) = 0 [pid 5495] memfd_create("syzkaller", 0 [pid 5496] <... memfd_create resumed>) = 3 [pid 5496] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5495] <... memfd_create resumed>) = 4 [pid 5496] <... mmap resumed>) = 0x7f8438200000 [pid 5495] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5098] <... ioctl resumed>) = 0 [pid 5494] exit_group(0 [pid 5495] <... mmap resumed>) = 0x7f8438200000 [pid 5494] <... exit_group resumed>) = ? [pid 5496] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5494] +++ exited with 0 +++ [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5494, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5098] close(3 [pid 5495] 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 resumed>) = 0 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5099] close(3) = 0 [pid 5101] umount2("./62", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5101] openat(AT_FDCWD, "./62", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5101] newfstatat(3, "", [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5498 ./strace-static-x86_64: Process 5498 attached [pid 5498] set_robust_list(0x55556fbaa660, 24 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5498] <... set_robust_list resumed>) = 0 [pid 5101] getdents64(3, [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5497 [pid 5498] chdir("./64") = 0 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 ./strace-static-x86_64: Process 5497 attached [pid 5498] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5497] set_robust_list(0x55556fbaa660, 24 [pid 5498] setpgid(0, 0) = 0 [pid 5498] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5497] <... set_robust_list resumed>) = 0 [pid 5498] <... openat resumed>) = 3 [pid 5101] umount2("./62/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5497] chdir("./64") = 0 [pid 5497] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5497] setpgid(0, 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] newfstatat(AT_FDCWD, "./62/binderfs", [pid 5498] write(3, "1000", 4 [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5495] <... write resumed>) = 524288 [pid 5498] <... write resumed>) = 4 [pid 5101] unlink("./62/binderfs" [pid 5498] close(3 [pid 5101] <... unlink resumed>) = 0 [pid 5498] <... close resumed>) = 0 [pid 5497] <... setpgid resumed>) = 0 [pid 5498] symlink("/dev/binderfs", "./binderfs" [pid 5496] <... write resumed>) = 524288 [pid 5495] munmap(0x7f8438200000, 138412032 [pid 5101] umount2("./62/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5497] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5498] <... symlink resumed>) = 0 [pid 5495] <... munmap resumed>) = 0 [pid 5497] <... openat resumed>) = 3 [pid 5498] write(1, "executing program\n", 18 [pid 5496] munmap(0x7f8438200000, 138412032 [pid 5495] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5103] <... ioctl resumed>) = 0 [pid 5101] <... umount2 resumed>) = 0 [pid 5497] write(3, "1000", 4executing program ) = 4 [pid 5498] <... write resumed>) = 18 [pid 5496] <... munmap resumed>) = 0 [pid 5495] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] close(3 [pid 5497] close(3 [pid 5498] memfd_create("syzkaller", 0 [pid 5495] close(4 [pid 5497] <... close resumed>) = 0 [pid 5498] <... memfd_create resumed>) = 3 [pid 5498] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5497] symlink("/dev/binderfs", "./binderfs" [pid 5498] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5497] <... symlink resumed>) = 0 [pid 5103] <... close resumed>) = 0 executing program [pid 5497] write(1, "executing program\n", 18 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5497] <... write resumed>) = 18 [pid 5497] memfd_create("syzkaller", 0 [pid 5496] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5101] umount2("./62/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5497] <... memfd_create resumed>) = 3 [pid 5497] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5498] <... write resumed>) = 524288 [pid 5496] <... openat resumed>) = 4 [pid 5495] <... close resumed>) = 0 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5499 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5497] <... mmap resumed>) = 0x7f8438200000 [pid 5496] ioctl(4, LOOP_SET_FD, 3 [pid 5495] exit_group(0./strace-static-x86_64: Process 5499 attached [pid 5499] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5101] newfstatat(AT_FDCWD, "./62/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5499] chdir("./63") = 0 [pid 5499] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5499] setpgid(0, 0) = 0 [pid 5499] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5495] <... exit_group resumed>) = ? [pid 5101] umount2("./62/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5499] <... openat resumed>) = 3 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] openat(AT_FDCWD, "./62/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 5499] write(3, "1000", 4 [pid 5101] getdents64(4, [pid 5499] <... write resumed>) = 4 [pid 5497] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5101] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5101] close(4) = 0 [pid 5101] rmdir("./62/file1" [pid 5499] close(3 [pid 5101] <... rmdir resumed>) = 0 [pid 5499] <... close resumed>) = 0 [pid 5101] getdents64(3, [pid 5499] symlink("/dev/binderfs", "./binderfs" [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5499] <... symlink resumed>) = 0 [pid 5495] +++ exited with 0 +++ [pid 5101] close(3) = 0 [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5495, si_uid=0, si_status=0, si_utime=0, si_stime=8 /* 0.08 s */} --- executing program [pid 5499] write(1, "executing program\n", 18 [pid 5101] rmdir("./62" [pid 5100] umount2("./62", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] <... rmdir resumed>) = 0 [pid 5499] <... write resumed>) = 18 [pid 5497] <... write resumed>) = 524288 [pid 5498] munmap(0x7f8438200000, 138412032 [pid 5496] <... ioctl resumed>) = 0 [pid 5100] openat(AT_FDCWD, "./62", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5499] memfd_create("syzkaller", 0 [pid 5100] <... openat resumed>) = 3 [pid 5497] munmap(0x7f8438200000, 138412032 [pid 5498] <... munmap resumed>) = 0 [pid 5100] newfstatat(3, "", [pid 5496] close(3 [pid 5101] mkdir("./63", 0777 [pid 5497] <... munmap resumed>) = 0 [pid 5496] <... close resumed>) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5496] close(4 [pid 5101] <... mkdir resumed>) = 0 [pid 5100] getdents64(3, [pid 5499] <... memfd_create resumed>) = 3 [pid 5496] <... close resumed>) = 0 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5499] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5497] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5498] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5496] mkdir("./file1", 0777 [pid 5101] <... openat resumed>) = 3 [pid 5100] umount2("./62/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5499] <... mmap resumed>) = 0x7f8438200000 [pid 5497] <... openat resumed>) = 4 [pid 5498] <... openat resumed>) = 4 [pid 5496] <... mkdir resumed>) = 0 [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 154.800589][ T5496] loop0: detected capacity change from 0 to 1024 [pid 5497] ioctl(4, LOOP_SET_FD, 3 [pid 5498] ioctl(4, LOOP_SET_FD, 3 [pid 5100] newfstatat(AT_FDCWD, "./62/binderfs", [pid 5499] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5496] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] unlink("./62/binderfs") = 0 [pid 5100] umount2("./62/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5496] <... mount resumed>) = 0 [pid 5496] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5497] <... ioctl resumed>) = 0 [pid 5498] <... ioctl resumed>) = 0 [pid 5497] close(3 [pid 5498] close(3 [pid 5497] <... close resumed>) = 0 [pid 5498] <... close resumed>) = 0 [pid 5499] <... write resumed>) = 524288 [pid 5497] close(4 [pid 5498] close(4 [pid 5496] chdir("./file1" [pid 5101] <... ioctl resumed>) = 0 [pid 5496] <... chdir resumed>) = 0 [pid 5496] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5498] <... close resumed>) = 0 [pid 5497] <... close resumed>) = 0 [pid 5498] mkdir("./file1", 0777 [pid 5497] mkdir("./file1", 0777 [pid 5498] <... mkdir resumed>) = 0 [pid 5496] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5497] <... mkdir resumed>) = 0 [pid 5496] truncate("./file1", 0 [pid 5497] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5498] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5499] munmap(0x7f8438200000, 138412032) = 0 [pid 5496] <... truncate resumed>) = 0 [pid 5101] close(3 [pid 5100] <... umount2 resumed>) = 0 [pid 5496] memfd_create("syzkaller", 0 [pid 5101] <... close resumed>) = 0 [pid 5100] umount2("./62/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5499] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5498] <... mount resumed>) = 0 [pid 5496] <... memfd_create resumed>) = 4 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) ./strace-static-x86_64: Process 5500 attached [pid 5499] <... openat resumed>) = 4 [pid 5497] <... mount resumed>) = 0 [pid 5498] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5496] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [ 154.841128][ T5497] loop1: detected capacity change from 0 to 1024 [ 154.848490][ T5498] loop2: detected capacity change from 0 to 1024 [pid 5100] newfstatat(AT_FDCWD, "./62/file1", [pid 5499] ioctl(4, LOOP_SET_FD, 3 [pid 5497] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5498] <... openat resumed>) = 3 [pid 5497] <... openat resumed>) = 3 [pid 5498] chdir("./file1" [pid 5500] set_robust_list(0x55556fbaa660, 24 [pid 5499] <... ioctl resumed>) = 0 [pid 5497] chdir("./file1" [pid 5498] <... chdir resumed>) = 0 [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5500 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5498] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5498] truncate("./file1", 0 [pid 5497] <... chdir resumed>) = 0 [pid 5100] umount2("./62/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5500] <... set_robust_list resumed>) = 0 [pid 5497] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5496] <... mmap resumed>) = 0x7f8438200000 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5500] chdir("./63" [pid 5497] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] openat(AT_FDCWD, "./62/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5497] truncate("./file1", 0 [pid 5498] <... truncate resumed>) = 0 [pid 5496] 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 resumed>) = 4 [pid 5500] <... chdir resumed>) = 0 [pid 5498] memfd_create("syzkaller", 0 [pid 5100] newfstatat(4, "", [pid 5498] <... memfd_create resumed>) = 4 [pid 5497] <... truncate resumed>) = 0 [pid 5497] memfd_create("syzkaller", 0) = 4 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5500] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5497] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] getdents64(4, [pid 5500] <... prctl resumed>) = 0 [pid 5497] <... mmap resumed>) = 0x7f8438200000 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5500] setpgid(0, 0 [pid 5497] 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 5500] <... setpgid resumed>) = 0 [pid 5100] getdents64(4, [pid 5500] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] close(4 [pid 5498] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] <... close resumed>) = 0 [pid 5498] <... mmap resumed>) = 0x7f8438200000 [pid 5100] rmdir("./62/file1" [pid 5500] <... openat resumed>) = 3 [pid 5497] <... write resumed>) = 524288 [pid 5100] <... rmdir resumed>) = 0 [pid 5499] close(3) = 0 [pid 5498] 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 5499] close(4) = 0 [pid 5499] mkdir("./file1", 0777 [pid 5500] write(3, "1000", 4 [pid 5499] <... mkdir resumed>) = 0 [pid 5100] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] close(3 [pid 5500] <... write resumed>) = 4 [pid 5499] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5498] <... write resumed>) = 524288 [pid 5100] <... close resumed>) = 0 [pid 5100] rmdir("./62" [pid 5500] close(3) = 0 [pid 5100] <... rmdir resumed>) = 0 [pid 5500] symlink("/dev/binderfs", "./binderfs" [pid 5100] mkdir("./63", 0777 [pid 5500] <... symlink resumed>) = 0 [pid 5497] munmap(0x7f8438200000, 138412032 [pid 5496] <... write resumed>) = 524288 [pid 5100] <... mkdir resumed>) = 0 [pid 5497] <... munmap resumed>) = 0 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5496] munmap(0x7f8438200000, 138412032 [pid 5100] <... openat resumed>) = 3 [pid 5497] openat(AT_FDCWD, "/dev/loop1", O_RDWRexecuting program [pid 5500] write(1, "executing program\n", 18 [pid 5497] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5496] <... munmap resumed>) = 0 [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5500] <... write resumed>) = 18 [pid 5499] <... mount resumed>) = 0 [pid 5496] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5499] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [ 154.894575][ T5499] loop5: detected capacity change from 0 to 1024 [pid 5497] close(4 [pid 5496] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5500] memfd_create("syzkaller", 0 [pid 5499] chdir("./file1" [pid 5497] <... close resumed>) = 0 [pid 5496] close(4 [pid 5500] <... memfd_create resumed>) = 3 [pid 5499] <... chdir resumed>) = 0 [pid 5498] munmap(0x7f8438200000, 138412032) = 0 [pid 5500] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5499] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5500] <... mmap resumed>) = 0x7f8438200000 [pid 5499] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5499] truncate("./file1", 0 [pid 5498] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5498] close(4 [pid 5499] <... truncate resumed>) = 0 [pid 5499] memfd_create("syzkaller", 0) = 4 [pid 5500] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5499] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5496] <... close resumed>) = 0 [pid 5498] <... close resumed>) = 0 [pid 5496] exit_group(0 [pid 5499] 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 5497] exit_group(0) = ? [pid 5496] <... exit_group resumed>) = ? [pid 5498] exit_group(0 [pid 5500] <... write resumed>) = 524288 [pid 5499] <... write resumed>) = 524288 [pid 5497] +++ exited with 0 +++ [pid 5498] <... exit_group resumed>) = ? [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5497, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5498] +++ exited with 0 +++ [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5498, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5098] umount2("./64", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./64", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5500] munmap(0x7f8438200000, 138412032 [pid 5496] +++ exited with 0 +++ [pid 5100] <... ioctl resumed>) = 0 [pid 5098] <... openat resumed>) = 3 [pid 5098] newfstatat(3, "", [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5496, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5500] <... munmap resumed>) = 0 [pid 5098] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5097] umount2("./65", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] umount2("./64", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] openat(AT_FDCWD, "./65", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] openat(AT_FDCWD, "./64", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] umount2("./64/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5500] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5100] close(3 [pid 5099] <... openat resumed>) = 3 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... openat resumed>) = 3 [pid 5500] <... openat resumed>) = 4 [pid 5100] <... close resumed>) = 0 [pid 5098] newfstatat(AT_FDCWD, "./64/binderfs", [pid 5097] newfstatat(3, "", [pid 5500] ioctl(4, LOOP_SET_FD, 3 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5099] newfstatat(3, "", [pid 5098] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [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 5098] unlink("./64/binderfs" [pid 5097] getdents64(3, [pid 5499] munmap(0x7f8438200000, 138412032 [pid 5099] getdents64(3, [pid 5098] <... unlink resumed>) = 0 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5499] <... munmap resumed>) = 0 ./strace-static-x86_64: Process 5501 attached [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5501 [pid 5501] set_robust_list(0x55556fbaa660, 24 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] umount2("./64/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] umount2("./65/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5499] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] umount2("./64/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5499] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] newfstatat(AT_FDCWD, "./64/binderfs", [pid 5097] newfstatat(AT_FDCWD, "./65/binderfs", [pid 5099] <... 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 5099] unlink("./64/binderfs" [pid 5097] unlink("./65/binderfs" [pid 5499] close(4 [pid 5099] <... unlink resumed>) = 0 [pid 5097] <... unlink resumed>) = 0 [pid 5501] <... set_robust_list resumed>) = 0 [pid 5098] <... umount2 resumed>) = 0 [pid 5099] umount2("./64/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5501] chdir("./63" [pid 5097] umount2("./65/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5501] <... chdir resumed>) = 0 [pid 5501] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5500] <... ioctl resumed>) = 0 [pid 5501] <... prctl resumed>) = 0 [pid 5501] setpgid(0, 0 [pid 5500] close(3 [pid 5501] <... setpgid resumed>) = 0 [pid 5099] <... umount2 resumed>) = 0 [pid 5098] umount2("./64/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5500] <... close resumed>) = 0 [pid 5501] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5500] close(4 [pid 5499] <... close resumed>) = 0 [pid 5099] umount2("./64/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... umount2 resumed>) = 0 [pid 5500] <... close resumed>) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./64/file1", [pid 5097] umount2("./65/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] newfstatat(AT_FDCWD, "./64/file1", [pid 5098] <... 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 5098] umount2("./64/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] umount2("./64/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5500] mkdir("./file1", 0777 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./64/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] newfstatat(AT_FDCWD, "./65/file1", [pid 5501] <... openat resumed>) = 3 [pid 5500] <... mkdir resumed>) = 0 [pid 5099] openat(AT_FDCWD, "./64/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] <... openat resumed>) = 4 [pid 5499] exit_group(0 [pid 5099] <... openat resumed>) = 4 [pid 5098] newfstatat(4, "", [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5499] <... exit_group resumed>) = ? [pid 5099] newfstatat(4, "", [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5501] write(3, "1000", 4 [pid 5499] +++ exited with 0 +++ [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] getdents64(4, [pid 5501] <... write resumed>) = 4 [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5499, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5099] getdents64(4, [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] umount2("./65/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5501] close(3 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] getdents64(4, [pid 5501] <... close resumed>) = 0 [pid 5099] getdents64(4, [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5501] symlink("/dev/binderfs", "./binderfs" [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] close(4 [pid 5097] openat(AT_FDCWD, "./65/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] close(4 [pid 5098] <... close resumed>) = 0 [pid 5099] <... close resumed>) = 0 [pid 5097] <... openat resumed>) = 4 [pid 5099] rmdir("./64/file1" [pid 5098] rmdir("./64/file1" [pid 5099] <... rmdir resumed>) = 0 [pid 5098] <... rmdir resumed>) = 0 [pid 5097] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [ 155.021090][ T5500] loop4: detected capacity change from 0 to 1024 executing program [pid 5098] getdents64(3, [pid 5501] <... symlink resumed>) = 0 [pid 5500] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5103] umount2("./63", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] getdents64(3, [pid 5097] getdents64(4, [pid 5501] write(1, "executing program\n", 18 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5501] <... write resumed>) = 18 [pid 5103] openat(AT_FDCWD, "./63", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] getdents64(4, [pid 5099] close(3 [pid 5098] close(3 [pid 5103] <... openat resumed>) = 3 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] <... close resumed>) = 0 [pid 5098] <... close resumed>) = 0 [pid 5501] memfd_create("syzkaller", 0 [pid 5097] close(4 [pid 5501] <... memfd_create resumed>) = 3 [pid 5103] newfstatat(3, "", [pid 5099] rmdir("./64" [pid 5098] rmdir("./64" [pid 5097] <... close resumed>) = 0 [pid 5097] rmdir("./65/file1" [pid 5099] <... rmdir resumed>) = 0 [pid 5098] <... rmdir resumed>) = 0 [pid 5097] <... rmdir resumed>) = 0 [pid 5501] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] getdents64(3, [pid 5501] <... mmap resumed>) = 0x7f8438200000 [pid 5103] getdents64(3, [pid 5099] mkdir("./65", 0777 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] mkdir("./65", 0777) = 0 [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5098] ioctl(3, LOOP_CLR_FD) = 0 [pid 5098] close(3) = 0 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5099] <... mkdir resumed>) = 0 [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5097] close(3./strace-static-x86_64: Process 5502 attached [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5502 [pid 5097] <... close resumed>) = 0 [pid 5097] rmdir("./65" [pid 5502] set_robust_list(0x55556fbaa660, 24 [pid 5501] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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("./63/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5502] <... set_robust_list resumed>) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... rmdir resumed>) = 0 [pid 5502] chdir("./65" [pid 5103] newfstatat(AT_FDCWD, "./63/binderfs", [pid 5500] <... mount resumed>) = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] mkdir("./66", 0777 [pid 5502] <... chdir resumed>) = 0 [pid 5103] unlink("./63/binderfs" [pid 5500] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5502] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5500] <... openat resumed>) = 3 [pid 5103] <... unlink resumed>) = 0 [pid 5500] chdir("./file1") = 0 [pid 5500] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5502] <... prctl resumed>) = 0 [pid 5500] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] umount2("./63/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... mkdir resumed>) = 0 [pid 5502] setpgid(0, 0 [pid 5500] truncate("./file1", 0 [pid 5502] <... setpgid resumed>) = 0 [pid 5502] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5501] <... write resumed>) = 524288 [pid 5500] <... truncate resumed>) = 0 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5502] <... openat resumed>) = 3 [pid 5500] memfd_create("syzkaller", 0 [pid 5097] <... openat resumed>) = 3 [pid 5502] write(3, "1000", 4 [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5500] <... memfd_create resumed>) = 4 [pid 5502] <... write resumed>) = 4 [pid 5501] munmap(0x7f8438200000, 138412032 [pid 5502] close(3 [pid 5501] <... munmap resumed>) = 0 [pid 5502] <... close resumed>) = 0 [pid 5500] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0executing program ) = 0x7f8438200000 [pid 5501] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5502] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5501] <... openat resumed>) = 4 [pid 5502] write(1, "executing program\n", 18 [pid 5501] ioctl(4, LOOP_SET_FD, 3 [pid 5502] <... write resumed>) = 18 [pid 5502] memfd_create("syzkaller", 0 [pid 5500] 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 resumed>) = 0 [pid 5502] <... memfd_create resumed>) = 3 [pid 5501] <... ioctl resumed>) = 0 [pid 5502] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5103] umount2("./63/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5103] newfstatat(AT_FDCWD, "./63/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] umount2("./63/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5103] openat(AT_FDCWD, "./63/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5502] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5501] close(3 [pid 5103] <... openat resumed>) = 4 [pid 5099] <... ioctl resumed>) = 0 [pid 5501] <... close resumed>) = 0 [pid 5103] newfstatat(4, "", [pid 5099] close(3 [pid 5501] close(4 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] <... close resumed>) = 0 [pid 5501] <... close resumed>) = 0 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5097] <... ioctl resumed>) = 0 [pid 5103] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5103] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5103] close(4 [pid 5501] mkdir("./file1", 0777 [pid 5500] <... write resumed>) = 524288 [pid 5103] <... close resumed>) = 0 [pid 5103] rmdir("./63/file1" [pid 5501] <... mkdir resumed>) = 0 [pid 5103] <... rmdir resumed>) = 0 [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5503 [ 155.160367][ T5501] loop3: detected capacity change from 0 to 1024 [pid 5103] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5103] close(3) = 0 [pid 5103] rmdir("./63") = 0 [pid 5103] mkdir("./64", 0777./strace-static-x86_64: Process 5503 attached ) = 0 [pid 5097] close(3 [pid 5503] set_robust_list(0x55556fbaa660, 24 [pid 5501] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5097] <... close resumed>) = 0 [pid 5500] munmap(0x7f8438200000, 138412032 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5502] <... write resumed>) = 524288 [pid 5500] <... munmap resumed>) = 0 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5504 [pid 5500] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5103] <... openat resumed>) = 3 [pid 5103] ioctl(3, LOOP_CLR_FD./strace-static-x86_64: Process 5504 attached [pid 5500] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] <... ioctl resumed>) = 0 [pid 5504] set_robust_list(0x55556fbaa660, 24 [pid 5500] close(4 [pid 5103] close(3 [pid 5504] <... set_robust_list resumed>) = 0 [pid 5503] <... set_robust_list resumed>) = 0 [pid 5502] munmap(0x7f8438200000, 138412032 [pid 5103] <... close resumed>) = 0 [pid 5504] chdir("./66" [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5503] chdir("./65" [pid 5502] <... munmap resumed>) = 0 [pid 5502] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5503] <... chdir resumed>) = 0 [pid 5504] <... chdir resumed>) = 0 [pid 5503] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5502] <... openat resumed>) = 4 [pid 5503] <... prctl resumed>) = 0 [pid 5501] <... mount resumed>) = 0 [pid 5502] ioctl(4, LOOP_SET_FD, 3 [pid 5504] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5503] setpgid(0, 0 [pid 5504] <... prctl resumed>) = 0 [pid 5504] setpgid(0, 0) = 0 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5505 [pid 5504] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5504] write(3, "1000", 4) = 4 [pid 5504] close(3) = 0 [pid 5504] symlink("/dev/binderfs", "./binderfs") = 0 executing program ./strace-static-x86_64: Process 5505 attached [pid 5504] write(1, "executing program\n", 18 [pid 5505] set_robust_list(0x55556fbaa660, 24 [pid 5504] <... write resumed>) = 18 [pid 5505] <... set_robust_list resumed>) = 0 [pid 5504] memfd_create("syzkaller", 0 [pid 5505] chdir("./64") = 0 [pid 5504] <... memfd_create resumed>) = 3 [pid 5503] <... setpgid resumed>) = 0 [pid 5501] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5500] <... close resumed>) = 0 [pid 5505] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5503] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5501] <... openat resumed>) = 3 [pid 5504] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5501] chdir("./file1" [pid 5505] <... prctl resumed>) = 0 [pid 5504] <... mmap resumed>) = 0x7f8438200000 [pid 5503] <... openat resumed>) = 3 [pid 5501] <... chdir resumed>) = 0 [pid 5505] setpgid(0, 0 [pid 5504] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5503] write(3, "1000", 4 [pid 5502] <... ioctl resumed>) = 0 [pid 5501] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5500] exit_group(0 [pid 5501] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5502] close(3 [pid 5503] <... write resumed>) = 4 [pid 5503] close(3 [pid 5502] <... close resumed>) = 0 [pid 5501] truncate("./file1", 0 [pid 5503] <... close resumed>) = 0 [pid 5502] close(4 [pid 5503] symlink("/dev/binderfs", "./binderfs" [pid 5502] <... close resumed>) = 0 [pid 5505] <... setpgid resumed>) = 0 [pid 5500] <... exit_group resumed>) = ? [pid 5503] <... symlink resumed>) = 0 [pid 5502] mkdir("./file1", 0777 [pid 5505] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5502] <... mkdir resumed>) = 0 [pid 5500] +++ exited with 0 +++ [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5500, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5505] <... openat resumed>) = 3 [pid 5505] write(3, "1000", 4) = 4 [pid 5505] close(3) = 0 [pid 5505] symlink("/dev/binderfs", "./binderfs"executing program executing program ) = 0 [pid 5503] write(1, "executing program\n", 18 [pid 5501] <... truncate resumed>) = 0 [pid 5101] umount2("./63", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5505] write(1, "executing program\n", 18) = 18 [pid 5503] <... write resumed>) = 18 [pid 5501] memfd_create("syzkaller", 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5505] memfd_create("syzkaller", 0 [pid 5501] <... memfd_create resumed>) = 4 [pid 5101] openat(AT_FDCWD, "./63", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5505] <... memfd_create resumed>) = 3 [pid 5504] <... write resumed>) = 524288 [pid 5503] memfd_create("syzkaller", 0 [pid 5502] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5501] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5505] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] <... openat resumed>) = 3 [pid 5505] <... mmap resumed>) = 0x7f8438200000 [pid 5503] <... memfd_create resumed>) = 3 [pid 5501] <... mmap resumed>) = 0x7f8438200000 [pid 5505] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5504] munmap(0x7f8438200000, 138412032) = 0 [pid 5503] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5502] <... mount resumed>) = 0 [pid 5501] 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("./63/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5503] <... mmap resumed>) = 0x7f8438200000 [pid 5101] newfstatat(AT_FDCWD, "./63/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5504] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 155.256091][ T5502] loop1: detected capacity change from 0 to 1024 [pid 5101] unlink("./63/binderfs" [pid 5504] ioctl(4, LOOP_SET_FD, 3 [pid 5503] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5502] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5101] <... unlink resumed>) = 0 [pid 5505] <... write resumed>) = 524288 [pid 5502] <... openat resumed>) = 3 [pid 5101] umount2("./63/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5505] munmap(0x7f8438200000, 138412032) = 0 [pid 5505] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5504] <... ioctl resumed>) = 0 [pid 5505] <... openat resumed>) = 4 [pid 5503] <... write resumed>) = 524288 [pid 5502] chdir("./file1" [pid 5501] <... write resumed>) = 524288 [pid 5101] <... umount2 resumed>) = 0 [pid 5505] ioctl(4, LOOP_SET_FD, 3 [pid 5504] close(3 [pid 5503] munmap(0x7f8438200000, 138412032 [pid 5502] <... chdir resumed>) = 0 [pid 5501] munmap(0x7f8438200000, 138412032 [pid 5502] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = -1 EBUSY (Device or resource busy) [ 155.313369][ T5504] loop0: detected capacity change from 0 to 1024 [pid 5502] truncate("./file1", 0 [pid 5503] <... munmap resumed>) = 0 [pid 5501] <... munmap resumed>) = 0 [pid 5101] umount2("./63/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] newfstatat(AT_FDCWD, "./63/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] umount2("./63/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5505] <... ioctl resumed>) = 0 [pid 5504] <... close resumed>) = 0 [pid 5503] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5502] <... truncate resumed>) = 0 [pid 5501] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5504] close(4) = 0 [pid 5501] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5504] mkdir("./file1", 0777 [pid 5503] <... openat resumed>) = 4 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5502] memfd_create("syzkaller", 0 [pid 5101] openat(AT_FDCWD, "./63/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5504] <... mkdir resumed>) = 0 [pid 5503] ioctl(4, LOOP_SET_FD, 3 [pid 5504] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5502] <... memfd_create resumed>) = 4 [pid 5101] <... openat resumed>) = 4 [pid 5502] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5505] close(3 [pid 5501] close(4 [pid 5101] newfstatat(4, "", [pid 5505] <... close resumed>) = 0 [pid 5502] <... mmap resumed>) = 0x7f8438200000 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5502] 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] getdents64(4, [pid 5505] close(4 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5101] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5101] close(4) = 0 [pid 5505] <... close resumed>) = 0 [pid 5503] <... ioctl resumed>) = 0 [pid 5101] rmdir("./63/file1" [pid 5505] mkdir("./file1", 0777 [pid 5503] close(3 [pid 5501] <... close resumed>) = 0 [pid 5101] <... rmdir resumed>) = 0 [pid 5505] <... mkdir resumed>) = 0 [ 155.353727][ T5505] loop5: detected capacity change from 0 to 1024 [ 155.371953][ T5503] loop2: detected capacity change from 0 to 1024 [pid 5101] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5505] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5504] <... mount resumed>) = 0 [pid 5503] <... close resumed>) = 0 [pid 5501] exit_group(0 [pid 5504] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5503] close(4 [pid 5504] <... openat resumed>) = 3 [pid 5503] <... close resumed>) = 0 [pid 5502] <... write resumed>) = 524288 [pid 5501] <... exit_group resumed>) = ? [pid 5101] close(3 [pid 5504] chdir("./file1" [pid 5503] mkdir("./file1", 0777) = 0 [pid 5504] <... chdir resumed>) = 0 [pid 5503] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5504] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5501] +++ exited with 0 +++ [pid 5101] <... close resumed>) = 0 [pid 5504] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] rmdir("./63" [pid 5504] truncate("./file1", 0 [pid 5101] <... rmdir resumed>) = 0 [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5501, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5101] mkdir("./64", 0777) = 0 [pid 5100] umount2("./63", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] <... openat resumed>) = 3 [pid 5100] openat(AT_FDCWD, "./63", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5100] <... openat resumed>) = 3 [pid 5100] newfstatat(3, "", [pid 5502] munmap(0x7f8438200000, 138412032 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5502] <... munmap resumed>) = 0 [pid 5100] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5502] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5502] close(4 [pid 5100] umount2("./63/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5504] <... truncate resumed>) = 0 [pid 5504] memfd_create("syzkaller", 0 [pid 5100] newfstatat(AT_FDCWD, "./63/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5504] <... memfd_create resumed>) = 4 [pid 5100] unlink("./63/binderfs") = 0 [pid 5100] umount2("./63/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5504] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5504] 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 5503] <... mount resumed>) = 0 [pid 5503] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5100] <... umount2 resumed>) = 0 [pid 5100] umount2("./63/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5503] <... openat resumed>) = 3 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] newfstatat(AT_FDCWD, "./63/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] umount2("./63/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5100] openat(AT_FDCWD, "./63/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5503] chdir("./file1" [pid 5502] <... close resumed>) = 0 [pid 5100] <... openat resumed>) = 4 [pid 5503] <... chdir resumed>) = 0 [pid 5100] newfstatat(4, "", [pid 5505] <... mount resumed>) = 0 [pid 5504] <... write resumed>) = 524288 [pid 5503] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5502] exit_group(0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5505] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5503] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] getdents64(4, [pid 5503] truncate("./file1", 0 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5505] <... openat resumed>) = 3 [pid 5100] getdents64(4, [pid 5505] chdir("./file1" [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] close(4) = 0 [pid 5100] rmdir("./63/file1") = 0 [pid 5502] <... exit_group resumed>) = ? [pid 5502] +++ exited with 0 +++ [pid 5505] <... chdir resumed>) = 0 [pid 5504] munmap(0x7f8438200000, 138412032 [pid 5100] getdents64(3, [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5502, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5504] <... munmap resumed>) = 0 [pid 5100] close(3) = 0 [pid 5100] rmdir("./63" [pid 5505] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5100] <... rmdir resumed>) = 0 [pid 5505] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5503] <... truncate resumed>) = 0 [pid 5098] umount2("./65", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./65", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5503] memfd_create("syzkaller", 0 [pid 5504] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5098] <... openat resumed>) = 3 [pid 5505] truncate("./file1", 0 [pid 5503] <... memfd_create resumed>) = 4 [pid 5098] newfstatat(3, "", [pid 5504] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5503] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5503] <... mmap resumed>) = 0x7f8438200000 [pid 5098] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] umount2("./65/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5504] close(4 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./65/binderfs", [pid 5100] mkdir("./64", 0777 [pid 5098] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] <... mkdir resumed>) = 0 [pid 5098] unlink("./65/binderfs") = 0 [pid 5098] umount2("./65/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5505] <... truncate resumed>) = 0 [pid 5504] <... close resumed>) = 0 [pid 5503] 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>) = 0 [pid 5505] memfd_create("syzkaller", 0 [pid 5504] exit_group(0 [pid 5505] <... memfd_create resumed>) = 4 [pid 5504] <... exit_group resumed>) = ? [pid 5503] <... write resumed>) = 524288 [pid 5505] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5098] umount2("./65/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5505] <... mmap resumed>) = 0x7f8438200000 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./65/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] <... openat resumed>) = 3 [pid 5098] umount2("./65/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./65/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 5098] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] close(4) = 0 [pid 5098] rmdir("./65/file1") = 0 [pid 5101] <... ioctl resumed>) = 0 [pid 5098] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] close(3 [pid 5101] close(3 [pid 5098] <... close resumed>) = 0 [pid 5101] <... close resumed>) = 0 [pid 5098] rmdir("./65") = 0 [pid 5503] munmap(0x7f8438200000, 138412032 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5098] mkdir("./66", 0777 [pid 5504] +++ exited with 0 +++ [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5504, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5097] restart_syscall(<... resuming interrupted clone ...> [pid 5503] <... munmap resumed>) = 0 [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5506 [pid 5098] <... mkdir resumed>) = 0 [pid 5097] <... restart_syscall resumed>) = 0 [pid 5097] umount2("./66", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] openat(AT_FDCWD, "./66", 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] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5097] getdents64(3, [pid 5505] 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 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5097] umount2("./66/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(AT_FDCWD, "./66/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] unlink("./66/binderfs" [pid 5098] <... openat resumed>) = 3 [pid 5097] <... unlink resumed>) = 0 [pid 5097] umount2("./66/file1", MNT_FORCE|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 5506 attached [pid 5098] ioctl(3, LOOP_CLR_FD) = 0 [pid 5098] close(3) = 0 [pid 5503] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5506] set_robust_list(0x55556fbaa660, 24 [pid 5097] <... umount2 resumed>) = 0 ./strace-static-x86_64: Process 5507 attached [pid 5506] <... set_robust_list resumed>) = 0 [pid 5505] <... write resumed>) = 524288 [pid 5503] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5507] set_robust_list(0x55556fbaa660, 24 [pid 5506] chdir("./64" [pid 5097] umount2("./66/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5507] <... set_robust_list resumed>) = 0 [pid 5506] <... chdir resumed>) = 0 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5507 [pid 5507] chdir("./66" [pid 5506] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5505] munmap(0x7f8438200000, 138412032 [pid 5503] close(4 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5507] <... chdir resumed>) = 0 [pid 5506] <... prctl resumed>) = 0 [pid 5097] newfstatat(AT_FDCWD, "./66/file1", [pid 5507] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5506] setpgid(0, 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5507] <... prctl resumed>) = 0 [pid 5506] <... setpgid resumed>) = 0 [pid 5097] umount2("./66/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5507] setpgid(0, 0 [pid 5506] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5507] <... setpgid resumed>) = 0 [pid 5506] <... openat resumed>) = 3 [pid 5505] <... munmap resumed>) = 0 [pid 5503] <... close resumed>) = 0 [pid 5505] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5507] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5506] write(3, "1000", 4 [pid 5505] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] openat(AT_FDCWD, "./66/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5506] <... write resumed>) = 4 [pid 5505] close(4 [pid 5097] <... openat resumed>) = 4 [pid 5506] close(3 [pid 5097] newfstatat(4, "", [pid 5507] <... openat resumed>) = 3 [pid 5506] <... close resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5507] write(3, "1000", 4 [pid 5506] symlink("/dev/binderfs", "./binderfs" [pid 5097] getdents64(4, [pid 5506] <... symlink resumed>) = 0 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5507] <... write resumed>) = 4 [pid 5097] getdents64(4, [pid 5507] close(3 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 executing program [pid 5507] <... close resumed>) = 0 [pid 5506] write(1, "executing program\n", 18 [pid 5097] close(4executing program [pid 5507] symlink("/dev/binderfs", "./binderfs" [pid 5506] <... write resumed>) = 18 [pid 5097] <... close resumed>) = 0 [pid 5503] exit_group(0 [pid 5507] <... symlink resumed>) = 0 [pid 5506] memfd_create("syzkaller", 0 [pid 5503] <... exit_group resumed>) = ? [pid 5097] rmdir("./66/file1") = 0 [pid 5507] write(1, "executing program\n", 18 [pid 5506] <... memfd_create resumed>) = 3 [pid 5097] getdents64(3, [pid 5507] <... write resumed>) = 18 [pid 5506] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] close(3) = 0 [pid 5507] memfd_create("syzkaller", 0 [pid 5097] rmdir("./66") = 0 [pid 5506] <... mmap resumed>) = 0x7f8438200000 [pid 5506] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5503] +++ exited with 0 +++ [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5503, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5507] <... memfd_create resumed>) = 3 [pid 5507] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5507] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] mkdir("./67", 0777) = 0 [pid 5099] umount2("./65", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "./65", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5506] <... write resumed>) = 524288 [pid 5099] <... openat resumed>) = 3 [pid 5507] <... write resumed>) = 524288 [pid 5505] <... close resumed>) = 0 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5099] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] <... openat resumed>) = 3 [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5100] <... ioctl resumed>) = 0 [pid 5099] getdents64(3, [pid 5100] close(3 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5100] <... close resumed>) = 0 [pid 5099] umount2("./65/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] newfstatat(AT_FDCWD, "./65/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] unlink("./65/binderfs") = 0 [pid 5099] umount2("./65/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5505] exit_group(0) = ? ./strace-static-x86_64: Process 5508 attached [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5508 [pid 5508] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5508] chdir("./64") = 0 [pid 5506] munmap(0x7f8438200000, 138412032 [pid 5508] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5506] <... munmap resumed>) = 0 [pid 5508] <... prctl resumed>) = 0 [pid 5507] munmap(0x7f8438200000, 138412032 [pid 5505] +++ exited with 0 +++ [pid 5508] setpgid(0, 0 [pid 5507] <... munmap resumed>) = 0 [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5505, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5508] <... setpgid resumed>) = 0 [pid 5507] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5508] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5507] <... openat resumed>) = 4 [pid 5508] <... openat resumed>) = 3 [pid 5507] ioctl(4, LOOP_SET_FD, 3 [pid 5508] write(3, "1000", 4 [pid 5506] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5508] <... write resumed>) = 4 [pid 5506] <... openat resumed>) = 4 [pid 5508] close(3 [pid 5506] ioctl(4, LOOP_SET_FD, 3 [pid 5103] umount2("./64", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5508] <... close resumed>) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5508] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5103] openat(AT_FDCWD, "./64", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORYexecuting program ) = 3 [pid 5097] <... ioctl resumed>) = 0 [pid 5508] write(1, "executing program\n", 18) = 18 [pid 5508] memfd_create("syzkaller", 0 [pid 5103] newfstatat(3, "", [pid 5508] <... memfd_create resumed>) = 3 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5508] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] getdents64(3, [pid 5508] <... mmap resumed>) = 0x7f8438200000 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] <... umount2 resumed>) = 0 [pid 5097] close(3 [pid 5508] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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("./64/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] umount2("./65/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... close resumed>) = 0 [pid 5507] <... ioctl resumed>) = 0 [pid 5507] close(3) = 0 [pid 5507] close(4) = 0 [pid 5507] mkdir("./file1", 0777 [pid 5506] <... ioctl resumed>) = 0 [pid 5507] <... mkdir resumed>) = 0 [pid 5103] newfstatat(AT_FDCWD, "./64/binderfs", [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5507] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5506] close(3) = 0 [pid 5103] unlink("./64/binderfs" [pid 5099] newfstatat(AT_FDCWD, "./65/file1", [pid 5506] close(4) = 0 [ 155.696510][ T5507] loop1: detected capacity change from 0 to 1024 [ 155.705759][ T5506] loop4: detected capacity change from 0 to 1024 [pid 5506] mkdir("./file1", 0777) = 0 [pid 5103] <... unlink resumed>) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5509 [pid 5506] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5103] umount2("./64/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] umount2("./65/file1", MNT_FORCE|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 5509 attached [pid 5508] <... write resumed>) = 524288 [pid 5103] <... umount2 resumed>) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5509] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5099] openat(AT_FDCWD, "./65/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5509] chdir("./67" [pid 5099] <... openat resumed>) = 4 [pid 5509] <... chdir resumed>) = 0 [pid 5099] newfstatat(4, "", [pid 5509] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5509] <... prctl resumed>) = 0 [pid 5099] getdents64(4, [pid 5509] setpgid(0, 0) = 0 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5509] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5506] <... mount resumed>) = 0 [pid 5103] umount2("./64/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] getdents64(4, [pid 5506] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5509] <... openat resumed>) = 3 [pid 5506] <... openat resumed>) = 3 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5509] write(3, "1000", 4 [pid 5506] chdir("./file1" [pid 5099] close(4 [pid 5509] <... write resumed>) = 4 [pid 5506] <... chdir resumed>) = 0 [pid 5103] newfstatat(AT_FDCWD, "./64/file1", [pid 5509] close(3 [pid 5506] openat(AT_FDCWD, "/dev/loop4", O_RDWRexecuting program [pid 5099] <... close resumed>) = 0 [pid 5509] <... close resumed>) = 0 [pid 5506] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5509] symlink("/dev/binderfs", "./binderfs" [pid 5506] truncate("./file1", 0 [pid 5103] umount2("./64/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5509] <... symlink resumed>) = 0 [pid 5507] <... mount resumed>) = 0 [pid 5506] <... truncate resumed>) = 0 [pid 5509] write(1, "executing program\n", 18 [pid 5507] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5506] memfd_create("syzkaller", 0 [pid 5507] <... openat resumed>) = 3 [pid 5506] <... memfd_create resumed>) = 4 [pid 5509] <... write resumed>) = 18 [pid 5508] munmap(0x7f8438200000, 138412032 [pid 5507] chdir("./file1" [pid 5506] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] rmdir("./65/file1" [pid 5509] memfd_create("syzkaller", 0 [pid 5507] <... chdir resumed>) = 0 [pid 5506] <... mmap resumed>) = 0x7f8438200000 [pid 5509] <... memfd_create resumed>) = 3 [pid 5508] <... munmap resumed>) = 0 [pid 5507] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5506] 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, "./64/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] <... rmdir resumed>) = 0 [pid 5509] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5507] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] <... openat resumed>) = 4 [pid 5099] getdents64(3, [pid 5103] newfstatat(4, "", [pid 5508] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5507] truncate("./file1", 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5509] <... mmap resumed>) = 0x7f8438200000 [pid 5103] getdents64(4, [pid 5099] close(3) = 0 [pid 5508] <... openat resumed>) = 4 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5099] rmdir("./65" [pid 5508] ioctl(4, LOOP_SET_FD, 3 [pid 5507] <... truncate resumed>) = 0 [pid 5509] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5508] <... ioctl resumed>) = 0 [pid 5507] memfd_create("syzkaller", 0 [pid 5506] <... write resumed>) = 524288 [pid 5103] getdents64(4, [pid 5099] <... rmdir resumed>) = 0 [pid 5508] close(3 [pid 5507] <... memfd_create resumed>) = 4 [pid 5508] <... close resumed>) = 0 [pid 5507] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5508] close(4 [pid 5507] <... mmap resumed>) = 0x7f8438200000 [pid 5508] <... close resumed>) = 0 [pid 5507] 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>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] mkdir("./66", 0777 [pid 5103] close(4 [pid 5508] mkdir("./file1", 0777) = 0 [pid 5103] <... close resumed>) = 0 [pid 5099] <... mkdir resumed>) = 0 [pid 5103] rmdir("./64/file1" [pid 5508] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5103] <... rmdir resumed>) = 0 [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5506] munmap(0x7f8438200000, 138412032 [pid 5103] getdents64(3, [pid 5506] <... munmap resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5506] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5103] close(3 [pid 5507] <... write resumed>) = 524288 [pid 5103] <... close resumed>) = 0 [pid 5509] <... write resumed>) = 524288 [pid 5508] <... mount resumed>) = 0 [ 155.792594][ T5508] loop3: detected capacity change from 0 to 1024 [pid 5507] munmap(0x7f8438200000, 138412032 [pid 5103] rmdir("./64" [pid 5507] <... munmap resumed>) = 0 [pid 5103] <... rmdir resumed>) = 0 [pid 5509] munmap(0x7f8438200000, 138412032 [pid 5103] mkdir("./65", 0777 [pid 5508] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5506] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5508] <... openat resumed>) = 3 [pid 5507] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5506] close(4 [pid 5507] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5506] <... close resumed>) = 0 [pid 5103] <... mkdir resumed>) = 0 [pid 5509] <... munmap resumed>) = 0 [pid 5507] close(4 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5509] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5508] chdir("./file1" [pid 5507] <... close resumed>) = 0 [pid 5103] <... openat resumed>) = 3 [pid 5508] <... chdir resumed>) = 0 [pid 5508] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5509] <... openat resumed>) = 4 [pid 5508] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5508] truncate("./file1", 0 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5506] exit_group(0 [pid 5508] <... truncate resumed>) = 0 [pid 5508] memfd_create("syzkaller", 0) = 4 [pid 5508] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5506] <... exit_group resumed>) = ? [pid 5509] ioctl(4, LOOP_SET_FD, 3 [pid 5508] <... mmap resumed>) = 0x7f8438200000 [pid 5506] +++ exited with 0 +++ [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5506, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5101] restart_syscall(<... resuming interrupted clone ...> [pid 5508] 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] <... restart_syscall resumed>) = 0 [pid 5507] exit_group(0) = ? [pid 5101] umount2("./64", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] openat(AT_FDCWD, "./64", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5507] +++ exited with 0 +++ [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5507, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5101] <... openat resumed>) = 3 [pid 5509] <... ioctl resumed>) = 0 [pid 5101] newfstatat(3, "", [pid 5099] <... ioctl resumed>) = 0 [pid 5098] umount2("./66", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] close(3 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./66", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] getdents64(3, [pid 5099] <... close resumed>) = 0 [pid 5098] <... openat resumed>) = 3 [pid 5098] newfstatat(3, "", [pid 5509] close(3 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [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 5509] <... close resumed>) = 0 [pid 5101] umount2("./64/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] getdents64(3, [pid 5509] close(4 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] newfstatat(AT_FDCWD, "./64/binderfs", [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5510 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] umount2("./66/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./66/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] unlink("./66/binderfs") = 0 [pid 5098] umount2("./66/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5509] <... close resumed>) = 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 ./strace-static-x86_64: Process 5510 attached [pid 5098] <... umount2 resumed>) = 0 [pid 5510] set_robust_list(0x55556fbaa660, 24 [pid 5101] unlink("./64/binderfs" [pid 5098] umount2("./66/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5510] <... set_robust_list resumed>) = 0 [pid 5509] mkdir("./file1", 0777 [pid 5508] <... write resumed>) = 524288 [pid 5101] <... unlink resumed>) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./66/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] umount2("./66/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./66/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] umount2("./64/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... openat resumed>) = 4 [pid 5509] <... mkdir resumed>) = 0 [pid 5098] newfstatat(4, "", [pid 5509] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] getdents64(4, [pid 5510] chdir("./66" [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5510] <... chdir resumed>) = 0 [pid 5098] getdents64(4, [pid 5510] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] close(4) = 0 [pid 5098] rmdir("./66/file1") = 0 [pid 5510] <... prctl resumed>) = 0 [pid 5510] setpgid(0, 0 [pid 5508] munmap(0x7f8438200000, 138412032 [pid 5103] <... ioctl resumed>) = 0 [pid 5098] getdents64(3, [pid 5510] <... setpgid resumed>) = 0 [pid 5510] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5508] <... munmap resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] close(3) = 0 [pid 5098] rmdir("./66" [pid 5508] openat(AT_FDCWD, "/dev/loop3", O_RDWR [ 155.888589][ T5509] loop0: detected capacity change from 0 to 1024 [pid 5103] close(3 [pid 5098] <... rmdir resumed>) = 0 [pid 5510] write(3, "1000", 4 [pid 5508] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] <... close resumed>) = 0 [pid 5101] <... umount2 resumed>) = 0 executing program [pid 5510] <... write resumed>) = 4 [pid 5508] close(4 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5510] close(3) = 0 [pid 5510] symlink("/dev/binderfs", "./binderfs" [pid 5098] mkdir("./67", 0777) = 0 [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5510] <... symlink resumed>) = 0 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5510] write(1, "executing program\n", 18) = 18 [pid 5510] memfd_create("syzkaller", 0./strace-static-x86_64: Process 5511 attached [pid 5509] <... mount resumed>) = 0 [pid 5508] <... close resumed>) = 0 [pid 5101] umount2("./64/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5510] <... memfd_create resumed>) = 3 [pid 5509] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5511] set_robust_list(0x55556fbaa660, 24 [pid 5510] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5509] <... openat resumed>) = 3 [pid 5508] exit_group(0 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5511 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5510] <... mmap resumed>) = 0x7f8438200000 [pid 5509] chdir("./file1" [pid 5101] newfstatat(AT_FDCWD, "./64/file1", [pid 5511] <... set_robust_list resumed>) = 0 [pid 5510] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5509] <... chdir resumed>) = 0 [pid 5508] <... exit_group resumed>) = ? [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5511] chdir("./65" [pid 5509] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5511] <... chdir resumed>) = 0 [pid 5509] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] umount2("./64/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... ioctl resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] openat(AT_FDCWD, "./64/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5511] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5101] newfstatat(4, "", [pid 5511] <... prctl resumed>) = 0 [pid 5508] +++ exited with 0 +++ [pid 5509] truncate("./file1", 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5511] setpgid(0, 0 [pid 5101] getdents64(4, [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5508, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5511] <... setpgid resumed>) = 0 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5511] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5101] getdents64(4, [pid 5511] <... openat resumed>) = 3 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] umount2("./64", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5511] write(3, "1000", 4 [pid 5101] close(4 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5511] <... write resumed>) = 4 [pid 5101] <... close resumed>) = 0 [pid 5100] openat(AT_FDCWD, "./64", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5511] close(3 [pid 5101] rmdir("./64/file1" [pid 5100] <... openat resumed>) = 3 [pid 5511] <... close resumed>) = 0 [pid 5510] <... write resumed>) = 524288 [pid 5101] <... rmdir resumed>) = 0 [pid 5100] newfstatat(3, "", [pid 5511] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5509] <... truncate resumed>) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5509] memfd_create("syzkaller", 0 [pid 5511] write(1, "executing program\n", 18 [pid 5101] getdents64(3, [pid 5100] getdents64(3, executing program [pid 5511] <... write resumed>) = 18 [pid 5509] <... memfd_create resumed>) = 4 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5509] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5511] memfd_create("syzkaller", 0 [pid 5509] <... mmap resumed>) = 0x7f8438200000 [pid 5101] close(3 [pid 5100] umount2("./64/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... close resumed>) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] rmdir("./64" [pid 5100] newfstatat(AT_FDCWD, "./64/binderfs", [pid 5101] <... rmdir resumed>) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5511] <... memfd_create resumed>) = 3 [pid 5101] mkdir("./65", 0777 [pid 5100] unlink("./64/binderfs" [pid 5098] close(3 [pid 5509] 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 resumed>) = 0 [pid 5100] <... unlink resumed>) = 0 [pid 5098] <... close resumed>) = 0 [pid 5100] umount2("./64/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5511] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5100] <... umount2 resumed>) = 0 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5512 [pid 5101] <... openat resumed>) = 3 [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5511] <... mmap resumed>) = 0x7f8438200000 [pid 5511] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288./strace-static-x86_64: Process 5512 attached [pid 5512] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5512] chdir("./67") = 0 [pid 5512] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5512] setpgid(0, 0) = 0 [pid 5512] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5510] munmap(0x7f8438200000, 138412032 [pid 5512] <... openat resumed>) = 3 [pid 5510] <... munmap resumed>) = 0 [pid 5512] write(3, "1000", 4) = 4 [pid 5512] close(3) = 0 [pid 5512] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 5100] umount2("./64/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5512] write(1, "executing program\n", 18 [pid 5510] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5512] <... write resumed>) = 18 [pid 5510] <... openat resumed>) = 4 [pid 5512] memfd_create("syzkaller", 0 [pid 5510] ioctl(4, LOOP_SET_FD, 3 [pid 5509] <... write resumed>) = 524288 [pid 5512] <... memfd_create resumed>) = 3 [pid 5509] munmap(0x7f8438200000, 138412032 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] newfstatat(AT_FDCWD, "./64/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5512] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5509] <... munmap resumed>) = 0 [pid 5100] umount2("./64/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5510] <... ioctl resumed>) = 0 [pid 5509] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5100] openat(AT_FDCWD, "./64/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5509] close(4 [pid 5512] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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(4, "", [pid 5511] <... write resumed>) = 524288 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5511] munmap(0x7f8438200000, 138412032 [pid 5510] close(3 [pid 5509] <... close resumed>) = 0 [pid 5101] <... ioctl resumed>) = 0 [pid 5100] getdents64(4, [pid 5512] <... write resumed>) = 524288 [pid 5510] <... close resumed>) = 0 [pid 5511] <... munmap resumed>) = 0 [pid 5510] close(4) = 0 [pid 5510] mkdir("./file1", 0777) = 0 [pid 5509] exit_group(0 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5509] <... exit_group resumed>) = ? [pid 5100] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5512] munmap(0x7f8438200000, 138412032 [pid 5511] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5512] <... munmap resumed>) = 0 [pid 5511] <... openat resumed>) = 4 [pid 5100] close(4) = 0 [pid 5100] rmdir("./64/file1" [pid 5511] ioctl(4, LOOP_SET_FD, 3 [pid 5510] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5100] <... rmdir resumed>) = 0 [pid 5512] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 5100] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [ 156.062353][ T5510] loop2: detected capacity change from 0 to 1024 [pid 5100] close(3 [pid 5512] ioctl(4, LOOP_SET_FD, 3 [pid 5101] close(3) = 0 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5509] +++ exited with 0 +++ [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5509, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5100] <... close resumed>) = 0 [pid 5100] rmdir("./64" [pid 5097] umount2("./67", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5513 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] openat(AT_FDCWD, "./67", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5097] newfstatat(3, "", [pid 5100] <... rmdir resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5097] umount2("./67/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(AT_FDCWD, "./67/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 ./strace-static-x86_64: Process 5513 attached [pid 5100] mkdir("./65", 0777 [pid 5097] unlink("./67/binderfs") = 0 [pid 5097] umount2("./67/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... mkdir resumed>) = 0 [pid 5513] set_robust_list(0x55556fbaa660, 24 [pid 5511] <... ioctl resumed>) = 0 [pid 5511] close(3) = 0 [pid 5511] close(4) = 0 [pid 5511] mkdir("./file1", 0777 [pid 5513] <... set_robust_list resumed>) = 0 [pid 5511] <... mkdir resumed>) = 0 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5097] <... umount2 resumed>) = 0 [pid 5100] <... openat resumed>) = 3 [pid 5513] chdir("./65" [pid 5510] <... mount resumed>) = 0 [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5511] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5513] <... chdir resumed>) = 0 [pid 5512] <... ioctl resumed>) = 0 [pid 5510] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5513] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5510] <... openat resumed>) = 3 [pid 5513] <... prctl resumed>) = 0 [pid 5512] close(3 [pid 5510] chdir("./file1" [pid 5097] umount2("./67/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5513] setpgid(0, 0 [pid 5512] <... close resumed>) = 0 [pid 5510] <... chdir resumed>) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5513] <... setpgid resumed>) = 0 [pid 5512] close(4 [pid 5510] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5513] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5512] <... close resumed>) = 0 [pid 5510] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] newfstatat(AT_FDCWD, "./67/file1", [pid 5512] mkdir("./file1", 0777 [pid 5510] truncate("./file1", 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5513] <... openat resumed>) = 3 [pid 5513] write(3, "1000", 4) = 4 [ 156.114283][ T5511] loop5: detected capacity change from 0 to 1024 [ 156.130577][ T5512] loop1: detected capacity change from 0 to 1024 [pid 5097] umount2("./67/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5511] <... mount resumed>) = 0 [pid 5097] openat(AT_FDCWD, "./67/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5512] <... mkdir resumed>) = 0 [pid 5512] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5511] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5097] <... openat resumed>) = 4 [pid 5511] <... openat resumed>) = 3 [pid 5097] newfstatat(4, "", [pid 5511] chdir("./file1" [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5511] <... chdir resumed>) = 0 [pid 5097] getdents64(4, [pid 5511] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5511] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5511] truncate("./file1", 0 [pid 5097] getdents64(4, [pid 5513] close(3 [pid 5100] <... ioctl resumed>) = 0 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] close(4) = 0 [pid 5097] rmdir("./67/file1") = 0 [pid 5097] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] close(3) = 0 [pid 5097] rmdir("./67" [pid 5513] <... close resumed>) = 0 [pid 5511] <... truncate resumed>) = 0 [pid 5510] <... truncate resumed>) = 0 [pid 5100] close(3 [pid 5513] symlink("/dev/binderfs", "./binderfs" [pid 5511] memfd_create("syzkaller", 0 [pid 5510] memfd_create("syzkaller", 0 [pid 5100] <... close resumed>) = 0 [pid 5097] <... rmdir resumed>) = 0 [pid 5511] <... memfd_create resumed>) = 4 [pid 5510] <... memfd_create resumed>) = 4 [pid 5513] <... symlink resumed>) = 0 [pid 5511] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5510] 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|SIGCHLDexecuting program [pid 5513] write(1, "executing program\n", 18 [pid 5511] <... mmap resumed>) = 0x7f8438200000 [pid 5510] <... mmap resumed>) = 0x7f8438200000 ./strace-static-x86_64: Process 5514 attached [pid 5513] <... write resumed>) = 18 [pid 5511] 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 5510] 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 5514] set_robust_list(0x55556fbaa660, 24 [pid 5513] memfd_create("syzkaller", 0 [pid 5512] <... mount resumed>) = 0 [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5514 [pid 5097] mkdir("./68", 0777 [pid 5514] <... set_robust_list resumed>) = 0 [pid 5513] <... memfd_create resumed>) = 3 [pid 5097] <... mkdir resumed>) = 0 [pid 5513] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5514] chdir("./65" [pid 5513] <... mmap resumed>) = 0x7f8438200000 [pid 5512] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5514] <... chdir resumed>) = 0 [pid 5513] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5512] <... openat resumed>) = 3 [pid 5514] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5512] chdir("./file1" [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5514] setpgid(0, 0 [pid 5512] <... chdir resumed>) = 0 [pid 5097] <... openat resumed>) = 3 [pid 5514] <... setpgid resumed>) = 0 [pid 5512] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5514] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5512] truncate("./file1", 0 [pid 5514] <... openat resumed>) = 3 [pid 5514] write(3, "1000", 4) = 4 [pid 5514] close(3 [pid 5511] <... write resumed>) = 524288 [pid 5514] <... close resumed>) = 0 [pid 5510] <... write resumed>) = 524288 [pid 5512] <... truncate resumed>) = 0 [pid 5512] memfd_create("syzkaller", 0) = 4 [pid 5512] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5514] symlink("/dev/binderfs", "./binderfs" [pid 5512] 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 5514] <... symlink resumed>) = 0 [pid 5513] <... write resumed>) = 524288 [pid 5511] munmap(0x7f8438200000, 138412032) = 0 [pid 5514] write(1, "executing program\n", 18 [pid 5513] munmap(0x7f8438200000, 138412032executing program [pid 5514] <... write resumed>) = 18 [pid 5513] <... munmap resumed>) = 0 [pid 5510] munmap(0x7f8438200000, 138412032 [pid 5511] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5510] <... munmap resumed>) = 0 [pid 5511] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5511] close(4 [pid 5514] memfd_create("syzkaller", 0 [pid 5510] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5510] close(4) = 0 [pid 5513] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5514] <... memfd_create resumed>) = 3 [pid 5513] <... openat resumed>) = 4 [pid 5097] <... ioctl resumed>) = 0 [pid 5514] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5513] ioctl(4, LOOP_SET_FD, 3 [pid 5514] <... mmap resumed>) = 0x7f8438200000 [pid 5511] <... close resumed>) = 0 [pid 5512] <... write resumed>) = 524288 [pid 5512] munmap(0x7f8438200000, 138412032 [pid 5514] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5513] <... ioctl resumed>) = 0 [pid 5512] <... munmap resumed>) = 0 [pid 5513] close(3 [pid 5511] exit_group(0 [pid 5513] <... close resumed>) = 0 [pid 5511] <... exit_group resumed>) = ? [pid 5513] close(4) = 0 [pid 5510] exit_group(0 [pid 5512] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5510] <... exit_group resumed>) = ? [pid 5513] mkdir("./file1", 0777) = 0 [pid 5510] +++ exited with 0 +++ [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5510, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5099] restart_syscall(<... resuming interrupted clone ...> [pid 5512] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] <... restart_syscall resumed>) = 0 [pid 5512] close(4 [pid 5099] umount2("./66", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] close(3 [pid 5099] openat(AT_FDCWD, "./66", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] <... close resumed>) = 0 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5513] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5511] +++ exited with 0 +++ [pid 5099] <... openat resumed>) = 3 [pid 5099] newfstatat(3, "", [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5511, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5512] <... close resumed>) = 0 [pid 5099] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5515 ./strace-static-x86_64: Process 5515 attached [pid 5103] umount2("./65", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] umount2("./66/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [ 156.282103][ T5513] loop4: detected capacity change from 0 to 1024 [pid 5515] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5515] chdir("./68" [pid 5103] openat(AT_FDCWD, "./65", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] newfstatat(AT_FDCWD, "./66/binderfs", [pid 5515] <... chdir resumed>) = 0 [pid 5515] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5103] <... openat resumed>) = 3 [pid 5515] <... prctl resumed>) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5515] setpgid(0, 0 [pid 5103] newfstatat(3, "", [pid 5515] <... setpgid resumed>) = 0 [pid 5515] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] unlink("./66/binderfs" [pid 5103] getdents64(3, [pid 5515] write(3, "1000", 4 [pid 5099] <... unlink resumed>) = 0 [pid 5515] <... write resumed>) = 4 [pid 5512] exit_group(0 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5515] close(3 [pid 5099] umount2("./66/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5515] <... close resumed>) = 0 [pid 5515] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5103] umount2("./65/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5512] <... exit_group resumed>) = ? [pid 5515] write(1, "executing program\n", 18 [pid 5514] <... write resumed>) = 524288 [pid 5103] newfstatat(AT_FDCWD, "./65/binderfs", executing program {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5514] munmap(0x7f8438200000, 138412032 [pid 5103] unlink("./65/binderfs" [pid 5515] <... write resumed>) = 18 [pid 5514] <... munmap resumed>) = 0 [pid 5515] memfd_create("syzkaller", 0 [pid 5103] <... unlink resumed>) = 0 [pid 5103] umount2("./65/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5515] <... memfd_create resumed>) = 3 [pid 5512] +++ exited with 0 +++ [pid 5515] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5512, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5515] <... mmap resumed>) = 0x7f8438200000 [pid 5513] <... mount resumed>) = 0 [pid 5103] <... umount2 resumed>) = 0 [pid 5098] umount2("./67", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5515] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5514] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5513] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./67", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5514] <... openat resumed>) = 4 [pid 5513] <... openat resumed>) = 3 [pid 5098] <... openat resumed>) = 3 [pid 5513] chdir("./file1") = 0 [pid 5098] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5513] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5098] getdents64(3, [pid 5514] ioctl(4, LOOP_SET_FD, 3 [pid 5513] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5513] truncate("./file1", 0 [pid 5098] umount2("./67/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./67/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] umount2("./65/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] unlink("./67/binderfs" [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... unlink resumed>) = 0 [pid 5103] newfstatat(AT_FDCWD, "./65/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5515] <... write resumed>) = 524288 [pid 5103] umount2("./65/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] umount2("./67/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5513] <... truncate resumed>) = 0 [pid 5103] openat(AT_FDCWD, "./65/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5513] memfd_create("syzkaller", 0 [pid 5103] <... openat resumed>) = 4 [pid 5513] <... memfd_create resumed>) = 4 [pid 5103] newfstatat(4, "", [pid 5513] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] <... umount2 resumed>) = 0 [pid 5513] <... mmap resumed>) = 0x7f8438200000 [pid 5103] getdents64(4, [pid 5099] umount2("./66/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] newfstatat(AT_FDCWD, "./66/file1", [pid 5513] 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(4, [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] umount2("./66/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... umount2 resumed>) = 0 [pid 5514] <... ioctl resumed>) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] close(4) = 0 [pid 5099] openat(AT_FDCWD, "./66/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5103] rmdir("./65/file1") = 0 [pid 5099] <... openat resumed>) = 4 [pid 5099] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5103] close(3) = 0 [pid 5103] rmdir("./65" [pid 5514] close(3 [pid 5103] <... rmdir resumed>) = 0 [pid 5099] getdents64(4, [pid 5514] <... close resumed>) = 0 [pid 5515] munmap(0x7f8438200000, 138412032 [pid 5514] close(4 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] umount2("./67/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./67/file1", [pid 5515] <... munmap resumed>) = 0 [pid 5514] <... close resumed>) = 0 [pid 5099] getdents64(4, [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] mkdir("./66", 0777) = 0 [pid 5098] umount2("./67/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5515] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5098] openat(AT_FDCWD, "./67/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5515] <... openat resumed>) = 4 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5098] <... openat resumed>) = 4 [pid 5103] <... openat resumed>) = 3 [pid 5098] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5514] mkdir("./file1", 0777 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [ 156.379706][ T5514] loop3: detected capacity change from 0 to 1024 [pid 5515] ioctl(4, LOOP_SET_FD, 3 [pid 5514] <... mkdir resumed>) = 0 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5099] close(4 [pid 5098] getdents64(4, [pid 5099] <... close resumed>) = 0 [pid 5514] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5099] rmdir("./66/file1" [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] getdents64(4, [pid 5103] <... ioctl resumed>) = 0 [pid 5099] <... rmdir resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5513] <... write resumed>) = 524288 [pid 5099] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] close(4 [pid 5103] close(3 [pid 5098] <... close resumed>) = 0 [pid 5103] <... close resumed>) = 0 [pid 5098] rmdir("./67/file1" [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5099] close(3 [pid 5098] <... rmdir resumed>) = 0 [pid 5099] <... close resumed>) = 0 [pid 5099] rmdir("./66" [pid 5513] munmap(0x7f8438200000, 138412032 [pid 5098] getdents64(3, [pid 5513] <... munmap resumed>) = 0 [pid 5099] <... rmdir resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5099] mkdir("./67", 0777 [pid 5098] close(3 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5516 [pid 5098] <... close resumed>) = 0 [pid 5098] rmdir("./67") = 0 [pid 5513] openat(AT_FDCWD, "/dev/loop4", O_RDWR./strace-static-x86_64: Process 5516 attached ) = -1 EBUSY (Device or resource busy) [pid 5098] mkdir("./68", 0777 [pid 5099] <... mkdir resumed>) = 0 [pid 5098] <... mkdir resumed>) = 0 [pid 5516] set_robust_list(0x55556fbaa660, 24 [pid 5513] close(4executing program [pid 5516] <... set_robust_list resumed>) = 0 [pid 5516] chdir("./66") = 0 [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5516] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5098] <... openat resumed>) = 3 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5516] <... prctl resumed>) = 0 [pid 5516] setpgid(0, 0) = 0 [pid 5516] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5515] <... ioctl resumed>) = 0 [pid 5516] <... openat resumed>) = 3 [pid 5515] close(3 [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5515] <... close resumed>) = 0 [pid 5515] close(4) = 0 [pid 5515] mkdir("./file1", 0777) = 0 [pid 5513] <... close resumed>) = 0 [pid 5516] write(3, "1000", 4) = 4 [pid 5515] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5516] close(3) = 0 [pid 5516] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5516] write(1, "executing program\n", 18 [pid 5099] <... openat resumed>) = 3 [pid 5516] <... write resumed>) = 18 [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5516] memfd_create("syzkaller", 0 [pid 5515] <... mount resumed>) = 0 [pid 5516] <... memfd_create resumed>) = 3 [pid 5515] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5516] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5515] <... openat resumed>) = 3 [pid 5516] <... mmap resumed>) = 0x7f8438200000 [pid 5515] chdir("./file1" [pid 5513] exit_group(0 [pid 5515] <... chdir resumed>) = 0 [pid 5515] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5513] <... exit_group resumed>) = ? [ 156.437208][ T5515] loop0: detected capacity change from 0 to 1024 [pid 5515] truncate("./file1", 0 [pid 5514] <... mount resumed>) = 0 [pid 5513] +++ exited with 0 +++ [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5513, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5515] <... truncate resumed>) = 0 [pid 5515] memfd_create("syzkaller", 0) = 4 [pid 5515] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5516] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5515] 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 5516] <... write resumed>) = 524288 [pid 5514] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5515] <... write resumed>) = 524288 [pid 5101] umount2("./65", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5516] munmap(0x7f8438200000, 138412032) = 0 [pid 5514] <... openat resumed>) = 3 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5516] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 5516] ioctl(4, LOOP_SET_FD, 3 [pid 5514] chdir("./file1" [pid 5101] openat(AT_FDCWD, "./65", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] <... ioctl resumed>) = 0 [pid 5098] close(3 [pid 5101] <... openat resumed>) = 3 [pid 5514] <... chdir resumed>) = 0 [pid 5101] newfstatat(3, "", [pid 5098] <... close resumed>) = 0 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5514] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] <... ioctl resumed>) = 0 [pid 5101] getdents64(3, [pid 5514] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] close(3 [pid 5514] truncate("./file1", 0 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] <... close resumed>) = 0 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5101] umount2("./65/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] newfstatat(AT_FDCWD, "./65/binderfs", [pid 5515] munmap(0x7f8438200000, 138412032 [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5515] <... munmap resumed>) = 0 [pid 5101] unlink("./65/binderfs" [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5517 ./strace-static-x86_64: Process 5517 attached [pid 5517] set_robust_list(0x55556fbaa660, 24 [pid 5515] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5518 [pid 5517] <... set_robust_list resumed>) = 0 [pid 5515] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] <... unlink resumed>) = 0 [pid 5517] chdir("./68" [pid 5515] close(4 [pid 5101] umount2("./65/file1", MNT_FORCE|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 5518 attached [pid 5518] set_robust_list(0x55556fbaa660, 24 [pid 5517] <... chdir resumed>) = 0 [pid 5518] <... set_robust_list resumed>) = 0 [pid 5517] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5514] <... truncate resumed>) = 0 [pid 5517] <... prctl resumed>) = 0 [pid 5514] memfd_create("syzkaller", 0 [pid 5518] chdir("./67" [pid 5517] setpgid(0, 0 [pid 5514] <... memfd_create resumed>) = 4 [pid 5517] <... setpgid resumed>) = 0 [pid 5517] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5516] <... ioctl resumed>) = 0 [pid 5518] <... chdir resumed>) = 0 [pid 5517] <... openat resumed>) = 3 [pid 5516] close(3) = 0 [pid 5517] write(3, "1000", 4 [pid 5516] close(4 [pid 5517] <... write resumed>) = 4 executing program [pid 5516] <... close resumed>) = 0 [pid 5518] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5514] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5518] <... prctl resumed>) = 0 [pid 5517] close(3 [pid 5518] setpgid(0, 0 [pid 5516] mkdir("./file1", 0777 [pid 5514] <... mmap resumed>) = 0x7f8438200000 [pid 5516] <... mkdir resumed>) = 0 [pid 5517] <... close resumed>) = 0 [pid 5517] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5517] write(1, "executing program\n", 18 [pid 5516] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5518] <... setpgid resumed>) = 0 [pid 5517] <... write resumed>) = 18 [pid 5516] <... mount resumed>) = 0 [pid 5514] 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 5517] memfd_create("syzkaller", 0 [pid 5516] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5515] <... close resumed>) = 0 [pid 5516] <... openat resumed>) = 3 [pid 5518] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5516] chdir("./file1") = 0 [pid 5517] <... memfd_create resumed>) = 3 [pid 5516] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5517] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5516] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] <... umount2 resumed>) = 0 [pid 5517] <... mmap resumed>) = 0x7f8438200000 [pid 5516] truncate("./file1", 0 [ 156.518908][ T5516] loop5: detected capacity change from 0 to 1024 [pid 5515] exit_group(0 [pid 5518] <... openat resumed>) = 3 [pid 5517] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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("./65/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5515] <... exit_group resumed>) = ? [pid 5518] write(3, "1000", 4 [pid 5515] +++ exited with 0 +++ [pid 5101] newfstatat(AT_FDCWD, "./65/file1", [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5515, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5097] umount2("./68", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] openat(AT_FDCWD, "./68", 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("./68/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(AT_FDCWD, "./68/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] unlink("./68/binderfs") = 0 [pid 5518] <... write resumed>) = 4 [pid 5517] <... write resumed>) = 524288 [pid 5516] <... truncate resumed>) = 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] umount2("./68/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5518] close(3 [pid 5101] umount2("./65/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5518] <... close resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5516] memfd_create("syzkaller", 0 [pid 5518] symlink("/dev/binderfs", "./binderfs" [pid 5101] openat(AT_FDCWD, "./65/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5518] <... symlink resumed>) = 0 executing program [pid 5517] munmap(0x7f8438200000, 138412032 [pid 5516] <... memfd_create resumed>) = 4 [pid 5514] <... write resumed>) = 524288 [pid 5101] <... openat resumed>) = 4 [pid 5097] <... umount2 resumed>) = 0 [pid 5518] write(1, "executing program\n", 18 [pid 5101] newfstatat(4, "", [pid 5097] umount2("./68/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5518] <... write resumed>) = 18 [pid 5516] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5514] munmap(0x7f8438200000, 138412032 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5518] memfd_create("syzkaller", 0 [pid 5517] <... munmap resumed>) = 0 [pid 5516] <... mmap resumed>) = 0x7f8438200000 [pid 5101] getdents64(4, [pid 5097] newfstatat(AT_FDCWD, "./68/file1", [pid 5518] <... memfd_create resumed>) = 3 [pid 5514] <... munmap resumed>) = 0 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5518] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] getdents64(4, [pid 5097] umount2("./68/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5518] <... mmap resumed>) = 0x7f8438200000 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] close(4) = 0 [pid 5517] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5101] rmdir("./65/file1" [pid 5517] <... openat resumed>) = 4 [pid 5514] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5101] <... rmdir resumed>) = 0 [pid 5097] openat(AT_FDCWD, "./68/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5518] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5517] ioctl(4, LOOP_SET_FD, 3 [pid 5516] 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 5514] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] getdents64(3, [pid 5097] <... openat resumed>) = 4 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] newfstatat(4, "", [pid 5101] close(3 [pid 5514] close(4 [pid 5101] <... close resumed>) = 0 [pid 5097] <... newfstatat resumed>{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, [pid 5101] rmdir("./65" [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5101] <... rmdir resumed>) = 0 [pid 5097] close(4) = 0 [pid 5097] rmdir("./68/file1") = 0 [pid 5097] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] close(3) = 0 [pid 5097] rmdir("./68") = 0 [pid 5517] <... ioctl resumed>) = 0 [pid 5101] mkdir("./66", 0777 [pid 5097] mkdir("./69", 0777 [pid 5101] <... mkdir resumed>) = 0 [pid 5097] <... mkdir resumed>) = 0 [pid 5517] close(3) = 0 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5101] <... openat resumed>) = 3 [pid 5097] <... openat resumed>) = 3 [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5517] close(4) = 0 [pid 5517] mkdir("./file1", 0777) = 0 [pid 5518] <... write resumed>) = 524288 [pid 5517] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5516] <... write resumed>) = 524288 [pid 5514] <... close resumed>) = 0 [pid 5518] munmap(0x7f8438200000, 138412032) = 0 [pid 5516] munmap(0x7f8438200000, 138412032 [pid 5514] exit_group(0 [pid 5516] <... munmap resumed>) = 0 [pid 5514] <... exit_group resumed>) = ? [pid 5518] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [ 156.624209][ T5517] loop1: detected capacity change from 0 to 1024 [pid 5518] ioctl(4, LOOP_SET_FD, 3 [pid 5517] <... mount resumed>) = 0 [pid 5517] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5516] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5514] +++ exited with 0 +++ [pid 5517] <... openat resumed>) = 3 [pid 5516] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5514, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5100] umount2("./65", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5100] openat(AT_FDCWD, "./65", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 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 5100] umount2("./65/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5100] newfstatat(AT_FDCWD, "./65/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] unlink("./65/binderfs") = 0 [pid 5100] umount2("./65/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5517] chdir("./file1" [pid 5516] close(4 [pid 5101] <... ioctl resumed>) = 0 [pid 5097] <... ioctl resumed>) = 0 [pid 5518] <... ioctl resumed>) = 0 [pid 5518] close(3) = 0 [pid 5518] close(4) = 0 [pid 5518] mkdir("./file1", 0777) = 0 [pid 5518] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5516] <... close resumed>) = 0 [pid 5101] close(3) = 0 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5517] <... chdir resumed>) = 0 [pid 5517] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5100] <... umount2 resumed>) = 0 [pid 5517] truncate("./file1", 0 [pid 5100] umount2("./65/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5519 [ 156.678704][ T5518] loop2: detected capacity change from 0 to 1024 [pid 5100] newfstatat(AT_FDCWD, "./65/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] umount2("./65/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] close(3) = 0 [pid 5100] openat(AT_FDCWD, "./65/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5519 attached [pid 5517] <... truncate resumed>) = 0 [pid 5100] newfstatat(4, "", [pid 5516] exit_group(0) = ? [pid 5519] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5519] chdir("./66" [pid 5518] <... mount resumed>) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5519] <... chdir resumed>) = 0 [pid 5519] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5519] setpgid(0, 0) = 0 [pid 5517] memfd_create("syzkaller", 0 [pid 5100] getdents64(4, [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5520 [pid 5517] <... memfd_create resumed>) = 4 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5517] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] getdents64(4, [pid 5519] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5517] <... mmap resumed>) = 0x7f8438200000 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5518] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5100] close(4./strace-static-x86_64: Process 5520 attached [pid 5519] <... openat resumed>) = 3 [pid 5518] <... openat resumed>) = 3 [pid 5517] 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 5516] +++ exited with 0 +++ [pid 5100] <... close resumed>) = 0 [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5516, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5100] rmdir("./65/file1" [pid 5518] chdir("./file1" [pid 5520] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5520] chdir("./69") = 0 [pid 5100] <... rmdir resumed>) = 0 [pid 5520] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5518] <... chdir resumed>) = 0 [pid 5103] umount2("./66", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] getdents64(3, [pid 5520] <... prctl resumed>) = 0 [pid 5518] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5520] setpgid(0, 0 [pid 5103] openat(AT_FDCWD, "./66", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5100] close(3 [pid 5520] <... setpgid resumed>) = 0 [pid 5519] write(3, "1000", 4 [pid 5100] <... close resumed>) = 0 [pid 5520] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5519] <... write resumed>) = 4 [pid 5518] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] <... openat resumed>) = 3 [pid 5520] <... openat resumed>) = 3 [pid 5519] close(3 [pid 5103] newfstatat(3, "", [pid 5520] write(3, "1000", 4 [pid 5519] <... close resumed>) = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5520] <... write resumed>) = 4 [pid 5519] symlink("/dev/binderfs", "./binderfs" [pid 5518] truncate("./file1", 0 [pid 5103] getdents64(3, [pid 5100] rmdir("./65" [pid 5519] <... symlink resumed>) = 0 [pid 5100] <... rmdir resumed>) = 0 executing program executing program [pid 5520] close(3 [pid 5519] write(1, "executing program\n", 18 [pid 5100] mkdir("./66", 0777 [pid 5520] <... close resumed>) = 0 [pid 5519] <... write resumed>) = 18 [pid 5519] memfd_create("syzkaller", 0 [pid 5520] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5520] write(1, "executing program\n", 18) = 18 [pid 5520] memfd_create("syzkaller", 0 [pid 5103] umount2("./66/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... mkdir resumed>) = 0 [pid 5520] <... memfd_create resumed>) = 3 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] newfstatat(AT_FDCWD, "./66/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5520] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5519] <... memfd_create resumed>) = 3 [pid 5520] <... mmap resumed>) = 0x7f8438200000 [pid 5519] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5520] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5519] <... mmap resumed>) = 0x7f8438200000 [pid 5518] <... truncate resumed>) = 0 [pid 5103] unlink("./66/binderfs" [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5519] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5518] memfd_create("syzkaller", 0 [pid 5103] <... unlink resumed>) = 0 [pid 5100] <... openat resumed>) = 3 [pid 5517] <... write resumed>) = 524288 [pid 5517] munmap(0x7f8438200000, 138412032 [pid 5103] umount2("./66/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5519] <... write resumed>) = 524288 [pid 5518] <... memfd_create resumed>) = 4 [pid 5517] <... munmap resumed>) = 0 [pid 5103] <... umount2 resumed>) = 0 [pid 5518] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5517] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5103] umount2("./66/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5517] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5518] <... mmap resumed>) = 0x7f8438200000 [pid 5517] close(4 [pid 5103] newfstatat(AT_FDCWD, "./66/file1", [pid 5519] munmap(0x7f8438200000, 138412032) = 0 [pid 5518] 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_SYMLINK_NOFOLLOW) = 0 [pid 5103] umount2("./66/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5519] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] openat(AT_FDCWD, "./66/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5520] <... write resumed>) = 524288 [pid 5519] <... openat resumed>) = 4 [pid 5103] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5519] ioctl(4, LOOP_SET_FD, 3 [pid 5520] munmap(0x7f8438200000, 138412032 [pid 5518] <... write resumed>) = 524288 [pid 5517] <... close resumed>) = 0 [pid 5103] getdents64(4, [pid 5520] <... munmap resumed>) = 0 [pid 5518] munmap(0x7f8438200000, 138412032 [pid 5517] exit_group(0 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] <... ioctl resumed>) = 0 [pid 5518] <... munmap resumed>) = 0 [pid 5103] close(4) = 0 [pid 5520] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5517] <... exit_group resumed>) = ? [pid 5103] rmdir("./66/file1" [pid 5518] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5103] <... rmdir resumed>) = 0 [pid 5518] close(4 [pid 5103] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5519] <... ioctl resumed>) = 0 [pid 5518] <... close resumed>) = 0 [pid 5520] <... openat resumed>) = 4 [pid 5103] close(3 [pid 5520] ioctl(4, LOOP_SET_FD, 3 [pid 5519] close(3 [pid 5517] +++ exited with 0 +++ [pid 5103] <... close resumed>) = 0 [ 156.850593][ T5519] loop4: detected capacity change from 0 to 1024 [pid 5100] close(3 [pid 5519] <... close resumed>) = 0 [pid 5519] close(4) = 0 [pid 5519] mkdir("./file1", 0777) = 0 [pid 5519] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5517, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5100] <... close resumed>) = 0 [pid 5103] rmdir("./66" [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5521 attached [pid 5520] <... ioctl resumed>) = 0 [pid 5518] exit_group(0 [pid 5103] <... rmdir resumed>) = 0 [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5521 [pid 5098] umount2("./68", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5520] close(3 [pid 5521] set_robust_list(0x55556fbaa660, 24 [pid 5518] <... exit_group resumed>) = ? [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5520] <... close resumed>) = 0 [pid 5098] openat(AT_FDCWD, "./68", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5518] +++ exited with 0 +++ [pid 5521] <... set_robust_list resumed>) = 0 [pid 5520] close(4 [pid 5103] mkdir("./67", 0777 [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5518, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5098] <... openat resumed>) = 3 [pid 5520] <... close resumed>) = 0 [pid 5103] <... mkdir resumed>) = 0 [pid 5099] restart_syscall(<... resuming interrupted clone ...> [pid 5098] newfstatat(3, "", [pid 5520] mkdir("./file1", 0777 [pid 5099] <... restart_syscall resumed>) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5520] <... mkdir resumed>) = 0 [pid 5098] getdents64(3, [pid 5520] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] umount2("./67", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] umount2("./68/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5521] chdir("./66" [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5521] <... chdir resumed>) = 0 [pid 5519] <... mount resumed>) = 0 [ 156.891685][ T5520] loop0: detected capacity change from 0 to 1024 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5099] openat(AT_FDCWD, "./67", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] newfstatat(AT_FDCWD, "./68/binderfs", [pid 5521] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5520] <... mount resumed>) = 0 [pid 5519] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5103] <... openat resumed>) = 3 [pid 5521] <... prctl resumed>) = 0 [pid 5520] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5519] <... openat resumed>) = 3 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5099] <... openat resumed>) = 3 [pid 5098] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5521] setpgid(0, 0 [pid 5103] <... ioctl resumed>) = 0 [pid 5099] newfstatat(3, "", [pid 5098] unlink("./68/binderfs" [pid 5521] <... setpgid resumed>) = 0 [pid 5521] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5520] <... openat resumed>) = 3 [pid 5519] chdir("./file1" [pid 5103] close(3 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] <... unlink resumed>) = 0 [pid 5521] <... openat resumed>) = 3 [pid 5520] chdir("./file1" [pid 5103] <... close resumed>) = 0 [pid 5099] getdents64(3, [pid 5098] umount2("./68/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5520] <... chdir resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5521] write(3, "1000", 4 [pid 5520] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5519] <... chdir resumed>) = 0 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5099] umount2("./67/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... umount2 resumed>) = 0 [pid 5519] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5520] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5519] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5519] truncate("./file1", 0 [pid 5099] newfstatat(AT_FDCWD, "./67/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5520] truncate("./file1", 0 [pid 5099] unlink("./67/binderfs") = 0 [pid 5099] umount2("./67/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5521] <... write resumed>) = 4 [pid 5520] <... truncate resumed>) = 0 [pid 5099] <... umount2 resumed>) = 0 [pid 5521] close(3 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5522 ./strace-static-x86_64: Process 5522 attached [pid 5521] <... close resumed>) = 0 [pid 5520] memfd_create("syzkaller", 0 [pid 5522] set_robust_list(0x55556fbaa660, 24 [pid 5521] symlink("/dev/binderfs", "./binderfs" [pid 5520] <... memfd_create resumed>) = 4 [pid 5522] <... set_robust_list resumed>) = 0 [pid 5521] <... symlink resumed>) = 0 [pid 5520] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5099] umount2("./67/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] umount2("./68/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5520] <... mmap resumed>) = 0x7f8438200000 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5522] chdir("./67" [pid 5099] newfstatat(AT_FDCWD, "./67/file1", [pid 5098] newfstatat(AT_FDCWD, "./68/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] umount2("./68/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5522] <... chdir resumed>) = 0 executing program [pid 5521] write(1, "executing program\n", 18 [pid 5099] umount2("./67/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5522] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5098] openat(AT_FDCWD, "./68/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5522] <... prctl resumed>) = 0 [pid 5521] <... write resumed>) = 18 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... openat resumed>) = 4 [pid 5522] setpgid(0, 0 [pid 5098] newfstatat(4, "", [pid 5099] openat(AT_FDCWD, "./67/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 5098] getdents64(4, [pid 5522] <... setpgid resumed>) = 0 [pid 5521] memfd_create("syzkaller", 0 [pid 5099] <... openat resumed>) = 4 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5522] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5521] <... memfd_create resumed>) = 3 [pid 5519] <... truncate resumed>) = 0 [pid 5099] newfstatat(4, "", [pid 5098] getdents64(4, [pid 5520] 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 5519] memfd_create("syzkaller", 0) = 4 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5519] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5098] close(4 [pid 5519] 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 resumed>) = 0 [pid 5098] rmdir("./68/file1" [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] <... rmdir resumed>) = 0 [pid 5098] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] close(3) = 0 [pid 5522] <... openat resumed>) = 3 [pid 5521] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5099] getdents64(4, [pid 5098] rmdir("./68") = 0 [pid 5098] mkdir("./69", 0777) = 0 [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5098] ioctl(3, LOOP_CLR_FD) = 0 [pid 5098] close(3) = 0 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5523 attached [pid 5522] write(3, "1000", 4 [pid 5521] <... mmap resumed>) = 0x7f8438200000 [pid 5520] <... write resumed>) = 524288 [pid 5519] <... write resumed>) = 524288 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5523 [pid 5522] <... write resumed>) = 4 [pid 5521] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5520] munmap(0x7f8438200000, 138412032 [pid 5099] getdents64(4, [pid 5522] close(3 [pid 5520] <... munmap resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5523] set_robust_list(0x55556fbaa660, 24 [pid 5522] <... close resumed>) = 0 [pid 5520] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5519] munmap(0x7f8438200000, 138412032executing program [pid 5099] close(4 [pid 5523] <... set_robust_list resumed>) = 0 [pid 5522] symlink("/dev/binderfs", "./binderfs" [pid 5520] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5519] <... munmap resumed>) = 0 [pid 5099] <... close resumed>) = 0 [pid 5522] <... symlink resumed>) = 0 [pid 5521] <... write resumed>) = 524288 [pid 5520] close(4 [pid 5099] rmdir("./67/file1" [pid 5523] chdir("./69" [pid 5522] write(1, "executing program\n", 18 [pid 5523] <... chdir resumed>) = 0 [pid 5522] <... write resumed>) = 18 [pid 5099] <... rmdir resumed>) = 0 [pid 5523] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5522] memfd_create("syzkaller", 0 [pid 5099] getdents64(3, [pid 5523] <... prctl resumed>) = 0 [pid 5522] <... memfd_create resumed>) = 3 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5523] setpgid(0, 0 [pid 5522] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5520] <... close resumed>) = 0 [pid 5099] close(3 [pid 5522] <... mmap resumed>) = 0x7f8438200000 [pid 5099] <... close resumed>) = 0 [pid 5099] rmdir("./67" [pid 5523] <... setpgid resumed>) = 0 [pid 5522] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5519] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5099] <... rmdir resumed>) = 0 [pid 5523] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5519] <... openat resumed>) = -1 EBUSY (Device or resource busy) executing program [pid 5523] <... openat resumed>) = 3 [pid 5519] close(4 [pid 5099] mkdir("./68", 0777 [pid 5523] write(3, "1000", 4 [pid 5099] <... mkdir resumed>) = 0 [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5523] <... write resumed>) = 4 [pid 5099] <... openat resumed>) = 3 [pid 5523] close(3 [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5523] <... close resumed>) = 0 [pid 5099] <... ioctl resumed>) = 0 [pid 5523] symlink("/dev/binderfs", "./binderfs" [pid 5099] close(3 [pid 5523] <... symlink resumed>) = 0 [pid 5099] <... close resumed>) = 0 [pid 5523] write(1, "executing program\n", 18 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5523] <... write resumed>) = 18 [pid 5522] <... write resumed>) = 524288 [pid 5523] memfd_create("syzkaller", 0 [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5524 [pid 5523] <... memfd_create resumed>) = 3 ./strace-static-x86_64: Process 5524 attached [pid 5523] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5524] set_robust_list(0x55556fbaa660, 24 [pid 5523] <... mmap resumed>) = 0x7f8438200000 [pid 5524] <... set_robust_list resumed>) = 0 [pid 5523] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5519] <... close resumed>) = 0 [pid 5524] chdir("./68") = 0 [pid 5524] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5521] munmap(0x7f8438200000, 138412032 [pid 5524] <... prctl resumed>) = 0 [pid 5521] <... munmap resumed>) = 0 [pid 5524] setpgid(0, 0) = 0 [pid 5519] exit_group(0 [pid 5524] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5519] <... exit_group resumed>) = ? [pid 5524] <... openat resumed>) = 3 [pid 5524] write(3, "1000", 4) = 4 [pid 5524] close(3) = 0 [pid 5524] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5520] exit_group(0) = ? executing program [pid 5524] write(1, "executing program\n", 18 [pid 5523] <... write resumed>) = 524288 [pid 5521] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5520] +++ exited with 0 +++ [pid 5519] +++ exited with 0 +++ [pid 5524] <... write resumed>) = 18 [pid 5524] memfd_create("syzkaller", 0 [pid 5522] munmap(0x7f8438200000, 138412032 [pid 5521] <... openat resumed>) = 4 [pid 5524] <... memfd_create resumed>) = 3 [pid 5522] <... munmap resumed>) = 0 [pid 5521] ioctl(4, LOOP_SET_FD, 3 [pid 5524] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5520, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5524] <... mmap resumed>) = 0x7f8438200000 [pid 5524] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5519, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5522] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 5522] ioctl(4, LOOP_SET_FD, 3 [pid 5523] munmap(0x7f8438200000, 138412032 [pid 5521] <... ioctl resumed>) = 0 [pid 5523] <... munmap resumed>) = 0 [pid 5101] umount2("./66", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] umount2("./69", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] openat(AT_FDCWD, "./66", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] <... openat resumed>) = 3 [pid 5097] openat(AT_FDCWD, "./69", 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 5524] <... write resumed>) = 524288 [pid 5101] newfstatat(3, "", [pid 5097] umount2("./69/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5523] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5097] newfstatat(AT_FDCWD, "./69/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] unlink("./69/binderfs" [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5524] munmap(0x7f8438200000, 138412032 [pid 5101] getdents64(3, [pid 5097] <... unlink resumed>) = 0 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5097] umount2("./69/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5524] <... munmap resumed>) = 0 [pid 5521] close(3 [pid 5524] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5521] <... close resumed>) = 0 [pid 5523] <... openat resumed>) = 4 [pid 5101] umount2("./66/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... umount2 resumed>) = 0 [pid 5523] ioctl(4, LOOP_SET_FD, 3 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] newfstatat(AT_FDCWD, "./66/binderfs", [ 157.151592][ T5521] loop3: detected capacity change from 0 to 1024 [ 157.187544][ T5522] loop5: detected capacity change from 0 to 1024 [ 157.189079][ T5524] loop2: detected capacity change from 0 to 1024 [pid 5524] ioctl(4, LOOP_SET_FD, 3 [pid 5521] close(4 [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] umount2("./69/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5521] <... close resumed>) = 0 [pid 5521] mkdir("./file1", 0777) = 0 [pid 5521] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "") = 0 [pid 5521] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] unlink("./66/binderfs" [pid 5097] newfstatat(AT_FDCWD, "./69/file1", [pid 5521] chdir("./file1") = 0 [pid 5521] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5524] <... ioctl resumed>) = 0 [pid 5524] close(3 [pid 5523] <... ioctl resumed>) = 0 [pid 5522] <... ioctl resumed>) = 0 [pid 5521] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] <... unlink resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5521] truncate("./file1", 0 [pid 5101] umount2("./66/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5524] <... close resumed>) = 0 [ 157.195549][ T5523] loop1: detected capacity change from 0 to 1024 [pid 5097] umount2("./69/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5524] close(4 [pid 5523] close(3 [pid 5522] close(3 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5523] <... close resumed>) = 0 [pid 5522] <... close resumed>) = 0 [pid 5097] openat(AT_FDCWD, "./69/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5523] close(4 [pid 5522] close(4 [pid 5523] <... close resumed>) = 0 [pid 5522] <... close resumed>) = 0 [pid 5097] <... openat resumed>) = 4 [pid 5523] mkdir("./file1", 0777 [pid 5522] mkdir("./file1", 0777 [pid 5097] newfstatat(4, "", [pid 5523] <... mkdir resumed>) = 0 [pid 5522] <... mkdir resumed>) = 0 [pid 5521] <... truncate resumed>) = 0 [pid 5523] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5522] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5521] memfd_create("syzkaller", 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5524] <... close resumed>) = 0 [pid 5101] <... umount2 resumed>) = 0 [pid 5524] mkdir("./file1", 0777 [pid 5523] <... mount resumed>) = 0 [pid 5521] <... memfd_create resumed>) = 4 [pid 5097] getdents64(4, [pid 5524] <... mkdir resumed>) = 0 [pid 5523] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5521] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] umount2("./66/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5523] <... openat resumed>) = 3 [pid 5521] <... mmap resumed>) = 0x7f8438200000 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5523] chdir("./file1" [pid 5524] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5097] getdents64(4, [pid 5523] <... chdir resumed>) = 0 [pid 5101] newfstatat(AT_FDCWD, "./66/file1", [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5523] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5097] close(4 [pid 5523] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5521] 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 5523] truncate("./file1", 0 [pid 5101] umount2("./66/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... close resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] rmdir("./69/file1" [pid 5523] <... truncate resumed>) = 0 [pid 5522] <... mount resumed>) = 0 [pid 5101] openat(AT_FDCWD, "./66/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] <... rmdir resumed>) = 0 [pid 5522] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5101] <... openat resumed>) = 4 [pid 5523] memfd_create("syzkaller", 0 [pid 5097] getdents64(3, [pid 5522] chdir("./file1" [pid 5101] newfstatat(4, "", [pid 5523] <... memfd_create resumed>) = 4 [pid 5522] <... chdir resumed>) = 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5522] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5101] getdents64(4, [pid 5097] close(3 [pid 5522] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5523] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5522] truncate("./file1", 0 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] <... close resumed>) = 0 [pid 5524] <... mount resumed>) = 0 [pid 5521] <... write resumed>) = 524288 [pid 5097] rmdir("./69" [pid 5524] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5524] chdir("./file1") = 0 [pid 5524] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5522] <... truncate resumed>) = 0 [pid 5524] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5522] memfd_create("syzkaller", 0) = 4 [pid 5524] truncate("./file1", 0 [pid 5522] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5523] <... mmap resumed>) = 0x7f8438200000 [pid 5521] munmap(0x7f8438200000, 138412032 [pid 5101] getdents64(4, [pid 5097] <... rmdir resumed>) = 0 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] mkdir("./70", 0777 [pid 5101] close(4 [pid 5521] <... munmap resumed>) = 0 [pid 5101] <... close resumed>) = 0 [pid 5097] <... mkdir resumed>) = 0 [pid 5524] <... truncate resumed>) = 0 [pid 5521] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5101] rmdir("./66/file1" [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5521] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5524] memfd_create("syzkaller", 0 [pid 5522] 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 5521] close(4 [pid 5101] <... rmdir resumed>) = 0 [pid 5097] <... openat resumed>) = 3 [pid 5524] <... memfd_create resumed>) = 4 [pid 5524] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5521] <... close resumed>) = 0 [pid 5101] getdents64(3, [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5101] close(3) = 0 [pid 5524] 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 5523] 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("./66") = 0 [pid 5101] mkdir("./67", 0777) = 0 [pid 5521] exit_group(0 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5521] <... exit_group resumed>) = ? [pid 5101] <... openat resumed>) = 3 [pid 5521] +++ exited with 0 +++ [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5521, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 5100] restart_syscall(<... resuming interrupted clone ...> [pid 5522] <... write resumed>) = 524288 [pid 5524] <... write resumed>) = 524288 [pid 5100] <... restart_syscall resumed>) = 0 [pid 5097] <... ioctl resumed>) = 0 [pid 5524] munmap(0x7f8438200000, 138412032 [pid 5100] umount2("./66", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5524] <... munmap resumed>) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] openat(AT_FDCWD, "./66", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5100] newfstatat(3, "", [pid 5523] <... write resumed>) = 524288 [pid 5522] munmap(0x7f8438200000, 138412032 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] close(3 [pid 5524] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5524] close(4) = 0 [pid 5523] munmap(0x7f8438200000, 138412032 [pid 5522] <... munmap resumed>) = 0 [pid 5100] getdents64(3, [pid 5097] <... close resumed>) = 0 [pid 5524] exit_group(0 [pid 5522] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5524] <... exit_group resumed>) = ? [pid 5523] <... munmap resumed>) = 0 [pid 5522] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] umount2("./66/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 5525 attached [pid 5524] +++ exited with 0 +++ [pid 5523] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5522] close(4 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5525] set_robust_list(0x55556fbaa660, 24 [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5525 [pid 5525] <... set_robust_list resumed>) = 0 [pid 5525] chdir("./70" [pid 5523] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5522] <... close resumed>) = 0 [pid 5100] newfstatat(AT_FDCWD, "./66/binderfs", [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5524, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5525] <... chdir resumed>) = 0 [pid 5523] close(4 [pid 5099] restart_syscall(<... resuming interrupted clone ...> [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] <... restart_syscall resumed>) = 0 [pid 5100] unlink("./66/binderfs") = 0 [pid 5100] umount2("./66/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] umount2("./68", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "./68", 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 5101] <... ioctl resumed>) = 0 [pid 5099] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] umount2("./68/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] newfstatat(AT_FDCWD, "./68/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] unlink("./68/binderfs") = 0 [pid 5099] umount2("./68/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5525] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5100] <... umount2 resumed>) = 0 [pid 5525] <... prctl resumed>) = 0 [pid 5099] <... umount2 resumed>) = 0 [pid 5525] setpgid(0, 0) = 0 [pid 5523] <... close resumed>) = 0 [pid 5525] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5523] exit_group(0 [pid 5522] exit_group(0 [pid 5101] close(3 [pid 5100] umount2("./66/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] umount2("./68/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5525] <... openat resumed>) = 3 [pid 5522] <... exit_group resumed>) = ? [pid 5101] <... close resumed>) = 0 [pid 5100] newfstatat(AT_FDCWD, "./66/file1", [pid 5099] newfstatat(AT_FDCWD, "./68/file1", [pid 5523] <... exit_group resumed>) = ? [pid 5522] +++ exited with 0 +++ [pid 5525] write(3, "1000", 4 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5525] <... write resumed>) = 4 [pid 5100] umount2("./66/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... 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=5522, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] umount2("./68/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5525] close(3 [pid 5523] +++ exited with 0 +++ [pid 5103] restart_syscall(<... resuming interrupted clone ...> [pid 5525] <... close resumed>) = 0 [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5523, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- ./strace-static-x86_64: Process 5526 attached [pid 5525] symlink("/dev/binderfs", "./binderfs" [pid 5103] <... restart_syscall resumed>) = 0 [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5526 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] openat(AT_FDCWD, "./66/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] openat(AT_FDCWD, "./68/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORYexecuting program [pid 5525] <... symlink resumed>) = 0 [pid 5100] <... openat resumed>) = 4 [pid 5099] <... openat resumed>) = 4 [pid 5103] umount2("./67", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] newfstatat(4, "", [pid 5099] newfstatat(4, "", [pid 5098] umount2("./69", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5526] set_robust_list(0x55556fbaa660, 24 [pid 5525] write(1, "executing program\n", 18 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [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 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5526] <... set_robust_list resumed>) = 0 [pid 5525] <... write resumed>) = 18 [pid 5098] openat(AT_FDCWD, "./69", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5103] openat(AT_FDCWD, "./67", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5526] chdir("./67" [pid 5525] memfd_create("syzkaller", 0 [pid 5098] <... openat resumed>) = 3 [pid 5526] <... chdir resumed>) = 0 [pid 5525] <... memfd_create resumed>) = 3 [pid 5103] <... openat resumed>) = 3 [pid 5526] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5098] newfstatat(3, "", [pid 5526] <... prctl resumed>) = 0 [pid 5525] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] newfstatat(3, "", [pid 5100] getdents64(4, [pid 5099] getdents64(4, [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5525] <... mmap resumed>) = 0x7f8438200000 [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] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] getdents64(3, [pid 5099] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] close(4) = 0 [pid 5099] rmdir("./68/file1" [pid 5103] getdents64(3, [pid 5100] getdents64(4, [pid 5099] <... rmdir resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] getdents64(3, [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5100] close(4 [pid 5099] close(3 [pid 5098] umount2("./69/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5526] setpgid(0, 0 [pid 5103] umount2("./67/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... close resumed>) = 0 [pid 5099] <... close resumed>) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5526] <... setpgid resumed>) = 0 [pid 5098] newfstatat(AT_FDCWD, "./69/binderfs", [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] rmdir("./66/file1" [pid 5099] rmdir("./68" [pid 5098] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5526] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5098] unlink("./69/binderfs" [pid 5526] <... openat resumed>) = 3 [pid 5525] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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, "./67/binderfs", [pid 5100] <... rmdir resumed>) = 0 [pid 5099] <... rmdir resumed>) = 0 [pid 5098] <... unlink resumed>) = 0 [pid 5526] write(3, "1000", 4 [pid 5098] umount2("./69/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5526] <... write resumed>) = 4 [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] getdents64(3, [pid 5099] mkdir("./69", 0777 [pid 5103] unlink("./67/binderfs" [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5099] <... mkdir resumed>) = 0 [pid 5526] close(3 [pid 5103] <... unlink resumed>) = 0 [pid 5100] close(3 [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5100] <... close resumed>) = 0 [pid 5099] <... openat resumed>) = 3 [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5526] <... close resumed>) = 0 [pid 5526] symlink("/dev/binderfs", "./binderfs" [pid 5099] <... ioctl resumed>) = 0 [pid 5100] rmdir("./66" [pid 5099] close(3 [pid 5526] <... symlink resumed>) = 0 [pid 5526] write(1, "executing program\n", 18 [pid 5100] <... rmdir resumed>) = 0 [pid 5099] <... close resumed>) = 0 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5103] umount2("./67/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] mkdir("./67", 0777) = 0 executing program [pid 5526] <... write resumed>) = 18 [pid 5526] memfd_create("syzkaller", 0 [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5527 [pid 5098] <... umount2 resumed>) = 0 ./strace-static-x86_64: Process 5527 attached [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5527] set_robust_list(0x55556fbaa660, 24 [pid 5100] <... openat resumed>) = 3 [pid 5527] <... set_robust_list resumed>) = 0 [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5527] chdir("./69") = 0 [pid 5527] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5527] setpgid(0, 0) = 0 [pid 5526] <... memfd_create resumed>) = 3 [pid 5103] <... umount2 resumed>) = 0 [pid 5098] umount2("./69/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5526] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5527] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5525] <... write resumed>) = 524288 [pid 5527] <... openat resumed>) = 3 [pid 5526] <... mmap resumed>) = 0x7f8438200000 [pid 5525] munmap(0x7f8438200000, 138412032 [pid 5103] umount2("./67/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5527] write(3, "1000", 4) = 4 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./69/file1", [pid 5527] close(3 [pid 5526] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5525] <... munmap resumed>) = 0 [pid 5103] newfstatat(AT_FDCWD, "./67/file1", [pid 5100] <... ioctl resumed>) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5525] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5098] umount2("./69/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5527] <... close resumed>) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] openat(AT_FDCWD, "./69/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5527] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5525] <... openat resumed>) = 4 [pid 5103] umount2("./67/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... openat resumed>) = 4 [pid 5525] ioctl(4, LOOP_SET_FD, 3 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(4, "", executing program [pid 5527] write(1, "executing program\n", 18) = 18 [pid 5527] memfd_create("syzkaller", 0) = 3 [pid 5527] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5527] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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) = 0 [pid 5100] 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 5103] openat(AT_FDCWD, "./67/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5103] <... openat resumed>) = 4 [pid 5103] newfstatat(4, "", [pid 5098] getdents64(4, [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] close(4./strace-static-x86_64: Process 5528 attached [pid 5526] <... write resumed>) = 524288 [pid 5103] getdents64(4, [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5528 [pid 5098] <... close resumed>) = 0 [pid 5098] rmdir("./69/file1" [pid 5528] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5528] chdir("./67" [pid 5098] <... rmdir resumed>) = 0 [pid 5528] <... chdir resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5528] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5528] setpgid(0, 0) = 0 [pid 5528] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5525] <... ioctl resumed>) = 0 [pid 5098] getdents64(3, [pid 5528] <... openat resumed>) = 3 [pid 5527] <... write resumed>) = 524288 [pid 5103] getdents64(4, [pid 5525] close(3 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5525] <... close resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5525] close(4 [pid 5098] close(3 [pid 5528] write(3, "1000", 4 [pid 5526] munmap(0x7f8438200000, 138412032 [pid 5103] close(4 [pid 5528] <... write resumed>) = 4 [pid 5103] <... close resumed>) = 0 [pid 5528] close(3) = 0 [pid 5098] <... close resumed>) = 0 [pid 5528] symlink("/dev/binderfs", "./binderfs" [pid 5526] <... munmap resumed>) = 0 [pid 5103] rmdir("./67/file1" [pid 5098] rmdir("./69" [pid 5528] <... symlink resumed>) = 0 executing program [pid 5528] write(1, "executing program\n", 18 [pid 5526] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5525] <... close resumed>) = 0 [pid 5103] <... rmdir resumed>) = 0 [pid 5098] <... rmdir resumed>) = 0 [pid 5528] <... write resumed>) = 18 [pid 5528] memfd_create("syzkaller", 0 [pid 5526] <... openat resumed>) = 4 [pid 5525] mkdir("./file1", 0777 [pid 5103] getdents64(3, [pid 5098] mkdir("./70", 0777 [pid 5526] ioctl(4, LOOP_SET_FD, 3 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [ 157.540825][ T5525] loop0: detected capacity change from 0 to 1024 [pid 5103] close(3 [pid 5528] <... memfd_create resumed>) = 3 [pid 5527] munmap(0x7f8438200000, 138412032 [pid 5103] <... close resumed>) = 0 [pid 5528] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5527] <... munmap resumed>) = 0 [pid 5525] <... mkdir resumed>) = 0 [pid 5528] <... mmap resumed>) = 0x7f8438200000 [pid 5527] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5528] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5527] <... openat resumed>) = 4 [pid 5103] rmdir("./67" [pid 5098] <... mkdir resumed>) = 0 [pid 5526] <... ioctl resumed>) = 0 [pid 5525] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5103] <... rmdir resumed>) = 0 [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5526] close(3 [pid 5527] ioctl(4, LOOP_SET_FD, 3 [pid 5526] <... close resumed>) = 0 [pid 5526] close(4 [pid 5527] <... ioctl resumed>) = 0 [pid 5526] <... close resumed>) = 0 [pid 5103] mkdir("./68", 0777 [pid 5098] <... openat resumed>) = 3 [pid 5526] mkdir("./file1", 0777 [pid 5103] <... mkdir resumed>) = 0 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5528] <... write resumed>) = 524288 [pid 5526] <... mkdir resumed>) = 0 [pid 5525] <... mount resumed>) = 0 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5526] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5525] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5103] <... openat resumed>) = 3 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5528] munmap(0x7f8438200000, 138412032 [pid 5527] close(3 [pid 5528] <... munmap resumed>) = 0 [pid 5525] chdir("./file1" [pid 5527] <... close resumed>) = 0 [pid 5525] <... chdir resumed>) = 0 [pid 5527] close(4 [pid 5525] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5527] <... close resumed>) = 0 [pid 5527] mkdir("./file1", 0777) = 0 [pid 5525] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5525] truncate("./file1", 0 [pid 5528] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5527] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5528] <... openat resumed>) = 4 [ 157.583628][ T5526] loop4: detected capacity change from 0 to 1024 [ 157.603476][ T5527] loop2: detected capacity change from 0 to 1024 [pid 5528] ioctl(4, LOOP_SET_FD, 3 [pid 5527] <... mount resumed>) = 0 [pid 5526] <... mount resumed>) = 0 [pid 5525] <... truncate resumed>) = 0 [pid 5527] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5526] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5525] memfd_create("syzkaller", 0 [pid 5527] <... openat resumed>) = 3 [pid 5527] chdir("./file1" [pid 5525] <... memfd_create resumed>) = 4 [pid 5527] <... chdir resumed>) = 0 [pid 5527] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5526] <... openat resumed>) = 3 [pid 5525] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5526] chdir("./file1" [pid 5527] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5526] <... chdir resumed>) = 0 [pid 5525] <... mmap resumed>) = 0x7f8438200000 [pid 5527] truncate("./file1", 0 [pid 5526] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5527] <... truncate resumed>) = 0 [pid 5527] memfd_create("syzkaller", 0) = 4 [pid 5527] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5527] 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 5526] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5525] 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 5528] <... ioctl resumed>) = 0 [pid 5528] close(3) = 0 [pid 5528] close(4) = 0 [pid 5526] truncate("./file1", 0 [pid 5528] mkdir("./file1", 0777) = 0 [pid 5528] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5103] <... ioctl resumed>) = 0 [pid 5103] close(3 [pid 5098] <... ioctl resumed>) = 0 [pid 5103] <... close resumed>) = 0 [pid 5527] <... write resumed>) = 524288 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5098] close(3) = 0 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5526] <... truncate resumed>) = 0 [ 157.639855][ T5528] loop3: detected capacity change from 0 to 1024 [pid 5526] memfd_create("syzkaller", 0) = 4 [pid 5527] munmap(0x7f8438200000, 138412032 [pid 5526] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5530 [pid 5526] <... mmap resumed>) = 0x7f8438200000 ./strace-static-x86_64: Process 5530 attached [pid 5528] <... mount resumed>) = 0 [pid 5527] <... munmap resumed>) = 0 [pid 5530] set_robust_list(0x55556fbaa660, 24 [pid 5528] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5530] <... set_robust_list resumed>) = 0 [pid 5528] <... openat resumed>) = 3 [pid 5527] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5525] <... write resumed>) = 524288 [pid 5528] chdir("./file1" [pid 5527] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5529 ./strace-static-x86_64: Process 5529 attached [pid 5530] chdir("./70" [pid 5526] 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 5525] munmap(0x7f8438200000, 138412032 [pid 5530] <... chdir resumed>) = 0 [pid 5528] <... chdir resumed>) = 0 [pid 5528] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5527] close(4 [pid 5530] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5528] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5527] <... close resumed>) = 0 [pid 5525] <... munmap resumed>) = 0 [pid 5530] <... prctl resumed>) = 0 [pid 5529] set_robust_list(0x55556fbaa660, 24 [pid 5530] setpgid(0, 0 [pid 5528] truncate("./file1", 0 [pid 5529] <... set_robust_list resumed>) = 0 [pid 5530] <... setpgid resumed>) = 0 [pid 5529] chdir("./68" [pid 5530] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5529] <... chdir resumed>) = 0 [pid 5530] <... openat resumed>) = 3 [pid 5529] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5528] <... truncate resumed>) = 0 [pid 5528] memfd_create("syzkaller", 0 [pid 5529] <... prctl resumed>) = 0 [pid 5528] <... memfd_create resumed>) = 4 [pid 5529] setpgid(0, 0 [pid 5528] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5529] <... setpgid resumed>) = 0 [pid 5528] <... mmap resumed>) = 0x7f8438200000 [pid 5529] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5530] write(3, "1000", 4 [pid 5528] 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 5530] <... write resumed>) = 4 [pid 5529] <... openat resumed>) = 3 [pid 5530] close(3 [pid 5525] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5530] <... close resumed>) = 0 [pid 5529] write(3, "1000", 4 [pid 5530] symlink("/dev/binderfs", "./binderfs" [pid 5525] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5529] <... write resumed>) = 4 [pid 5529] close(3) = 0 [pid 5529] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5530] <... symlink resumed>) = 0 executing program [pid 5529] write(1, "executing program\n", 18 [pid 5527] exit_group(0 [pid 5529] <... write resumed>) = 18 [pid 5527] <... exit_group resumed>) = ? [pid 5530] write(1, "executing program\n", 18 [pid 5527] +++ exited with 0 +++ [pid 5526] <... write resumed>) = 524288 [pid 5525] close(4 [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5527, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5529] memfd_create("syzkaller", 0) = 3 executing program [pid 5530] <... write resumed>) = 18 [pid 5099] umount2("./69", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5530] memfd_create("syzkaller", 0 [pid 5526] munmap(0x7f8438200000, 138412032 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "./69", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5099] newfstatat(3, "", [pid 5526] <... munmap resumed>) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5529] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5099] getdents64(3, [pid 5529] <... mmap resumed>) = 0x7f8438200000 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5530] <... memfd_create resumed>) = 3 [pid 5526] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5525] <... close resumed>) = 0 [pid 5099] umount2("./69/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] newfstatat(AT_FDCWD, "./69/binderfs", [pid 5530] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5526] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5530] <... mmap resumed>) = 0x7f8438200000 [pid 5528] <... write resumed>) = 524288 [pid 5526] close(4 [pid 5525] exit_group(0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] unlink("./69/binderfs") = 0 [pid 5525] <... exit_group resumed>) = ? [pid 5099] umount2("./69/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5529] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5530] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5528] munmap(0x7f8438200000, 138412032 [pid 5525] +++ exited with 0 +++ [pid 5099] <... umount2 resumed>) = 0 [pid 5528] <... munmap resumed>) = 0 [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5525, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5529] <... write resumed>) = 524288 [pid 5528] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5526] <... close resumed>) = 0 [pid 5099] umount2("./69/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5528] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] umount2("./70", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5528] close(4 [pid 5526] exit_group(0 [pid 5099] newfstatat(AT_FDCWD, "./69/file1", [pid 5529] munmap(0x7f8438200000, 138412032 [pid 5526] <... exit_group resumed>) = ? [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 5097] openat(AT_FDCWD, "./70", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5529] <... munmap resumed>) = 0 [pid 5530] <... write resumed>) = 524288 [pid 5099] umount2("./69/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... openat resumed>) = 3 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(3, "", [pid 5099] openat(AT_FDCWD, "./69/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5529] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5099] newfstatat(4, "", [pid 5097] getdents64(3, [pid 5529] <... openat resumed>) = 4 [pid 5530] munmap(0x7f8438200000, 138412032 [pid 5528] <... close resumed>) = 0 [pid 5529] ioctl(4, LOOP_SET_FD, 3 [pid 5530] <... munmap resumed>) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5526] +++ exited with 0 +++ [pid 5099] getdents64(4, [pid 5097] umount2("./70/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5526, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 5530] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5099] getdents64(4, [pid 5530] <... openat resumed>) = 4 [pid 5101] restart_syscall(<... resuming interrupted clone ...> [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] newfstatat(AT_FDCWD, "./70/binderfs", [pid 5101] <... restart_syscall resumed>) = 0 [pid 5099] close(4) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5530] ioctl(4, LOOP_SET_FD, 3 [pid 5099] rmdir("./69/file1" [pid 5097] unlink("./70/binderfs" [pid 5101] umount2("./67", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] <... rmdir resumed>) = 0 [pid 5097] <... unlink resumed>) = 0 [pid 5101] openat(AT_FDCWD, "./67", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] umount2("./70/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... openat resumed>) = 3 [pid 5101] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5528] exit_group(0 [pid 5101] getdents64(3, [pid 5528] <... exit_group resumed>) = ? [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5528] +++ exited with 0 +++ [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5528, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5099] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] umount2("./67", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] close(3 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... close resumed>) = 0 [pid 5100] openat(AT_FDCWD, "./67", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] rmdir("./69" [pid 5100] <... openat resumed>) = 3 [pid 5099] <... rmdir resumed>) = 0 [pid 5100] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] getdents64(3, [pid 5097] <... umount2 resumed>) = 0 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5100] umount2("./67/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] mkdir("./70", 0777 [pid 5101] umount2("./67/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] umount2("./70/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5529] <... ioctl resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... mkdir resumed>) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] newfstatat(AT_FDCWD, "./67/binderfs", [pid 5097] newfstatat(AT_FDCWD, "./70/file1", [pid 5529] close(3 [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] newfstatat(AT_FDCWD, "./67/binderfs", [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] unlink("./67/binderfs" [pid 5097] umount2("./70/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5529] <... close resumed>) = 0 [pid 5101] <... unlink resumed>) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] <... openat resumed>) = 3 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] umount2("./67/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] openat(AT_FDCWD, "./70/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5529] close(4 [pid 5100] unlink("./67/binderfs" [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5097] <... openat resumed>) = 4 [pid 5529] <... close resumed>) = 0 [pid 5100] <... unlink resumed>) = 0 [pid 5099] <... ioctl resumed>) = 0 [pid 5097] newfstatat(4, "", [pid 5529] mkdir("./file1", 0777 [pid 5099] close(3 [pid 5529] <... mkdir resumed>) = 0 [pid 5100] umount2("./67/file1", MNT_FORCE|UMOUNT_NOFOLLOW [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 5097] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] close(4 [pid 5529] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5097] <... close resumed>) = 0 [pid 5097] rmdir("./70/file1") = 0 [pid 5097] getdents64(3, [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5531 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] close(3) = 0 [pid 5097] rmdir("./70"./strace-static-x86_64: Process 5531 attached [pid 5531] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5530] <... ioctl resumed>) = 0 [pid 5097] <... rmdir resumed>) = 0 [pid 5097] mkdir("./71", 0777 [pid 5531] chdir("./70" [pid 5530] close(3 [pid 5097] <... mkdir resumed>) = 0 [pid 5530] <... close resumed>) = 0 [pid 5101] <... umount2 resumed>) = 0 [pid 5531] <... chdir resumed>) = 0 [pid 5529] <... mount resumed>) = 0 [pid 5530] close(4 [pid 5531] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5530] <... close resumed>) = 0 [pid 5531] <... prctl resumed>) = 0 [pid 5530] mkdir("./file1", 0777 [pid 5531] setpgid(0, 0 [pid 5530] <... mkdir resumed>) = 0 [ 157.833418][ T5529] loop5: detected capacity change from 0 to 1024 [ 157.845296][ T5530] loop1: detected capacity change from 0 to 1024 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5531] <... setpgid resumed>) = 0 [pid 5529] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5531] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5529] <... openat resumed>) = 3 [pid 5101] umount2("./67/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5531] <... openat resumed>) = 3 [pid 5529] chdir("./file1" [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5529] <... chdir resumed>) = 0 [pid 5530] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5101] newfstatat(AT_FDCWD, "./67/file1", [pid 5097] <... openat resumed>) = 3 [pid 5529] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5100] <... umount2 resumed>) = 0 [pid 5531] write(3, "1000", 4 [pid 5529] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5531] <... write resumed>) = 4 [pid 5531] close(3 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5531] <... close resumed>) = 0 [pid 5529] truncate("./file1", 0 [pid 5531] symlink("/dev/binderfs", "./binderfs" [pid 5101] umount2("./67/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] umount2("./67/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5531] <... symlink resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) executing program [pid 5101] openat(AT_FDCWD, "./67/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5531] write(1, "executing program\n", 18 [pid 5101] <... openat resumed>) = 4 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5531] <... write resumed>) = 18 [pid 5529] <... truncate resumed>) = 0 [pid 5529] memfd_create("syzkaller", 0 [pid 5531] memfd_create("syzkaller", 0 [pid 5529] <... memfd_create resumed>) = 4 [pid 5530] <... mount resumed>) = 0 [pid 5100] newfstatat(AT_FDCWD, "./67/file1", [pid 5101] newfstatat(4, "", [pid 5530] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [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_SYMLINK_NOFOLLOW) = 0 [pid 5531] <... memfd_create resumed>) = 3 [pid 5529] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5530] <... openat resumed>) = 3 [pid 5101] getdents64(4, [pid 5100] umount2("./67/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5531] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5529] <... mmap resumed>) = 0x7f8438200000 [pid 5531] <... mmap resumed>) = 0x7f8438200000 [pid 5530] chdir("./file1" [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5531] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5529] 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 5530] <... chdir resumed>) = 0 [pid 5101] getdents64(4, [pid 5100] openat(AT_FDCWD, "./67/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5530] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5530] truncate("./file1", 0) = 0 [pid 5530] memfd_create("syzkaller", 0 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] <... openat resumed>) = 4 [pid 5530] <... memfd_create resumed>) = 4 [pid 5530] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5530] 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] close(4 [pid 5100] newfstatat(4, "", [pid 5101] <... close resumed>) = 0 [pid 5531] <... write resumed>) = 524288 [pid 5101] rmdir("./67/file1" [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] <... rmdir resumed>) = 0 [pid 5100] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5100] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] close(4 [pid 5101] getdents64(3, [pid 5100] <... close resumed>) = 0 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5101] close(3 [pid 5100] rmdir("./67/file1" [pid 5101] <... close resumed>) = 0 [pid 5100] <... rmdir resumed>) = 0 [pid 5531] munmap(0x7f8438200000, 138412032 [pid 5529] <... write resumed>) = 524288 [pid 5530] <... write resumed>) = 524288 [pid 5531] <... munmap resumed>) = 0 [pid 5101] rmdir("./67" [pid 5531] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5529] munmap(0x7f8438200000, 138412032 [pid 5531] <... openat resumed>) = 4 [pid 5529] <... munmap resumed>) = 0 [pid 5101] <... rmdir resumed>) = 0 [pid 5531] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5531] ioctl(4, LOOP_CLR_FD) = 0 [pid 5529] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5529] close(4 [pid 5531] ioctl(4, LOOP_SET_FD, 3 [pid 5101] mkdir("./68", 0777 [pid 5100] getdents64(3, [pid 5531] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5531] close(4 [pid 5101] <... mkdir resumed>) = 0 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5530] munmap(0x7f8438200000, 138412032) = 0 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5100] close(3 [pid 5097] <... ioctl resumed>) = 0 [pid 5531] <... close resumed>) = 0 [pid 5100] <... close resumed>) = 0 [pid 5531] close(3 [pid 5101] <... openat resumed>) = 3 [pid 5100] rmdir("./67" [pid 5097] close(3 [pid 5529] <... close resumed>) = 0 [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5100] <... rmdir resumed>) = 0 [pid 5097] <... close resumed>) = 0 [pid 5530] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5100] mkdir("./68", 0777 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5530] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5530] close(4 [pid 5100] <... mkdir resumed>) = 0 ./strace-static-x86_64: Process 5532 attached [pid 5530] <... close resumed>) = 0 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5529] exit_group(0) = ? [pid 5529] +++ exited with 0 +++ [pid 5531] <... close resumed>) = 0 [pid 5531] truncate("./file1", 0 [pid 5532] set_robust_list(0x55556fbaa660, 24 [pid 5530] exit_group(0 [pid 5100] <... openat resumed>) = 3 [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5532 [pid 5532] <... set_robust_list resumed>) = 0 [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5529, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5103] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5100] <... ioctl resumed>) = 0 [pid 5532] chdir("./71" [pid 5100] close(3) = 0 [pid 5103] umount2("./68", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5532] <... chdir resumed>) = 0 [pid 5531] <... truncate resumed>) = -1 ENOENT (No such file or directory) [pid 5530] <... exit_group resumed>) = ? [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) ./strace-static-x86_64: Process 5533 attached [pid 5532] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5531] memfd_create("syzkaller", 0 [pid 5530] +++ exited with 0 +++ [pid 5103] openat(AT_FDCWD, "./68", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5533 [pid 5533] set_robust_list(0x55556fbaa660, 24 [pid 5532] <... prctl resumed>) = 0 [pid 5531] <... memfd_create resumed>) = 3 [pid 5103] <... openat resumed>) = 3 [pid 5533] <... set_robust_list resumed>) = 0 [pid 5532] setpgid(0, 0 [pid 5531] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] newfstatat(3, "", [pid 5533] chdir("./68" [pid 5532] <... setpgid resumed>) = 0 [pid 5531] <... mmap resumed>) = 0x7f8438200000 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5530, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5533] <... chdir resumed>) = 0 [pid 5532] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5531] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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(3, [pid 5098] umount2("./70", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5103] umount2("./68/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5533] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5532] <... openat resumed>) = 3 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./70", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5533] <... prctl resumed>) = 0 [pid 5103] newfstatat(AT_FDCWD, "./68/binderfs", [pid 5533] setpgid(0, 0 [pid 5532] write(3, "1000", 4 [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] <... openat resumed>) = 3 [pid 5533] <... setpgid resumed>) = 0 [pid 5531] <... write resumed>) = 524288 [pid 5103] unlink("./68/binderfs" [pid 5098] newfstatat(3, "", [pid 5533] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5532] <... write resumed>) = 4 [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 5532] close(3 [pid 5103] umount2("./68/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5532] <... close resumed>) = 0 [pid 5098] umount2("./70/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5533] write(3, "1000", 4 [pid 5532] symlink("/dev/binderfs", "./binderfs" [pid 5101] <... ioctl resumed>) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./70/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5532] <... symlink resumed>) = 0 [pid 5098] unlink("./70/binderfs"executing program [pid 5533] <... write resumed>) = 4 [pid 5532] write(1, "executing program\n", 18 [pid 5101] close(3 [pid 5098] <... unlink resumed>) = 0 [pid 5533] close(3 [pid 5532] <... write resumed>) = 18 [pid 5101] <... close resumed>) = 0 [pid 5098] umount2("./70/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5533] <... close resumed>) = 0 [pid 5533] symlink("/dev/binderfs", "./binderfs" [pid 5532] memfd_create("syzkaller", 0 [pid 5531] munmap(0x7f8438200000, 138412032 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5533] <... symlink resumed>) = 0 [pid 5532] <... memfd_create resumed>) = 3 [pid 5531] <... munmap resumed>) = 0 executing program [pid 5533] write(1, "executing program\n", 18 [pid 5532] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5531] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5533] <... write resumed>) = 18 [pid 5531] <... openat resumed>) = 4 [pid 5531] ioctl(4, LOOP_SET_FD, 3 [pid 5533] memfd_create("syzkaller", 0) = 3 [pid 5532] <... mmap resumed>) = 0x7f8438200000 ./strace-static-x86_64: Process 5534 attached [pid 5533] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5534] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5534 [pid 5531] <... ioctl resumed>) = 0 [pid 5534] chdir("./68" [pid 5533] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5532] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 resumed>) = 0 [pid 5098] <... umount2 resumed>) = 0 [pid 5534] <... chdir resumed>) = 0 [pid 5534] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5531] close(3 [pid 5534] setpgid(0, 0 [pid 5531] <... close resumed>) = 0 [pid 5534] <... setpgid resumed>) = 0 [pid 5534] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5098] umount2("./70/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5534] write(3, "1000", 4) = 4 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5534] close(3 [pid 5098] newfstatat(AT_FDCWD, "./70/file1", [pid 5534] <... close resumed>) = 0 [pid 5534] symlink("/dev/binderfs", "./binderfs" [pid 5533] <... write resumed>) = 524288 [pid 5531] close(4 [pid 5103] umount2("./68/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5531] <... close resumed>) = 0 [pid 5531] mkdir("./file1", 0777 [pid 5534] <... symlink resumed>) = 0 [pid 5531] <... mkdir resumed>) = 0 [ 158.091313][ T5531] loop2: detected capacity change from 0 to 1024 [pid 5098] umount2("./70/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5534] write(1, "executing program\n", 18 [pid 5532] <... write resumed>) = 524288 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./70/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5103] newfstatat(AT_FDCWD, "./68/file1", [pid 5531] mount("/dev/loop2", "./file1", "hfsplus", MS_NOSUID|MS_NOEXEC|MS_SYNCHRONOUS|MS_MANDLOCK, ""executing program [pid 5534] <... write resumed>) = 18 [pid 5533] munmap(0x7f8438200000, 138412032 [pid 5532] munmap(0x7f8438200000, 138412032 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] <... openat resumed>) = 4 [pid 5098] newfstatat(4, "", [pid 5103] umount2("./68/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5534] memfd_create("syzkaller", 0 [pid 5103] openat(AT_FDCWD, "./68/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] getdents64(4, [pid 5532] <... munmap resumed>) = 0 [pid 5534] <... memfd_create resumed>) = 3 [pid 5533] <... munmap resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5532] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5098] getdents64(4, [pid 5534] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5533] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5532] <... openat resumed>) = 4 [pid 5103] getdents64(4, [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5534] <... mmap resumed>) = 0x7f8438200000 [pid 5103] close(4 [pid 5533] <... openat resumed>) = 4 [pid 5103] <... close resumed>) = 0 [pid 5098] getdents64(4, [pid 5103] rmdir("./68/file1" [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] close(4 [pid 5533] ioctl(4, LOOP_SET_FD, 3 [pid 5103] <... rmdir resumed>) = 0 [pid 5098] <... close resumed>) = 0 [pid 5534] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5532] ioctl(4, LOOP_SET_FD, 3 [pid 5103] getdents64(3, [pid 5098] rmdir("./70/file1" [pid 5531] <... mount resumed>) = -1 EIO (Input/output error) [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5531] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5531] ioctl(3, LOOP_CLR_FD) = 0 [pid 5531] close(3) = 0 [pid 5531] exit_group(0) = ? [pid 5531] +++ exited with 0 +++ [pid 5103] close(3 [pid 5098] <... rmdir resumed>) = 0 [pid 5098] getdents64(3, [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5531, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5103] <... close resumed>) = 0 [pid 5099] umount2("./70", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "./70", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5098] close(3 [pid 5103] rmdir("./68" [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("./70/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] <... rmdir resumed>) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] newfstatat(AT_FDCWD, "./70/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] <... close resumed>) = 0 [pid 5533] <... ioctl resumed>) = 0 [pid 5099] unlink("./70/binderfs" [pid 5533] close(3 [pid 5099] <... unlink resumed>) = 0 [pid 5534] <... write resumed>) = 524288 [pid 5533] <... close resumed>) = 0 [pid 5532] <... ioctl resumed>) = 0 [pid 5103] mkdir("./69", 0777 [pid 5098] rmdir("./70" [pid 5533] close(4 [pid 5099] umount2("./70/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5533] <... close resumed>) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5533] mkdir("./file1", 0777 [pid 5099] newfstatat(AT_FDCWD, "./70/file1", [pid 5533] <... mkdir resumed>) = 0 [pid 5532] close(3 [pid 5103] <... mkdir resumed>) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] <... rmdir resumed>) = 0 [pid 5532] <... close resumed>) = 0 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5098] mkdir("./71", 0777 [pid 5532] close(4 [pid 5533] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5099] umount2("./70/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5532] <... close resumed>) = 0 [pid 5532] mkdir("./file1", 0777 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5532] <... mkdir resumed>) = 0 [pid 5103] <... openat resumed>) = 3 [pid 5099] openat(AT_FDCWD, "./70/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] <... mkdir resumed>) = 0 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5534] munmap(0x7f8438200000, 138412032 [pid 5532] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5099] <... openat resumed>) = 4 [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5534] <... munmap resumed>) = 0 [pid 5099] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] <... openat resumed>) = 3 [pid 5099] getdents64(4, [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [ 158.163480][ T5531] hfsplus: failed to load root directory [ 158.191922][ T5533] loop3: detected capacity change from 0 to 1024 [ 158.198998][ T5532] loop0: detected capacity change from 0 to 1024 [pid 5099] getdents64(4, [pid 5534] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5533] <... mount resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5534] <... openat resumed>) = 4 [pid 5533] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5534] ioctl(4, LOOP_SET_FD, 3 [pid 5533] <... openat resumed>) = 3 [pid 5099] close(4 [pid 5533] chdir("./file1") = 0 [pid 5099] <... close resumed>) = 0 [pid 5533] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5099] rmdir("./70/file1" [pid 5533] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] <... rmdir resumed>) = 0 [pid 5533] truncate("./file1", 0 [pid 5099] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5099] close(3) = 0 [pid 5099] rmdir("./70") = 0 [pid 5099] mkdir("./71", 0777 [pid 5533] <... truncate resumed>) = 0 [pid 5099] <... mkdir resumed>) = 0 [pid 5533] memfd_create("syzkaller", 0) = 4 [pid 5533] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5533] 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] 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 5534] <... ioctl resumed>) = 0 [pid 5534] close(3) = 0 [pid 5534] close(4) = 0 [pid 5534] mkdir("./file1", 0777) = 0 ./strace-static-x86_64: Process 5535 attached [pid 5533] <... write resumed>) = 524288 [pid 5532] <... mount resumed>) = 0 [pid 5534] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5103] <... ioctl resumed>) = 0 [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5535 [pid 5098] <... ioctl resumed>) = 0 [pid 5535] set_robust_list(0x55556fbaa660, 24 [pid 5103] close(3 [pid 5535] <... set_robust_list resumed>) = 0 [pid 5535] chdir("./71" [pid 5532] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5103] <... close resumed>) = 0 [pid 5098] close(3 [pid 5535] <... chdir resumed>) = 0 [pid 5535] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5534] <... mount resumed>) = 0 [pid 5532] <... openat resumed>) = 3 [pid 5098] <... close resumed>) = 0 [pid 5535] <... prctl resumed>) = 0 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5535] setpgid(0, 0) = 0 [pid 5532] chdir("./file1" [pid 5535] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5532] <... chdir resumed>) = 0 [pid 5532] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5535] <... openat resumed>) = 3 [pid 5532] truncate("./file1", 0 [pid 5534] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5535] write(3, "1000", 4 [ 158.239237][ T5534] loop4: detected capacity change from 0 to 1024 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5534] <... openat resumed>) = 3 [pid 5534] chdir("./file1" [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5536 [pid 5534] <... chdir resumed>) = 0 [pid 5534] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) ./strace-static-x86_64: Process 5536 attached [pid 5532] <... truncate resumed>) = 0 [pid 5536] set_robust_list(0x55556fbaa660, 24 [pid 5534] truncate("./file1", 0 [pid 5532] memfd_create("syzkaller", 0 [pid 5536] <... set_robust_list resumed>) = 0 [pid 5535] <... write resumed>) = 4 [pid 5533] munmap(0x7f8438200000, 138412032 [pid 5532] <... memfd_create resumed>) = 4 [pid 5536] chdir("./71" [pid 5535] close(3 [pid 5534] <... truncate resumed>) = 0 [pid 5533] <... munmap resumed>) = 0 [pid 5532] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0./strace-static-x86_64: Process 5537 attached [pid 5536] <... chdir resumed>) = 0 [pid 5535] <... close resumed>) = 0 [pid 5534] memfd_create("syzkaller", 0 [pid 5535] symlink("/dev/binderfs", "./binderfs"executing program [pid 5537] set_robust_list(0x55556fbaa660, 24 [pid 5536] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5535] <... symlink resumed>) = 0 [pid 5534] <... memfd_create resumed>) = 4 [pid 5532] <... mmap resumed>) = 0x7f8438200000 [pid 5537] <... set_robust_list resumed>) = 0 [pid 5536] <... prctl resumed>) = 0 [pid 5535] write(1, "executing program\n", 18 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5537 [pid 5537] chdir("./69" [pid 5536] setpgid(0, 0 [pid 5535] <... write resumed>) = 18 [pid 5534] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5533] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5532] 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 5536] <... setpgid resumed>) = 0 [pid 5534] <... mmap resumed>) = 0x7f8438200000 [pid 5535] memfd_create("syzkaller", 0 [pid 5533] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5536] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5535] <... memfd_create resumed>) = 3 [pid 5535] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5537] <... chdir resumed>) = 0 [pid 5536] <... openat resumed>) = 3 [pid 5535] <... mmap resumed>) = 0x7f8438200000 [pid 5533] close(4 [pid 5537] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5536] write(3, "1000", 4 [pid 5535] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5533] <... close resumed>) = 0 [pid 5537] <... prctl resumed>) = 0 [pid 5536] <... write resumed>) = 4 [pid 5537] setpgid(0, 0 [pid 5536] close(3) = 0 [pid 5537] <... setpgid resumed>) = 0 [pid 5537] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5536] symlink("/dev/binderfs", "./binderfs" [pid 5534] 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 5532] <... write resumed>) = 524288 [pid 5536] <... symlink resumed>) = 0 executing program [pid 5536] write(1, "executing program\n", 18 [pid 5537] <... openat resumed>) = 3 [pid 5536] <... write resumed>) = 18 [pid 5536] memfd_create("syzkaller", 0) = 3 [pid 5536] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5537] write(3, "1000", 4 [pid 5536] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5537] <... write resumed>) = 4 [pid 5537] close(3 [pid 5533] exit_group(0 [pid 5537] <... close resumed>) = 0 [pid 5537] symlink("/dev/binderfs", "./binderfs" [pid 5533] <... exit_group resumed>) = ? [pid 5537] <... symlink resumed>) = 0 [pid 5535] <... write resumed>) = 524288 [pid 5533] +++ exited with 0 +++ executing program [pid 5537] write(1, "executing program\n", 18) = 18 [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5533, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 5532] munmap(0x7f8438200000, 138412032) = 0 [pid 5100] umount2("./68", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5537] memfd_create("syzkaller", 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5537] <... memfd_create resumed>) = 3 [pid 5100] openat(AT_FDCWD, "./68", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5537] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] <... openat resumed>) = 3 [pid 5537] <... mmap resumed>) = 0x7f8438200000 [pid 5100] newfstatat(3, "", [pid 5534] <... write resumed>) = 524288 [pid 5532] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5532] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] getdents64(3, [pid 5536] <... write resumed>) = 524288 [pid 5532] close(4 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5100] umount2("./68/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5534] munmap(0x7f8438200000, 138412032 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5537] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5535] munmap(0x7f8438200000, 138412032 [pid 5534] <... munmap resumed>) = 0 [pid 5532] <... close resumed>) = 0 [pid 5100] newfstatat(AT_FDCWD, "./68/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] unlink("./68/binderfs" [pid 5534] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5100] <... unlink resumed>) = 0 [pid 5100] umount2("./68/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5534] close(4) = 0 [pid 5535] <... munmap resumed>) = 0 [pid 5536] munmap(0x7f8438200000, 138412032) = 0 [pid 5536] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 5536] ioctl(4, LOOP_SET_FD, 3 [pid 5535] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5100] <... umount2 resumed>) = 0 [pid 5535] <... openat resumed>) = 4 [pid 5532] exit_group(0 [pid 5100] umount2("./68/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5532] <... exit_group resumed>) = ? [pid 5537] <... write resumed>) = 524288 [pid 5535] ioctl(4, LOOP_SET_FD, 3 [pid 5532] +++ exited with 0 +++ [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] newfstatat(AT_FDCWD, "./68/file1", [pid 5534] exit_group(0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5532, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5534] <... exit_group resumed>) = ? [pid 5534] +++ exited with 0 +++ [pid 5536] <... ioctl resumed>) = 0 [pid 5536] close(3) = 0 [pid 5536] close(4) = 0 [pid 5536] mkdir("./file1", 0777 [pid 5100] umount2("./68/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5534, si_uid=0, si_status=0, si_utime=0, si_stime=8 /* 0.08 s */} --- [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5537] munmap(0x7f8438200000, 138412032 [pid 5100] openat(AT_FDCWD, "./68/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5536] <... mkdir resumed>) = 0 [pid 5101] umount2("./68", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... openat resumed>) = 4 [pid 5537] <... munmap resumed>) = 0 [pid 5100] newfstatat(4, "", [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] umount2("./71", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5537] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5101] openat(AT_FDCWD, "./68", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5536] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5101] <... openat resumed>) = 3 [pid 5100] getdents64(4, [pid 5097] openat(AT_FDCWD, "./71", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5537] <... openat resumed>) = 4 [pid 5101] newfstatat(3, "", [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] newfstatat(3, "", [pid 5537] ioctl(4, LOOP_SET_FD, 3 [pid 5535] <... ioctl resumed>) = 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] getdents64(3, [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5535] close(3 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5100] getdents64(4, [pid 5097] umount2("./71/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5535] <... close resumed>) = 0 [pid 5101] umount2("./68/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5537] <... ioctl resumed>) = 0 [pid 5535] close(4 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] close(4 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5535] <... close resumed>) = 0 [pid 5101] newfstatat(AT_FDCWD, "./68/binderfs", [pid 5537] close(3 [pid 5100] <... close resumed>) = 0 [pid 5097] newfstatat(AT_FDCWD, "./71/binderfs", [pid 5535] mkdir("./file1", 0777 [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] unlink("./68/binderfs" [pid 5100] rmdir("./68/file1" [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5535] <... mkdir resumed>) = 0 [pid 5535] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5101] <... unlink resumed>) = 0 [pid 5097] unlink("./71/binderfs" [pid 5100] <... rmdir resumed>) = 0 [pid 5537] <... close resumed>) = 0 [pid 5101] umount2("./68/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] getdents64(3, [pid 5097] <... unlink resumed>) = 0 [pid 5537] close(4 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] umount2("./71/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5537] <... close resumed>) = 0 [pid 5100] close(3 [pid 5537] mkdir("./file1", 0777 [pid 5100] <... close resumed>) = 0 [pid 5537] <... mkdir resumed>) = 0 [pid 5100] rmdir("./68" [pid 5537] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5100] <... rmdir resumed>) = 0 [pid 5100] mkdir("./69", 0777 [pid 5536] <... mount resumed>) = 0 [pid 5535] <... mount resumed>) = 0 [pid 5100] <... mkdir resumed>) = 0 [pid 5536] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5535] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5536] <... openat resumed>) = 3 [pid 5535] <... openat resumed>) = 3 [pid 5100] <... openat resumed>) = 3 [pid 5536] chdir("./file1" [pid 5535] chdir("./file1" [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5536] <... chdir resumed>) = 0 [pid 5535] <... chdir resumed>) = 0 [pid 5536] openat(AT_FDCWD, "/dev/loop1", O_RDWR [ 158.406050][ T5536] loop1: detected capacity change from 0 to 1024 [ 158.427619][ T5535] loop2: detected capacity change from 0 to 1024 [ 158.441323][ T5537] loop5: detected capacity change from 0 to 1024 [pid 5535] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5536] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5535] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5536] truncate("./file1", 0 [pid 5535] truncate("./file1", 0 [pid 5101] <... umount2 resumed>) = 0 [pid 5537] <... mount resumed>) = 0 [pid 5101] umount2("./68/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... umount2 resumed>) = 0 [pid 5537] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] umount2("./71/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] newfstatat(AT_FDCWD, "./68/file1", [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] newfstatat(AT_FDCWD, "./71/file1", [pid 5536] <... truncate resumed>) = 0 [pid 5537] <... openat resumed>) = 3 [pid 5536] memfd_create("syzkaller", 0 [pid 5101] umount2("./68/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] umount2("./71/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] openat(AT_FDCWD, "./68/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5537] chdir("./file1" [pid 5536] <... memfd_create resumed>) = 4 [pid 5535] <... truncate resumed>) = 0 [pid 5101] <... openat resumed>) = 4 [pid 5097] openat(AT_FDCWD, "./71/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5537] <... chdir resumed>) = 0 [pid 5536] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5535] memfd_create("syzkaller", 0 [pid 5537] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5536] <... mmap resumed>) = 0x7f8438200000 [pid 5535] <... memfd_create resumed>) = 4 [pid 5537] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5535] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5097] <... openat resumed>) = 4 [pid 5537] truncate("./file1", 0 [pid 5535] <... mmap resumed>) = 0x7f8438200000 [pid 5101] newfstatat(4, "", [pid 5536] 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 5101] <... 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 5101] getdents64(4, [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] close(4) = 0 [pid 5101] getdents64(4, [pid 5097] rmdir("./71/file1") = 0 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5101] close(4 [pid 5097] getdents64(3, [pid 5535] 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 5537] <... truncate resumed>) = 0 [pid 5536] <... write resumed>) = 524288 [pid 5101] <... close resumed>) = 0 [pid 5100] <... ioctl resumed>) = 0 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5537] memfd_create("syzkaller", 0) = 4 [pid 5537] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5536] munmap(0x7f8438200000, 138412032 [pid 5535] <... write resumed>) = 524288 [pid 5101] rmdir("./68/file1" [pid 5097] close(3 [pid 5537] <... mmap resumed>) = 0x7f8438200000 [pid 5536] <... munmap resumed>) = 0 [pid 5097] <... close resumed>) = 0 [pid 5536] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5101] <... rmdir resumed>) = 0 [pid 5097] rmdir("./71" [pid 5536] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5536] close(4 [pid 5101] getdents64(3, [pid 5097] <... rmdir resumed>) = 0 [pid 5097] mkdir("./72", 0777 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5537] 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 5536] <... close resumed>) = 0 [pid 5101] close(3 [pid 5100] close(3 [pid 5097] <... mkdir resumed>) = 0 [pid 5101] <... close resumed>) = 0 [pid 5100] <... close resumed>) = 0 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5101] rmdir("./68" [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5101] <... rmdir resumed>) = 0 [pid 5097] <... openat resumed>) = 3 [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5535] munmap(0x7f8438200000, 138412032) = 0 [pid 5101] mkdir("./69", 0777 [pid 5535] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5538 ./strace-static-x86_64: Process 5538 attached [pid 5538] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5538] chdir("./69" [pid 5535] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5535] close(4 [pid 5538] <... chdir resumed>) = 0 [pid 5538] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5538] setpgid(0, 0) = 0 [pid 5538] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5101] <... mkdir resumed>) = 0 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5538] <... openat resumed>) = 3 [pid 5538] write(3, "1000", 4) = 4 [pid 5538] close(3 [pid 5537] <... write resumed>) = 524288 [pid 5538] <... close resumed>) = 0 [pid 5101] <... openat resumed>) = 3 [pid 5536] exit_group(0) = ? [pid 5538] symlink("/dev/binderfs", "./binderfs" [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5538] <... symlink resumed>) = 0 [pid 5537] munmap(0x7f8438200000, 138412032executing program [pid 5538] write(1, "executing program\n", 18 [pid 5537] <... munmap resumed>) = 0 [pid 5538] <... write resumed>) = 18 [pid 5538] memfd_create("syzkaller", 0) = 3 [pid 5538] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5537] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5536] +++ exited with 0 +++ [pid 5538] <... mmap resumed>) = 0x7f8438200000 [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5536, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5537] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5537] close(4 [pid 5098] umount2("./71", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5535] <... close resumed>) = 0 [pid 5098] openat(AT_FDCWD, "./71", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5538] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... openat resumed>) = 3 [pid 5098] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] getdents64(3, [pid 5535] exit_group(0) = ? [pid 5538] <... write resumed>) = 524288 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5535] +++ exited with 0 +++ [pid 5098] umount2("./71/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5535, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5537] <... close resumed>) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./71/binderfs", [pid 5537] exit_group(0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5537] <... exit_group resumed>) = ? [pid 5098] unlink("./71/binderfs") = 0 [pid 5098] umount2("./71/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] umount2("./71", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5537] +++ exited with 0 +++ [pid 5538] munmap(0x7f8438200000, 138412032) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... umount2 resumed>) = 0 [pid 5097] <... ioctl resumed>) = 0 [pid 5098] umount2("./71/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./71/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5537, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=3 /* 0.03 s */} --- [pid 5101] <... ioctl resumed>) = 0 [pid 5099] openat(AT_FDCWD, "./71", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] umount2("./71/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] umount2("./69", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] close(3 [pid 5538] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] <... close resumed>) = 0 [pid 5099] <... openat resumed>) = 3 [pid 5538] ioctl(4, LOOP_SET_FD, 3 [pid 5103] openat(AT_FDCWD, "./69", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5099] newfstatat(3, "", [pid 5103] <... openat resumed>) = 3 [pid 5103] newfstatat(3, "", [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./71/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5539 [pid 5099] getdents64(3, [pid 5098] <... openat resumed>) = 4 [pid 5097] close(3./strace-static-x86_64: Process 5539 attached [pid 5098] newfstatat(4, "", [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] <... close resumed>) = 0 [pid 5539] set_robust_list(0x55556fbaa660, 24 [pid 5099] umount2("./71/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5539] <... set_robust_list resumed>) = 0 [pid 5103] getdents64(3, [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5098] getdents64(4, [pid 5539] chdir("./69" [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] close(4) = 0 [pid 5098] rmdir("./71/file1" [pid 5539] <... chdir resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... rmdir resumed>) = 0 [pid 5103] umount2("./69/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] newfstatat(AT_FDCWD, "./71/binderfs", [pid 5539] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] getdents64(3, [pid 5539] <... prctl resumed>) = 0 [pid 5103] newfstatat(AT_FDCWD, "./69/binderfs", [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5540 [pid 5098] close(3 [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] unlink("./71/binderfs" [pid 5098] <... close resumed>) = 0 [pid 5539] setpgid(0, 0 [pid 5098] rmdir("./71" [pid 5539] <... setpgid resumed>) = 0 [pid 5099] <... unlink resumed>) = 0 [pid 5098] <... rmdir resumed>) = 0 [pid 5539] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5098] mkdir("./72", 0777 [pid 5103] unlink("./69/binderfs" [pid 5099] umount2("./71/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... mkdir resumed>) = 0 [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5098] ioctl(3, LOOP_CLR_FD) = 0 [pid 5098] close(3) = 0 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5540 attached [pid 5539] <... openat resumed>) = 3 [pid 5103] <... unlink resumed>) = 0 [pid 5540] set_robust_list(0x55556fbaa660, 24 [pid 5539] write(3, "1000", 4 [pid 5103] umount2("./69/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... umount2 resumed>) = 0 [pid 5540] <... set_robust_list resumed>) = 0 [pid 5540] chdir("./72" [pid 5539] <... write resumed>) = 4 [pid 5538] <... ioctl resumed>) = 0 [pid 5540] <... chdir resumed>) = 0 [pid 5539] close(3 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5541 [pid 5540] prctl(PR_SET_PDEATHSIG, SIGKILL./strace-static-x86_64: Process 5541 attached ) = 0 [pid 5539] <... close resumed>) = 0 [pid 5538] close(3) = 0 [pid 5539] symlink("/dev/binderfs", "./binderfs" [pid 5538] close(4 [pid 5540] setpgid(0, 0 [pid 5538] <... close resumed>) = 0 [pid 5541] set_robust_list(0x55556fbaa660, 24 [pid 5538] mkdir("./file1", 0777 [pid 5541] <... set_robust_list resumed>) = 0 [pid 5540] <... setpgid resumed>) = 0 [pid 5539] <... symlink resumed>) = 0 [pid 5538] <... mkdir resumed>) = 0 [pid 5541] chdir("./72" [pid 5540] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXECexecuting program [pid 5541] <... chdir resumed>) = 0 [pid 5539] write(1, "executing program\n", 18 [pid 5538] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5541] prctl(PR_SET_PDEATHSIG, SIGKILL [ 158.635528][ T5538] loop3: detected capacity change from 0 to 1024 [pid 5099] umount2("./71/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5541] <... prctl resumed>) = 0 [pid 5540] <... openat resumed>) = 3 [pid 5539] <... write resumed>) = 18 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5541] setpgid(0, 0 [pid 5540] write(3, "1000", 4 [pid 5539] memfd_create("syzkaller", 0 [pid 5099] newfstatat(AT_FDCWD, "./71/file1", [pid 5540] <... write resumed>) = 4 [pid 5539] <... memfd_create resumed>) = 3 [pid 5540] close(3 [pid 5539] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] <... umount2 resumed>) = 0 [pid 5540] <... close resumed>) = 0 [pid 5539] <... mmap resumed>) = 0x7f8438200000 executing program [pid 5540] symlink("/dev/binderfs", "./binderfs" [pid 5539] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5541] <... setpgid resumed>) = 0 [pid 5099] umount2("./71/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5541] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5540] <... symlink resumed>) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5540] write(1, "executing program\n", 18 [pid 5541] <... openat resumed>) = 3 [pid 5540] <... write resumed>) = 18 [pid 5099] openat(AT_FDCWD, "./71/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5540] memfd_create("syzkaller", 0 [pid 5103] umount2("./69/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] newfstatat(4, "", [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5541] write(3, "1000", 4 [pid 5540] <... memfd_create resumed>) = 3 [pid 5103] newfstatat(AT_FDCWD, "./69/file1", [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] getdents64(4, [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5103] umount2("./69/file1", MNT_FORCE|UMOUNT_NOFOLLOWexecuting program [pid 5541] <... write resumed>) = 4 [pid 5538] <... mount resumed>) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] getdents64(4, [pid 5538] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5538] <... openat resumed>) = 3 [pid 5099] close(4) = 0 [pid 5099] rmdir("./71/file1" [pid 5541] close(3 [pid 5538] chdir("./file1" [pid 5099] <... rmdir resumed>) = 0 [pid 5541] <... close resumed>) = 0 [pid 5538] <... chdir resumed>) = 0 [pid 5541] symlink("/dev/binderfs", "./binderfs" [pid 5538] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5099] getdents64(3, [pid 5541] <... symlink resumed>) = 0 [pid 5538] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5541] write(1, "executing program\n", 18 [pid 5538] truncate("./file1", 0 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5541] <... write resumed>) = 18 [pid 5538] <... truncate resumed>) = 0 [pid 5541] memfd_create("syzkaller", 0 [pid 5538] memfd_create("syzkaller", 0 [pid 5099] close(3 [pid 5541] <... memfd_create resumed>) = 3 [pid 5538] <... memfd_create resumed>) = 4 [pid 5099] <... close resumed>) = 0 [pid 5541] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5538] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5099] rmdir("./71" [pid 5541] <... mmap resumed>) = 0x7f8438200000 [pid 5540] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5538] <... mmap resumed>) = 0x7f8438200000 [pid 5103] openat(AT_FDCWD, "./69/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5541] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5540] <... mmap resumed>) = 0x7f8438200000 [pid 5539] <... write resumed>) = 524288 [pid 5538] 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>) = 4 [pid 5099] <... rmdir resumed>) = 0 [pid 5099] mkdir("./72", 0777 [pid 5103] newfstatat(4, "", [pid 5539] munmap(0x7f8438200000, 138412032) = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] <... mkdir resumed>) = 0 [pid 5539] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5103] getdents64(4, [pid 5540] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5539] <... openat resumed>) = 4 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5539] ioctl(4, LOOP_SET_FD, 3 [pid 5103] getdents64(4, [pid 5099] <... openat resumed>) = 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 5541] <... write resumed>) = 524288 [pid 5540] <... write resumed>) = 524288 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5542 [pid 5103] close(4) = 0 [pid 5539] <... ioctl resumed>) = 0 [pid 5539] close(3 [pid 5103] rmdir("./69/file1"./strace-static-x86_64: Process 5542 attached [pid 5542] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5539] <... close resumed>) = 0 [pid 5538] <... write resumed>) = 524288 [pid 5103] <... rmdir resumed>) = 0 [pid 5540] munmap(0x7f8438200000, 138412032 [pid 5539] close(4 [pid 5103] getdents64(3, [pid 5542] chdir("./72") = 0 [pid 5542] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5540] <... munmap resumed>) = 0 [pid 5539] <... close resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5539] mkdir("./file1", 0777 [pid 5103] close(3 [pid 5542] <... prctl resumed>) = 0 [pid 5103] <... close resumed>) = 0 [pid 5540] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5103] rmdir("./69" [pid 5542] setpgid(0, 0 [pid 5540] <... openat resumed>) = 4 [pid 5542] <... setpgid resumed>) = 0 [pid 5541] munmap(0x7f8438200000, 138412032 [pid 5539] <... mkdir resumed>) = 0 [pid 5538] munmap(0x7f8438200000, 138412032 [pid 5103] <... rmdir resumed>) = 0 [pid 5542] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5103] mkdir("./70", 0777 [pid 5542] <... openat resumed>) = 3 [pid 5542] write(3, "1000", 4) = 4 [pid 5103] <... mkdir resumed>) = 0 [pid 5542] close(3 [ 158.755165][ T5539] loop4: detected capacity change from 0 to 1024 executing program [pid 5540] ioctl(4, LOOP_SET_FD, 3 [pid 5542] <... close resumed>) = 0 [pid 5542] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5542] write(1, "executing program\n", 18 [pid 5541] <... munmap resumed>) = 0 [pid 5538] <... munmap resumed>) = 0 [pid 5542] <... write resumed>) = 18 [pid 5542] memfd_create("syzkaller", 0) = 3 [pid 5538] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5542] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5541] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5538] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5542] <... mmap resumed>) = 0x7f8438200000 [pid 5541] <... openat resumed>) = 4 [pid 5538] close(4 [pid 5539] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5542] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5541] ioctl(4, LOOP_SET_FD, 3 [pid 5103] <... openat resumed>) = 3 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5541] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5541] ioctl(4, LOOP_CLR_FD [pid 5542] <... write resumed>) = 524288 [pid 5539] <... mount resumed>) = 0 [pid 5539] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5538] <... close resumed>) = 0 [pid 5539] <... openat resumed>) = 3 [pid 5540] <... ioctl resumed>) = 0 [pid 5539] chdir("./file1" [pid 5538] exit_group(0 [pid 5540] close(3 [pid 5538] <... exit_group resumed>) = ? [pid 5540] <... close resumed>) = 0 [pid 5539] <... chdir resumed>) = 0 [pid 5538] +++ exited with 0 +++ [pid 5540] close(4 [pid 5539] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5538, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5540] <... close resumed>) = 0 [pid 5540] mkdir("./file1", 0777) = 0 [pid 5100] umount2("./69", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5540] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5539] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] openat(AT_FDCWD, "./69", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5539] truncate("./file1", 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 5100] umount2("./69/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5100] newfstatat(AT_FDCWD, "./69/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] unlink("./69/binderfs") = 0 [ 158.800099][ T5540] loop0: detected capacity change from 0 to 1024 [pid 5100] umount2("./69/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5540] <... mount resumed>) = 0 [pid 5540] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5540] chdir("./file1") = 0 [pid 5540] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5542] munmap(0x7f8438200000, 138412032 [pid 5100] <... umount2 resumed>) = 0 [pid 5542] <... munmap resumed>) = 0 [pid 5540] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5539] <... truncate resumed>) = 0 [pid 5103] <... ioctl resumed>) = 0 [pid 5541] <... ioctl resumed>) = 0 [pid 5540] truncate("./file1", 0 [pid 5100] umount2("./69/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5100] newfstatat(AT_FDCWD, "./69/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] umount2("./69/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5100] openat(AT_FDCWD, "./69/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5541] ioctl(4, LOOP_SET_FD, 3 [pid 5539] memfd_create("syzkaller", 0 [pid 5100] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5542] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5100] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5542] ioctl(4, LOOP_SET_FD, 3 [pid 5539] <... memfd_create resumed>) = 4 [pid 5103] close(3 [pid 5539] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] <... close resumed>) = 0 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5539] <... mmap resumed>) = 0x7f8438200000 [pid 5540] <... truncate resumed>) = 0 [pid 5100] getdents64(4, [pid 5540] memfd_create("syzkaller", 0 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5540] <... memfd_create resumed>) = 4 [pid 5100] close(4 [pid 5540] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] <... close resumed>) = 0 [pid 5540] <... mmap resumed>) = 0x7f8438200000 [pid 5100] rmdir("./69/file1") = 0 [pid 5100] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] close(3) = 0 [pid 5100] rmdir("./69" [pid 5540] 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 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5543 [pid 5100] mkdir("./70", 0777 [pid 5542] <... ioctl resumed>) = 0 [pid 5100] <... mkdir resumed>) = 0 [pid 5542] close(3 [pid 5541] <... ioctl resumed>) = 0 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5542] <... close resumed>) = 0 [pid 5541] close(3 [pid 5100] <... openat resumed>) = 3 [pid 5542] close(4 [pid 5541] <... close resumed>) = 0 [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5541] close(4) = 0 [pid 5541] mkdir("./file1", 0777./strace-static-x86_64: Process 5543 attached [pid 5542] <... close resumed>) = 0 [pid 5541] <... mkdir resumed>) = 0 [pid 5540] <... write resumed>) = 524288 [pid 5539] 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 5541] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5543] set_robust_list(0x55556fbaa660, 24 [pid 5542] mkdir("./file1", 0777 [pid 5540] munmap(0x7f8438200000, 138412032 [pid 5542] <... mkdir resumed>) = 0 [pid 5540] <... munmap resumed>) = 0 [pid 5543] <... set_robust_list resumed>) = 0 [ 158.891023][ T5541] loop1: detected capacity change from 0 to 1024 [ 158.898224][ T5542] loop2: detected capacity change from 0 to 1024 [pid 5543] chdir("./70" [pid 5542] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5540] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5539] <... write resumed>) = 524288 [pid 5543] <... chdir resumed>) = 0 [pid 5539] munmap(0x7f8438200000, 138412032 [pid 5100] <... ioctl resumed>) = 0 [pid 5539] <... munmap resumed>) = 0 [pid 5543] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5540] close(4 [pid 5543] <... prctl resumed>) = 0 [pid 5541] <... mount resumed>) = 0 [pid 5540] <... close resumed>) = 0 [pid 5539] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5541] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5541] chdir("./file1" [pid 5543] setpgid(0, 0 [pid 5541] <... chdir resumed>) = 0 [pid 5539] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5541] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5541] truncate("./file1", 0 [pid 5543] <... setpgid resumed>) = 0 [pid 5539] close(4 [pid 5100] close(3 [pid 5543] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5100] <... close resumed>) = 0 [pid 5543] write(3, "1000", 4 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5543] <... write resumed>) = 4 [pid 5543] close(3./strace-static-x86_64: Process 5544 attached ) = 0 [pid 5542] <... mount resumed>) = 0 [pid 5541] <... truncate resumed>) = 0 [pid 5543] symlink("/dev/binderfs", "./binderfs" [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5544 [pid 5543] <... symlink resumed>) = 0 executing program [pid 5544] set_robust_list(0x55556fbaa660, 24 [pid 5543] write(1, "executing program\n", 18 [pid 5542] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5541] memfd_create("syzkaller", 0 [pid 5540] exit_group(0 [pid 5544] <... set_robust_list resumed>) = 0 [pid 5543] <... write resumed>) = 18 [pid 5540] <... exit_group resumed>) = ? [pid 5544] chdir("./70" [pid 5543] memfd_create("syzkaller", 0 [pid 5542] <... openat resumed>) = 3 [pid 5541] <... memfd_create resumed>) = 4 [pid 5540] +++ exited with 0 +++ [pid 5543] <... memfd_create resumed>) = 3 [pid 5543] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5540, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5543] <... mmap resumed>) = 0x7f8438200000 [pid 5097] restart_syscall(<... resuming interrupted clone ...> [pid 5544] <... chdir resumed>) = 0 [pid 5543] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5542] chdir("./file1" [pid 5541] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5097] <... restart_syscall resumed>) = 0 [ 158.980367][ T5090] I/O error, dev loop3, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0 [pid 5544] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5542] <... chdir resumed>) = 0 [pid 5541] <... mmap resumed>) = 0x7f8438200000 [pid 5544] setpgid(0, 0 [pid 5542] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5541] 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 5539] <... close resumed>) = 0 [pid 5097] umount2("./72", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] openat(AT_FDCWD, "./72", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5544] <... setpgid resumed>) = 0 [pid 5542] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] <... openat resumed>) = 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("./72/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(AT_FDCWD, "./72/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5544] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5542] truncate("./file1", 0 [pid 5097] unlink("./72/binderfs") = 0 [pid 5097] umount2("./72/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5544] <... openat resumed>) = 3 [pid 5544] write(3, "1000", 4) = 4 [pid 5544] close(3) = 0 [pid 5544] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5543] <... write resumed>) = 524288 [pid 5542] <... truncate resumed>) = 0 [pid 5541] <... write resumed>) = 524288 [pid 5539] exit_group(0) = ? [pid 5539] +++ exited with 0 +++ [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5539, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5544] write(1, "executing program\n", 18 [pid 5542] memfd_create("syzkaller", 0 [pid 5541] munmap(0x7f8438200000, 138412032 [pid 5097] <... umount2 resumed>) = 0 executing program [pid 5101] umount2("./69", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5544] <... write resumed>) = 18 [pid 5542] <... memfd_create resumed>) = 4 [pid 5541] <... munmap resumed>) = 0 [pid 5101] openat(AT_FDCWD, "./69", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5101] newfstatat(3, "", [pid 5544] memfd_create("syzkaller", 0 [pid 5542] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5541] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5542] <... mmap resumed>) = 0x7f8438200000 [pid 5101] getdents64(3, [pid 5541] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5543] munmap(0x7f8438200000, 138412032 [pid 5101] umount2("./69/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5544] <... memfd_create resumed>) = 3 [pid 5543] <... munmap resumed>) = 0 [pid 5542] 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 5541] close(4 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5544] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] newfstatat(AT_FDCWD, "./69/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] unlink("./69/binderfs") = 0 [pid 5101] umount2("./69/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] umount2("./72/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5544] <... mmap resumed>) = 0x7f8438200000 [pid 5544] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5543] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5101] <... umount2 resumed>) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5543] <... openat resumed>) = 4 [pid 5097] newfstatat(AT_FDCWD, "./72/file1", [pid 5543] ioctl(4, LOOP_SET_FD, 3 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5543] <... ioctl resumed>) = 0 [pid 5541] <... close resumed>) = 0 [pid 5097] umount2("./72/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] openat(AT_FDCWD, "./72/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 5101] umount2("./69/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] getdents64(4, [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5101] newfstatat(AT_FDCWD, "./69/file1", [pid 5097] getdents64(4, [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5101] umount2("./69/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] close(4 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... close resumed>) = 0 [pid 5101] openat(AT_FDCWD, "./69/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] rmdir("./72/file1" [pid 5101] <... openat resumed>) = 4 [pid 5101] newfstatat(4, "", [pid 5097] <... rmdir resumed>) = 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] getdents64(4, [pid 5097] getdents64(3, [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5101] getdents64(4, [pid 5097] close(3 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] <... close resumed>) = 0 [pid 5544] <... write resumed>) = 524288 [pid 5101] close(4 [pid 5097] rmdir("./72" [pid 5101] <... close resumed>) = 0 [pid 5097] <... rmdir resumed>) = 0 [pid 5101] rmdir("./69/file1" [pid 5097] mkdir("./73", 0777 [pid 5101] <... rmdir resumed>) = 0 [pid 5097] <... mkdir resumed>) = 0 [pid 5101] getdents64(3, [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] <... openat resumed>) = 3 [pid 5101] close(3) = 0 [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5101] rmdir("./69") = 0 [pid 5097] <... ioctl resumed>) = 0 [pid 5101] mkdir("./70", 0777 [pid 5097] close(3 [pid 5542] <... write resumed>) = 524288 [pid 5541] exit_group(0 [pid 5101] <... mkdir resumed>) = 0 [pid 5097] <... close resumed>) = 0 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5544] munmap(0x7f8438200000, 138412032 [pid 5542] munmap(0x7f8438200000, 138412032 [pid 5541] <... exit_group resumed>) = ? [pid 5544] <... munmap resumed>) = 0 [pid 5542] <... munmap resumed>) = 0 [pid 5541] +++ exited with 0 +++ [pid 5543] close(3 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5543] <... close resumed>) = 0 [pid 5542] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5101] <... openat resumed>) = 3 [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5545 [pid 5543] close(4) = 0 [pid 5543] mkdir("./file1", 0777) = 0 [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5541, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5542] <... openat resumed>) = -1 EBUSY (Device or resource busy) [ 159.103139][ T5543] loop5: detected capacity change from 0 to 1024 [pid 5098] umount2("./72", MNT_FORCE|UMOUNT_NOFOLLOWexecuting program [pid 5544] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5542] close(4 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./72", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY./strace-static-x86_64: Process 5545 attached [pid 5545] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5545] chdir("./73") = 0 [pid 5545] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5545] setpgid(0, 0) = 0 [pid 5545] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5545] write(3, "1000", 4) = 4 [pid 5543] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5545] close(3) = 0 [pid 5545] symlink("/dev/binderfs", "./binderfs" [pid 5544] <... openat resumed>) = 4 [pid 5098] <... openat resumed>) = 3 [pid 5544] ioctl(4, LOOP_SET_FD, 3 [pid 5098] newfstatat(3, "", [pid 5545] <... symlink resumed>) = 0 [pid 5545] write(1, "executing program\n", 18) = 18 [pid 5545] memfd_create("syzkaller", 0) = 3 [pid 5545] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5542] <... close resumed>) = 0 [pid 5101] <... ioctl resumed>) = 0 [pid 5098] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5544] <... ioctl resumed>) = 0 [pid 5543] <... mount resumed>) = 0 [pid 5542] exit_group(0 [pid 5098] umount2("./72/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5544] close(3 [pid 5542] <... exit_group resumed>) = ? [pid 5544] <... close resumed>) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./72/binderfs", [pid 5544] close(4 [pid 5545] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5544] <... close resumed>) = 0 [pid 5543] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5542] +++ exited with 0 +++ [pid 5098] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5544] mkdir("./file1", 0777 [pid 5543] <... openat resumed>) = 3 [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5542, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5098] unlink("./72/binderfs" [pid 5543] chdir("./file1") = 0 [pid 5543] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5543] truncate("./file1", 0 [pid 5544] <... mkdir resumed>) = 0 [pid 5098] <... unlink resumed>) = 0 [pid 5099] umount2("./72", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] umount2("./72/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5545] <... write resumed>) = 524288 [pid 5544] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [ 159.167641][ T5544] loop3: detected capacity change from 0 to 1024 [pid 5101] close(3) = 0 [pid 5099] openat(AT_FDCWD, "./72", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] <... umount2 resumed>) = 0 [pid 5543] <... truncate resumed>) = 0 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5099] <... openat resumed>) = 3 [pid 5098] umount2("./72/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5543] memfd_create("syzkaller", 0 [pid 5099] newfstatat(3, "", [pid 5543] <... memfd_create resumed>) = 4 [pid 5543] 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 5545] munmap(0x7f8438200000, 138412032 [pid 5544] <... mount resumed>) = 0 [pid 5543] <... mmap resumed>) = 0x7f8438200000 [pid 5099] getdents64(3, [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5545] <... munmap resumed>) = 0 [pid 5543] 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./strace-static-x86_64: Process 5546 attached [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5546 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] newfstatat(AT_FDCWD, "./72/file1", [pid 5546] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5099] umount2("./72/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5546] chdir("./70" [pid 5545] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5546] <... chdir resumed>) = 0 [pid 5545] <... openat resumed>) = 4 [pid 5544] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] umount2("./72/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] newfstatat(AT_FDCWD, "./72/binderfs", [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5544] <... openat resumed>) = 3 [pid 5098] openat(AT_FDCWD, "./72/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 5546] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5545] ioctl(4, LOOP_SET_FD, 3 [pid 5544] chdir("./file1" [pid 5099] unlink("./72/binderfs" [pid 5098] <... openat resumed>) = 4 [pid 5546] <... prctl resumed>) = 0 [pid 5544] <... chdir resumed>) = 0 [pid 5099] <... unlink resumed>) = 0 [pid 5098] newfstatat(4, "", [pid 5544] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5099] umount2("./72/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5546] setpgid(0, 0) = 0 [pid 5098] getdents64(4, [pid 5546] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5544] <... openat resumed>) = -1 EBUSY (Device or resource busy) executing program [pid 5546] <... openat resumed>) = 3 [pid 5544] truncate("./file1", 0 [pid 5543] <... write resumed>) = 524288 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5546] write(3, "1000", 4) = 4 [pid 5546] close(3) = 0 [pid 5099] <... umount2 resumed>) = 0 [pid 5098] getdents64(4, [pid 5546] symlink("/dev/binderfs", "./binderfs" [pid 5099] umount2("./72/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5546] <... symlink resumed>) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5546] write(1, "executing program\n", 18 [pid 5099] newfstatat(AT_FDCWD, "./72/file1", [pid 5546] <... write resumed>) = 18 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5546] memfd_create("syzkaller", 0 [pid 5099] umount2("./72/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] close(4 [pid 5546] <... memfd_create resumed>) = 3 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... close resumed>) = 0 [pid 5099] openat(AT_FDCWD, "./72/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] rmdir("./72/file1" [pid 5546] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5099] <... openat resumed>) = 4 [pid 5546] <... mmap resumed>) = 0x7f8438200000 [pid 5099] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] <... rmdir resumed>) = 0 [pid 5545] <... ioctl resumed>) = 0 [pid 5099] getdents64(4, [pid 5545] close(3 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5545] <... close resumed>) = 0 [pid 5099] getdents64(4, [pid 5546] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5545] close(4 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5545] <... close resumed>) = 0 [pid 5545] mkdir("./file1", 0777 [pid 5099] close(4 [pid 5545] <... mkdir resumed>) = 0 [pid 5098] getdents64(3, [pid 5545] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5099] <... close resumed>) = 0 [pid 5099] rmdir("./72/file1") = 0 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5099] getdents64(3, [pid 5543] munmap(0x7f8438200000, 138412032 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5543] <... munmap resumed>) = 0 [pid 5099] close(3 [pid 5098] close(3 [pid 5099] <... close resumed>) = 0 [pid 5099] rmdir("./72") = 0 [pid 5098] <... close resumed>) = 0 [pid 5545] <... mount resumed>) = 0 [pid 5544] <... truncate resumed>) = 0 [pid 5543] openat(AT_FDCWD, "/dev/loop5", O_RDWR [ 159.262444][ T5545] loop0: detected capacity change from 0 to 1024 [pid 5099] mkdir("./73", 0777 [pid 5098] rmdir("./72" [pid 5544] memfd_create("syzkaller", 0 [pid 5543] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] <... mkdir resumed>) = 0 [pid 5543] close(4 [pid 5544] <... memfd_create resumed>) = 4 [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5098] <... rmdir resumed>) = 0 [pid 5544] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5098] mkdir("./73", 0777 [pid 5544] <... mmap resumed>) = 0x7f8438200000 [pid 5099] <... openat resumed>) = 3 [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5545] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5544] 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 5543] <... close resumed>) = 0 [pid 5098] <... mkdir resumed>) = 0 [pid 5545] <... openat resumed>) = 3 [pid 5545] chdir("./file1") = 0 [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5545] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5098] <... openat resumed>) = 3 [pid 5545] truncate("./file1", 0 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5545] <... truncate resumed>) = 0 [pid 5543] exit_group(0 [pid 5545] memfd_create("syzkaller", 0 [pid 5543] <... exit_group resumed>) = ? [pid 5545] <... memfd_create resumed>) = 4 [pid 5543] +++ exited with 0 +++ [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5543, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5545] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5544] <... write resumed>) = 524288 [pid 5546] <... write resumed>) = 524288 [pid 5544] munmap(0x7f8438200000, 138412032 [pid 5546] munmap(0x7f8438200000, 138412032 [pid 5545] 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 5544] <... munmap resumed>) = 0 [pid 5103] umount2("./70", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5546] <... munmap resumed>) = 0 [pid 5544] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] openat(AT_FDCWD, "./70", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5544] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] <... openat resumed>) = 3 [pid 5103] newfstatat(3, "", [pid 5544] close(4 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5546] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5103] getdents64(3, [pid 5546] <... openat resumed>) = 4 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5546] ioctl(4, LOOP_SET_FD, 3 [pid 5103] umount2("./70/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5546] <... ioctl resumed>) = 0 [pid 5544] <... close resumed>) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5545] <... write resumed>) = 524288 [pid 5103] newfstatat(AT_FDCWD, "./70/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] unlink("./70/binderfs") = 0 [pid 5103] umount2("./70/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5545] munmap(0x7f8438200000, 138412032 [pid 5544] exit_group(0 [pid 5099] <... ioctl resumed>) = 0 [pid 5098] <... ioctl resumed>) = 0 [pid 5545] <... munmap resumed>) = 0 [pid 5546] close(3 [pid 5545] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5546] <... close resumed>) = 0 [pid 5545] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5546] close(4 [pid 5545] close(4) = 0 [pid 5544] <... exit_group resumed>) = ? [pid 5103] <... umount2 resumed>) = 0 [pid 5546] <... close resumed>) = 0 [pid 5546] mkdir("./file1", 0777) = 0 [pid 5099] close(3) = 0 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5544] +++ exited with 0 +++ [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5544, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5546] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5100] umount2("./70", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5100] openat(AT_FDCWD, "./70", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5100] newfstatat(3, "", [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5547 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5100] umount2("./70/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5100] newfstatat(AT_FDCWD, "./70/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] unlink("./70/binderfs") = 0 [pid 5100] umount2("./70/file1", MNT_FORCE|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 5547 attached [pid 5098] close(3 [pid 5547] set_robust_list(0x55556fbaa660, 24 [pid 5098] <... close resumed>) = 0 [pid 5546] <... mount resumed>) = 0 [pid 5547] <... set_robust_list resumed>) = 0 [pid 5546] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5547] chdir("./73" [pid 5546] <... openat resumed>) = 3 [pid 5545] exit_group(0 [pid 5103] umount2("./70/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... umount2 resumed>) = 0 [ 159.373701][ T5546] loop4: detected capacity change from 0 to 1024 [ 159.394786][ T5109] I/O error, dev loop2, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0 [pid 5546] chdir("./file1" [pid 5545] <... exit_group resumed>) = ? [pid 5547] <... chdir resumed>) = 0 [pid 5546] <... chdir resumed>) = 0 [pid 5545] +++ exited with 0 +++ [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5547] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5546] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5103] newfstatat(AT_FDCWD, "./70/file1", [pid 5546] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5545, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5100] umount2("./70/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] restart_syscall(<... resuming interrupted clone ...> [pid 5547] <... prctl resumed>) = 0 [pid 5546] truncate("./file1", 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5548 [pid 5103] umount2("./70/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... restart_syscall resumed>) = 0 ./strace-static-x86_64: Process 5548 attached [pid 5547] setpgid(0, 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] newfstatat(AT_FDCWD, "./70/file1", [pid 5548] set_robust_list(0x55556fbaa660, 24 [pid 5547] <... setpgid resumed>) = 0 [pid 5103] openat(AT_FDCWD, "./70/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5547] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5103] <... openat resumed>) = 4 [pid 5100] umount2("./70/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] umount2("./73", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5548] <... set_robust_list resumed>) = 0 [pid 5547] <... openat resumed>) = 3 [pid 5546] <... truncate resumed>) = 0 [pid 5103] newfstatat(4, "", [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] openat(AT_FDCWD, "./73", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5548] chdir("./73" [pid 5547] write(3, "1000", 4 [pid 5097] <... openat resumed>) = 3 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5547] <... write resumed>) = 4 [pid 5103] getdents64(4, [pid 5097] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5548] <... chdir resumed>) = 0 [pid 5547] close(3 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] umount2("./73/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5547] <... close resumed>) = 0 [pid 5103] getdents64(4, [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5547] symlink("/dev/binderfs", "./binderfs" [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5546] memfd_create("syzkaller", 0 [pid 5097] newfstatat(AT_FDCWD, "./73/binderfs", [pid 5546] <... memfd_create resumed>) = 4 [pid 5100] openat(AT_FDCWD, "./70/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] close(4 [pid 5100] <... openat resumed>) = 4 [pid 5097] unlink("./73/binderfs" [pid 5100] newfstatat(4, "", [pid 5548] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5547] <... symlink resumed>) = 0 [pid 5103] <... close resumed>) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] <... unlink resumed>) = 0 [pid 5548] <... prctl resumed>) = 0 [pid 5103] rmdir("./70/file1" [pid 5100] getdents64(4, [pid 5548] setpgid(0, 0 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] umount2("./73/file1", MNT_FORCE|UMOUNT_NOFOLLOWexecuting program [pid 5548] <... setpgid resumed>) = 0 [pid 5547] write(1, "executing program\n", 18 [pid 5103] <... rmdir resumed>) = 0 [pid 5100] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5548] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5547] <... write resumed>) = 18 [pid 5546] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5100] close(4 [pid 5548] <... openat resumed>) = 3 [pid 5547] memfd_create("syzkaller", 0 [pid 5546] 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 5100] rmdir("./70/file1" [pid 5097] <... umount2 resumed>) = 0 [pid 5548] write(3, "1000", 4 [pid 5547] <... memfd_create resumed>) = 3 [pid 5103] getdents64(3, [pid 5100] <... rmdir resumed>) = 0 [pid 5100] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] close(3) = 0 [pid 5100] rmdir("./70" [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5548] <... write resumed>) = 4 [pid 5547] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5548] close(3 [pid 5547] <... mmap resumed>) = 0x7f8438200000 [pid 5103] close(3 [pid 5100] <... rmdir resumed>) = 0 [pid 5097] umount2("./73/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5548] <... close resumed>) = 0 [pid 5547] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5097] newfstatat(AT_FDCWD, "./73/file1", [pid 5100] mkdir("./71", 0777 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5548] symlink("/dev/binderfs", "./binderfs"executing program [pid 5103] rmdir("./70" [pid 5100] <... mkdir resumed>) = 0 [pid 5097] umount2("./73/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] openat(AT_FDCWD, "./73/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5097] newfstatat(4, "", [pid 5103] <... rmdir resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5548] <... symlink resumed>) = 0 [pid 5097] getdents64(4, [pid 5548] write(1, "executing program\n", 18 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5548] <... write resumed>) = 18 [pid 5097] close(4 [pid 5103] mkdir("./71", 0777 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5097] <... close resumed>) = 0 [pid 5100] <... openat resumed>) = 3 [pid 5097] rmdir("./73/file1" [pid 5548] memfd_create("syzkaller", 0 [pid 5103] <... mkdir resumed>) = 0 [pid 5097] <... rmdir resumed>) = 0 [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5548] <... memfd_create resumed>) = 3 [pid 5097] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] close(3) = 0 [pid 5097] rmdir("./73") = 0 [pid 5548] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5548] <... mmap resumed>) = 0x7f8438200000 [pid 5546] <... write resumed>) = 524288 [pid 5103] <... openat resumed>) = 3 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5097] mkdir("./74", 0777 [pid 5548] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... mkdir resumed>) = 0 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5546] munmap(0x7f8438200000, 138412032) = 0 [pid 5546] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5546] close(4 [pid 5547] <... write resumed>) = 524288 [pid 5547] munmap(0x7f8438200000, 138412032) = 0 [pid 5547] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5548] <... write resumed>) = 524288 [pid 5547] ioctl(4, LOOP_SET_FD, 3 [pid 5546] <... close resumed>) = 0 [pid 5100] <... ioctl resumed>) = 0 [pid 5546] exit_group(0) = ? [pid 5546] +++ exited with 0 +++ [pid 5100] close(3 [pid 5547] <... ioctl resumed>) = 0 [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5546, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5097] <... ioctl resumed>) = 0 [pid 5100] <... close resumed>) = 0 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5548] munmap(0x7f8438200000, 138412032 [pid 5103] <... ioctl resumed>) = 0 [pid 5097] close(3 [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5549 [pid 5097] <... close resumed>) = 0 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55556fbaa650) = 5550 [pid 5101] umount2("./70", MNT_FORCE|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 5550 attached [pid 5550] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5550] chdir("./74") = 0 [pid 5103] close(3 [pid 5550] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5103] <... close resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5550] <... prctl resumed>) = 0 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5548] <... munmap resumed>) = 0 [pid 5101] openat(AT_FDCWD, "./70", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5547] close(3 [pid 5101] <... openat resumed>) = 3 [pid 5547] <... close resumed>) = 0 [pid 5550] setpgid(0, 0 [pid 5101] newfstatat(3, "", [pid 5547] close(4./strace-static-x86_64: Process 5549 attached [pid 5550] <... setpgid resumed>) = 0 executing program [pid 5550] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5547] <... close resumed>) = 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5549] set_robust_list(0x55556fbaa660, 24 [pid 5548] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5547] mkdir("./file1", 0777 [pid 5101] getdents64(3, [pid 5550] <... openat resumed>) = 3 [pid 5549] <... set_robust_list resumed>) = 0 [pid 5550] write(3, "1000", 4 [pid 5549] chdir("./71" [pid 5550] <... write resumed>) = 4 [pid 5549] <... chdir resumed>) = 0 [pid 5550] close(3 [pid 5549] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5550] <... close resumed>) = 0 [pid 5549] <... prctl resumed>) = 0 [pid 5550] symlink("/dev/binderfs", "./binderfs" [pid 5549] setpgid(0, 0./strace-static-x86_64: Process 5551 attached [pid 5550] <... symlink resumed>) = 0 [pid 5549] <... setpgid resumed>) = 0 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5551 [pid 5551] set_robust_list(0x55556fbaa660, 24 [pid 5549] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5551] <... set_robust_list resumed>) = 0 [pid 5549] <... openat resumed>) = 3 [pid 5551] chdir("./71") = 0 [pid 5550] write(1, "executing program\n", 18 [pid 5551] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5550] <... write resumed>) = 18 [pid 5549] write(3, "1000", 4 [pid 5550] memfd_create("syzkaller", 0 [pid 5549] <... write resumed>) = 4 [pid 5551] <... prctl resumed>) = 0 [pid 5551] setpgid(0, 0 [pid 5549] close(3 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5551] <... setpgid resumed>) = 0 [pid 5550] <... memfd_create resumed>) = 3 [pid 5549] <... close resumed>) = 0 [pid 5547] <... mkdir resumed>) = 0 [pid 5101] umount2("./70/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5551] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5550] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5549] symlink("/dev/binderfs", "./binderfs" [pid 5548] <... openat resumed>) = 4 [ 159.551853][ T5547] loop2: detected capacity change from 0 to 1024 executing program executing program [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5551] <... openat resumed>) = 3 [pid 5550] <... mmap resumed>) = 0x7f8438200000 [pid 5549] <... symlink resumed>) = 0 [pid 5548] ioctl(4, LOOP_SET_FD, 3 [pid 5547] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5551] write(3, "1000", 4 [pid 5550] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5549] write(1, "executing program\n", 18) = 18 [pid 5551] <... write resumed>) = 4 [pid 5549] memfd_create("syzkaller", 0 [pid 5551] close(3 [pid 5549] <... memfd_create resumed>) = 3 [pid 5551] <... close resumed>) = 0 [pid 5549] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5551] symlink("/dev/binderfs", "./binderfs" [pid 5549] <... mmap resumed>) = 0x7f8438200000 [pid 5551] <... symlink resumed>) = 0 [pid 5101] newfstatat(AT_FDCWD, "./70/binderfs", [pid 5551] write(1, "executing program\n", 18 [pid 5550] <... write resumed>) = 524288 [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5551] <... write resumed>) = 18 [pid 5551] memfd_create("syzkaller", 0) = 3 [pid 5551] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5549] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5551] <... mmap resumed>) = 0x7f8438200000 [pid 5549] <... write resumed>) = 524288 [pid 5548] <... ioctl resumed>) = 0 [pid 5101] unlink("./70/binderfs" [pid 5551] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5548] close(3 [pid 5101] <... unlink resumed>) = 0 [pid 5548] <... close resumed>) = 0 [pid 5101] umount2("./70/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5548] close(4) = 0 [pid 5548] mkdir("./file1", 0777 [pid 5551] <... write resumed>) = 524288 [pid 5548] <... mkdir resumed>) = 0 [pid 5548] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5550] munmap(0x7f8438200000, 138412032) = 0 [pid 5550] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5101] <... umount2 resumed>) = 0 [pid 5550] ioctl(4, LOOP_SET_FD, 3 [pid 5548] <... mount resumed>) = 0 [pid 5547] <... mount resumed>) = 0 [pid 5101] umount2("./70/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5548] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5547] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5548] <... openat resumed>) = 3 [pid 5101] newfstatat(AT_FDCWD, "./70/file1", [pid 5547] <... openat resumed>) = 3 [pid 5548] chdir("./file1" [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5551] munmap(0x7f8438200000, 138412032 [pid 5548] <... chdir resumed>) = 0 [pid 5101] umount2("./70/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5548] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5551] <... munmap resumed>) = 0 [ 159.624162][ T5548] loop1: detected capacity change from 0 to 1024 [ 159.663020][ T5550] loop0: detected capacity change from 0 to 1024 [pid 5549] munmap(0x7f8438200000, 138412032 [pid 5551] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5549] <... munmap resumed>) = 0 [pid 5547] chdir("./file1" [pid 5101] openat(AT_FDCWD, "./70/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5551] <... openat resumed>) = 4 [pid 5101] <... openat resumed>) = 4 [pid 5547] <... chdir resumed>) = 0 [pid 5551] ioctl(4, LOOP_SET_FD, 3 [pid 5549] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5548] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5547] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5101] newfstatat(4, "", [pid 5548] truncate("./file1", 0 [pid 5549] <... openat resumed>) = 4 [pid 5547] <... 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 5549] ioctl(4, LOOP_SET_FD, 3 [pid 5547] truncate("./file1", 0 [pid 5101] getdents64(4, [pid 5550] <... ioctl resumed>) = 0 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5101] getdents64(4, [pid 5548] <... truncate resumed>) = 0 [pid 5551] <... ioctl resumed>) = 0 [pid 5550] close(3 [pid 5549] <... ioctl resumed>) = 0 [pid 5547] <... truncate resumed>) = 0 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5550] <... close resumed>) = 0 [pid 5549] close(3 [pid 5550] close(4 [pid 5549] <... close resumed>) = 0 [pid 5548] memfd_create("syzkaller", 0 [pid 5547] memfd_create("syzkaller", 0 [pid 5101] close(4 [pid 5550] <... close resumed>) = 0 [pid 5549] close(4 [pid 5550] mkdir("./file1", 0777 [pid 5549] <... close resumed>) = 0 [pid 5550] <... mkdir resumed>) = 0 [pid 5549] mkdir("./file1", 0777 [pid 5548] <... memfd_create resumed>) = 4 [pid 5547] <... memfd_create resumed>) = 4 [pid 5101] <... close resumed>) = 0 [pid 5551] close(3 [pid 5550] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5549] <... mkdir resumed>) = 0 [pid 5548] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5547] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] rmdir("./70/file1" [pid 5551] <... close resumed>) = 0 [pid 5548] <... mmap resumed>) = 0x7f8438200000 [pid 5547] <... mmap resumed>) = 0x7f8438200000 [pid 5551] close(4) = 0 [pid 5551] mkdir("./file1", 0777) = 0 [pid 5101] <... rmdir resumed>) = 0 [pid 5549] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5547] 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 5551] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5549] <... mount resumed>) = 0 [ 159.678290][ T5551] loop5: detected capacity change from 0 to 1024 [ 159.686186][ T5549] loop3: detected capacity change from 0 to 1024 [pid 5101] getdents64(3, [pid 5548] 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] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5551] <... mount resumed>) = 0 [pid 5550] <... mount resumed>) = 0 [pid 5549] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5548] <... write resumed>) = 524288 [pid 5101] close(3 [pid 5551] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5550] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5549] <... openat resumed>) = 3 [pid 5551] chdir("./file1") = 0 [pid 5550] <... openat resumed>) = 3 [pid 5551] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5550] chdir("./file1" [pid 5551] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5550] <... chdir resumed>) = 0 [pid 5551] truncate("./file1", 0 [pid 5550] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5101] <... close resumed>) = 0 [pid 5550] truncate("./file1", 0 [pid 5101] rmdir("./70" [pid 5551] <... truncate resumed>) = 0 [pid 5549] chdir("./file1" [pid 5548] munmap(0x7f8438200000, 138412032 [pid 5547] <... write resumed>) = 524288 [pid 5101] <... rmdir resumed>) = 0 [pid 5551] memfd_create("syzkaller", 0 [pid 5549] <... chdir resumed>) = 0 [pid 5101] mkdir("./71", 0777 [pid 5547] munmap(0x7f8438200000, 138412032 [pid 5551] <... memfd_create resumed>) = 4 [pid 5549] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5551] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5549] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5551] <... mmap resumed>) = 0x7f8438200000 [pid 5549] truncate("./file1", 0 [pid 5551] 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 5548] <... munmap resumed>) = 0 [pid 5547] <... munmap resumed>) = 0 [pid 5101] <... mkdir resumed>) = 0 [pid 5550] <... truncate resumed>) = 0 [pid 5547] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5547] close(4 [pid 5551] <... write resumed>) = 524288 [pid 5550] memfd_create("syzkaller", 0 [pid 5549] <... truncate resumed>) = 0 [pid 5548] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5547] <... close resumed>) = 0 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5548] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] <... openat resumed>) = 3 [pid 5549] memfd_create("syzkaller", 0) = 4 [pid 5550] <... memfd_create resumed>) = 4 [pid 5549] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5550] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5549] <... mmap resumed>) = 0x7f8438200000 [pid 5549] 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 5551] munmap(0x7f8438200000, 138412032 [pid 5550] <... mmap resumed>) = 0x7f8438200000 [pid 5548] close(4 [pid 5547] exit_group(0 [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5550] 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 5547] <... exit_group resumed>) = ? [pid 5551] <... munmap resumed>) = 0 [pid 5551] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5551] close(4 [pid 5548] <... close resumed>) = 0 [pid 5547] +++ exited with 0 +++ [pid 5551] <... close resumed>) = 0 [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5547, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5099] umount2("./73", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "./73", 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("./73/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] newfstatat(AT_FDCWD, "./73/binderfs", [pid 5549] <... write resumed>) = 524288 [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5549] munmap(0x7f8438200000, 138412032 [pid 5548] exit_group(0 [pid 5099] unlink("./73/binderfs" [pid 5549] <... munmap resumed>) = 0 [pid 5548] <... exit_group resumed>) = ? [pid 5099] <... unlink resumed>) = 0 [pid 5099] umount2("./73/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5548] +++ exited with 0 +++ [pid 5549] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5548, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5549] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5098] restart_syscall(<... resuming interrupted clone ...> [pid 5549] close(4) = 0 [pid 5099] <... umount2 resumed>) = 0 [pid 5098] <... restart_syscall resumed>) = 0 [pid 5551] exit_group(0) = ? [pid 5098] umount2("./73", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./73", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5550] <... write resumed>) = 524288 [pid 5098] newfstatat(3, "", [pid 5550] munmap(0x7f8438200000, 138412032 [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 5098] umount2("./73/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./73/binderfs", [pid 5550] <... munmap resumed>) = 0 [pid 5551] +++ exited with 0 +++ [pid 5549] exit_group(0 [pid 5101] <... ioctl resumed>) = 0 [pid 5099] umount2("./73/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5551, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5098] unlink("./73/binderfs") = 0 [pid 5103] umount2("./71", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] umount2("./73/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] openat(AT_FDCWD, "./71", 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 5550] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5549] <... exit_group resumed>) = ? [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5550] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5549] +++ exited with 0 +++ [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5550] close(4 [pid 5103] umount2("./71/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] close(3 [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5549, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5099] newfstatat(AT_FDCWD, "./73/file1", [pid 5098] <... umount2 resumed>) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] umount2("./71", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] newfstatat(AT_FDCWD, "./71/binderfs", [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] <... close resumed>) = 0 [pid 5100] openat(AT_FDCWD, "./71", 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] umount2("./73/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5099] umount2("./73/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] <... openat resumed>) = 3 [pid 5103] unlink("./71/binderfs" [pid 5100] newfstatat(3, "", [pid 5103] <... unlink resumed>) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./73/file1", [pid 5100] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5100] umount2("./71/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] umount2("./71/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] newfstatat(AT_FDCWD, "./71/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] openat(AT_FDCWD, "./73/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 ./strace-static-x86_64: Process 5552 attached [pid 5550] <... close resumed>) = 0 [pid 5100] unlink("./71/binderfs" [pid 5099] <... openat resumed>) = 4 [pid 5098] umount2("./73/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... unlink resumed>) = 0 [pid 5100] umount2("./71/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] <... umount2 resumed>) = 0 [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5552 [pid 5099] newfstatat(4, "", [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./73/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] <... openat resumed>) = 4 [pid 5098] newfstatat(4, "", [pid 5099] getdents64(4, [pid 5550] exit_group(0) = ? [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] umount2("./71/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5103] newfstatat(AT_FDCWD, "./71/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] getdents64(4, [pid 5103] umount2("./71/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5103] openat(AT_FDCWD, "./71/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] getdents64(4, [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5103] <... openat resumed>) = 4 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] getdents64(4, [pid 5099] close(4 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] <... close resumed>) = 0 [pid 5098] close(4 [pid 5552] set_robust_list(0x55556fbaa660, 24 [pid 5103] newfstatat(4, "", [pid 5552] <... set_robust_list resumed>) = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] rmdir("./73/file1" [pid 5098] <... close resumed>) = 0 [pid 5552] chdir("./71" [pid 5103] getdents64(4, [pid 5552] <... chdir resumed>) = 0 [pid 5550] +++ exited with 0 +++ [pid 5100] <... umount2 resumed>) = 0 [pid 5099] <... rmdir resumed>) = 0 [pid 5098] rmdir("./73/file1" [pid 5552] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5099] getdents64(3, [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5103] getdents64(4, [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5550, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5098] <... rmdir resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] getdents64(3, [pid 5100] umount2("./71/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] close(3 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] umount2("./74", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] newfstatat(AT_FDCWD, "./71/file1", [pid 5099] <... close resumed>) = 0 [pid 5098] close(3 [pid 5552] <... prctl resumed>) = 0 [pid 5103] close(4 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5552] setpgid(0, 0) = 0 [pid 5103] <... close resumed>) = 0 [pid 5098] <... close resumed>) = 0 [pid 5100] umount2("./71/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] openat(AT_FDCWD, "./74", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] rmdir("./73" [pid 5552] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5103] rmdir("./71/file1" [pid 5097] <... openat resumed>) = 3 [pid 5103] <... rmdir resumed>) = 0 [pid 5099] <... rmdir resumed>) = 0 [pid 5097] newfstatat(3, "", [pid 5552] <... openat resumed>) = 3 [pid 5103] getdents64(3, [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] mkdir("./74", 0777 [pid 5098] rmdir("./73" [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] openat(AT_FDCWD, "./71/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] getdents64(3, [pid 5103] close(3 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5103] <... close resumed>) = 0 [pid 5099] <... mkdir resumed>) = 0 [pid 5097] umount2("./74/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] rmdir("./71" [pid 5100] <... openat resumed>) = 4 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5552] write(3, "1000", 4 [pid 5103] <... rmdir resumed>) = 0 [pid 5100] newfstatat(4, "", [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5098] <... rmdir resumed>) = 0 [pid 5097] newfstatat(AT_FDCWD, "./74/binderfs", [pid 5552] <... write resumed>) = 4 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5552] close(3) = 0 [pid 5103] mkdir("./72", 0777 [pid 5099] <... openat resumed>) = 3 executing program [pid 5098] mkdir("./74", 0777 [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5552] symlink("/dev/binderfs", "./binderfs" [pid 5100] getdents64(4, [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5552] <... symlink resumed>) = 0 [pid 5103] <... mkdir resumed>) = 0 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] unlink("./74/binderfs" [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5100] getdents64(4, [pid 5097] <... unlink resumed>) = 0 [pid 5552] write(1, "executing program\n", 18 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] <... mkdir resumed>) = 0 [pid 5552] <... write resumed>) = 18 [pid 5103] <... openat resumed>) = 3 [pid 5100] close(4 [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5097] umount2("./74/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5552] memfd_create("syzkaller", 0 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5100] <... close resumed>) = 0 [pid 5098] <... openat resumed>) = 3 [pid 5097] <... umount2 resumed>) = 0 [pid 5552] <... memfd_create resumed>) = 3 [pid 5100] rmdir("./71/file1" [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5552] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] <... ioctl resumed>) = 0 [pid 5103] close(3) = 0 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5552] <... mmap resumed>) = 0x7f8438200000 [pid 5100] <... rmdir resumed>) = 0 [pid 5097] umount2("./74/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(AT_FDCWD, "./74/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] umount2("./74/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] openat(AT_FDCWD, "./74/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5553 [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, ./strace-static-x86_64: Process 5553 attached [pid 5552] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5553] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5553] chdir("./72" [pid 5097] close(4) = 0 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] rmdir("./74/file1" [pid 5553] <... chdir resumed>) = 0 [pid 5097] <... rmdir resumed>) = 0 [pid 5553] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5553] setpgid(0, 0) = 0 [pid 5553] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5097] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] close(3 [pid 5100] close(3) = 0 [pid 5097] <... close resumed>) = 0 [pid 5100] rmdir("./71") = 0 [pid 5099] <... ioctl resumed>) = 0 [pid 5097] rmdir("./74") = 0 executing program [pid 5097] mkdir("./75", 0777 [pid 5553] <... openat resumed>) = 3 [pid 5552] <... write resumed>) = 524288 [pid 5100] mkdir("./72", 0777 [pid 5099] close(3 [pid 5553] write(3, "1000", 4) = 4 [pid 5553] close(3) = 0 [pid 5553] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5553] write(1, "executing program\n", 18) = 18 [pid 5553] memfd_create("syzkaller", 0 [pid 5097] <... mkdir resumed>) = 0 [pid 5100] <... mkdir resumed>) = 0 [pid 5099] <... close resumed>) = 0 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5552] munmap(0x7f8438200000, 138412032 [pid 5553] <... memfd_create resumed>) = 3 [pid 5552] <... munmap resumed>) = 0 [pid 5100] <... openat resumed>) = 3 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5553] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5553] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288./strace-static-x86_64: Process 5554 attached [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5098] <... ioctl resumed>) = 0 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5554] set_robust_list(0x55556fbaa660, 24 [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5554 [pid 5097] <... openat resumed>) = 3 [pid 5552] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5552] <... openat resumed>) = 4 [pid 5554] <... set_robust_list resumed>) = 0 [pid 5553] <... write resumed>) = 524288 [pid 5552] ioctl(4, LOOP_SET_FD, 3 [pid 5554] chdir("./74" [pid 5098] close(3) = 0 [pid 5554] <... chdir resumed>) = 0 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5554] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5553] munmap(0x7f8438200000, 138412032) = 0 ./strace-static-x86_64: Process 5555 attached [pid 5554] <... prctl resumed>) = 0 [pid 5552] <... ioctl resumed>) = 0 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5555 [pid 5552] close(3) = 0 [pid 5552] close(4 [pid 5554] setpgid(0, 0 [pid 5552] <... close resumed>) = 0 [pid 5552] mkdir("./file1", 0777 [pid 5553] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5552] <... mkdir resumed>) = 0 [pid 5100] <... ioctl resumed>) = 0 [pid 5097] <... ioctl resumed>) = 0 [pid 5553] <... openat resumed>) = 4 [pid 5555] set_robust_list(0x55556fbaa660, 24 [pid 5553] ioctl(4, LOOP_SET_FD, 3 [pid 5100] close(3 [pid 5552] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5555] <... set_robust_list resumed>) = 0 [pid 5555] chdir("./74") = 0 [pid 5555] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5554] <... setpgid resumed>) = 0 [pid 5554] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5555] setpgid(0, 0) = 0 [pid 5100] <... close resumed>) = 0 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5555] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5554] <... openat resumed>) = 3 [pid 5555] <... openat resumed>) = 3 [pid 5555] write(3, "1000", 4 [pid 5554] write(3, "1000", 4 [pid 5555] <... write resumed>) = 4 [pid 5554] <... write resumed>) = 4 [pid 5555] close(3 [pid 5554] close(3 [pid 5555] <... close resumed>) = 0 [pid 5554] <... close resumed>) = 0 [pid 5555] symlink("/dev/binderfs", "./binderfs" [pid 5554] symlink("/dev/binderfs", "./binderfs"executing program [pid 5555] <... symlink resumed>) = 0 [pid 5554] <... symlink resumed>) = 0 [pid 5554] write(1, "executing program\n", 18) = 18 [pid 5554] memfd_create("syzkaller", 0) = 3 [pid 5554] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 ./strace-static-x86_64: Process 5556 attached [pid 5554] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5556 [pid 5556] set_robust_list(0x55556fbaa660, 24 [pid 5555] write(1, "executing program\n", 18 [pid 5553] <... ioctl resumed>) = 0 [pid 5552] <... mount resumed>) = 0 executing program [pid 5097] close(3 [pid 5556] <... set_robust_list resumed>) = 0 [pid 5555] <... write resumed>) = 18 [pid 5553] close(3 [pid 5552] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5556] chdir("./72" [pid 5555] memfd_create("syzkaller", 0 [pid 5553] <... close resumed>) = 0 [pid 5552] <... openat resumed>) = 3 [pid 5097] <... close resumed>) = 0 [pid 5556] <... chdir resumed>) = 0 [pid 5555] <... memfd_create resumed>) = 3 [pid 5553] close(4 [pid 5552] chdir("./file1" [pid 5556] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5555] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5553] <... close resumed>) = 0 [ 160.050585][ T5552] loop4: detected capacity change from 0 to 1024 [ 160.081033][ T5553] loop5: detected capacity change from 0 to 1024 [pid 5552] <... chdir resumed>) = 0 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5556] <... prctl resumed>) = 0 [pid 5555] <... mmap resumed>) = 0x7f8438200000 [pid 5553] mkdir("./file1", 0777 [pid 5552] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5553] <... mkdir resumed>) = 0 [pid 5552] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5556] setpgid(0, 0 [pid 5555] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5556] <... setpgid resumed>) = 0 [pid 5552] truncate("./file1", 0 [pid 5556] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC./strace-static-x86_64: Process 5557 attached ) = 3 [pid 5553] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5552] <... truncate resumed>) = 0 [pid 5556] write(3, "1000", 4 [pid 5552] memfd_create("syzkaller", 0 [pid 5557] set_robust_list(0x55556fbaa660, 24 [pid 5556] <... write resumed>) = 4 [pid 5552] <... memfd_create resumed>) = 4 [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5557 [pid 5557] <... set_robust_list resumed>) = 0 [pid 5556] close(3 [pid 5552] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5557] chdir("./75" [pid 5556] <... close resumed>) = 0 [pid 5552] <... mmap resumed>) = 0x7f8438200000 [pid 5557] <... chdir resumed>) = 0 [pid 5556] symlink("/dev/binderfs", "./binderfs" [pid 5552] 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 5557] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5556] <... symlink resumed>) = 0 [pid 5557] <... prctl resumed>) = 0 [pid 5556] write(1, "executing program\n", 18 [pid 5554] <... write resumed>) = 524288 [pid 5552] <... write resumed>) = 524288 [pid 5553] <... mount resumed>) = 0 executing program [pid 5555] <... write resumed>) = 524288 [pid 5553] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5557] setpgid(0, 0 [pid 5556] <... write resumed>) = 18 [pid 5553] <... openat resumed>) = 3 [pid 5553] chdir("./file1" [pid 5556] memfd_create("syzkaller", 0 [pid 5557] <... setpgid resumed>) = 0 [pid 5553] <... chdir resumed>) = 0 [pid 5557] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5553] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5557] <... openat resumed>) = 3 [pid 5556] <... memfd_create resumed>) = 3 [pid 5554] munmap(0x7f8438200000, 138412032 [pid 5553] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5557] write(3, "1000", 4 [pid 5556] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5553] truncate("./file1", 0 [pid 5557] <... write resumed>) = 4 [pid 5556] <... mmap resumed>) = 0x7f8438200000 [pid 5557] close(3 [pid 5556] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5554] <... munmap resumed>) = 0 [pid 5557] <... close resumed>) = 0 [pid 5557] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 5554] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5557] write(1, "executing program\n", 18) = 18 [pid 5555] munmap(0x7f8438200000, 138412032 [pid 5554] <... openat resumed>) = 4 [pid 5552] munmap(0x7f8438200000, 138412032 [pid 5557] memfd_create("syzkaller", 0 [pid 5554] ioctl(4, LOOP_SET_FD, 3 [pid 5557] <... memfd_create resumed>) = 3 [pid 5557] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5555] <... munmap resumed>) = 0 [pid 5554] <... ioctl resumed>) = 0 [pid 5553] <... truncate resumed>) = 0 [pid 5552] <... munmap resumed>) = 0 [pid 5553] memfd_create("syzkaller", 0 [pid 5555] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5554] close(3 [pid 5553] <... memfd_create resumed>) = 4 [pid 5552] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5553] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5555] <... openat resumed>) = 4 [pid 5553] <... mmap resumed>) = 0x7f8438200000 [pid 5555] ioctl(4, LOOP_SET_FD, 3 [pid 5554] <... close resumed>) = 0 [pid 5553] 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 5552] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5556] <... write resumed>) = 524288 [pid 5557] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5556] munmap(0x7f8438200000, 138412032 [pid 5554] close(4 [pid 5552] close(4 [pid 5556] <... munmap resumed>) = 0 [pid 5555] <... ioctl resumed>) = 0 [pid 5554] <... close resumed>) = 0 [pid 5553] <... write resumed>) = 524288 [pid 5552] <... close resumed>) = 0 [pid 5555] close(3 [pid 5554] mkdir("./file1", 0777 [pid 5553] munmap(0x7f8438200000, 138412032 [pid 5552] exit_group(0 [pid 5556] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5555] <... close resumed>) = 0 [pid 5554] <... mkdir resumed>) = 0 [pid 5553] <... munmap resumed>) = 0 [pid 5552] <... exit_group resumed>) = ? [pid 5554] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5557] <... write resumed>) = 524288 [pid 5556] <... openat resumed>) = 4 [pid 5552] +++ exited with 0 +++ [pid 5557] munmap(0x7f8438200000, 138412032 [pid 5556] ioctl(4, LOOP_SET_FD, 3 [pid 5555] close(4) = 0 [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5552, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [ 160.205124][ T5554] loop2: detected capacity change from 0 to 1024 [ 160.220124][ T5555] loop1: detected capacity change from 0 to 1024 [pid 5555] mkdir("./file1", 0777 [pid 5553] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5555] <... mkdir resumed>) = 0 [pid 5553] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5553] close(4 [pid 5556] <... ioctl resumed>) = 0 [pid 5555] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5101] restart_syscall(<... resuming interrupted clone ...> [pid 5557] <... munmap resumed>) = 0 [pid 5555] <... mount resumed>) = 0 [pid 5101] <... restart_syscall resumed>) = 0 [pid 5555] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5101] umount2("./71", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5555] <... openat resumed>) = 3 [pid 5555] chdir("./file1") = 0 [pid 5555] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5557] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5555] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] openat(AT_FDCWD, "./71", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5557] <... openat resumed>) = 4 [pid 5555] truncate("./file1", 0 [pid 5101] <... openat resumed>) = 3 [pid 5101] newfstatat(3, "", [pid 5557] ioctl(4, LOOP_SET_FD, 3 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5555] <... truncate resumed>) = 0 [pid 5555] memfd_create("syzkaller", 0) = 4 [pid 5555] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5555] 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] getdents64(3, [pid 5554] <... mount resumed>) = 0 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5101] umount2("./71/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5554] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5553] <... close resumed>) = 0 [pid 5554] <... openat resumed>) = 3 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5554] chdir("./file1" [pid 5556] close(3 [pid 5554] <... chdir resumed>) = 0 [pid 5101] newfstatat(AT_FDCWD, "./71/binderfs", [pid 5556] <... close resumed>) = 0 [pid 5554] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5556] close(4 [pid 5554] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5553] exit_group(0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5556] <... close resumed>) = 0 [pid 5554] truncate("./file1", 0 [pid 5557] <... ioctl resumed>) = 0 [pid 5556] mkdir("./file1", 0777 [pid 5553] <... exit_group resumed>) = ? [pid 5101] unlink("./71/binderfs" [pid 5557] close(3 [pid 5556] <... mkdir resumed>) = 0 [pid 5553] +++ exited with 0 +++ [pid 5101] <... unlink resumed>) = 0 [pid 5557] <... close resumed>) = 0 [pid 5556] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5555] <... write resumed>) = 524288 [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5553, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5101] umount2("./71/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5554] <... truncate resumed>) = 0 [pid 5554] memfd_create("syzkaller", 0) = 4 [pid 5554] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5557] close(4) = 0 [pid 5557] mkdir("./file1", 0777) = 0 [pid 5557] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5103] umount2("./72", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5103] openat(AT_FDCWD, "./72", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] <... umount2 resumed>) = 0 [ 160.262511][ T5556] loop3: detected capacity change from 0 to 1024 [ 160.282174][ T5557] loop0: detected capacity change from 0 to 1024 [pid 5555] munmap(0x7f8438200000, 138412032) = 0 [pid 5556] <... mount resumed>) = 0 [pid 5556] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5103] <... openat resumed>) = 3 [pid 5556] <... openat resumed>) = 3 [pid 5556] chdir("./file1") = 0 [pid 5554] 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 5555] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5556] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5103] newfstatat(3, "", [pid 5555] <... 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 5555] close(4 [pid 5556] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] getdents64(3, [pid 5101] umount2("./71/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5556] truncate("./file1", 0 [pid 5101] newfstatat(AT_FDCWD, "./71/file1", [pid 5557] <... mount resumed>) = 0 [pid 5555] <... close resumed>) = 0 [pid 5103] umount2("./72/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5557] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [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 5557] <... openat resumed>) = 3 [pid 5103] newfstatat(AT_FDCWD, "./72/binderfs", [pid 5101] umount2("./71/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5557] chdir("./file1") = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5557] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5103] unlink("./72/binderfs" [pid 5101] openat(AT_FDCWD, "./71/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5557] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] <... unlink resumed>) = 0 [pid 5101] <... openat resumed>) = 4 [pid 5557] truncate("./file1", 0 [pid 5556] <... truncate resumed>) = 0 [pid 5103] umount2("./72/file1", MNT_FORCE|UMOUNT_NOFOLLOW [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, [pid 5556] memfd_create("syzkaller", 0 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5555] exit_group(0 [pid 5101] close(4 [pid 5556] <... memfd_create resumed>) = 4 [pid 5555] <... exit_group resumed>) = ? [pid 5101] <... close resumed>) = 0 [pid 5556] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5555] +++ exited with 0 +++ [pid 5101] rmdir("./71/file1" [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5555, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5554] <... write resumed>) = 524288 [pid 5101] <... rmdir resumed>) = 0 [pid 5554] munmap(0x7f8438200000, 138412032 [pid 5557] <... truncate resumed>) = 0 [pid 5556] 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 5554] <... munmap resumed>) = 0 [pid 5101] getdents64(3, [pid 5554] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5557] memfd_create("syzkaller", 0 [pid 5554] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] umount2("./74", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5557] <... memfd_create resumed>) = 4 [pid 5554] close(4 [pid 5101] close(3 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5557] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5556] <... write resumed>) = 524288 [pid 5554] <... close resumed>) = 0 [pid 5103] <... umount2 resumed>) = 0 [pid 5101] <... close resumed>) = 0 [pid 5098] openat(AT_FDCWD, "./74", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5557] <... mmap resumed>) = 0x7f8438200000 [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("./74/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] rmdir("./71" [pid 5098] newfstatat(AT_FDCWD, "./74/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] unlink("./74/binderfs" [pid 5101] <... rmdir resumed>) = 0 [pid 5098] <... unlink resumed>) = 0 [pid 5098] umount2("./74/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] mkdir("./72", 0777 [pid 5554] exit_group(0 [pid 5557] 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 5556] munmap(0x7f8438200000, 138412032 [pid 5103] umount2("./72/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... mkdir resumed>) = 0 [pid 5098] <... umount2 resumed>) = 0 [pid 5556] <... munmap resumed>) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5554] <... exit_group resumed>) = ? [pid 5554] +++ exited with 0 +++ [pid 5098] umount2("./74/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./74/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] umount2("./74/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./74/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 5557] <... write resumed>) = 524288 [pid 5098] getdents64(4, [pid 5557] munmap(0x7f8438200000, 138412032 [pid 5556] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5103] newfstatat(AT_FDCWD, "./72/file1", [pid 5101] <... openat resumed>) = 3 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5554, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] umount2("./74", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] getdents64(4, [pid 5556] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] umount2("./72/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5556] close(4 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] close(4) = 0 [pid 5098] rmdir("./74/file1" [pid 5103] openat(AT_FDCWD, "./72/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] openat(AT_FDCWD, "./74", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] <... rmdir resumed>) = 0 [pid 5103] <... openat resumed>) = 4 [pid 5103] newfstatat(4, "", [pid 5099] <... openat resumed>) = 3 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] newfstatat(3, "", [pid 5103] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] getdents64(3, [pid 5103] getdents64(4, [pid 5099] getdents64(3, [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5103] close(4 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5103] <... close resumed>) = 0 [pid 5098] close(3) = 0 [pid 5103] rmdir("./72/file1" [pid 5098] rmdir("./74" [pid 5557] <... munmap resumed>) = 0 [pid 5103] <... rmdir resumed>) = 0 [pid 5099] umount2("./74/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... rmdir resumed>) = 0 [pid 5098] mkdir("./75", 0777 [pid 5557] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5556] <... close resumed>) = 0 [pid 5103] getdents64(3, [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] newfstatat(AT_FDCWD, "./74/binderfs", [pid 5557] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5556] exit_group(0 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5557] close(4 [pid 5556] <... exit_group resumed>) = ? [pid 5103] close(3 [pid 5099] unlink("./74/binderfs" [pid 5556] +++ exited with 0 +++ [pid 5098] <... mkdir resumed>) = 0 [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5556, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5098] <... openat resumed>) = 3 [pid 5100] umount2("./72", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5557] <... close resumed>) = 0 [pid 5103] <... close resumed>) = 0 [pid 5101] <... ioctl resumed>) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... unlink resumed>) = 0 [pid 5100] openat(AT_FDCWD, "./72", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5100] newfstatat(3, "", [pid 5101] close(3 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5557] exit_group(0 [pid 5103] rmdir("./72" [pid 5100] getdents64(3, [pid 5099] umount2("./74/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5100] umount2("./72/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5100] newfstatat(AT_FDCWD, "./72/binderfs", [pid 5557] <... exit_group resumed>) = ? [pid 5101] <... close resumed>) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5557] +++ exited with 0 +++ [pid 5103] <... rmdir resumed>) = 0 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5100] unlink("./72/binderfs" [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5557, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5097] umount2("./75", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5100] <... unlink resumed>) = 0 [pid 5097] openat(AT_FDCWD, "./75", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5097] newfstatat(3, "", [pid 5100] umount2("./72/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... umount2 resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 ./strace-static-x86_64: Process 5558 attached [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5558 [pid 5097] umount2("./75/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5558] set_robust_list(0x55556fbaa660, 24 [pid 5097] newfstatat(AT_FDCWD, "./75/binderfs", [pid 5558] <... set_robust_list resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5558] chdir("./72" [pid 5097] unlink("./75/binderfs") = 0 [pid 5097] umount2("./75/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5558] <... chdir resumed>) = 0 [pid 5103] mkdir("./73", 0777 [pid 5100] <... umount2 resumed>) = 0 [pid 5099] umount2("./74/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... umount2 resumed>) = 0 [pid 5558] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5097] umount2("./75/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5558] <... prctl resumed>) = 0 [pid 5103] <... mkdir resumed>) = 0 [pid 5100] umount2("./72/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] newfstatat(AT_FDCWD, "./72/file1", [pid 5097] newfstatat(AT_FDCWD, "./75/file1", [pid 5100] <... 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 5097] umount2("./75/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] umount2("./72/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] openat(AT_FDCWD, "./75/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5100] openat(AT_FDCWD, "./72/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] <... openat resumed>) = 4 [pid 5558] setpgid(0, 0 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5100] <... openat resumed>) = 4 [pid 5099] newfstatat(AT_FDCWD, "./74/file1", [pid 5558] <... setpgid resumed>) = 0 [pid 5103] <... openat resumed>) = 3 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5558] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5099] umount2("./74/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5558] <... openat resumed>) = 3 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "./74/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5558] write(3, "1000", 4 [pid 5099] <... openat resumed>) = 4 [pid 5558] <... write resumed>) = 4 [pid 5099] newfstatat(4, "", [pid 5558] close(3) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5558] symlink("/dev/binderfs", "./binderfs" [pid 5099] getdents64(4, [pid 5558] <... symlink resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 executing program [pid 5099] getdents64(4, [pid 5098] <... ioctl resumed>) = 0 [pid 5097] newfstatat(4, "", [pid 5100] newfstatat(4, "", [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5558] write(1, "executing program\n", 18 [pid 5099] close(4 [pid 5558] <... write resumed>) = 18 [pid 5099] <... close resumed>) = 0 [pid 5558] memfd_create("syzkaller", 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] rmdir("./74/file1" [pid 5100] getdents64(4, [pid 5099] <... rmdir resumed>) = 0 [pid 5098] close(3 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5558] <... memfd_create resumed>) = 3 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] <... close resumed>) = 0 [pid 5097] getdents64(4, [pid 5558] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5099] getdents64(3, [pid 5558] <... mmap resumed>) = 0x7f8438200000 [pid 5100] getdents64(4, [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5099] close(3./strace-static-x86_64: Process 5559 attached [pid 5100] close(4 [pid 5097] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] <... close resumed>) = 0 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5559 [pid 5099] <... close resumed>) = 0 [pid 5559] set_robust_list(0x55556fbaa660, 24 [pid 5100] rmdir("./72/file1" [pid 5099] rmdir("./74" [pid 5097] close(4 [pid 5559] <... set_robust_list resumed>) = 0 [pid 5099] <... rmdir resumed>) = 0 [pid 5097] <... close resumed>) = 0 [pid 5559] chdir("./75" [pid 5100] <... rmdir resumed>) = 0 [pid 5097] rmdir("./75/file1" [pid 5100] getdents64(3, [pid 5099] mkdir("./75", 0777 [pid 5559] <... chdir resumed>) = 0 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5099] <... mkdir resumed>) = 0 [pid 5097] <... rmdir resumed>) = 0 [pid 5559] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5558] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5097] getdents64(3, [pid 5559] <... prctl resumed>) = 0 [pid 5559] setpgid(0, 0 [pid 5100] <... close resumed>) = 0 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5559] <... setpgid resumed>) = 0 [pid 5097] close(3 [pid 5559] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5100] rmdir("./72" [pid 5097] <... close resumed>) = 0 [pid 5559] <... openat resumed>) = 3 [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5097] rmdir("./75" [pid 5099] <... openat resumed>) = 3 [pid 5097] <... rmdir resumed>) = 0 [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5097] mkdir("./76", 0777) = 0 [pid 5559] write(3, "1000", 4 [pid 5100] <... rmdir resumed>) = 0 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5559] <... write resumed>) = 4 [pid 5100] mkdir("./73", 0777 [pid 5559] close(3 [pid 5097] <... openat resumed>) = 3 [pid 5559] <... close resumed>) = 0 [pid 5558] <... write resumed>) = 524288 [pid 5100] <... mkdir resumed>) = 0 [pid 5559] symlink("/dev/binderfs", "./binderfs" [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5558] munmap(0x7f8438200000, 138412032 [pid 5559] <... symlink resumed>) = 0 [pid 5103] <... ioctl resumed>) = 0 [pid 5100] <... openat resumed>) = 3 [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5558] <... munmap resumed>) = 0 [pid 5558] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5558] ioctl(4, LOOP_SET_FD, 3 [pid 5559] write(1, "executing program\n", 18 [pid 5100] ioctl(3, LOOP_CLR_FDexecuting program [pid 5559] <... write resumed>) = 18 [pid 5559] memfd_create("syzkaller", 0) = 3 [pid 5559] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5103] close(3) = 0 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5559] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288./strace-static-x86_64: Process 5560 attached [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5560 [pid 5558] <... ioctl resumed>) = 0 [pid 5558] close(3) = 0 [pid 5558] close(4) = 0 [pid 5558] mkdir("./file1", 0777 [pid 5560] set_robust_list(0x55556fbaa660, 24 [pid 5559] <... write resumed>) = 524288 [pid 5558] <... mkdir resumed>) = 0 [pid 5560] <... set_robust_list resumed>) = 0 [pid 5560] chdir("./73") = 0 [pid 5560] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5559] munmap(0x7f8438200000, 138412032 [pid 5558] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5560] <... prctl resumed>) = 0 [pid 5559] <... munmap resumed>) = 0 [pid 5560] setpgid(0, 0) = 0 [pid 5560] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5560] write(3, "1000", 4) = 4 [pid 5560] close(3) = 0 [pid 5560] symlink("/dev/binderfs", "./binderfs") = 0