./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2213107218 <...> Warning: Permanently added '10.128.1.190' (ED25519) to the list of known hosts. execve("./syz-executor2213107218", ["./syz-executor2213107218"], 0x7ffc6712d390 /* 10 vars */) = 0 brk(NULL) = 0x555555c35000 brk(0x555555c35d00) = 0x555555c35d00 arch_prctl(ARCH_SET_FS, 0x555555c35380) = 0 set_tid_address(0x555555c35650) = 5074 set_robust_list(0x555555c35660, 24) = 0 rseq(0x555555c35ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor2213107218", 4096) = 28 getrandom("\x22\x4f\x9a\x57\x02\x01\xe6\x52", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555555c35d00 brk(0x555555c56d00) = 0x555555c56d00 brk(0x555555c57000) = 0x555555c57000 mprotect(0x7f8a42bff000, 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./strace-static-x86_64: Process 5075 attached , child_tidptr=0x555555c35650) = 5075 [pid 5075] set_robust_list(0x555555c35660, 24) = 0 [pid 5074] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5075] mkdir("./syzkaller.2aygPP", 0700./strace-static-x86_64: Process 5076 attached ) = 0 [pid 5074] <... clone resumed>, child_tidptr=0x555555c35650) = 5076 [pid 5075] chmod("./syzkaller.2aygPP", 0777) = 0 [pid 5075] chdir("./syzkaller.2aygPP" [pid 5074] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5076] set_robust_list(0x555555c35660, 24) = 0 [pid 5075] <... chdir resumed>) = 0 [pid 5076] mkdir("./syzkaller.ZPG6OJ", 0700 [pid 5075] mkdir("./0", 0777) = 0 ./strace-static-x86_64: Process 5077 attached [pid 5076] <... mkdir resumed>) = 0 [pid 5076] chmod("./syzkaller.ZPG6OJ", 0777) = 0 [pid 5076] chdir("./syzkaller.ZPG6OJ" [pid 5074] <... clone resumed>, child_tidptr=0x555555c35650) = 5077 [pid 5077] set_robust_list(0x555555c35660, 24 [pid 5075] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5074] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5077] <... set_robust_list resumed>) = 0 [pid 5076] <... chdir resumed>) = 0 [pid 5075] <... openat resumed>) = 3 [pid 5077] mkdir("./syzkaller.RgSoLO", 0700 [pid 5076] mkdir("./0", 0777 [pid 5075] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5075] close(3) = 0 ./strace-static-x86_64: Process 5078 attached [pid 5077] <... mkdir resumed>) = 0 [pid 5076] <... mkdir resumed>) = 0 [pid 5075] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5074] <... clone resumed>, child_tidptr=0x555555c35650) = 5078 [pid 5074] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5080 attached ./strace-static-x86_64: Process 5079 attached , child_tidptr=0x555555c35650) = 5079 [pid 5078] set_robust_list(0x555555c35660, 24 [pid 5077] chmod("./syzkaller.RgSoLO", 0777 [pid 5076] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5074] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5080] set_robust_list(0x555555c35660, 24 [pid 5079] set_robust_list(0x555555c35660, 24 [pid 5078] <... set_robust_list resumed>) = 0 [pid 5077] <... chmod resumed>) = 0 [pid 5075] <... clone resumed>, child_tidptr=0x555555c35650) = 5080 [pid 5080] <... set_robust_list resumed>) = 0 [pid 5076] <... openat resumed>) = 3 [pid 5080] chdir("./0" [pid 5076] ioctl(3, LOOP_CLR_FD [pid 5080] <... chdir resumed>) = 0 [pid 5079] <... set_robust_list resumed>) = 0 [pid 5078] mkdir("./syzkaller.sSao3s", 0700 [pid 5076] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5080] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5080] setpgid(0, 0) = 0 [pid 5080] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5077] chdir("./syzkaller.RgSoLO" [pid 5080] <... openat resumed>) = 3 [pid 5079] mkdir("./syzkaller.914j2Z", 0700 [pid 5077] <... chdir resumed>) = 0 [pid 5076] close(3 [pid 5077] mkdir("./0", 0777 [pid 5076] <... close resumed>) = 0 [pid 5080] write(3, "1000", 4 [pid 5074] <... clone resumed>, child_tidptr=0x555555c35650) = 5081 [pid 5080] <... write resumed>) = 4 [pid 5076] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5080] close(3 [pid 5077] <... mkdir resumed>) = 0 [pid 5080] <... close resumed>) = 0 [pid 5080] symlink("/dev/binderfs", "./binderfs"./strace-static-x86_64: Process 5081 attached ) = 0 [pid 5081] set_robust_list(0x555555c35660, 24 [pid 5079] <... mkdir resumed>) = 0 [pid 5081] <... set_robust_list resumed>) = 0 ./strace-static-x86_64: Process 5082 attached [pid 5081] mkdir("./syzkaller.Vx3qO1", 0700 [pid 5079] chmod("./syzkaller.914j2Z", 0777 [pid 5078] <... mkdir resumed>) = 0 [pid 5077] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5080] memfd_create("syzkaller", 0 [pid 5078] chmod("./syzkaller.sSao3s", 0777 [pid 5080] <... memfd_create resumed>) = 3 [pid 5080] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5077] <... openat resumed>) = 3 [pid 5080] <... mmap resumed>) = 0x7f8a3a600000 [pid 5078] <... chmod resumed>) = 0 [pid 5076] <... clone resumed>, child_tidptr=0x555555c35650) = 5082 [pid 5082] set_robust_list(0x555555c35660, 24 [pid 5081] <... mkdir resumed>) = 0 [pid 5079] <... chmod resumed>) = 0 [pid 5078] chdir("./syzkaller.sSao3s" [pid 5077] ioctl(3, LOOP_CLR_FD [pid 5082] <... set_robust_list resumed>) = 0 [pid 5078] <... chdir resumed>) = 0 [pid 5081] chmod("./syzkaller.Vx3qO1", 0777 [pid 5082] chdir("./0" [pid 5081] <... chmod resumed>) = 0 [pid 5078] mkdir("./0", 0777 [pid 5081] chdir("./syzkaller.Vx3qO1") = 0 [pid 5081] mkdir("./0", 0777 [pid 5077] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5080] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5081] <... mkdir resumed>) = 0 [pid 5082] <... chdir resumed>) = 0 [pid 5081] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5080] <... write resumed>) = 524288 [pid 5079] chdir("./syzkaller.914j2Z" [pid 5078] <... mkdir resumed>) = 0 [pid 5077] close(3 [pid 5082] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5081] <... openat resumed>) = 3 [pid 5080] munmap(0x7f8a3a600000, 138412032 [pid 5079] <... chdir resumed>) = 0 [pid 5077] <... close resumed>) = 0 [pid 5077] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5082] <... prctl resumed>) = 0 [pid 5082] setpgid(0, 0 [pid 5079] mkdir("./0", 0777 [pid 5081] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5081] close(3./strace-static-x86_64: Process 5083 attached [pid 5082] <... setpgid resumed>) = 0 [pid 5080] <... munmap resumed>) = 0 [pid 5079] <... mkdir resumed>) = 0 [pid 5078] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5081] <... close resumed>) = 0 [pid 5082] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5077] <... clone resumed>, child_tidptr=0x555555c35650) = 5083 [pid 5083] set_robust_list(0x555555c35660, 24 [pid 5081] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5080] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5082] <... openat resumed>) = 3 [pid 5083] <... set_robust_list resumed>) = 0 [pid 5082] write(3, "1000", 4 [pid 5080] <... openat resumed>) = 4 [pid 5079] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5078] <... openat resumed>) = 3 [pid 5082] <... write resumed>) = 4 [pid 5083] chdir("./0") = 0 [pid 5083] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5080] ioctl(4, LOOP_SET_FD, 3 [pid 5083] <... prctl resumed>) = 0 [pid 5082] close(3 [pid 5079] <... openat resumed>) = 3 [pid 5078] ioctl(3, LOOP_CLR_FD [pid 5082] <... close resumed>) = 0 [pid 5082] symlink("/dev/binderfs", "./binderfs" [pid 5083] setpgid(0, 0 [pid 5078] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5083] <... setpgid resumed>) = 0 [pid 5082] <... symlink resumed>) = 0 [pid 5079] ioctl(3, LOOP_CLR_FD [pid 5078] close(3 [pid 5081] <... clone resumed>, child_tidptr=0x555555c35650) = 5084 [pid 5079] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5078] <... close resumed>) = 0 [pid 5083] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5078] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5084 attached [pid 5083] <... openat resumed>) = 3 [pid 5084] set_robust_list(0x555555c35660, 24) = 0 [pid 5084] chdir("./0" [pid 5083] write(3, "1000", 4 [pid 5082] memfd_create("syzkaller", 0 [pid 5084] <... chdir resumed>) = 0 [pid 5083] <... write resumed>) = 4 [pid 5079] close(3 [pid 5084] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5083] close(3 [pid 5082] <... memfd_create resumed>) = 3 [pid 5084] <... prctl resumed>) = 0 [pid 5083] <... close resumed>) = 0 [pid 5079] <... close resumed>) = 0 [pid 5084] setpgid(0, 0 [pid 5083] symlink("/dev/binderfs", "./binderfs" [pid 5082] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5079] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5084] <... setpgid resumed>) = 0 [pid 5083] <... symlink resumed>) = 0 [pid 5084] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5082] <... mmap resumed>) = 0x7f8a3a600000 ./strace-static-x86_64: Process 5085 attached [pid 5084] <... openat resumed>) = 3 [pid 5083] memfd_create("syzkaller", 0 [pid 5085] set_robust_list(0x555555c35660, 24 [pid 5078] <... clone resumed>, child_tidptr=0x555555c35650) = 5085 [pid 5084] write(3, "1000", 4 [pid 5083] <... memfd_create resumed>) = 3 [pid 5080] <... ioctl resumed>) = 0 [pid 5084] <... write resumed>) = 4 [pid 5080] close(3 [pid 5084] close(3 [pid 5080] <... close resumed>) = 0 [pid 5084] <... close resumed>) = 0 [pid 5080] close(4 [pid 5084] symlink("/dev/binderfs", "./binderfs" [pid 5083] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5085] <... set_robust_list resumed>) = 0 [pid 5083] <... mmap resumed>) = 0x7f8a3a600000 [pid 5082] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5080] <... close resumed>) = 0 ./strace-static-x86_64: Process 5086 attached [pid 5085] chdir("./0" [pid 5084] <... symlink resumed>) = 0 [pid 5083] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5080] mkdir("./bus", 0777 [pid 5086] set_robust_list(0x555555c35660, 24 [pid 5085] <... chdir resumed>) = 0 [pid 5084] memfd_create("syzkaller", 0 [pid 5080] <... mkdir resumed>) = 0 [pid 5079] <... clone resumed>, child_tidptr=0x555555c35650) = 5086 [pid 5086] <... set_robust_list resumed>) = 0 [pid 5084] <... memfd_create resumed>) = 3 [pid 5080] mount("/dev/loop0", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5086] chdir("./0" [pid 5084] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5086] <... chdir resumed>) = 0 [pid 5084] <... mmap resumed>) = 0x7f8a3a600000 [pid 5082] <... write resumed>) = 524288 [pid 5085] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5086] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5085] <... prctl resumed>) = 0 [pid 5086] <... prctl resumed>) = 0 [ 109.880798][ T5080] loop0: detected capacity change from 0 to 1024 [pid 5086] setpgid(0, 0) = 0 [pid 5085] setpgid(0, 0 [pid 5086] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5085] <... setpgid resumed>) = 0 [pid 5084] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5082] munmap(0x7f8a3a600000, 138412032 [pid 5086] <... openat resumed>) = 3 [pid 5085] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5086] write(3, "1000", 4) = 4 [pid 5082] <... munmap resumed>) = 0 [pid 5086] close(3 [pid 5085] <... openat resumed>) = 3 [pid 5084] <... write resumed>) = 524288 [pid 5082] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5086] <... close resumed>) = 0 [pid 5085] write(3, "1000", 4 [pid 5082] <... openat resumed>) = 4 [pid 5086] symlink("/dev/binderfs", "./binderfs" [pid 5085] <... write resumed>) = 4 [pid 5082] ioctl(4, LOOP_SET_FD, 3 [pid 5086] <... symlink resumed>) = 0 [pid 5080] <... mount resumed>) = 0 [pid 5080] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY) = 3 [pid 5080] chdir("./bus") = 0 [pid 5080] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5085] close(3 [pid 5083] <... write resumed>) = 524288 [pid 5082] <... ioctl resumed>) = 0 [pid 5082] close(3 [pid 5086] memfd_create("syzkaller", 0 [pid 5085] <... close resumed>) = 0 [pid 5083] munmap(0x7f8a3a600000, 138412032 [pid 5082] <... close resumed>) = 0 [pid 5080] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5084] munmap(0x7f8a3a600000, 138412032 [pid 5085] symlink("/dev/binderfs", "./binderfs" [pid 5086] <... memfd_create resumed>) = 3 [pid 5080] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5086] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5085] <... symlink resumed>) = 0 [pid 5084] <... munmap resumed>) = 0 [pid 5083] <... munmap resumed>) = 0 [pid 5082] close(4) = 0 [pid 5082] mkdir("./bus", 0777 [pid 5083] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5086] <... mmap resumed>) = 0x7f8a3a600000 [pid 5083] <... openat resumed>) = 4 [pid 5085] memfd_create("syzkaller", 0 [pid 5086] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5085] <... memfd_create resumed>) = 3 [pid 5084] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5083] ioctl(4, LOOP_SET_FD, 3 [pid 5082] <... mkdir resumed>) = 0 [pid 5085] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5084] <... openat resumed>) = 4 [pid 5080] <... symlink resumed>) = 0 [ 109.975737][ T5082] loop1: detected capacity change from 0 to 1024 [ 110.012006][ T5083] loop2: detected capacity change from 0 to 1024 [pid 5086] <... write resumed>) = 524288 [pid 5085] <... mmap resumed>) = 0x7f8a3a600000 [pid 5084] ioctl(4, LOOP_SET_FD, 3 [pid 5083] <... ioctl resumed>) = 0 [pid 5082] mount("/dev/loop1", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5080] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5086] munmap(0x7f8a3a600000, 138412032 [pid 5083] close(3 [pid 5086] <... munmap resumed>) = 0 [pid 5083] <... close resumed>) = 0 [pid 5086] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5083] close(4 [pid 5086] <... openat resumed>) = 4 [pid 5083] <... close resumed>) = 0 [pid 5083] mkdir("./bus", 0777) = 0 [pid 5086] ioctl(4, LOOP_SET_FD, 3 [pid 5085] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5084] <... ioctl resumed>) = 0 [pid 5084] close(3 [pid 5083] mount("/dev/loop2", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5084] <... close resumed>) = 0 [pid 5084] close(4) = 0 [pid 5080] <... creat resumed>) = 4 [pid 5084] mkdir("./bus", 0777 [pid 5080] rename("./bus", "./file2" [pid 5084] <... mkdir resumed>) = 0 [pid 5085] <... write resumed>) = 524288 [pid 5084] mount("/dev/loop5", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5080] <... rename resumed>) = -1 EEXIST (File exists) [pid 5083] <... mount resumed>) = 0 [pid 5080] memfd_create("syzkaller", 0 [pid 5086] <... ioctl resumed>) = 0 [pid 5080] <... memfd_create resumed>) = 5 [pid 5086] close(3) = 0 [pid 5086] close(4 [pid 5080] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5086] <... close resumed>) = 0 [pid 5086] mkdir("./bus", 0777) = 0 [pid 5082] <... mount resumed>) = 0 [pid 5080] <... mmap resumed>) = 0x7f8a3a600000 [pid 5086] mount("/dev/loop4", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [ 110.030124][ T5084] loop5: detected capacity change from 0 to 1024 [ 110.041877][ T5086] loop4: detected capacity change from 0 to 1024 [pid 5083] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY) = 3 [pid 5083] chdir("./bus") = 0 [pid 5083] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5085] munmap(0x7f8a3a600000, 138412032 [pid 5083] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5082] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5086] <... mount resumed>) = 0 [pid 5085] <... munmap resumed>) = 0 [pid 5084] <... mount resumed>) = 0 [pid 5083] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5082] <... openat resumed>) = 3 [pid 5080] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5086] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5085] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5084] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5082] chdir("./bus" [pid 5086] <... openat resumed>) = 3 [pid 5084] <... openat resumed>) = 3 [pid 5083] <... symlink resumed>) = 0 [pid 5082] <... chdir resumed>) = 0 [pid 5086] chdir("./bus" [pid 5084] chdir("./bus" [pid 5085] <... openat resumed>) = 4 [pid 5086] <... chdir resumed>) = 0 [pid 5084] <... chdir resumed>) = 0 [pid 5082] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5086] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5085] ioctl(4, LOOP_SET_FD, 3 [pid 5084] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5083] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5086] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5084] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5086] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5084] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5084] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5083] <... creat resumed>) = 4 [pid 5082] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5086] <... symlink resumed>) = 0 [pid 5083] rename("./bus", "./file2" [pid 5086] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5083] <... rename resumed>) = -1 EEXIST (File exists) [pid 5082] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5083] memfd_create("syzkaller", 0) = 5 [pid 5084] <... creat resumed>) = 4 [pid 5083] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5084] rename("./bus", "./file2" [pid 5083] <... mmap resumed>) = 0x7f8a3a600000 [pid 5086] <... creat resumed>) = 4 [pid 5083] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5082] <... symlink resumed>) = 0 [pid 5080] <... write resumed>) = 524288 [pid 5082] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5086] rename("./bus", "./file2" [pid 5084] <... rename resumed>) = -1 EEXIST (File exists) [pid 5086] <... rename resumed>) = -1 EEXIST (File exists) [pid 5084] memfd_create("syzkaller", 0 [pid 5086] memfd_create("syzkaller", 0 [pid 5084] <... memfd_create resumed>) = 5 [pid 5086] <... memfd_create resumed>) = 5 [pid 5084] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5085] <... ioctl resumed>) = 0 [pid 5085] close(3 [pid 5082] <... creat resumed>) = 4 [pid 5085] <... close resumed>) = 0 [pid 5086] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5085] close(4 [pid 5082] rename("./bus", "./file2" [pid 5080] munmap(0x7f8a3a600000, 138412032 [pid 5086] <... mmap resumed>) = 0x7f8a3a600000 [pid 5085] <... close resumed>) = 0 [pid 5082] <... rename resumed>) = -1 EEXIST (File exists) [pid 5085] mkdir("./bus", 0777 [pid 5084] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5082] memfd_create("syzkaller", 0 [pid 5085] <... mkdir resumed>) = 0 [ 110.113194][ T5085] loop3: detected capacity change from 0 to 1024 [pid 5082] <... memfd_create resumed>) = 5 [pid 5086] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5082] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5085] mount("/dev/loop3", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5080] <... munmap resumed>) = 0 [pid 5082] <... mmap resumed>) = 0x7f8a3a600000 [pid 5080] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5084] <... write resumed>) = 524288 [pid 5083] <... write resumed>) = 524288 [pid 5082] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5080] close(5 [pid 5084] munmap(0x7f8a3a600000, 138412032 [pid 5083] munmap(0x7f8a3a600000, 138412032 [pid 5080] <... close resumed>) = 0 [pid 5085] <... mount resumed>) = 0 [pid 5084] <... munmap resumed>) = 0 [pid 5082] <... write resumed>) = 524288 [pid 5080] creat("./file1", 000 [pid 5085] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY) = 3 [pid 5084] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5083] <... munmap resumed>) = 0 [pid 5085] chdir("./bus" [pid 5086] <... write resumed>) = 524288 [pid 5085] <... chdir resumed>) = 0 [pid 5084] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5083] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5085] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5084] close(5 [pid 5083] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5085] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5083] close(5 [pid 5086] munmap(0x7f8a3a600000, 138412032) = 0 [pid 5086] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5085] <... symlink resumed>) = 0 [pid 5083] <... close resumed>) = 0 [pid 5082] munmap(0x7f8a3a600000, 138412032 [pid 5084] <... close resumed>) = 0 [pid 5084] creat("./file1", 000 [pid 5082] <... munmap resumed>) = 0 [pid 5085] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5086] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5083] creat("./file1", 000 [pid 5086] close(5) = 0 [pid 5085] <... creat resumed>) = 4 [pid 5084] <... creat resumed>) = 5 [pid 5085] rename("./bus", "./file2" [pid 5084] exit_group(0 [pid 5082] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5080] <... creat resumed>) = 5 [pid 5082] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5080] exit_group(0) = ? [pid 5085] <... rename resumed>) = -1 EEXIST (File exists) [pid 5084] <... exit_group resumed>) = ? [pid 5080] +++ exited with 0 +++ [pid 5083] <... creat resumed>) = 5 [pid 5082] close(5 [pid 5085] memfd_create("syzkaller", 0 [pid 5084] +++ exited with 0 +++ [pid 5083] exit_group(0 [pid 5082] <... close resumed>) = 0 [pid 5085] <... memfd_create resumed>) = 5 [pid 5083] <... exit_group resumed>) = ? [pid 5081] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5084, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5075] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5080, si_uid=0, si_status=0, si_utime=0, si_stime=8 /* 0.08 s */} --- [pid 5085] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5075] restart_syscall(<... resuming interrupted clone ...> [pid 5085] <... mmap resumed>) = 0x7f8a3a600000 [pid 5075] <... restart_syscall resumed>) = 0 [pid 5086] creat("./file1", 000 [pid 5083] +++ exited with 0 +++ [pid 5077] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5083, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5075] umount2("./0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5081] umount2("./0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5081] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5075] <... openat resumed>) = 3 [pid 5082] creat("./file1", 000 [pid 5081] <... openat resumed>) = 3 [pid 5075] newfstatat(3, "", [pid 5081] newfstatat(3, "", [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5075] getdents64(3, [pid 5086] <... creat resumed>) = 5 [pid 5085] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5082] <... creat resumed>) = 5 [pid 5081] getdents64(3, [pid 5077] umount2("./0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5086] exit_group(0 [pid 5082] exit_group(0 [pid 5081] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5075] umount2("./0/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5086] <... exit_group resumed>) = ? [pid 5085] <... write resumed>) = 524288 [pid 5082] <... exit_group resumed>) = ? [pid 5081] umount2("./0/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5086] +++ exited with 0 +++ [pid 5085] munmap(0x7f8a3a600000, 138412032 [pid 5082] +++ exited with 0 +++ [pid 5077] <... openat resumed>) = 3 [pid 5079] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5086, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5077] newfstatat(3, "", [pid 5076] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5082, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5076] umount2("./0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5085] <... munmap resumed>) = 0 [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5076] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5085] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5077] getdents64(3, [pid 5076] <... openat resumed>) = 3 [pid 5076] newfstatat(3, "", [pid 5077] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5079] umount2("./0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5085] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] umount2("./0/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] getdents64(3, [pid 5079] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5076] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5076] umount2("./0/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] <... openat resumed>) = 3 [pid 5079] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5085] close(5 [pid 5079] getdents64(3, 0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5079] umount2("./0/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] <... umount2 resumed>) = 0 [pid 5081] <... umount2 resumed>) = 0 [pid 5075] umount2("./0/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5075] newfstatat(AT_FDCWD, "./0/bus", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5075] umount2("./0/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5075] openat(AT_FDCWD, "./0/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5085] <... close resumed>) = 0 [pid 5081] umount2("./0/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] <... openat resumed>) = 4 [pid 5075] newfstatat(4, "", [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5081] newfstatat(AT_FDCWD, "./0/bus", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5075] getdents64(4, 0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5081] umount2("./0/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] getdents64(4, [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5081] openat(AT_FDCWD, "./0/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5076] <... umount2 resumed>) = 0 [pid 5075] close(4 [pid 5081] <... openat resumed>) = 4 [pid 5081] newfstatat(4, "", [pid 5075] <... close resumed>) = 0 [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5075] rmdir("./0/bus" [pid 5085] creat("./file1", 000 [pid 5077] <... umount2 resumed>) = 0 [pid 5081] getdents64(4, 0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5081] getdents64(4, 0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5081] close(4) = 0 [pid 5081] rmdir("./0/bus" [pid 5077] umount2("./0/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] umount2("./0/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5085] <... creat resumed>) = 5 [pid 5081] <... rmdir resumed>) = 0 [pid 5079] <... umount2 resumed>) = 0 [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] <... rmdir resumed>) = 0 [pid 5077] newfstatat(AT_FDCWD, "./0/bus", [pid 5075] umount2("./0/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5085] exit_group(0 [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5076] newfstatat(AT_FDCWD, "./0/bus", [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5085] <... exit_group resumed>) = ? [pid 5079] umount2("./0/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] umount2("./0/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5076] umount2("./0/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] newfstatat(AT_FDCWD, "./0/binderfs", [pid 5079] newfstatat(AT_FDCWD, "./0/bus", [pid 5077] openat(AT_FDCWD, "./0/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5075] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5075] unlink("./0/binderfs") = 0 [pid 5085] +++ exited with 0 +++ [pid 5081] umount2("./0/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5077] <... openat resumed>) = 4 [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5079] umount2("./0/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] getdents64(3, [pid 5081] newfstatat(AT_FDCWD, "./0/binderfs", [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] newfstatat(4, "", [pid 5076] openat(AT_FDCWD, "./0/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5075] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5079] openat(AT_FDCWD, "./0/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5081] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5075] close(3 [pid 5081] unlink("./0/binderfs" [pid 5079] <... openat resumed>) = 4 [pid 5077] getdents64(4, [pid 5076] <... openat resumed>) = 4 [pid 5075] <... close resumed>) = 0 [pid 5078] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5085, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5075] rmdir("./0" [pid 5079] newfstatat(4, "", [pid 5078] umount2("./0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5076] newfstatat(4, "", [pid 5075] <... rmdir resumed>) = 0 [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5079] getdents64(4, [pid 5078] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5076] getdents64(4, [pid 5081] <... unlink resumed>) = 0 [pid 5079] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5078] <... openat resumed>) = 3 [pid 5077] getdents64(4, [pid 5076] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5075] mkdir("./1", 0777 [pid 5077] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5078] newfstatat(3, "", [pid 5076] getdents64(4, [pid 5081] getdents64(3, [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5077] close(4 [pid 5076] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5075] <... mkdir resumed>) = 0 [pid 5081] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5078] getdents64(3, [pid 5077] <... close resumed>) = 0 [pid 5076] close(4 [pid 5075] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5077] rmdir("./0/bus" [pid 5076] <... close resumed>) = 0 [pid 5075] <... openat resumed>) = 3 [pid 5078] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5081] close(3 [pid 5075] ioctl(3, LOOP_CLR_FD [pid 5081] <... close resumed>) = 0 [pid 5081] rmdir("./0") = 0 [pid 5079] getdents64(4, [pid 5078] umount2("./0/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] <... rmdir resumed>) = 0 [pid 5076] rmdir("./0/bus" [pid 5081] mkdir("./1", 0777) = 0 [pid 5081] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5081] ioctl(3, LOOP_CLR_FD) = 0 [pid 5081] close(3) = 0 [pid 5081] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5079] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5077] umount2("./0/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] <... rmdir resumed>) = 0 [pid 5079] close(4 [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5076] umount2("./0/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5081] <... clone resumed>, child_tidptr=0x555555c35650) = 5091 ./strace-static-x86_64: Process 5091 attached [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5091] set_robust_list(0x555555c35660, 24 [pid 5077] newfstatat(AT_FDCWD, "./0/binderfs", [pid 5076] newfstatat(AT_FDCWD, "./0/binderfs", [pid 5079] <... close resumed>) = 0 [pid 5091] <... set_robust_list resumed>) = 0 [pid 5091] chdir("./1" [pid 5079] rmdir("./0/bus" [pid 5077] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5076] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5091] <... chdir resumed>) = 0 [pid 5076] unlink("./0/binderfs" [pid 5091] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5091] setpgid(0, 0) = 0 [pid 5079] <... rmdir resumed>) = 0 [pid 5091] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5079] umount2("./0/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] <... unlink resumed>) = 0 [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5076] getdents64(3, [pid 5079] newfstatat(AT_FDCWD, "./0/binderfs", [pid 5076] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5077] unlink("./0/binderfs" [pid 5091] <... openat resumed>) = 3 [pid 5079] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5078] <... umount2 resumed>) = 0 [pid 5077] <... unlink resumed>) = 0 [pid 5076] close(3 [pid 5079] unlink("./0/binderfs" [pid 5076] <... close resumed>) = 0 [pid 5091] write(3, "1000", 4) = 4 [pid 5079] <... unlink resumed>) = 0 [pid 5077] getdents64(3, [pid 5076] rmdir("./0" [pid 5091] close(3) = 0 [pid 5091] symlink("/dev/binderfs", "./binderfs" [pid 5077] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5076] <... rmdir resumed>) = 0 [pid 5077] close(3 [pid 5091] <... symlink resumed>) = 0 [pid 5079] getdents64(3, 0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5077] <... close resumed>) = 0 [pid 5076] mkdir("./1", 0777 [pid 5091] memfd_create("syzkaller", 0 [pid 5078] umount2("./0/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] <... mkdir resumed>) = 0 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5076] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5079] close(3 [pid 5077] rmdir("./0" [pid 5091] <... memfd_create resumed>) = 3 [pid 5078] newfstatat(AT_FDCWD, "./0/bus", [pid 5091] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5091] <... mmap resumed>) = 0x7f8a3a600000 [pid 5079] <... close resumed>) = 0 [pid 5078] umount2("./0/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] <... rmdir resumed>) = 0 [pid 5076] <... openat resumed>) = 3 [pid 5079] rmdir("./0" [pid 5077] mkdir("./1", 0777 [pid 5079] <... rmdir resumed>) = 0 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5079] mkdir("./1", 0777 [pid 5078] openat(AT_FDCWD, "./0/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5077] <... mkdir resumed>) = 0 [pid 5078] <... openat resumed>) = 4 [pid 5077] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5078] newfstatat(4, "", [pid 5079] <... mkdir resumed>) = 0 [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5077] <... openat resumed>) = 3 [pid 5078] getdents64(4, [pid 5075] <... ioctl resumed>) = 0 [pid 5078] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5091] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5078] getdents64(4, 0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5077] ioctl(3, LOOP_CLR_FD [pid 5079] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5078] close(4) = 0 [pid 5075] close(3 [pid 5079] <... openat resumed>) = 3 [pid 5078] rmdir("./0/bus" [pid 5075] <... close resumed>) = 0 [pid 5079] ioctl(3, LOOP_CLR_FD [pid 5078] <... rmdir resumed>) = 0 [pid 5076] ioctl(3, LOOP_CLR_FD [pid 5075] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5078] umount2("./0/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5078] newfstatat(AT_FDCWD, "./0/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5078] unlink("./0/binderfs") = 0 [pid 5078] getdents64(3, 0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5078] close(3) = 0 [pid 5075] <... clone resumed>, child_tidptr=0x555555c35650) = 5092 [pid 5078] rmdir("./0") = 0 [pid 5078] mkdir("./1", 0777) = 0 ./strace-static-x86_64: Process 5092 attached [pid 5092] set_robust_list(0x555555c35660, 24 [pid 5091] <... write resumed>) = 524288 [pid 5078] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5078] ioctl(3, LOOP_CLR_FD) = 0 [pid 5078] close(3) = 0 [pid 5078] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5092] <... set_robust_list resumed>) = 0 [pid 5092] chdir("./1") = 0 [pid 5092] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5078] <... clone resumed>, child_tidptr=0x555555c35650) = 5093 ./strace-static-x86_64: Process 5093 attached [pid 5092] setpgid(0, 0 [pid 5091] munmap(0x7f8a3a600000, 138412032 [pid 5093] set_robust_list(0x555555c35660, 24 [pid 5092] <... setpgid resumed>) = 0 [pid 5093] <... set_robust_list resumed>) = 0 [pid 5092] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5091] <... munmap resumed>) = 0 [pid 5093] chdir("./1" [pid 5092] <... openat resumed>) = 3 [pid 5091] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5093] <... chdir resumed>) = 0 [pid 5092] write(3, "1000", 4) = 4 [pid 5092] close(3) = 0 [pid 5092] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5077] <... ioctl resumed>) = 0 [pid 5093] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5092] memfd_create("syzkaller", 0 [pid 5079] <... ioctl resumed>) = 0 [pid 5092] <... memfd_create resumed>) = 3 [pid 5093] setpgid(0, 0 [pid 5092] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5092] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5093] <... setpgid resumed>) = 0 [pid 5093] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5091] <... openat resumed>) = 4 [pid 5093] write(3, "1000", 4 [pid 5091] ioctl(4, LOOP_SET_FD, 3 [pid 5076] <... ioctl resumed>) = 0 [pid 5093] <... write resumed>) = 4 [pid 5092] <... write resumed>) = 524288 [pid 5091] <... ioctl resumed>) = 0 [pid 5093] close(3 [pid 5079] close(3 [pid 5077] close(3 [pid 5076] close(3 [pid 5093] <... close resumed>) = 0 [pid 5079] <... close resumed>) = 0 [pid 5077] <... close resumed>) = 0 [pid 5076] <... close resumed>) = 0 [pid 5093] symlink("/dev/binderfs", "./binderfs" [pid 5079] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5077] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5076] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5093] <... symlink resumed>) = 0 [pid 5093] memfd_create("syzkaller", 0./strace-static-x86_64: Process 5095 attached [pid 5076] <... clone resumed>, child_tidptr=0x555555c35650) = 5094 [pid 5095] set_robust_list(0x555555c35660, 24 [pid 5093] <... memfd_create resumed>) = 3 [pid 5077] <... clone resumed>, child_tidptr=0x555555c35650) = 5095 [pid 5093] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0./strace-static-x86_64: Process 5094 attached ) = 0x7f8a3a600000 [pid 5091] close(3 [pid 5079] <... clone resumed>, child_tidptr=0x555555c35650) = 5096 ./strace-static-x86_64: Process 5096 attached [pid 5095] <... set_robust_list resumed>) = 0 [pid 5092] munmap(0x7f8a3a600000, 138412032 [pid 5095] chdir("./1" [pid 5092] <... munmap resumed>) = 0 [pid 5095] <... chdir resumed>) = 0 [pid 5092] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5096] set_robust_list(0x555555c35660, 24 [pid 5095] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5094] set_robust_list(0x555555c35660, 24 [pid 5093] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5092] <... openat resumed>) = 4 [pid 5091] <... close resumed>) = 0 [pid 5095] <... prctl resumed>) = 0 [pid 5092] ioctl(4, LOOP_SET_FD, 3 [pid 5096] <... set_robust_list resumed>) = 0 [pid 5095] setpgid(0, 0 [pid 5094] <... set_robust_list resumed>) = 0 [pid 5091] close(4 [pid 5095] <... setpgid resumed>) = 0 [pid 5096] chdir("./1" [pid 5095] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5094] chdir("./1" [pid 5091] <... close resumed>) = 0 [pid 5095] <... openat resumed>) = 3 [pid 5094] <... chdir resumed>) = 0 [pid 5091] mkdir("./bus", 0777 [pid 5095] write(3, "1000", 4) = 4 [pid 5095] close(3) = 0 [pid 5095] symlink("/dev/binderfs", "./binderfs" [pid 5096] <... chdir resumed>) = 0 [pid 5095] <... symlink resumed>) = 0 [pid 5094] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5091] <... mkdir resumed>) = 0 [ 110.685902][ T5091] loop5: detected capacity change from 0 to 1024 [pid 5096] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5095] memfd_create("syzkaller", 0 [pid 5094] <... prctl resumed>) = 0 [pid 5091] mount("/dev/loop5", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5095] <... memfd_create resumed>) = 3 [pid 5093] <... write resumed>) = 524288 [pid 5094] setpgid(0, 0 [pid 5096] <... prctl resumed>) = 0 [pid 5095] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5096] setpgid(0, 0 [pid 5095] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5094] <... setpgid resumed>) = 0 [pid 5096] <... setpgid resumed>) = 0 [pid 5093] munmap(0x7f8a3a600000, 138412032 [pid 5096] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5093] <... munmap resumed>) = 0 [pid 5096] <... openat resumed>) = 3 [pid 5094] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5093] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5092] <... ioctl resumed>) = 0 [pid 5096] write(3, "1000", 4) = 4 [pid 5094] <... openat resumed>) = 3 [pid 5093] <... openat resumed>) = 4 [pid 5092] close(3 [pid 5091] <... mount resumed>) = 0 [pid 5096] close(3 [ 110.741549][ T5092] loop0: detected capacity change from 0 to 1024 [pid 5094] write(3, "1000", 4 [pid 5093] ioctl(4, LOOP_SET_FD, 3 [pid 5092] <... close resumed>) = 0 [pid 5091] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5096] <... close resumed>) = 0 [pid 5094] <... write resumed>) = 4 [pid 5091] <... openat resumed>) = 3 [pid 5091] chdir("./bus" [pid 5096] symlink("/dev/binderfs", "./binderfs" [pid 5092] close(4 [pid 5091] <... chdir resumed>) = 0 [pid 5094] close(3 [pid 5091] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5096] <... symlink resumed>) = 0 [pid 5094] <... close resumed>) = 0 [pid 5091] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5094] symlink("/dev/binderfs", "./binderfs" [pid 5092] <... close resumed>) = 0 [pid 5091] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5096] memfd_create("syzkaller", 0 [pid 5094] <... symlink resumed>) = 0 [pid 5092] mkdir("./bus", 0777 [pid 5094] memfd_create("syzkaller", 0 [pid 5092] <... mkdir resumed>) = 0 [pid 5095] <... write resumed>) = 524288 [pid 5092] mount("/dev/loop0", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5096] <... memfd_create resumed>) = 3 [pid 5096] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5091] <... symlink resumed>) = 0 [pid 5094] <... memfd_create resumed>) = 3 [pid 5096] <... mmap resumed>) = 0x7f8a3a600000 [pid 5094] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5093] <... ioctl resumed>) = 0 [pid 5094] <... mmap resumed>) = 0x7f8a3a600000 [pid 5093] close(3 [pid 5091] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5096] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5093] <... close resumed>) = 0 [pid 5093] close(4 [pid 5094] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5093] <... close resumed>) = 0 [pid 5091] <... creat resumed>) = 4 [pid 5091] rename("./bus", "./file2") = -1 EEXIST (File exists) [pid 5093] mkdir("./bus", 0777 [pid 5091] memfd_create("syzkaller", 0) = 5 [ 110.781858][ T5093] loop3: detected capacity change from 0 to 1024 [pid 5091] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5095] munmap(0x7f8a3a600000, 138412032 [pid 5093] <... mkdir resumed>) = 0 [pid 5091] <... mmap resumed>) = 0x7f8a3a600000 [pid 5096] <... write resumed>) = 524288 [pid 5095] <... munmap resumed>) = 0 [pid 5093] mount("/dev/loop3", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5091] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5096] munmap(0x7f8a3a600000, 138412032 [pid 5094] <... write resumed>) = 524288 [pid 5095] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5096] <... munmap resumed>) = 0 [pid 5095] <... openat resumed>) = 4 [pid 5096] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5094] munmap(0x7f8a3a600000, 138412032 [pid 5092] <... mount resumed>) = 0 [pid 5092] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5094] <... munmap resumed>) = 0 [pid 5092] <... openat resumed>) = 3 [pid 5096] <... openat resumed>) = 4 [pid 5095] ioctl(4, LOOP_SET_FD, 3 [pid 5094] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5092] chdir("./bus" [pid 5096] ioctl(4, LOOP_SET_FD, 3 [pid 5094] <... openat resumed>) = 4 [pid 5092] <... chdir resumed>) = 0 [pid 5092] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5092] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5094] ioctl(4, LOOP_SET_FD, 3 [pid 5092] <... symlink resumed>) = 0 [pid 5092] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5095] <... ioctl resumed>) = 0 [pid 5092] <... creat resumed>) = 4 [pid 5095] close(3 [pid 5092] rename("./bus", "./file2" [pid 5096] <... ioctl resumed>) = 0 [pid 5095] <... close resumed>) = 0 [pid 5096] close(3 [pid 5095] close(4 [pid 5094] <... ioctl resumed>) = 0 [pid 5093] <... mount resumed>) = 0 [pid 5092] <... rename resumed>) = -1 EEXIST (File exists) [pid 5096] <... close resumed>) = 0 [pid 5095] <... close resumed>) = 0 [pid 5094] close(3 [pid 5093] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5096] close(4 [pid 5095] mkdir("./bus", 0777 [pid 5094] <... close resumed>) = 0 [pid 5093] <... openat resumed>) = 3 [pid 5096] <... close resumed>) = 0 [pid 5095] <... mkdir resumed>) = 0 [pid 5094] close(4 [pid 5093] chdir("./bus" [pid 5096] mkdir("./bus", 0777 [pid 5095] mount("/dev/loop2", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5094] <... close resumed>) = 0 [pid 5093] <... chdir resumed>) = 0 [pid 5092] memfd_create("syzkaller", 0 [pid 5091] <... write resumed>) = 524288 [ 110.863821][ T5095] loop2: detected capacity change from 0 to 1024 [ 110.873274][ T5096] loop4: detected capacity change from 0 to 1024 [ 110.881604][ T5094] loop1: detected capacity change from 0 to 1024 [pid 5096] <... mkdir resumed>) = 0 [pid 5094] mkdir("./bus", 0777 [pid 5093] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5092] <... memfd_create resumed>) = 5 [pid 5091] munmap(0x7f8a3a600000, 138412032 [pid 5094] <... mkdir resumed>) = 0 [pid 5093] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5092] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5091] <... munmap resumed>) = 0 [pid 5092] <... mmap resumed>) = 0x7f8a3a600000 [pid 5096] mount("/dev/loop4", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5094] mount("/dev/loop1", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5093] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5092] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5091] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5091] close(5 [pid 5093] <... symlink resumed>) = 0 [pid 5091] <... close resumed>) = 0 [pid 5092] <... write resumed>) = 524288 [pid 5093] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5095] <... mount resumed>) = 0 [pid 5095] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5091] creat("./file1", 000 [pid 5095] <... openat resumed>) = 3 [pid 5095] chdir("./bus") = 0 [pid 5096] <... mount resumed>) = 0 [pid 5095] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5094] <... mount resumed>) = 0 [pid 5093] <... creat resumed>) = 4 [pid 5091] <... creat resumed>) = 5 [pid 5096] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5095] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5094] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5093] rename("./bus", "./file2" [pid 5095] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5094] <... openat resumed>) = 3 [pid 5091] exit_group(0 [pid 5096] <... openat resumed>) = 3 [pid 5093] <... rename resumed>) = -1 EEXIST (File exists) [pid 5092] munmap(0x7f8a3a600000, 138412032 [pid 5091] <... exit_group resumed>) = ? [pid 5096] chdir("./bus" [pid 5094] chdir("./bus" [pid 5093] memfd_create("syzkaller", 0 [pid 5092] <... munmap resumed>) = 0 [pid 5091] +++ exited with 0 +++ [pid 5096] <... chdir resumed>) = 0 [pid 5095] <... symlink resumed>) = 0 [pid 5094] <... chdir resumed>) = 0 [pid 5093] <... memfd_create resumed>) = 5 [pid 5096] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5094] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5093] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5092] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5093] <... mmap resumed>) = 0x7f8a3a600000 [pid 5092] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5081] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5091, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5094] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5094] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5081] umount2("./1", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5095] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5092] close(5 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5096] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5081] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5096] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5081] <... openat resumed>) = 3 [pid 5094] <... symlink resumed>) = 0 [pid 5093] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5081] newfstatat(3, "", [pid 5094] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5095] <... creat resumed>) = 4 [pid 5081] getdents64(3, [pid 5096] <... symlink resumed>) = 0 [pid 5081] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5081] umount2("./1/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5096] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5095] rename("./bus", "./file2" [pid 5092] <... close resumed>) = 0 [pid 5092] creat("./file1", 000 [pid 5094] <... creat resumed>) = 4 [pid 5095] <... rename resumed>) = -1 EEXIST (File exists) [pid 5095] memfd_create("syzkaller", 0) = 5 [pid 5096] <... creat resumed>) = 4 [pid 5095] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5096] rename("./bus", "./file2" [pid 5095] <... mmap resumed>) = 0x7f8a3a600000 [pid 5094] rename("./bus", "./file2" [pid 5095] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5096] <... rename resumed>) = -1 EEXIST (File exists) [pid 5094] <... rename resumed>) = -1 EEXIST (File exists) [pid 5093] <... write resumed>) = 524288 [pid 5096] memfd_create("syzkaller", 0 [pid 5094] memfd_create("syzkaller", 0 [pid 5096] <... memfd_create resumed>) = 5 [pid 5094] <... memfd_create resumed>) = 5 [pid 5093] munmap(0x7f8a3a600000, 138412032 [pid 5092] <... creat resumed>) = 5 [pid 5096] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5094] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5096] <... mmap resumed>) = 0x7f8a3a600000 [pid 5094] <... mmap resumed>) = 0x7f8a3a600000 [pid 5093] <... munmap resumed>) = 0 [pid 5092] exit_group(0 [pid 5081] <... umount2 resumed>) = 0 [pid 5092] <... exit_group resumed>) = ? [pid 5081] umount2("./1/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5092] +++ exited with 0 +++ [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5081] newfstatat(AT_FDCWD, "./1/bus", [pid 5075] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5092, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5095] <... write resumed>) = 524288 [pid 5081] umount2("./1/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5081] openat(AT_FDCWD, "./1/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5081] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5081] getdents64(4, [pid 5075] umount2("./1", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5094] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5093] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5081] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5096] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5095] munmap(0x7f8a3a600000, 138412032 [pid 5093] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5081] getdents64(4, [pid 5075] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5095] <... munmap resumed>) = 0 [pid 5081] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5075] <... openat resumed>) = 3 [pid 5081] close(4) = 0 [pid 5075] newfstatat(3, "", [pid 5081] rmdir("./1/bus" [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5095] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5081] <... rmdir resumed>) = 0 [pid 5075] getdents64(3, [pid 5096] <... write resumed>) = 524288 [pid 5095] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5093] close(5 [pid 5075] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5075] umount2("./1/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5095] close(5 [pid 5081] umount2("./1/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5093] <... close resumed>) = 0 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5081] newfstatat(AT_FDCWD, "./1/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5081] unlink("./1/binderfs" [pid 5096] munmap(0x7f8a3a600000, 138412032 [pid 5094] <... write resumed>) = 524288 [pid 5093] creat("./file1", 000 [pid 5081] <... unlink resumed>) = 0 [pid 5096] <... munmap resumed>) = 0 [pid 5095] <... close resumed>) = 0 [pid 5081] getdents64(3, [pid 5075] <... umount2 resumed>) = 0 [pid 5081] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5081] close(3) = 0 [pid 5095] creat("./file1", 000 [pid 5081] rmdir("./1" [pid 5075] umount2("./1/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5096] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5081] <... rmdir resumed>) = 0 [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] newfstatat(AT_FDCWD, "./1/bus", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5075] umount2("./1/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5081] mkdir("./2", 0777 [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5081] <... mkdir resumed>) = 0 [pid 5075] openat(AT_FDCWD, "./1/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5075] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5096] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5075] getdents64(4, 0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5075] getdents64(4, [pid 5093] <... creat resumed>) = 5 [pid 5075] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5095] <... creat resumed>) = 5 [pid 5075] close(4 [pid 5095] exit_group(0 [pid 5075] <... close resumed>) = 0 [pid 5095] <... exit_group resumed>) = ? [pid 5075] rmdir("./1/bus") = 0 [pid 5096] close(5 [pid 5093] exit_group(0 [pid 5081] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5075] umount2("./1/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5096] <... close resumed>) = 0 [pid 5094] munmap(0x7f8a3a600000, 138412032 [pid 5093] <... exit_group resumed>) = ? [pid 5081] <... openat resumed>) = 3 [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5095] +++ exited with 0 +++ [pid 5081] ioctl(3, LOOP_CLR_FD [pid 5075] newfstatat(AT_FDCWD, "./1/binderfs", [pid 5093] +++ exited with 0 +++ [pid 5081] <... ioctl resumed>) = 0 [pid 5077] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5095, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5075] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5081] close(3 [pid 5075] unlink("./1/binderfs" [pid 5094] <... munmap resumed>) = 0 [pid 5081] <... close resumed>) = 0 [pid 5078] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5093, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5075] <... unlink resumed>) = 0 [pid 5094] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5081] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5078] restart_syscall(<... resuming interrupted clone ...> [pid 5077] umount2("./1", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] getdents64(3, [pid 5094] close(5 [pid 5078] <... restart_syscall resumed>) = 0 [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5077] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5075] close(3 [pid 5077] <... openat resumed>) = 3 [pid 5078] umount2("./1", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] newfstatat(3, "", [pid 5075] <... close resumed>) = 0 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5075] rmdir("./1"./strace-static-x86_64: Process 5097 attached [pid 5096] creat("./file1", 000 [pid 5094] <... close resumed>) = 0 [pid 5081] <... clone resumed>, child_tidptr=0x555555c35650) = 5097 [pid 5078] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5077] getdents64(3, [pid 5075] <... rmdir resumed>) = 0 [pid 5096] <... creat resumed>) = 5 [pid 5078] <... openat resumed>) = 3 [pid 5077] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5096] exit_group(0 [pid 5094] creat("./file1", 000 [pid 5078] newfstatat(3, "", [pid 5077] umount2("./1/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] mkdir("./2", 0777 [pid 5097] set_robust_list(0x555555c35660, 24 [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5078] getdents64(3, 0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5097] <... set_robust_list resumed>) = 0 [pid 5078] umount2("./1/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5097] chdir("./2" [pid 5075] <... mkdir resumed>) = 0 [pid 5097] <... chdir resumed>) = 0 [pid 5097] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5097] setpgid(0, 0) = 0 [pid 5097] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5075] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5096] <... exit_group resumed>) = ? [pid 5075] <... openat resumed>) = 3 [pid 5097] <... openat resumed>) = 3 [pid 5097] write(3, "1000", 4 [pid 5096] +++ exited with 0 +++ [pid 5075] ioctl(3, LOOP_CLR_FD [pid 5097] <... write resumed>) = 4 [pid 5097] close(3 [pid 5075] <... ioctl resumed>) = 0 [pid 5097] <... close resumed>) = 0 [pid 5097] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5094] <... creat resumed>) = 5 [pid 5079] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5096, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5075] close(3) = 0 [pid 5079] umount2("./1", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5078] <... umount2 resumed>) = 0 [pid 5097] memfd_create("syzkaller", 0 [pid 5078] umount2("./1/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5097] <... memfd_create resumed>) = 3 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5078] newfstatat(AT_FDCWD, "./1/bus", [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5075] <... clone resumed>, child_tidptr=0x555555c35650) = 5098 [pid 5094] exit_group(0 [pid 5078] umount2("./1/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5097] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... mmap resumed>) = 0x7f8a3a600000 [pid 5078] openat(AT_FDCWD, "./1/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY./strace-static-x86_64: Process 5098 attached [pid 5097] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5094] <... exit_group resumed>) = ? [pid 5079] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5078] <... openat resumed>) = 4 [pid 5079] <... openat resumed>) = 3 [pid 5078] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5078] getdents64(4, 0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5078] getdents64(4, 0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5078] close(4) = 0 [pid 5078] rmdir("./1/bus" [pid 5098] set_robust_list(0x555555c35660, 24 [pid 5094] +++ exited with 0 +++ [pid 5078] <... rmdir resumed>) = 0 [pid 5098] <... set_robust_list resumed>) = 0 [pid 5079] newfstatat(3, "", [pid 5077] <... umount2 resumed>) = 0 [pid 5076] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5094, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] chdir("./2" [pid 5079] getdents64(3, [pid 5078] umount2("./1/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5079] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5078] newfstatat(AT_FDCWD, "./1/binderfs", [pid 5079] umount2("./1/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5098] <... chdir resumed>) = 0 [pid 5078] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5078] unlink("./1/binderfs" [pid 5076] umount2("./1", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5098] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5078] <... unlink resumed>) = 0 [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5076] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] setpgid(0, 0 [pid 5077] umount2("./1/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] <... openat resumed>) = 3 [pid 5098] <... setpgid resumed>) = 0 [pid 5076] newfstatat(3, "", [pid 5078] getdents64(3, [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5078] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5077] newfstatat(AT_FDCWD, "./1/bus", [pid 5078] close(3 [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5076] getdents64(3, [pid 5098] <... openat resumed>) = 3 [pid 5078] <... close resumed>) = 0 [pid 5077] umount2("./1/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5078] rmdir("./1" [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5076] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5098] write(3, "1000", 4 [pid 5076] umount2("./1/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5078] <... rmdir resumed>) = 0 [pid 5077] openat(AT_FDCWD, "./1/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5098] <... write resumed>) = 4 [pid 5078] mkdir("./2", 0777 [pid 5077] newfstatat(4, "", [pid 5098] close(3) = 0 [pid 5078] <... mkdir resumed>) = 0 [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] symlink("/dev/binderfs", "./binderfs" [pid 5077] getdents64(4, 0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5077] getdents64(4, [pid 5078] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5077] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5077] close(4 [pid 5098] <... symlink resumed>) = 0 [pid 5077] <... close resumed>) = 0 [pid 5098] memfd_create("syzkaller", 0 [pid 5097] <... write resumed>) = 524288 [pid 5077] rmdir("./1/bus" [pid 5098] <... memfd_create resumed>) = 3 [pid 5078] <... openat resumed>) = 3 [pid 5077] <... rmdir resumed>) = 0 [pid 5098] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5078] ioctl(3, LOOP_CLR_FD) = 0 [pid 5077] umount2("./1/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5078] close(3 [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5078] <... close resumed>) = 0 [pid 5077] newfstatat(AT_FDCWD, "./1/binderfs", [pid 5097] munmap(0x7f8a3a600000, 138412032 [pid 5078] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5077] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] <... munmap resumed>) = 0 [pid 5079] <... umount2 resumed>) = 0 [pid 5077] unlink("./1/binderfs" [pid 5098] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5079] umount2("./1/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] <... unlink resumed>) = 0 ./strace-static-x86_64: Process 5099 attached [pid 5098] <... write resumed>) = 524288 [pid 5097] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5099] set_robust_list(0x555555c35660, 24 [pid 5097] <... openat resumed>) = 4 [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5078] <... clone resumed>, child_tidptr=0x555555c35650) = 5099 [pid 5099] <... set_robust_list resumed>) = 0 [pid 5097] ioctl(4, LOOP_SET_FD, 3 [pid 5079] newfstatat(AT_FDCWD, "./1/bus", [pid 5077] getdents64(3, [pid 5099] chdir("./2" [pid 5098] munmap(0x7f8a3a600000, 138412032 [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5077] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5076] <... umount2 resumed>) = 0 [pid 5099] <... chdir resumed>) = 0 [pid 5099] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5098] <... munmap resumed>) = 0 [pid 5079] umount2("./1/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] close(3 [pid 5076] umount2("./1/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5099] <... prctl resumed>) = 0 [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] setpgid(0, 0 [pid 5098] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5079] openat(AT_FDCWD, "./1/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5077] <... close resumed>) = 0 [pid 5076] newfstatat(AT_FDCWD, "./1/bus", [pid 5099] <... setpgid resumed>) = 0 [pid 5079] <... openat resumed>) = 4 [pid 5077] rmdir("./1" [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5079] newfstatat(4, "", [pid 5076] umount2("./1/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5099] <... openat resumed>) = 3 [pid 5098] <... openat resumed>) = 4 [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5077] <... rmdir resumed>) = 0 [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] write(3, "1000", 4 [pid 5098] ioctl(4, LOOP_SET_FD, 3 [pid 5079] getdents64(4, [pid 5076] openat(AT_FDCWD, "./1/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] <... write resumed>) = 4 [pid 5099] close(3 [pid 5079] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5077] mkdir("./2", 0777 [pid 5076] <... openat resumed>) = 4 [pid 5099] <... close resumed>) = 0 [pid 5077] <... mkdir resumed>) = 0 [pid 5076] newfstatat(4, "", [pid 5077] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5077] ioctl(3, LOOP_CLR_FD [pid 5099] symlink("/dev/binderfs", "./binderfs" [pid 5097] <... ioctl resumed>) = 0 [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5079] getdents64(4, [pid 5097] close(3) = 0 [pid 5079] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5097] close(4) = 0 [pid 5099] <... symlink resumed>) = 0 [pid 5079] close(4 [pid 5076] getdents64(4, [pid 5097] mkdir("./bus", 0777 [pid 5079] <... close resumed>) = 0 [pid 5076] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5097] <... mkdir resumed>) = 0 [pid 5079] rmdir("./1/bus" [pid 5076] getdents64(4, [pid 5097] mount("/dev/loop5", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5079] <... rmdir resumed>) = 0 [pid 5076] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5099] memfd_create("syzkaller", 0 [pid 5076] close(4 [pid 5079] umount2("./1/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5076] <... close resumed>) = 0 [pid 5079] newfstatat(AT_FDCWD, "./1/binderfs", [ 111.451515][ T5097] loop5: detected capacity change from 0 to 1024 [ 111.482862][ T5098] loop0: detected capacity change from 0 to 1024 [pid 5076] rmdir("./1/bus" [pid 5099] <... memfd_create resumed>) = 3 [pid 5098] <... ioctl resumed>) = 0 [pid 5079] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5077] <... ioctl resumed>) = 0 [pid 5076] <... rmdir resumed>) = 0 [pid 5079] unlink("./1/binderfs" [pid 5076] umount2("./1/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5099] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5098] close(3 [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... mmap resumed>) = 0x7f8a3a600000 [pid 5098] <... close resumed>) = 0 [pid 5076] newfstatat(AT_FDCWD, "./1/binderfs", [pid 5098] close(4 [pid 5079] <... unlink resumed>) = 0 [pid 5076] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] <... close resumed>) = 0 [pid 5076] unlink("./1/binderfs" [pid 5098] mkdir("./bus", 0777) = 0 [pid 5079] getdents64(3, [pid 5076] <... unlink resumed>) = 0 [pid 5079] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5097] <... mount resumed>) = 0 [pid 5098] mount("/dev/loop0", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5097] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY) = 3 [pid 5097] chdir("./bus") = 0 [pid 5077] close(3 [pid 5097] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5079] close(3 [pid 5077] <... close resumed>) = 0 [pid 5076] getdents64(3, [pid 5097] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5079] <... close resumed>) = 0 [pid 5077] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5076] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5097] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5079] rmdir("./1" [pid 5099] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5076] close(3 [pid 5077] <... clone resumed>, child_tidptr=0x555555c35650) = 5100 [pid 5076] <... close resumed>) = 0 ./strace-static-x86_64: Process 5100 attached [pid 5097] <... symlink resumed>) = 0 [pid 5079] <... rmdir resumed>) = 0 [pid 5076] rmdir("./1" [pid 5100] set_robust_list(0x555555c35660, 24) = 0 [pid 5097] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5100] chdir("./2") = 0 [pid 5076] <... rmdir resumed>) = 0 [pid 5100] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5097] <... creat resumed>) = 4 [pid 5079] mkdir("./2", 0777 [pid 5076] mkdir("./2", 0777 [pid 5100] <... prctl resumed>) = 0 [pid 5097] rename("./bus", "./file2" [pid 5100] setpgid(0, 0 [pid 5079] <... mkdir resumed>) = 0 [pid 5100] <... setpgid resumed>) = 0 [pid 5100] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5079] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5076] <... mkdir resumed>) = 0 [pid 5076] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5100] <... openat resumed>) = 3 [pid 5079] <... openat resumed>) = 3 [pid 5100] write(3, "1000", 4) = 4 [pid 5100] close(3 [pid 5079] ioctl(3, LOOP_CLR_FD [pid 5100] <... close resumed>) = 0 [pid 5097] <... rename resumed>) = -1 EEXIST (File exists) [pid 5076] <... openat resumed>) = 3 [pid 5100] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5099] <... write resumed>) = 524288 [pid 5097] memfd_create("syzkaller", 0 [pid 5076] ioctl(3, LOOP_CLR_FD [pid 5097] <... memfd_create resumed>) = 5 [pid 5097] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5076] <... ioctl resumed>) = 0 [pid 5100] memfd_create("syzkaller", 0 [pid 5099] munmap(0x7f8a3a600000, 138412032 [pid 5097] <... mmap resumed>) = 0x7f8a3a600000 [pid 5100] <... memfd_create resumed>) = 3 [pid 5099] <... munmap resumed>) = 0 [pid 5098] <... mount resumed>) = 0 [pid 5076] close(3 [pid 5099] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5098] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5076] <... close resumed>) = 0 [pid 5100] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5098] <... openat resumed>) = 3 [pid 5076] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5100] <... mmap resumed>) = 0x7f8a3a600000 ./strace-static-x86_64: Process 5101 attached [pid 5100] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] chdir("./bus" [pid 5101] set_robust_list(0x555555c35660, 24 [pid 5098] <... chdir resumed>) = 0 [pid 5076] <... clone resumed>, child_tidptr=0x555555c35650) = 5101 [pid 5101] <... set_robust_list resumed>) = 0 [pid 5101] chdir("./2" [pid 5098] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5101] <... chdir resumed>) = 0 [pid 5101] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5098] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... prctl resumed>) = 0 [pid 5101] setpgid(0, 0 [pid 5099] <... openat resumed>) = 4 [pid 5099] ioctl(4, LOOP_SET_FD, 3 [pid 5100] <... write resumed>) = 524288 [pid 5099] <... ioctl resumed>) = 0 [pid 5101] <... setpgid resumed>) = 0 [pid 5098] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5079] <... ioctl resumed>) = 0 [pid 5101] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5097] <... write resumed>) = 524288 [pid 5097] munmap(0x7f8a3a600000, 138412032 [pid 5101] <... openat resumed>) = 3 [pid 5097] <... munmap resumed>) = 0 [pid 5100] munmap(0x7f8a3a600000, 138412032 [pid 5097] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5101] write(3, "1000", 4 [pid 5100] <... munmap resumed>) = 0 [pid 5098] <... symlink resumed>) = 0 [pid 5097] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] <... write resumed>) = 4 [pid 5098] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [ 111.646285][ T5099] loop3: detected capacity change from 0 to 1024 [pid 5097] close(5 [pid 5101] close(3 [pid 5100] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5099] close(3 [pid 5098] <... creat resumed>) = 4 [pid 5079] close(3 [pid 5101] <... close resumed>) = 0 [pid 5099] <... close resumed>) = 0 [pid 5098] rename("./bus", "./file2" [pid 5079] <... close resumed>) = 0 [pid 5101] symlink("/dev/binderfs", "./binderfs" [pid 5099] close(4 [pid 5079] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5101] <... symlink resumed>) = 0 [pid 5100] <... openat resumed>) = 4 [pid 5099] <... close resumed>) = 0 [pid 5099] mkdir("./bus", 0777 [pid 5079] <... clone resumed>, child_tidptr=0x555555c35650) = 5102 [pid 5099] <... mkdir resumed>) = 0 ./strace-static-x86_64: Process 5102 attached [pid 5101] memfd_create("syzkaller", 0 [pid 5100] ioctl(4, LOOP_SET_FD, 3 [pid 5102] set_robust_list(0x555555c35660, 24 [pid 5101] <... memfd_create resumed>) = 3 [pid 5098] <... rename resumed>) = -1 EEXIST (File exists) [pid 5099] mount("/dev/loop3", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5102] <... set_robust_list resumed>) = 0 [pid 5102] chdir("./2") = 0 [pid 5097] <... close resumed>) = 0 [pid 5098] memfd_create("syzkaller", 0 [pid 5102] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5098] <... memfd_create resumed>) = 5 [pid 5102] setpgid(0, 0 [pid 5101] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5098] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5097] creat("./file1", 000 [pid 5098] <... mmap resumed>) = 0x7f8a3a600000 [pid 5101] <... mmap resumed>) = 0x7f8a3a600000 [pid 5102] <... setpgid resumed>) = 0 [pid 5102] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5098] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] write(3, "1000", 4 [pid 5100] <... ioctl resumed>) = 0 [pid 5097] <... creat resumed>) = 5 [pid 5100] close(3) = 0 [pid 5102] <... write resumed>) = 4 [pid 5100] close(4 [pid 5097] exit_group(0 [pid 5100] <... close resumed>) = 0 [pid 5097] <... exit_group resumed>) = ? [pid 5100] mkdir("./bus", 0777 [pid 5097] +++ exited with 0 +++ [pid 5100] <... mkdir resumed>) = 0 [pid 5081] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5097, si_uid=0, si_status=0, si_utime=0, si_stime=8 /* 0.08 s */} --- [ 111.718424][ T5100] loop2: detected capacity change from 0 to 1024 [pid 5102] close(3 [pid 5100] mount("/dev/loop2", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5101] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... close resumed>) = 0 [pid 5102] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5081] umount2("./2", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5102] memfd_create("syzkaller", 0 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5102] <... memfd_create resumed>) = 3 [pid 5081] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5102] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5081] <... openat resumed>) = 3 [pid 5102] <... mmap resumed>) = 0x7f8a3a600000 [pid 5081] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5081] getdents64(3, 0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5081] umount2("./2/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5100] <... mount resumed>) = 0 [pid 5100] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY) = 3 [pid 5100] chdir("./bus" [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 5100] <... chdir resumed>) = 0 [pid 5102] <... write resumed>) = 524288 [pid 5100] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5099] <... mount resumed>) = 0 [pid 5100] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5101] <... write resumed>) = 524288 [pid 5099] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5081] <... umount2 resumed>) = 0 [pid 5101] munmap(0x7f8a3a600000, 138412032 [pid 5100] <... symlink resumed>) = 0 [pid 5099] <... openat resumed>) = 3 [pid 5098] <... write resumed>) = 524288 [pid 5101] <... munmap resumed>) = 0 [pid 5100] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5099] chdir("./bus" [pid 5098] munmap(0x7f8a3a600000, 138412032 [pid 5099] <... chdir resumed>) = 0 [pid 5098] <... munmap resumed>) = 0 [pid 5099] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5081] umount2("./2/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5100] <... creat resumed>) = 4 [pid 5100] rename("./bus", "./file2" [pid 5099] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] <... rename resumed>) = -1 EEXIST (File exists) [pid 5081] newfstatat(AT_FDCWD, "./2/bus", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5102] munmap(0x7f8a3a600000, 138412032) = 0 [pid 5099] <... symlink resumed>) = 0 [pid 5101] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5100] memfd_create("syzkaller", 0 [pid 5098] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5081] umount2("./2/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5100] <... memfd_create resumed>) = 5 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] <... openat resumed>) = 4 [pid 5100] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5098] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5081] openat(AT_FDCWD, "./2/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5102] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5101] ioctl(4, LOOP_SET_FD, 3 [pid 5100] <... mmap resumed>) = 0x7f8a3a600000 [pid 5099] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5081] <... openat resumed>) = 4 [pid 5102] ioctl(4, LOOP_SET_FD, 3 [pid 5100] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5081] newfstatat(4, "", [pid 5098] close(5 [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5081] getdents64(4, [pid 5099] <... creat resumed>) = 4 [pid 5081] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5101] <... ioctl resumed>) = 0 [pid 5099] rename("./bus", "./file2" [pid 5101] close(3 [pid 5098] <... close resumed>) = 0 [pid 5081] getdents64(4, [pid 5099] <... rename resumed>) = -1 EEXIST (File exists) [pid 5081] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5101] <... close resumed>) = 0 [pid 5099] memfd_create("syzkaller", 0 [pid 5098] creat("./file1", 000 [pid 5101] close(4 [pid 5081] close(4 [pid 5101] <... close resumed>) = 0 [pid 5081] <... close resumed>) = 0 [ 111.910637][ T5101] loop1: detected capacity change from 0 to 1024 [ 111.913999][ T5102] loop4: detected capacity change from 0 to 1024 [pid 5101] mkdir("./bus", 0777 [pid 5102] <... ioctl resumed>) = 0 [pid 5101] <... mkdir resumed>) = 0 [pid 5100] <... write resumed>) = 524288 [pid 5099] <... memfd_create resumed>) = 5 [pid 5098] <... creat resumed>) = 5 [pid 5081] rmdir("./2/bus" [pid 5102] close(3 [pid 5100] munmap(0x7f8a3a600000, 138412032 [pid 5099] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5098] exit_group(0 [pid 5102] <... close resumed>) = 0 [pid 5100] <... munmap resumed>) = 0 [pid 5099] <... mmap resumed>) = 0x7f8a3a600000 [pid 5098] <... exit_group resumed>) = ? [pid 5081] <... rmdir resumed>) = 0 [pid 5102] close(4 [pid 5100] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5102] <... close resumed>) = 0 [pid 5100] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5102] mkdir("./bus", 0777 [pid 5100] close(5 [pid 5102] <... mkdir resumed>) = 0 [pid 5100] <... close resumed>) = 0 [pid 5102] mount("/dev/loop4", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5081] umount2("./2/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5101] mount("/dev/loop1", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5099] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] +++ exited with 0 +++ [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5081] newfstatat(AT_FDCWD, "./2/binderfs", [pid 5075] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5098, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5100] creat("./file1", 000 [pid 5081] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5081] unlink("./2/binderfs" [pid 5075] umount2("./2", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5101] <... mount resumed>) = 0 [pid 5081] <... unlink resumed>) = 0 [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5081] getdents64(3, [pid 5100] <... creat resumed>) = 5 [pid 5081] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5075] <... openat resumed>) = 3 [pid 5081] close(3 [pid 5075] newfstatat(3, "", [pid 5102] <... mount resumed>) = 0 [pid 5100] exit_group(0 [pid 5081] <... close resumed>) = 0 [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5102] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5100] <... exit_group resumed>) = ? [pid 5081] rmdir("./2" [pid 5075] getdents64(3, [pid 5102] <... openat resumed>) = 3 [pid 5101] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5100] +++ exited with 0 +++ [pid 5081] <... rmdir resumed>) = 0 [pid 5081] mkdir("./3", 0777 [pid 5075] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5102] chdir("./bus" [pid 5101] <... openat resumed>) = 3 [pid 5099] <... write resumed>) = 524288 [pid 5081] <... mkdir resumed>) = 0 [pid 5075] umount2("./2/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5102] <... chdir resumed>) = 0 [pid 5101] chdir("./bus" [pid 5102] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5101] <... chdir resumed>) = 0 [pid 5077] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5100, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5102] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5101] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5102] <... symlink resumed>) = 0 [pid 5101] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5077] restart_syscall(<... resuming interrupted clone ...> [pid 5101] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5081] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5077] <... restart_syscall resumed>) = 0 [pid 5102] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5081] <... openat resumed>) = 3 [pid 5081] ioctl(3, LOOP_CLR_FD [pid 5077] umount2("./2", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] <... symlink resumed>) = 0 [pid 5077] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5099] munmap(0x7f8a3a600000, 138412032 [pid 5077] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5077] getdents64(3, [pid 5099] <... munmap resumed>) = 0 [pid 5077] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5101] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5102] <... creat resumed>) = 4 [pid 5102] rename("./bus", "./file2") = -1 EEXIST (File exists) [pid 5099] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5077] umount2("./2/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5102] memfd_create("syzkaller", 0 [pid 5075] <... umount2 resumed>) = 0 [pid 5102] <... memfd_create resumed>) = 5 [pid 5102] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5099] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] close(5 [pid 5102] <... mmap resumed>) = 0x7f8a3a600000 [pid 5102] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... creat resumed>) = 4 [pid 5075] umount2("./2/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5075] newfstatat(AT_FDCWD, "./2/bus", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] rename("./bus", "./file2" [pid 5075] umount2("./2/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5075] openat(AT_FDCWD, "./2/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5075] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5075] getdents64(4, 0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5101] <... rename resumed>) = -1 EEXIST (File exists) [pid 5081] <... ioctl resumed>) = 0 [pid 5075] getdents64(4, [pid 5101] memfd_create("syzkaller", 0 [pid 5099] <... close resumed>) = 0 [pid 5102] <... write resumed>) = 524288 [pid 5075] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5075] close(4) = 0 [pid 5075] rmdir("./2/bus") = 0 [pid 5075] umount2("./2/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5101] <... memfd_create resumed>) = 5 [pid 5101] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5099] creat("./file1", 000 [pid 5081] close(3) = 0 [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] newfstatat(AT_FDCWD, "./2/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5075] unlink("./2/binderfs" [pid 5081] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5075] <... unlink resumed>) = 0 [pid 5075] getdents64(3, 0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5075] close(3) = 0 [pid 5075] rmdir("./2" [pid 5101] <... mmap resumed>) = 0x7f8a3a600000 [pid 5077] <... umount2 resumed>) = 0 [pid 5075] <... rmdir resumed>) = 0 [pid 5075] mkdir("./3", 0777 [pid 5099] <... creat resumed>) = 5 [pid 5077] umount2("./2/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] <... mkdir resumed>) = 0 [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] newfstatat(AT_FDCWD, "./2/bus", [pid 5081] <... clone resumed>, child_tidptr=0x555555c35650) = 5104 ./strace-static-x86_64: Process 5104 attached [pid 5102] munmap(0x7f8a3a600000, 138412032 [pid 5101] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] exit_group(0 [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5104] set_robust_list(0x555555c35660, 24) = 0 [pid 5077] umount2("./2/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5099] <... exit_group resumed>) = ? [ 112.125775][ T5090] I/O error, dev loop5, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0 [pid 5104] chdir("./3" [pid 5102] <... munmap resumed>) = 0 [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5102] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5077] openat(AT_FDCWD, "./2/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5075] <... openat resumed>) = 3 [pid 5104] <... chdir resumed>) = 0 [pid 5102] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5104] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5075] ioctl(3, LOOP_CLR_FD [pid 5104] <... prctl resumed>) = 0 [pid 5102] close(5 [pid 5104] setpgid(0, 0 [pid 5077] <... openat resumed>) = 4 [pid 5104] <... setpgid resumed>) = 0 [pid 5101] <... write resumed>) = 524288 [pid 5077] newfstatat(4, "", [pid 5104] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5077] getdents64(4, [pid 5104] <... openat resumed>) = 3 [pid 5099] +++ exited with 0 +++ [pid 5077] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5078] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5099, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5078] umount2("./2", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5078] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5078] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5078] getdents64(3, 0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5102] <... close resumed>) = 0 [pid 5078] umount2("./2/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5102] creat("./file1", 000 [pid 5104] write(3, "1000", 4 [pid 5101] munmap(0x7f8a3a600000, 138412032 [pid 5077] getdents64(4, [pid 5104] <... write resumed>) = 4 [pid 5077] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5104] close(3 [pid 5077] close(4) = 0 [pid 5104] <... close resumed>) = 0 [pid 5101] <... munmap resumed>) = 0 [pid 5077] rmdir("./2/bus" [pid 5075] <... ioctl resumed>) = 0 [pid 5104] symlink("/dev/binderfs", "./binderfs" [pid 5077] <... rmdir resumed>) = 0 [pid 5104] <... symlink resumed>) = 0 [pid 5077] umount2("./2/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5102] <... creat resumed>) = 5 [pid 5102] exit_group(0 [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] newfstatat(AT_FDCWD, "./2/binderfs", [pid 5104] memfd_create("syzkaller", 0 [pid 5102] <... exit_group resumed>) = ? [pid 5101] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5078] <... umount2 resumed>) = 0 [pid 5077] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5104] <... memfd_create resumed>) = 3 [pid 5102] +++ exited with 0 +++ [pid 5101] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5077] unlink("./2/binderfs" [pid 5104] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5079] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5102, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5104] <... mmap resumed>) = 0x7f8a3a600000 [pid 5101] close(5 [pid 5078] umount2("./2/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] <... unlink resumed>) = 0 [pid 5075] close(3 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] getdents64(3, [pid 5075] <... close resumed>) = 0 [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 5078] newfstatat(AT_FDCWD, "./2/bus", [pid 5077] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5075] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5079] umount2("./2", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5077] close(3 [pid 5078] umount2("./2/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] <... close resumed>) = 0 [pid 5078] openat(AT_FDCWD, "./2/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5078] newfstatat(4, "", [pid 5077] <... close resumed>) = 0 [pid 5075] <... clone resumed>, child_tidptr=0x555555c35650) = 5105 ./strace-static-x86_64: Process 5105 attached [pid 5105] set_robust_list(0x555555c35660, 24 [pid 5101] creat("./file1", 000 [pid 5079] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5077] rmdir("./2" [pid 5105] <... set_robust_list resumed>) = 0 [pid 5079] <... openat resumed>) = 3 [pid 5078] getdents64(4, [pid 5077] <... rmdir resumed>) = 0 [pid 5105] chdir("./3" [pid 5079] newfstatat(3, "", [pid 5078] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5105] <... chdir resumed>) = 0 [pid 5078] getdents64(4, [pid 5105] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5078] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5105] <... prctl resumed>) = 0 [pid 5079] getdents64(3, [pid 5078] close(4 [pid 5077] mkdir("./3", 0777 [pid 5105] setpgid(0, 0 [pid 5104] <... write resumed>) = 524288 [pid 5101] <... creat resumed>) = 5 [pid 5079] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5078] <... close resumed>) = 0 [pid 5077] <... mkdir resumed>) = 0 [pid 5077] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5101] exit_group(0 [pid 5078] rmdir("./2/bus" [pid 5105] <... setpgid resumed>) = 0 [pid 5105] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5079] umount2("./2/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5078] <... rmdir resumed>) = 0 [pid 5077] <... openat resumed>) = 3 [pid 5101] <... exit_group resumed>) = ? [pid 5077] ioctl(3, LOOP_CLR_FD [pid 5105] <... openat resumed>) = 3 [pid 5078] umount2("./2/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5105] write(3, "1000", 4 [pid 5104] munmap(0x7f8a3a600000, 138412032 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5105] <... write resumed>) = 4 [pid 5078] newfstatat(AT_FDCWD, "./2/binderfs", [pid 5105] close(3 [pid 5078] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5105] <... close resumed>) = 0 [pid 5078] unlink("./2/binderfs" [pid 5105] symlink("/dev/binderfs", "./binderfs" [pid 5078] <... unlink resumed>) = 0 [pid 5105] <... symlink resumed>) = 0 [pid 5105] memfd_create("syzkaller", 0 [pid 5104] <... munmap resumed>) = 0 [pid 5101] +++ exited with 0 +++ [pid 5078] getdents64(3, [pid 5104] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5078] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5105] <... memfd_create resumed>) = 3 [pid 5078] close(3 [pid 5105] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5078] <... close resumed>) = 0 [pid 5105] <... mmap resumed>) = 0x7f8a3a600000 [pid 5078] rmdir("./2" [pid 5104] <... openat resumed>) = 4 [pid 5079] <... umount2 resumed>) = 0 [pid 5078] <... rmdir resumed>) = 0 [pid 5076] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5101, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5104] ioctl(4, LOOP_SET_FD, 3 [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 5104] <... ioctl resumed>) = 0 [pid 5078] mkdir("./3", 0777 [pid 5076] umount2("./2", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5076] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5076] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5076] getdents64(3, [pid 5078] <... mkdir resumed>) = 0 [pid 5076] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5076] umount2("./2/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5078] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5078] ioctl(3, LOOP_CLR_FD [pid 5104] close(3 [pid 5079] umount2("./2/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] <... ioctl resumed>) = 0 [pid 5104] <... close resumed>) = 0 [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] close(3 [pid 5104] close(4 [pid 5079] newfstatat(AT_FDCWD, "./2/bus", [pid 5077] <... close resumed>) = 0 [pid 5104] <... close resumed>) = 0 [pid 5104] mkdir("./bus", 0777 [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5077] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5079] umount2("./2/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5105] <... write resumed>) = 524288 [ 112.356698][ T5104] loop5: detected capacity change from 0 to 1024 [pid 5105] munmap(0x7f8a3a600000, 138412032./strace-static-x86_64: Process 5106 attached [pid 5104] <... mkdir resumed>) = 0 [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5078] <... ioctl resumed>) = 0 [pid 5076] <... umount2 resumed>) = 0 [pid 5079] openat(AT_FDCWD, "./2/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5077] <... clone resumed>, child_tidptr=0x555555c35650) = 5106 [pid 5106] set_robust_list(0x555555c35660, 24 [pid 5104] mount("/dev/loop5", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5106] <... set_robust_list resumed>) = 0 [pid 5105] <... munmap resumed>) = 0 [pid 5079] <... openat resumed>) = 4 [pid 5079] newfstatat(4, "", [pid 5106] chdir("./3" [pid 5076] umount2("./2/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5076] newfstatat(AT_FDCWD, "./2/bus", [pid 5105] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5105] <... openat resumed>) = 4 [pid 5076] umount2("./2/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5105] ioctl(4, LOOP_SET_FD, 3 [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5106] <... chdir resumed>) = 0 [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5076] openat(AT_FDCWD, "./2/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5106] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5079] getdents64(4, [pid 5076] <... openat resumed>) = 4 [pid 5106] <... prctl resumed>) = 0 [pid 5106] setpgid(0, 0 [pid 5079] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5076] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5076] getdents64(4, [pid 5106] <... setpgid resumed>) = 0 [pid 5079] getdents64(4, [pid 5078] close(3 [pid 5076] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5079] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5079] close(4 [pid 5106] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5079] <... close resumed>) = 0 [pid 5078] <... close resumed>) = 0 [pid 5076] getdents64(4, [pid 5079] rmdir("./2/bus" [pid 5078] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5076] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5106] <... openat resumed>) = 3 [pid 5079] <... rmdir resumed>) = 0 [pid 5076] close(4 [pid 5079] umount2("./2/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] <... close resumed>) = 0 [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5076] rmdir("./2/bus") = 0 [pid 5106] write(3, "1000", 4) = 4 [pid 5106] close(3 [pid 5079] newfstatat(AT_FDCWD, "./2/binderfs", [pid 5106] <... close resumed>) = 0 ./strace-static-x86_64: Process 5107 attached [pid 5078] <... clone resumed>, child_tidptr=0x555555c35650) = 5107 [pid 5076] umount2("./2/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5107] set_robust_list(0x555555c35660, 24 [pid 5106] symlink("/dev/binderfs", "./binderfs" [pid 5105] <... ioctl resumed>) = 0 [pid 5079] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5107] <... set_robust_list resumed>) = 0 [pid 5105] close(3 [pid 5076] newfstatat(AT_FDCWD, "./2/binderfs", [pid 5107] chdir("./3" [pid 5105] <... close resumed>) = 0 [pid 5076] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5107] <... chdir resumed>) = 0 [pid 5106] <... symlink resumed>) = 0 [pid 5107] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5105] close(4 [pid 5079] unlink("./2/binderfs" [pid 5076] unlink("./2/binderfs" [pid 5107] <... prctl resumed>) = 0 [pid 5105] <... close resumed>) = 0 [pid 5079] <... unlink resumed>) = 0 [pid 5076] <... unlink resumed>) = 0 [pid 5107] setpgid(0, 0 [pid 5079] getdents64(3, [pid 5105] mkdir("./bus", 0777 [pid 5107] <... setpgid resumed>) = 0 [pid 5105] <... mkdir resumed>) = 0 [pid 5076] getdents64(3, [pid 5107] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5076] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5106] memfd_create("syzkaller", 0 [pid 5076] close(3 [pid 5107] <... openat resumed>) = 3 [pid 5105] mount("/dev/loop0", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5076] <... close resumed>) = 0 [pid 5079] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5107] write(3, "1000", 4 [pid 5106] <... memfd_create resumed>) = 3 [pid 5079] close(3 [pid 5076] rmdir("./2" [pid 5107] <... write resumed>) = 4 [pid 5105] <... mount resumed>) = 0 [pid 5079] <... close resumed>) = 0 [pid 5106] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5076] <... rmdir resumed>) = 0 [pid 5107] close(3 [pid 5105] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5079] rmdir("./2" [pid 5106] <... mmap resumed>) = 0x7f8a3a600000 [pid 5105] <... openat resumed>) = 3 [pid 5107] <... close resumed>) = 0 [pid 5105] chdir("./bus" [pid 5107] symlink("/dev/binderfs", "./binderfs" [pid 5105] <... chdir resumed>) = 0 [pid 5107] <... symlink resumed>) = 0 [pid 5105] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5076] mkdir("./3", 0777) = 0 [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 5079] <... rmdir resumed>) = 0 [ 112.432192][ T5105] loop0: detected capacity change from 0 to 1024 [pid 5107] memfd_create("syzkaller", 0) = 3 [pid 5107] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5079] mkdir("./3", 0777 [pid 5076] openat(AT_FDCWD, "/dev/loop1", O_RDWR [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] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5076] <... openat resumed>) = 3 [pid 5079] <... mkdir resumed>) = 0 [pid 5105] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5076] ioctl(3, LOOP_CLR_FD [pid 5104] <... mount resumed>) = 0 [pid 5079] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5104] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5079] <... openat resumed>) = 3 [pid 5104] <... openat resumed>) = 3 [pid 5104] chdir("./bus") = 0 [pid 5079] ioctl(3, LOOP_CLR_FD [pid 5105] <... symlink resumed>) = 0 [pid 5105] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 4 [pid 5106] <... write resumed>) = 524288 [pid 5105] rename("./bus", "./file2" [pid 5104] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5105] <... rename resumed>) = -1 EEXIST (File exists) [pid 5105] memfd_create("syzkaller", 0) = 5 [pid 5105] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5105] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... write resumed>) = 524288 [pid 5107] munmap(0x7f8a3a600000, 138412032 [pid 5106] munmap(0x7f8a3a600000, 138412032 [pid 5104] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5104] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5105] <... write resumed>) = 524288 [pid 5107] <... munmap resumed>) = 0 [pid 5104] <... symlink resumed>) = 0 [pid 5104] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5107] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5106] <... munmap resumed>) = 0 [pid 5079] <... ioctl resumed>) = 0 [pid 5107] <... openat resumed>) = 4 [pid 5105] munmap(0x7f8a3a600000, 138412032 [pid 5107] ioctl(4, LOOP_SET_FD, 3 [pid 5106] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5105] <... munmap resumed>) = 0 [pid 5106] <... openat resumed>) = 4 [pid 5106] ioctl(4, LOOP_SET_FD, 3 [pid 5104] <... creat resumed>) = 4 [pid 5076] <... ioctl resumed>) = 0 [pid 5104] rename("./bus", "./file2" [pid 5105] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5105] close(5 [pid 5104] <... rename resumed>) = -1 EEXIST (File exists) [pid 5076] close(3) = 0 [pid 5076] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5104] memfd_create("syzkaller", 0) = 5 [pid 5079] close(3) = 0 [pid 5079] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5104] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5076] <... clone resumed>, child_tidptr=0x555555c35650) = 5108 [pid 5107] <... ioctl resumed>) = 0 [pid 5107] close(3) = 0 ./strace-static-x86_64: Process 5108 attached [pid 5107] close(4 [pid 5108] set_robust_list(0x555555c35660, 24 [pid 5107] <... close resumed>) = 0 [pid 5079] <... clone resumed>, child_tidptr=0x555555c35650) = 5109 [pid 5108] <... set_robust_list resumed>) = 0 [pid 5107] mkdir("./bus", 0777 [pid 5108] chdir("./3" [pid 5107] <... mkdir resumed>) = 0 [pid 5106] <... ioctl resumed>) = 0 [ 112.578679][ T5107] loop3: detected capacity change from 0 to 1024 [ 112.591644][ T5106] loop2: detected capacity change from 0 to 1024 [pid 5108] <... chdir resumed>) = 0 [pid 5105] <... close resumed>) = 0 ./strace-static-x86_64: Process 5109 attached [pid 5108] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5107] mount("/dev/loop3", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5106] close(3 [pid 5109] set_robust_list(0x555555c35660, 24 [pid 5108] <... prctl resumed>) = 0 [pid 5109] <... set_robust_list resumed>) = 0 [pid 5108] setpgid(0, 0 [pid 5106] <... close resumed>) = 0 [pid 5109] chdir("./3" [pid 5108] <... setpgid resumed>) = 0 [pid 5106] close(4 [pid 5105] creat("./file1", 000 [pid 5104] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5109] <... chdir resumed>) = 0 [pid 5108] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5106] <... close resumed>) = 0 [pid 5109] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5108] <... openat resumed>) = 3 [pid 5106] mkdir("./bus", 0777 [pid 5109] <... prctl resumed>) = 0 [pid 5109] setpgid(0, 0 [pid 5106] <... mkdir resumed>) = 0 [pid 5109] <... setpgid resumed>) = 0 [pid 5109] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5108] write(3, "1000", 4 [pid 5105] <... creat resumed>) = 5 [pid 5108] <... write resumed>) = 4 [pid 5105] exit_group(0 [pid 5108] close(3 [pid 5105] <... exit_group resumed>) = ? [pid 5108] <... close resumed>) = 0 [pid 5105] +++ exited with 0 +++ [pid 5109] <... openat resumed>) = 3 [pid 5108] symlink("/dev/binderfs", "./binderfs" [pid 5106] mount("/dev/loop2", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5109] write(3, "1000", 4 [pid 5108] <... symlink resumed>) = 0 [pid 5075] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5105, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5109] <... write resumed>) = 4 [pid 5109] close(3) = 0 [pid 5109] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5108] memfd_create("syzkaller", 0 [pid 5109] memfd_create("syzkaller", 0 [pid 5108] <... memfd_create resumed>) = 3 [pid 5108] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5107] <... mount resumed>) = 0 [pid 5107] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY) = 3 [pid 5107] chdir("./bus") = 0 [pid 5075] umount2("./3", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5109] <... memfd_create resumed>) = 3 [pid 5107] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5109] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5108] <... mmap resumed>) = 0x7f8a3a600000 [pid 5107] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5075] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5107] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5075] <... openat resumed>) = 3 [pid 5109] <... mmap resumed>) = 0x7f8a3a600000 [pid 5075] newfstatat(3, "", [pid 5109] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... symlink resumed>) = 0 [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5075] getdents64(3, 0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5075] umount2("./3/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5107] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5104] <... write resumed>) = 524288 [pid 5104] munmap(0x7f8a3a600000, 138412032 [pid 5107] <... creat resumed>) = 4 [pid 5107] rename("./bus", "./file2" [pid 5104] <... munmap resumed>) = 0 [pid 5075] <... umount2 resumed>) = 0 [pid 5108] <... write resumed>) = 524288 [pid 5106] <... mount resumed>) = 0 [pid 5106] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY) = 3 [pid 5106] chdir("./bus" [pid 5104] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5106] <... chdir resumed>) = 0 [pid 5107] <... rename resumed>) = -1 EEXIST (File exists) [pid 5106] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5104] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5107] memfd_create("syzkaller", 0 [pid 5104] close(5 [pid 5107] <... memfd_create resumed>) = 5 [pid 5107] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5107] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5075] umount2("./3/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5075] newfstatat(AT_FDCWD, "./3/bus", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5075] umount2("./3/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5106] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5109] <... write resumed>) = 524288 [pid 5075] openat(AT_FDCWD, "./3/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5075] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5109] munmap(0x7f8a3a600000, 138412032 [pid 5108] munmap(0x7f8a3a600000, 138412032 [pid 5075] getdents64(4, 0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5108] <... munmap resumed>) = 0 [pid 5075] getdents64(4, [pid 5109] <... munmap resumed>) = 0 [pid 5107] <... write resumed>) = 524288 [pid 5106] <... symlink resumed>) = 0 [pid 5104] <... close resumed>) = 0 [pid 5108] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5075] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5108] <... openat resumed>) = 4 [pid 5104] creat("./file1", 000 [pid 5075] close(4 [pid 5106] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5075] <... close resumed>) = 0 [pid 5075] rmdir("./3/bus" [pid 5108] ioctl(4, LOOP_SET_FD, 3 [pid 5075] <... rmdir resumed>) = 0 [pid 5109] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5075] umount2("./3/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5109] ioctl(4, LOOP_SET_FD, 3 [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] newfstatat(AT_FDCWD, "./3/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5075] unlink("./3/binderfs") = 0 [pid 5107] munmap(0x7f8a3a600000, 138412032 [pid 5075] getdents64(3, [pid 5107] <... munmap resumed>) = 0 [pid 5075] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5075] close(3) = 0 [pid 5075] rmdir("./3") = 0 [pid 5075] mkdir("./4", 0777) = 0 [pid 5107] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5075] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5107] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5104] <... creat resumed>) = 5 [pid 5075] <... openat resumed>) = 3 [pid 5106] <... creat resumed>) = 4 [pid 5106] rename("./bus", "./file2" [pid 5075] ioctl(3, LOOP_CLR_FD) = 0 [pid 5108] <... ioctl resumed>) = 0 [pid 5107] close(5 [pid 5075] close(3 [pid 5109] <... ioctl resumed>) = 0 [pid 5108] close(3 [pid 5107] <... close resumed>) = 0 [pid 5106] <... rename resumed>) = -1 EEXIST (File exists) [pid 5104] exit_group(0 [pid 5109] close(3 [pid 5104] <... exit_group resumed>) = ? [pid 5109] <... close resumed>) = 0 [pid 5106] memfd_create("syzkaller", 0 [pid 5108] <... close resumed>) = 0 [pid 5104] +++ exited with 0 +++ [pid 5106] <... memfd_create resumed>) = 5 [pid 5108] close(4 [pid 5081] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5104, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [ 112.809844][ T5108] loop1: detected capacity change from 0 to 1024 [ 112.821078][ T5109] loop4: detected capacity change from 0 to 1024 [pid 5081] restart_syscall(<... resuming interrupted clone ...> [pid 5109] close(4 [pid 5108] <... close resumed>) = 0 [pid 5107] creat("./file1", 000 [pid 5106] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5081] <... restart_syscall resumed>) = 0 [pid 5075] <... close resumed>) = 0 [pid 5109] <... close resumed>) = 0 [pid 5108] mkdir("./bus", 0777 [pid 5106] <... mmap resumed>) = 0x7f8a3a600000 [pid 5108] <... mkdir resumed>) = 0 [pid 5109] mkdir("./bus", 0777 [pid 5108] mount("/dev/loop1", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5106] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5109] <... mkdir resumed>) = 0 [pid 5107] <... creat resumed>) = 5 [pid 5081] umount2("./3", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5107] exit_group(0 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5107] <... exit_group resumed>) = ? [pid 5081] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5107] +++ exited with 0 +++ [pid 5081] <... openat resumed>) = 3 [pid 5078] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5107, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5109] mount("/dev/loop4", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5081] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5078] umount2("./3", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5078] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5081] getdents64(3, [pid 5108] <... mount resumed>) = 0 [pid 5081] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5078] <... openat resumed>) = 3 [pid 5078] newfstatat(3, "", ./strace-static-x86_64: Process 5110 attached [pid 5081] umount2("./3/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5078] getdents64(3, [pid 5110] set_robust_list(0x555555c35660, 24 [pid 5109] <... mount resumed>) = 0 [pid 5078] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5110] <... set_robust_list resumed>) = 0 [pid 5109] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5078] umount2("./3/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] <... clone resumed>, child_tidptr=0x555555c35650) = 5110 [pid 5110] chdir("./4" [pid 5109] <... openat resumed>) = 3 [pid 5108] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5109] chdir("./bus" [pid 5110] <... chdir resumed>) = 0 [pid 5109] <... chdir resumed>) = 0 [pid 5108] <... openat resumed>) = 3 [pid 5078] <... umount2 resumed>) = 0 [pid 5110] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5109] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5108] chdir("./bus" [pid 5110] <... prctl resumed>) = 0 [pid 5110] setpgid(0, 0) = 0 [pid 5108] <... chdir resumed>) = 0 [pid 5110] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5109] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5110] <... openat resumed>) = 3 [pid 5109] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5108] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5106] <... write resumed>) = 524288 [pid 5081] <... umount2 resumed>) = 0 [pid 5078] umount2("./3/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5108] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5078] newfstatat(AT_FDCWD, "./3/bus", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5108] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5081] umount2("./3/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5078] umount2("./3/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5110] write(3, "1000", 4 [pid 5109] <... symlink resumed>) = 0 [pid 5108] <... symlink resumed>) = 0 [pid 5106] munmap(0x7f8a3a600000, 138412032 [pid 5081] newfstatat(AT_FDCWD, "./3/bus", [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5110] <... write resumed>) = 4 [pid 5109] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5108] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5106] <... munmap resumed>) = 0 [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5078] openat(AT_FDCWD, "./3/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5110] close(3 [pid 5106] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5081] umount2("./3/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5110] <... close resumed>) = 0 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5078] <... openat resumed>) = 4 [pid 5110] symlink("/dev/binderfs", "./binderfs" [pid 5106] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5081] openat(AT_FDCWD, "./3/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5078] newfstatat(4, "", [pid 5110] <... symlink resumed>) = 0 [pid 5106] close(5 [pid 5081] <... openat resumed>) = 4 [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5110] memfd_create("syzkaller", 0 [pid 5109] <... creat resumed>) = 4 [pid 5110] <... memfd_create resumed>) = 3 [pid 5078] getdents64(4, [pid 5110] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5109] rename("./bus", "./file2" [pid 5110] <... mmap resumed>) = 0x7f8a3a600000 [pid 5109] <... rename resumed>) = -1 EEXIST (File exists) [pid 5108] <... creat resumed>) = 4 [pid 5081] newfstatat(4, "", [pid 5078] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5108] rename("./bus", "./file2" [pid 5081] getdents64(4, [pid 5110] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5109] memfd_create("syzkaller", 0 [pid 5108] <... rename resumed>) = -1 EEXIST (File exists) [pid 5106] <... close resumed>) = 0 [pid 5081] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5078] getdents64(4, 0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5109] <... memfd_create resumed>) = 5 [pid 5108] memfd_create("syzkaller", 0 [pid 5078] close(4 [pid 5109] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5108] <... memfd_create resumed>) = 5 [pid 5078] <... close resumed>) = 0 [pid 5109] <... mmap resumed>) = 0x7f8a3a600000 [pid 5109] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5078] rmdir("./3/bus" [pid 5081] getdents64(4, 0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5081] close(4) = 0 [pid 5081] rmdir("./3/bus" [pid 5108] <... mmap resumed>) = 0x7f8a3a600000 [pid 5081] <... rmdir resumed>) = 0 [pid 5078] <... rmdir resumed>) = 0 [pid 5081] umount2("./3/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5106] creat("./file1", 000 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5081] newfstatat(AT_FDCWD, "./3/binderfs", [pid 5108] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5078] umount2("./3/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5078] newfstatat(AT_FDCWD, "./3/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5078] unlink("./3/binderfs" [pid 5106] <... creat resumed>) = 5 [pid 5106] exit_group(0 [pid 5078] <... unlink resumed>) = 0 [pid 5106] <... exit_group resumed>) = ? [pid 5110] <... write resumed>) = 524288 [pid 5106] +++ exited with 0 +++ [pid 5078] getdents64(3, [pid 5081] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5078] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5081] unlink("./3/binderfs" [pid 5078] close(3 [pid 5077] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5106, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5110] munmap(0x7f8a3a600000, 138412032 [pid 5081] <... unlink resumed>) = 0 [pid 5078] <... close resumed>) = 0 [pid 5077] restart_syscall(<... resuming interrupted clone ...> [pid 5078] rmdir("./3" [pid 5077] <... restart_syscall resumed>) = 0 [pid 5077] umount2("./3", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5081] getdents64(3, [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5109] <... write resumed>) = 524288 [pid 5081] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5078] <... rmdir resumed>) = 0 [pid 5077] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5081] close(3 [pid 5078] mkdir("./4", 0777 [pid 5077] <... openat resumed>) = 3 [pid 5110] <... munmap resumed>) = 0 [pid 5081] <... close resumed>) = 0 [pid 5078] <... mkdir resumed>) = 0 [pid 5077] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5081] rmdir("./3" [pid 5077] getdents64(3, [pid 5110] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5109] munmap(0x7f8a3a600000, 138412032 [pid 5108] <... write resumed>) = 524288 [pid 5081] <... rmdir resumed>) = 0 [pid 5078] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5110] <... openat resumed>) = 4 [pid 5109] <... munmap resumed>) = 0 [pid 5108] munmap(0x7f8a3a600000, 138412032 [pid 5078] <... openat resumed>) = 3 [pid 5077] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5110] ioctl(4, LOOP_SET_FD, 3 [pid 5078] ioctl(3, LOOP_CLR_FD [pid 5081] mkdir("./4", 0777 [pid 5077] umount2("./3/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5081] <... mkdir resumed>) = 0 [pid 5109] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5109] close(5 [pid 5108] <... munmap resumed>) = 0 [pid 5081] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5110] <... ioctl resumed>) = 0 [pid 5109] <... close resumed>) = 0 [pid 5108] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5077] <... umount2 resumed>) = 0 [pid 5081] ioctl(3, LOOP_CLR_FD [pid 5108] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5109] creat("./file1", 000 [pid 5110] close(3 [pid 5108] close(5 [pid 5077] umount2("./3/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5110] <... close resumed>) = 0 [pid 5110] close(4) = 0 [pid 5078] <... ioctl resumed>) = 0 [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5109] <... creat resumed>) = 5 [pid 5109] exit_group(0) = ? [pid 5110] mkdir("./bus", 0777 [pid 5109] +++ exited with 0 +++ [pid 5077] newfstatat(AT_FDCWD, "./3/bus", [pid 5079] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5109, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5079] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5079] umount2("./3", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5110] <... mkdir resumed>) = 0 [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] umount2("./3/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5110] mount("/dev/loop0", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5079] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5108] <... close resumed>) = 0 [pid 5079] <... openat resumed>) = 3 [ 113.098814][ T5110] loop0: detected capacity change from 0 to 1024 [pid 5077] openat(AT_FDCWD, "./3/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5078] close(3 [pid 5108] creat("./file1", 000 [pid 5079] newfstatat(3, "", [pid 5077] <... openat resumed>) = 4 [pid 5078] <... close resumed>) = 0 [pid 5078] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5077] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5077] getdents64(4, [pid 5110] <... mount resumed>) = 0 [pid 5110] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5077] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5110] <... openat resumed>) = 3 [pid 5079] getdents64(3, 0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5079] umount2("./3/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5110] chdir("./bus") = 0 [pid 5110] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) ./strace-static-x86_64: Process 5111 attached [pid 5081] <... ioctl resumed>) = 0 [pid 5077] getdents64(4, [pid 5108] <... creat resumed>) = 5 [pid 5108] exit_group(0 [pid 5110] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5111] set_robust_list(0x555555c35660, 24 [pid 5108] <... exit_group resumed>) = ? [pid 5081] close(3 [pid 5078] <... clone resumed>, child_tidptr=0x555555c35650) = 5111 [pid 5111] <... set_robust_list resumed>) = 0 [pid 5108] +++ exited with 0 +++ [pid 5081] <... close resumed>) = 0 [pid 5111] chdir("./4" [pid 5081] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5077] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5076] --- 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 5111] <... chdir resumed>) = 0 [pid 5077] close(4 [pid 5111] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5111] setpgid(0, 0) = 0 [pid 5111] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5077] <... close resumed>) = 0 [pid 5110] <... symlink resumed>) = 0 ./strace-static-x86_64: Process 5112 attached [pid 5112] set_robust_list(0x555555c35660, 24 [pid 5081] <... clone resumed>, child_tidptr=0x555555c35650) = 5112 [pid 5076] umount2("./3", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5112] <... set_robust_list resumed>) = 0 [pid 5111] write(3, "1000", 4 [pid 5112] chdir("./4" [pid 5111] <... write resumed>) = 4 [pid 5111] close(3 [pid 5079] <... umount2 resumed>) = 0 [pid 5077] rmdir("./3/bus" [pid 5110] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5112] <... chdir resumed>) = 0 [pid 5111] <... close resumed>) = 0 [pid 5112] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5111] symlink("/dev/binderfs", "./binderfs" [pid 5077] <... rmdir resumed>) = 0 [pid 5076] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5112] <... prctl resumed>) = 0 [pid 5111] <... symlink resumed>) = 0 [pid 5112] setpgid(0, 0 [pid 5110] <... creat resumed>) = 4 [pid 5077] umount2("./3/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] <... openat resumed>) = 3 [pid 5111] memfd_create("syzkaller", 0 [pid 5076] newfstatat(3, "", [pid 5110] rename("./bus", "./file2" [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] newfstatat(AT_FDCWD, "./3/binderfs", [pid 5112] <... setpgid resumed>) = 0 [pid 5111] <... memfd_create resumed>) = 3 [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5112] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5111] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5110] <... rename resumed>) = -1 EEXIST (File exists) [pid 5079] umount2("./3/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5076] getdents64(3, [pid 5111] <... mmap resumed>) = 0x7f8a3a600000 [pid 5110] memfd_create("syzkaller", 0 [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5076] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5112] <... openat resumed>) = 3 [pid 5110] <... memfd_create resumed>) = 5 [pid 5079] newfstatat(AT_FDCWD, "./3/bus", [pid 5077] unlink("./3/binderfs" [pid 5076] umount2("./3/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5112] write(3, "1000", 4 [pid 5110] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5112] <... write resumed>) = 4 [pid 5110] <... mmap resumed>) = 0x7f8a3a600000 [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5077] <... unlink resumed>) = 0 [pid 5112] close(3) = 0 [pid 5112] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5079] umount2("./3/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] getdents64(3, [pid 5110] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5112] memfd_create("syzkaller", 0 [pid 5110] <... write resumed>) = 524288 [pid 5079] openat(AT_FDCWD, "./3/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5077] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5111] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5079] <... openat resumed>) = 4 [pid 5077] close(3 [pid 5079] newfstatat(4, "", [pid 5077] <... close resumed>) = 0 [pid 5112] <... memfd_create resumed>) = 3 [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5077] rmdir("./3" [pid 5112] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5077] <... rmdir resumed>) = 0 [pid 5079] getdents64(4, 0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5079] getdents64(4, [pid 5077] mkdir("./4", 0777 [pid 5079] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5077] <... mkdir resumed>) = 0 [pid 5079] close(4 [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 5111] <... write resumed>) = 524288 [pid 5112] <... write resumed>) = 524288 [pid 5110] munmap(0x7f8a3a600000, 138412032 [pid 5079] <... close resumed>) = 0 [pid 5077] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5076] <... umount2 resumed>) = 0 [pid 5111] munmap(0x7f8a3a600000, 138412032) = 0 [pid 5079] rmdir("./3/bus" [pid 5110] <... munmap resumed>) = 0 [pid 5077] <... openat resumed>) = 3 [pid 5076] umount2("./3/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5111] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5110] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5079] <... rmdir resumed>) = 0 [pid 5077] ioctl(3, LOOP_CLR_FD [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5076] newfstatat(AT_FDCWD, "./3/bus", [pid 5111] <... openat resumed>) = 4 [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5110] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5079] umount2("./3/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] umount2("./3/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5110] close(5 [pid 5079] newfstatat(AT_FDCWD, "./3/binderfs", [pid 5076] openat(AT_FDCWD, "./3/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5111] ioctl(4, LOOP_SET_FD, 3 [pid 5079] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5076] <... openat resumed>) = 4 [pid 5112] munmap(0x7f8a3a600000, 138412032 [pid 5110] <... close resumed>) = 0 [pid 5079] unlink("./3/binderfs" [pid 5112] <... munmap resumed>) = 0 [pid 5111] <... ioctl resumed>) = 0 [pid 5112] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5110] creat("./file1", 000 [pid 5079] <... unlink resumed>) = 0 [pid 5076] newfstatat(4, "", [pid 5112] <... openat resumed>) = 4 [pid 5111] close(3 [pid 5110] <... creat resumed>) = 5 [pid 5079] getdents64(3, [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5112] ioctl(4, LOOP_SET_FD, 3 [pid 5111] <... close resumed>) = 0 [pid 5110] exit_group(0 [pid 5079] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5076] getdents64(4, [pid 5112] <... ioctl resumed>) = 0 [pid 5111] close(4 [pid 5079] close(3 [pid 5076] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5112] close(3 [pid 5111] <... close resumed>) = 0 [pid 5110] <... exit_group resumed>) = ? [pid 5079] <... close resumed>) = 0 [pid 5076] getdents64(4, [pid 5112] <... close resumed>) = 0 [pid 5111] mkdir("./bus", 0777 [pid 5079] rmdir("./3" [pid 5076] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5112] close(4 [pid 5111] <... mkdir resumed>) = 0 [pid 5076] close(4 [pid 5079] <... rmdir resumed>) = 0 [pid 5112] <... close resumed>) = 0 [pid 5076] <... close resumed>) = 0 [pid 5112] mkdir("./bus", 0777 [pid 5076] rmdir("./3/bus" [pid 5112] <... mkdir resumed>) = 0 [pid 5111] mount("/dev/loop3", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5079] mkdir("./4", 0777 [pid 5076] <... rmdir resumed>) = 0 [pid 5079] <... mkdir resumed>) = 0 [pid 5076] umount2("./3/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5112] mount("/dev/loop5", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5077] <... ioctl resumed>) = 0 [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5110] +++ exited with 0 +++ [pid 5079] <... openat resumed>) = 3 [pid 5076] newfstatat(AT_FDCWD, "./3/binderfs", [pid 5111] <... mount resumed>) = 0 [pid 5079] ioctl(3, LOOP_CLR_FD [pid 5077] close(3 [ 113.318554][ T5111] loop3: detected capacity change from 0 to 1024 [ 113.346608][ T5112] loop5: detected capacity change from 0 to 1024 [pid 5111] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5076] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5075] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5110, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5111] <... openat resumed>) = 3 [pid 5077] <... close resumed>) = 0 [pid 5076] unlink("./3/binderfs" [pid 5075] umount2("./4", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5111] chdir("./bus" [pid 5112] <... mount resumed>) = 0 [pid 5111] <... chdir resumed>) = 0 [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5111] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5077] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5111] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5111] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"./strace-static-x86_64: Process 5113 attached [pid 5112] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5076] <... unlink resumed>) = 0 [pid 5075] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5113] set_robust_list(0x555555c35660, 24) = 0 [pid 5112] <... openat resumed>) = 3 [pid 5077] <... clone resumed>, child_tidptr=0x555555c35650) = 5113 [pid 5076] getdents64(3, [pid 5075] <... openat resumed>) = 3 [pid 5113] chdir("./4" [pid 5112] chdir("./bus" [pid 5111] <... symlink resumed>) = 0 [pid 5076] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5075] newfstatat(3, "", [pid 5113] <... chdir resumed>) = 0 [pid 5112] <... chdir resumed>) = 0 [pid 5076] close(3 [pid 5112] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5076] <... close resumed>) = 0 [pid 5113] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5112] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5076] rmdir("./3" [pid 5075] getdents64(3, [pid 5113] <... prctl resumed>) = 0 [pid 5112] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5113] setpgid(0, 0 [pid 5111] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5113] <... setpgid resumed>) = 0 [pid 5076] <... rmdir resumed>) = 0 [pid 5075] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5112] <... symlink resumed>) = 0 [pid 5112] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5113] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5076] mkdir("./4", 0777 [pid 5075] umount2("./4/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] <... mkdir resumed>) = 0 [pid 5113] <... openat resumed>) = 3 [pid 5113] write(3, "1000", 4 [pid 5076] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5075] <... umount2 resumed>) = 0 [pid 5113] <... write resumed>) = 4 [pid 5076] <... openat resumed>) = 3 [pid 5113] close(3 [pid 5112] <... creat resumed>) = 4 [pid 5113] <... close resumed>) = 0 [pid 5076] ioctl(3, LOOP_CLR_FD [pid 5113] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5112] rename("./bus", "./file2" [pid 5111] <... creat resumed>) = 4 [pid 5079] <... ioctl resumed>) = 0 [pid 5075] umount2("./4/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5111] rename("./bus", "./file2" [pid 5113] memfd_create("syzkaller", 0 [pid 5112] <... rename resumed>) = -1 EEXIST (File exists) [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] newfstatat(AT_FDCWD, "./4/bus", [pid 5112] memfd_create("syzkaller", 0) = 5 [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5113] <... memfd_create resumed>) = 3 [pid 5075] umount2("./4/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5112] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5113] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5112] <... mmap resumed>) = 0x7f8a3a600000 [pid 5111] <... rename resumed>) = -1 EEXIST (File exists) [pid 5075] openat(AT_FDCWD, "./4/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5113] <... mmap resumed>) = 0x7f8a3a600000 [pid 5111] memfd_create("syzkaller", 0) = 5 [pid 5075] <... openat resumed>) = 4 [pid 5111] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5075] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5079] close(3 [pid 5075] getdents64(4, [pid 5079] <... close resumed>) = 0 [pid 5079] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5075] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [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 5075] getdents64(4, 0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5075] close(4) = 0 [pid 5075] rmdir("./4/bus" [pid 5112] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5111] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5075] <... rmdir resumed>) = 0 [pid 5075] umount2("./4/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5075] newfstatat(AT_FDCWD, "./4/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5076] <... ioctl resumed>) = 0 [pid 5075] unlink("./4/binderfs") = 0 [pid 5079] <... clone resumed>, child_tidptr=0x555555c35650) = 5114 [pid 5075] getdents64(3, 0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5075] close(3) = 0 ./strace-static-x86_64: Process 5114 attached [pid 5113] <... write resumed>) = 524288 [pid 5112] <... write resumed>) = 524288 [pid 5076] close(3 [pid 5075] rmdir("./4" [pid 5114] set_robust_list(0x555555c35660, 24 [pid 5076] <... close resumed>) = 0 [pid 5114] <... set_robust_list resumed>) = 0 [pid 5076] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5112] munmap(0x7f8a3a600000, 138412032 [pid 5075] <... rmdir resumed>) = 0 [pid 5111] <... write resumed>) = 524288 [pid 5114] chdir("./4" [pid 5113] munmap(0x7f8a3a600000, 138412032 [pid 5112] <... munmap resumed>) = 0 [pid 5075] mkdir("./5", 0777 [pid 5111] munmap(0x7f8a3a600000, 138412032./strace-static-x86_64: Process 5115 attached [pid 5113] <... munmap resumed>) = 0 [pid 5111] <... munmap resumed>) = 0 [pid 5115] set_robust_list(0x555555c35660, 24 [pid 5114] <... chdir resumed>) = 0 [pid 5076] <... clone resumed>, child_tidptr=0x555555c35650) = 5115 [pid 5075] <... mkdir resumed>) = 0 [pid 5114] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5115] <... set_robust_list resumed>) = 0 [pid 5111] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5113] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5114] setpgid(0, 0 [pid 5112] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5115] chdir("./4" [pid 5114] <... setpgid resumed>) = 0 [pid 5113] <... openat resumed>) = 4 [pid 5112] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5111] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5075] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5115] <... chdir resumed>) = 0 [pid 5111] close(5 [pid 5115] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5114] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5113] ioctl(4, LOOP_SET_FD, 3 [pid 5112] close(5 [pid 5111] <... close resumed>) = 0 [pid 5075] <... openat resumed>) = 3 [pid 5115] <... prctl resumed>) = 0 [pid 5075] ioctl(3, LOOP_CLR_FD [pid 5115] setpgid(0, 0) = 0 [pid 5115] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5114] <... openat resumed>) = 3 [pid 5113] <... ioctl resumed>) = 0 [pid 5112] <... close resumed>) = 0 [pid 5115] <... openat resumed>) = 3 [pid 5115] write(3, "1000", 4) = 4 [pid 5114] write(3, "1000", 4) = 4 [pid 5115] close(3 [pid 5114] close(3 [pid 5112] creat("./file1", 000 [pid 5114] <... close resumed>) = 0 [pid 5114] symlink("/dev/binderfs", "./binderfs" [pid 5115] <... close resumed>) = 0 [pid 5111] creat("./file1", 000 [pid 5115] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5115] memfd_create("syzkaller", 0 [pid 5114] <... symlink resumed>) = 0 [pid 5115] <... memfd_create resumed>) = 3 [pid 5113] close(3 [pid 5115] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5111] <... creat resumed>) = 5 [pid 5075] <... ioctl resumed>) = 0 [pid 5113] <... close resumed>) = 0 [pid 5114] memfd_create("syzkaller", 0 [pid 5111] exit_group(0 [pid 5114] <... memfd_create resumed>) = 3 [pid 5113] close(4 [pid 5112] <... creat resumed>) = 5 [pid 5114] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5113] <... close resumed>) = 0 [pid 5112] exit_group(0 [pid 5114] <... mmap resumed>) = 0x7f8a3a600000 [pid 5111] <... exit_group resumed>) = ? [pid 5112] <... exit_group resumed>) = ? [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 5113] mkdir("./bus", 0777 [pid 5111] +++ exited with 0 +++ [ 113.585731][ T5113] loop2: detected capacity change from 0 to 1024 [pid 5112] +++ exited with 0 +++ [pid 5078] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5111, si_uid=0, si_status=0, si_utime=0, si_stime=9 /* 0.09 s */} --- [pid 5081] --- 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 5078] umount2("./4", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5081] restart_syscall(<... resuming interrupted clone ...> [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5078] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5113] <... mkdir resumed>) = 0 [pid 5081] <... restart_syscall resumed>) = 0 [pid 5078] <... openat resumed>) = 3 [pid 5078] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5081] umount2("./4", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5078] getdents64(3, [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5078] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5081] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5078] umount2("./4/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5081] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5075] close(3 [pid 5081] getdents64(3, [pid 5075] <... close resumed>) = 0 [pid 5075] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [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] mount("/dev/loop2", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5081] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5081] umount2("./4/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5078] <... umount2 resumed>) = 0 [pid 5115] <... write resumed>) = 524288 [pid 5078] umount2("./4/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] <... clone resumed>, child_tidptr=0x555555c35650) = 5116 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) ./strace-static-x86_64: Process 5116 attached [pid 5115] munmap(0x7f8a3a600000, 138412032 [pid 5078] newfstatat(AT_FDCWD, "./4/bus", [pid 5116] set_robust_list(0x555555c35660, 24 [pid 5115] <... munmap resumed>) = 0 [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5116] <... set_robust_list resumed>) = 0 [pid 5113] <... mount resumed>) = 0 [pid 5113] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5116] chdir("./5" [pid 5115] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5113] <... openat resumed>) = 3 [pid 5081] <... umount2 resumed>) = 0 [pid 5078] umount2("./4/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5115] <... openat resumed>) = 4 [pid 5115] ioctl(4, LOOP_SET_FD, 3 [pid 5114] <... write resumed>) = 524288 [pid 5113] chdir("./bus" [pid 5114] munmap(0x7f8a3a600000, 138412032 [pid 5081] umount2("./4/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5113] <... chdir resumed>) = 0 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5113] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5081] newfstatat(AT_FDCWD, "./4/bus", [pid 5116] <... chdir resumed>) = 0 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5081] umount2("./4/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5116] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5114] <... munmap resumed>) = 0 [pid 5113] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5078] openat(AT_FDCWD, "./4/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5113] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5081] openat(AT_FDCWD, "./4/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5114] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5116] <... prctl resumed>) = 0 [pid 5114] <... openat resumed>) = 4 [pid 5081] <... openat resumed>) = 4 [pid 5078] <... openat resumed>) = 4 [pid 5116] setpgid(0, 0 [pid 5078] newfstatat(4, "", [pid 5116] <... setpgid resumed>) = 0 [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5116] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5114] ioctl(4, LOOP_SET_FD, 3 [pid 5078] getdents64(4, [pid 5081] newfstatat(4, "", [pid 5116] <... openat resumed>) = 3 [pid 5078] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5078] getdents64(4, 0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5078] close(4) = 0 [pid 5078] rmdir("./4/bus" [pid 5116] write(3, "1000", 4 [pid 5078] <... rmdir resumed>) = 0 [pid 5116] <... write resumed>) = 4 [pid 5078] umount2("./4/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5116] close(3 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5116] <... close resumed>) = 0 [pid 5078] newfstatat(AT_FDCWD, "./4/binderfs", [pid 5116] symlink("/dev/binderfs", "./binderfs" [pid 5115] <... ioctl resumed>) = 0 [pid 5113] <... symlink resumed>) = 0 [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5078] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5116] <... symlink resumed>) = 0 [pid 5115] close(3 [pid 5081] getdents64(4, [pid 5078] unlink("./4/binderfs" [pid 5116] memfd_create("syzkaller", 0 [pid 5115] <... close resumed>) = 0 [pid 5081] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5078] <... unlink resumed>) = 0 [pid 5081] getdents64(4, [pid 5113] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5081] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5116] <... memfd_create resumed>) = 3 [pid 5115] close(4 [pid 5081] close(4 [pid 5078] getdents64(3, [pid 5116] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5115] <... close resumed>) = 0 [pid 5116] <... mmap resumed>) = 0x7f8a3a600000 [pid 5115] mkdir("./bus", 0777 [pid 5081] <... close resumed>) = 0 [pid 5078] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5115] <... mkdir resumed>) = 0 [pid 5081] rmdir("./4/bus" [pid 5078] close(3) = 0 [pid 5116] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... creat resumed>) = 4 [pid 5081] <... rmdir resumed>) = 0 [pid 5081] umount2("./4/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5078] rmdir("./4" [pid 5113] rename("./bus", "./file2" [pid 5078] <... rmdir resumed>) = 0 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5115] mount("/dev/loop1", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5114] <... ioctl resumed>) = 0 [pid 5113] <... rename resumed>) = -1 EEXIST (File exists) [pid 5081] newfstatat(AT_FDCWD, "./4/binderfs", [pid 5078] mkdir("./5", 0777 [pid 5114] close(3 [pid 5081] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5078] <... mkdir resumed>) = 0 [pid 5114] <... close resumed>) = 0 [pid 5113] memfd_create("syzkaller", 0 [pid 5081] unlink("./4/binderfs" [ 113.700908][ T5115] loop1: detected capacity change from 0 to 1024 [ 113.724310][ T5114] loop4: detected capacity change from 0 to 1024 [pid 5114] close(4) = 0 [pid 5113] <... memfd_create resumed>) = 5 [pid 5081] <... unlink resumed>) = 0 [pid 5114] mkdir("./bus", 0777 [pid 5113] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5081] getdents64(3, [pid 5114] <... mkdir resumed>) = 0 [pid 5113] <... mmap resumed>) = 0x7f8a3a600000 [pid 5081] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5078] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5078] ioctl(3, LOOP_CLR_FD [pid 5116] <... write resumed>) = 524288 [pid 5081] close(3) = 0 [pid 5114] mount("/dev/loop4", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5116] munmap(0x7f8a3a600000, 138412032) = 0 [pid 5116] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5116] ioctl(4, LOOP_SET_FD, 3 [pid 5113] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5081] rmdir("./4" [pid 5114] <... mount resumed>) = 0 [pid 5081] <... rmdir resumed>) = 0 [pid 5078] <... ioctl resumed>) = 0 [pid 5114] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5115] <... mount resumed>) = 0 [pid 5114] <... openat resumed>) = 3 [pid 5081] mkdir("./5", 0777 [pid 5115] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY) = 3 [pid 5114] chdir("./bus" [pid 5081] <... mkdir resumed>) = 0 [pid 5115] chdir("./bus") = 0 [pid 5115] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5115] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5114] <... chdir resumed>) = 0 [pid 5116] <... ioctl resumed>) = 0 [pid 5114] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5116] close(3 [pid 5115] <... symlink resumed>) = 0 [pid 5114] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5116] <... close resumed>) = 0 [pid 5116] close(4) = 0 [pid 5116] mkdir("./bus", 0777) = 0 [pid 5115] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5114] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5113] <... write resumed>) = 524288 [pid 5081] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5078] close(3 [pid 5113] munmap(0x7f8a3a600000, 138412032 [pid 5078] <... close resumed>) = 0 [pid 5114] <... symlink resumed>) = 0 [pid 5113] <... munmap resumed>) = 0 [pid 5081] <... openat resumed>) = 3 [ 113.818572][ T5116] loop0: detected capacity change from 0 to 1024 [pid 5078] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5114] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5081] ioctl(3, LOOP_CLR_FD [pid 5116] mount("/dev/loop0", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5114] <... creat resumed>) = 4 [pid 5113] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5114] rename("./bus", "./file2") = -1 EEXIST (File exists) [pid 5113] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5115] <... creat resumed>) = 4 [pid 5114] memfd_create("syzkaller", 0 [pid 5113] close(5 [pid 5115] rename("./bus", "./file2"./strace-static-x86_64: Process 5117 attached [pid 5078] <... clone resumed>, child_tidptr=0x555555c35650) = 5117 [pid 5117] set_robust_list(0x555555c35660, 24 [pid 5114] <... memfd_create resumed>) = 5 [pid 5117] <... set_robust_list resumed>) = 0 [pid 5114] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5117] chdir("./5" [pid 5114] <... mmap resumed>) = 0x7f8a3a600000 [pid 5117] <... chdir resumed>) = 0 [pid 5117] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5115] <... rename resumed>) = -1 EEXIST (File exists) [pid 5117] <... prctl resumed>) = 0 [pid 5115] memfd_create("syzkaller", 0 [pid 5117] setpgid(0, 0 [pid 5115] <... memfd_create resumed>) = 5 [pid 5117] <... setpgid resumed>) = 0 [pid 5115] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5117] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5115] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... openat resumed>) = 3 [pid 5113] <... close resumed>) = 0 [pid 5117] write(3, "1000", 4 [pid 5113] creat("./file1", 000 [pid 5117] <... write resumed>) = 4 [pid 5116] <... mount resumed>) = 0 [pid 5117] close(3) = 0 [pid 5117] symlink("/dev/binderfs", "./binderfs" [pid 5116] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5117] <... symlink resumed>) = 0 [pid 5116] <... openat resumed>) = 3 [pid 5114] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5116] chdir("./bus" [pid 5117] memfd_create("syzkaller", 0 [pid 5116] <... chdir resumed>) = 0 [pid 5115] <... write resumed>) = 524288 [pid 5114] <... write resumed>) = 524288 [pid 5116] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5117] <... memfd_create resumed>) = 3 [pid 5116] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5117] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [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 5116] <... symlink resumed>) = 0 [pid 5114] munmap(0x7f8a3a600000, 138412032 [pid 5113] <... creat resumed>) = 5 [pid 5081] <... ioctl resumed>) = 0 [pid 5081] close(3 [pid 5113] exit_group(0 [pid 5081] <... close resumed>) = 0 [pid 5113] <... exit_group resumed>) = ? [pid 5114] <... munmap resumed>) = 0 [pid 5113] +++ exited with 0 +++ [pid 5081] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5077] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5113, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5116] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5114] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5081] <... clone resumed>, child_tidptr=0x555555c35650) = 5118 [pid 5077] umount2("./4", MNT_DETACH|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 5118 attached [pid 5115] munmap(0x7f8a3a600000, 138412032 [pid 5114] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5118] set_robust_list(0x555555c35660, 24 [pid 5117] <... write resumed>) = 524288 [pid 5115] <... munmap resumed>) = 0 [pid 5114] close(5 [pid 5077] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5118] <... set_robust_list resumed>) = 0 [pid 5114] <... close resumed>) = 0 [pid 5077] <... openat resumed>) = 3 [pid 5115] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5077] newfstatat(3, "", [pid 5115] close(5 [pid 5118] chdir("./5" [pid 5115] <... close resumed>) = 0 [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5077] getdents64(3, [pid 5118] <... chdir resumed>) = 0 [pid 5077] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5077] umount2("./4/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5118] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5117] munmap(0x7f8a3a600000, 138412032 [pid 5116] <... creat resumed>) = 4 [pid 5115] creat("./file1", 000 [pid 5114] creat("./file1", 000 [pid 5118] <... prctl resumed>) = 0 [pid 5117] <... munmap resumed>) = 0 [pid 5116] rename("./bus", "./file2" [pid 5118] setpgid(0, 0 [pid 5117] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5118] <... setpgid resumed>) = 0 [pid 5117] <... openat resumed>) = 4 [pid 5116] <... rename resumed>) = -1 EEXIST (File exists) [pid 5115] <... creat resumed>) = 5 [pid 5114] <... creat resumed>) = 5 [pid 5118] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5117] ioctl(4, LOOP_SET_FD, 3 [pid 5116] memfd_create("syzkaller", 0) = 5 [pid 5114] exit_group(0) = ? [pid 5118] <... openat resumed>) = 3 [pid 5116] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5115] exit_group(0 [pid 5118] write(3, "1000", 4 [pid 5116] <... mmap resumed>) = 0x7f8a3a600000 [pid 5115] <... exit_group resumed>) = ? [pid 5118] <... write resumed>) = 4 [pid 5116] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] +++ exited with 0 +++ [pid 5114] +++ exited with 0 +++ [pid 5077] <... umount2 resumed>) = 0 [pid 5079] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5114, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5118] close(3 [pid 5077] umount2("./4/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] --- 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 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5118] <... close resumed>) = 0 [pid 5077] newfstatat(AT_FDCWD, "./4/bus", [pid 5118] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5118] memfd_create("syzkaller", 0) = 3 [pid 5079] umount2("./4", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] umount2("./4/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5076] umount2("./4", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5077] openat(AT_FDCWD, "./4/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5118] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5117] <... ioctl resumed>) = 0 [pid 5079] <... openat resumed>) = 3 [pid 5077] <... openat resumed>) = 4 [pid 5076] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5118] <... mmap resumed>) = 0x7f8a3a600000 [pid 5117] close(3 [pid 5079] newfstatat(3, "", [pid 5077] newfstatat(4, "", [pid 5076] <... openat resumed>) = 3 [pid 5076] newfstatat(3, "", [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5079] getdents64(3, [pid 5077] getdents64(4, [pid 5076] getdents64(3, [pid 5117] <... close resumed>) = 0 [ 114.040091][ T5117] loop3: detected capacity change from 0 to 1024 [pid 5117] close(4 [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] <... close resumed>) = 0 [pid 5116] <... write resumed>) = 524288 [pid 5079] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5077] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5076] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5117] mkdir("./bus", 0777 [pid 5116] munmap(0x7f8a3a600000, 138412032 [pid 5079] umount2("./4/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] getdents64(4, [pid 5076] umount2("./4/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5117] <... mkdir resumed>) = 0 [pid 5116] <... munmap resumed>) = 0 [pid 5077] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5117] mount("/dev/loop3", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5077] close(4) = 0 [pid 5116] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5077] rmdir("./4/bus") = 0 [pid 5116] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5116] close(5 [pid 5079] <... umount2 resumed>) = 0 [pid 5077] umount2("./4/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5116] <... close resumed>) = 0 [pid 5077] newfstatat(AT_FDCWD, "./4/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5118] <... write resumed>) = 524288 [pid 5116] creat("./file1", 000 [pid 5077] unlink("./4/binderfs" [pid 5076] <... umount2 resumed>) = 0 [pid 5118] munmap(0x7f8a3a600000, 138412032 [pid 5079] umount2("./4/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] <... unlink resumed>) = 0 [pid 5118] <... munmap resumed>) = 0 [pid 5117] <... mount resumed>) = 0 [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] getdents64(3, [pid 5079] newfstatat(AT_FDCWD, "./4/bus", [pid 5077] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5117] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5079] umount2("./4/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5118] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5117] <... openat resumed>) = 3 [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] close(3 [pid 5076] umount2("./4/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5118] <... openat resumed>) = 4 [pid 5117] chdir("./bus" [pid 5079] openat(AT_FDCWD, "./4/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5117] <... chdir resumed>) = 0 [pid 5079] <... openat resumed>) = 4 [pid 5076] newfstatat(AT_FDCWD, "./4/bus", [pid 5118] ioctl(4, LOOP_SET_FD, 3 [pid 5117] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5077] <... close resumed>) = 0 [pid 5116] <... creat resumed>) = 5 [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5117] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5079] newfstatat(4, "", [pid 5117] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5116] exit_group(0 [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5077] rmdir("./4" [pid 5076] umount2("./4/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5116] <... exit_group resumed>) = ? [pid 5079] getdents64(4, [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5079] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5076] openat(AT_FDCWD, "./4/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5079] getdents64(4, [pid 5076] <... openat resumed>) = 4 [pid 5079] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5076] newfstatat(4, "", [pid 5079] close(4 [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5079] <... close resumed>) = 0 [pid 5076] getdents64(4, [pid 5116] +++ exited with 0 +++ [pid 5079] rmdir("./4/bus" [pid 5076] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5117] <... symlink resumed>) = 0 [pid 5079] <... rmdir resumed>) = 0 [pid 5076] getdents64(4, [pid 5075] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5116, si_uid=0, si_status=0, si_utime=0, si_stime=11 /* 0.11 s */} --- [pid 5077] <... rmdir resumed>) = 0 [pid 5075] restart_syscall(<... resuming interrupted clone ...> [pid 5117] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5079] umount2("./4/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5075] <... restart_syscall resumed>) = 0 [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] mkdir("./5", 0777 [pid 5076] close(4 [pid 5079] newfstatat(AT_FDCWD, "./4/binderfs", [pid 5076] <... close resumed>) = 0 [pid 5079] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5076] rmdir("./4/bus" [pid 5079] unlink("./4/binderfs" [pid 5076] <... rmdir resumed>) = 0 [pid 5075] umount2("./5", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] <... unlink resumed>) = 0 [pid 5079] getdents64(3, [pid 5077] <... mkdir resumed>) = 0 [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5079] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5077] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5076] umount2("./4/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5118] <... ioctl resumed>) = 0 [pid 5117] <... creat resumed>) = 4 [pid 5079] close(3 [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5118] close(3 [pid 5079] <... close resumed>) = 0 [pid 5077] <... openat resumed>) = 3 [pid 5076] newfstatat(AT_FDCWD, "./4/binderfs", [pid 5075] <... openat resumed>) = 3 [pid 5118] <... close resumed>) = 0 [pid 5117] rename("./bus", "./file2" [pid 5079] rmdir("./4" [pid 5077] ioctl(3, LOOP_CLR_FD [pid 5076] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5118] close(4 [pid 5079] <... rmdir resumed>) = 0 [pid 5075] newfstatat(3, "", [pid 5118] <... close resumed>) = 0 [pid 5117] <... rename resumed>) = -1 EEXIST (File exists) [pid 5079] mkdir("./5", 0777 [pid 5076] unlink("./4/binderfs" [pid 5118] mkdir("./bus", 0777 [pid 5117] memfd_create("syzkaller", 0 [pid 5079] <... mkdir resumed>) = 0 [pid 5076] <... unlink resumed>) = 0 [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5118] <... mkdir resumed>) = 0 [pid 5117] <... memfd_create resumed>) = 5 [pid 5076] getdents64(3, [pid 5075] getdents64(3, [pid 5076] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5118] mount("/dev/loop5", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5117] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5076] close(3 [pid 5075] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5117] <... mmap resumed>) = 0x7f8a3a600000 [pid 5076] <... close resumed>) = 0 [pid 5117] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5079] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5076] rmdir("./4") = 0 [pid 5075] umount2("./5/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] <... openat resumed>) = 3 [pid 5079] ioctl(3, LOOP_CLR_FD [pid 5076] mkdir("./5", 0777) = 0 [ 114.159598][ T5118] loop5: detected capacity change from 0 to 1024 [pid 5076] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5076] ioctl(3, LOOP_CLR_FD [pid 5118] <... mount resumed>) = 0 [pid 5118] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY) = 3 [pid 5118] chdir("./bus") = 0 [pid 5118] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5118] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5077] <... ioctl resumed>) = 0 [pid 5118] <... symlink resumed>) = 0 [pid 5117] <... write resumed>) = 524288 [pid 5077] close(3 [pid 5118] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5117] munmap(0x7f8a3a600000, 138412032 [pid 5077] <... close resumed>) = 0 [pid 5117] <... munmap resumed>) = 0 [pid 5077] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5075] <... umount2 resumed>) = 0 [pid 5117] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5075] umount2("./5/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) ./strace-static-x86_64: Process 5119 attached [pid 5118] <... creat resumed>) = 4 [pid 5117] close(5 [pid 5118] rename("./bus", "./file2" [pid 5079] <... ioctl resumed>) = 0 [pid 5076] <... ioctl resumed>) = 0 [pid 5075] newfstatat(AT_FDCWD, "./5/bus", [pid 5118] <... rename resumed>) = -1 EEXIST (File exists) [pid 5119] set_robust_list(0x555555c35660, 24 [pid 5077] <... clone resumed>, child_tidptr=0x555555c35650) = 5119 [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5119] <... set_robust_list resumed>) = 0 [pid 5119] chdir("./5") = 0 [pid 5119] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5117] <... close resumed>) = 0 [pid 5119] <... prctl resumed>) = 0 [pid 5118] memfd_create("syzkaller", 0 [pid 5119] setpgid(0, 0 [pid 5118] <... memfd_create resumed>) = 5 [pid 5075] umount2("./5/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5119] <... setpgid resumed>) = 0 [pid 5118] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5119] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5118] <... mmap resumed>) = 0x7f8a3a600000 [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5118] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5119] <... openat resumed>) = 3 [pid 5119] write(3, "1000", 4) = 4 [pid 5119] close(3) = 0 [pid 5119] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5079] close(3 [pid 5075] openat(AT_FDCWD, "./5/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5079] <... close resumed>) = 0 [pid 5076] close(3 [pid 5075] <... openat resumed>) = 4 [pid 5075] newfstatat(4, "", [pid 5079] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5120 attached [pid 5119] memfd_create("syzkaller", 0 [pid 5117] creat("./file1", 000 [pid 5076] <... close resumed>) = 0 [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5120] set_robust_list(0x555555c35660, 24 [pid 5118] <... write resumed>) = 524288 [pid 5079] <... clone resumed>, child_tidptr=0x555555c35650) = 5120 [pid 5076] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5075] getdents64(4, [pid 5120] <... set_robust_list resumed>) = 0 [pid 5075] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5120] chdir("./5" [pid 5075] getdents64(4, [pid 5119] <... memfd_create resumed>) = 3 [pid 5076] <... clone resumed>, child_tidptr=0x555555c35650) = 5121 [pid 5075] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5119] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 ./strace-static-x86_64: Process 5121 attached [pid 5120] <... chdir resumed>) = 0 [pid 5119] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5075] close(4 [pid 5121] set_robust_list(0x555555c35660, 24 [pid 5120] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5118] munmap(0x7f8a3a600000, 138412032 [pid 5117] <... creat resumed>) = 5 [pid 5121] <... set_robust_list resumed>) = 0 [pid 5120] <... prctl resumed>) = 0 [pid 5118] <... munmap resumed>) = 0 [pid 5075] <... close resumed>) = 0 [pid 5121] chdir("./5" [pid 5117] exit_group(0 [pid 5120] setpgid(0, 0 [pid 5075] rmdir("./5/bus" [pid 5121] <... chdir resumed>) = 0 [pid 5120] <... setpgid resumed>) = 0 [pid 5117] <... exit_group resumed>) = ? [pid 5121] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5120] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5117] +++ exited with 0 +++ [pid 5075] <... rmdir resumed>) = 0 [pid 5121] <... prctl resumed>) = 0 [pid 5121] setpgid(0, 0) = 0 [pid 5121] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5120] <... openat resumed>) = 3 [pid 5078] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5117, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5075] umount2("./5/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5121] <... openat resumed>) = 3 [pid 5118] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5078] restart_syscall(<... resuming interrupted clone ...> [pid 5120] write(3, "1000", 4 [pid 5118] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5078] <... restart_syscall resumed>) = 0 [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5120] <... write resumed>) = 4 [pid 5118] close(5 [pid 5120] close(3 [pid 5075] newfstatat(AT_FDCWD, "./5/binderfs", [pid 5121] write(3, "1000", 4 [pid 5120] <... close resumed>) = 0 [pid 5121] <... write resumed>) = 4 [pid 5120] symlink("/dev/binderfs", "./binderfs" [pid 5078] umount2("./5", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5121] close(3 [pid 5120] <... symlink resumed>) = 0 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5121] <... close resumed>) = 0 [pid 5120] memfd_create("syzkaller", 0 [pid 5078] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5075] unlink("./5/binderfs" [pid 5121] symlink("/dev/binderfs", "./binderfs" [pid 5078] <... openat resumed>) = 3 [pid 5121] <... symlink resumed>) = 0 [pid 5078] newfstatat(3, "", [pid 5075] <... unlink resumed>) = 0 [pid 5121] memfd_create("syzkaller", 0 [pid 5120] <... memfd_create resumed>) = 3 [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5121] <... memfd_create resumed>) = 3 [pid 5120] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5078] getdents64(3, [pid 5075] getdents64(3, [pid 5121] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5120] <... mmap resumed>) = 0x7f8a3a600000 [pid 5078] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5075] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [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 5118] <... close resumed>) = 0 [pid 5119] <... write resumed>) = 524288 [pid 5119] munmap(0x7f8a3a600000, 138412032 [pid 5118] creat("./file1", 000 [pid 5119] <... munmap resumed>) = 0 [pid 5078] umount2("./5/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] close(3) = 0 [pid 5075] rmdir("./5") = 0 [pid 5075] mkdir("./6", 0777 [pid 5119] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5118] <... creat resumed>) = 5 [pid 5075] <... mkdir resumed>) = 0 [pid 5118] exit_group(0 [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 5119] <... openat resumed>) = 4 [pid 5118] <... exit_group resumed>) = ? [pid 5075] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5118] +++ exited with 0 +++ [pid 5075] <... openat resumed>) = 3 [pid 5081] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5118, si_uid=0, si_status=0, si_utime=0, si_stime=8 /* 0.08 s */} --- [pid 5075] ioctl(3, LOOP_CLR_FD [pid 5119] ioctl(4, LOOP_SET_FD, 3 [pid 5081] umount2("./5", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5078] <... umount2 resumed>) = 0 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5078] umount2("./5/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5081] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5081] <... openat resumed>) = 3 [pid 5081] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5121] <... write resumed>) = 524288 [pid 5078] newfstatat(AT_FDCWD, "./5/bus", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5078] umount2("./5/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5078] openat(AT_FDCWD, "./5/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5078] newfstatat(4, "", [pid 5081] getdents64(3, [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5121] munmap(0x7f8a3a600000, 138412032 [pid 5078] getdents64(4, [pid 5121] <... munmap resumed>) = 0 [pid 5119] <... ioctl resumed>) = 0 [pid 5078] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5078] getdents64(4, [pid 5119] close(3 [pid 5078] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5119] <... close resumed>) = 0 [pid 5081] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5078] close(4 [pid 5121] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5119] close(4 [pid 5078] <... close resumed>) = 0 [pid 5121] <... openat resumed>) = 4 [pid 5120] <... write resumed>) = 524288 [pid 5119] <... close resumed>) = 0 [pid 5081] umount2("./5/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5078] rmdir("./5/bus" [pid 5121] ioctl(4, LOOP_SET_FD, 3 [pid 5119] mkdir("./bus", 0777 [pid 5078] <... rmdir resumed>) = 0 [pid 5121] <... ioctl resumed>) = 0 [pid 5120] munmap(0x7f8a3a600000, 138412032 [pid 5121] close(3) = 0 [pid 5121] close(4) = 0 [pid 5121] mkdir("./bus", 0777 [pid 5119] <... mkdir resumed>) = 0 [pid 5075] <... ioctl resumed>) = 0 [pid 5121] <... mkdir resumed>) = 0 [pid 5120] <... munmap resumed>) = 0 [pid 5078] umount2("./5/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5078] newfstatat(AT_FDCWD, "./5/binderfs", [pid 5119] mount("/dev/loop2", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5078] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5121] mount("/dev/loop1", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5078] unlink("./5/binderfs" [pid 5120] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5078] <... unlink resumed>) = 0 [pid 5075] close(3 [pid 5120] <... openat resumed>) = 4 [pid 5075] <... close resumed>) = 0 [pid 5075] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5121] <... mount resumed>) = 0 [ 114.443469][ T5119] loop2: detected capacity change from 0 to 1024 [ 114.477501][ T5121] loop1: detected capacity change from 0 to 1024 [pid 5078] getdents64(3, [pid 5121] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5078] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5121] <... openat resumed>) = 3 [pid 5120] ioctl(4, LOOP_SET_FD, 3 [pid 5119] <... mount resumed>) = 0 [pid 5121] chdir("./bus" [pid 5119] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5078] close(3 [pid 5121] <... chdir resumed>) = 0 [pid 5119] <... openat resumed>) = 3 [pid 5078] <... close resumed>) = 0 [pid 5121] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5119] chdir("./bus" [pid 5078] rmdir("./5" [pid 5121] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5119] <... chdir resumed>) = 0 [pid 5078] <... rmdir resumed>) = 0 [pid 5121] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5119] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5075] <... clone resumed>, child_tidptr=0x555555c35650) = 5122 ./strace-static-x86_64: Process 5122 attached [pid 5078] mkdir("./6", 0777 [pid 5122] set_robust_list(0x555555c35660, 24) = 0 [pid 5078] <... mkdir resumed>) = 0 [pid 5122] chdir("./6" [pid 5078] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5078] ioctl(3, LOOP_CLR_FD [pid 5122] <... chdir resumed>) = 0 [pid 5122] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5119] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5122] <... prctl resumed>) = 0 [pid 5122] setpgid(0, 0 [pid 5119] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5122] <... setpgid resumed>) = 0 [pid 5119] <... symlink resumed>) = 0 [pid 5122] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5121] <... symlink resumed>) = 0 [pid 5119] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5081] <... umount2 resumed>) = 0 [pid 5122] <... openat resumed>) = 3 [pid 5122] write(3, "1000", 4) = 4 [pid 5122] close(3) = 0 [pid 5120] <... ioctl resumed>) = 0 [pid 5081] umount2("./5/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5122] symlink("/dev/binderfs", "./binderfs" [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 114.523823][ T5120] loop4: detected capacity change from 0 to 1024 [pid 5122] <... symlink resumed>) = 0 [pid 5121] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5120] close(3) = 0 [pid 5081] newfstatat(AT_FDCWD, "./5/bus", [pid 5122] memfd_create("syzkaller", 0 [pid 5120] close(4 [pid 5119] <... creat resumed>) = 4 [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5081] umount2("./5/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5122] <... memfd_create resumed>) = 3 [pid 5120] <... close resumed>) = 0 [pid 5119] rename("./bus", "./file2" [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5122] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5120] mkdir("./bus", 0777 [pid 5081] openat(AT_FDCWD, "./5/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5122] <... mmap resumed>) = 0x7f8a3a600000 [pid 5120] <... mkdir resumed>) = 0 [pid 5081] <... openat resumed>) = 4 [pid 5081] newfstatat(4, "", [pid 5121] <... creat resumed>) = 4 [pid 5120] mount("/dev/loop4", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5119] <... rename resumed>) = -1 EEXIST (File exists) [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5121] rename("./bus", "./file2" [pid 5119] memfd_create("syzkaller", 0) = 5 [pid 5119] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [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 5081] getdents64(4, 0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5078] <... ioctl resumed>) = 0 [pid 5081] getdents64(4, 0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5078] close(3 [pid 5081] close(4 [pid 5078] <... close resumed>) = 0 [pid 5120] <... mount resumed>) = 0 [pid 5119] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5081] <... close resumed>) = 0 [pid 5078] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5120] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5081] rmdir("./5/bus" [pid 5120] <... openat resumed>) = 3 [pid 5121] <... rename resumed>) = -1 EEXIST (File exists) [pid 5120] chdir("./bus"./strace-static-x86_64: Process 5123 attached [pid 5122] <... write resumed>) = 524288 [pid 5120] <... chdir resumed>) = 0 [pid 5081] <... rmdir resumed>) = 0 [pid 5123] set_robust_list(0x555555c35660, 24 [pid 5078] <... clone resumed>, child_tidptr=0x555555c35650) = 5123 [pid 5123] <... set_robust_list resumed>) = 0 [pid 5122] munmap(0x7f8a3a600000, 138412032 [pid 5121] memfd_create("syzkaller", 0 [pid 5081] umount2("./5/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5121] <... memfd_create resumed>) = 5 [pid 5120] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5122] <... munmap resumed>) = 0 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5123] chdir("./6" [pid 5081] newfstatat(AT_FDCWD, "./5/binderfs", [pid 5123] <... chdir resumed>) = 0 [pid 5122] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5121] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5120] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5081] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5123] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5122] <... openat resumed>) = 4 [pid 5121] <... mmap resumed>) = 0x7f8a3a600000 [pid 5120] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5081] unlink("./5/binderfs" [pid 5123] <... prctl resumed>) = 0 [pid 5122] ioctl(4, LOOP_SET_FD, 3 [pid 5121] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... symlink resumed>) = 0 [pid 5119] <... write resumed>) = 524288 [pid 5123] setpgid(0, 0 [pid 5081] <... unlink resumed>) = 0 [pid 5120] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5123] <... setpgid resumed>) = 0 [pid 5122] <... ioctl resumed>) = 0 [pid 5081] getdents64(3, [pid 5119] munmap(0x7f8a3a600000, 138412032 [pid 5123] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5119] <... munmap resumed>) = 0 [pid 5123] <... openat resumed>) = 3 [pid 5119] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5122] close(3 [pid 5123] write(3, "1000", 4) = 4 [pid 5122] <... close resumed>) = 0 [pid 5119] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5081] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5123] close(3 [pid 5122] close(4 [pid 5119] close(5 [pid 5081] close(3 [pid 5123] <... close resumed>) = 0 [pid 5081] <... close resumed>) = 0 [pid 5123] symlink("/dev/binderfs", "./binderfs" [pid 5081] rmdir("./5" [pid 5123] <... symlink resumed>) = 0 [pid 5081] <... rmdir resumed>) = 0 [pid 5123] memfd_create("syzkaller", 0 [pid 5122] <... close resumed>) = 0 [pid 5121] <... write resumed>) = 524288 [pid 5120] <... creat resumed>) = 4 [pid 5119] <... close resumed>) = 0 [pid 5123] <... memfd_create resumed>) = 3 [pid 5122] mkdir("./bus", 0777 [pid 5123] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5120] rename("./bus", "./file2" [pid 5081] mkdir("./6", 0777 [pid 5120] <... rename resumed>) = -1 EEXIST (File exists) [pid 5081] <... mkdir resumed>) = 0 [pid 5122] <... mkdir resumed>) = 0 [pid 5119] creat("./file1", 000 [pid 5120] memfd_create("syzkaller", 0 [pid 5081] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5122] mount("/dev/loop0", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5120] <... memfd_create resumed>) = 5 [pid 5081] <... openat resumed>) = 3 [pid 5120] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5081] ioctl(3, LOOP_CLR_FD [pid 5120] <... mmap resumed>) = 0x7f8a3a600000 [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 [ 114.685643][ T5122] loop0: detected capacity change from 0 to 1024 [pid 5120] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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(0x7f8a3a600000, 138412032) = 0 [pid 5121] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5119] <... creat resumed>) = 5 [pid 5121] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5121] close(5 [pid 5123] <... write resumed>) = 524288 [pid 5121] <... close resumed>) = 0 [pid 5119] exit_group(0) = ? [pid 5119] +++ exited with 0 +++ [pid 5077] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5119, si_uid=0, si_status=0, si_utime=0, si_stime=9 /* 0.09 s */} --- [pid 5077] umount2("./5", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5077] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5123] munmap(0x7f8a3a600000, 138412032 [pid 5077] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5077] getdents64(3, 0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5077] umount2("./5/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5123] <... munmap resumed>) = 0 [pid 5120] <... write resumed>) = 524288 [pid 5123] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5081] <... ioctl resumed>) = 0 [pid 5121] creat("./file1", 000 [pid 5120] munmap(0x7f8a3a600000, 138412032) = 0 [pid 5120] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5120] close(5 [pid 5123] ioctl(4, LOOP_SET_FD, 3 [pid 5122] <... mount resumed>) = 0 [pid 5121] <... creat resumed>) = 5 [pid 5121] exit_group(0) = ? [pid 5123] <... ioctl resumed>) = 0 [pid 5122] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5121] +++ exited with 0 +++ [pid 5122] <... openat resumed>) = 3 [pid 5120] <... close resumed>) = 0 [pid 5077] <... umount2 resumed>) = 0 [pid 5076] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5121, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5122] chdir("./bus" [pid 5081] close(3 [pid 5122] <... chdir resumed>) = 0 [pid 5122] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5081] <... close resumed>) = 0 [pid 5081] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5122] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5122] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5076] umount2("./5", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] umount2("./5/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] newfstatat(AT_FDCWD, "./5/bus", [pid 5076] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5122] <... symlink resumed>) = 0 [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5076] <... openat resumed>) = 3 [pid 5077] umount2("./5/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] newfstatat(3, "", [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5077] openat(AT_FDCWD, "./5/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5076] getdents64(3, [pid 5120] creat("./file1", 000 [pid 5077] <... openat resumed>) = 4 [pid 5076] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5077] newfstatat(4, "", [pid 5076] umount2("./5/bus", MNT_DETACH|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 5124 attached [pid 5122] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5081] <... clone resumed>, child_tidptr=0x555555c35650) = 5124 [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5124] set_robust_list(0x555555c35660, 24 [pid 5123] close(3 [pid 5077] getdents64(4, [pid 5124] <... set_robust_list resumed>) = 0 [pid 5123] <... close resumed>) = 0 [pid 5077] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5124] chdir("./6" [pid 5123] close(4 [pid 5077] getdents64(4, [pid 5076] <... umount2 resumed>) = 0 [pid 5124] <... chdir resumed>) = 0 [pid 5123] <... close resumed>) = 0 [pid 5077] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5076] umount2("./5/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5123] mkdir("./bus", 0777 [pid 5077] close(4 [pid 5124] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5123] <... mkdir resumed>) = 0 [ 114.815515][ T5123] loop3: detected capacity change from 0 to 1024 [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5124] <... prctl resumed>) = 0 [pid 5123] mount("/dev/loop3", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5122] <... creat resumed>) = 4 [pid 5120] <... creat resumed>) = 5 [pid 5077] <... close resumed>) = 0 [pid 5076] newfstatat(AT_FDCWD, "./5/bus", [pid 5124] setpgid(0, 0 [pid 5122] rename("./bus", "./file2" [pid 5120] exit_group(0 [pid 5077] rmdir("./5/bus" [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5124] <... setpgid resumed>) = 0 [pid 5122] <... rename resumed>) = -1 EEXIST (File exists) [pid 5120] <... exit_group resumed>) = ? [pid 5077] <... rmdir resumed>) = 0 [pid 5077] umount2("./5/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] umount2("./5/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5124] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5122] memfd_create("syzkaller", 0 [pid 5120] +++ exited with 0 +++ [pid 5077] newfstatat(AT_FDCWD, "./5/binderfs", [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5124] <... openat resumed>) = 3 [pid 5123] <... mount resumed>) = 0 [pid 5122] <... memfd_create resumed>) = 5 [pid 5079] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5120, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5123] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5122] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5077] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5123] <... openat resumed>) = 3 [pid 5122] <... mmap resumed>) = 0x7f8a3a600000 [pid 5076] openat(AT_FDCWD, "./5/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5124] write(3, "1000", 4 [pid 5123] chdir("./bus" [pid 5077] unlink("./5/binderfs" [pid 5124] <... write resumed>) = 4 [pid 5123] <... chdir resumed>) = 0 [pid 5122] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5077] <... unlink resumed>) = 0 [pid 5076] <... openat resumed>) = 4 [pid 5124] close(3 [pid 5123] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5124] <... close resumed>) = 0 [pid 5123] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5077] getdents64(3, [pid 5076] newfstatat(4, "", [pid 5124] symlink("/dev/binderfs", "./binderfs" [pid 5123] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5124] <... symlink resumed>) = 0 [pid 5077] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5076] getdents64(4, [pid 5077] close(3 [pid 5076] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5077] <... close resumed>) = 0 [pid 5076] getdents64(4, [pid 5077] rmdir("./5" [pid 5124] memfd_create("syzkaller", 0 [pid 5077] <... rmdir resumed>) = 0 [pid 5076] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5079] umount2("./5", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] close(4 [pid 5124] <... memfd_create resumed>) = 3 [pid 5124] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5076] <... close resumed>) = 0 [pid 5077] mkdir("./6", 0777 [pid 5076] rmdir("./5/bus" [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5124] <... mmap resumed>) = 0x7f8a3a600000 [pid 5123] <... symlink resumed>) = 0 [pid 5079] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5076] <... rmdir resumed>) = 0 [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 5123] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5079] <... openat resumed>) = 3 [pid 5077] <... mkdir resumed>) = 0 [pid 5076] umount2("./5/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5077] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5079] getdents64(3, [pid 5077] <... openat resumed>) = 3 [pid 5076] newfstatat(AT_FDCWD, "./5/binderfs", [pid 5079] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5079] umount2("./5/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] ioctl(3, LOOP_CLR_FD [pid 5076] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5076] unlink("./5/binderfs") = 0 [pid 5076] getdents64(3, 0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5076] close(3 [pid 5123] <... creat resumed>) = 4 [pid 5123] rename("./bus", "./file2" [pid 5076] <... close resumed>) = 0 [pid 5122] <... write resumed>) = 524288 [pid 5123] <... rename resumed>) = -1 EEXIST (File exists) [pid 5076] rmdir("./5" [pid 5123] memfd_create("syzkaller", 0) = 5 [pid 5076] <... rmdir resumed>) = 0 [pid 5123] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5122] munmap(0x7f8a3a600000, 138412032 [pid 5123] <... mmap resumed>) = 0x7f8a3a600000 [pid 5122] <... munmap resumed>) = 0 [pid 5124] <... write resumed>) = 524288 [pid 5123] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5076] mkdir("./6", 0777 [pid 5122] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5076] <... mkdir resumed>) = 0 [pid 5122] close(5) = 0 [pid 5079] <... umount2 resumed>) = 0 [pid 5076] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5079] umount2("./5/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] <... openat resumed>) = 3 [pid 5124] munmap(0x7f8a3a600000, 138412032 [pid 5077] <... ioctl resumed>) = 0 [pid 5076] ioctl(3, LOOP_CLR_FD [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5124] <... munmap resumed>) = 0 [pid 5079] newfstatat(AT_FDCWD, "./5/bus", [pid 5124] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5124] <... openat resumed>) = 4 [pid 5079] umount2("./5/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5124] ioctl(4, LOOP_SET_FD, 3 [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5079] openat(AT_FDCWD, "./5/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5122] creat("./file1", 000 [pid 5079] <... openat resumed>) = 4 [pid 5079] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5077] close(3 [pid 5079] getdents64(4, [pid 5124] <... ioctl resumed>) = 0 [pid 5123] <... write resumed>) = 524288 [pid 5122] <... creat resumed>) = 5 [pid 5077] <... close resumed>) = 0 [pid 5124] close(3 [pid 5122] exit_group(0 [pid 5124] <... close resumed>) = 0 [pid 5122] <... exit_group resumed>) = ? [pid 5079] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5124] close(4) = 0 [pid 5124] mkdir("./bus", 0777) = 0 [pid 5123] munmap(0x7f8a3a600000, 138412032) = 0 [pid 5079] getdents64(4, [pid 5077] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5122] +++ exited with 0 +++ [pid 5079] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5124] mount("/dev/loop5", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5123] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5079] close(4 [pid 5075] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5122, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5123] close(5./strace-static-x86_64: Process 5125 attached [pid 5079] <... close resumed>) = 0 [pid 5077] <... clone resumed>, child_tidptr=0x555555c35650) = 5125 [pid 5079] rmdir("./5/bus" [pid 5075] umount2("./6", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5125] set_robust_list(0x555555c35660, 24 [pid 5079] <... rmdir resumed>) = 0 [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5125] <... set_robust_list resumed>) = 0 [pid 5075] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5125] chdir("./6" [pid 5075] <... openat resumed>) = 3 [pid 5125] <... chdir resumed>) = 0 [ 115.038605][ T5124] loop5: detected capacity change from 0 to 1024 [pid 5075] newfstatat(3, "", [pid 5079] umount2("./5/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5125] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5123] <... close resumed>) = 0 [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] getdents64(3, [pid 5125] <... prctl resumed>) = 0 [pid 5079] newfstatat(AT_FDCWD, "./5/binderfs", [pid 5125] setpgid(0, 0 [pid 5075] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5125] <... setpgid resumed>) = 0 [pid 5079] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5125] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5075] umount2("./6/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5125] <... openat resumed>) = 3 [pid 5079] unlink("./5/binderfs" [pid 5125] write(3, "1000", 4 [pid 5123] creat("./file1", 000 [pid 5079] <... unlink resumed>) = 0 [pid 5125] <... write resumed>) = 4 [pid 5079] getdents64(3, [pid 5076] <... ioctl resumed>) = 0 [pid 5125] close(3) = 0 [pid 5125] symlink("/dev/binderfs", "./binderfs" [pid 5076] close(3) = 0 [pid 5125] <... symlink resumed>) = 0 [pid 5079] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5076] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5125] memfd_create("syzkaller", 0 [pid 5123] <... creat resumed>) = 5 [pid 5079] close(3 [pid 5125] <... memfd_create resumed>) = 3 [pid 5123] exit_group(0 [pid 5079] <... close resumed>) = 0 [pid 5124] <... mount resumed>) = 0 [pid 5123] <... exit_group resumed>) = ? [pid 5125] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5124] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5123] +++ exited with 0 +++ [pid 5079] rmdir("./5" [pid 5078] --- 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 5125] <... mmap resumed>) = 0x7f8a3a600000 [pid 5124] <... openat resumed>) = 3 [pid 5079] <... rmdir resumed>) = 0 [pid 5124] chdir("./bus"./strace-static-x86_64: Process 5126 attached ) = 0 [pid 5126] set_robust_list(0x555555c35660, 24 [pid 5124] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5079] mkdir("./6", 0777 [pid 5076] <... clone resumed>, child_tidptr=0x555555c35650) = 5126 [pid 5126] <... set_robust_list resumed>) = 0 [pid 5124] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5078] umount2("./6", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5126] chdir("./6" [pid 5079] <... mkdir resumed>) = 0 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5126] <... chdir resumed>) = 0 [pid 5124] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5078] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5126] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5079] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5078] <... openat resumed>) = 3 [pid 5126] <... prctl resumed>) = 0 [pid 5126] setpgid(0, 0 [pid 5078] newfstatat(3, "", [pid 5126] <... setpgid resumed>) = 0 [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5126] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5078] getdents64(3, [pid 5126] <... openat resumed>) = 3 [pid 5124] <... symlink resumed>) = 0 [pid 5079] <... openat resumed>) = 3 [pid 5078] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5079] ioctl(3, LOOP_CLR_FD [pid 5078] umount2("./6/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5126] write(3, "1000", 4 [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 5126] <... write resumed>) = 4 [pid 5124] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5126] close(3) = 0 [pid 5126] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5075] <... umount2 resumed>) = 0 [pid 5126] memfd_create("syzkaller", 0 [pid 5124] <... creat resumed>) = 4 [pid 5075] umount2("./6/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5075] newfstatat(AT_FDCWD, "./6/bus", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5126] <... memfd_create resumed>) = 3 [pid 5124] rename("./bus", "./file2" [pid 5075] umount2("./6/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5126] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5126] <... mmap resumed>) = 0x7f8a3a600000 [pid 5075] openat(AT_FDCWD, "./6/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5079] <... ioctl resumed>) = 0 [pid 5075] <... openat resumed>) = 4 [pid 5075] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5075] getdents64(4, 0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5075] getdents64(4, 0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5075] close(4) = 0 [pid 5075] rmdir("./6/bus" [pid 5124] <... rename resumed>) = -1 EEXIST (File exists) [pid 5075] <... rmdir resumed>) = 0 [pid 5124] memfd_create("syzkaller", 0) = 5 [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] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5075] umount2("./6/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5125] <... write resumed>) = 524288 [pid 5125] munmap(0x7f8a3a600000, 138412032 [pid 5124] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] newfstatat(AT_FDCWD, "./6/binderfs", [pid 5125] <... munmap resumed>) = 0 [pid 5079] close(3 [pid 5075] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5079] <... close resumed>) = 0 [pid 5075] unlink("./6/binderfs") = 0 [pid 5079] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5078] <... umount2 resumed>) = 0 [pid 5075] getdents64(3, 0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5075] close(3) = 0 [pid 5125] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5075] rmdir("./6" [pid 5125] <... openat resumed>) = 4 [pid 5075] <... rmdir resumed>) = 0 [pid 5125] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5124] <... write resumed>) = 524288 [pid 5075] mkdir("./7", 0777 [pid 5078] umount2("./6/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] <... mkdir resumed>) = 0 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5126] <... write resumed>) = 524288 [pid 5078] newfstatat(AT_FDCWD, "./6/bus", [pid 5079] <... clone resumed>, child_tidptr=0x555555c35650) = 5127 [pid 5075] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5078] umount2("./6/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] ioctl(3, LOOP_CLR_FD [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5078] openat(AT_FDCWD, "./6/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5126] munmap(0x7f8a3a600000, 138412032 [pid 5078] newfstatat(4, "", ./strace-static-x86_64: Process 5127 attached {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5078] getdents64(4, 0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5127] set_robust_list(0x555555c35660, 24 [pid 5126] <... munmap resumed>) = 0 [pid 5078] getdents64(4, [pid 5127] <... set_robust_list resumed>) = 0 [pid 5078] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5078] close(4) = 0 [pid 5078] rmdir("./6/bus" [pid 5127] chdir("./6" [pid 5125] close(3 [pid 5078] <... rmdir resumed>) = 0 [pid 5127] <... chdir resumed>) = 0 [pid 5126] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5125] <... close resumed>) = 0 [pid 5078] umount2("./6/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5126] <... openat resumed>) = 4 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5124] munmap(0x7f8a3a600000, 138412032 [pid 5078] newfstatat(AT_FDCWD, "./6/binderfs", [pid 5124] <... munmap resumed>) = 0 [pid 5078] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 115.255664][ T5125] loop2: detected capacity change from 0 to 1024 [pid 5126] ioctl(4, LOOP_SET_FD, 3 [pid 5078] unlink("./6/binderfs" [pid 5125] close(4 [pid 5078] <... unlink resumed>) = 0 [pid 5127] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5125] <... close resumed>) = 0 [pid 5127] <... prctl resumed>) = 0 [pid 5127] setpgid(0, 0 [pid 5124] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5078] getdents64(3, [pid 5127] <... setpgid resumed>) = 0 [pid 5127] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5124] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5078] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5125] mkdir("./bus", 0777 [pid 5124] close(5 [pid 5078] close(3 [pid 5127] <... openat resumed>) = 3 [pid 5125] <... mkdir resumed>) = 0 [pid 5078] <... close resumed>) = 0 [pid 5075] <... ioctl resumed>) = 0 [pid 5125] mount("/dev/loop2", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5078] rmdir("./6" [pid 5127] write(3, "1000", 4 [pid 5078] <... rmdir resumed>) = 0 [pid 5127] <... write resumed>) = 4 [pid 5078] mkdir("./7", 0777 [pid 5127] close(3 [pid 5078] <... mkdir resumed>) = 0 [pid 5127] <... close resumed>) = 0 [pid 5078] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5127] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5126] <... ioctl resumed>) = 0 [pid 5126] close(3) = 0 [pid 5126] close(4 [pid 5075] close(3 [pid 5126] <... close resumed>) = 0 [pid 5078] <... openat resumed>) = 3 [pid 5126] mkdir("./bus", 0777 [pid 5078] ioctl(3, LOOP_CLR_FD [pid 5075] <... close resumed>) = 0 [pid 5127] memfd_create("syzkaller", 0 [pid 5125] <... mount resumed>) = 0 [pid 5125] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY) = 3 [pid 5125] chdir("./bus") = 0 [pid 5075] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5125] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5124] <... close resumed>) = 0 [pid 5127] <... memfd_create resumed>) = 3 [pid 5125] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [ 115.312205][ T5126] loop1: detected capacity change from 0 to 1024 [pid 5124] creat("./file1", 000 [pid 5126] <... mkdir resumed>) = 0 [pid 5125] <... symlink resumed>) = 0 [pid 5127] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5125] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5126] mount("/dev/loop1", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5078] <... ioctl resumed>) = 0 [pid 5075] <... clone resumed>, child_tidptr=0x555555c35650) = 5128 ./strace-static-x86_64: Process 5128 attached [pid 5125] <... creat resumed>) = 4 [pid 5124] <... creat resumed>) = 5 [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 5128] set_robust_list(0x555555c35660, 24) = 0 [pid 5125] rename("./bus", "./file2" [pid 5124] exit_group(0 [pid 5128] chdir("./7" [pid 5124] <... exit_group resumed>) = ? [pid 5128] <... chdir resumed>) = 0 [pid 5124] +++ exited with 0 +++ [pid 5128] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5078] close(3) = 0 [pid 5081] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5124, si_uid=0, si_status=0, si_utime=0, si_stime=8 /* 0.08 s */} --- [pid 5078] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5081] umount2("./6", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5128] <... prctl resumed>) = 0 [pid 5127] <... write resumed>) = 524288 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5128] setpgid(0, 0) = 0 [pid 5128] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5125] <... rename resumed>) = -1 EEXIST (File exists) [pid 5081] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5125] memfd_create("syzkaller", 0 [pid 5081] <... openat resumed>) = 3 [pid 5078] <... clone resumed>, child_tidptr=0x555555c35650) = 5129 [pid 5125] <... memfd_create resumed>) = 5 [pid 5081] newfstatat(3, "", ./strace-static-x86_64: Process 5129 attached [pid 5125] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5129] set_robust_list(0x555555c35660, 24 [pid 5125] <... mmap resumed>) = 0x7f8a3a600000 [pid 5081] getdents64(3, 0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5129] <... set_robust_list resumed>) = 0 [pid 5128] <... openat resumed>) = 3 [pid 5081] umount2("./6/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5129] chdir("./7" [pid 5126] <... mount resumed>) = 0 [pid 5126] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5129] <... chdir resumed>) = 0 [pid 5128] write(3, "1000", 4 [pid 5127] munmap(0x7f8a3a600000, 138412032 [pid 5126] <... openat resumed>) = 3 [pid 5125] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] chdir("./bus") = 0 [pid 5128] <... write resumed>) = 4 [pid 5127] <... munmap resumed>) = 0 [pid 5126] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5128] close(3 [pid 5129] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5128] <... close resumed>) = 0 [pid 5126] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5128] symlink("/dev/binderfs", "./binderfs" [pid 5129] <... prctl resumed>) = 0 [pid 5129] setpgid(0, 0 [pid 5128] <... symlink resumed>) = 0 [pid 5129] <... setpgid resumed>) = 0 [pid 5129] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5128] memfd_create("syzkaller", 0 [pid 5127] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5129] <... openat resumed>) = 3 [pid 5128] <... memfd_create resumed>) = 3 [pid 5127] <... openat resumed>) = 4 [pid 5126] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5081] <... umount2 resumed>) = 0 [pid 5128] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5127] ioctl(4, LOOP_SET_FD, 3 [pid 5129] write(3, "1000", 4 [pid 5125] <... write resumed>) = 524288 [pid 5129] <... write resumed>) = 4 [pid 5129] close(3) = 0 [pid 5129] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5129] memfd_create("syzkaller", 0 [pid 5081] umount2("./6/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5129] <... memfd_create resumed>) = 3 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5081] newfstatat(AT_FDCWD, "./6/bus", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5081] umount2("./6/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5081] openat(AT_FDCWD, "./6/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5129] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5125] munmap(0x7f8a3a600000, 138412032 [pid 5129] <... mmap resumed>) = 0x7f8a3a600000 [pid 5128] <... mmap resumed>) = 0x7f8a3a600000 [pid 5125] <... munmap resumed>) = 0 [pid 5081] <... openat resumed>) = 4 [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 5081] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5081] getdents64(4, [pid 5125] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5081] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5125] <... openat resumed>) = -1 EBUSY (Device or resource busy) [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 5125] close(5 [pid 5081] getdents64(4, [pid 5127] <... ioctl resumed>) = 0 [pid 5126] <... symlink resumed>) = 0 [pid 5081] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5081] close(4) = 0 [pid 5081] rmdir("./6/bus" [pid 5128] <... write resumed>) = 524288 [pid 5127] close(3 [pid 5126] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5081] <... rmdir resumed>) = 0 [pid 5129] <... write resumed>) = 524288 [pid 5127] <... close resumed>) = 0 [pid 5128] munmap(0x7f8a3a600000, 138412032 [ 115.522548][ T5127] loop4: detected capacity change from 0 to 1024 [pid 5127] close(4 [pid 5128] <... munmap resumed>) = 0 [pid 5127] <... close resumed>) = 0 [pid 5126] <... creat resumed>) = 4 [pid 5127] mkdir("./bus", 0777 [pid 5126] rename("./bus", "./file2" [pid 5127] <... mkdir resumed>) = 0 [pid 5126] <... rename resumed>) = -1 EEXIST (File exists) [pid 5081] umount2("./6/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5125] <... close resumed>) = 0 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5081] newfstatat(AT_FDCWD, "./6/binderfs", [pid 5128] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5127] mount("/dev/loop4", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5126] memfd_create("syzkaller", 0) = 5 [pid 5081] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5081] unlink("./6/binderfs" [pid 5125] creat("./file1", 000 [pid 5081] <... unlink resumed>) = 0 [pid 5128] <... openat resumed>) = 4 [pid 5126] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5081] getdents64(3, 0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5081] close(3 [pid 5128] ioctl(4, LOOP_SET_FD, 3 [pid 5126] <... mmap resumed>) = 0x7f8a3a600000 [pid 5081] <... close resumed>) = 0 [pid 5129] munmap(0x7f8a3a600000, 138412032 [pid 5081] rmdir("./6" [pid 5129] <... munmap resumed>) = 0 [pid 5081] <... rmdir resumed>) = 0 [pid 5129] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5081] mkdir("./7", 0777) = 0 [pid 5129] <... openat resumed>) = 4 [pid 5129] ioctl(4, LOOP_SET_FD, 3 [pid 5081] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5126] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... creat resumed>) = 5 [pid 5081] <... openat resumed>) = 3 [pid 5125] exit_group(0 [pid 5127] <... mount resumed>) = 0 [pid 5127] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5125] <... exit_group resumed>) = ? [pid 5128] <... ioctl resumed>) = 0 [pid 5127] <... openat resumed>) = 3 [pid 5128] close(3 [pid 5127] chdir("./bus" [pid 5125] +++ exited with 0 +++ [pid 5128] <... close resumed>) = 0 [pid 5127] <... chdir resumed>) = 0 [pid 5077] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5125, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5128] close(4 [pid 5127] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5128] <... close resumed>) = 0 [pid 5129] <... ioctl resumed>) = 0 [pid 5128] mkdir("./bus", 0777 [pid 5127] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5126] <... write resumed>) = 524288 [pid 5081] ioctl(3, LOOP_CLR_FD [pid 5129] close(3 [pid 5128] <... mkdir resumed>) = 0 [pid 5127] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5126] munmap(0x7f8a3a600000, 138412032 [pid 5129] <... close resumed>) = 0 [pid 5128] mount("/dev/loop0", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5127] <... symlink resumed>) = 0 [pid 5126] <... munmap resumed>) = 0 [pid 5129] close(4 [pid 5127] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5126] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5077] umount2("./6", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5129] <... close resumed>) = 0 [pid 5126] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [ 115.618757][ T5128] loop0: detected capacity change from 0 to 1024 [ 115.634503][ T5129] loop3: detected capacity change from 0 to 1024 [pid 5129] mkdir("./bus", 0777 [pid 5077] newfstatat(3, "", [pid 5129] <... mkdir resumed>) = 0 [pid 5126] close(5 [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5077] getdents64(3, 0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5077] umount2("./6/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5129] mount("/dev/loop3", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5127] <... creat resumed>) = 4 [pid 5127] rename("./bus", "./file2") = -1 EEXIST (File exists) [pid 5127] memfd_create("syzkaller", 0) = 5 [pid 5128] <... mount resumed>) = 0 [pid 5127] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5077] <... umount2 resumed>) = 0 [pid 5128] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5127] <... mmap resumed>) = 0x7f8a3a600000 [pid 5128] <... openat resumed>) = 3 [pid 5127] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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("./bus") = 0 [pid 5128] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5128] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5126] <... close resumed>) = 0 [pid 5128] <... symlink resumed>) = 0 [pid 5128] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5126] creat("./file1", 000 [pid 5077] umount2("./6/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5081] <... ioctl resumed>) = 0 [pid 5077] newfstatat(AT_FDCWD, "./6/bus", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5077] umount2("./6/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5077] openat(AT_FDCWD, "./6/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5077] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5077] getdents64(4, 0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5077] getdents64(4, 0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5128] <... creat resumed>) = 4 [pid 5081] close(3 [pid 5077] close(4 [pid 5081] <... close resumed>) = 0 [pid 5077] <... close resumed>) = 0 [pid 5128] rename("./bus", "./file2" [pid 5081] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5077] rmdir("./6/bus") = 0 [pid 5077] umount2("./6/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5077] newfstatat(AT_FDCWD, "./6/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5081] <... clone resumed>, child_tidptr=0x555555c35650) = 5130 [pid 5077] unlink("./6/binderfs" [pid 5129] <... mount resumed>) = 0 [pid 5128] <... rename resumed>) = -1 EEXIST (File exists) [pid 5077] <... unlink resumed>) = 0 [pid 5129] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5128] memfd_create("syzkaller", 0 [pid 5077] getdents64(3, [pid 5128] <... memfd_create resumed>) = 5 [pid 5077] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5077] close(3) = 0 [pid 5129] <... openat resumed>) = 3 [pid 5128] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5127] <... write resumed>) = 524288 [pid 5077] rmdir("./6" [pid 5129] chdir("./bus" [pid 5128] <... mmap resumed>) = 0x7f8a3a600000 ./strace-static-x86_64: Process 5130 attached [pid 5129] <... chdir resumed>) = 0 [pid 5128] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... creat resumed>) = 5 [pid 5077] <... rmdir resumed>) = 0 [pid 5129] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5126] exit_group(0 [pid 5130] set_robust_list(0x555555c35660, 24 [pid 5129] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5126] <... exit_group resumed>) = ? [pid 5130] <... set_robust_list resumed>) = 0 [pid 5129] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5130] chdir("./7") = 0 [pid 5129] <... symlink resumed>) = 0 [pid 5127] munmap(0x7f8a3a600000, 138412032 [pid 5077] mkdir("./7", 0777 [pid 5130] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5129] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5127] <... munmap resumed>) = 0 [pid 5130] <... prctl resumed>) = 0 [pid 5126] +++ exited with 0 +++ [pid 5077] <... mkdir resumed>) = 0 [pid 5130] setpgid(0, 0 [pid 5127] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5077] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5130] <... setpgid resumed>) = 0 [pid 5129] <... creat resumed>) = 4 [pid 5128] <... write resumed>) = 524288 [pid 5127] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5077] <... openat resumed>) = 3 [pid 5076] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5126, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5129] rename("./bus", "./file2" [pid 5077] ioctl(3, LOOP_CLR_FD [pid 5130] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5127] close(5 [pid 5076] umount2("./6", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5130] <... openat resumed>) = 3 [pid 5127] <... close resumed>) = 0 [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5130] write(3, "1000", 4 [pid 5076] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5130] <... write resumed>) = 4 [pid 5130] close(3 [pid 5076] <... openat resumed>) = 3 [pid 5130] <... close resumed>) = 0 [pid 5076] newfstatat(3, "", [pid 5129] <... rename resumed>) = -1 EEXIST (File exists) [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5129] memfd_create("syzkaller", 0 [pid 5076] getdents64(3, [pid 5129] <... memfd_create resumed>) = 5 [pid 5076] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5076] umount2("./6/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5130] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5129] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5130] memfd_create("syzkaller", 0) = 3 [pid 5130] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5129] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] creat("./file1", 000 [pid 5128] munmap(0x7f8a3a600000, 138412032 [pid 5077] <... ioctl resumed>) = 0 [pid 5128] <... munmap resumed>) = 0 [pid 5128] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5128] close(5 [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] <... close resumed>) = 0 [pid 5127] <... creat resumed>) = 5 [pid 5077] close(3 [pid 5127] exit_group(0 [pid 5077] <... close resumed>) = 0 [pid 5077] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5130] <... write resumed>) = 524288 [pid 5127] <... exit_group resumed>) = ? [pid 5127] +++ exited with 0 +++ [pid 5077] <... clone resumed>, child_tidptr=0x555555c35650) = 5131 [pid 5079] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5127, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5079] umount2("./6", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5079] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5076] <... umount2 resumed>) = 0 ./strace-static-x86_64: Process 5131 attached [pid 5128] creat("./file1", 000 [pid 5079] <... openat resumed>) = 3 [pid 5131] set_robust_list(0x555555c35660, 24 [pid 5079] newfstatat(3, "", [pid 5131] <... set_robust_list resumed>) = 0 [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5131] chdir("./7") = 0 [pid 5129] <... write resumed>) = 524288 [pid 5079] getdents64(3, [pid 5131] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5079] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5131] <... prctl resumed>) = 0 [pid 5130] munmap(0x7f8a3a600000, 138412032 [pid 5128] <... creat resumed>) = 5 [pid 5079] umount2("./6/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] umount2("./6/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5128] exit_group(0 [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5131] setpgid(0, 0 [pid 5130] <... munmap resumed>) = 0 [pid 5129] munmap(0x7f8a3a600000, 138412032 [pid 5128] <... exit_group resumed>) = ? [pid 5076] newfstatat(AT_FDCWD, "./6/bus", [pid 5131] <... setpgid resumed>) = 0 [pid 5129] <... munmap resumed>) = 0 [pid 5128] +++ exited with 0 +++ [pid 5131] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5130] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5075] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5128, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5129] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5079] <... umount2 resumed>) = 0 [pid 5075] umount2("./7", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5130] <... openat resumed>) = 4 [pid 5129] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5076] umount2("./6/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5131] <... openat resumed>) = 3 [pid 5129] close(5 [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5130] ioctl(4, LOOP_SET_FD, 3 [pid 5076] openat(AT_FDCWD, "./6/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5131] write(3, "1000", 4 [pid 5076] <... openat resumed>) = 4 [pid 5075] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5075] newfstatat(3, "", [pid 5131] <... write resumed>) = 4 [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5131] close(3 [pid 5075] getdents64(3, [pid 5076] newfstatat(4, "", [pid 5131] <... close resumed>) = 0 [pid 5079] umount2("./6/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5075] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5131] symlink("/dev/binderfs", "./binderfs" [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] umount2("./7/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5131] <... symlink resumed>) = 0 [pid 5079] newfstatat(AT_FDCWD, "./6/bus", [pid 5131] memfd_create("syzkaller", 0 [pid 5129] <... close resumed>) = 0 [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5076] getdents64(4, [pid 5079] umount2("./6/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5131] <... memfd_create resumed>) = 3 [pid 5079] openat(AT_FDCWD, "./6/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5076] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5131] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5079] newfstatat(4, "", [pid 5076] getdents64(4, [pid 5131] <... mmap resumed>) = 0x7f8a3a600000 [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [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 5079] getdents64(4, [pid 5076] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5079] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5076] close(4 [pid 5079] getdents64(4, [pid 5075] <... umount2 resumed>) = 0 [pid 5129] creat("./file1", 000 [pid 5079] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5079] close(4 [pid 5076] <... close resumed>) = 0 [pid 5079] <... close resumed>) = 0 [pid 5079] rmdir("./6/bus") = 0 [pid 5075] umount2("./7/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] umount2("./6/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5079] newfstatat(AT_FDCWD, "./6/binderfs", [pid 5075] newfstatat(AT_FDCWD, "./7/bus", [pid 5079] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5075] umount2("./7/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5130] <... ioctl resumed>) = 0 [pid 5129] <... creat resumed>) = 5 [pid 5079] unlink("./6/binderfs" [pid 5076] rmdir("./6/bus" [ 115.968227][ T5130] loop5: detected capacity change from 0 to 1024 [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5131] <... write resumed>) = 524288 [pid 5130] close(3 [pid 5129] exit_group(0 [pid 5079] <... unlink resumed>) = 0 [pid 5075] openat(AT_FDCWD, "./7/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5129] <... exit_group resumed>) = ? [pid 5075] newfstatat(4, "", [pid 5076] <... rmdir resumed>) = 0 [pid 5130] <... close resumed>) = 0 [pid 5130] close(4 [pid 5076] umount2("./6/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5130] <... close resumed>) = 0 [pid 5076] newfstatat(AT_FDCWD, "./6/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5130] mkdir("./bus", 0777 [pid 5076] unlink("./6/binderfs" [pid 5130] <... mkdir resumed>) = 0 [pid 5076] <... unlink resumed>) = 0 [pid 5130] mount("/dev/loop5", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5076] getdents64(3, 0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5079] getdents64(3, [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5076] close(3 [pid 5079] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5076] <... close resumed>) = 0 [pid 5075] getdents64(4, [pid 5076] rmdir("./6" [pid 5079] close(3 [pid 5076] <... rmdir resumed>) = 0 [pid 5075] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5079] <... close resumed>) = 0 [pid 5075] getdents64(4, [pid 5079] rmdir("./6" [pid 5075] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5129] +++ exited with 0 +++ [pid 5079] <... rmdir resumed>) = 0 [pid 5075] close(4) = 0 [pid 5075] rmdir("./7/bus") = 0 [pid 5075] umount2("./7/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5075] newfstatat(AT_FDCWD, "./7/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5079] mkdir("./7", 0777) = 0 [pid 5078] --- 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 5076] mkdir("./7", 0777 [pid 5075] unlink("./7/binderfs" [pid 5130] <... mount resumed>) = 0 [pid 5131] munmap(0x7f8a3a600000, 138412032 [pid 5130] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5079] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5131] <... munmap resumed>) = 0 [pid 5130] <... openat resumed>) = 3 [pid 5079] <... openat resumed>) = 3 [pid 5076] <... mkdir resumed>) = 0 [pid 5130] chdir("./bus" [pid 5079] ioctl(3, LOOP_CLR_FD [pid 5078] umount2("./7", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5075] <... unlink resumed>) = 0 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5130] <... chdir resumed>) = 0 [pid 5078] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5076] <... openat resumed>) = 3 [pid 5131] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5130] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5078] <... openat resumed>) = 3 [pid 5076] ioctl(3, LOOP_CLR_FD [pid 5075] getdents64(3, [pid 5131] <... openat resumed>) = 4 [pid 5078] newfstatat(3, "", [pid 5075] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5078] getdents64(3, [pid 5075] close(3 [pid 5078] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5075] <... close resumed>) = 0 [pid 5078] umount2("./7/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5130] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5130] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5075] rmdir("./7" [pid 5131] ioctl(4, LOOP_SET_FD, 3 [pid 5078] <... umount2 resumed>) = 0 [pid 5131] <... ioctl resumed>) = 0 [pid 5078] umount2("./7/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] <... rmdir resumed>) = 0 [pid 5131] close(3 [pid 5130] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5131] <... close resumed>) = 0 [pid 5078] newfstatat(AT_FDCWD, "./7/bus", [pid 5075] mkdir("./8", 0777 [pid 5131] close(4) = 0 [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5075] <... mkdir resumed>) = 0 [pid 5131] mkdir("./bus", 0777 [pid 5078] umount2("./7/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5131] <... mkdir resumed>) = 0 [pid 5079] <... ioctl resumed>) = 0 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5130] <... creat resumed>) = 4 [pid 5075] <... openat resumed>) = 3 [pid 5075] ioctl(3, LOOP_CLR_FD [pid 5130] rename("./bus", "./file2" [pid 5078] openat(AT_FDCWD, "./7/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5076] <... ioctl resumed>) = 0 [pid 5078] <... openat resumed>) = 4 [pid 5131] mount("/dev/loop2", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5076] close(3 [pid 5078] newfstatat(4, "", [pid 5130] <... rename resumed>) = -1 EEXIST (File exists) [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5076] <... close resumed>) = 0 [pid 5130] memfd_create("syzkaller", 0 [pid 5078] getdents64(4, [pid 5076] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5130] <... memfd_create resumed>) = 5 [pid 5078] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5130] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5078] getdents64(4, 0x555555c3e730 /* 0 entries */, 32768) = 0 [ 116.086516][ T5131] loop2: detected capacity change from 0 to 1024 [pid 5130] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5078] close(4 [pid 5079] close(3) = 0 [pid 5079] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5132 attached [pid 5078] <... close resumed>) = 0 [pid 5075] <... ioctl resumed>) = 0 [pid 5132] set_robust_list(0x555555c35660, 24 [pid 5078] rmdir("./7/bus" [pid 5076] <... clone resumed>, child_tidptr=0x555555c35650) = 5132 [pid 5132] <... set_robust_list resumed>) = 0 [pid 5131] <... mount resumed>) = 0 [pid 5078] <... rmdir resumed>) = 0 [pid 5131] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5132] chdir("./7" [pid 5131] <... openat resumed>) = 3 [pid 5130] <... write resumed>) = 524288 [pid 5079] <... clone resumed>, child_tidptr=0x555555c35650) = 5133 [pid 5078] umount2("./7/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5132] <... chdir resumed>) = 0 [pid 5132] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 ./strace-static-x86_64: Process 5133 attached [pid 5132] setpgid(0, 0 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5133] set_robust_list(0x555555c35660, 24 [pid 5132] <... setpgid resumed>) = 0 [pid 5133] <... set_robust_list resumed>) = 0 [pid 5132] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5078] newfstatat(AT_FDCWD, "./7/binderfs", [pid 5133] chdir("./7" [pid 5075] close(3 [pid 5078] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5133] <... chdir resumed>) = 0 [pid 5133] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5133] setpgid(0, 0 [pid 5132] <... openat resumed>) = 3 [pid 5133] <... setpgid resumed>) = 0 [pid 5133] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5132] write(3, "1000", 4 [pid 5131] chdir("./bus" [pid 5078] unlink("./7/binderfs" [pid 5075] <... close resumed>) = 0 [pid 5131] <... chdir resumed>) = 0 [pid 5132] <... write resumed>) = 4 [pid 5130] munmap(0x7f8a3a600000, 138412032 [pid 5132] close(3 [pid 5131] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5130] <... munmap resumed>) = 0 [pid 5075] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5132] <... close resumed>) = 0 [pid 5130] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5078] <... unlink resumed>) = 0 [pid 5133] write(3, "1000", 4 [pid 5132] symlink("/dev/binderfs", "./binderfs" [pid 5131] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5130] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5078] getdents64(3, [pid 5132] <... symlink resumed>) = 0 [pid 5131] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5130] close(5 [pid 5078] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5075] <... clone resumed>, child_tidptr=0x555555c35650) = 5134 [pid 5132] memfd_create("syzkaller", 0 [pid 5131] <... symlink resumed>) = 0 [pid 5132] <... memfd_create resumed>) = 3 [pid 5078] close(3 [pid 5133] <... write resumed>) = 4 [pid 5132] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5130] <... close resumed>) = 0 [pid 5078] <... close resumed>) = 0 [pid 5133] close(3 [pid 5132] <... mmap resumed>) = 0x7f8a3a600000 [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 5131] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5078] rmdir("./7"./strace-static-x86_64: Process 5134 attached [pid 5133] symlink("/dev/binderfs", "./binderfs" [pid 5134] set_robust_list(0x555555c35660, 24 [pid 5133] <... symlink resumed>) = 0 [pid 5134] <... set_robust_list resumed>) = 0 [pid 5133] memfd_create("syzkaller", 0 [pid 5134] chdir("./8" [pid 5133] <... memfd_create resumed>) = 3 [pid 5078] <... rmdir resumed>) = 0 [pid 5134] <... chdir resumed>) = 0 [pid 5133] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5134] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5133] <... mmap resumed>) = 0x7f8a3a600000 [pid 5134] <... prctl resumed>) = 0 [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 5134] setpgid(0, 0) = 0 [pid 5078] mkdir("./8", 0777 [pid 5134] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5078] <... mkdir resumed>) = 0 [pid 5134] <... openat resumed>) = 3 [pid 5131] <... creat resumed>) = 4 [pid 5130] creat("./file1", 000 [pid 5078] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5134] write(3, "1000", 4 [pid 5131] rename("./bus", "./file2" [pid 5134] <... write resumed>) = 4 [pid 5078] <... openat resumed>) = 3 [pid 5134] close(3) = 0 [pid 5078] ioctl(3, LOOP_CLR_FD [pid 5134] symlink("/dev/binderfs", "./binderfs" [pid 5132] <... write resumed>) = 524288 [pid 5134] <... symlink resumed>) = 0 [pid 5131] <... rename resumed>) = -1 EEXIST (File exists) [pid 5134] memfd_create("syzkaller", 0 [pid 5131] memfd_create("syzkaller", 0 [pid 5134] <... memfd_create resumed>) = 3 [pid 5134] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5131] <... memfd_create resumed>) = 5 [pid 5134] <... mmap resumed>) = 0x7f8a3a600000 [pid 5131] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5130] <... creat resumed>) = 5 [pid 5130] exit_group(0) = ? [pid 5131] <... mmap resumed>) = 0x7f8a3a600000 [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 5131] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5130] +++ exited with 0 +++ [pid 5132] munmap(0x7f8a3a600000, 138412032 [pid 5081] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5130, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5132] <... munmap resumed>) = 0 [pid 5133] <... write resumed>) = 524288 [pid 5132] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5081] umount2("./7", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5081] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5081] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5081] getdents64(3, [pid 5134] <... write resumed>) = 524288 [pid 5133] munmap(0x7f8a3a600000, 138412032 [pid 5132] <... openat resumed>) = 4 [pid 5081] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5081] umount2("./7/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5132] ioctl(4, LOOP_SET_FD, 3 [pid 5133] <... munmap resumed>) = 0 [pid 5133] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5133] ioctl(4, LOOP_SET_FD, 3 [pid 5078] <... ioctl resumed>) = 0 [pid 5081] <... umount2 resumed>) = 0 [pid 5134] munmap(0x7f8a3a600000, 138412032 [pid 5132] <... ioctl resumed>) = 0 [pid 5078] close(3 [pid 5134] <... munmap resumed>) = 0 [pid 5132] close(3 [pid 5078] <... close resumed>) = 0 [pid 5132] <... close resumed>) = 0 [pid 5134] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5132] close(4) = 0 [pid 5078] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5134] <... openat resumed>) = 4 [pid 5132] mkdir("./bus", 0777 [pid 5081] umount2("./7/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5132] <... mkdir resumed>) = 0 [pid 5132] mount("/dev/loop1", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 116.323774][ T5132] loop1: detected capacity change from 0 to 1024 [ 116.348815][ T5133] loop4: detected capacity change from 0 to 1024 [pid 5081] newfstatat(AT_FDCWD, "./7/bus", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5134] ioctl(4, LOOP_SET_FD, 3 [pid 5081] umount2("./7/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5078] <... clone resumed>, child_tidptr=0x555555c35650) = 5135 ./strace-static-x86_64: Process 5135 attached [pid 5133] <... ioctl resumed>) = 0 [pid 5131] <... write resumed>) = 524288 [pid 5133] close(3 [pid 5135] set_robust_list(0x555555c35660, 24 [pid 5133] <... close resumed>) = 0 [pid 5131] munmap(0x7f8a3a600000, 138412032 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5133] close(4 [pid 5081] openat(AT_FDCWD, "./7/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5135] <... set_robust_list resumed>) = 0 [pid 5133] <... close resumed>) = 0 [pid 5081] <... openat resumed>) = 4 [pid 5135] chdir("./8" [pid 5133] mkdir("./bus", 0777 [pid 5081] newfstatat(4, "", [pid 5133] <... mkdir resumed>) = 0 [pid 5132] <... mount resumed>) = 0 [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5135] <... chdir resumed>) = 0 [pid 5132] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5081] getdents64(4, [pid 5135] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5133] mount("/dev/loop4", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5132] <... openat resumed>) = 3 [pid 5131] <... munmap resumed>) = 0 [pid 5135] <... prctl resumed>) = 0 [pid 5134] <... ioctl resumed>) = 0 [pid 5132] chdir("./bus" [pid 5135] setpgid(0, 0 [pid 5134] close(3 [pid 5132] <... chdir resumed>) = 0 [pid 5081] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5134] <... close resumed>) = 0 [pid 5132] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5081] getdents64(4, [pid 5134] close(4 [pid 5132] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5081] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5135] <... setpgid resumed>) = 0 [pid 5134] <... close resumed>) = 0 [pid 5132] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5081] close(4 [pid 5135] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5134] mkdir("./bus", 0777 [pid 5131] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5081] <... close resumed>) = 0 [pid 5134] <... mkdir resumed>) = 0 [pid 5132] <... symlink resumed>) = 0 [pid 5131] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5081] rmdir("./7/bus" [pid 5135] <... openat resumed>) = 3 [pid 5134] mount("/dev/loop0", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5133] <... mount resumed>) = 0 [ 116.379621][ T5134] loop0: detected capacity change from 0 to 1024 [pid 5132] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5131] close(5 [pid 5081] <... rmdir resumed>) = 0 [pid 5133] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5081] umount2("./7/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5081] newfstatat(AT_FDCWD, "./7/binderfs", [pid 5133] <... openat resumed>) = 3 [pid 5081] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5135] write(3, "1000", 4 [pid 5133] chdir("./bus" [pid 5132] <... creat resumed>) = 4 [pid 5081] unlink("./7/binderfs" [pid 5135] <... write resumed>) = 4 [pid 5133] <... chdir resumed>) = 0 [pid 5081] <... unlink resumed>) = 0 [pid 5135] close(3 [pid 5133] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5132] rename("./bus", "./file2" [pid 5135] <... close resumed>) = 0 [pid 5134] <... mount resumed>) = 0 [pid 5133] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5081] getdents64(3, [pid 5135] symlink("/dev/binderfs", "./binderfs" [pid 5134] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5133] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5081] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5135] <... symlink resumed>) = 0 [pid 5134] <... openat resumed>) = 3 [pid 5131] <... close resumed>) = 0 [pid 5081] close(3 [pid 5135] memfd_create("syzkaller", 0 [pid 5134] chdir("./bus" [pid 5081] <... close resumed>) = 0 [pid 5135] <... memfd_create resumed>) = 3 [pid 5135] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5134] <... chdir resumed>) = 0 [pid 5081] rmdir("./7" [pid 5135] <... mmap resumed>) = 0x7f8a3a600000 [pid 5134] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5131] creat("./file1", 000 [pid 5081] <... rmdir resumed>) = 0 [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 5134] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5133] <... symlink resumed>) = 0 [pid 5132] <... rename resumed>) = -1 EEXIST (File exists) [pid 5081] mkdir("./8", 0777) = 0 [pid 5134] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5133] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5132] memfd_create("syzkaller", 0) = 5 [pid 5132] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5081] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5131] <... creat resumed>) = 5 [pid 5134] <... symlink resumed>) = 0 [pid 5131] exit_group(0 [pid 5134] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5081] ioctl(3, LOOP_CLR_FD [pid 5131] <... exit_group resumed>) = ? [pid 5133] <... creat resumed>) = 4 [pid 5133] rename("./bus", "./file2" [pid 5132] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5131] +++ exited with 0 +++ [pid 5077] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5131, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5133] <... rename resumed>) = -1 EEXIST (File exists) [pid 5133] memfd_create("syzkaller", 0 [pid 5077] umount2("./7", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5077] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5133] <... memfd_create resumed>) = 5 [pid 5132] <... write resumed>) = 524288 [pid 5077] <... openat resumed>) = 3 [pid 5134] <... creat resumed>) = 4 [pid 5133] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5135] <... write resumed>) = 524288 [pid 5134] rename("./bus", "./file2" [pid 5133] <... mmap resumed>) = 0x7f8a3a600000 [pid 5077] newfstatat(3, "", [pid 5081] <... ioctl resumed>) = 0 [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5134] <... rename resumed>) = -1 EEXIST (File exists) [pid 5077] getdents64(3, [pid 5134] memfd_create("syzkaller", 0) = 5 [pid 5077] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5133] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5135] munmap(0x7f8a3a600000, 138412032 [pid 5134] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5132] munmap(0x7f8a3a600000, 138412032 [pid 5134] <... mmap resumed>) = 0x7f8a3a600000 [pid 5132] <... munmap resumed>) = 0 [pid 5135] <... munmap resumed>) = 0 [pid 5077] umount2("./7/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5132] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5135] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5132] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5135] <... openat resumed>) = 4 [pid 5134] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] close(5 [pid 5135] ioctl(4, LOOP_SET_FD, 3 [pid 5133] <... write resumed>) = 524288 [pid 5133] munmap(0x7f8a3a600000, 138412032) = 0 [pid 5135] <... ioctl resumed>) = 0 [pid 5135] close(3 [pid 5134] <... write resumed>) = 524288 [pid 5133] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5081] close(3 [pid 5135] <... close resumed>) = 0 [pid 5133] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5134] munmap(0x7f8a3a600000, 138412032 [pid 5135] close(4 [pid 5133] close(5 [pid 5135] <... close resumed>) = 0 [pid 5081] <... close resumed>) = 0 [pid 5135] mkdir("./bus", 0777) = 0 [pid 5134] <... munmap resumed>) = 0 [pid 5081] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5135] mount("/dev/loop3", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5134] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5132] <... close resumed>) = 0 [pid 5134] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5134] close(5./strace-static-x86_64: Process 5136 attached [pid 5133] <... close resumed>) = 0 [pid 5077] <... umount2 resumed>) = 0 [pid 5136] set_robust_list(0x555555c35660, 24 [pid 5081] <... clone resumed>, child_tidptr=0x555555c35650) = 5136 [pid 5136] <... set_robust_list resumed>) = 0 [ 116.597069][ T5135] loop3: detected capacity change from 0 to 1024 [pid 5136] chdir("./8" [pid 5135] <... mount resumed>) = 0 [pid 5133] creat("./file1", 000 [pid 5132] creat("./file1", 000 [pid 5134] <... close resumed>) = 0 [pid 5136] <... chdir resumed>) = 0 [pid 5135] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5134] creat("./file1", 000 [pid 5136] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5135] <... openat resumed>) = 3 [pid 5077] umount2("./7/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5136] <... prctl resumed>) = 0 [pid 5135] chdir("./bus") = 0 [pid 5133] <... creat resumed>) = 5 [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5136] setpgid(0, 0) = 0 [pid 5135] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5134] <... creat resumed>) = 5 [pid 5133] exit_group(0 [pid 5136] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5135] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5134] exit_group(0 [pid 5132] <... creat resumed>) = 5 [pid 5133] <... exit_group resumed>) = ? [pid 5077] newfstatat(AT_FDCWD, "./7/bus", [pid 5136] <... openat resumed>) = 3 [pid 5135] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5134] <... exit_group resumed>) = ? [pid 5132] exit_group(0) = ? [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5136] write(3, "1000", 4 [pid 5133] +++ exited with 0 +++ [pid 5132] +++ exited with 0 +++ [pid 5077] umount2("./7/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5136] <... write resumed>) = 4 [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5136] close(3 [pid 5079] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5133, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5077] openat(AT_FDCWD, "./7/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5076] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5132, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5136] <... close resumed>) = 0 [pid 5135] <... symlink resumed>) = 0 [pid 5134] +++ exited with 0 +++ [pid 5077] <... openat resumed>) = 4 [pid 5076] umount2("./7", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5136] symlink("/dev/binderfs", "./binderfs" [pid 5135] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5134, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5136] <... symlink resumed>) = 0 [pid 5079] umount2("./7", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5075] restart_syscall(<... resuming interrupted clone ...> [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] newfstatat(4, "", [pid 5076] <... openat resumed>) = 3 [pid 5075] <... restart_syscall resumed>) = 0 [pid 5136] memfd_create("syzkaller", 0 [pid 5079] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5076] newfstatat(3, "", [pid 5136] <... memfd_create resumed>) = 3 [pid 5135] <... creat resumed>) = 4 [pid 5136] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5135] rename("./bus", "./file2" [pid 5079] <... openat resumed>) = 3 [pid 5075] umount2("./8", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5075] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5079] newfstatat(3, "", [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5075] <... openat resumed>) = 3 [pid 5136] <... mmap resumed>) = 0x7f8a3a600000 [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5076] getdents64(3, [pid 5075] newfstatat(3, "", [pid 5079] getdents64(3, 0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5076] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5079] umount2("./7/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] umount2("./7/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] getdents64(3, 0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5077] getdents64(4, [pid 5075] umount2("./8/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5077] getdents64(4, 0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5077] close(4) = 0 [pid 5077] rmdir("./7/bus") = 0 [pid 5077] umount2("./7/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5077] newfstatat(AT_FDCWD, "./7/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, 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 5077] unlink("./7/binderfs") = 0 [pid 5077] getdents64(3, 0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5077] close(3) = 0 [pid 5077] rmdir("./7") = 0 [pid 5077] mkdir("./8", 0777 [pid 5135] <... rename resumed>) = -1 EEXIST (File exists) [pid 5077] <... mkdir resumed>) = 0 [pid 5135] memfd_create("syzkaller", 0) = 5 [pid 5135] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5077] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5136] <... write resumed>) = 524288 [pid 5135] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5076] <... umount2 resumed>) = 0 [pid 5077] <... openat resumed>) = 3 [pid 5136] munmap(0x7f8a3a600000, 138412032 [pid 5079] <... umount2 resumed>) = 0 [pid 5077] ioctl(3, LOOP_CLR_FD [pid 5136] <... munmap resumed>) = 0 [pid 5079] umount2("./7/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] umount2("./7/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] <... umount2 resumed>) = 0 [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5076] newfstatat(AT_FDCWD, "./7/bus", [pid 5075] umount2("./8/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5136] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5135] <... write resumed>) = 524288 [pid 5079] newfstatat(AT_FDCWD, "./7/bus", [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5075] newfstatat(AT_FDCWD, "./8/bus", [pid 5135] munmap(0x7f8a3a600000, 138412032 [pid 5079] umount2("./7/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] umount2("./7/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] umount2("./8/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] openat(AT_FDCWD, "./7/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5076] openat(AT_FDCWD, "./7/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5136] <... openat resumed>) = 4 [pid 5079] <... openat resumed>) = 4 [pid 5076] <... openat resumed>) = 4 [pid 5075] openat(AT_FDCWD, "./8/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5135] <... munmap resumed>) = 0 [pid 5136] ioctl(4, LOOP_SET_FD, 3 [pid 5135] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5079] newfstatat(4, "", [pid 5076] newfstatat(4, "", [pid 5075] <... openat resumed>) = 4 [pid 5135] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5135] close(5 [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5075] newfstatat(4, "", [pid 5076] getdents64(4, [pid 5079] getdents64(4, [pid 5076] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5079] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5076] getdents64(4, [pid 5075] getdents64(4, [pid 5079] getdents64(4, [pid 5076] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5079] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5076] close(4 [pid 5075] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5135] <... close resumed>) = 0 [pid 5079] close(4 [pid 5076] <... close resumed>) = 0 [pid 5075] getdents64(4, [pid 5136] <... ioctl resumed>) = 0 [pid 5136] close(3) = 0 [pid 5079] <... close resumed>) = 0 [pid 5076] rmdir("./7/bus" [pid 5075] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5136] close(4 [pid 5079] rmdir("./7/bus" [pid 5136] <... close resumed>) = 0 [pid 5136] mkdir("./bus", 0777 [pid 5076] <... rmdir resumed>) = 0 [pid 5136] <... mkdir resumed>) = 0 [pid 5135] creat("./file1", 000 [pid 5079] <... rmdir resumed>) = 0 [pid 5075] close(4 [pid 5076] umount2("./7/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5136] mount("/dev/loop5", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5075] <... close resumed>) = 0 [pid 5079] umount2("./7/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] rmdir("./8/bus" [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5076] newfstatat(AT_FDCWD, "./7/binderfs", [pid 5079] newfstatat(AT_FDCWD, "./7/binderfs", [pid 5075] <... rmdir resumed>) = 0 [pid 5076] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5077] <... ioctl resumed>) = 0 [pid 5077] close(3) = 0 [ 116.779512][ T5136] loop5: detected capacity change from 0 to 1024 [pid 5077] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5135] <... creat resumed>) = 5 [pid 5079] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5076] unlink("./7/binderfs" [pid 5075] umount2("./8/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5135] exit_group(0) = ? [pid 5079] unlink("./7/binderfs" [pid 5076] <... unlink resumed>) = 0 [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] newfstatat(AT_FDCWD, "./8/binderfs", ./strace-static-x86_64: Process 5137 attached [pid 5135] +++ exited with 0 +++ [pid 5079] <... unlink resumed>) = 0 [pid 5077] <... clone resumed>, child_tidptr=0x555555c35650) = 5137 [pid 5076] getdents64(3, [pid 5075] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5137] set_robust_list(0x555555c35660, 24 [pid 5079] getdents64(3, [pid 5137] <... set_robust_list resumed>) = 0 [pid 5076] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5075] unlink("./8/binderfs" [pid 5079] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5137] chdir("./8" [pid 5136] <... mount resumed>) = 0 [pid 5079] close(3 [pid 5078] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5135, si_uid=0, si_status=0, si_utime=0, si_stime=8 /* 0.08 s */} --- [pid 5076] close(3 [pid 5075] <... unlink resumed>) = 0 [pid 5137] <... chdir resumed>) = 0 [pid 5136] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5079] <... close resumed>) = 0 [pid 5137] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5136] <... openat resumed>) = 3 [pid 5079] rmdir("./7" [pid 5076] <... close resumed>) = 0 [pid 5075] getdents64(3, [pid 5137] <... prctl resumed>) = 0 [pid 5136] chdir("./bus" [pid 5078] umount2("./8", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5137] setpgid(0, 0 [pid 5136] <... chdir resumed>) = 0 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5137] <... setpgid resumed>) = 0 [pid 5136] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5079] <... rmdir resumed>) = 0 [pid 5078] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5076] rmdir("./7" [pid 5075] close(3 [pid 5137] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5136] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5079] mkdir("./8", 0777 [pid 5078] <... openat resumed>) = 3 [pid 5136] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5078] newfstatat(3, "", [pid 5075] <... close resumed>) = 0 [pid 5137] <... openat resumed>) = 3 [pid 5079] <... mkdir resumed>) = 0 [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5137] write(3, "1000", 4 [pid 5078] getdents64(3, [pid 5075] rmdir("./8" [pid 5137] <... write resumed>) = 4 [pid 5078] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5078] umount2("./8/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5137] close(3 [pid 5075] <... rmdir resumed>) = 0 [pid 5137] <... close resumed>) = 0 [pid 5137] symlink("/dev/binderfs", "./binderfs" [pid 5136] <... symlink resumed>) = 0 [pid 5136] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5137] <... symlink resumed>) = 0 [pid 5079] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5076] <... rmdir resumed>) = 0 [pid 5075] mkdir("./9", 0777 [pid 5137] memfd_create("syzkaller", 0 [pid 5075] <... mkdir resumed>) = 0 [pid 5079] <... openat resumed>) = 3 [pid 5137] <... memfd_create resumed>) = 3 [pid 5079] ioctl(3, LOOP_CLR_FD [pid 5076] mkdir("./8", 0777 [pid 5075] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5137] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5076] <... mkdir resumed>) = 0 [pid 5075] ioctl(3, LOOP_CLR_FD [pid 5137] <... mmap resumed>) = 0x7f8a3a600000 [pid 5076] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5136] <... creat resumed>) = 4 [pid 5076] <... openat resumed>) = 3 [pid 5078] <... umount2 resumed>) = 0 [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] rename("./bus", "./file2" [pid 5076] ioctl(3, LOOP_CLR_FD [pid 5078] umount2("./8/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5078] newfstatat(AT_FDCWD, "./8/bus", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5079] <... ioctl resumed>) = 0 [pid 5078] umount2("./8/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5078] openat(AT_FDCWD, "./8/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5078] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5078] getdents64(4, 0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5078] getdents64(4, 0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5078] close(4) = 0 [pid 5078] rmdir("./8/bus") = 0 [pid 5137] <... write resumed>) = 524288 [pid 5136] <... rename resumed>) = -1 EEXIST (File exists) [pid 5079] close(3) = 0 [pid 5079] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5136] memfd_create("syzkaller", 0 [pid 5078] umount2("./8/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5136] <... memfd_create resumed>) = 5 [pid 5078] newfstatat(AT_FDCWD, "./8/binderfs", [pid 5075] <... ioctl resumed>) = 0 [pid 5136] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5078] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5078] unlink("./8/binderfs" [pid 5136] <... mmap resumed>) = 0x7f8a3a600000 [pid 5078] <... unlink resumed>) = 0 [pid 5078] getdents64(3, 0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5078] close(3) = 0 [pid 5078] rmdir("./8"./strace-static-x86_64: Process 5138 attached [pid 5136] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5078] <... rmdir resumed>) = 0 [pid 5079] <... clone resumed>, child_tidptr=0x555555c35650) = 5138 [pid 5078] mkdir("./9", 0777) = 0 [pid 5138] set_robust_list(0x555555c35660, 24 [pid 5075] close(3 [pid 5078] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5078] ioctl(3, LOOP_CLR_FD [pid 5138] <... set_robust_list resumed>) = 0 [pid 5075] <... close resumed>) = 0 [pid 5138] chdir("./8" [pid 5075] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5138] <... chdir resumed>) = 0 [pid 5076] <... ioctl resumed>) = 0 [pid 5138] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5137] munmap(0x7f8a3a600000, 138412032 [pid 5075] <... clone resumed>, child_tidptr=0x555555c35650) = 5139 [pid 5138] setpgid(0, 0 [pid 5137] <... munmap resumed>) = 0 [pid 5138] <... setpgid resumed>) = 0 [pid 5076] close(3) = 0 [pid 5076] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5138] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC./strace-static-x86_64: Process 5139 attached ) = 3 [pid 5139] set_robust_list(0x555555c35660, 24 [pid 5137] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5138] write(3, "1000", 4 [pid 5139] <... set_robust_list resumed>) = 0 [pid 5138] <... write resumed>) = 4 [pid 5137] <... openat resumed>) = 4 [pid 5139] chdir("./9" [pid 5138] close(3) = 0 ./strace-static-x86_64: Process 5140 attached [pid 5140] set_robust_list(0x555555c35660, 24 [pid 5076] <... clone resumed>, child_tidptr=0x555555c35650) = 5140 [pid 5140] <... set_robust_list resumed>) = 0 [pid 5137] ioctl(4, LOOP_SET_FD, 3 [pid 5140] chdir("./8" [pid 5138] symlink("/dev/binderfs", "./binderfs" [pid 5140] <... chdir resumed>) = 0 [pid 5136] <... write resumed>) = 524288 [pid 5140] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5140] setpgid(0, 0) = 0 [pid 5140] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5139] <... chdir resumed>) = 0 [pid 5138] <... symlink resumed>) = 0 [pid 5140] <... openat resumed>) = 3 [pid 5139] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5138] memfd_create("syzkaller", 0 [pid 5140] write(3, "1000", 4 [pid 5139] setpgid(0, 0 [pid 5138] <... memfd_create resumed>) = 3 [pid 5078] <... ioctl resumed>) = 0 [pid 5140] <... write resumed>) = 4 [pid 5140] close(3) = 0 [pid 5140] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5139] <... setpgid resumed>) = 0 [pid 5138] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5137] <... ioctl resumed>) = 0 [pid 5136] munmap(0x7f8a3a600000, 138412032 [pid 5140] memfd_create("syzkaller", 0) = 3 [pid 5136] <... munmap resumed>) = 0 [pid 5138] <... mmap resumed>) = 0x7f8a3a600000 [pid 5137] close(3 [pid 5140] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5139] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5137] <... close resumed>) = 0 [pid 5139] <... 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] close(4 [pid 5136] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5137] <... close resumed>) = 0 [ 117.014438][ T5137] loop2: detected capacity change from 0 to 1024 [pid 5139] write(3, "1000", 4 [pid 5137] mkdir("./bus", 0777 [pid 5136] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5078] close(3) = 0 [pid 5078] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5138] <... write resumed>) = 524288 [pid 5137] <... mkdir resumed>) = 0 [pid 5139] <... write resumed>) = 4 [pid 5136] close(5 [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(3 [pid 5136] <... close resumed>) = 0 [pid 5078] <... clone resumed>, child_tidptr=0x555555c35650) = 5141 [pid 5139] <... close resumed>) = 0 ./strace-static-x86_64: Process 5141 attached [pid 5139] symlink("/dev/binderfs", "./binderfs" [pid 5138] munmap(0x7f8a3a600000, 138412032 [pid 5137] mount("/dev/loop2", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5136] creat("./file1", 000 [pid 5141] set_robust_list(0x555555c35660, 24 [pid 5139] <... symlink resumed>) = 0 [pid 5141] <... set_robust_list resumed>) = 0 [pid 5141] chdir("./9") = 0 [pid 5141] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5141] setpgid(0, 0) = 0 [pid 5141] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5141] write(3, "1000", 4) = 4 [pid 5139] memfd_create("syzkaller", 0 [pid 5141] close(3) = 0 [pid 5141] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5139] <... memfd_create resumed>) = 3 [pid 5139] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5137] <... mount resumed>) = 0 [pid 5139] <... mmap resumed>) = 0x7f8a3a600000 [pid 5137] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5141] memfd_create("syzkaller", 0 [pid 5140] <... write resumed>) = 524288 [pid 5137] <... openat resumed>) = 3 [pid 5136] <... creat resumed>) = 5 [pid 5137] chdir("./bus" [pid 5136] exit_group(0 [pid 5141] <... memfd_create resumed>) = 3 [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 5138] <... munmap resumed>) = 0 [pid 5137] <... chdir resumed>) = 0 [pid 5136] <... exit_group resumed>) = ? [pid 5141] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5140] munmap(0x7f8a3a600000, 138412032 [pid 5141] <... mmap resumed>) = 0x7f8a3a600000 [pid 5140] <... munmap resumed>) = 0 [pid 5136] +++ exited with 0 +++ [pid 5137] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5081] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5136, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5137] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5081] umount2("./8", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5140] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [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 5140] <... openat resumed>) = 4 [pid 5137] <... symlink resumed>) = 0 [pid 5081] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5138] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5137] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5140] ioctl(4, LOOP_SET_FD, 3 [pid 5081] <... openat resumed>) = 3 [pid 5138] <... openat resumed>) = 4 [pid 5081] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5081] getdents64(3, 0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5081] umount2("./8/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5138] ioctl(4, LOOP_SET_FD, 3 [pid 5137] <... creat resumed>) = 4 [pid 5141] <... write resumed>) = 524288 [pid 5138] <... ioctl resumed>) = 0 [pid 5137] rename("./bus", "./file2" [pid 5140] <... ioctl resumed>) = 0 [pid 5140] close(3) = 0 [pid 5140] close(4 [pid 5139] <... write resumed>) = 524288 [pid 5140] <... close resumed>) = 0 [pid 5140] mkdir("./bus", 0777 [pid 5139] munmap(0x7f8a3a600000, 138412032 [pid 5137] <... rename resumed>) = -1 EEXIST (File exists) [pid 5081] <... umount2 resumed>) = 0 [pid 5140] <... mkdir resumed>) = 0 [pid 5137] memfd_create("syzkaller", 0 [pid 5141] munmap(0x7f8a3a600000, 138412032 [pid 5140] mount("/dev/loop1", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5141] <... munmap resumed>) = 0 [pid 5137] <... memfd_create resumed>) = 5 [pid 5139] <... munmap resumed>) = 0 [ 117.143403][ T5140] loop1: detected capacity change from 0 to 1024 [ 117.156617][ T5138] loop4: detected capacity change from 0 to 1024 [pid 5137] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5139] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5137] <... mmap resumed>) = 0x7f8a3a600000 [pid 5141] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5141] ioctl(4, LOOP_SET_FD, 3 [pid 5139] <... openat resumed>) = 4 [pid 5138] close(3 [pid 5137] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] ioctl(4, LOOP_SET_FD, 3 [pid 5138] <... close resumed>) = 0 [pid 5081] umount2("./8/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5081] newfstatat(AT_FDCWD, "./8/bus", [pid 5138] close(4 [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5138] <... close resumed>) = 0 [pid 5138] mkdir("./bus", 0777 [pid 5140] <... mount resumed>) = 0 [pid 5138] <... mkdir resumed>) = 0 [pid 5138] mount("/dev/loop4", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5140] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5081] umount2("./8/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5140] <... openat resumed>) = 3 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5140] chdir("./bus" [pid 5081] openat(AT_FDCWD, "./8/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5140] <... chdir resumed>) = 0 [pid 5140] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5081] <... openat resumed>) = 4 [pid 5140] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5139] <... ioctl resumed>) = 0 [pid 5137] <... write resumed>) = 524288 [pid 5081] newfstatat(4, "", [pid 5139] close(3 [pid 5141] <... ioctl resumed>) = 0 [pid 5140] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5139] <... close resumed>) = 0 [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5139] close(4 [pid 5081] getdents64(4, [pid 5139] <... close resumed>) = 0 [pid 5081] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5081] getdents64(4, 0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5141] close(3 [pid 5081] close(4 [pid 5141] <... close resumed>) = 0 [pid 5139] mkdir("./bus", 0777 [pid 5141] close(4) = 0 [pid 5081] <... close resumed>) = 0 [pid 5081] rmdir("./8/bus" [pid 5139] <... mkdir resumed>) = 0 [pid 5081] <... rmdir resumed>) = 0 [pid 5139] mount("/dev/loop0", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5138] <... mount resumed>) = 0 [ 117.198460][ T5141] loop3: detected capacity change from 0 to 1024 [ 117.208127][ T5139] loop0: detected capacity change from 0 to 1024 [pid 5141] mkdir("./bus", 0777) = 0 [pid 5140] <... symlink resumed>) = 0 [pid 5138] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5081] umount2("./8/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5138] <... openat resumed>) = 3 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5141] mount("/dev/loop3", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5140] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5081] newfstatat(AT_FDCWD, "./8/binderfs", [pid 5138] chdir("./bus" [pid 5139] <... mount resumed>) = 0 [pid 5137] munmap(0x7f8a3a600000, 138412032 [pid 5081] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5139] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5138] <... chdir resumed>) = 0 [pid 5137] <... munmap resumed>) = 0 [pid 5081] unlink("./8/binderfs" [pid 5138] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5081] <... unlink resumed>) = 0 [pid 5139] <... openat resumed>) = 3 [pid 5138] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5137] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5081] getdents64(3, [pid 5139] chdir("./bus" [pid 5138] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5139] <... chdir resumed>) = 0 [pid 5081] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5138] <... symlink resumed>) = 0 [pid 5139] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5138] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5137] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5081] close(3 [pid 5139] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5139] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5081] <... close resumed>) = 0 [pid 5140] <... creat resumed>) = 4 [pid 5140] rename("./bus", "./file2" [pid 5137] close(5 [pid 5081] rmdir("./8" [pid 5140] <... rename resumed>) = -1 EEXIST (File exists) [pid 5140] memfd_create("syzkaller", 0) = 5 [pid 5081] <... rmdir resumed>) = 0 [pid 5140] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5139] <... symlink resumed>) = 0 [pid 5140] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5138] <... creat resumed>) = 4 [pid 5137] <... close resumed>) = 0 [pid 5081] mkdir("./9", 0777 [pid 5141] <... mount resumed>) = 0 [pid 5138] rename("./bus", "./file2" [pid 5141] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5138] <... rename resumed>) = -1 EEXIST (File exists) [pid 5081] <... mkdir resumed>) = 0 [pid 5141] <... openat resumed>) = 3 [pid 5141] chdir("./bus" [pid 5138] memfd_create("syzkaller", 0 [pid 5141] <... chdir resumed>) = 0 [pid 5138] <... memfd_create resumed>) = 5 [pid 5141] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5138] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5141] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5138] <... mmap resumed>) = 0x7f8a3a600000 [pid 5141] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5138] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5081] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5141] <... symlink resumed>) = 0 [pid 5140] <... write resumed>) = 524288 [pid 5139] <... creat resumed>) = 4 [pid 5137] creat("./file1", 000 [pid 5081] ioctl(3, LOOP_CLR_FD [pid 5139] rename("./bus", "./file2" [pid 5141] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5140] munmap(0x7f8a3a600000, 138412032) = 0 [pid 5139] <... rename resumed>) = -1 EEXIST (File exists) [pid 5139] memfd_create("syzkaller", 0 [pid 5140] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5141] <... creat resumed>) = 4 [pid 5139] <... memfd_create resumed>) = 5 [pid 5138] <... write resumed>) = 524288 [pid 5137] <... creat resumed>) = 5 [pid 5141] rename("./bus", "./file2" [pid 5140] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5139] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5140] close(5 [pid 5139] <... mmap resumed>) = 0x7f8a3a600000 [pid 5141] <... rename resumed>) = -1 EEXIST (File exists) [pid 5137] exit_group(0 [pid 5141] memfd_create("syzkaller", 0 [pid 5137] <... exit_group resumed>) = ? [pid 5137] +++ exited with 0 +++ [pid 5141] <... memfd_create resumed>) = 5 [pid 5077] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5137, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5141] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5140] <... close resumed>) = 0 [pid 5139] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] munmap(0x7f8a3a600000, 138412032 [pid 5077] restart_syscall(<... resuming interrupted clone ...> [pid 5141] <... mmap resumed>) = 0x7f8a3a600000 [pid 5138] <... munmap resumed>) = 0 [pid 5077] <... restart_syscall resumed>) = 0 [pid 5140] creat("./file1", 000 [pid 5077] umount2("./8", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5138] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5138] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5077] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5138] close(5 [pid 5077] <... openat resumed>) = 3 [pid 5077] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5077] getdents64(3, 0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5077] umount2("./8/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5081] <... ioctl resumed>) = 0 [pid 5081] close(3 [pid 5138] <... close resumed>) = 0 [pid 5081] <... close resumed>) = 0 [pid 5140] <... creat resumed>) = 5 [pid 5140] exit_group(0) = ? [pid 5081] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5141] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] +++ exited with 0 +++ [pid 5139] <... write resumed>) = 524288 [pid 5138] creat("./file1", 000 [pid 5076] --- 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 5138] <... creat resumed>) = 5 [pid 5139] munmap(0x7f8a3a600000, 138412032 [pid 5138] exit_group(0 [pid 5076] umount2("./8", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5139] <... munmap resumed>) = 0 [pid 5076] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5076] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5076] getdents64(3, 0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5139] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5138] <... exit_group resumed>) = ? [pid 5081] <... clone resumed>, child_tidptr=0x555555c35650) = 5142 [pid 5077] <... umount2 resumed>) = 0 [pid 5076] umount2("./8/bus", MNT_DETACH|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 5142 attached [pid 5142] set_robust_list(0x555555c35660, 24) = 0 [pid 5142] chdir("./9") = 0 [pid 5142] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5142] setpgid(0, 0) = 0 [pid 5142] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5142] write(3, "1000", 4 [pid 5139] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5138] +++ exited with 0 +++ [pid 5139] close(5 [pid 5079] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5138, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 5079] umount2("./8", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5079] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5079] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5079] getdents64(3, 0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5079] umount2("./8/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5142] <... write resumed>) = 4 [pid 5142] close(3) = 0 [pid 5139] <... close resumed>) = 0 [pid 5077] umount2("./8/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5142] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5141] <... write resumed>) = 524288 [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5141] munmap(0x7f8a3a600000, 138412032 [pid 5077] newfstatat(AT_FDCWD, "./8/bus", [pid 5142] memfd_create("syzkaller", 0 [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5142] <... memfd_create resumed>) = 3 [pid 5077] umount2("./8/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5141] <... munmap resumed>) = 0 [pid 5142] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5141] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5139] creat("./file1", 000 [pid 5079] <... umount2 resumed>) = 0 [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5076] <... umount2 resumed>) = 0 [pid 5142] <... mmap resumed>) = 0x7f8a3a600000 [pid 5141] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5077] openat(AT_FDCWD, "./8/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [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] close(5 [pid 5077] <... openat resumed>) = 4 [pid 5076] umount2("./8/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] umount2("./8/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5139] <... creat resumed>) = 5 [pid 5079] newfstatat(AT_FDCWD, "./8/bus", [pid 5077] newfstatat(4, "", [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5076] newfstatat(AT_FDCWD, "./8/bus", [pid 5139] exit_group(0 [pid 5079] umount2("./8/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] getdents64(4, [pid 5139] <... exit_group resumed>) = ? [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5079] openat(AT_FDCWD, "./8/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5077] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5076] umount2("./8/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5139] +++ exited with 0 +++ [pid 5075] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5139, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5079] <... openat resumed>) = 4 [pid 5077] getdents64(4, [pid 5079] newfstatat(4, "", [pid 5077] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5142] <... write resumed>) = 524288 [pid 5141] <... close resumed>) = 0 [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5077] close(4 [pid 5076] openat(AT_FDCWD, "./8/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5141] creat("./file1", 000 [pid 5077] <... close resumed>) = 0 [pid 5076] <... openat resumed>) = 4 [pid 5075] umount2("./9", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5142] munmap(0x7f8a3a600000, 138412032 [pid 5079] getdents64(4, [pid 5076] newfstatat(4, "", [pid 5142] <... munmap resumed>) = 0 [pid 5141] <... creat resumed>) = 5 [pid 5079] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5077] rmdir("./8/bus" [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5079] getdents64(4, 0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5079] close(4) = 0 [pid 5079] rmdir("./8/bus" [pid 5077] <... rmdir resumed>) = 0 [pid 5142] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5141] exit_group(0 [pid 5076] getdents64(4, [pid 5075] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5079] <... rmdir resumed>) = 0 [pid 5079] umount2("./8/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] <... openat resumed>) = 3 [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5076] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5075] newfstatat(3, "", [pid 5079] newfstatat(AT_FDCWD, "./8/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5076] getdents64(4, [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5079] unlink("./8/binderfs" [pid 5076] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5075] getdents64(3, [pid 5142] <... openat resumed>) = 4 [pid 5141] <... exit_group resumed>) = ? [pid 5079] <... unlink resumed>) = 0 [pid 5077] umount2("./8/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] close(4 [pid 5075] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5142] ioctl(4, LOOP_SET_FD, 3 [pid 5075] umount2("./9/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] <... close resumed>) = 0 [pid 5079] getdents64(3, [pid 5076] rmdir("./8/bus" [pid 5079] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5079] close(3) = 0 [pid 5079] rmdir("./8" [pid 5142] <... ioctl resumed>) = 0 [pid 5141] +++ exited with 0 +++ [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5076] <... rmdir resumed>) = 0 [pid 5142] close(3 [pid 5079] <... rmdir resumed>) = 0 [pid 5078] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5141, si_uid=0, si_status=0, si_utime=0, si_stime=10 /* 0.10 s */} --- [pid 5142] <... close resumed>) = 0 [pid 5077] newfstatat(AT_FDCWD, "./8/binderfs", [pid 5076] umount2("./8/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5142] close(4 [pid 5079] mkdir("./9", 0777 [pid 5078] umount2("./9", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] <... umount2 resumed>) = 0 [pid 5142] <... close resumed>) = 0 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5142] mkdir("./bus", 0777 [pid 5078] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5077] unlink("./8/binderfs" [pid 5076] newfstatat(AT_FDCWD, "./8/binderfs", [pid 5078] <... openat resumed>) = 3 [pid 5078] newfstatat(3, "", [pid 5075] umount2("./9/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5142] <... mkdir resumed>) = 0 [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5142] mount("/dev/loop5", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5079] <... mkdir resumed>) = 0 [pid 5078] getdents64(3, [pid 5077] <... unlink resumed>) = 0 [pid 5076] unlink("./8/binderfs" [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5079] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5078] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5077] getdents64(3, [pid 5079] <... openat resumed>) = 3 [pid 5078] umount2("./9/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] newfstatat(AT_FDCWD, "./9/bus", [pid 5077] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5076] <... unlink resumed>) = 0 [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5079] ioctl(3, LOOP_CLR_FD [pid 5077] close(3 [pid 5075] umount2("./9/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] getdents64(3, [pid 5077] <... close resumed>) = 0 [pid 5076] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] rmdir("./8" [pid 5076] close(3 [pid 5075] openat(AT_FDCWD, "./9/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5077] <... rmdir resumed>) = 0 [pid 5075] <... openat resumed>) = 4 [pid 5142] <... mount resumed>) = 0 [pid 5077] mkdir("./9", 0777 [pid 5076] <... close resumed>) = 0 [pid 5142] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY) = 3 [pid 5076] rmdir("./8" [pid 5075] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5142] chdir("./bus" [pid 5078] <... umount2 resumed>) = 0 [pid 5077] <... mkdir resumed>) = 0 [pid 5076] <... rmdir resumed>) = 0 [pid 5075] getdents64(4, [pid 5142] <... chdir resumed>) = 0 [pid 5078] umount2("./9/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5076] mkdir("./9", 0777 [ 117.576158][ T5142] loop5: detected capacity change from 0 to 1024 [pid 5142] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5142] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5079] <... ioctl resumed>) = 0 [pid 5077] <... openat resumed>) = 3 [pid 5076] <... mkdir resumed>) = 0 [pid 5075] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5142] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5078] newfstatat(AT_FDCWD, "./9/bus", [pid 5077] ioctl(3, LOOP_CLR_FD [pid 5076] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5076] <... openat resumed>) = 3 [pid 5075] getdents64(4, [pid 5078] umount2("./9/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] ioctl(3, LOOP_CLR_FD [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5142] <... symlink resumed>) = 0 [pid 5079] close(3 [pid 5078] openat(AT_FDCWD, "./9/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5075] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5142] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5079] <... close resumed>) = 0 [pid 5075] close(4 [pid 5079] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5078] <... openat resumed>) = 4 [pid 5075] <... close resumed>) = 0 [pid 5142] <... creat resumed>) = 4 [pid 5078] newfstatat(4, "", [pid 5075] rmdir("./9/bus" [pid 5142] rename("./bus", "./file2" [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5075] <... rmdir resumed>) = 0 [pid 5078] getdents64(4, [pid 5075] umount2("./9/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5142] <... rename resumed>) = -1 EEXIST (File exists) [pid 5078] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5077] <... ioctl resumed>) = 0 [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5142] memfd_create("syzkaller", 0 [pid 5079] <... clone resumed>, child_tidptr=0x555555c35650) = 5143 [pid 5078] getdents64(4, [pid 5075] newfstatat(AT_FDCWD, "./9/binderfs", ./strace-static-x86_64: Process 5143 attached [pid 5078] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5075] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5143] set_robust_list(0x555555c35660, 24 [pid 5075] unlink("./9/binderfs" [pid 5078] close(4) = 0 [pid 5143] <... set_robust_list resumed>) = 0 [pid 5076] <... ioctl resumed>) = 0 [pid 5075] <... unlink resumed>) = 0 [pid 5078] rmdir("./9/bus") = 0 [pid 5075] getdents64(3, [pid 5143] chdir("./9" [pid 5075] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5078] umount2("./9/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] close(3 [pid 5143] <... chdir resumed>) = 0 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5078] newfstatat(AT_FDCWD, "./9/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5142] <... memfd_create resumed>) = 5 [pid 5078] unlink("./9/binderfs" [pid 5142] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5078] <... unlink resumed>) = 0 [pid 5143] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5075] <... close resumed>) = 0 [pid 5142] <... mmap resumed>) = 0x7f8a3a600000 [pid 5078] getdents64(3, [pid 5143] <... prctl resumed>) = 0 [pid 5142] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5078] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5075] rmdir("./9" [pid 5078] close(3) = 0 [pid 5078] rmdir("./9" [pid 5143] setpgid(0, 0 [pid 5078] <... rmdir resumed>) = 0 [pid 5077] close(3 [pid 5075] <... rmdir resumed>) = 0 [pid 5078] mkdir("./10", 0777 [pid 5075] mkdir("./10", 0777 [pid 5143] <... setpgid resumed>) = 0 [pid 5077] <... close resumed>) = 0 [pid 5143] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5078] <... mkdir resumed>) = 0 [pid 5077] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5075] <... mkdir resumed>) = 0 [pid 5143] <... openat resumed>) = 3 [pid 5078] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5078] ioctl(3, LOOP_CLR_FD [pid 5076] close(3 [pid 5075] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5143] write(3, "1000", 4 [pid 5075] <... openat resumed>) = 3 ./strace-static-x86_64: Process 5144 attached [pid 5143] <... write resumed>) = 4 [pid 5076] <... close resumed>) = 0 [pid 5076] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555c35650) = 5145 ./strace-static-x86_64: Process 5145 attached [pid 5143] close(3 [pid 5077] <... clone resumed>, child_tidptr=0x555555c35650) = 5144 [pid 5075] ioctl(3, LOOP_CLR_FD [pid 5144] set_robust_list(0x555555c35660, 24 [pid 5145] set_robust_list(0x555555c35660, 24 [pid 5144] <... set_robust_list resumed>) = 0 [pid 5145] <... set_robust_list resumed>) = 0 [pid 5144] chdir("./9" [pid 5143] <... close resumed>) = 0 [pid 5145] chdir("./9" [pid 5142] <... write resumed>) = 524288 [pid 5145] <... chdir resumed>) = 0 [pid 5143] symlink("/dev/binderfs", "./binderfs" [pid 5144] <... chdir resumed>) = 0 [pid 5145] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5145] setpgid(0, 0) = 0 [pid 5145] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5144] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5143] <... symlink resumed>) = 0 [pid 5145] <... openat resumed>) = 3 [pid 5144] <... prctl resumed>) = 0 [pid 5143] memfd_create("syzkaller", 0 [pid 5144] setpgid(0, 0 [pid 5143] <... memfd_create resumed>) = 3 [pid 5142] munmap(0x7f8a3a600000, 138412032 [pid 5144] <... setpgid resumed>) = 0 [pid 5143] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5145] write(3, "1000", 4 [pid 5144] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5143] <... mmap resumed>) = 0x7f8a3a600000 [pid 5142] <... munmap resumed>) = 0 [pid 5145] <... write resumed>) = 4 [pid 5145] close(3) = 0 [pid 5145] symlink("/dev/binderfs", "./binderfs") = 0 [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 5144] <... openat resumed>) = 3 [pid 5142] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5145] memfd_create("syzkaller", 0 [pid 5142] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5145] <... memfd_create resumed>) = 3 [pid 5142] close(5 [pid 5145] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5142] <... close resumed>) = 0 [pid 5145] <... mmap resumed>) = 0x7f8a3a600000 [pid 5144] write(3, "1000", 4 [pid 5143] <... write resumed>) = 524288 [pid 5142] creat("./file1", 000 [pid 5078] <... ioctl resumed>) = 0 [pid 5144] <... write resumed>) = 4 [pid 5078] close(3) = 0 [pid 5075] <... ioctl resumed>) = 0 [pid 5144] close(3 [pid 5078] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [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 5144] <... close resumed>) = 0 [pid 5142] <... creat resumed>) = 5 [pid 5075] close(3 [pid 5142] exit_group(0) = ? [pid 5144] symlink("/dev/binderfs", "./binderfs" [pid 5075] <... close resumed>) = 0 [pid 5144] <... symlink resumed>) = 0 [pid 5075] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5146 attached [pid 5145] <... write resumed>) = 524288 [pid 5144] memfd_create("syzkaller", 0 [pid 5143] munmap(0x7f8a3a600000, 138412032 [pid 5146] set_robust_list(0x555555c35660, 24) = 0 [pid 5142] +++ exited with 0 +++ [pid 5146] chdir("./10") = 0 [pid 5146] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5078] <... clone resumed>, child_tidptr=0x555555c35650) = 5146 [pid 5146] setpgid(0, 0) = 0 [pid 5146] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5144] <... memfd_create resumed>) = 3 [pid 5144] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5146] write(3, "1000", 4 [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 5081] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5142, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5146] <... write resumed>) = 4 [pid 5145] munmap(0x7f8a3a600000, 138412032 [pid 5146] close(3) = 0 [pid 5145] <... munmap resumed>) = 0 [pid 5143] <... munmap resumed>) = 0 [pid 5081] umount2("./9", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5146] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) ./strace-static-x86_64: Process 5147 attached [pid 5146] memfd_create("syzkaller", 0 [pid 5145] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5081] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5075] <... clone resumed>, child_tidptr=0x555555c35650) = 5147 [pid 5147] set_robust_list(0x555555c35660, 24 [pid 5146] <... memfd_create resumed>) = 3 [pid 5145] <... openat resumed>) = 4 [pid 5143] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5147] <... set_robust_list resumed>) = 0 [pid 5146] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5081] <... openat resumed>) = 3 [pid 5147] chdir("./10" [pid 5146] <... mmap resumed>) = 0x7f8a3a600000 [pid 5145] ioctl(4, LOOP_SET_FD, 3 [pid 5143] <... openat resumed>) = 4 [pid 5081] newfstatat(3, "", [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 5144] <... write resumed>) = 524288 [pid 5143] ioctl(4, LOOP_SET_FD, 3 [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5147] <... chdir resumed>) = 0 [pid 5081] getdents64(3, [pid 5147] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5147] setpgid(0, 0) = 0 [pid 5147] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5147] write(3, "1000", 4) = 4 [pid 5081] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5147] close(3 [pid 5081] umount2("./9/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5147] <... close resumed>) = 0 [pid 5147] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5147] memfd_create("syzkaller", 0) = 3 [pid 5145] <... ioctl resumed>) = 0 [pid 5144] munmap(0x7f8a3a600000, 138412032 [pid 5143] <... ioctl resumed>) = 0 [pid 5144] <... munmap resumed>) = 0 [pid 5143] close(3 [pid 5144] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5143] <... close resumed>) = 0 [pid 5145] close(3 [pid 5143] close(4 [pid 5147] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5145] <... close resumed>) = 0 [pid 5144] <... openat resumed>) = 4 [pid 5147] <... mmap resumed>) = 0x7f8a3a600000 [pid 5143] <... close resumed>) = 0 [ 117.879587][ T5145] loop1: detected capacity change from 0 to 1024 [ 117.888142][ T5143] loop4: detected capacity change from 0 to 1024 [pid 5144] ioctl(4, LOOP_SET_FD, 3 [pid 5143] mkdir("./bus", 0777 [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 5145] close(4 [pid 5143] <... mkdir resumed>) = 0 [pid 5145] <... close resumed>) = 0 [pid 5144] <... ioctl resumed>) = 0 [pid 5143] mount("/dev/loop4", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5081] <... umount2 resumed>) = 0 [pid 5145] mkdir("./bus", 0777 [pid 5146] <... write resumed>) = 524288 [pid 5145] <... mkdir resumed>) = 0 [pid 5144] close(3) = 0 [pid 5144] close(4) = 0 [pid 5145] mount("/dev/loop1", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5081] umount2("./9/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5146] munmap(0x7f8a3a600000, 138412032 [pid 5144] mkdir("./bus", 0777 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5144] <... mkdir resumed>) = 0 [pid 5081] newfstatat(AT_FDCWD, "./9/bus", [pid 5144] mount("/dev/loop2", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5081] umount2("./9/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5146] <... munmap resumed>) = 0 [pid 5145] <... mount resumed>) = 0 [pid 5081] openat(AT_FDCWD, "./9/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5146] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5081] <... openat resumed>) = 4 [pid 5081] newfstatat(4, "", [pid 5146] <... openat resumed>) = 4 [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5145] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5143] <... mount resumed>) = 0 [pid 5081] getdents64(4, [pid 5146] ioctl(4, LOOP_SET_FD, 3 [pid 5145] <... openat resumed>) = 3 [pid 5143] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5081] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5081] getdents64(4, [pid 5145] chdir("./bus" [pid 5081] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5145] <... chdir resumed>) = 0 [pid 5081] close(4 [pid 5147] <... write resumed>) = 524288 [pid 5145] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5081] <... close resumed>) = 0 [pid 5081] rmdir("./9/bus") = 0 [pid 5145] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5143] <... openat resumed>) = 3 [pid 5081] umount2("./9/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5145] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5081] newfstatat(AT_FDCWD, "./9/binderfs", [pid 5145] <... symlink resumed>) = 0 [pid 5143] chdir("./bus" [pid 5081] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5147] munmap(0x7f8a3a600000, 138412032 [pid 5145] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5143] <... chdir resumed>) = 0 [pid 5081] unlink("./9/binderfs" [pid 5147] <... munmap resumed>) = 0 [pid 5144] <... mount resumed>) = 0 [pid 5143] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5081] <... unlink resumed>) = 0 [pid 5144] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5143] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5144] <... openat resumed>) = 3 [pid 5143] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5081] getdents64(3, [pid 5147] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5081] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5147] <... openat resumed>) = 4 [pid 5145] <... creat resumed>) = 4 [pid 5144] chdir("./bus" [ 117.929227][ T5144] loop2: detected capacity change from 0 to 1024 [ 117.967635][ T5146] loop3: detected capacity change from 0 to 1024 [pid 5081] close(3 [pid 5147] ioctl(4, LOOP_SET_FD, 3 [pid 5145] rename("./bus", "./file2" [pid 5144] <... chdir resumed>) = 0 [pid 5081] <... close resumed>) = 0 [pid 5147] <... ioctl resumed>) = 0 [pid 5146] <... ioctl resumed>) = 0 [pid 5144] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5143] <... symlink resumed>) = 0 [pid 5081] rmdir("./9" [pid 5145] <... rename resumed>) = -1 EEXIST (File exists) [pid 5145] memfd_create("syzkaller", 0 [pid 5146] close(3 [pid 5145] <... memfd_create resumed>) = 5 [pid 5144] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5143] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5146] <... close resumed>) = 0 [pid 5144] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5146] close(4 [pid 5145] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5145] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5146] <... close resumed>) = 0 [pid 5081] <... rmdir resumed>) = 0 [pid 5146] mkdir("./bus", 0777 [pid 5081] mkdir("./10", 0777 [pid 5146] <... mkdir resumed>) = 0 [pid 5081] <... mkdir resumed>) = 0 [pid 5144] <... symlink resumed>) = 0 [pid 5146] mount("/dev/loop3", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5081] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5144] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5081] <... openat resumed>) = 3 [pid 5147] close(3 [pid 5081] ioctl(3, LOOP_CLR_FD [pid 5147] <... close resumed>) = 0 [pid 5147] close(4) = 0 [pid 5147] mkdir("./bus", 0777) = 0 [pid 5143] <... creat resumed>) = 4 [pid 5147] mount("/dev/loop0", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5143] rename("./bus", "./file2" [pid 5147] <... mount resumed>) = 0 [pid 5144] <... creat resumed>) = 4 [pid 5147] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY) = 3 [pid 5144] rename("./bus", "./file2" [pid 5143] <... rename resumed>) = -1 EEXIST (File exists) [pid 5147] chdir("./bus") = 0 [pid 5147] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5145] <... write resumed>) = 524288 [pid 5147] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5145] munmap(0x7f8a3a600000, 138412032 [pid 5147] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5144] <... rename resumed>) = -1 EEXIST (File exists) [pid 5143] memfd_create("syzkaller", 0 [pid 5146] <... mount resumed>) = 0 [pid 5146] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5145] <... munmap resumed>) = 0 [pid 5143] <... memfd_create resumed>) = 5 [pid 5144] memfd_create("syzkaller", 0 [ 117.994790][ T5147] loop0: detected capacity change from 0 to 1024 [pid 5145] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5146] <... openat resumed>) = 3 [pid 5145] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5144] <... memfd_create resumed>) = 5 [pid 5143] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5147] <... symlink resumed>) = 0 [pid 5145] close(5 [pid 5144] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5143] <... mmap resumed>) = 0x7f8a3a600000 [pid 5147] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5146] chdir("./bus" [pid 5145] <... close resumed>) = 0 [pid 5144] <... mmap resumed>) = 0x7f8a3a600000 [pid 5143] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5146] <... chdir resumed>) = 0 [pid 5147] <... creat resumed>) = 4 [pid 5147] rename("./bus", "./file2") = -1 EEXIST (File exists) [pid 5146] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5147] memfd_create("syzkaller", 0) = 5 [pid 5147] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5146] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5144] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] creat("./file1", 000 [pid 5147] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5146] <... symlink resumed>) = 0 [pid 5145] <... creat resumed>) = 5 [pid 5146] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5145] exit_group(0) = ? [pid 5081] <... ioctl resumed>) = 0 [pid 5146] <... creat resumed>) = 4 [pid 5145] +++ exited with 0 +++ [pid 5143] <... write resumed>) = 524288 [pid 5146] rename("./bus", "./file2" [pid 5076] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5145, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5146] <... rename resumed>) = -1 EEXIST (File exists) [pid 5076] umount2("./9", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5146] memfd_create("syzkaller", 0 [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5076] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5146] <... memfd_create resumed>) = 5 [pid 5146] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5076] newfstatat(3, "", [pid 5146] <... mmap resumed>) = 0x7f8a3a600000 [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5146] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5081] close(3 [pid 5076] getdents64(3, [pid 5147] <... write resumed>) = 524288 [pid 5144] <... write resumed>) = 524288 [pid 5143] munmap(0x7f8a3a600000, 138412032 [pid 5147] munmap(0x7f8a3a600000, 138412032 [pid 5144] munmap(0x7f8a3a600000, 138412032 [pid 5076] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5143] <... munmap resumed>) = 0 [pid 5147] <... munmap resumed>) = 0 [pid 5144] <... munmap resumed>) = 0 [pid 5143] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5081] <... close resumed>) = 0 [pid 5143] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5081] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5144] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5076] umount2("./9/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5144] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5143] close(5 [pid 5147] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5144] close(5 [pid 5147] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5146] <... write resumed>) = 524288 [pid 5144] <... close resumed>) = 0 [pid 5147] close(5) = 0 [pid 5081] <... clone resumed>, child_tidptr=0x555555c35650) = 5148 ./strace-static-x86_64: Process 5148 attached [pid 5076] <... umount2 resumed>) = 0 [pid 5076] umount2("./9/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5148] set_robust_list(0x555555c35660, 24 [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5148] <... set_robust_list resumed>) = 0 [pid 5076] newfstatat(AT_FDCWD, "./9/bus", [pid 5148] chdir("./10" [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5148] <... chdir resumed>) = 0 [pid 5076] umount2("./9/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5148] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5148] <... prctl resumed>) = 0 [pid 5076] openat(AT_FDCWD, "./9/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5148] setpgid(0, 0 [pid 5076] <... openat resumed>) = 4 [pid 5148] <... setpgid resumed>) = 0 [pid 5143] <... close resumed>) = 0 [pid 5148] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5143] creat("./file1", 000 [pid 5148] write(3, "1000", 4) = 4 [pid 5148] close(3 [pid 5076] newfstatat(4, "", [pid 5148] <... close resumed>) = 0 [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5148] symlink("/dev/binderfs", "./binderfs" [pid 5076] getdents64(4, [pid 5148] <... symlink resumed>) = 0 [pid 5147] creat("./file1", 000 [pid 5076] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5148] memfd_create("syzkaller", 0 [pid 5146] munmap(0x7f8a3a600000, 138412032 [pid 5144] creat("./file1", 000 [pid 5076] getdents64(4, 0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5148] <... memfd_create resumed>) = 3 [pid 5146] <... munmap resumed>) = 0 [pid 5076] close(4 [pid 5148] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5076] <... close resumed>) = 0 [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 5146] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5076] rmdir("./9/bus" [pid 5143] <... creat resumed>) = 5 [pid 5143] exit_group(0) = ? [pid 5076] <... rmdir resumed>) = 0 [pid 5147] <... creat resumed>) = 5 [pid 5146] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5076] umount2("./9/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5076] newfstatat(AT_FDCWD, "./9/binderfs", [pid 5144] <... creat resumed>) = 5 [pid 5076] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5147] exit_group(0 [pid 5146] close(5 [pid 5144] exit_group(0 [pid 5076] unlink("./9/binderfs" [pid 5147] <... exit_group resumed>) = ? [pid 5144] <... exit_group resumed>) = ? [pid 5143] +++ exited with 0 +++ [pid 5076] <... unlink resumed>) = 0 [pid 5147] +++ exited with 0 +++ [pid 5144] +++ exited with 0 +++ [pid 5079] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5143, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5076] getdents64(3, [pid 5077] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5144, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5076] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5076] close(3 [pid 5079] umount2("./9", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5147, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5076] <... close resumed>) = 0 [pid 5075] umount2("./10", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5076] rmdir("./9" [pid 5079] <... openat resumed>) = 3 [pid 5076] <... rmdir resumed>) = 0 [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5079] newfstatat(3, "", [pid 5077] umount2("./9", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5075] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5079] getdents64(3, [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5079] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5077] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5075] <... openat resumed>) = 3 [pid 5079] umount2("./9/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] <... openat resumed>) = 3 [pid 5076] mkdir("./10", 0777 [pid 5075] newfstatat(3, "", [pid 5077] newfstatat(3, "", [pid 5076] <... mkdir resumed>) = 0 [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5075] getdents64(3, [pid 5146] <... close resumed>) = 0 [pid 5077] getdents64(3, [pid 5075] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5148] <... write resumed>) = 524288 [pid 5076] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5146] creat("./file1", 000 [pid 5075] umount2("./10/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5076] <... openat resumed>) = 3 [pid 5076] ioctl(3, LOOP_CLR_FD) = 0 [pid 5076] close(3) = 0 [pid 5076] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5146] <... creat resumed>) = 5 [pid 5146] exit_group(0) = ? [pid 5076] <... clone resumed>, child_tidptr=0x555555c35650) = 5149 [pid 5077] umount2("./9/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5148] munmap(0x7f8a3a600000, 138412032./strace-static-x86_64: Process 5149 attached [pid 5149] set_robust_list(0x555555c35660, 24 [pid 5148] <... munmap resumed>) = 0 [pid 5149] <... set_robust_list resumed>) = 0 [pid 5149] chdir("./10") = 0 [pid 5148] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5146] +++ exited with 0 +++ [pid 5149] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5148] <... openat resumed>) = 4 [pid 5149] <... prctl resumed>) = 0 [pid 5078] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5146, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5149] setpgid(0, 0 [pid 5078] umount2("./10", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5148] ioctl(4, LOOP_SET_FD, 3 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5079] <... umount2 resumed>) = 0 [pid 5078] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5149] <... setpgid resumed>) = 0 [pid 5079] umount2("./9/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5078] <... openat resumed>) = 3 [pid 5149] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5078] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5078] getdents64(3, [pid 5149] <... openat resumed>) = 3 [pid 5148] <... ioctl resumed>) = 0 [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5078] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5077] <... umount2 resumed>) = 0 [pid 5075] <... umount2 resumed>) = 0 [pid 5079] newfstatat(AT_FDCWD, "./9/bus", [pid 5078] umount2("./10/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5077] umount2("./9/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] umount2("./9/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] newfstatat(AT_FDCWD, "./9/bus", [pid 5149] write(3, "1000", 4 [pid 5079] openat(AT_FDCWD, "./9/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5149] <... write resumed>) = 4 [pid 5148] close(3 [pid 5149] close(3 [pid 5148] <... close resumed>) = 0 [pid 5079] <... openat resumed>) = 4 [pid 5077] umount2("./9/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5149] <... close resumed>) = 0 [pid 5148] close(4 [pid 5079] newfstatat(4, "", [pid 5149] symlink("/dev/binderfs", "./binderfs" [pid 5148] <... close resumed>) = 0 [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5148] mkdir("./bus", 0777 [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5077] openat(AT_FDCWD, "./9/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5149] <... symlink resumed>) = 0 [pid 5148] <... mkdir resumed>) = 0 [pid 5079] getdents64(4, [pid 5077] <... openat resumed>) = 4 [pid 5075] umount2("./10/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5149] memfd_create("syzkaller", 0 [pid 5079] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5077] newfstatat(4, "", [pid 5149] <... memfd_create resumed>) = 3 [pid 5148] mount("/dev/loop5", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5079] getdents64(4, [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5079] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5077] getdents64(4, [pid 5075] newfstatat(AT_FDCWD, "./10/bus", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5077] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5079] close(4 [pid 5078] <... umount2 resumed>) = 0 [pid 5075] umount2("./10/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] <... close resumed>) = 0 [pid 5077] getdents64(4, [pid 5079] rmdir("./9/bus" [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5075] openat(AT_FDCWD, "./10/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5149] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5079] <... rmdir resumed>) = 0 [pid 5077] close(4 [pid 5075] <... openat resumed>) = 4 [pid 5149] <... mmap resumed>) = 0x7f8a3a600000 [pid 5077] <... close resumed>) = 0 [pid 5075] newfstatat(4, "", [ 118.258069][ T5148] loop5: detected capacity change from 0 to 1024 [pid 5078] umount2("./10/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] umount2("./9/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] rmdir("./9/bus" [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5078] newfstatat(AT_FDCWD, "./10/bus", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5078] umount2("./10/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5148] <... mount resumed>) = 0 [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5078] openat(AT_FDCWD, "./10/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5077] <... rmdir resumed>) = 0 [pid 5075] getdents64(4, [pid 5148] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5079] newfstatat(AT_FDCWD, "./9/binderfs", [pid 5078] <... openat resumed>) = 4 [pid 5077] umount2("./9/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5148] <... openat resumed>) = 3 [pid 5079] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5078] newfstatat(4, "", [pid 5075] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [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] chdir("./bus" [pid 5079] unlink("./9/binderfs" [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] getdents64(4, [pid 5148] <... chdir resumed>) = 0 [pid 5079] <... unlink resumed>) = 0 [pid 5075] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5079] getdents64(3, [pid 5077] newfstatat(AT_FDCWD, "./9/binderfs", [pid 5075] close(4 [pid 5148] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5078] getdents64(4, [pid 5075] <... close resumed>) = 0 [pid 5079] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5148] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5079] close(3 [pid 5078] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5077] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5075] rmdir("./10/bus" [pid 5079] <... close resumed>) = 0 [pid 5078] getdents64(4, [pid 5077] unlink("./9/binderfs" [pid 5078] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5078] close(4) = 0 [pid 5078] rmdir("./10/bus" [pid 5079] rmdir("./9" [pid 5078] <... rmdir resumed>) = 0 [pid 5077] <... unlink resumed>) = 0 [pid 5075] <... rmdir resumed>) = 0 [pid 5148] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5079] <... rmdir resumed>) = 0 [pid 5077] getdents64(3, [pid 5075] umount2("./10/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5149] <... write resumed>) = 524288 [pid 5148] <... symlink resumed>) = 0 [pid 5079] mkdir("./10", 0777 [pid 5078] umount2("./10/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5078] newfstatat(AT_FDCWD, "./10/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5078] unlink("./10/binderfs") = 0 [pid 5079] <... mkdir resumed>) = 0 [pid 5077] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] newfstatat(AT_FDCWD, "./10/binderfs", [pid 5077] close(3 [pid 5079] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5148] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5078] getdents64(3, [pid 5077] <... close resumed>) = 0 [pid 5079] <... openat resumed>) = 3 [pid 5079] ioctl(3, LOOP_CLR_FD [pid 5077] rmdir("./9" [pid 5075] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5149] munmap(0x7f8a3a600000, 138412032 [pid 5078] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5149] <... munmap resumed>) = 0 [pid 5078] close(3 [pid 5077] <... rmdir resumed>) = 0 [pid 5075] unlink("./10/binderfs" [pid 5149] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5078] <... close resumed>) = 0 [pid 5077] mkdir("./10", 0777 [pid 5078] rmdir("./10") = 0 [pid 5075] <... unlink resumed>) = 0 [pid 5078] mkdir("./11", 0777 [pid 5077] <... mkdir resumed>) = 0 [pid 5078] <... mkdir resumed>) = 0 [pid 5075] getdents64(3, [pid 5149] <... openat resumed>) = 4 [pid 5149] ioctl(4, LOOP_SET_FD, 3 [pid 5077] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5075] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5078] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5078] ioctl(3, LOOP_CLR_FD) = 0 [pid 5078] close(3) = 0 [pid 5148] <... creat resumed>) = 4 [pid 5078] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5149] <... ioctl resumed>) = 0 [pid 5148] rename("./bus", "./file2" [pid 5075] close(3 [pid 5149] close(3) = 0 [pid 5149] close(4) = 0 [pid 5149] mkdir("./bus", 0777) = 0 ./strace-static-x86_64: Process 5150 attached [pid 5149] mount("/dev/loop1", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5078] <... clone resumed>, child_tidptr=0x555555c35650) = 5150 [pid 5150] set_robust_list(0x555555c35660, 24) = 0 [pid 5150] chdir("./11" [pid 5075] <... close resumed>) = 0 [pid 5150] <... chdir resumed>) = 0 [pid 5150] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5150] setpgid(0, 0) = 0 [pid 5150] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5150] write(3, "1000", 4 [pid 5075] rmdir("./10" [pid 5150] <... write resumed>) = 4 [pid 5077] <... openat resumed>) = 3 [pid 5148] <... rename resumed>) = -1 EEXIST (File exists) [pid 5150] close(3 [pid 5148] memfd_create("syzkaller", 0 [pid 5150] <... close resumed>) = 0 [pid 5148] <... memfd_create resumed>) = 5 [pid 5077] ioctl(3, LOOP_CLR_FD [pid 5075] <... rmdir resumed>) = 0 [pid 5150] symlink("/dev/binderfs", "./binderfs" [pid 5148] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5150] <... symlink resumed>) = 0 [pid 5148] <... mmap resumed>) = 0x7f8a3a600000 [pid 5150] memfd_create("syzkaller", 0 [pid 5077] <... ioctl resumed>) = 0 [pid 5075] mkdir("./11", 0777 [pid 5148] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5079] <... ioctl resumed>) = 0 [ 118.377704][ T5149] loop1: detected capacity change from 0 to 1024 [pid 5077] close(3 [pid 5075] <... mkdir resumed>) = 0 [pid 5150] <... memfd_create resumed>) = 3 [pid 5150] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5077] <... close resumed>) = 0 [pid 5075] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5149] <... mount resumed>) = 0 [pid 5077] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5075] <... openat resumed>) = 3 [pid 5149] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5075] ioctl(3, LOOP_CLR_FD [pid 5149] <... openat resumed>) = 3 [pid 5149] chdir("./bus" [pid 5075] <... ioctl resumed>) = 0 [pid 5149] <... chdir resumed>) = 0 [pid 5148] <... write resumed>) = 524288 [pid 5075] close(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] openat(AT_FDCWD, "/dev/loop1", O_RDWR./strace-static-x86_64: Process 5151 attached ) = -1 EBUSY (Device or resource busy) [pid 5077] <... clone resumed>, child_tidptr=0x555555c35650) = 5151 [pid 5075] <... close resumed>) = 0 [pid 5150] <... write resumed>) = 524288 [pid 5149] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5075] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5151] set_robust_list(0x555555c35660, 24 [pid 5148] munmap(0x7f8a3a600000, 138412032 [pid 5079] close(3 [pid 5151] <... set_robust_list resumed>) = 0 [pid 5148] <... munmap resumed>) = 0 [pid 5079] <... close resumed>) = 0 [pid 5151] chdir("./10" [pid 5079] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5075] <... clone resumed>, child_tidptr=0x555555c35650) = 5152 [pid 5151] <... chdir resumed>) = 0 [pid 5150] munmap(0x7f8a3a600000, 138412032 [pid 5149] <... symlink resumed>) = 0 [pid 5148] openat(AT_FDCWD, "/dev/loop5", O_RDWR./strace-static-x86_64: Process 5153 attached ./strace-static-x86_64: Process 5152 attached [pid 5151] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5150] <... munmap resumed>) = 0 [pid 5149] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5148] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5079] <... clone resumed>, child_tidptr=0x555555c35650) = 5153 [pid 5148] close(5 [pid 5153] set_robust_list(0x555555c35660, 24 [pid 5152] set_robust_list(0x555555c35660, 24 [pid 5151] <... prctl resumed>) = 0 [pid 5148] <... close resumed>) = 0 [pid 5153] <... set_robust_list resumed>) = 0 [pid 5152] <... set_robust_list resumed>) = 0 [pid 5151] setpgid(0, 0 [pid 5150] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5153] chdir("./10" [pid 5151] <... setpgid resumed>) = 0 [pid 5152] chdir("./11" [pid 5153] <... chdir resumed>) = 0 [pid 5152] <... chdir resumed>) = 0 [pid 5151] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5150] <... openat resumed>) = 4 [pid 5150] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5150] ioctl(4, LOOP_CLR_FD) = 0 [pid 5148] creat("./file1", 000 [pid 5153] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5152] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5151] <... openat resumed>) = 3 [pid 5149] <... creat resumed>) = 4 [pid 5149] rename("./bus", "./file2" [pid 5153] <... prctl resumed>) = 0 [pid 5152] <... prctl resumed>) = 0 [pid 5151] write(3, "1000", 4 [pid 5149] <... rename resumed>) = -1 EEXIST (File exists) [pid 5149] memfd_create("syzkaller", 0 [pid 5150] ioctl(4, LOOP_SET_FD, 3 [pid 5149] <... memfd_create resumed>) = 5 [pid 5153] setpgid(0, 0 [pid 5152] setpgid(0, 0 [pid 5151] <... write resumed>) = 4 [pid 5150] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5149] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5153] <... setpgid resumed>) = 0 [pid 5152] <... setpgid resumed>) = 0 [pid 5151] close(3 [pid 5150] close(4 [pid 5149] <... mmap resumed>) = 0x7f8a3a600000 [pid 5153] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5152] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5151] <... close resumed>) = 0 [pid 5150] <... close resumed>) = 0 [pid 5149] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5152] <... openat resumed>) = 3 [pid 5151] symlink("/dev/binderfs", "./binderfs" [pid 5150] close(3 [pid 5148] <... creat resumed>) = 5 [pid 5153] write(3, "1000", 4 [pid 5152] write(3, "1000", 4 [pid 5151] <... symlink resumed>) = 0 [pid 5150] <... close resumed>) = 0 [pid 5148] exit_group(0 [pid 5153] <... write resumed>) = 4 [pid 5152] <... write resumed>) = 4 [pid 5151] memfd_create("syzkaller", 0 [pid 5148] <... exit_group resumed>) = ? [pid 5152] close(3 [pid 5153] close(3 [pid 5152] <... close resumed>) = 0 [pid 5151] <... memfd_create resumed>) = 3 [pid 5148] +++ exited with 0 +++ [pid 5153] <... close resumed>) = 0 [pid 5152] symlink("/dev/binderfs", "./binderfs" [pid 5151] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5152] <... symlink resumed>) = 0 [pid 5153] symlink("/dev/binderfs", "./binderfs" [pid 5081] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5148, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5081] umount2("./10", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5153] <... symlink resumed>) = 0 [pid 5081] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5152] memfd_create("syzkaller", 0 [pid 5081] <... openat resumed>) = 3 [pid 5153] memfd_create("syzkaller", 0 [pid 5152] <... memfd_create resumed>) = 3 [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 5081] newfstatat(3, "", [pid 5153] <... memfd_create resumed>) = 3 [pid 5152] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5153] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5152] <... mmap resumed>) = 0x7f8a3a600000 [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5081] getdents64(3, [pid 5153] <... mmap resumed>) = 0x7f8a3a600000 [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] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5081] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [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 5150] <... symlink resumed>) = 0 [pid 5081] umount2("./10/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5150] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 3 [pid 5081] <... umount2 resumed>) = 0 [pid 5150] rename("./bus", "./file2") = 0 [pid 5081] umount2("./10/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5149] munmap(0x7f8a3a600000, 138412032 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5152] <... write resumed>) = 524288 [pid 5149] <... munmap resumed>) = 0 [pid 5081] newfstatat(AT_FDCWD, "./10/bus", [pid 5150] memfd_create("syzkaller", 0 [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5150] <... memfd_create resumed>) = 4 [pid 5081] umount2("./10/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5150] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5150] <... mmap resumed>) = 0x7f8a3a600000 [pid 5081] openat(AT_FDCWD, "./10/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5149] openat(AT_FDCWD, "/dev/loop1", O_RDWR [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] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5081] newfstatat(4, "", [pid 5149] close(5 [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5151] <... write resumed>) = 524288 [pid 5081] getdents64(4, 0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5081] getdents64(4, 0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5081] close(4) = 0 [pid 5081] rmdir("./10/bus" [pid 5152] munmap(0x7f8a3a600000, 138412032) = 0 [pid 5081] <... rmdir resumed>) = 0 [pid 5153] <... write resumed>) = 524288 [pid 5081] umount2("./10/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5151] munmap(0x7f8a3a600000, 138412032 [pid 5153] munmap(0x7f8a3a600000, 138412032 [pid 5152] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5149] <... close resumed>) = 0 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5081] newfstatat(AT_FDCWD, "./10/binderfs", [pid 5149] creat("./file1", 000 [pid 5152] <... openat resumed>) = 4 [pid 5153] <... munmap resumed>) = 0 [pid 5152] ioctl(4, LOOP_SET_FD, 3 [pid 5151] <... munmap resumed>) = 0 [pid 5150] <... write resumed>) = 524288 [pid 5081] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5081] unlink("./10/binderfs" [pid 5150] munmap(0x7f8a3a600000, 138412032 [pid 5081] <... unlink resumed>) = 0 [pid 5150] <... munmap resumed>) = 0 [pid 5081] getdents64(3, 0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5081] close(3 [pid 5153] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5149] <... creat resumed>) = 5 [pid 5081] <... close resumed>) = 0 [pid 5081] rmdir("./10" [pid 5153] <... openat resumed>) = 4 [pid 5151] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5081] <... rmdir resumed>) = 0 [pid 5153] ioctl(4, LOOP_SET_FD, 3 [pid 5152] <... ioctl resumed>) = 0 [pid 5151] <... openat resumed>) = 4 [pid 5150] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5149] exit_group(0 [pid 5081] mkdir("./11", 0777 [pid 5152] close(3 [pid 5151] ioctl(4, LOOP_SET_FD, 3 [pid 5081] <... mkdir resumed>) = 0 [pid 5150] <... openat resumed>) = 5 [pid 5149] <... exit_group resumed>) = ? [pid 5081] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5150] ioctl(5, LOOP_SET_FD, 4 [pid 5081] ioctl(3, LOOP_CLR_FD) = 0 [pid 5152] <... close resumed>) = 0 [ 118.743145][ T5152] loop0: detected capacity change from 0 to 1024 [ 118.772013][ T5153] loop4: detected capacity change from 0 to 1024 [ 118.779314][ T5151] loop2: detected capacity change from 0 to 1024 [pid 5081] close(3 [pid 5153] <... ioctl resumed>) = 0 [pid 5152] close(4 [pid 5151] <... ioctl resumed>) = 0 [pid 5081] <... close resumed>) = 0 [pid 5152] <... close resumed>) = 0 [pid 5152] mkdir("./bus", 0777 [pid 5151] close(3 [pid 5153] close(3 [pid 5152] <... mkdir resumed>) = 0 [pid 5151] <... close resumed>) = 0 [pid 5081] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5153] <... close resumed>) = 0 [pid 5153] close(4 [pid 5151] close(4 [pid 5149] +++ exited with 0 +++ [pid 5150] <... ioctl resumed>) = 0 [pid 5150] close(4 [pid 5076] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5149, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5150] <... close resumed>) = 0 [pid 5076] restart_syscall(<... resuming interrupted clone ...> [pid 5150] close(5 [pid 5076] <... restart_syscall resumed>) = 0 [pid 5150] <... close resumed>) = 0 [pid 5081] <... clone resumed>, child_tidptr=0x555555c35650) = 5154 [pid 5076] umount2("./10", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5150] mkdir("./file1", 0777 [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5150] <... mkdir resumed>) = 0 [pid 5076] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5076] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5076] getdents64(3, 0x555555c366f0 /* 4 entries */, 32768) = 104 ./strace-static-x86_64: Process 5154 attached [pid 5154] set_robust_list(0x555555c35660, 24 [pid 5153] <... close resumed>) = 0 [pid 5152] mount("/dev/loop0", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5151] <... close resumed>) = 0 [pid 5076] umount2("./10/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5154] <... set_robust_list resumed>) = 0 [ 118.787346][ T5150] loop3: detected capacity change from 0 to 1024 [pid 5153] mkdir("./bus", 0777 [pid 5151] mkdir("./bus", 0777 [pid 5150] mount("/dev/loop3", "./file1", "hfsplus", MS_NOSUID|MS_SYNCHRONOUS|MS_NOATIME, "" [pid 5154] chdir("./11") = 0 [pid 5154] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5153] <... mkdir resumed>) = 0 [pid 5154] setpgid(0, 0) = 0 [pid 5151] <... mkdir resumed>) = 0 [pid 5154] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5153] mount("/dev/loop4", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5152] <... mount resumed>) = 0 [pid 5151] mount("/dev/loop2", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5152] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY) = 3 [pid 5154] <... openat resumed>) = 3 [pid 5154] write(3, "1000", 4) = 4 [pid 5154] close(3) = 0 [pid 5154] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5152] chdir("./bus") = 0 [pid 5076] <... umount2 resumed>) = 0 [pid 5152] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5154] memfd_create("syzkaller", 0 [pid 5153] <... mount resumed>) = 0 [pid 5152] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5154] <... memfd_create resumed>) = 3 [pid 5153] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5152] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5154] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5153] <... openat resumed>) = 3 [pid 5154] <... mmap resumed>) = 0x7f8a3a600000 [pid 5153] chdir("./bus") = 0 [pid 5153] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5152] <... symlink resumed>) = 0 [pid 5151] <... mount resumed>) = 0 [pid 5151] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5153] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5151] <... openat resumed>) = 3 [pid 5152] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [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] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5151] chdir("./bus" [pid 5076] umount2("./10/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5076] newfstatat(AT_FDCWD, "./10/bus", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5076] umount2("./10/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5153] <... symlink resumed>) = 0 [pid 5152] <... creat resumed>) = 4 [pid 5151] <... chdir resumed>) = 0 [pid 5150] <... mount resumed>) = 0 [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5153] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5152] rename("./bus", "./file2" [pid 5151] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5076] openat(AT_FDCWD, "./10/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5151] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5076] <... openat resumed>) = 4 [pid 5076] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5076] getdents64(4, [pid 5152] <... rename resumed>) = -1 EEXIST (File exists) [pid 5151] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5076] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5152] memfd_create("syzkaller", 0) = 5 [pid 5151] <... symlink resumed>) = 0 [pid 5150] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5076] getdents64(4, [pid 5152] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5076] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5152] <... mmap resumed>) = 0x7f8a3a600000 [pid 5151] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5150] <... openat resumed>) = 4 [pid 5076] close(4 [pid 5150] chdir("./file1" [pid 5076] <... close resumed>) = 0 [pid 5150] <... chdir resumed>) = 0 [pid 5076] rmdir("./10/bus" [pid 5150] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5076] <... rmdir resumed>) = 0 [pid 5150] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5150] creat("./file1", 000 [pid 5153] <... creat resumed>) = 4 [pid 5153] rename("./bus", "./file2") = -1 EEXIST (File exists) [pid 5153] memfd_create("syzkaller", 0 [pid 5152] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... creat resumed>) = 4 [pid 5076] umount2("./10/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5154] <... write resumed>) = 524288 [pid 5153] <... memfd_create resumed>) = 5 [pid 5151] rename("./bus", "./file2" [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 118.946764][ T5150] [ 118.949141][ T5150] ====================================================== [ 118.956173][ T5150] WARNING: possible circular locking dependency detected [ 118.963205][ T5150] 6.8.0-rc6-syzkaller-00278-g58c806d867bf #0 Not tainted [ 118.970245][ T5150] ------------------------------------------------------ [ 118.977273][ T5150] syz-executor221/5150 is trying to acquire lock: [ 118.983705][ T5150] ffff88802d2c00b0 (&tree->tree_lock){+.+.}-{3:3}, at: hfsplus_file_truncate+0x886/0x9e0 [ 118.993633][ T5150] [ 118.993633][ T5150] but task is already holding lock: [ 119.001009][ T5150] ffff88802b1f2988 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_truncate+0x204/0x9e0 [ 119.012221][ T5150] [ 119.012221][ T5150] which lock already depends on the new lock. [ 119.012221][ T5150] [ 119.022645][ T5150] [ 119.022645][ T5150] the existing dependency chain (in reverse order) is: [ 119.031673][ T5150] [ 119.031673][ T5150] -> #1 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}: [ 119.040749][ T5150] __mutex_lock+0x175/0x9d0 [ 119.045812][ T5150] hfsplus_file_extend+0x1c1/0x1090 [ 119.051560][ T5150] hfsplus_bmap_reserve+0x31c/0x410 [ 119.057485][ T5150] hfsplus_rename_cat+0x2b1/0x1240 [ 119.063145][ T5150] hfsplus_rename+0x118/0x200 [ 119.068370][ T5150] vfs_rename+0xf8a/0x20b0 [ 119.073347][ T5150] do_renameat2+0xc54/0xdc0 [ 119.078664][ T5150] __x64_sys_rename+0x81/0xa0 [ 119.083889][ T5150] do_syscall_64+0xd8/0x270 [ 119.088943][ T5150] entry_SYSCALL_64_after_hwframe+0x6f/0x77 [ 119.095489][ T5150] [ 119.095489][ T5150] -> #0 (&tree->tree_lock){+.+.}-{3:3}: [ 119.103255][ T5150] __lock_acquire+0x244f/0x3b40 [ 119.108675][ T5150] lock_acquire+0x1ae/0x520 [ 119.113742][ T5150] __mutex_lock+0x175/0x9d0 [ 119.118786][ T5150] hfsplus_file_truncate+0x886/0x9e0 [ 119.124621][ T5150] hfsplus_setattr+0x1eb/0x310 [ 119.129951][ T5150] notify_change+0x745/0x11c0 [ 119.135183][ T5150] do_truncate+0x15c/0x220 [ 119.140148][ T5150] path_openat+0x24c0/0x29a0 [ 119.145302][ T5150] do_filp_open+0x1de/0x440 [ 119.150441][ T5150] do_sys_openat2+0x17a/0x1e0 [ 119.155680][ T5150] __x64_sys_creat+0xcd/0x120 [ 119.160918][ T5150] do_syscall_64+0xd8/0x270 [ 119.165972][ T5150] entry_SYSCALL_64_after_hwframe+0x6f/0x77 [ 119.172431][ T5150] [ 119.172431][ T5150] other info that might help us debug this: [ 119.172431][ T5150] [ 119.182662][ T5150] Possible unsafe locking scenario: [ 119.182662][ T5150] [ 119.190204][ T5150] CPU0 CPU1 [ 119.195573][ T5150] ---- ---- [ 119.200942][ T5150] lock(&HFSPLUS_I(inode)->extents_lock); [ 119.206767][ T5150] lock(&tree->tree_lock); [ 119.213810][ T5150] lock(&HFSPLUS_I(inode)->extents_lock); [ 119.222156][ T5150] lock(&tree->tree_lock); [ 119.226766][ T5150] [ 119.226766][ T5150] *** DEADLOCK *** [ 119.226766][ T5150] [ 119.234915][ T5150] 3 locks held by syz-executor221/5150: [ 119.240471][ T5150] #0: ffff88802c6e6420 (sb_writers#9){.+.+}-{0:0}, at: path_openat+0x1fc0/0x29a0 [ 119.249794][ T5150] #1: ffff88802b1f2b80 (&sb->s_type->i_mutex_key#15){+.+.}-{3:3}, at: do_truncate+0x14b/0x220 [ 119.260227][ T5150] #2: ffff88802b1f2988 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_truncate+0x204/0x9e0 [ 119.271864][ T5150] [ 119.271864][ T5150] stack backtrace: [ 119.277764][ T5150] CPU: 1 PID: 5150 Comm: syz-executor221 Not tainted 6.8.0-rc6-syzkaller-00278-g58c806d867bf #0 [ 119.288202][ T5150] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 [ 119.298276][ T5150] Call Trace: [ 119.301566][ T5150] [ 119.304507][ T5150] dump_stack_lvl+0xd9/0x1b0 [ 119.309160][ T5150] check_noncircular+0x31b/0x400 [ 119.314144][ T5150] ? __pfx_check_noncircular+0x10/0x10 [ 119.319642][ T5150] ? register_lock_class+0xb1/0x1230 [ 119.324979][ T5150] ? srso_return_thunk+0x5/0x5f [ 119.329855][ T5150] ? lockdep_lock+0xc6/0x200 [ 119.334484][ T5150] ? __pfx_lockdep_lock+0x10/0x10 [ 119.339545][ T5150] ? srso_return_thunk+0x5/0x5f [ 119.344423][ T5150] __lock_acquire+0x244f/0x3b40 [ 119.349332][ T5150] ? __pfx___lock_acquire+0x10/0x10 [ 119.354577][ T5150] ? srso_return_thunk+0x5/0x5f [ 119.359453][ T5150] ? find_held_lock+0x2d/0x110 [ 119.364254][ T5150] lock_acquire+0x1ae/0x520 [ 119.368808][ T5150] ? hfsplus_file_truncate+0x886/0x9e0 [ 119.374302][ T5150] ? __pfx_lock_acquire+0x10/0x10 [ 119.379377][ T5150] ? srso_return_thunk+0x5/0x5f [ 119.384265][ T5150] ? srso_return_thunk+0x5/0x5f [ 119.389141][ T5150] ? __mutex_unlock_slowpath+0x165/0x650 [ 119.394825][ T5150] ? __pfx___might_resched+0x10/0x10 [ 119.400146][ T5150] ? srso_return_thunk+0x5/0x5f [ 119.405025][ T5150] __mutex_lock+0x175/0x9d0 [ 119.409550][ T5150] ? hfsplus_file_truncate+0x886/0x9e0 [ 119.415040][ T5150] ? hfsplus_file_truncate+0x886/0x9e0 [ 119.420522][ T5150] ? _raw_spin_unlock+0x28/0x50 [ 119.425411][ T5150] ? srso_return_thunk+0x5/0x5f [ 119.430294][ T5150] ? __pfx___mutex_lock+0x10/0x10 [ 119.435366][ T5150] ? srso_return_thunk+0x5/0x5f [ 119.440247][ T5150] ? srso_return_thunk+0x5/0x5f [ 119.445211][ T5150] ? hfsplus_file_truncate+0x886/0x9e0 [ 119.450791][ T5150] ? srso_return_thunk+0x5/0x5f [ 119.455668][ T5150] hfsplus_file_truncate+0x886/0x9e0 [ 119.460984][ T5150] ? srso_return_thunk+0x5/0x5f [ 119.465856][ T5150] ? __up_read+0x1fc/0x760 [ 119.470315][ T5150] ? __pfx_hfsplus_file_truncate+0x10/0x10 [ 119.476153][ T5150] ? srso_return_thunk+0x5/0x5f [ 119.481126][ T5150] ? inode_newsize_ok+0x13c/0x200 [ 119.486189][ T5150] ? srso_return_thunk+0x5/0x5f [ 119.491070][ T5150] hfsplus_setattr+0x1eb/0x310 [ 119.495891][ T5150] ? __pfx_hfsplus_setattr+0x10/0x10 [ 119.501256][ T5150] notify_change+0x745/0x11c0 [ 119.505980][ T5150] do_truncate+0x15c/0x220 [ 119.510424][ T5150] ? __pfx_do_truncate+0x10/0x10 [ 119.515389][ T5150] ? srso_return_thunk+0x5/0x5f [ 119.520264][ T5150] ? common_perm_cond+0x242/0x560 [ 119.525325][ T5150] path_openat+0x24c0/0x29a0 [ 119.529975][ T5150] ? __pfx_path_openat+0x10/0x10 [ 119.534958][ T5150] ? srso_return_thunk+0x5/0x5f [ 119.539835][ T5150] ? __pfx___lock_acquire+0x10/0x10 [ 119.545080][ T5150] ? find_held_lock+0x2d/0x110 [ 119.549882][ T5150] do_filp_open+0x1de/0x440 [ 119.554762][ T5150] ? __pfx_do_filp_open+0x10/0x10 [ 119.559924][ T5150] ? srso_return_thunk+0x5/0x5f [ 119.564826][ T5150] ? srso_return_thunk+0x5/0x5f [ 119.569726][ T5150] ? srso_return_thunk+0x5/0x5f [ 119.574604][ T5150] ? _raw_spin_unlock+0x28/0x50 [ 119.579492][ T5150] ? srso_return_thunk+0x5/0x5f [ 119.584369][ T5150] ? alloc_fd+0x2da/0x6c0 [ 119.588751][ T5150] do_sys_openat2+0x17a/0x1e0 [ 119.593469][ T5150] ? __pfx_do_sys_openat2+0x10/0x10 [ 119.598709][ T5150] ? ptrace_notify+0xf4/0x140 [ 119.603428][ T5150] ? __pfx_lock_release+0x10/0x10 [ 119.608509][ T5150] __x64_sys_creat+0xcd/0x120 [ 119.613232][ T5150] ? __pfx___x64_sys_creat+0x10/0x10 [ 119.618556][ T5150] ? srso_return_thunk+0x5/0x5f [ 119.623435][ T5150] ? _raw_spin_unlock_irq+0x2e/0x50 [ 119.628673][ T5150] ? srso_return_thunk+0x5/0x5f [ 119.633547][ T5150] ? ptrace_notify+0xf4/0x140 [ 119.638265][ T5150] ? srso_return_thunk+0x5/0x5f [ 119.643141][ T5150] ? syscall_trace_enter+0xb7/0x210 [ 119.648366][ T5150] do_syscall_64+0xd8/0x270 [ 119.652905][ T5150] entry_SYSCALL_64_after_hwframe+0x6f/0x77 [ 119.658859][ T5150] RIP: 0033:0x7f8a42b8b3d9 [ 119.663293][ T5150] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 21 18 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 119.682929][ T5150] RSP: 002b:00007ffd956f9978 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 [ 119.691374][ T5150] RAX: ffffffffffffffda RBX: 0031656c69662f2e RCX: 00007f8a42b8b3d9 [ 119.699364][ T5150] RDX: 00007f8a42b8a311 RSI: 0000000000000000 RDI: 0000000020000040 [ 119.707356][ T5150] RBP: 0073756c70736668 R08: 000000000000069b R09: 00007ffd956f99b0 [ 119.715353][ T5150] R10: 00007ffd956f9840 R11: 0000000000000246 R12: 00007ffd956f999c [ 119.723340][ T5150] R13: 000000000000000b R14: 431bde82d7b634db R15: 00007ffd956f99d0 [ 119.731427][ T5150] [pid 5153] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5152] <... write resumed>) = 524288 [pid 5151] <... rename resumed>) = -1 EEXIST (File exists) [pid 5076] newfstatat(AT_FDCWD, "./10/binderfs", [pid 5154] munmap(0x7f8a3a600000, 138412032 [pid 5076] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5154] <... munmap resumed>) = 0 [pid 5076] unlink("./10/binderfs" [pid 5154] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5076] <... unlink resumed>) = 0 [pid 5154] <... openat resumed>) = 4 [pid 5076] getdents64(3, 0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5154] ioctl(4, LOOP_SET_FD, 3 [pid 5076] close(3) = 0 [pid 5154] <... ioctl resumed>) = 0 [pid 5076] rmdir("./10" [pid 5150] <... creat resumed>) = 5 [pid 5154] close(3) = 0 [pid 5154] close(4) = 0 [pid 5154] mkdir("./bus", 0777) = 0 [pid 5076] <... rmdir resumed>) = 0 [pid 5154] mount("/dev/loop5", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5076] mkdir("./11", 0777) = 0 [pid 5076] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5076] ioctl(3, LOOP_CLR_FD [pid 5152] munmap(0x7f8a3a600000, 138412032 [pid 5154] <... mount resumed>) = 0 [pid 5153] <... mmap resumed>) = 0x7f8a3a600000 [pid 5152] <... munmap resumed>) = 0 [pid 5150] exit_group(0 [pid 5154] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5153] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5152] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5151] memfd_create("syzkaller", 0 [pid 5150] <... exit_group resumed>) = ? [pid 5154] <... openat resumed>) = 3 [pid 5154] chdir("./bus" [pid 5151] <... memfd_create resumed>) = 5 [pid 5154] <... chdir resumed>) = 0 [pid 5154] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5154] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5152] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5151] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5150] +++ exited with 0 +++ [ 119.757756][ T5154] loop5: detected capacity change from 0 to 1024 [pid 5152] close(5 [pid 5151] <... mmap resumed>) = 0x7f8a3a600000 [pid 5078] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5150, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5154] <... symlink resumed>) = 0 [pid 5152] <... close resumed>) = 0 [pid 5152] creat("./file1", 000 [pid 5154] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5153] <... write resumed>) = 524288 [pid 5151] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5076] <... ioctl resumed>) = 0 [pid 5154] <... creat resumed>) = 4 [pid 5076] close(3 [pid 5154] rename("./bus", "./file2" [pid 5078] umount2("./11", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] <... close resumed>) = 0 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5076] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5154] <... rename resumed>) = -1 EEXIST (File exists) [pid 5151] <... write resumed>) = 524288 [pid 5078] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY./strace-static-x86_64: Process 5155 attached [pid 5154] memfd_create("syzkaller", 0 [pid 5151] munmap(0x7f8a3a600000, 138412032 [pid 5078] <... openat resumed>) = 3 [pid 5076] <... clone resumed>, child_tidptr=0x555555c35650) = 5155 [pid 5154] <... memfd_create resumed>) = 5 [pid 5078] newfstatat(3, "", [pid 5151] <... munmap resumed>) = 0 [pid 5155] set_robust_list(0x555555c35660, 24 [pid 5154] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5153] munmap(0x7f8a3a600000, 138412032 [pid 5151] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5155] <... set_robust_list resumed>) = 0 [pid 5154] <... mmap resumed>) = 0x7f8a3a600000 [pid 5078] getdents64(3, [pid 5151] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5078] <... getdents64 resumed>0x555555c366f0 /* 6 entries */, 32768) = 416 [pid 5078] umount2("./11/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5078] newfstatat(AT_FDCWD, "./11/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5078] unlink("./11/binderfs") = 0 [pid 5078] umount2("./11/file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5155] chdir("./11" [pid 5154] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... munmap resumed>) = 0 [pid 5151] close(5 [pid 5078] newfstatat(AT_FDCWD, "./11/file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5155] <... chdir resumed>) = 0 [pid 5153] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5078] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=5, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5153] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5078] unlink("./11/file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5153] close(5 [pid 5078] <... unlink resumed>) = 0 [pid 5155] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5153] <... close resumed>) = 0 [pid 5078] umount2("./11/file2", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5078] newfstatat(AT_FDCWD, "./11/file2", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5155] <... prctl resumed>) = 0 [pid 5151] <... close resumed>) = 0 [pid 5078] unlink("./11/file2" [pid 5155] setpgid(0, 0 [pid 5078] <... unlink resumed>) = 0 [pid 5155] <... setpgid resumed>) = 0 [pid 5078] umount2("./11/file1", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5155] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5155] write(3, "1000", 4 [pid 5154] <... write resumed>) = 524288 [pid 5153] creat("./file1", 000 [pid 5152] <... creat resumed>) = 5 [pid 5151] creat("./file1", 000 [pid 5155] <... write resumed>) = 4 [pid 5155] close(3 [pid 5152] exit_group(0) = ? [pid 5155] <... close resumed>) = 0 [pid 5154] munmap(0x7f8a3a600000, 138412032 [pid 5153] <... creat resumed>) = 5 [pid 5152] +++ exited with 0 +++ [pid 5155] symlink("/dev/binderfs", "./binderfs" [pid 5075] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5152, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5155] <... symlink resumed>) = 0 [pid 5153] exit_group(0 [pid 5155] memfd_create("syzkaller", 0) = 3 [pid 5154] <... munmap resumed>) = 0 [pid 5153] <... exit_group resumed>) = ? [pid 5151] <... creat resumed>) = 5 [pid 5078] <... umount2 resumed>) = 0 [pid 5155] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5153] +++ exited with 0 +++ [pid 5151] exit_group(0 [pid 5155] <... mmap resumed>) = 0x7f8a3a600000 [pid 5151] <... exit_group resumed>) = ? [pid 5079] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5153, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [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] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5151] +++ exited with 0 +++ [pid 5078] umount2("./11/file1", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] umount2("./11", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5151, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] restart_syscall(<... resuming interrupted clone ...> [pid 5075] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5154] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] <... restart_syscall resumed>) = 0 [pid 5075] <... openat resumed>) = 3 [pid 5078] newfstatat(AT_FDCWD, "./11/file1", [pid 5075] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5154] close(5 [pid 5077] umount2("./10", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5078] umount2("./11/file1", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] getdents64(3, [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5077] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5075] umount2("./11/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5078] openat(AT_FDCWD, "./11/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5077] <... openat resumed>) = 3 [pid 5077] newfstatat(3, "", [pid 5079] umount2("./10", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5077] getdents64(3, 0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5078] <... openat resumed>) = 4 [pid 5077] umount2("./10/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5155] <... write resumed>) = 524288 [pid 5154] <... close resumed>) = 0 [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5078] newfstatat(4, "", [pid 5075] <... umount2 resumed>) = 0 [pid 5155] munmap(0x7f8a3a600000, 138412032 [pid 5154] creat("./file1", 000 [pid 5079] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5075] umount2("./11/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5155] <... munmap resumed>) = 0 [pid 5079] <... openat resumed>) = 3 [pid 5078] getdents64(4, [pid 5077] <... umount2 resumed>) = 0 [pid 5079] newfstatat(3, "", [pid 5078] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5078] getdents64(4, [pid 5079] getdents64(3, [pid 5078] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5079] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5078] close(4 [pid 5079] umount2("./10/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5078] <... close resumed>) = 0 [pid 5078] rmdir("./11/file1") = 0 [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5078] getdents64(3, 0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5078] close(3) = 0 [pid 5078] rmdir("./11" [pid 5155] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5078] <... rmdir resumed>) = 0 [pid 5075] newfstatat(AT_FDCWD, "./11/bus", [pid 5155] <... openat resumed>) = 4 [pid 5078] mkdir("./12", 0777 [pid 5077] umount2("./10/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5155] ioctl(4, LOOP_SET_FD, 3 [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5154] <... creat resumed>) = 5 [pid 5077] newfstatat(AT_FDCWD, "./10/bus", [pid 5075] umount2("./11/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5155] <... ioctl resumed>) = 0 [pid 5154] exit_group(0 [pid 5078] <... mkdir resumed>) = 0 [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] umount2("./10/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5075] openat(AT_FDCWD, "./11/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5154] <... exit_group resumed>) = ? [pid 5077] openat(AT_FDCWD, "./10/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5155] close(3 [pid 5154] +++ exited with 0 +++ [pid 5079] <... umount2 resumed>) = 0 [pid 5078] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5077] <... openat resumed>) = 4 [pid 5075] <... openat resumed>) = 4 [pid 5077] newfstatat(4, "", [pid 5075] newfstatat(4, "", [pid 5155] <... close resumed>) = 0 [pid 5081] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5154, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5155] close(4 [pid 5079] umount2("./10/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5078] <... openat resumed>) = 3 [pid 5077] getdents64(4, [pid 5075] getdents64(4, [pid 5155] <... close resumed>) = 0 [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5075] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5155] mkdir("./bus", 0777 [pid 5081] umount2("./11", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] newfstatat(AT_FDCWD, "./10/bus", [pid 5078] ioctl(3, LOOP_CLR_FD [pid 5077] getdents64(4, [pid 5075] getdents64(4, [pid 5155] <... mkdir resumed>) = 0 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5077] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5075] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5081] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5077] close(4 [pid 5075] close(4 [pid 5081] <... openat resumed>) = 3 [pid 5077] <... close resumed>) = 0 [pid 5075] <... close resumed>) = 0 [pid 5081] newfstatat(3, "", [pid 5077] rmdir("./10/bus" [pid 5075] rmdir("./11/bus" [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5079] umount2("./10/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] <... rmdir resumed>) = 0 [pid 5075] <... rmdir resumed>) = 0 [pid 5155] mount("/dev/loop1", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5081] getdents64(3, [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] umount2("./10/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] umount2("./11/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5081] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5079] openat(AT_FDCWD, "./10/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5081] umount2("./11/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] <... openat resumed>) = 4 [pid 5077] newfstatat(AT_FDCWD, "./10/binderfs", [pid 5075] newfstatat(AT_FDCWD, "./11/binderfs", [pid 5077] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5075] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5077] unlink("./10/binderfs" [pid 5075] unlink("./11/binderfs" [pid 5079] newfstatat(4, "", [pid 5077] <... unlink resumed>) = 0 [pid 5075] <... unlink resumed>) = 0 [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5077] getdents64(3, [pid 5075] getdents64(3, [pid 5079] getdents64(4, [pid 5077] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5075] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5079] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5077] close(3 [pid 5075] close(3 [pid 5079] getdents64(4, [pid 5077] <... close resumed>) = 0 [pid 5075] <... close resumed>) = 0 [pid 5079] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5077] rmdir("./10" [pid 5075] rmdir("./11" [pid 5079] close(4 [pid 5077] <... rmdir resumed>) = 0 [pid 5075] <... rmdir resumed>) = 0 [pid 5075] mkdir("./12", 0777 [pid 5079] <... close resumed>) = 0 [pid 5075] <... mkdir resumed>) = 0 [pid 5079] rmdir("./10/bus" [pid 5077] mkdir("./11", 0777 [pid 5081] <... umount2 resumed>) = 0 [pid 5079] <... rmdir resumed>) = 0 [pid 5081] umount2("./11/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5077] <... mkdir resumed>) = 0 [pid 5075] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5081] newfstatat(AT_FDCWD, "./11/bus", [pid 5075] <... openat resumed>) = 3 [pid 5079] umount2("./10/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5081] umount2("./11/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] newfstatat(AT_FDCWD, "./10/binderfs", [pid 5075] ioctl(3, LOOP_CLR_FD [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5079] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5081] openat(AT_FDCWD, "./11/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5079] unlink("./10/binderfs" [pid 5077] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5081] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5079] <... unlink resumed>) = 0 [pid 5077] <... openat resumed>) = 3 [pid 5081] getdents64(4, 0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5077] ioctl(3, LOOP_CLR_FD [pid 5081] getdents64(4, 0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5079] getdents64(3, [ 119.960703][ T5155] loop1: detected capacity change from 0 to 1024 [pid 5081] close(4 [pid 5079] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5081] <... close resumed>) = 0 [pid 5155] <... mount resumed>) = 0 [pid 5078] <... ioctl resumed>) = 0 [pid 5081] rmdir("./11/bus" [pid 5155] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5078] close(3 [pid 5155] <... openat resumed>) = 3 [pid 5081] <... rmdir resumed>) = 0 [pid 5078] <... close resumed>) = 0 [pid 5079] close(3 [pid 5155] chdir("./bus" [pid 5081] umount2("./11/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] <... close resumed>) = 0 [pid 5078] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5155] <... chdir resumed>) = 0 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5155] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5079] rmdir("./10" [pid 5155] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5079] <... rmdir resumed>) = 0 [pid 5155] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5081] newfstatat(AT_FDCWD, "./11/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5081] unlink("./11/binderfs"./strace-static-x86_64: Process 5156 attached [pid 5155] <... symlink resumed>) = 0 [pid 5079] mkdir("./11", 0777 [pid 5156] set_robust_list(0x555555c35660, 24 [pid 5155] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5081] <... unlink resumed>) = 0 [pid 5079] <... mkdir resumed>) = 0 [pid 5078] <... clone resumed>, child_tidptr=0x555555c35650) = 5156 [pid 5156] <... set_robust_list resumed>) = 0 [pid 5156] chdir("./12") = 0 [pid 5156] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5156] setpgid(0, 0) = 0 [pid 5081] getdents64(3, [pid 5156] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5155] <... creat resumed>) = 4 [pid 5081] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5079] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5075] <... ioctl resumed>) = 0 [pid 5156] <... openat resumed>) = 3 [pid 5155] rename("./bus", "./file2" [pid 5081] close(3 [pid 5155] <... rename resumed>) = -1 EEXIST (File exists) [pid 5081] <... close resumed>) = 0 [pid 5077] <... ioctl resumed>) = 0 [pid 5155] memfd_create("syzkaller", 0 [pid 5081] rmdir("./11" [pid 5156] write(3, "1000", 4) = 4 [pid 5156] close(3) = 0 [pid 5156] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5081] <... rmdir resumed>) = 0 [pid 5155] <... memfd_create resumed>) = 5 [pid 5156] memfd_create("syzkaller", 0 [pid 5155] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5081] mkdir("./12", 0777 [pid 5079] <... openat resumed>) = 3 [pid 5156] <... memfd_create resumed>) = 3 [pid 5156] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5081] <... mkdir resumed>) = 0 [pid 5079] ioctl(3, LOOP_CLR_FD [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 5155] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5081] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5077] close(3) = 0 [pid 5077] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5081] <... openat resumed>) = 3 [pid 5077] <... clone resumed>, child_tidptr=0x555555c35650) = 5157 [pid 5075] close(3) = 0 [pid 5075] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5157 attached [pid 5081] ioctl(3, LOOP_CLR_FD [pid 5157] set_robust_list(0x555555c35660, 24) = 0 [pid 5157] chdir("./11") = 0 [pid 5157] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5075] <... clone resumed>, child_tidptr=0x555555c35650) = 5158 [pid 5155] <... write resumed>) = 524288 ./strace-static-x86_64: Process 5158 attached [pid 5158] set_robust_list(0x555555c35660, 24) = 0 [pid 5158] chdir("./12") = 0 [pid 5158] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5158] setpgid(0, 0) = 0 [pid 5158] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5157] setpgid(0, 0 [pid 5156] <... write resumed>) = 524288 [pid 5157] <... setpgid resumed>) = 0 [pid 5158] <... openat resumed>) = 3 [pid 5157] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5079] <... ioctl resumed>) = 0 [pid 5158] write(3, "1000", 4) = 4 [pid 5158] close(3) = 0 [pid 5157] <... openat resumed>) = 3 [pid 5158] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5156] munmap(0x7f8a3a600000, 138412032 [pid 5158] memfd_create("syzkaller", 0 [pid 5157] write(3, "1000", 4 [pid 5156] <... munmap resumed>) = 0 [pid 5081] <... ioctl resumed>) = 0 [pid 5158] <... memfd_create resumed>) = 3 [pid 5157] <... write resumed>) = 4 [pid 5155] munmap(0x7f8a3a600000, 138412032 [pid 5079] close(3 [pid 5157] close(3 [pid 5079] <... close resumed>) = 0 [pid 5156] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5157] <... close resumed>) = 0 [pid 5156] ioctl(4, LOOP_SET_FD, 3 [pid 5155] <... munmap resumed>) = 0 [pid 5081] close(3 [pid 5079] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5157] symlink("/dev/binderfs", "./binderfs" [pid 5158] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0./strace-static-x86_64: Process 5159 attached ) = 0x7f8a3a600000 [pid 5157] <... symlink resumed>) = 0 [pid 5155] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5081] <... close resumed>) = 0 [pid 5157] memfd_create("syzkaller", 0 [pid 5079] <... clone resumed>, child_tidptr=0x555555c35650) = 5159 [pid 5157] <... memfd_create resumed>) = 3 [pid 5159] set_robust_list(0x555555c35660, 24 [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] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5155] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5081] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5157] <... mmap resumed>) = 0x7f8a3a600000 [pid 5159] <... set_robust_list resumed>) = 0 [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] close(5 [pid 5159] chdir("./11" [pid 5156] <... ioctl resumed>) = 0 [pid 5155] <... close resumed>) = 0 [pid 5159] <... chdir resumed>) = 0 [pid 5159] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5081] <... clone resumed>, child_tidptr=0x555555c35650) = 5160 [pid 5159] <... prctl resumed>) = 0 [pid 5159] setpgid(0, 0./strace-static-x86_64: Process 5160 attached [pid 5156] close(3 [pid 5160] set_robust_list(0x555555c35660, 24 [pid 5156] <... close resumed>) = 0 [pid 5160] <... set_robust_list resumed>) = 0 [pid 5156] close(4 [pid 5160] chdir("./12" [pid 5156] <... close resumed>) = 0 [pid 5160] <... chdir resumed>) = 0 [pid 5159] <... setpgid resumed>) = 0 [pid 5156] mkdir("./bus", 0777) = 0 [pid 5160] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5159] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5156] mount("/dev/loop3", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5160] <... prctl resumed>) = 0 [pid 5159] <... openat resumed>) = 3 [pid 5160] setpgid(0, 0 [pid 5158] <... write resumed>) = 524288 [pid 5160] <... setpgid resumed>) = 0 [ 120.161902][ T5156] loop3: detected capacity change from 0 to 1024 [pid 5160] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5159] write(3, "1000", 4 [pid 5157] <... write resumed>) = 524288 [pid 5159] <... write resumed>) = 4 [pid 5158] munmap(0x7f8a3a600000, 138412032 [pid 5157] munmap(0x7f8a3a600000, 138412032 [pid 5155] creat("./file1", 000 [pid 5159] close(3) = 0 [pid 5160] <... openat resumed>) = 3 [pid 5159] symlink("/dev/binderfs", "./binderfs" [pid 5158] <... munmap resumed>) = 0 [pid 5157] <... munmap resumed>) = 0 [pid 5156] <... mount resumed>) = 0 [pid 5156] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY) = 3 [pid 5159] <... symlink resumed>) = 0 [pid 5156] chdir("./bus") = 0 [pid 5156] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5156] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5159] memfd_create("syzkaller", 0 [pid 5157] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5156] <... symlink resumed>) = 0 [pid 5155] <... creat resumed>) = 5 [pid 5160] write(3, "1000", 4) = 4 [pid 5156] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5157] <... openat resumed>) = 4 [pid 5160] close(3 [pid 5158] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5160] <... close resumed>) = 0 [pid 5158] <... openat resumed>) = 4 [pid 5160] symlink("/dev/binderfs", "./binderfs" [pid 5158] ioctl(4, LOOP_SET_FD, 3 [pid 5160] <... symlink resumed>) = 0 [pid 5159] <... memfd_create resumed>) = 3 [pid 5157] ioctl(4, LOOP_SET_FD, 3 [pid 5155] exit_group(0 [pid 5160] memfd_create("syzkaller", 0 [pid 5159] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5160] <... memfd_create resumed>) = 3 [pid 5160] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5156] <... creat resumed>) = 4 [pid 5160] <... mmap resumed>) = 0x7f8a3a600000 [pid 5156] rename("./bus", "./file2" [pid 5159] <... mmap resumed>) = 0x7f8a3a600000 [pid 5155] <... exit_group resumed>) = ? [pid 5156] <... rename resumed>) = -1 EEXIST (File exists) [pid 5156] memfd_create("syzkaller", 0) = 5 [pid 5156] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5155] +++ exited with 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 5156] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5076] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5155, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [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 5076] umount2("./11", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5159] <... write resumed>) = 524288 [pid 5158] <... ioctl resumed>) = 0 [pid 5157] <... ioctl resumed>) = 0 [pid 5156] <... write resumed>) = 524288 [pid 5076] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5159] munmap(0x7f8a3a600000, 138412032 [pid 5158] close(3 [pid 5157] close(3 [pid 5156] munmap(0x7f8a3a600000, 138412032 [pid 5076] <... openat resumed>) = 3 [pid 5160] <... write resumed>) = 524288 [pid 5157] <... close resumed>) = 0 [pid 5076] newfstatat(3, "", [pid 5160] munmap(0x7f8a3a600000, 138412032 [pid 5157] close(4 [pid 5160] <... munmap resumed>) = 0 [pid 5158] <... close resumed>) = 0 [pid 5156] <... munmap resumed>) = 0 [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5160] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5159] <... munmap resumed>) = 0 [pid 5158] close(4 [pid 5157] <... close resumed>) = 0 [pid 5156] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5076] getdents64(3, [pid 5160] <... openat resumed>) = 4 [pid 5159] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5158] <... close resumed>) = 0 [ 120.250630][ T5158] loop0: detected capacity change from 0 to 1024 [ 120.258481][ T5157] loop2: detected capacity change from 0 to 1024 [pid 5157] mkdir("./bus", 0777 [pid 5159] <... openat resumed>) = 4 [pid 5158] mkdir("./bus", 0777 [pid 5156] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5076] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5160] ioctl(4, LOOP_SET_FD, 3 [pid 5159] ioctl(4, LOOP_SET_FD, 3 [pid 5157] <... mkdir resumed>) = 0 [pid 5158] <... mkdir resumed>) = 0 [pid 5156] close(5 [pid 5076] umount2("./11/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5158] mount("/dev/loop0", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5157] mount("/dev/loop2", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5160] <... ioctl resumed>) = 0 [pid 5157] <... mount resumed>) = 0 [pid 5160] close(3 [pid 5157] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY) = 3 [pid 5157] chdir("./bus") = 0 [pid 5157] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5157] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5160] <... close resumed>) = 0 [pid 5160] close(4) = 0 [pid 5160] mkdir("./bus", 0777 [pid 5157] <... symlink resumed>) = 0 [pid 5160] <... mkdir resumed>) = 0 [pid 5157] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5160] mount("/dev/loop5", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5156] <... close resumed>) = 0 [pid 5159] <... ioctl resumed>) = 0 [pid 5156] creat("./file1", 000 [pid 5159] close(3) = 0 [pid 5159] close(4 [pid 5157] <... creat resumed>) = 4 [pid 5160] <... mount resumed>) = 0 [pid 5159] <... close resumed>) = 0 [pid 5160] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5159] mkdir("./bus", 0777 [pid 5157] rename("./bus", "./file2" [pid 5160] <... openat resumed>) = 3 [pid 5160] chdir("./bus") = 0 [pid 5160] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5159] <... mkdir resumed>) = 0 [pid 5157] <... rename resumed>) = -1 EEXIST (File exists) [pid 5156] <... creat resumed>) = 5 [pid 5160] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5156] exit_group(0) = ? [pid 5157] memfd_create("syzkaller", 0 [pid 5076] <... umount2 resumed>) = 0 [pid 5160] <... symlink resumed>) = 0 [pid 5159] mount("/dev/loop4", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5157] <... memfd_create resumed>) = 5 [pid 5076] umount2("./11/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5158] <... mount resumed>) = 0 [pid 5160] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5158] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [ 120.307724][ T5160] loop5: detected capacity change from 0 to 1024 [ 120.315271][ T5159] loop4: detected capacity change from 0 to 1024 [pid 5157] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5158] <... openat resumed>) = 3 [pid 5157] <... mmap resumed>) = 0x7f8a3a600000 [pid 5076] newfstatat(AT_FDCWD, "./11/bus", [pid 5158] chdir("./bus") = 0 [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5158] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5076] umount2("./11/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5159] <... mount resumed>) = 0 [pid 5158] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5156] +++ exited with 0 +++ [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5160] <... creat resumed>) = 4 [pid 5159] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY) = 3 [pid 5078] --- 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 5076] openat(AT_FDCWD, "./11/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5160] rename("./bus", "./file2" [pid 5159] chdir("./bus" [pid 5078] restart_syscall(<... resuming interrupted clone ...> [pid 5159] <... chdir resumed>) = 0 [pid 5078] <... restart_syscall resumed>) = 0 [pid 5076] <... openat resumed>) = 4 [pid 5160] <... rename resumed>) = -1 EEXIST (File exists) [pid 5159] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5158] <... symlink resumed>) = 0 [pid 5157] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5078] umount2("./12", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5160] memfd_create("syzkaller", 0 [pid 5159] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5160] <... memfd_create resumed>) = 5 [pid 5078] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5076] newfstatat(4, "", [pid 5160] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5078] <... openat resumed>) = 3 [pid 5160] <... mmap resumed>) = 0x7f8a3a600000 [pid 5158] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5078] newfstatat(3, "", [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5076] getdents64(4, [pid 5078] getdents64(3, [pid 5076] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5076] getdents64(4, [pid 5078] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5076] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5078] umount2("./12/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] close(4 [pid 5159] <... symlink resumed>) = 0 [pid 5076] <... close resumed>) = 0 [pid 5076] rmdir("./11/bus" [pid 5159] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5076] <... rmdir resumed>) = 0 [pid 5076] umount2("./11/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5076] newfstatat(AT_FDCWD, "./11/binderfs", [pid 5158] <... creat resumed>) = 4 [pid 5158] rename("./bus", "./file2" [pid 5076] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5076] unlink("./11/binderfs") = 0 [pid 5160] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... rename resumed>) = -1 EEXIST (File exists) [pid 5076] getdents64(3, [pid 5159] <... creat resumed>) = 4 [pid 5158] memfd_create("syzkaller", 0 [pid 5076] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5159] rename("./bus", "./file2" [pid 5076] close(3 [pid 5160] <... write resumed>) = 524288 [pid 5159] <... rename resumed>) = -1 EEXIST (File exists) [pid 5158] <... memfd_create resumed>) = 5 [pid 5157] <... write resumed>) = 524288 [pid 5078] <... umount2 resumed>) = 0 [pid 5076] <... close resumed>) = 0 [pid 5158] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5078] umount2("./12/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] rmdir("./11" [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5159] memfd_create("syzkaller", 0 [pid 5157] munmap(0x7f8a3a600000, 138412032 [pid 5159] <... memfd_create resumed>) = 5 [pid 5157] <... munmap resumed>) = 0 [pid 5078] newfstatat(AT_FDCWD, "./12/bus", [pid 5076] <... rmdir resumed>) = 0 [pid 5158] <... mmap resumed>) = 0x7f8a3a600000 [pid 5159] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5159] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5078] umount2("./12/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] mkdir("./12", 0777 [pid 5157] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5078] openat(AT_FDCWD, "./12/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5076] <... mkdir resumed>) = 0 [pid 5157] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5157] close(5 [pid 5076] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5078] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5076] <... openat resumed>) = 3 [pid 5157] <... close resumed>) = 0 [pid 5078] getdents64(4, [pid 5076] ioctl(3, LOOP_CLR_FD [pid 5160] munmap(0x7f8a3a600000, 138412032 [pid 5078] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5078] getdents64(4, 0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5160] <... munmap resumed>) = 0 [pid 5078] close(4 [pid 5160] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5078] <... close resumed>) = 0 [pid 5078] rmdir("./12/bus") = 0 [pid 5078] umount2("./12/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5078] newfstatat(AT_FDCWD, "./12/binderfs", [pid 5160] close(5 [pid 5078] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5078] unlink("./12/binderfs") = 0 [pid 5159] <... write resumed>) = 524288 [pid 5078] getdents64(3, [pid 5157] creat("./file1", 000 [pid 5158] <... write resumed>) = 524288 [pid 5160] <... close resumed>) = 0 [pid 5158] munmap(0x7f8a3a600000, 138412032 [pid 5078] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5078] close(3 [pid 5159] munmap(0x7f8a3a600000, 138412032 [pid 5078] <... close resumed>) = 0 [pid 5158] <... munmap resumed>) = 0 [pid 5078] rmdir("./12" [pid 5159] <... munmap resumed>) = 0 [pid 5159] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5078] <... rmdir resumed>) = 0 [pid 5159] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5159] close(5 [pid 5158] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5157] <... creat resumed>) = 5 [pid 5078] mkdir("./13", 0777 [pid 5157] exit_group(0 [pid 5158] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5157] <... exit_group resumed>) = ? [pid 5160] creat("./file1", 000 [pid 5158] close(5 [pid 5157] +++ exited with 0 +++ [pid 5078] <... mkdir resumed>) = 0 [pid 5078] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5077] --- 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 5077] umount2("./11", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5159] <... close resumed>) = 0 [pid 5158] <... close resumed>) = 0 [pid 5078] <... openat resumed>) = 3 [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5077] newfstatat(3, "", [pid 5078] ioctl(3, LOOP_CLR_FD [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5077] getdents64(3, 0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5077] umount2("./11/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5160] <... creat resumed>) = 5 [pid 5160] exit_group(0) = ? [pid 5160] +++ exited with 0 +++ [pid 5081] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5160, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5159] creat("./file1", 000 [pid 5158] creat("./file1", 000 [pid 5076] <... ioctl resumed>) = 0 [pid 5076] close(3 [pid 5081] umount2("./12", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] <... close resumed>) = 0 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5076] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5161 attached [pid 5081] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5076] <... clone resumed>, child_tidptr=0x555555c35650) = 5161 [pid 5161] set_robust_list(0x555555c35660, 24 [pid 5158] <... creat resumed>) = 5 [pid 5081] <... openat resumed>) = 3 [pid 5077] <... umount2 resumed>) = 0 [pid 5161] <... set_robust_list resumed>) = 0 [pid 5159] <... creat resumed>) = 5 [pid 5158] exit_group(0 [pid 5081] newfstatat(3, "", [pid 5159] exit_group(0 [pid 5158] <... exit_group resumed>) = ? [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5161] chdir("./12" [pid 5081] getdents64(3, [pid 5159] <... exit_group resumed>) = ? [pid 5161] <... chdir resumed>) = 0 [pid 5159] +++ exited with 0 +++ [pid 5081] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5161] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5079] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5159, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5161] <... prctl resumed>) = 0 [pid 5161] setpgid(0, 0 [pid 5081] umount2("./12/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] restart_syscall(<... resuming interrupted clone ...> [pid 5077] umount2("./11/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5079] <... restart_syscall resumed>) = 0 [pid 5078] <... ioctl resumed>) = 0 [pid 5077] newfstatat(AT_FDCWD, "./11/bus", [pid 5161] <... setpgid resumed>) = 0 [pid 5158] +++ exited with 0 +++ [pid 5075] --- 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 5075] restart_syscall(<... resuming interrupted clone ...> [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5077] umount2("./11/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] <... restart_syscall resumed>) = 0 [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] openat(AT_FDCWD, "./11/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5075] umount2("./12", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] newfstatat(4, "", [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5075] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5077] getdents64(4, [pid 5075] <... openat resumed>) = 3 [pid 5077] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5075] newfstatat(3, "", [pid 5077] getdents64(4, [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5077] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5075] getdents64(3, [pid 5077] close(4 [pid 5075] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5161] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5079] umount2("./11", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] <... close resumed>) = 0 [pid 5075] umount2("./12/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] rmdir("./11/bus" [pid 5161] <... openat resumed>) = 3 [pid 5079] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5077] <... rmdir resumed>) = 0 [pid 5077] umount2("./11/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5077] newfstatat(AT_FDCWD, "./11/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5077] unlink("./11/binderfs") = 0 [pid 5077] getdents64(3, [pid 5079] <... openat resumed>) = 3 [pid 5079] newfstatat(3, "", [pid 5077] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5077] close(3 [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5077] <... close resumed>) = 0 [pid 5077] rmdir("./11") = 0 [pid 5161] write(3, "1000", 4 [pid 5079] getdents64(3, [pid 5077] mkdir("./12", 0777 [pid 5161] <... write resumed>) = 4 [pid 5161] close(3 [pid 5077] <... mkdir resumed>) = 0 [pid 5161] <... close resumed>) = 0 [pid 5079] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5077] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5077] ioctl(3, LOOP_CLR_FD [pid 5079] umount2("./11/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5161] symlink("/dev/binderfs", "./binderfs" [pid 5078] close(3) = 0 [pid 5161] <... symlink resumed>) = 0 [pid 5078] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5075] <... umount2 resumed>) = 0 [pid 5161] memfd_create("syzkaller", 0 [pid 5081] <... umount2 resumed>) = 0 [pid 5161] <... memfd_create resumed>) = 3 [pid 5161] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5078] <... clone resumed>, child_tidptr=0x555555c35650) = 5162 [pid 5161] <... mmap resumed>) = 0x7f8a3a600000 [pid 5079] <... umount2 resumed>) = 0 ./strace-static-x86_64: Process 5162 attached [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 5081] umount2("./12/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] <... ioctl resumed>) = 0 [pid 5075] umount2("./12/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5162] set_robust_list(0x555555c35660, 24 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5079] umount2("./11/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5162] <... set_robust_list resumed>) = 0 [pid 5081] newfstatat(AT_FDCWD, "./12/bus", [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] newfstatat(AT_FDCWD, "./12/bus", [pid 5162] chdir("./13" [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5079] newfstatat(AT_FDCWD, "./11/bus", [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5162] <... chdir resumed>) = 0 [pid 5081] umount2("./12/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5075] umount2("./12/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5162] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5079] umount2("./11/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5162] <... prctl resumed>) = 0 [pid 5081] openat(AT_FDCWD, "./12/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] openat(AT_FDCWD, "./12/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5162] setpgid(0, 0 [pid 5081] <... openat resumed>) = 4 [pid 5079] openat(AT_FDCWD, "./11/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5077] close(3 [pid 5162] <... setpgid resumed>) = 0 [pid 5081] newfstatat(4, "", [pid 5079] <... openat resumed>) = 4 [pid 5077] <... close resumed>) = 0 [pid 5075] <... openat resumed>) = 4 [pid 5162] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5079] newfstatat(4, "", [pid 5077] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5075] newfstatat(4, "", [pid 5162] <... openat resumed>) = 3 [pid 5081] getdents64(4, [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5081] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5079] getdents64(4, [pid 5075] getdents64(4, [pid 5081] getdents64(4, [pid 5079] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5075] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5162] write(3, "1000", 4 [pid 5081] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5079] getdents64(4, [pid 5162] <... write resumed>) = 4 [pid 5081] close(4 [pid 5075] getdents64(4, [pid 5162] close(3 [pid 5081] <... close resumed>) = 0 [pid 5079] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5077] <... clone resumed>, child_tidptr=0x555555c35650) = 5163 [pid 5075] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5162] <... close resumed>) = 0 [pid 5081] rmdir("./12/bus" [pid 5079] close(4 [pid 5075] close(4 [pid 5162] symlink("/dev/binderfs", "./binderfs" [pid 5081] <... rmdir resumed>) = 0 [pid 5079] <... close resumed>) = 0 [pid 5075] <... close resumed>) = 0 [pid 5162] <... symlink resumed>) = 0 [pid 5081] umount2("./12/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] rmdir("./11/bus" [pid 5075] rmdir("./12/bus"./strace-static-x86_64: Process 5163 attached [pid 5162] memfd_create("syzkaller", 0 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5079] <... rmdir resumed>) = 0 [pid 5075] <... rmdir resumed>) = 0 [pid 5163] set_robust_list(0x555555c35660, 24 [pid 5162] <... memfd_create resumed>) = 3 [pid 5081] newfstatat(AT_FDCWD, "./12/binderfs", [pid 5079] umount2("./11/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] umount2("./12/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5163] <... set_robust_list resumed>) = 0 [pid 5162] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5081] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5163] chdir("./12" [pid 5162] <... mmap resumed>) = 0x7f8a3a600000 [pid 5081] unlink("./12/binderfs" [pid 5079] newfstatat(AT_FDCWD, "./11/binderfs", [pid 5075] newfstatat(AT_FDCWD, "./12/binderfs", [pid 5163] <... chdir resumed>) = 0 [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 5081] <... unlink resumed>) = 0 [pid 5079] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5075] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5163] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5081] getdents64(3, [pid 5079] unlink("./11/binderfs" [pid 5075] unlink("./12/binderfs" [pid 5163] setpgid(0, 0 [pid 5081] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5079] <... unlink resumed>) = 0 [pid 5075] <... unlink resumed>) = 0 [pid 5163] <... setpgid resumed>) = 0 [pid 5081] close(3) = 0 [pid 5079] getdents64(3, [pid 5163] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5079] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5075] getdents64(3, [pid 5081] rmdir("./12" [pid 5075] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5079] close(3 [pid 5075] close(3 [pid 5081] <... rmdir resumed>) = 0 [pid 5079] <... close resumed>) = 0 [pid 5075] <... close resumed>) = 0 [pid 5163] <... openat resumed>) = 3 [pid 5079] rmdir("./11" [pid 5075] rmdir("./12" [pid 5163] write(3, "1000", 4 [pid 5081] mkdir("./13", 0777 [pid 5079] <... rmdir resumed>) = 0 [pid 5075] <... rmdir resumed>) = 0 [pid 5163] <... write resumed>) = 4 [pid 5163] close(3) = 0 [pid 5163] symlink("/dev/binderfs", "./binderfs" [pid 5081] <... mkdir resumed>) = 0 [pid 5079] mkdir("./12", 0777 [pid 5075] mkdir("./13", 0777 [pid 5163] <... symlink resumed>) = 0 [pid 5079] <... mkdir resumed>) = 0 [pid 5075] <... mkdir resumed>) = 0 [pid 5163] memfd_create("syzkaller", 0 [pid 5081] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5081] ioctl(3, LOOP_CLR_FD [pid 5079] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5075] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5163] <... memfd_create resumed>) = 3 [pid 5079] <... openat resumed>) = 3 [pid 5075] <... openat resumed>) = 3 [pid 5079] ioctl(3, LOOP_CLR_FD [pid 5075] ioctl(3, LOOP_CLR_FD [pid 5163] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5079] <... ioctl resumed>) = 0 [pid 5163] <... mmap resumed>) = 0x7f8a3a600000 [pid 5079] close(3 [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 5079] <... close resumed>) = 0 [pid 5161] <... write resumed>) = 524288 [pid 5079] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5161] munmap(0x7f8a3a600000, 138412032 [pid 5079] <... clone resumed>, child_tidptr=0x555555c35650) = 5164 ./strace-static-x86_64: Process 5164 attached [pid 5164] set_robust_list(0x555555c35660, 24) = 0 [pid 5164] chdir("./12" [pid 5161] <... munmap resumed>) = 0 [pid 5164] <... chdir resumed>) = 0 [pid 5162] <... write resumed>) = 524288 [pid 5161] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5164] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5162] munmap(0x7f8a3a600000, 138412032) = 0 [pid 5164] <... prctl resumed>) = 0 [pid 5164] setpgid(0, 0 [pid 5161] <... openat resumed>) = 4 [pid 5164] <... setpgid resumed>) = 0 [pid 5164] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5162] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5164] <... openat resumed>) = 3 [pid 5162] <... openat resumed>) = 4 [pid 5162] ioctl(4, LOOP_SET_FD, 3 [pid 5161] ioctl(4, LOOP_SET_FD, 3 [pid 5164] write(3, "1000", 4) = 4 [pid 5164] close(3) = 0 [pid 5164] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5164] memfd_create("syzkaller", 0) = 3 [pid 5164] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5163] <... write resumed>) = 524288 [pid 5163] munmap(0x7f8a3a600000, 138412032) = 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 5163] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5163] ioctl(4, LOOP_SET_FD, 3 [pid 5162] <... ioctl resumed>) = 0 [pid 5162] close(3) = 0 [pid 5162] close(4) = 0 [pid 5162] mkdir("./bus", 0777) = 0 [pid 5081] <... ioctl resumed>) = 0 [pid 5164] <... write resumed>) = 524288 [pid 5162] mount("/dev/loop3", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5081] close(3) = 0 [pid 5081] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5164] munmap(0x7f8a3a600000, 138412032) = 0 [pid 5164] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5163] <... ioctl resumed>) = 0 [pid 5163] close(3) = 0 [pid 5163] close(4) = 0 [ 120.690598][ T5162] loop3: detected capacity change from 0 to 1024 [ 120.690769][ T5161] loop1: detected capacity change from 0 to 1024 [ 120.715957][ T5163] loop2: detected capacity change from 0 to 1024 ./strace-static-x86_64: Process 5165 attached [pid 5164] <... openat resumed>) = 4 [pid 5163] mkdir("./bus", 0777 [pid 5162] <... mount resumed>) = 0 [pid 5081] <... clone resumed>, child_tidptr=0x555555c35650) = 5165 [pid 5165] set_robust_list(0x555555c35660, 24 [pid 5162] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY) = 3 [pid 5161] <... ioctl resumed>) = 0 [pid 5165] <... set_robust_list resumed>) = 0 [pid 5163] <... mkdir resumed>) = 0 [pid 5165] chdir("./13" [pid 5162] chdir("./bus" [pid 5164] ioctl(4, LOOP_SET_FD, 3 [pid 5162] <... chdir resumed>) = 0 [pid 5164] <... ioctl resumed>) = 0 [pid 5162] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5161] close(3 [pid 5075] <... ioctl resumed>) = 0 [pid 5165] <... chdir resumed>) = 0 [pid 5163] mount("/dev/loop2", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5165] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5162] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5165] setpgid(0, 0 [pid 5162] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5075] close(3 [pid 5165] <... setpgid resumed>) = 0 [pid 5165] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5075] <... close resumed>) = 0 [pid 5165] <... openat resumed>) = 3 [pid 5075] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5165] write(3, "1000", 4 [pid 5162] <... symlink resumed>) = 0 [pid 5161] <... close resumed>) = 0 [pid 5165] <... write resumed>) = 4 [pid 5162] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5161] close(4 [pid 5165] close(3 [pid 5161] <... close resumed>) = 0 [pid 5165] <... close resumed>) = 0 [pid 5161] mkdir("./bus", 0777 [pid 5165] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5165] memfd_create("syzkaller", 0 [pid 5161] <... mkdir resumed>) = 0 [pid 5165] <... memfd_create resumed>) = 3 [pid 5161] mount("/dev/loop1", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, ""./strace-static-x86_64: Process 5166 attached [pid 5166] set_robust_list(0x555555c35660, 24) = 0 [pid 5165] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5075] <... clone resumed>, child_tidptr=0x555555c35650) = 5166 [pid 5166] chdir("./13" [pid 5165] <... mmap resumed>) = 0x7f8a3a600000 [pid 5162] <... creat resumed>) = 4 [pid 5162] rename("./bus", "./file2" [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] <... mount resumed>) = 0 [pid 5166] <... chdir resumed>) = 0 [pid 5164] close(3 [pid 5163] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5162] <... rename resumed>) = -1 EEXIST (File exists) [pid 5166] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5164] <... close resumed>) = 0 [pid 5163] <... openat resumed>) = 3 [pid 5162] memfd_create("syzkaller", 0 [pid 5166] <... prctl resumed>) = 0 [pid 5164] close(4 [pid 5162] <... memfd_create resumed>) = 5 [pid 5166] setpgid(0, 0 [pid 5164] <... close resumed>) = 0 [pid 5162] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5166] <... setpgid resumed>) = 0 [pid 5164] mkdir("./bus", 0777 [pid 5162] <... mmap resumed>) = 0x7f8a3a600000 [pid 5166] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5164] <... mkdir resumed>) = 0 [pid 5166] <... openat resumed>) = 3 [pid 5163] chdir("./bus") = 0 [pid 5162] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] write(3, "1000", 4 [pid 5164] mount("/dev/loop4", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5163] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5161] <... mount resumed>) = 0 [pid 5166] <... write resumed>) = 4 [pid 5163] <... openat resumed>) = -1 EBUSY (Device or resource busy) [ 120.766374][ T5164] loop4: detected capacity change from 0 to 1024 [pid 5161] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5166] close(3 [pid 5163] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5166] <... close resumed>) = 0 [pid 5166] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5161] <... openat resumed>) = 3 [pid 5161] chdir("./bus" [pid 5166] memfd_create("syzkaller", 0 [pid 5163] <... symlink resumed>) = 0 [pid 5162] <... write resumed>) = 524288 [pid 5161] <... chdir resumed>) = 0 [pid 5166] <... memfd_create resumed>) = 3 [pid 5163] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5166] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5161] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5166] <... mmap resumed>) = 0x7f8a3a600000 [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 5161] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5161] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5166] <... write resumed>) = 524288 [pid 5165] <... write resumed>) = 524288 [pid 5164] <... mount resumed>) = 0 [pid 5163] <... creat resumed>) = 4 [pid 5161] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5164] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5163] rename("./bus", "./file2" [pid 5162] munmap(0x7f8a3a600000, 138412032 [pid 5164] <... openat resumed>) = 3 [pid 5162] <... munmap resumed>) = 0 [pid 5164] chdir("./bus" [pid 5165] munmap(0x7f8a3a600000, 138412032 [pid 5164] <... chdir resumed>) = 0 [pid 5165] <... munmap resumed>) = 0 [pid 5164] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5164] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5162] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5162] close(5 [pid 5165] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5164] <... symlink resumed>) = 0 [pid 5161] <... creat resumed>) = 4 [pid 5161] rename("./bus", "./file2" [pid 5163] <... rename resumed>) = -1 EEXIST (File exists) [pid 5163] memfd_create("syzkaller", 0 [pid 5166] munmap(0x7f8a3a600000, 138412032 [pid 5165] <... openat resumed>) = 4 [pid 5163] <... memfd_create resumed>) = 5 [pid 5161] <... rename resumed>) = -1 EEXIST (File exists) [pid 5166] <... munmap resumed>) = 0 [pid 5165] ioctl(4, LOOP_SET_FD, 3 [pid 5164] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5163] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5161] memfd_create("syzkaller", 0 [pid 5163] <... mmap resumed>) = 0x7f8a3a600000 [pid 5161] <... memfd_create resumed>) = 5 [pid 5161] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5165] <... ioctl resumed>) = 0 [pid 5162] <... close resumed>) = 0 [pid 5161] <... mmap resumed>) = 0x7f8a3a600000 [pid 5166] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5164] <... creat resumed>) = 4 [pid 5164] rename("./bus", "./file2" [pid 5163] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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(4, LOOP_SET_FD, 3 [pid 5162] creat("./file1", 000 [pid 5161] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5164] <... rename resumed>) = -1 EEXIST (File exists) [pid 5164] memfd_create("syzkaller", 0) = 5 [pid 5164] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5164] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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(3) = 0 [pid 5165] close(4 [pid 5162] <... creat resumed>) = 5 [pid 5165] <... close resumed>) = 0 [pid 5165] mkdir("./bus", 0777) = 0 [pid 5165] mount("/dev/loop5", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5163] <... write resumed>) = 524288 [pid 5162] exit_group(0) = ? [pid 5163] munmap(0x7f8a3a600000, 138412032) = 0 [pid 5166] close(3) = 0 [pid 5163] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5166] close(4 [pid 5164] <... write resumed>) = 524288 [pid 5163] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5166] <... close resumed>) = 0 [pid 5162] +++ exited with 0 +++ [pid 5166] mkdir("./bus", 0777 [pid 5078] --- 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 5166] <... mkdir resumed>) = 0 [pid 5163] close(5 [pid 5161] <... write resumed>) = 524288 [pid 5078] umount2("./13", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5163] <... close resumed>) = 0 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5078] openat(AT_FDCWD, "./13", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [ 120.904960][ T5165] loop5: detected capacity change from 0 to 1024 [ 120.927241][ T5166] loop0: detected capacity change from 0 to 1024 [pid 5166] mount("/dev/loop0", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5078] newfstatat(3, "", [pid 5161] munmap(0x7f8a3a600000, 138412032 [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5078] getdents64(3, [pid 5161] <... munmap resumed>) = 0 [pid 5078] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5161] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5078] umount2("./13/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5161] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5165] <... mount resumed>) = 0 [pid 5164] munmap(0x7f8a3a600000, 138412032 [pid 5161] close(5 [pid 5164] <... munmap resumed>) = 0 [pid 5165] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY) = 3 [pid 5165] chdir("./bus" [pid 5164] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5165] <... chdir resumed>) = 0 [pid 5164] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5165] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5164] close(5 [pid 5165] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5164] <... close resumed>) = 0 [pid 5163] creat("./file1", 000 [pid 5164] creat("./file1", 000 [pid 5166] <... mount resumed>) = 0 [pid 5163] <... creat resumed>) = 5 [pid 5161] <... close resumed>) = 0 [pid 5166] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5163] exit_group(0 [pid 5166] <... openat resumed>) = 3 [pid 5163] <... exit_group resumed>) = ? [pid 5166] chdir("./bus" [pid 5165] <... symlink resumed>) = 0 [pid 5163] +++ exited with 0 +++ [pid 5161] creat("./file1", 000 [pid 5078] <... umount2 resumed>) = 0 [pid 5166] <... chdir resumed>) = 0 [pid 5077] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5163, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5166] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5166] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5077] umount2("./12", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5165] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5078] umount2("./13/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5077] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5078] newfstatat(AT_FDCWD, "./13/bus", [pid 5164] <... creat resumed>) = 5 [pid 5077] getdents64(3, [pid 5164] exit_group(0 [pid 5077] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5166] <... symlink resumed>) = 0 [pid 5164] <... exit_group resumed>) = ? [pid 5166] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5164] +++ exited with 0 +++ [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5077] umount2("./12/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5078] umount2("./13/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5166] <... creat resumed>) = 4 [pid 5165] <... creat resumed>) = 4 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5165] rename("./bus", "./file2" [pid 5161] <... creat resumed>) = 5 [pid 5079] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5164, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5078] openat(AT_FDCWD, "./13/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5166] rename("./bus", "./file2" [pid 5079] restart_syscall(<... resuming interrupted clone ...> [pid 5078] <... openat resumed>) = 4 [pid 5078] newfstatat(4, "", [pid 5161] exit_group(0 [pid 5079] <... restart_syscall resumed>) = 0 [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5165] <... rename resumed>) = -1 EEXIST (File exists) [pid 5161] <... exit_group resumed>) = ? [pid 5078] getdents64(4, 0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5077] <... umount2 resumed>) = 0 [pid 5166] <... rename resumed>) = -1 EEXIST (File exists) [pid 5166] memfd_create("syzkaller", 0 [pid 5079] umount2("./12", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5166] <... memfd_create resumed>) = 5 [pid 5165] memfd_create("syzkaller", 0 [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5078] getdents64(4, [pid 5166] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5165] <... memfd_create resumed>) = 5 [pid 5161] +++ exited with 0 +++ [pid 5079] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5078] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5165] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5076] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5161, si_uid=0, si_status=0, si_utime=0, si_stime=8 /* 0.08 s */} --- [pid 5166] <... mmap resumed>) = 0x7f8a3a600000 [pid 5165] <... mmap resumed>) = 0x7f8a3a600000 [pid 5079] <... openat resumed>) = 3 [pid 5078] close(4 [pid 5079] newfstatat(3, "", [pid 5078] <... close resumed>) = 0 [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5079] getdents64(3, [pid 5165] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5079] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5076] umount2("./12", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5078] rmdir("./13/bus" [pid 5079] umount2("./12/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5078] <... rmdir resumed>) = 0 [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5078] umount2("./13/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5076] <... openat resumed>) = 3 [pid 5166] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5078] newfstatat(AT_FDCWD, "./13/binderfs", [pid 5076] newfstatat(3, "", [pid 5078] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5077] umount2("./12/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5078] unlink("./13/binderfs" [pid 5076] getdents64(3, [pid 5078] <... unlink resumed>) = 0 [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5078] getdents64(3, [pid 5077] newfstatat(AT_FDCWD, "./12/bus", [pid 5076] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5078] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5076] umount2("./12/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5078] close(3 [pid 5077] umount2("./12/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5078] <... close resumed>) = 0 [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5078] rmdir("./13" [pid 5077] openat(AT_FDCWD, "./12/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5077] newfstatat(4, "", [pid 5078] <... rmdir resumed>) = 0 [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5078] mkdir("./14", 0777 [pid 5077] getdents64(4, 0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5166] <... write resumed>) = 524288 [pid 5078] <... mkdir resumed>) = 0 [pid 5077] getdents64(4, [pid 5078] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5078] ioctl(3, LOOP_CLR_FD [pid 5077] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5077] close(4) = 0 [pid 5077] rmdir("./12/bus") = 0 [pid 5077] umount2("./12/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5077] newfstatat(AT_FDCWD, "./12/binderfs", [pid 5079] <... umount2 resumed>) = 0 [pid 5077] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5077] unlink("./12/binderfs") = 0 [pid 5166] munmap(0x7f8a3a600000, 138412032 [pid 5165] <... write resumed>) = 524288 [pid 5079] umount2("./12/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] <... umount2 resumed>) = 0 [pid 5166] <... munmap resumed>) = 0 [pid 5165] munmap(0x7f8a3a600000, 138412032 [pid 5077] getdents64(3, [pid 5076] umount2("./12/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5165] <... munmap resumed>) = 0 [pid 5165] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5165] close(5 [pid 5166] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] close(3 [pid 5076] newfstatat(AT_FDCWD, "./12/bus", [pid 5166] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5165] <... close resumed>) = 0 [pid 5079] newfstatat(AT_FDCWD, "./12/bus", [pid 5077] <... close resumed>) = 0 [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5077] rmdir("./12" [pid 5166] close(5 [pid 5078] <... ioctl resumed>) = 0 [pid 5077] <... rmdir resumed>) = 0 [pid 5076] umount2("./12/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5166] <... close resumed>) = 0 [pid 5165] creat("./file1", 000 [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5078] close(3 [pid 5077] mkdir("./13", 0777 [pid 5076] openat(AT_FDCWD, "./12/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5079] umount2("./12/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5078] <... close resumed>) = 0 [pid 5076] <... openat resumed>) = 4 [pid 5076] newfstatat(4, "", [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5078] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5079] openat(AT_FDCWD, "./12/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5077] <... mkdir resumed>) = 0 [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 ./strace-static-x86_64: Process 5167 attached [pid 5079] <... openat resumed>) = 4 [pid 5077] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5076] getdents64(4, [pid 5167] set_robust_list(0x555555c35660, 24) = 0 [pid 5079] newfstatat(4, "", [pid 5078] <... clone resumed>, child_tidptr=0x555555c35650) = 5167 [pid 5076] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5167] chdir("./14" [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5077] <... openat resumed>) = 3 [pid 5076] getdents64(4, [pid 5079] getdents64(4, [pid 5167] <... chdir resumed>) = 0 [pid 5079] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5077] ioctl(3, LOOP_CLR_FD [pid 5076] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5167] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5079] getdents64(4, [pid 5076] close(4 [pid 5167] <... prctl resumed>) = 0 [pid 5079] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5167] setpgid(0, 0 [pid 5079] close(4 [pid 5076] <... close resumed>) = 0 [pid 5167] <... setpgid resumed>) = 0 [pid 5079] <... close resumed>) = 0 [pid 5076] rmdir("./12/bus" [pid 5167] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5166] creat("./file1", 000 [pid 5079] rmdir("./12/bus" [pid 5167] <... openat resumed>) = 3 [pid 5165] <... creat resumed>) = 5 [pid 5079] <... rmdir resumed>) = 0 [pid 5076] <... rmdir resumed>) = 0 [pid 5167] write(3, "1000", 4) = 4 [pid 5165] exit_group(0) = ? [pid 5079] umount2("./12/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5167] close(3 [pid 5165] +++ exited with 0 +++ [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5076] umount2("./12/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5167] <... close resumed>) = 0 [pid 5081] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5165, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5079] newfstatat(AT_FDCWD, "./12/binderfs", [pid 5167] symlink("/dev/binderfs", "./binderfs" [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5079] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5076] newfstatat(AT_FDCWD, "./12/binderfs", [pid 5167] <... symlink resumed>) = 0 [pid 5166] <... creat resumed>) = 5 [pid 5081] umount2("./13", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5167] memfd_create("syzkaller", 0 [pid 5166] exit_group(0 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5079] unlink("./12/binderfs" [pid 5076] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5166] <... exit_group resumed>) = ? [pid 5081] openat(AT_FDCWD, "./13", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5079] <... unlink resumed>) = 0 [pid 5081] <... openat resumed>) = 3 [pid 5167] <... memfd_create resumed>) = 3 [pid 5081] newfstatat(3, "", [pid 5076] unlink("./12/binderfs" [pid 5167] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5166] +++ exited with 0 +++ [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5076] <... unlink resumed>) = 0 [pid 5081] getdents64(3, [pid 5075] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5166, si_uid=0, si_status=0, si_utime=0, si_stime=8 /* 0.08 s */} --- [pid 5081] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5075] umount2("./13", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5079] getdents64(3, [pid 5076] getdents64(3, [pid 5075] openat(AT_FDCWD, "./13", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5081] umount2("./13/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5079] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5075] <... openat resumed>) = 3 [pid 5076] close(3) = 0 [pid 5075] newfstatat(3, "", [pid 5076] rmdir("./12" [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5079] close(3) = 0 [pid 5076] <... rmdir resumed>) = 0 [pid 5075] getdents64(3, [pid 5079] rmdir("./12" [pid 5075] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [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 5079] <... rmdir resumed>) = 0 [pid 5075] umount2("./13/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] mkdir("./13", 0777 [pid 5079] mkdir("./13", 0777 [pid 5076] <... mkdir resumed>) = 0 [pid 5079] <... mkdir resumed>) = 0 [pid 5079] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5079] ioctl(3, LOOP_CLR_FD [pid 5081] <... umount2 resumed>) = 0 [pid 5081] umount2("./13/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5081] newfstatat(AT_FDCWD, "./13/bus", [pid 5077] <... ioctl resumed>) = 0 [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5081] umount2("./13/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5081] openat(AT_FDCWD, "./13/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5081] newfstatat(4, "", [pid 5076] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5081] getdents64(4, 0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5076] <... openat resumed>) = 3 [pid 5081] getdents64(4, [pid 5076] ioctl(3, LOOP_CLR_FD [pid 5081] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5081] close(4) = 0 [pid 5081] rmdir("./13/bus") = 0 [pid 5167] <... write resumed>) = 524288 [pid 5081] umount2("./13/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5081] newfstatat(AT_FDCWD, "./13/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5167] munmap(0x7f8a3a600000, 138412032 [pid 5077] close(3 [pid 5075] <... umount2 resumed>) = 0 [pid 5081] unlink("./13/binderfs" [pid 5167] <... munmap resumed>) = 0 [pid 5081] <... unlink resumed>) = 0 [pid 5077] <... close resumed>) = 0 [pid 5075] umount2("./13/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5081] getdents64(3, [pid 5167] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5077] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5081] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5075] newfstatat(AT_FDCWD, "./13/bus", [pid 5167] <... openat resumed>) = 4 [pid 5079] <... ioctl resumed>) = 0 [pid 5167] ioctl(4, LOOP_SET_FD, 3 [pid 5081] close(3 [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5081] <... close resumed>) = 0 [pid 5075] umount2("./13/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] <... clone resumed>, child_tidptr=0x555555c35650) = 5168 [pid 5167] <... ioctl resumed>) = 0 ./strace-static-x86_64: Process 5168 attached [pid 5081] rmdir("./13" [pid 5079] close(3 [pid 5076] <... ioctl resumed>) = 0 [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5168] set_robust_list(0x555555c35660, 24 [pid 5167] close(3 [pid 5081] <... rmdir resumed>) = 0 [pid 5079] <... close resumed>) = 0 [pid 5075] openat(AT_FDCWD, "./13/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5168] <... set_robust_list resumed>) = 0 [pid 5167] <... close resumed>) = 0 [pid 5081] mkdir("./14", 0777 [pid 5079] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5075] <... openat resumed>) = 4 [pid 5167] close(4 [pid 5168] chdir("./13" [pid 5167] <... close resumed>) = 0 [pid 5081] <... mkdir resumed>) = 0 [pid 5075] newfstatat(4, "", [pid 5168] <... chdir resumed>) = 0 [pid 5081] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 ./strace-static-x86_64: Process 5169 attached [pid 5168] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5167] mkdir("./bus", 0777 [pid 5081] <... openat resumed>) = 3 [pid 5075] getdents64(4, [pid 5079] <... clone resumed>, child_tidptr=0x555555c35650) = 5169 [pid 5075] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5168] <... prctl resumed>) = 0 [pid 5081] ioctl(3, LOOP_CLR_FD [pid 5075] getdents64(4, [pid 5169] set_robust_list(0x555555c35660, 24 [pid 5168] setpgid(0, 0 [pid 5167] <... mkdir resumed>) = 0 [pid 5075] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5169] <... set_robust_list resumed>) = 0 [pid 5169] chdir("./13" [pid 5168] <... setpgid resumed>) = 0 [pid 5167] mount("/dev/loop3", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5075] close(4 [pid 5169] <... chdir resumed>) = 0 [pid 5169] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5168] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5075] <... close resumed>) = 0 [pid 5169] <... prctl resumed>) = 0 [pid 5168] <... openat resumed>) = 3 [pid 5075] rmdir("./13/bus" [pid 5169] setpgid(0, 0) = 0 [pid 5168] write(3, "1000", 4 [pid 5076] close(3 [pid 5075] <... rmdir resumed>) = 0 [pid 5168] <... write resumed>) = 4 [pid 5076] <... close resumed>) = 0 [ 121.284802][ T5167] loop3: detected capacity change from 0 to 1024 [pid 5075] umount2("./13/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5169] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5168] close(3 [pid 5076] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5169] <... openat resumed>) = 3 [pid 5168] <... close resumed>) = 0 [pid 5075] newfstatat(AT_FDCWD, "./13/binderfs", [pid 5168] symlink("/dev/binderfs", "./binderfs" [pid 5075] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5168] <... symlink resumed>) = 0 [pid 5075] unlink("./13/binderfs" [pid 5169] write(3, "1000", 4 [pid 5168] memfd_create("syzkaller", 0 [pid 5167] <... mount resumed>) = 0 [pid 5075] <... unlink resumed>) = 0 [pid 5169] <... write resumed>) = 4 [pid 5167] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5169] close(3) = 0 [pid 5168] <... memfd_create resumed>) = 3 [pid 5167] <... openat resumed>) = 3 [pid 5075] getdents64(3, [pid 5169] symlink("/dev/binderfs", "./binderfs" [pid 5168] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5167] chdir("./bus" [pid 5076] <... clone resumed>, child_tidptr=0x555555c35650) = 5170 [pid 5075] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 ./strace-static-x86_64: Process 5170 attached [pid 5169] <... symlink resumed>) = 0 [pid 5168] <... mmap resumed>) = 0x7f8a3a600000 [pid 5167] <... chdir resumed>) = 0 [pid 5075] close(3 [pid 5170] set_robust_list(0x555555c35660, 24 [pid 5167] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5075] <... close resumed>) = 0 [pid 5075] rmdir("./13" [pid 5170] <... set_robust_list resumed>) = 0 [pid 5169] memfd_create("syzkaller", 0 [pid 5167] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5075] <... rmdir resumed>) = 0 [pid 5170] chdir("./13" [pid 5169] <... memfd_create resumed>) = 3 [pid 5167] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5170] <... chdir resumed>) = 0 [pid 5170] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5075] mkdir("./14", 0777 [pid 5170] <... prctl resumed>) = 0 [pid 5170] setpgid(0, 0) = 0 [pid 5170] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [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 5075] <... mkdir resumed>) = 0 [pid 5170] <... openat resumed>) = 3 [pid 5169] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5170] write(3, "1000", 4 [pid 5169] <... mmap resumed>) = 0x7f8a3a600000 [pid 5167] <... symlink resumed>) = 0 [pid 5170] <... write resumed>) = 4 [pid 5075] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5170] close(3 [pid 5167] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5075] <... openat resumed>) = 3 [pid 5170] <... close resumed>) = 0 [pid 5075] ioctl(3, LOOP_CLR_FD [pid 5170] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5170] memfd_create("syzkaller", 0 [pid 5168] <... write resumed>) = 524288 [pid 5170] <... memfd_create resumed>) = 3 [pid 5170] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [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 5168] munmap(0x7f8a3a600000, 138412032 [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 5167] <... creat resumed>) = 4 [pid 5167] rename("./bus", "./file2") = -1 EEXIST (File exists) [pid 5167] memfd_create("syzkaller", 0) = 5 [pid 5168] <... munmap resumed>) = 0 [pid 5167] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5167] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 resumed>) = 524288 [pid 5168] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5081] <... ioctl resumed>) = 0 [pid 5075] <... ioctl resumed>) = 0 [pid 5168] <... openat resumed>) = 4 [pid 5081] close(3 [pid 5168] ioctl(4, LOOP_SET_FD, 3 [pid 5081] <... close resumed>) = 0 [pid 5170] munmap(0x7f8a3a600000, 138412032 [pid 5081] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5170] <... munmap resumed>) = 0 [pid 5169] <... write resumed>) = 524288 [pid 5169] munmap(0x7f8a3a600000, 138412032 [pid 5170] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5169] <... munmap resumed>) = 0 [pid 5075] close(3 [pid 5170] <... openat resumed>) = 4 [pid 5169] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5081] <... clone resumed>, child_tidptr=0x555555c35650) = 5171 [pid 5075] <... close resumed>) = 0 [pid 5169] <... openat resumed>) = 4 [pid 5075] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5169] ioctl(4, LOOP_SET_FD, 3./strace-static-x86_64: Process 5171 attached [pid 5170] ioctl(4, LOOP_SET_FD, 3 [pid 5167] <... write resumed>) = 524288 [pid 5171] set_robust_list(0x555555c35660, 24) = 0 [pid 5075] <... clone resumed>, child_tidptr=0x555555c35650) = 5172 [pid 5171] chdir("./14") = 0 [pid 5171] prctl(PR_SET_PDEATHSIG, SIGKILL./strace-static-x86_64: Process 5172 attached ) = 0 [pid 5167] munmap(0x7f8a3a600000, 138412032) = 0 [pid 5171] setpgid(0, 0 [pid 5168] <... ioctl resumed>) = 0 [pid 5167] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5172] set_robust_list(0x555555c35660, 24 [pid 5169] <... ioctl resumed>) = 0 [pid 5172] <... set_robust_list resumed>) = 0 [pid 5171] <... setpgid resumed>) = 0 [pid 5169] close(3 [pid 5168] close(3 [pid 5167] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5169] <... close resumed>) = 0 [pid 5168] <... close resumed>) = 0 [pid 5167] close(5 [pid 5172] chdir("./14" [pid 5171] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5169] close(4 [pid 5168] close(4 [pid 5169] <... close resumed>) = 0 [pid 5169] mkdir("./bus", 0777 [pid 5172] <... chdir resumed>) = 0 [pid 5171] <... openat resumed>) = 3 [pid 5168] <... close resumed>) = 0 [pid 5172] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5171] write(3, "1000", 4 [pid 5168] mkdir("./bus", 0777 [pid 5172] <... prctl resumed>) = 0 [pid 5171] <... write resumed>) = 4 [pid 5170] <... ioctl resumed>) = 0 [pid 5169] <... mkdir resumed>) = 0 [pid 5168] <... mkdir resumed>) = 0 [pid 5167] <... close resumed>) = 0 [pid 5171] close(3 [pid 5170] close(3 [pid 5171] <... close resumed>) = 0 [pid 5170] <... close resumed>) = 0 [pid 5171] symlink("/dev/binderfs", "./binderfs" [pid 5170] close(4 [pid 5171] <... symlink resumed>) = 0 [pid 5170] <... close resumed>) = 0 [pid 5171] memfd_create("syzkaller", 0 [pid 5170] mkdir("./bus", 0777 [pid 5171] <... memfd_create resumed>) = 3 [pid 5170] <... mkdir resumed>) = 0 [pid 5172] setpgid(0, 0 [pid 5171] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [ 121.436658][ T5168] loop2: detected capacity change from 0 to 1024 [ 121.455664][ T5169] loop4: detected capacity change from 0 to 1024 [ 121.463906][ T5170] loop1: detected capacity change from 0 to 1024 [pid 5170] mount("/dev/loop1", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5169] mount("/dev/loop4", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5172] <... setpgid resumed>) = 0 [pid 5171] <... mmap resumed>) = 0x7f8a3a600000 [pid 5168] mount("/dev/loop2", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5172] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [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 5172] <... openat resumed>) = 3 [pid 5172] write(3, "1000", 4) = 4 [pid 5172] close(3) = 0 [pid 5167] creat("./file1", 000 [pid 5172] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5172] memfd_create("syzkaller", 0 [pid 5167] <... creat resumed>) = 5 [pid 5169] <... mount resumed>) = 0 [pid 5167] exit_group(0 [pid 5169] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5172] <... memfd_create resumed>) = 3 [pid 5172] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5171] <... write resumed>) = 524288 [pid 5170] <... mount resumed>) = 0 [pid 5168] <... mount resumed>) = 0 [pid 5167] <... exit_group resumed>) = ? [pid 5169] <... openat resumed>) = 3 [pid 5168] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5167] +++ exited with 0 +++ [pid 5169] chdir("./bus" [pid 5172] <... mmap resumed>) = 0x7f8a3a600000 [pid 5170] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5169] <... chdir resumed>) = 0 [pid 5168] <... openat resumed>) = 3 [pid 5078] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5167, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5170] <... openat resumed>) = 3 [pid 5169] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5078] restart_syscall(<... resuming interrupted clone ...> [pid 5170] chdir("./bus" [pid 5169] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5078] <... restart_syscall resumed>) = 0 [pid 5170] <... chdir resumed>) = 0 [pid 5170] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5169] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5170] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5078] umount2("./14", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5168] chdir("./bus") = 0 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5078] openat(AT_FDCWD, "./14", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5168] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5170] <... symlink resumed>) = 0 [pid 5169] <... symlink resumed>) = 0 [pid 5168] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5078] <... openat resumed>) = 3 [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 5170] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5171] munmap(0x7f8a3a600000, 138412032) = 0 [pid 5078] newfstatat(3, "", [pid 5171] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5170] <... creat resumed>) = 4 [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5171] <... openat resumed>) = 4 [pid 5170] rename("./bus", "./file2" [pid 5078] getdents64(3, 0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5171] ioctl(4, LOOP_SET_FD, 3 [pid 5170] <... rename resumed>) = -1 EEXIST (File exists) [pid 5170] memfd_create("syzkaller", 0 [pid 5078] umount2("./14/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5169] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5170] <... memfd_create resumed>) = 5 [pid 5170] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5172] <... write resumed>) = 524288 [pid 5170] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... symlink resumed>) = 0 [pid 5172] munmap(0x7f8a3a600000, 138412032 [pid 5169] <... creat resumed>) = 4 [pid 5168] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5169] rename("./bus", "./file2" [pid 5172] <... munmap resumed>) = 0 [pid 5170] <... write resumed>) = 524288 [pid 5169] <... rename resumed>) = -1 EEXIST (File exists) [pid 5172] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5169] memfd_create("syzkaller", 0 [pid 5172] <... openat resumed>) = 4 [pid 5169] <... memfd_create resumed>) = 5 [pid 5171] <... ioctl resumed>) = 0 [pid 5171] close(3 [pid 5078] <... umount2 resumed>) = 0 [pid 5171] <... close resumed>) = 0 [pid 5078] umount2("./14/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5171] close(4) = 0 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5171] mkdir("./bus", 0777) = 0 [pid 5078] newfstatat(AT_FDCWD, "./14/bus", [pid 5169] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [ 121.591376][ T5171] loop5: detected capacity change from 0 to 1024 [pid 5172] ioctl(4, LOOP_SET_FD, 3 [pid 5171] mount("/dev/loop5", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5169] <... mmap resumed>) = 0x7f8a3a600000 [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5078] umount2("./14/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5078] openat(AT_FDCWD, "./14/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5078] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5078] getdents64(4, 0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5078] getdents64(4, 0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5078] close(4) = 0 [pid 5078] rmdir("./14/bus") = 0 [pid 5171] <... mount resumed>) = 0 [pid 5169] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... creat resumed>) = 4 [pid 5078] umount2("./14/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5172] <... ioctl resumed>) = 0 [pid 5168] rename("./bus", "./file2" [pid 5172] close(3) = 0 [pid 5170] munmap(0x7f8a3a600000, 138412032 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5078] newfstatat(AT_FDCWD, "./14/binderfs", [pid 5172] close(4 [pid 5171] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5170] <... munmap resumed>) = 0 [pid 5168] <... rename resumed>) = -1 EEXIST (File exists) [pid 5078] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5172] <... close resumed>) = 0 [pid 5172] mkdir("./bus", 0777 [pid 5168] memfd_create("syzkaller", 0 [pid 5171] <... openat resumed>) = 3 [pid 5078] unlink("./14/binderfs" [pid 5172] <... mkdir resumed>) = 0 [pid 5078] <... unlink resumed>) = 0 [pid 5168] <... memfd_create resumed>) = 5 [pid 5168] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5171] chdir("./bus" [pid 5170] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5078] getdents64(3, [pid 5171] <... chdir resumed>) = 0 [pid 5170] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5078] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5171] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5078] close(3 [pid 5171] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5078] <... close resumed>) = 0 [pid 5171] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5078] rmdir("./14" [pid 5172] mount("/dev/loop0", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5078] <... rmdir resumed>) = 0 [pid 5168] <... mmap resumed>) = 0x7f8a3a600000 [ 121.645592][ T5172] loop0: detected capacity change from 0 to 1024 [pid 5078] mkdir("./15", 0777 [pid 5171] <... symlink resumed>) = 0 [pid 5170] close(5 [pid 5078] <... mkdir resumed>) = 0 [pid 5170] <... close resumed>) = 0 [pid 5168] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5078] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5171] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5078] <... openat resumed>) = 3 [pid 5078] ioctl(3, LOOP_CLR_FD [pid 5171] <... creat resumed>) = 4 [pid 5171] rename("./bus", "./file2" [pid 5170] creat("./file1", 000 [pid 5172] <... mount resumed>) = 0 [pid 5171] <... rename resumed>) = -1 EEXIST (File exists) [pid 5172] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY) = 3 [pid 5171] memfd_create("syzkaller", 0 [pid 5169] <... write resumed>) = 524288 [pid 5172] chdir("./bus" [pid 5171] <... memfd_create resumed>) = 5 [pid 5170] <... creat resumed>) = 5 [pid 5169] munmap(0x7f8a3a600000, 138412032 [pid 5172] <... chdir resumed>) = 0 [pid 5171] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5170] exit_group(0 [pid 5172] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5171] <... mmap resumed>) = 0x7f8a3a600000 [pid 5170] <... exit_group resumed>) = ? [pid 5172] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5171] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] +++ exited with 0 +++ [pid 5169] <... munmap resumed>) = 0 [pid 5172] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5169] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5076] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5170, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5076] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5076] umount2("./13", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5172] <... symlink resumed>) = 0 [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5172] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5169] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5076] openat(AT_FDCWD, "./13", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5076] newfstatat(3, "", [pid 5169] close(5 [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5076] getdents64(3, 0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5076] umount2("./13/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5172] <... creat resumed>) = 4 [pid 5169] <... close resumed>) = 0 [pid 5168] <... write resumed>) = 524288 [pid 5078] <... ioctl resumed>) = 0 [pid 5172] rename("./bus", "./file2" [pid 5076] <... umount2 resumed>) = 0 [pid 5076] umount2("./13/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5172] <... rename resumed>) = -1 EEXIST (File exists) [pid 5168] munmap(0x7f8a3a600000, 138412032 [pid 5172] memfd_create("syzkaller", 0 [pid 5076] newfstatat(AT_FDCWD, "./13/bus", [pid 5172] <... memfd_create resumed>) = 5 [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5076] umount2("./13/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5172] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5168] <... munmap resumed>) = 0 [pid 5076] openat(AT_FDCWD, "./13/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5076] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5076] getdents64(4, [pid 5169] creat("./file1", 000 [pid 5076] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5076] getdents64(4, 0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5076] close(4) = 0 [pid 5076] rmdir("./13/bus" [pid 5172] <... mmap resumed>) = 0x7f8a3a600000 [pid 5168] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5076] <... rmdir resumed>) = 0 [pid 5168] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5076] umount2("./13/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5168] close(5 [pid 5171] <... write resumed>) = 524288 [pid 5078] close(3 [pid 5076] newfstatat(AT_FDCWD, "./13/binderfs", [pid 5078] <... close resumed>) = 0 [pid 5076] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5078] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5076] unlink("./13/binderfs") = 0 [pid 5171] munmap(0x7f8a3a600000, 138412032 [pid 5076] getdents64(3, 0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5076] close(3) = 0 [pid 5076] rmdir("./13" [pid 5169] <... creat resumed>) = 5 [pid 5172] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5171] <... munmap resumed>) = 0 [pid 5169] exit_group(0 [pid 5168] <... close resumed>) = 0 [pid 5076] <... rmdir resumed>) = 0 [pid 5078] <... clone resumed>, child_tidptr=0x555555c35650) = 5173 [pid 5076] mkdir("./14", 0777) = 0 ./strace-static-x86_64: Process 5173 attached [pid 5171] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5169] <... exit_group resumed>) = ? [pid 5168] creat("./file1", 000 [pid 5173] set_robust_list(0x555555c35660, 24 [pid 5171] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5173] <... set_robust_list resumed>) = 0 [pid 5171] close(5 [pid 5173] chdir("./15" [pid 5169] +++ exited with 0 +++ [pid 5168] <... creat resumed>) = 5 [pid 5173] <... chdir resumed>) = 0 [pid 5079] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5169, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5168] exit_group(0) = ? [pid 5173] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5173] setpgid(0, 0 [pid 5079] umount2("./13", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5173] <... setpgid resumed>) = 0 [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5076] <... openat resumed>) = 3 [pid 5173] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5079] openat(AT_FDCWD, "./13", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5076] ioctl(3, LOOP_CLR_FD [pid 5173] <... openat resumed>) = 3 [pid 5079] <... openat resumed>) = 3 [pid 5079] newfstatat(3, "", [pid 5173] write(3, "1000", 4 [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5173] <... write resumed>) = 4 [pid 5079] getdents64(3, [pid 5168] +++ exited with 0 +++ [pid 5173] close(3) = 0 [pid 5173] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5172] <... write resumed>) = 524288 [pid 5079] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5172] munmap(0x7f8a3a600000, 138412032 [pid 5079] umount2("./13/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5168, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5173] memfd_create("syzkaller", 0) = 3 [pid 5173] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5172] <... munmap resumed>) = 0 [pid 5077] umount2("./13", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5173] <... mmap resumed>) = 0x7f8a3a600000 [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] openat(AT_FDCWD, "./13", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5171] <... close resumed>) = 0 [pid 5077] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5077] getdents64(3, [pid 5171] creat("./file1", 000 [pid 5077] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5077] umount2("./13/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5172] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5172] close(5 [pid 5171] <... creat resumed>) = 5 [pid 5171] exit_group(0) = ? [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 5171] +++ exited with 0 +++ [pid 5076] <... ioctl resumed>) = 0 [pid 5081] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5171, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5081] umount2("./14", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5081] openat(AT_FDCWD, "./14", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5081] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5079] <... umount2 resumed>) = 0 [pid 5081] getdents64(3, 0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5076] close(3) = 0 [pid 5076] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5081] umount2("./14/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5173] <... write resumed>) = 524288 [pid 5173] munmap(0x7f8a3a600000, 138412032) = 0 ./strace-static-x86_64: Process 5174 attached [pid 5081] <... umount2 resumed>) = 0 [pid 5077] <... umount2 resumed>) = 0 [pid 5076] <... clone resumed>, child_tidptr=0x555555c35650) = 5174 [pid 5174] set_robust_list(0x555555c35660, 24) = 0 [pid 5172] <... close resumed>) = 0 [pid 5077] umount2("./13/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5172] creat("./file1", 000 [pid 5081] umount2("./14/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] umount2("./13/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] newfstatat(AT_FDCWD, "./13/bus", [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5079] newfstatat(AT_FDCWD, "./13/bus", [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5081] newfstatat(AT_FDCWD, "./14/bus", [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5077] umount2("./13/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] umount2("./13/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5077] openat(AT_FDCWD, "./13/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] <... openat resumed>) = 4 [pid 5079] openat(AT_FDCWD, "./13/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5174] chdir("./14" [pid 5173] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5079] <... openat resumed>) = 4 [pid 5077] newfstatat(4, "", [pid 5174] <... chdir resumed>) = 0 [pid 5173] <... openat resumed>) = 4 [pid 5081] umount2("./14/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] newfstatat(4, "", [pid 5174] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5173] ioctl(4, LOOP_SET_FD, 3 [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5174] <... prctl resumed>) = 0 [pid 5172] <... creat resumed>) = 5 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5174] setpgid(0, 0) = 0 [pid 5174] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5174] write(3, "1000", 4) = 4 [pid 5174] close(3) = 0 [pid 5174] symlink("/dev/binderfs", "./binderfs" [pid 5172] exit_group(0 [pid 5081] openat(AT_FDCWD, "./14/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5079] getdents64(4, [pid 5077] getdents64(4, [pid 5174] <... symlink resumed>) = 0 [pid 5172] <... exit_group resumed>) = ? [pid 5081] <... openat resumed>) = 4 [pid 5079] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5174] memfd_create("syzkaller", 0 [pid 5077] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5174] <... memfd_create resumed>) = 3 [pid 5174] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [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] +++ exited with 0 +++ [pid 5081] newfstatat(4, "", [pid 5079] getdents64(4, [pid 5077] getdents64(4, [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5079] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5077] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5075] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5172, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=5 /* 0.05 s */} --- [pid 5081] getdents64(4, [pid 5079] close(4 [pid 5077] close(4 [pid 5081] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5079] <... close resumed>) = 0 [pid 5077] <... close resumed>) = 0 [pid 5075] restart_syscall(<... resuming interrupted clone ...> [pid 5079] rmdir("./13/bus" [pid 5077] rmdir("./13/bus" [pid 5075] <... restart_syscall resumed>) = 0 [pid 5075] umount2("./14", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] <... rmdir resumed>) = 0 [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] openat(AT_FDCWD, "./14", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5077] <... rmdir resumed>) = 0 [pid 5075] <... openat resumed>) = 3 [pid 5079] umount2("./13/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] umount2("./13/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5075] newfstatat(3, "", [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] newfstatat(AT_FDCWD, "./13/binderfs", [pid 5079] newfstatat(AT_FDCWD, "./13/binderfs", [pid 5077] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5079] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5077] unlink("./13/binderfs" [pid 5081] getdents64(4, [pid 5079] unlink("./13/binderfs" [pid 5077] <... unlink resumed>) = 0 [pid 5075] getdents64(3, 0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5079] <... unlink resumed>) = 0 [pid 5077] getdents64(3, [pid 5075] umount2("./14/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5081] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5079] getdents64(3, [pid 5077] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5077] close(3 [pid 5079] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5077] <... close resumed>) = 0 [pid 5079] close(3 [pid 5077] rmdir("./13" [pid 5173] <... ioctl resumed>) = 0 [pid 5079] <... close resumed>) = 0 [pid 5077] <... rmdir resumed>) = 0 [pid 5081] close(4 [pid 5079] rmdir("./13" [pid 5077] mkdir("./14", 0777 [pid 5081] <... close resumed>) = 0 [pid 5173] close(3) = 0 [pid 5079] <... rmdir resumed>) = 0 [pid 5173] close(4) = 0 [pid 5173] mkdir("./bus", 0777 [pid 5081] rmdir("./14/bus" [pid 5079] mkdir("./14", 0777 [pid 5077] <... mkdir resumed>) = 0 [ 121.911593][ T5173] loop3: detected capacity change from 0 to 1024 [pid 5174] <... write resumed>) = 524288 [pid 5173] <... mkdir resumed>) = 0 [pid 5081] <... rmdir resumed>) = 0 [pid 5173] mount("/dev/loop3", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5079] <... mkdir resumed>) = 0 [pid 5081] umount2("./14/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5077] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5079] <... openat resumed>) = 3 [pid 5081] newfstatat(AT_FDCWD, "./14/binderfs", [pid 5079] ioctl(3, LOOP_CLR_FD [pid 5077] <... openat resumed>) = 3 [pid 5081] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5077] ioctl(3, LOOP_CLR_FD [pid 5081] unlink("./14/binderfs" [pid 5075] <... umount2 resumed>) = 0 [pid 5174] munmap(0x7f8a3a600000, 138412032) = 0 [pid 5081] <... unlink resumed>) = 0 [pid 5081] getdents64(3, 0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5081] close(3) = 0 [pid 5081] rmdir("./14" [pid 5174] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5075] umount2("./14/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5081] <... rmdir resumed>) = 0 [pid 5174] <... openat resumed>) = 4 [pid 5173] <... mount resumed>) = 0 [pid 5081] mkdir("./15", 0777 [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5173] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5075] newfstatat(AT_FDCWD, "./14/bus", [pid 5174] ioctl(4, LOOP_SET_FD, 3 [pid 5173] <... openat resumed>) = 3 [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5081] <... mkdir resumed>) = 0 [pid 5081] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5075] umount2("./14/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5081] <... openat resumed>) = 3 [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] openat(AT_FDCWD, "./14/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5081] ioctl(3, LOOP_CLR_FD [pid 5075] <... openat resumed>) = 4 [pid 5075] newfstatat(4, "", [pid 5173] chdir("./bus" [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5173] <... chdir resumed>) = 0 [pid 5075] getdents64(4, [pid 5173] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5075] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5075] getdents64(4, 0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5173] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5075] close(4) = 0 [pid 5075] rmdir("./14/bus" [pid 5173] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5075] <... rmdir resumed>) = 0 [pid 5075] umount2("./14/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5075] newfstatat(AT_FDCWD, "./14/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5075] unlink("./14/binderfs") = 0 [pid 5075] getdents64(3, 0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5075] close(3) = 0 [pid 5075] rmdir("./14") = 0 [pid 5075] mkdir("./15", 0777) = 0 [pid 5075] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5075] ioctl(3, LOOP_CLR_FD) = 0 [pid 5075] close(3) = 0 [pid 5075] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5077] <... ioctl resumed>) = 0 [pid 5173] <... symlink resumed>) = 0 [pid 5173] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5174] <... ioctl resumed>) = 0 [pid 5174] close(3) = 0 [pid 5174] close(4) = 0 [pid 5174] mkdir("./bus", 0777 [pid 5075] <... clone resumed>, child_tidptr=0x555555c35650) = 5175 [pid 5174] <... mkdir resumed>) = 0 ./strace-static-x86_64: Process 5175 attached [pid 5175] set_robust_list(0x555555c35660, 24) = 0 [pid 5175] chdir("./15" [pid 5174] mount("/dev/loop1", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5175] <... chdir resumed>) = 0 [pid 5079] <... ioctl resumed>) = 0 [pid 5077] close(3 [pid 5175] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5175] setpgid(0, 0) = 0 [pid 5173] <... creat resumed>) = 4 [pid 5175] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5077] <... close resumed>) = 0 [pid 5175] <... openat resumed>) = 3 [pid 5173] rename("./bus", "./file2" [pid 5077] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5175] write(3, "1000", 4 [pid 5173] <... rename resumed>) = -1 EEXIST (File exists) [pid 5175] <... write resumed>) = 4 [pid 5173] memfd_create("syzkaller", 0 [pid 5175] close(3 [pid 5173] <... memfd_create resumed>) = 5 [ 121.992029][ T5174] loop1: detected capacity change from 0 to 1024 [pid 5175] <... close resumed>) = 0 [pid 5175] symlink("/dev/binderfs", "./binderfs" [pid 5173] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5175] <... symlink resumed>) = 0 [pid 5081] <... ioctl resumed>) = 0 [pid 5077] <... clone resumed>, child_tidptr=0x555555c35650) = 5176 ./strace-static-x86_64: Process 5176 attached [pid 5173] <... mmap resumed>) = 0x7f8a3a600000 [pid 5079] close(3 [pid 5176] set_robust_list(0x555555c35660, 24 [pid 5175] memfd_create("syzkaller", 0 [pid 5173] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5079] <... close resumed>) = 0 [pid 5176] <... set_robust_list resumed>) = 0 [pid 5079] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5175] <... memfd_create resumed>) = 3 [pid 5175] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5176] chdir("./14" [pid 5175] <... mmap resumed>) = 0x7f8a3a600000 [pid 5176] <... chdir resumed>) = 0 [pid 5176] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5176] setpgid(0, 0 [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 5176] <... setpgid resumed>) = 0 [pid 5176] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5079] <... clone resumed>, child_tidptr=0x555555c35650) = 5177 [pid 5176] <... openat resumed>) = 3 [pid 5081] close(3 [pid 5176] write(3, "1000", 4 [pid 5174] <... mount resumed>) = 0 [pid 5173] <... write resumed>) = 524288 [pid 5081] <... close resumed>) = 0 [pid 5176] <... write resumed>) = 4 [pid 5174] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5176] close(3./strace-static-x86_64: Process 5177 attached [pid 5174] <... openat resumed>) = 3 [pid 5176] <... close resumed>) = 0 [pid 5177] set_robust_list(0x555555c35660, 24 [pid 5081] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5177] <... set_robust_list resumed>) = 0 [pid 5176] symlink("/dev/binderfs", "./binderfs" [pid 5177] chdir("./14" [pid 5176] <... symlink resumed>) = 0 [pid 5174] chdir("./bus" [pid 5177] <... chdir resumed>) = 0 [pid 5177] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5177] setpgid(0, 0) = 0 ./strace-static-x86_64: Process 5178 attached [pid 5177] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5174] <... chdir resumed>) = 0 [pid 5081] <... clone resumed>, child_tidptr=0x555555c35650) = 5178 [pid 5176] memfd_create("syzkaller", 0 [pid 5174] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5178] set_robust_list(0x555555c35660, 24 [pid 5176] <... memfd_create resumed>) = 3 [pid 5174] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5174] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5176] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5175] <... write resumed>) = 524288 [pid 5174] <... symlink resumed>) = 0 [pid 5177] <... openat resumed>) = 3 [pid 5173] munmap(0x7f8a3a600000, 138412032 [pid 5177] write(3, "1000", 4) = 4 [pid 5177] close(3) = 0 [pid 5177] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5178] <... set_robust_list resumed>) = 0 [pid 5177] memfd_create("syzkaller", 0 [pid 5174] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5177] <... memfd_create resumed>) = 3 [pid 5177] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5173] <... munmap resumed>) = 0 [pid 5178] chdir("./15" [pid 5177] <... mmap resumed>) = 0x7f8a3a600000 [pid 5178] <... chdir resumed>) = 0 [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] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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(0x7f8a3a600000, 138412032 [pid 5174] <... creat resumed>) = 4 [pid 5178] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5175] <... munmap resumed>) = 0 [pid 5173] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5178] <... prctl resumed>) = 0 [pid 5174] rename("./bus", "./file2" [pid 5175] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5173] close(5 [pid 5178] setpgid(0, 0 [pid 5175] <... openat resumed>) = 4 [pid 5178] <... setpgid resumed>) = 0 [pid 5178] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5175] ioctl(4, LOOP_SET_FD, 3 [pid 5174] <... rename resumed>) = -1 EEXIST (File exists) [pid 5178] <... openat resumed>) = 3 [pid 5175] <... ioctl resumed>) = 0 [pid 5174] memfd_create("syzkaller", 0 [pid 5178] write(3, "1000", 4 [pid 5176] <... write resumed>) = 524288 [pid 5173] <... close resumed>) = 0 [pid 5178] <... write resumed>) = 4 [pid 5174] <... memfd_create resumed>) = 5 [pid 5178] close(3 [pid 5176] munmap(0x7f8a3a600000, 138412032 [pid 5174] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5173] creat("./file1", 000 [pid 5178] <... close resumed>) = 0 [pid 5176] <... munmap resumed>) = 0 [pid 5174] <... mmap resumed>) = 0x7f8a3a600000 [pid 5177] <... write resumed>) = 524288 [pid 5173] <... creat resumed>) = 5 [pid 5178] symlink("/dev/binderfs", "./binderfs" [pid 5176] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5174] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... openat resumed>) = 4 [pid 5178] <... symlink resumed>) = 0 [pid 5176] ioctl(4, LOOP_SET_FD, 3 [pid 5175] close(3 [pid 5173] exit_group(0 [ 122.157872][ T5175] loop0: detected capacity change from 0 to 1024 [pid 5175] <... close resumed>) = 0 [pid 5173] <... exit_group resumed>) = ? [pid 5175] close(4) = 0 [pid 5175] mkdir("./bus", 0777) = 0 [pid 5177] munmap(0x7f8a3a600000, 138412032 [pid 5175] mount("/dev/loop0", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5173] +++ exited with 0 +++ [pid 5078] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5173, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5078] umount2("./15", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5078] openat(AT_FDCWD, "./15", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5078] newfstatat(3, "", [pid 5177] <... munmap resumed>) = 0 [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5078] getdents64(3, 0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5078] umount2("./15/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5178] memfd_create("syzkaller", 0) = 3 [pid 5178] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5177] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5178] <... mmap resumed>) = 0x7f8a3a600000 [pid 5177] ioctl(4, LOOP_SET_FD, 3 [pid 5174] <... write resumed>) = 524288 [pid 5078] <... umount2 resumed>) = 0 [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 5176] <... ioctl resumed>) = 0 [pid 5174] munmap(0x7f8a3a600000, 138412032 [pid 5176] close(3 [pid 5174] <... munmap resumed>) = 0 [pid 5176] <... close resumed>) = 0 [pid 5174] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5176] close(4) = 0 [pid 5176] mkdir("./bus", 0777) = 0 [pid 5174] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5175] <... mount resumed>) = 0 [pid 5176] mount("/dev/loop2", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5174] close(5 [pid 5175] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY) = 3 [pid 5175] chdir("./bus") = 0 [pid 5175] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5175] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5078] umount2("./15/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5177] <... ioctl resumed>) = 0 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5078] newfstatat(AT_FDCWD, "./15/bus", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 122.205106][ T5176] loop2: detected capacity change from 0 to 1024 [ 122.242091][ T5177] loop4: detected capacity change from 0 to 1024 [pid 5078] umount2("./15/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5177] close(3 [pid 5175] <... symlink resumed>) = 0 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5177] <... close resumed>) = 0 [pid 5078] openat(AT_FDCWD, "./15/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5177] close(4) = 0 [pid 5177] mkdir("./bus", 0777) = 0 [pid 5078] <... openat resumed>) = 4 [pid 5177] mount("/dev/loop4", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5175] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5078] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5178] <... write resumed>) = 524288 [pid 5178] munmap(0x7f8a3a600000, 138412032 [pid 5174] <... close resumed>) = 0 [pid 5078] getdents64(4, 0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5178] <... munmap resumed>) = 0 [pid 5176] <... mount resumed>) = 0 [pid 5175] <... creat resumed>) = 4 [pid 5174] creat("./file1", 000 [pid 5078] getdents64(4, [pid 5178] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5176] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5175] rename("./bus", "./file2" [pid 5078] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5176] <... openat resumed>) = 3 [pid 5078] close(4 [pid 5177] <... mount resumed>) = 0 [pid 5176] chdir("./bus" [pid 5175] <... rename resumed>) = -1 EEXIST (File exists) [pid 5078] <... close resumed>) = 0 [pid 5177] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5176] <... chdir resumed>) = 0 [pid 5175] memfd_create("syzkaller", 0 [pid 5078] rmdir("./15/bus" [pid 5178] <... openat resumed>) = 4 [pid 5176] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5178] ioctl(4, LOOP_SET_FD, 3 [pid 5177] <... openat resumed>) = 3 [pid 5176] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5175] <... memfd_create resumed>) = 5 [pid 5078] <... rmdir resumed>) = 0 [pid 5176] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5177] chdir("./bus" [pid 5175] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5177] <... chdir resumed>) = 0 [pid 5175] <... mmap resumed>) = 0x7f8a3a600000 [pid 5177] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5176] <... symlink resumed>) = 0 [pid 5175] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 resumed>) = -1 EBUSY (Device or resource busy) [pid 5177] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5176] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5174] <... creat resumed>) = 5 [pid 5078] umount2("./15/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5177] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5078] newfstatat(AT_FDCWD, "./15/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5078] unlink("./15/binderfs") = 0 [pid 5176] <... creat resumed>) = 4 [pid 5174] exit_group(0 [pid 5078] getdents64(3, [pid 5176] rename("./bus", "./file2" [pid 5174] <... exit_group resumed>) = ? [pid 5078] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5078] close(3) = 0 [pid 5176] <... rename resumed>) = -1 EEXIST (File exists) [pid 5078] rmdir("./15" [pid 5177] <... creat resumed>) = 4 [pid 5176] memfd_create("syzkaller", 0) = 5 [pid 5078] <... rmdir resumed>) = 0 [pid 5178] <... ioctl resumed>) = 0 [pid 5176] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5078] mkdir("./16", 0777 [pid 5177] rename("./bus", "./file2") = -1 EEXIST (File exists) [pid 5176] <... mmap resumed>) = 0x7f8a3a600000 [pid 5078] <... mkdir resumed>) = 0 [pid 5177] memfd_create("syzkaller", 0) = 5 [pid 5177] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5177] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] +++ exited with 0 +++ [pid 5076] --- 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 5175] <... write resumed>) = 524288 [pid 5078] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5178] close(3) = 0 [pid 5176] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5078] <... openat resumed>) = 3 [pid 5178] close(4 [pid 5078] ioctl(3, LOOP_CLR_FD [pid 5178] <... close resumed>) = 0 [pid 5076] umount2("./14", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 122.330211][ T5178] loop5: detected capacity change from 0 to 1024 [pid 5175] munmap(0x7f8a3a600000, 138412032 [pid 5076] openat(AT_FDCWD, "./14", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5178] mkdir("./bus", 0777 [pid 5175] <... munmap resumed>) = 0 [pid 5076] <... openat resumed>) = 3 [pid 5076] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5178] <... mkdir resumed>) = 0 [pid 5076] getdents64(3, 0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5076] umount2("./14/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5178] mount("/dev/loop5", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5175] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5177] <... write resumed>) = 524288 [pid 5175] close(5) = 0 [pid 5177] munmap(0x7f8a3a600000, 138412032) = 0 [pid 5177] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5177] close(5) = 0 [pid 5176] <... write resumed>) = 524288 [pid 5175] creat("./file1", 000 [pid 5076] <... umount2 resumed>) = 0 [pid 5177] creat("./file1", 000 [pid 5175] <... creat resumed>) = 5 [pid 5178] <... mount resumed>) = 0 [pid 5176] munmap(0x7f8a3a600000, 138412032 [pid 5175] exit_group(0 [pid 5076] umount2("./14/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5178] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5178] <... openat resumed>) = 3 [pid 5177] <... creat resumed>) = 5 [pid 5176] <... munmap resumed>) = 0 [pid 5175] <... exit_group resumed>) = ? [pid 5078] <... ioctl resumed>) = 0 [pid 5076] newfstatat(AT_FDCWD, "./14/bus", [pid 5178] chdir("./bus" [pid 5177] exit_group(0 [pid 5176] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5175] +++ exited with 0 +++ [pid 5177] <... exit_group resumed>) = ? [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5178] <... chdir resumed>) = 0 [pid 5177] +++ exited with 0 +++ [pid 5176] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5078] close(3 [pid 5076] umount2("./14/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5175, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5178] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5176] close(5 [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5078] <... close resumed>) = 0 [pid 5178] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5079] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5177, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5078] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5076] openat(AT_FDCWD, "./14/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5075] umount2("./15", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5075] openat(AT_FDCWD, "./15", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5075] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5075] getdents64(3, [pid 5079] umount2("./14", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5075] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5176] <... close resumed>) = 0 [pid 5079] openat(AT_FDCWD, "./14", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5076] <... openat resumed>) = 4 ./strace-static-x86_64: Process 5179 attached [pid 5178] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5079] <... openat resumed>) = 3 [pid 5076] newfstatat(4, "", [pid 5078] <... clone resumed>, child_tidptr=0x555555c35650) = 5179 [pid 5079] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5079] getdents64(3, 0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5179] set_robust_list(0x555555c35660, 24 [pid 5178] <... symlink resumed>) = 0 [pid 5079] umount2("./14/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5179] <... set_robust_list resumed>) = 0 [pid 5076] getdents64(4, [pid 5179] chdir("./16" [pid 5076] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5075] umount2("./15/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5179] <... chdir resumed>) = 0 [pid 5178] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5076] getdents64(4, [pid 5179] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5176] creat("./file1", 000 [pid 5076] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5076] close(4 [pid 5179] <... prctl resumed>) = 0 [pid 5076] <... close resumed>) = 0 [pid 5179] setpgid(0, 0 [pid 5076] rmdir("./14/bus" [pid 5179] <... setpgid resumed>) = 0 [pid 5178] <... creat resumed>) = 4 [pid 5076] <... rmdir resumed>) = 0 [pid 5076] umount2("./14/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5178] rename("./bus", "./file2" [pid 5179] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5076] newfstatat(AT_FDCWD, "./14/binderfs", [pid 5178] <... rename resumed>) = -1 EEXIST (File exists) [pid 5176] <... creat resumed>) = 5 [pid 5076] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5179] <... openat resumed>) = 3 [pid 5076] unlink("./14/binderfs" [pid 5178] memfd_create("syzkaller", 0 [pid 5179] write(3, "1000", 4 [pid 5178] <... memfd_create resumed>) = 5 [pid 5176] exit_group(0 [pid 5076] <... unlink resumed>) = 0 [pid 5179] <... write resumed>) = 4 [pid 5178] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5176] <... exit_group resumed>) = ? [pid 5076] getdents64(3, [pid 5179] close(3) = 0 [pid 5178] <... mmap resumed>) = 0x7f8a3a600000 [pid 5176] +++ exited with 0 +++ [pid 5076] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5075] <... umount2 resumed>) = 0 [pid 5179] symlink("/dev/binderfs", "./binderfs" [pid 5077] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5176, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5076] close(3 [pid 5179] <... symlink resumed>) = 0 [pid 5178] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5079] <... umount2 resumed>) = 0 [pid 5076] <... close resumed>) = 0 [pid 5075] umount2("./15/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5075] newfstatat(AT_FDCWD, "./15/bus", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5075] umount2("./15/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5075] openat(AT_FDCWD, "./15/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5075] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5079] umount2("./14/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5077] umount2("./14", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] rmdir("./14" [pid 5075] getdents64(4, [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5079] newfstatat(AT_FDCWD, "./14/bus", [pid 5075] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5075] getdents64(4, 0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5076] <... rmdir resumed>) = 0 [pid 5077] openat(AT_FDCWD, "./14", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5079] umount2("./14/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] close(4 [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] <... openat resumed>) = 3 [pid 5076] mkdir("./15", 0777 [pid 5075] <... close resumed>) = 0 [pid 5179] memfd_create("syzkaller", 0 [pid 5077] newfstatat(3, "", [pid 5075] rmdir("./15/bus" [pid 5079] openat(AT_FDCWD, "./14/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5075] <... rmdir resumed>) = 0 [pid 5076] <... mkdir resumed>) = 0 [pid 5079] <... openat resumed>) = 4 [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5079] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5077] getdents64(3, [pid 5079] getdents64(4, 0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5077] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5179] <... memfd_create resumed>) = 3 [pid 5077] umount2("./14/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] getdents64(4, [pid 5075] umount2("./15/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5179] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5079] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5079] close(4) = 0 [pid 5079] rmdir("./14/bus") = 0 [pid 5079] umount2("./14/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5079] newfstatat(AT_FDCWD, "./14/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5079] unlink("./14/binderfs") = 0 [pid 5079] getdents64(3, 0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5079] close(3) = 0 [pid 5079] rmdir("./14") = 0 [pid 5079] mkdir("./15", 0777) = 0 [pid 5079] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5079] ioctl(3, LOOP_CLR_FD [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] newfstatat(AT_FDCWD, "./15/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5075] unlink("./15/binderfs") = 0 [pid 5075] getdents64(3, 0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5075] close(3) = 0 [pid 5075] rmdir("./15" [pid 5179] <... mmap resumed>) = 0x7f8a3a600000 [pid 5076] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [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 5077] <... umount2 resumed>) = 0 [pid 5076] ioctl(3, LOOP_CLR_FD [pid 5179] <... write resumed>) = 524288 [pid 5178] <... write resumed>) = 524288 [pid 5075] <... rmdir resumed>) = 0 [pid 5077] umount2("./14/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5179] munmap(0x7f8a3a600000, 138412032 [pid 5178] munmap(0x7f8a3a600000, 138412032 [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] newfstatat(AT_FDCWD, "./14/bus", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5077] umount2("./14/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5077] openat(AT_FDCWD, "./14/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5178] <... munmap resumed>) = 0 [pid 5077] <... openat resumed>) = 4 [pid 5179] <... munmap resumed>) = 0 [pid 5178] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5077] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5178] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5077] getdents64(4, [pid 5075] mkdir("./16", 0777 [pid 5178] close(5 [pid 5077] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5075] <... mkdir resumed>) = 0 [pid 5179] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5077] getdents64(4, 0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5077] close(4) = 0 [pid 5179] <... openat resumed>) = 4 [pid 5075] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5077] rmdir("./14/bus" [pid 5075] <... openat resumed>) = 3 [pid 5179] ioctl(4, LOOP_SET_FD, 3 [pid 5077] <... rmdir resumed>) = 0 [pid 5075] ioctl(3, LOOP_CLR_FD [pid 5077] umount2("./14/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5077] newfstatat(AT_FDCWD, "./14/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5077] unlink("./14/binderfs") = 0 [pid 5077] getdents64(3, 0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5077] close(3) = 0 [pid 5077] rmdir("./14") = 0 [pid 5179] <... ioctl resumed>) = 0 [pid 5178] <... close resumed>) = 0 [pid 5079] <... ioctl resumed>) = 0 [pid 5077] mkdir("./15", 0777 [pid 5179] close(3 [pid 5178] creat("./file1", 000 [pid 5079] close(3 [pid 5077] <... mkdir resumed>) = 0 [pid 5079] <... close resumed>) = 0 [pid 5077] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5079] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5077] ioctl(3, LOOP_CLR_FD [pid 5079] <... clone resumed>, child_tidptr=0x555555c35650) = 5180 ./strace-static-x86_64: Process 5180 attached [pid 5180] set_robust_list(0x555555c35660, 24 [pid 5179] <... close resumed>) = 0 [pid 5076] <... ioctl resumed>) = 0 [pid 5180] <... set_robust_list resumed>) = 0 [pid 5179] close(4 [pid 5178] <... creat resumed>) = 5 [pid 5179] <... close resumed>) = 0 [pid 5178] exit_group(0 [pid 5179] mkdir("./bus", 0777 [pid 5180] chdir("./15" [pid 5076] close(3) = 0 [pid 5076] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5179] <... mkdir resumed>) = 0 [pid 5178] <... exit_group resumed>) = ? [pid 5180] <... chdir resumed>) = 0 [pid 5180] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5180] setpgid(0, 0) = 0 [pid 5180] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5178] +++ exited with 0 +++ [pid 5081] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5178, si_uid=0, si_status=0, si_utime=0, si_stime=8 /* 0.08 s */} --- [pid 5081] restart_syscall(<... resuming interrupted clone ...> [pid 5180] <... openat resumed>) = 3 [pid 5081] <... restart_syscall resumed>) = 0 [pid 5081] umount2("./15", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5081] openat(AT_FDCWD, "./15", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5081] newfstatat(3, "", [ 122.605360][ T5179] loop3: detected capacity change from 0 to 1024 [pid 5180] write(3, "1000", 4 [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5180] <... write resumed>) = 4 [pid 5179] mount("/dev/loop3", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5075] <... ioctl resumed>) = 0 [pid 5180] close(3 [pid 5081] getdents64(3, 0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5076] <... clone resumed>, child_tidptr=0x555555c35650) = 5181 [pid 5180] <... close resumed>) = 0 [pid 5180] symlink("/dev/binderfs", "./binderfs" [pid 5081] umount2("./15/bus", MNT_DETACH|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 5181 attached [pid 5180] <... symlink resumed>) = 0 [pid 5181] set_robust_list(0x555555c35660, 24 [pid 5077] <... ioctl resumed>) = 0 [pid 5181] <... set_robust_list resumed>) = 0 [pid 5181] chdir("./15" [pid 5180] memfd_create("syzkaller", 0) = 3 [pid 5180] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5181] <... chdir resumed>) = 0 [pid 5181] prctl(PR_SET_PDEATHSIG, SIGKILL [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 5075] close(3) = 0 [pid 5075] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5182 attached [pid 5181] <... prctl resumed>) = 0 [pid 5081] <... umount2 resumed>) = 0 [pid 5181] setpgid(0, 0 [pid 5075] <... clone resumed>, child_tidptr=0x555555c35650) = 5182 [pid 5181] <... setpgid resumed>) = 0 [pid 5182] set_robust_list(0x555555c35660, 24 [pid 5181] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5077] close(3) = 0 [pid 5182] <... set_robust_list resumed>) = 0 [pid 5181] <... openat resumed>) = 3 [pid 5179] <... mount resumed>) = 0 [pid 5077] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5182] chdir("./16" [pid 5179] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5081] umount2("./15/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5179] <... openat resumed>) = 3 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5182] <... chdir resumed>) = 0 [pid 5081] newfstatat(AT_FDCWD, "./15/bus", [pid 5182] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5077] <... clone resumed>, child_tidptr=0x555555c35650) = 5183 [pid 5182] setpgid(0, 0 [pid 5179] chdir("./bus" [pid 5182] <... setpgid resumed>) = 0 [pid 5179] <... chdir resumed>) = 0 ./strace-static-x86_64: Process 5183 attached [pid 5182] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5181] write(3, "1000", 4 [pid 5180] <... write resumed>) = 524288 [pid 5081] umount2("./15/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5183] set_robust_list(0x555555c35660, 24 [pid 5081] openat(AT_FDCWD, "./15/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5183] <... set_robust_list resumed>) = 0 [pid 5081] <... openat resumed>) = 4 [pid 5183] chdir("./15" [pid 5081] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5182] <... openat resumed>) = 3 [pid 5081] getdents64(4, 0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5081] getdents64(4, [pid 5180] munmap(0x7f8a3a600000, 138412032 [pid 5081] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5181] <... write resumed>) = 4 [pid 5081] close(4 [pid 5183] <... chdir resumed>) = 0 [pid 5179] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5081] <... close resumed>) = 0 [pid 5183] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5181] close(3 [pid 5180] <... munmap resumed>) = 0 [pid 5081] rmdir("./15/bus" [pid 5182] write(3, "1000", 4 [pid 5183] <... prctl resumed>) = 0 [pid 5181] <... close resumed>) = 0 [pid 5182] <... write resumed>) = 4 [pid 5183] setpgid(0, 0 [pid 5181] symlink("/dev/binderfs", "./binderfs" [pid 5081] <... rmdir resumed>) = 0 [pid 5183] <... setpgid resumed>) = 0 [pid 5181] <... symlink resumed>) = 0 [pid 5179] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5182] close(3 [pid 5183] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5180] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5183] <... openat resumed>) = 3 [pid 5182] <... close resumed>) = 0 [pid 5081] umount2("./15/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5182] symlink("/dev/binderfs", "./binderfs" [pid 5180] <... openat resumed>) = 4 [pid 5179] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5183] write(3, "1000", 4 [pid 5181] memfd_create("syzkaller", 0 [pid 5180] ioctl(4, LOOP_SET_FD, 3 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5183] <... write resumed>) = 4 [pid 5182] <... symlink resumed>) = 0 [pid 5181] <... memfd_create resumed>) = 3 [pid 5181] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5179] <... symlink resumed>) = 0 [pid 5181] <... mmap resumed>) = 0x7f8a3a600000 [pid 5183] close(3 [pid 5182] memfd_create("syzkaller", 0 [pid 5179] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5081] newfstatat(AT_FDCWD, "./15/binderfs", [pid 5183] <... close resumed>) = 0 [pid 5182] <... memfd_create resumed>) = 3 [pid 5081] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5183] symlink("/dev/binderfs", "./binderfs" [pid 5081] unlink("./15/binderfs" [pid 5183] <... symlink resumed>) = 0 [pid 5182] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5081] <... unlink resumed>) = 0 [pid 5183] memfd_create("syzkaller", 0 [pid 5182] <... mmap resumed>) = 0x7f8a3a600000 [pid 5081] getdents64(3, 0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5081] close(3 [pid 5183] <... memfd_create resumed>) = 3 [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 5081] <... close resumed>) = 0 [pid 5183] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 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] <... write resumed>) = 524288 [pid 5081] rmdir("./15" [pid 5183] <... mmap resumed>) = 0x7f8a3a600000 [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 5081] <... rmdir resumed>) = 0 [pid 5081] mkdir("./16", 0777) = 0 [pid 5180] <... ioctl resumed>) = 0 [pid 5081] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5180] close(3 [pid 5081] <... openat resumed>) = 3 [pid 5180] <... close resumed>) = 0 [pid 5081] ioctl(3, LOOP_CLR_FD [pid 5180] close(4) = 0 [ 122.753228][ T5180] loop4: detected capacity change from 0 to 1024 [pid 5180] mkdir("./bus", 0777) = 0 [pid 5180] mount("/dev/loop4", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5179] <... creat resumed>) = 4 [pid 5179] rename("./bus", "./file2" [pid 5181] munmap(0x7f8a3a600000, 138412032) = 0 [pid 5180] <... mount resumed>) = 0 [pid 5180] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY) = 3 [pid 5180] chdir("./bus") = 0 [pid 5180] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5181] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 5179] <... rename resumed>) = -1 EEXIST (File exists) [pid 5081] <... ioctl resumed>) = 0 [pid 5180] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5179] memfd_create("syzkaller", 0 [pid 5183] <... write resumed>) = 524288 [pid 5181] ioctl(4, LOOP_SET_FD, 3 [pid 5180] <... symlink resumed>) = 0 [pid 5183] munmap(0x7f8a3a600000, 138412032 [pid 5182] <... write resumed>) = 524288 [pid 5180] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5183] <... munmap resumed>) = 0 [pid 5182] munmap(0x7f8a3a600000, 138412032 [pid 5179] <... memfd_create resumed>) = 5 [pid 5179] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5183] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5182] <... munmap resumed>) = 0 [pid 5180] <... creat resumed>) = 4 [pid 5179] <... mmap resumed>) = 0x7f8a3a600000 [pid 5180] rename("./bus", "./file2" [pid 5183] <... openat resumed>) = 4 [pid 5180] <... rename resumed>) = -1 EEXIST (File exists) [pid 5183] ioctl(4, LOOP_SET_FD, 3 [pid 5180] memfd_create("syzkaller", 0 [pid 5182] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5180] <... memfd_create resumed>) = 5 [pid 5179] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5081] close(3) = 0 [pid 5081] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5180] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5180] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5081] <... clone resumed>, child_tidptr=0x555555c35650) = 5184 [pid 5182] <... openat resumed>) = 4 [pid 5181] <... ioctl resumed>) = 0 [pid 5181] close(3) = 0 [pid 5181] close(4 [pid 5182] ioctl(4, LOOP_SET_FD, 3 [pid 5181] <... close resumed>) = 0 [pid 5180] <... write resumed>) = 524288 [pid 5181] mkdir("./bus", 0777) = 0 [pid 5181] mount("/dev/loop1", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, ""./strace-static-x86_64: Process 5184 attached [pid 5184] set_robust_list(0x555555c35660, 24 [pid 5181] <... mount resumed>) = 0 [pid 5183] <... ioctl resumed>) = 0 [pid 5183] close(3 [pid 5181] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5183] <... close resumed>) = 0 [pid 5181] <... openat resumed>) = 3 [pid 5183] close(4) = 0 [pid 5183] mkdir("./bus", 0777 [pid 5179] <... write resumed>) = 524288 [pid 5184] <... set_robust_list resumed>) = 0 [pid 5184] chdir("./16" [pid 5183] <... mkdir resumed>) = 0 [pid 5181] chdir("./bus") = 0 [pid 5183] mount("/dev/loop2", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5184] <... chdir resumed>) = 0 [pid 5181] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5184] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5181] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5184] <... prctl resumed>) = 0 [pid 5182] <... ioctl resumed>) = 0 [pid 5181] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5184] setpgid(0, 0 [pid 5183] <... mount resumed>) = 0 [pid 5182] close(3 [pid 5183] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY) = 3 [pid 5184] <... setpgid resumed>) = 0 [pid 5183] chdir("./bus" [pid 5182] <... close resumed>) = 0 [pid 5181] <... symlink resumed>) = 0 [pid 5183] <... chdir resumed>) = 0 [pid 5182] close(4 [pid 5180] munmap(0x7f8a3a600000, 138412032 [pid 5184] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5183] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5182] <... close resumed>) = 0 [pid 5181] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5180] <... munmap resumed>) = 0 [pid 5179] munmap(0x7f8a3a600000, 138412032 [pid 5184] <... openat resumed>) = 3 [pid 5183] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5182] mkdir("./bus", 0777 [pid 5183] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5182] <... mkdir resumed>) = 0 [pid 5184] write(3, "1000", 4 [pid 5182] mount("/dev/loop0", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5179] <... munmap resumed>) = 0 [pid 5180] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [ 122.835225][ T5181] loop1: detected capacity change from 0 to 1024 [ 122.849736][ T5183] loop2: detected capacity change from 0 to 1024 [ 122.866173][ T5182] loop0: detected capacity change from 0 to 1024 [pid 5180] close(5 [pid 5184] <... write resumed>) = 4 [pid 5183] <... symlink resumed>) = 0 [pid 5179] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5184] close(3 [pid 5183] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5179] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5184] <... close resumed>) = 0 [pid 5182] <... mount resumed>) = 0 [pid 5181] <... creat resumed>) = 4 [pid 5179] close(5 [pid 5184] symlink("/dev/binderfs", "./binderfs" [pid 5182] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5180] <... close resumed>) = 0 [pid 5181] rename("./bus", "./file2" [pid 5182] <... openat resumed>) = 3 [pid 5184] <... symlink resumed>) = 0 [pid 5181] <... rename resumed>) = -1 EEXIST (File exists) [pid 5181] memfd_create("syzkaller", 0 [pid 5184] memfd_create("syzkaller", 0 [pid 5181] <... memfd_create resumed>) = 5 [pid 5183] <... creat resumed>) = 4 [pid 5181] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5183] rename("./bus", "./file2" [pid 5181] <... mmap resumed>) = 0x7f8a3a600000 [pid 5184] <... memfd_create resumed>) = 3 [pid 5182] chdir("./bus" [pid 5181] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5184] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5182] <... chdir resumed>) = 0 [pid 5183] <... rename resumed>) = -1 EEXIST (File exists) [pid 5182] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5184] <... mmap resumed>) = 0x7f8a3a600000 [pid 5183] memfd_create("syzkaller", 0 [pid 5182] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5182] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5180] creat("./file1", 000 [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 5183] <... memfd_create resumed>) = 5 [pid 5179] <... close resumed>) = 0 [pid 5183] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5183] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... symlink resumed>) = 0 [pid 5180] <... creat resumed>) = 5 [pid 5179] creat("./file1", 000 [pid 5180] exit_group(0) = ? [pid 5182] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5180] +++ exited with 0 +++ [pid 5179] <... creat resumed>) = 5 [pid 5079] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5180, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5079] umount2("./15", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5079] openat(AT_FDCWD, "./15", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5079] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5181] <... write resumed>) = 524288 [pid 5181] munmap(0x7f8a3a600000, 138412032 [pid 5079] getdents64(3, [pid 5181] <... munmap resumed>) = 0 [pid 5179] exit_group(0 [pid 5079] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5179] <... exit_group resumed>) = ? [pid 5079] umount2("./15/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5181] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5181] close(5 [pid 5183] <... write resumed>) = 524288 [pid 5179] +++ exited with 0 +++ [pid 5078] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5179, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5078] umount2("./16", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5182] <... creat resumed>) = 4 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5078] openat(AT_FDCWD, "./16", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5078] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5078] getdents64(3, 0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5078] umount2("./16/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5182] rename("./bus", "./file2" [pid 5181] <... close resumed>) = 0 [pid 5079] <... umount2 resumed>) = 0 [pid 5183] munmap(0x7f8a3a600000, 138412032) = 0 [pid 5184] <... write resumed>) = 524288 [pid 5183] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5184] munmap(0x7f8a3a600000, 138412032 [pid 5183] close(5 [pid 5182] <... rename resumed>) = -1 EEXIST (File exists) [pid 5078] <... umount2 resumed>) = 0 [pid 5182] memfd_create("syzkaller", 0 [pid 5184] <... munmap resumed>) = 0 [pid 5183] <... close resumed>) = 0 [pid 5182] <... memfd_create resumed>) = 5 [pid 5182] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5181] creat("./file1", 000 [pid 5184] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5182] <... mmap resumed>) = 0x7f8a3a600000 [pid 5079] umount2("./15/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5079] newfstatat(AT_FDCWD, "./15/bus", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5079] umount2("./15/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5079] openat(AT_FDCWD, "./15/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5184] <... openat resumed>) = 4 [pid 5184] ioctl(4, LOOP_SET_FD, 3 [pid 5079] <... openat resumed>) = 4 [pid 5079] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5079] getdents64(4, 0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5079] getdents64(4, [pid 5181] <... creat resumed>) = 5 [pid 5079] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5078] umount2("./16/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] close(4 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5181] exit_group(0 [pid 5079] <... close resumed>) = 0 [pid 5078] newfstatat(AT_FDCWD, "./16/bus", [pid 5181] <... exit_group resumed>) = ? [pid 5079] rmdir("./15/bus" [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5181] +++ exited with 0 +++ [pid 5079] <... rmdir resumed>) = 0 [pid 5078] umount2("./16/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5078] openat(AT_FDCWD, "./16/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5078] newfstatat(4, "", [pid 5184] <... ioctl resumed>) = 0 [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5076] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5181, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5079] umount2("./15/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5078] getdents64(4, [pid 5076] umount2("./15", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5079] newfstatat(AT_FDCWD, "./15/binderfs", [pid 5078] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5183] creat("./file1", 000 [pid 5079] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5078] getdents64(4, [pid 5184] close(3 [pid 5076] openat(AT_FDCWD, "./15", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5079] unlink("./15/binderfs") = 0 [pid 5182] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5078] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5076] <... openat resumed>) = 3 [pid 5184] <... close resumed>) = 0 [pid 5183] <... creat resumed>) = 5 [pid 5076] newfstatat(3, "", [pid 5183] exit_group(0 [pid 5078] close(4 [pid 5079] getdents64(3, [pid 5078] <... close resumed>) = 0 [pid 5183] <... exit_group resumed>) = ? [pid 5079] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5078] rmdir("./16/bus" [pid 5184] close(4 [pid 5079] close(3 [pid 5078] <... rmdir resumed>) = 0 [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5184] <... close resumed>) = 0 [pid 5183] +++ exited with 0 +++ [pid 5182] <... write resumed>) = 524288 [pid 5076] getdents64(3, [pid 5077] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5183, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5077] umount2("./15", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5184] mkdir("./bus", 0777 [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] openat(AT_FDCWD, "./15", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5077] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5077] getdents64(3, 0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5077] umount2("./15/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] <... close resumed>) = 0 [pid 5079] rmdir("./15") = 0 [pid 5184] <... mkdir resumed>) = 0 [pid 5184] mount("/dev/loop5", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5076] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5079] mkdir("./16", 0777 [pid 5078] umount2("./16/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] <... mkdir resumed>) = 0 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5076] umount2("./15/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5078] newfstatat(AT_FDCWD, "./16/binderfs", [pid 5079] <... openat resumed>) = 3 [pid 5079] ioctl(3, LOOP_CLR_FD [pid 5078] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5078] unlink("./16/binderfs") = 0 [pid 5078] getdents64(3, 0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5078] close(3) = 0 [pid 5078] rmdir("./16") = 0 [ 123.025170][ T5184] loop5: detected capacity change from 0 to 1024 [pid 5078] mkdir("./17", 0777) = 0 [pid 5182] munmap(0x7f8a3a600000, 138412032) = 0 [pid 5078] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5078] ioctl(3, LOOP_CLR_FD [pid 5182] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5182] close(5 [pid 5076] <... umount2 resumed>) = 0 [pid 5077] <... umount2 resumed>) = 0 [pid 5077] umount2("./15/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5077] newfstatat(AT_FDCWD, "./15/bus", [pid 5184] <... mount resumed>) = 0 [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5077] umount2("./15/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5077] openat(AT_FDCWD, "./15/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5077] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5184] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5077] getdents64(4, [pid 5182] <... close resumed>) = 0 [pid 5077] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5184] <... openat resumed>) = 3 [pid 5076] umount2("./15/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] getdents64(4, 0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5077] close(4 [pid 5184] chdir("./bus" [pid 5077] <... close resumed>) = 0 [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] rmdir("./15/bus" [pid 5184] <... chdir resumed>) = 0 [pid 5077] <... rmdir resumed>) = 0 [pid 5076] newfstatat(AT_FDCWD, "./15/bus", [pid 5077] umount2("./15/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5077] newfstatat(AT_FDCWD, "./15/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5077] unlink("./15/binderfs" [pid 5184] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5077] <... unlink resumed>) = 0 [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5182] creat("./file1", 000 [pid 5077] getdents64(3, [pid 5076] umount2("./15/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5184] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5077] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] close(3) = 0 [pid 5077] rmdir("./15") = 0 [pid 5077] mkdir("./16", 0777 [pid 5184] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5182] <... creat resumed>) = 5 [pid 5077] <... mkdir resumed>) = 0 [pid 5076] openat(AT_FDCWD, "./15/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5184] <... symlink resumed>) = 0 [pid 5182] exit_group(0 [pid 5077] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5076] <... openat resumed>) = 4 [pid 5182] <... exit_group resumed>) = ? [pid 5184] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5078] <... ioctl resumed>) = 0 [pid 5076] newfstatat(4, "", [pid 5077] <... openat resumed>) = 3 [pid 5079] <... ioctl resumed>) = 0 [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5077] ioctl(3, LOOP_CLR_FD [pid 5076] getdents64(4, [pid 5077] <... ioctl resumed>) = 0 [pid 5076] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5077] close(3 [pid 5076] getdents64(4, [pid 5184] <... creat resumed>) = 4 [pid 5076] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5184] rename("./bus", "./file2" [pid 5077] <... close resumed>) = 0 [pid 5076] close(4 [pid 5077] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5076] <... close resumed>) = 0 [pid 5076] rmdir("./15/bus") = 0 [pid 5079] close(3) = 0 [pid 5079] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5182] +++ exited with 0 +++ [pid 5077] <... clone resumed>, child_tidptr=0x555555c35650) = 5185 [pid 5184] <... rename resumed>) = -1 EEXIST (File exists) [pid 5076] umount2("./15/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5182, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5079] <... clone resumed>, child_tidptr=0x555555c35650) = 5186 [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] umount2("./16", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5184] memfd_create("syzkaller", 0) = 5 [pid 5076] newfstatat(AT_FDCWD, "./15/binderfs", [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) ./strace-static-x86_64: Process 5185 attached [pid 5078] close(3) = 0 [pid 5078] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5184] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5076] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5075] openat(AT_FDCWD, "./16", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5184] <... mmap resumed>) = 0x7f8a3a600000 ./strace-static-x86_64: Process 5186 attached [pid 5185] set_robust_list(0x555555c35660, 24 [pid 5076] unlink("./15/binderfs" [pid 5075] <... openat resumed>) = 3 [pid 5186] set_robust_list(0x555555c35660, 24 [pid 5185] <... set_robust_list resumed>) = 0 [pid 5078] <... clone resumed>, child_tidptr=0x555555c35650) = 5187 [pid 5186] <... set_robust_list resumed>) = 0 [pid 5185] chdir("./16" [pid 5186] chdir("./16" [pid 5185] <... chdir resumed>) = 0 [pid 5075] newfstatat(3, "", [pid 5186] <... chdir resumed>) = 0 [pid 5186] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5185] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5186] <... prctl resumed>) = 0 [pid 5185] <... prctl resumed>) = 0 [pid 5076] <... unlink resumed>) = 0 [pid 5185] setpgid(0, 0 [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5185] <... setpgid resumed>) = 0 [pid 5185] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5075] getdents64(3, [pid 5186] setpgid(0, 0./strace-static-x86_64: Process 5187 attached [pid 5185] <... openat resumed>) = 3 [pid 5184] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5075] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5187] set_robust_list(0x555555c35660, 24 [pid 5186] <... setpgid resumed>) = 0 [pid 5185] write(3, "1000", 4 [pid 5076] getdents64(3, [pid 5075] umount2("./16/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5187] <... set_robust_list resumed>) = 0 [pid 5186] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5185] <... write resumed>) = 4 [pid 5186] <... openat resumed>) = 3 [pid 5185] close(3) = 0 [pid 5185] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5185] memfd_create("syzkaller", 0 [pid 5186] write(3, "1000", 4) = 4 [pid 5185] <... memfd_create resumed>) = 3 [pid 5186] close(3 [pid 5185] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5186] <... close resumed>) = 0 [pid 5185] <... mmap resumed>) = 0x7f8a3a600000 [pid 5186] symlink("/dev/binderfs", "./binderfs" [pid 5187] chdir("./17" [pid 5186] <... symlink 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 5076] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5075] <... umount2 resumed>) = 0 [pid 5187] <... chdir resumed>) = 0 [pid 5076] close(3 [pid 5187] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5186] memfd_create("syzkaller", 0 [pid 5076] <... close resumed>) = 0 [pid 5187] setpgid(0, 0 [pid 5186] <... memfd_create resumed>) = 3 [pid 5186] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [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 5187] <... setpgid resumed>) = 0 [pid 5185] <... write resumed>) = 524288 [pid 5184] <... write resumed>) = 524288 [pid 5186] <... write resumed>) = 524288 [pid 5076] rmdir("./15" [pid 5187] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5076] <... rmdir resumed>) = 0 [pid 5075] umount2("./16/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] mkdir("./16", 0777 [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5186] munmap(0x7f8a3a600000, 138412032 [pid 5185] munmap(0x7f8a3a600000, 138412032 [pid 5187] <... openat resumed>) = 3 [pid 5185] <... munmap resumed>) = 0 [pid 5076] <... mkdir resumed>) = 0 [pid 5075] newfstatat(AT_FDCWD, "./16/bus", [pid 5185] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5185] ioctl(4, LOOP_SET_FD, 3 [pid 5186] <... munmap resumed>) = 0 [pid 5185] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5076] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5187] write(3, "1000", 4 [pid 5185] ioctl(4, LOOP_CLR_FD [pid 5187] <... write resumed>) = 4 [pid 5076] <... openat resumed>) = 3 [pid 5075] umount2("./16/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5187] close(3 [pid 5076] ioctl(3, LOOP_CLR_FD [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5187] <... close resumed>) = 0 [pid 5187] symlink("/dev/binderfs", "./binderfs" [pid 5186] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5185] <... ioctl resumed>) = 0 [pid 5184] munmap(0x7f8a3a600000, 138412032 [pid 5075] openat(AT_FDCWD, "./16/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5187] <... symlink resumed>) = 0 [pid 5186] <... openat resumed>) = 4 [pid 5186] ioctl(4, LOOP_SET_FD, 3 [pid 5187] memfd_create("syzkaller", 0 [pid 5184] <... munmap resumed>) = 0 [pid 5075] <... openat resumed>) = 4 [pid 5075] newfstatat(4, "", [pid 5187] <... memfd_create resumed>) = 3 [pid 5185] ioctl(4, LOOP_SET_FD, 3 [pid 5187] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5185] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5185] close(4 [pid 5075] getdents64(4, [pid 5185] <... close resumed>) = 0 [pid 5185] close(3 [pid 5187] <... mmap resumed>) = 0x7f8a3a600000 [pid 5184] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5075] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [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] <... ioctl resumed>) = 0 [pid 5185] <... close resumed>) = 0 [pid 5184] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5075] getdents64(4, [pid 5186] close(3 [pid 5185] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5184] close(5 [pid 5075] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5186] <... close resumed>) = 0 [pid 5075] close(4 [pid 5185] <... symlink resumed>) = 0 [pid 5185] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 3 [pid 5185] rename("./bus", "./file2" [pid 5184] <... close resumed>) = 0 [pid 5075] <... close resumed>) = 0 [pid 5186] close(4 [pid 5075] rmdir("./16/bus" [pid 5186] <... close resumed>) = 0 [pid 5185] <... rename resumed>) = 0 [pid 5186] mkdir("./bus", 0777 [pid 5075] <... rmdir resumed>) = 0 [ 123.255002][ T5186] loop4: detected capacity change from 0 to 1024 [pid 5186] <... mkdir resumed>) = 0 [pid 5185] memfd_create("syzkaller", 0 [pid 5184] creat("./file1", 000 [pid 5076] <... ioctl resumed>) = 0 [pid 5075] umount2("./16/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5185] <... memfd_create resumed>) = 4 [pid 5185] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5187] <... write resumed>) = 524288 [pid 5186] mount("/dev/loop4", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5184] <... creat resumed>) = 5 [pid 5076] close(3 [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] newfstatat(AT_FDCWD, "./16/binderfs", [pid 5187] munmap(0x7f8a3a600000, 138412032 [pid 5184] exit_group(0 [pid 5076] <... close resumed>) = 0 [pid 5075] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5075] unlink("./16/binderfs" [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 5076] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5075] <... unlink resumed>) = 0 [pid 5187] <... munmap resumed>) = 0 [pid 5185] <... write resumed>) = 524288 [pid 5184] <... exit_group resumed>) = ? [pid 5075] getdents64(3, 0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5187] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5075] close(3) = 0 [pid 5075] rmdir("./16"./strace-static-x86_64: Process 5188 attached [pid 5187] <... openat resumed>) = 4 [pid 5186] <... mount resumed>) = 0 [pid 5184] +++ exited with 0 +++ [pid 5075] <... rmdir resumed>) = 0 [pid 5187] ioctl(4, LOOP_SET_FD, 3 [pid 5186] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5081] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5184, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5075] mkdir("./17", 0777 [pid 5186] <... openat resumed>) = 3 [pid 5081] umount2("./16", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5081] openat(AT_FDCWD, "./16", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5186] chdir("./bus" [pid 5081] <... openat resumed>) = 3 [pid 5075] <... mkdir resumed>) = 0 [pid 5081] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5081] getdents64(3, [pid 5186] <... chdir resumed>) = 0 [pid 5081] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5075] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5186] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5075] <... openat resumed>) = 3 [pid 5081] umount2("./16/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] ioctl(3, LOOP_CLR_FD [pid 5186] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5186] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5188] set_robust_list(0x555555c35660, 24 [pid 5187] <... ioctl resumed>) = 0 [pid 5186] <... symlink resumed>) = 0 [pid 5076] <... clone resumed>, child_tidptr=0x555555c35650) = 5188 [pid 5188] <... set_robust_list resumed>) = 0 [pid 5187] close(3 [pid 5186] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5187] <... close resumed>) = 0 [pid 5185] munmap(0x7f8a3a600000, 138412032 [pid 5188] chdir("./16" [pid 5187] close(4 [pid 5188] <... chdir resumed>) = 0 [pid 5187] <... close resumed>) = 0 [pid 5185] <... munmap resumed>) = 0 [pid 5186] <... creat resumed>) = 4 [pid 5188] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5187] mkdir("./bus", 0777 [pid 5188] <... prctl resumed>) = 0 [ 123.344105][ T5187] loop3: detected capacity change from 0 to 1024 [pid 5187] <... mkdir resumed>) = 0 [pid 5186] rename("./bus", "./file2" [pid 5185] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 5 [pid 5185] ioctl(5, LOOP_SET_FD, 4 [pid 5188] setpgid(0, 0 [pid 5187] mount("/dev/loop3", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5186] <... rename resumed>) = -1 EEXIST (File exists) [pid 5185] <... ioctl resumed>) = 0 [pid 5188] <... setpgid resumed>) = 0 [pid 5081] <... umount2 resumed>) = 0 [pid 5188] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5186] memfd_create("syzkaller", 0 [pid 5075] <... ioctl resumed>) = 0 [pid 5188] <... openat resumed>) = 3 [pid 5186] <... memfd_create resumed>) = 5 [pid 5186] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5185] close(4) = 0 [pid 5185] close(5) = 0 [pid 5188] write(3, "1000", 4 [pid 5187] <... mount resumed>) = 0 [pid 5186] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5081] umount2("./16/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] close(3 [pid 5188] <... write resumed>) = 4 [pid 5187] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5186] <... write resumed>) = 524288 [pid 5185] mkdir("./file1", 0777 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5188] close(3 [pid 5185] <... mkdir resumed>) = 0 [pid 5081] newfstatat(AT_FDCWD, "./16/bus", [pid 5188] <... close resumed>) = 0 [pid 5187] <... openat resumed>) = 3 [pid 5185] mount("/dev/loop2", "./file1", "hfsplus", MS_NOSUID|MS_SYNCHRONOUS|MS_NOATIME, "" [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5075] <... close resumed>) = 0 [pid 5188] symlink("/dev/binderfs", "./binderfs" [pid 5187] chdir("./bus" [pid 5081] umount2("./16/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5187] <... chdir resumed>) = 0 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5081] openat(AT_FDCWD, "./16/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5081] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5081] getdents64(4, [pid 5188] <... symlink resumed>) = 0 [pid 5081] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5187] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5075] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5081] getdents64(4, 0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5187] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5081] close(4) = 0 [pid 5081] rmdir("./16/bus" [pid 5187] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5081] <... rmdir resumed>) = 0 [pid 5081] umount2("./16/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5081] newfstatat(AT_FDCWD, "./16/binderfs", ./strace-static-x86_64: Process 5189 attached [pid 5188] memfd_create("syzkaller", 0 [pid 5081] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5189] set_robust_list(0x555555c35660, 24 [pid 5187] <... symlink resumed>) = 0 [pid 5185] <... mount resumed>) = 0 [ 123.386736][ T5185] loop2: detected capacity change from 0 to 1024 [pid 5189] <... set_robust_list resumed>) = 0 [pid 5188] <... memfd_create resumed>) = 3 [pid 5187] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5186] munmap(0x7f8a3a600000, 138412032 [pid 5185] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5081] unlink("./16/binderfs" [pid 5075] <... clone resumed>, child_tidptr=0x555555c35650) = 5189 [pid 5189] chdir("./17" [pid 5185] <... openat resumed>) = 4 [pid 5081] <... unlink resumed>) = 0 [pid 5185] chdir("./file1") = 0 [pid 5185] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5189] <... chdir resumed>) = 0 [pid 5185] creat("./file1", 000 [pid 5081] getdents64(3, [pid 5189] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5188] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5186] <... munmap resumed>) = 0 [pid 5081] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5189] <... prctl resumed>) = 0 [pid 5188] <... mmap resumed>) = 0x7f8a3a600000 [pid 5081] close(3 [pid 5189] setpgid(0, 0 [pid 5081] <... close resumed>) = 0 [pid 5081] rmdir("./16") = 0 [pid 5189] <... setpgid resumed>) = 0 [pid 5189] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5081] mkdir("./17", 0777 [pid 5189] write(3, "1000", 4 [pid 5081] <... mkdir resumed>) = 0 [pid 5189] <... write resumed>) = 4 [pid 5189] close(3 [pid 5081] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5189] <... close resumed>) = 0 [pid 5189] symlink("/dev/binderfs", "./binderfs" [pid 5186] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5189] <... symlink resumed>) = 0 [pid 5081] <... openat resumed>) = 3 [pid 5189] memfd_create("syzkaller", 0 [pid 5081] ioctl(3, LOOP_CLR_FD [pid 5186] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5189] <... memfd_create resumed>) = 3 [pid 5189] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [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 5187] <... creat resumed>) = 4 [pid 5186] close(5 [pid 5189] <... mmap resumed>) = 0x7f8a3a600000 [pid 5185] <... creat resumed>) = 5 [pid 5185] exit_group(0) = ? [pid 5185] +++ exited with 0 +++ [pid 5077] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5185, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5077] umount2("./16", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5077] openat(AT_FDCWD, "./16", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [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 5187] rename("./bus", "./file2" [pid 5186] <... close resumed>) = 0 [pid 5077] <... openat resumed>) = 3 [pid 5077] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5077] getdents64(3, [pid 5187] <... rename resumed>) = -1 EEXIST (File exists) [pid 5077] <... getdents64 resumed>0x555555c366f0 /* 6 entries */, 32768) = 416 [pid 5077] umount2("./16/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5187] memfd_create("syzkaller", 0 [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] newfstatat(AT_FDCWD, "./16/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5077] unlink("./16/binderfs") = 0 [pid 5077] umount2("./16/file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5186] creat("./file1", 000 [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] newfstatat(AT_FDCWD, "./16/file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5187] <... memfd_create resumed>) = 5 [pid 5077] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=5, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5077] unlink("./16/file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5187] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5077] <... unlink resumed>) = 0 [pid 5188] <... write resumed>) = 524288 [pid 5187] <... mmap resumed>) = 0x7f8a3a600000 [pid 5186] <... creat resumed>) = 5 [pid 5077] umount2("./16/file2", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5187] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] newfstatat(AT_FDCWD, "./16/file2", [pid 5186] exit_group(0 [pid 5077] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5077] unlink("./16/file2") = 0 [pid 5077] umount2("./16/file1", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5188] munmap(0x7f8a3a600000, 138412032) = 0 [pid 5186] <... exit_group resumed>) = ? [pid 5186] +++ exited with 0 +++ [pid 5079] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5186, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5079] umount2("./16", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5188] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5079] openat(AT_FDCWD, "./16", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5188] <... openat resumed>) = 4 [pid 5079] <... openat resumed>) = 3 [pid 5079] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5079] getdents64(3, [pid 5188] ioctl(4, LOOP_SET_FD, 3 [pid 5079] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5189] <... write resumed>) = 524288 [pid 5079] umount2("./16/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5189] munmap(0x7f8a3a600000, 138412032 [pid 5081] <... ioctl resumed>) = 0 [pid 5189] <... munmap resumed>) = 0 [pid 5081] close(3) = 0 [pid 5189] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5081] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5189] <... openat resumed>) = 4 [pid 5189] ioctl(4, LOOP_SET_FD, 3 [pid 5081] <... clone resumed>, child_tidptr=0x555555c35650) = 5190 ./strace-static-x86_64: Process 5190 attached [pid 5188] <... ioctl resumed>) = 0 [pid 5190] set_robust_list(0x555555c35660, 24 [pid 5188] close(3 [pid 5190] <... set_robust_list resumed>) = 0 [pid 5188] <... close resumed>) = 0 [pid 5190] chdir("./17" [pid 5188] close(4) = 0 [pid 5188] mkdir("./bus", 0777) = 0 [pid 5190] <... chdir resumed>) = 0 [pid 5188] mount("/dev/loop1", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5190] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5190] setpgid(0, 0) = 0 [pid 5187] <... write resumed>) = 524288 [pid 5190] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5190] write(3, "1000", 4) = 4 [pid 5189] <... ioctl resumed>) = 0 [pid 5187] munmap(0x7f8a3a600000, 138412032 [pid 5190] close(3 [pid 5189] close(3 [pid 5079] <... umount2 resumed>) = 0 [pid 5077] <... umount2 resumed>) = 0 [pid 5190] <... close resumed>) = 0 [pid 5189] <... close resumed>) = 0 [pid 5187] <... munmap resumed>) = 0 [pid 5190] symlink("/dev/binderfs", "./binderfs" [pid 5189] close(4 [pid 5190] <... symlink resumed>) = 0 [pid 5189] <... close resumed>) = 0 [ 123.551269][ T5188] loop1: detected capacity change from 0 to 1024 [ 123.576217][ T5189] loop0: detected capacity change from 0 to 1024 [pid 5190] memfd_create("syzkaller", 0 [pid 5189] mkdir("./bus", 0777 [pid 5188] <... mount resumed>) = 0 [pid 5187] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5077] umount2("./16/file1", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5190] <... memfd_create resumed>) = 3 [pid 5189] <... mkdir resumed>) = 0 [pid 5188] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5187] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5188] <... openat resumed>) = 3 [pid 5188] chdir("./bus" [pid 5187] close(5 [pid 5077] newfstatat(AT_FDCWD, "./16/file1", [pid 5188] <... chdir resumed>) = 0 [pid 5188] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5188] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5077] umount2("./16/file1", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5188] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5190] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5189] mount("/dev/loop0", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5188] <... symlink resumed>) = 0 [pid 5187] <... close resumed>) = 0 [pid 5079] umount2("./16/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] openat(AT_FDCWD, "./16/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5190] <... mmap resumed>) = 0x7f8a3a600000 [pid 5188] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] <... openat resumed>) = 4 [pid 5079] newfstatat(AT_FDCWD, "./16/bus", [pid 5077] newfstatat(4, "", [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5079] umount2("./16/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] getdents64(4, [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [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 5079] openat(AT_FDCWD, "./16/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5077] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5079] <... openat resumed>) = 4 [pid 5077] getdents64(4, [pid 5079] newfstatat(4, "", [pid 5077] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5077] close(4 [pid 5079] getdents64(4, [pid 5077] <... close resumed>) = 0 [pid 5079] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5077] rmdir("./16/file1" [pid 5079] getdents64(4, [pid 5077] <... rmdir resumed>) = 0 [pid 5190] <... write resumed>) = 524288 [pid 5187] creat("./file1", 000 [pid 5079] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5077] getdents64(3, 0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5077] close(3) = 0 [pid 5077] rmdir("./16") = 0 [pid 5079] close(4) = 0 [pid 5079] rmdir("./16/bus") = 0 [pid 5077] mkdir("./17", 0777 [pid 5188] <... creat resumed>) = 4 [pid 5077] <... mkdir resumed>) = 0 [pid 5188] rename("./bus", "./file2" [pid 5079] umount2("./16/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5188] <... rename resumed>) = -1 EEXIST (File exists) [pid 5079] newfstatat(AT_FDCWD, "./16/binderfs", [pid 5189] <... mount resumed>) = 0 [pid 5188] memfd_create("syzkaller", 0 [pid 5079] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5077] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5188] <... memfd_create resumed>) = 5 [pid 5079] unlink("./16/binderfs" [pid 5077] <... openat resumed>) = 3 [pid 5188] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5079] <... unlink resumed>) = 0 [pid 5077] ioctl(3, LOOP_CLR_FD [pid 5188] <... mmap resumed>) = 0x7f8a3a600000 [pid 5079] getdents64(3, [pid 5188] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... creat resumed>) = 5 [pid 5079] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5189] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5079] close(3 [pid 5187] exit_group(0 [pid 5189] <... openat resumed>) = 3 [pid 5187] <... exit_group resumed>) = ? [pid 5079] <... close resumed>) = 0 [pid 5189] chdir("./bus" [pid 5079] rmdir("./16" [pid 5189] <... chdir resumed>) = 0 [pid 5079] <... rmdir resumed>) = 0 [pid 5189] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5079] mkdir("./17", 0777 [pid 5189] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5079] <... mkdir resumed>) = 0 [pid 5189] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5079] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5079] ioctl(3, LOOP_CLR_FD [pid 5190] munmap(0x7f8a3a600000, 138412032) = 0 [pid 5189] <... symlink resumed>) = 0 [pid 5187] +++ exited with 0 +++ [pid 5078] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5187, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5188] <... write resumed>) = 524288 [pid 5190] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5189] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5078] umount2("./17", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5190] <... openat resumed>) = 4 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5078] openat(AT_FDCWD, "./17", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5078] newfstatat(3, "", [pid 5190] ioctl(4, LOOP_SET_FD, 3 [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5078] getdents64(3, 0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5078] umount2("./17/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5189] <... creat resumed>) = 4 [pid 5189] rename("./bus", "./file2" [pid 5188] munmap(0x7f8a3a600000, 138412032 [pid 5189] <... rename resumed>) = -1 EEXIST (File exists) [pid 5188] <... munmap resumed>) = 0 [pid 5189] memfd_create("syzkaller", 0) = 5 [pid 5189] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5188] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5189] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5188] close(5 [pid 5077] <... ioctl resumed>) = 0 [pid 5079] <... ioctl resumed>) = 0 [pid 5190] <... ioctl resumed>) = 0 [pid 5190] close(3) = 0 [pid 5190] close(4 [pid 5078] <... umount2 resumed>) = 0 [pid 5190] <... close resumed>) = 0 [pid 5188] <... close resumed>) = 0 [ 123.715476][ T5190] loop5: detected capacity change from 0 to 1024 [pid 5190] mkdir("./bus", 0777) = 0 [pid 5077] close(3) = 0 [pid 5077] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5189] <... write resumed>) = 524288 [pid 5190] mount("/dev/loop5", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5078] umount2("./17/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5078] newfstatat(AT_FDCWD, "./17/bus", [pid 5079] close(3 [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5079] <... close resumed>) = 0 [pid 5078] umount2("./17/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5078] openat(AT_FDCWD, "./17/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5078] newfstatat(4, "", [pid 5077] <... clone resumed>, child_tidptr=0x555555c35650) = 5192 [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5078] getdents64(4, 0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5188] creat("./file1", 000 [pid 5078] getdents64(4, [pid 5079] <... clone resumed>, child_tidptr=0x555555c35650) = 5191 [pid 5078] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5078] close(4./strace-static-x86_64: Process 5192 attached ) = 0 [pid 5192] set_robust_list(0x555555c35660, 24 [pid 5078] rmdir("./17/bus") = 0 ./strace-static-x86_64: Process 5191 attached [pid 5192] <... set_robust_list resumed>) = 0 [pid 5078] umount2("./17/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5192] chdir("./17" [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5078] newfstatat(AT_FDCWD, "./17/binderfs", [pid 5191] set_robust_list(0x555555c35660, 24 [pid 5078] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5191] <... set_robust_list resumed>) = 0 [pid 5192] <... chdir resumed>) = 0 [pid 5189] munmap(0x7f8a3a600000, 138412032 [pid 5078] unlink("./17/binderfs") = 0 [pid 5078] getdents64(3, 0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5078] close(3 [pid 5191] chdir("./17" [pid 5192] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5190] <... mount resumed>) = 0 [pid 5189] <... munmap resumed>) = 0 [pid 5078] <... close resumed>) = 0 [pid 5191] <... chdir resumed>) = 0 [pid 5189] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5078] rmdir("./17" [pid 5191] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5078] <... rmdir resumed>) = 0 [pid 5192] <... prctl resumed>) = 0 [pid 5190] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5191] <... prctl resumed>) = 0 [pid 5078] mkdir("./18", 0777 [pid 5191] setpgid(0, 0 [pid 5192] setpgid(0, 0 [pid 5190] <... openat resumed>) = 3 [pid 5078] <... mkdir resumed>) = 0 [pid 5191] <... setpgid resumed>) = 0 [pid 5192] <... setpgid resumed>) = 0 [pid 5190] chdir("./bus" [pid 5189] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5191] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5192] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5190] <... chdir resumed>) = 0 [pid 5191] <... openat resumed>) = 3 [pid 5190] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5188] <... creat resumed>) = 5 [pid 5191] write(3, "1000", 4 [pid 5192] <... openat resumed>) = 3 [pid 5190] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5188] exit_group(0 [pid 5192] write(3, "1000", 4 [pid 5190] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5188] <... exit_group resumed>) = ? [pid 5078] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5191] <... write resumed>) = 4 [pid 5192] <... write resumed>) = 4 [pid 5190] <... symlink resumed>) = 0 [pid 5189] close(5 [pid 5188] +++ exited with 0 +++ [pid 5078] <... openat resumed>) = 3 [pid 5192] close(3 [pid 5078] ioctl(3, LOOP_CLR_FD [pid 5076] --- 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] close(3 [pid 5192] <... close resumed>) = 0 [pid 5192] symlink("/dev/binderfs", "./binderfs" [pid 5190] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5191] <... close resumed>) = 0 [pid 5191] symlink("/dev/binderfs", "./binderfs" [pid 5076] umount2("./16", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5192] <... symlink resumed>) = 0 [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5191] <... symlink resumed>) = 0 [pid 5192] memfd_create("syzkaller", 0 [pid 5191] memfd_create("syzkaller", 0 [pid 5190] <... creat resumed>) = 4 [pid 5190] rename("./bus", "./file2" [pid 5192] <... memfd_create resumed>) = 3 [pid 5190] <... rename resumed>) = -1 EEXIST (File exists) [pid 5191] <... memfd_create resumed>) = 3 [pid 5076] openat(AT_FDCWD, "./16", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5191] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5190] memfd_create("syzkaller", 0) = 5 [pid 5191] <... mmap resumed>) = 0x7f8a3a600000 [pid 5192] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5189] <... close resumed>) = 0 [pid 5192] <... mmap resumed>) = 0x7f8a3a600000 [pid 5190] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5076] <... openat resumed>) = 3 [pid 5190] <... mmap resumed>) = 0x7f8a3a600000 [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 5190] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] creat("./file1", 000 [pid 5076] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [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 5189] <... creat resumed>) = 5 [pid 5076] getdents64(3, [pid 5189] exit_group(0 [pid 5076] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5190] <... write resumed>) = 524288 [pid 5189] <... exit_group resumed>) = ? [pid 5076] umount2("./16/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5192] <... write resumed>) = 524288 [pid 5192] munmap(0x7f8a3a600000, 138412032 [pid 5191] <... write resumed>) = 524288 [pid 5191] munmap(0x7f8a3a600000, 138412032 [pid 5192] <... munmap resumed>) = 0 [pid 5190] munmap(0x7f8a3a600000, 138412032 [pid 5189] +++ exited with 0 +++ [pid 5078] <... ioctl resumed>) = 0 [pid 5075] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5189, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5191] <... munmap resumed>) = 0 [pid 5192] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5190] <... munmap resumed>) = 0 [pid 5192] <... openat resumed>) = 4 [pid 5192] ioctl(4, LOOP_SET_FD, 3 [pid 5191] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5192] <... ioctl resumed>) = 0 [pid 5190] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5076] <... umount2 resumed>) = 0 [pid 5075] umount2("./17", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5075] openat(AT_FDCWD, "./17", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5190] close(5 [pid 5076] umount2("./16/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] <... openat resumed>) = 3 [pid 5190] <... close resumed>) = 0 [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] newfstatat(3, "", [pid 5076] newfstatat(AT_FDCWD, "./16/bus", [pid 5078] close(3 [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5078] <... close resumed>) = 0 [pid 5076] umount2("./16/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5078] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5191] <... openat resumed>) = 4 [pid 5076] openat(AT_FDCWD, "./16/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5191] ioctl(4, LOOP_SET_FD, 3 [pid 5076] <... openat resumed>) = 4 [pid 5075] getdents64(3, [pid 5076] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5076] getdents64(4, 0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5076] getdents64(4, 0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5076] close(4) = 0 [pid 5076] rmdir("./16/bus") = 0 [pid 5076] umount2("./16/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5078] <... clone resumed>, child_tidptr=0x555555c35650) = 5193 [pid 5076] newfstatat(AT_FDCWD, "./16/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5076] unlink("./16/binderfs") = 0 [pid 5076] getdents64(3, 0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5076] close(3) = 0 [pid 5076] rmdir("./16") = 0 [pid 5076] mkdir("./17", 0777) = 0 [pid 5075] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5076] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 ./strace-static-x86_64: Process 5193 attached [pid 5076] ioctl(3, LOOP_CLR_FD [pid 5193] set_robust_list(0x555555c35660, 24) = 0 [pid 5192] close(3 [pid 5193] chdir("./18" [pid 5192] <... close resumed>) = 0 [pid 5192] close(4 [pid 5075] umount2("./17/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5192] <... close resumed>) = 0 [pid 5192] mkdir("./bus", 0777) = 0 [pid 5193] <... chdir resumed>) = 0 [pid 5193] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5193] setpgid(0, 0) = 0 [pid 5193] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5192] mount("/dev/loop2", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5193] <... openat resumed>) = 3 [pid 5190] creat("./file1", 000 [pid 5193] write(3, "1000", 4) = 4 [pid 5193] close(3) = 0 [pid 5193] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5075] <... umount2 resumed>) = 0 [pid 5193] memfd_create("syzkaller", 0 [pid 5075] umount2("./17/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5191] <... ioctl resumed>) = 0 [pid 5193] <... memfd_create resumed>) = 3 [pid 5193] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5191] close(3 [pid 5190] <... creat resumed>) = 5 [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5191] <... close resumed>) = 0 [pid 5190] exit_group(0 [ 123.896749][ T5192] loop2: detected capacity change from 0 to 1024 [ 123.915716][ T5191] loop4: detected capacity change from 0 to 1024 [pid 5075] newfstatat(AT_FDCWD, "./17/bus", [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 5191] close(4 [pid 5190] <... exit_group resumed>) = ? [pid 5191] <... close resumed>) = 0 [pid 5191] mkdir("./bus", 0777 [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5191] <... mkdir resumed>) = 0 [pid 5191] mount("/dev/loop4", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5192] <... mount resumed>) = 0 [pid 5075] umount2("./17/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5192] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY) = 3 [pid 5190] +++ exited with 0 +++ [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5192] chdir("./bus" [pid 5075] openat(AT_FDCWD, "./17/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5081] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5190, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 5076] <... ioctl resumed>) = 0 [pid 5075] <... openat resumed>) = 4 [pid 5081] umount2("./17", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] newfstatat(4, "", [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5081] openat(AT_FDCWD, "./17", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5192] <... chdir resumed>) = 0 [pid 5081] <... openat resumed>) = 3 [pid 5075] getdents64(4, [pid 5081] newfstatat(3, "", [pid 5192] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5075] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5192] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5075] getdents64(4, [pid 5192] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5081] getdents64(3, [pid 5075] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5081] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5075] close(4 [pid 5192] <... symlink resumed>) = 0 [pid 5081] umount2("./17/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] <... close resumed>) = 0 [pid 5192] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5075] rmdir("./17/bus" [pid 5191] <... mount resumed>) = 0 [pid 5075] <... rmdir resumed>) = 0 [pid 5191] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5075] umount2("./17/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5191] <... openat resumed>) = 3 [pid 5076] close(3 [pid 5191] chdir("./bus" [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5193] <... write resumed>) = 524288 [pid 5191] <... chdir resumed>) = 0 [pid 5192] <... creat resumed>) = 4 [pid 5076] <... close resumed>) = 0 [pid 5075] newfstatat(AT_FDCWD, "./17/binderfs", [pid 5191] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5192] rename("./bus", "./file2" [pid 5076] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5191] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5075] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5193] munmap(0x7f8a3a600000, 138412032 [pid 5191] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5192] <... rename resumed>) = -1 EEXIST (File exists) [pid 5075] unlink("./17/binderfs" [pid 5193] <... munmap resumed>) = 0 [pid 5192] memfd_create("syzkaller", 0 [pid 5081] <... umount2 resumed>) = 0 [pid 5192] <... memfd_create resumed>) = 5 [pid 5076] <... clone resumed>, child_tidptr=0x555555c35650) = 5194 [pid 5192] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5075] <... unlink resumed>) = 0 [pid 5075] getdents64(3, [pid 5193] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5075] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5193] <... openat resumed>) = 4 [pid 5191] <... symlink resumed>) = 0 [pid 5075] close(3) = 0 ./strace-static-x86_64: Process 5194 attached [pid 5075] rmdir("./17" [pid 5194] set_robust_list(0x555555c35660, 24) = 0 [pid 5193] ioctl(4, LOOP_SET_FD, 3 [pid 5194] chdir("./17" [pid 5191] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5192] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5075] <... rmdir resumed>) = 0 [pid 5194] <... chdir resumed>) = 0 [pid 5081] umount2("./17/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] mkdir("./18", 0777 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5081] newfstatat(AT_FDCWD, "./17/bus", [pid 5194] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5194] <... prctl resumed>) = 0 [pid 5081] umount2("./17/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5194] setpgid(0, 0 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5194] <... setpgid resumed>) = 0 [pid 5081] openat(AT_FDCWD, "./17/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5075] <... mkdir resumed>) = 0 [pid 5194] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5081] <... openat resumed>) = 4 [pid 5194] <... openat resumed>) = 3 [pid 5081] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5075] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5081] getdents64(4, 0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5081] getdents64(4, 0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5081] close(4) = 0 [pid 5194] write(3, "1000", 4 [pid 5081] rmdir("./17/bus") = 0 [pid 5075] <... openat resumed>) = 3 [pid 5194] <... write resumed>) = 4 [pid 5194] close(3) = 0 [pid 5075] ioctl(3, LOOP_CLR_FD [pid 5194] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5191] <... creat resumed>) = 4 [pid 5192] <... write resumed>) = 524288 [pid 5081] umount2("./17/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5194] memfd_create("syzkaller", 0 [pid 5193] <... ioctl resumed>) = 0 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5191] rename("./bus", "./file2" [pid 5193] close(3) = 0 [pid 5193] close(4 [pid 5081] newfstatat(AT_FDCWD, "./17/binderfs", [pid 5193] <... close resumed>) = 0 [pid 5081] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5193] mkdir("./bus", 0777 [pid 5081] unlink("./17/binderfs" [pid 5194] <... memfd_create resumed>) = 3 [pid 5193] <... mkdir resumed>) = 0 [pid 5081] <... unlink resumed>) = 0 [pid 5194] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5081] getdents64(3, [pid 5194] <... mmap resumed>) = 0x7f8a3a600000 [pid 5081] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5081] close(3 [pid 5192] munmap(0x7f8a3a600000, 138412032 [pid 5081] <... close resumed>) = 0 [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 5193] mount("/dev/loop3", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5192] <... munmap resumed>) = 0 [pid 5081] rmdir("./17" [pid 5191] <... rename resumed>) = -1 EEXIST (File exists) [pid 5081] <... rmdir resumed>) = 0 [pid 5191] memfd_create("syzkaller", 0) = 5 [pid 5192] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5081] mkdir("./18", 0777 [pid 5191] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5192] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5081] <... mkdir resumed>) = 0 [pid 5192] close(5 [pid 5191] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5081] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [ 124.001007][ T5193] loop3: detected capacity change from 0 to 1024 [pid 5081] ioctl(3, LOOP_CLR_FD [pid 5194] <... write resumed>) = 524288 [pid 5194] munmap(0x7f8a3a600000, 138412032 [pid 5193] <... mount resumed>) = 0 [pid 5191] <... write resumed>) = 524288 [pid 5192] <... close resumed>) = 0 [pid 5081] <... ioctl resumed>) = 0 [pid 5193] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5194] <... munmap resumed>) = 0 [pid 5193] <... openat resumed>) = 3 [pid 5193] chdir("./bus" [pid 5191] munmap(0x7f8a3a600000, 138412032 [pid 5192] creat("./file1", 000 [pid 5193] <... chdir resumed>) = 0 [pid 5193] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5191] <... munmap resumed>) = 0 [pid 5194] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 5191] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5075] <... ioctl resumed>) = 0 [pid 5193] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5194] ioctl(4, LOOP_SET_FD, 3 [pid 5193] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5191] close(5 [pid 5193] <... symlink resumed>) = 0 [pid 5191] <... close resumed>) = 0 [pid 5081] close(3 [pid 5193] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5081] <... close resumed>) = 0 [pid 5075] close(3 [pid 5081] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5075] <... close resumed>) = 0 [pid 5192] <... creat resumed>) = 5 [pid 5075] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5192] exit_group(0) = ? [pid 5193] <... creat resumed>) = 4 [pid 5193] rename("./bus", "./file2") = -1 EEXIST (File exists) ./strace-static-x86_64: Process 5195 attached [pid 5193] memfd_create("syzkaller", 0 [pid 5075] <... clone resumed>, child_tidptr=0x555555c35650) = 5195 [pid 5195] set_robust_list(0x555555c35660, 24 [pid 5192] +++ exited with 0 +++ [pid 5081] <... clone resumed>, child_tidptr=0x555555c35650) = 5196 ./strace-static-x86_64: Process 5196 attached [pid 5195] <... set_robust_list resumed>) = 0 [pid 5193] <... memfd_create resumed>) = 5 [pid 5191] creat("./file1", 000 [pid 5195] chdir("./18" [pid 5193] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5077] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5192, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5196] set_robust_list(0x555555c35660, 24 [pid 5195] <... chdir resumed>) = 0 [pid 5196] <... set_robust_list resumed>) = 0 [pid 5193] <... mmap resumed>) = 0x7f8a3a600000 [pid 5195] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5196] chdir("./18" [pid 5193] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5077] umount2("./17", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5195] <... prctl resumed>) = 0 [pid 5196] <... chdir resumed>) = 0 [pid 5196] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5196] setpgid(0, 0 [pid 5195] setpgid(0, 0 [pid 5196] <... setpgid resumed>) = 0 [pid 5196] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5195] <... setpgid resumed>) = 0 [pid 5195] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5196] <... openat resumed>) = 3 [pid 5195] <... openat resumed>) = 3 [pid 5196] write(3, "1000", 4 [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5196] <... write resumed>) = 4 [pid 5077] openat(AT_FDCWD, "./17", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5196] close(3) = 0 [pid 5196] symlink("/dev/binderfs", "./binderfs" [pid 5077] <... openat resumed>) = 3 [pid 5077] newfstatat(3, "", [pid 5195] write(3, "1000", 4) = 4 [pid 5195] close(3) = 0 [pid 5195] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5196] <... symlink resumed>) = 0 [pid 5196] memfd_create("syzkaller", 0) = 3 [pid 5196] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [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 5195] memfd_create("syzkaller", 0 [pid 5194] <... ioctl resumed>) = 0 [pid 5193] <... write resumed>) = 524288 [pid 5191] <... creat resumed>) = 5 [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5195] <... memfd_create resumed>) = 3 [pid 5191] exit_group(0 [pid 5077] getdents64(3, [pid 5195] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5191] <... exit_group resumed>) = ? [pid 5195] <... mmap resumed>) = 0x7f8a3a600000 [pid 5191] +++ exited with 0 +++ [pid 5077] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [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] close(3 [pid 5193] munmap(0x7f8a3a600000, 138412032 [pid 5079] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5191, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5077] umount2("./17/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5194] <... close resumed>) = 0 [pid 5193] <... munmap resumed>) = 0 [pid 5194] close(4 [pid 5193] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5079] umount2("./17", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5194] <... close resumed>) = 0 [pid 5193] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5194] mkdir("./bus", 0777 [pid 5193] close(5) = 0 [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 124.131621][ T5194] loop1: detected capacity change from 0 to 1024 [pid 5079] openat(AT_FDCWD, "./17", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5194] <... mkdir resumed>) = 0 [pid 5079] <... openat resumed>) = 3 [pid 5077] <... umount2 resumed>) = 0 [pid 5079] newfstatat(3, "", [pid 5195] <... write resumed>) = 524288 [pid 5196] <... write resumed>) = 524288 [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5194] mount("/dev/loop1", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5079] getdents64(3, [pid 5077] umount2("./17/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5196] munmap(0x7f8a3a600000, 138412032 [pid 5079] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5077] newfstatat(AT_FDCWD, "./17/bus", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5077] umount2("./17/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5196] <... munmap resumed>) = 0 [pid 5079] umount2("./17/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] openat(AT_FDCWD, "./17/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5077] newfstatat(4, "", [pid 5196] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5193] creat("./file1", 000 [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5196] <... openat resumed>) = 4 [pid 5194] <... mount resumed>) = 0 [pid 5077] getdents64(4, [pid 5194] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5077] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5194] <... openat resumed>) = 3 [pid 5194] chdir("./bus" [pid 5077] getdents64(4, 0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5077] close(4 [pid 5194] <... chdir resumed>) = 0 [pid 5194] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5077] <... close resumed>) = 0 [pid 5194] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5077] rmdir("./17/bus" [pid 5079] <... umount2 resumed>) = 0 [pid 5196] ioctl(4, LOOP_SET_FD, 3 [pid 5079] umount2("./17/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] <... rmdir resumed>) = 0 [pid 5193] <... creat resumed>) = 5 [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5195] munmap(0x7f8a3a600000, 138412032 [pid 5194] <... symlink resumed>) = 0 [pid 5193] exit_group(0 [pid 5195] <... munmap resumed>) = 0 [pid 5193] <... exit_group resumed>) = ? [pid 5194] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5193] +++ exited with 0 +++ [pid 5079] newfstatat(AT_FDCWD, "./17/bus", [pid 5195] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5078] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5193, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5079] umount2("./17/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] umount2("./17/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5195] <... openat resumed>) = 4 [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5195] ioctl(4, LOOP_SET_FD, 3 [pid 5079] openat(AT_FDCWD, "./17/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5077] newfstatat(AT_FDCWD, "./17/binderfs", [pid 5195] <... ioctl resumed>) = 0 [pid 5079] <... openat resumed>) = 4 [pid 5077] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5078] umount2("./18", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] newfstatat(4, "", [pid 5077] unlink("./17/binderfs") = 0 [pid 5194] <... creat resumed>) = 4 [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] getdents64(3, [pid 5194] rename("./bus", "./file2" [pid 5079] getdents64(4, [pid 5078] openat(AT_FDCWD, "./18", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5077] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5195] close(3 [pid 5196] <... ioctl resumed>) = 0 [pid 5194] <... rename resumed>) = -1 EEXIST (File exists) [pid 5079] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5078] <... openat resumed>) = 3 [pid 5077] close(3 [pid 5195] <... close resumed>) = 0 [pid 5196] close(3 [pid 5079] getdents64(4, [pid 5078] newfstatat(3, "", [pid 5077] <... close resumed>) = 0 [pid 5195] close(4 [pid 5196] <... close resumed>) = 0 [pid 5079] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5077] rmdir("./17" [pid 5196] close(4 [pid 5194] memfd_create("syzkaller", 0 [pid 5196] <... close resumed>) = 0 [pid 5194] <... memfd_create resumed>) = 5 [pid 5077] <... rmdir resumed>) = 0 [pid 5196] mkdir("./bus", 0777 [pid 5194] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5077] mkdir("./18", 0777 [pid 5196] <... mkdir resumed>) = 0 [pid 5194] <... mmap resumed>) = 0x7f8a3a600000 [pid 5077] <... mkdir resumed>) = 0 [pid 5195] <... close resumed>) = 0 [pid 5196] mount("/dev/loop5", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5079] close(4 [pid 5078] getdents64(3, [pid 5077] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5079] <... close resumed>) = 0 [pid 5078] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5077] <... openat resumed>) = 3 [pid 5079] rmdir("./17/bus" [pid 5078] umount2("./18/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] ioctl(3, LOOP_CLR_FD [pid 5079] <... rmdir resumed>) = 0 [pid 5195] mkdir("./bus", 0777 [pid 5079] umount2("./17/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5195] <... mkdir resumed>) = 0 [pid 5079] newfstatat(AT_FDCWD, "./17/binderfs", [pid 5195] mount("/dev/loop0", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5079] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5079] unlink("./17/binderfs") = 0 [pid 5079] getdents64(3, 0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5079] close(3) = 0 [pid 5079] rmdir("./17") = 0 [pid 5079] mkdir("./18", 0777 [pid 5194] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5079] <... mkdir resumed>) = 0 [pid 5078] <... umount2 resumed>) = 0 [pid 5079] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5079] ioctl(3, LOOP_CLR_FD [pid 5078] umount2("./18/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5078] newfstatat(AT_FDCWD, "./18/bus", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 124.228540][ T5196] loop5: detected capacity change from 0 to 1024 [ 124.247708][ T5195] loop0: detected capacity change from 0 to 1024 [pid 5078] umount2("./18/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5195] <... mount resumed>) = 0 [pid 5195] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY) = 3 [pid 5195] chdir("./bus") = 0 [pid 5195] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5078] openat(AT_FDCWD, "./18/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5195] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5078] <... openat resumed>) = 4 [pid 5078] newfstatat(4, "", [pid 5196] <... mount resumed>) = 0 [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5196] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5078] getdents64(4, 0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5195] <... symlink resumed>) = 0 [pid 5196] <... openat resumed>) = 3 [pid 5194] <... write resumed>) = 524288 [pid 5078] getdents64(4, 0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5078] close(4 [pid 5196] chdir("./bus" [pid 5194] munmap(0x7f8a3a600000, 138412032 [pid 5196] <... chdir resumed>) = 0 [pid 5078] <... close resumed>) = 0 [pid 5078] rmdir("./18/bus" [pid 5194] <... munmap resumed>) = 0 [pid 5078] <... rmdir resumed>) = 0 [pid 5195] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5196] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5194] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5196] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5194] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5078] umount2("./18/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5196] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5194] close(5 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5078] newfstatat(AT_FDCWD, "./18/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5196] <... symlink resumed>) = 0 [pid 5078] unlink("./18/binderfs" [pid 5196] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5194] <... close resumed>) = 0 [pid 5077] <... ioctl resumed>) = 0 [pid 5078] <... unlink resumed>) = 0 [pid 5195] <... creat resumed>) = 4 [pid 5196] <... creat resumed>) = 4 [pid 5079] <... ioctl resumed>) = 0 [pid 5078] getdents64(3, [pid 5195] rename("./bus", "./file2" [pid 5196] rename("./bus", "./file2" [pid 5078] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5078] close(3) = 0 [pid 5078] rmdir("./18") = 0 [pid 5195] <... rename resumed>) = -1 EEXIST (File exists) [pid 5078] mkdir("./19", 0777) = 0 [pid 5195] memfd_create("syzkaller", 0) = 5 [pid 5078] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5195] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5194] creat("./file1", 000 [pid 5196] <... rename resumed>) = -1 EEXIST (File exists) [pid 5195] <... mmap resumed>) = 0x7f8a3a600000 [pid 5078] <... openat resumed>) = 3 [pid 5078] ioctl(3, LOOP_CLR_FD [pid 5077] close(3) = 0 [pid 5077] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5079] close(3) = 0 [pid 5079] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5196] memfd_create("syzkaller", 0 [pid 5077] <... clone resumed>, child_tidptr=0x555555c35650) = 5197 ./strace-static-x86_64: Process 5197 attached [pid 5195] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 resumed>) = 5 [pid 5196] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5197] set_robust_list(0x555555c35660, 24 [pid 5196] <... mmap resumed>) = 0x7f8a3a600000 [pid 5197] <... set_robust_list resumed>) = 0 [pid 5197] chdir("./18"./strace-static-x86_64: Process 5198 attached ) = 0 [pid 5079] <... clone resumed>, child_tidptr=0x555555c35650) = 5198 [pid 5198] set_robust_list(0x555555c35660, 24 [pid 5197] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5196] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... creat resumed>) = 5 [pid 5197] <... prctl resumed>) = 0 [pid 5198] <... set_robust_list resumed>) = 0 [pid 5198] chdir("./18" [pid 5197] setpgid(0, 0 [pid 5195] <... write resumed>) = 524288 [pid 5194] exit_group(0 [pid 5197] <... setpgid resumed>) = 0 [pid 5198] <... chdir resumed>) = 0 [pid 5197] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5198] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5197] <... openat resumed>) = 3 [pid 5198] <... prctl resumed>) = 0 [pid 5197] write(3, "1000", 4 [pid 5198] setpgid(0, 0 [pid 5197] <... write resumed>) = 4 [pid 5198] <... setpgid resumed>) = 0 [pid 5197] close(3 [pid 5198] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5197] <... close resumed>) = 0 [pid 5197] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5194] <... exit_group resumed>) = ? [pid 5198] <... openat resumed>) = 3 [pid 5197] memfd_create("syzkaller", 0 [pid 5198] write(3, "1000", 4 [pid 5197] <... memfd_create resumed>) = 3 [pid 5198] <... write resumed>) = 4 [pid 5197] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5198] close(3) = 0 [pid 5197] <... mmap resumed>) = 0x7f8a3a600000 [pid 5198] symlink("/dev/binderfs", "./binderfs" [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 5078] <... ioctl resumed>) = 0 [pid 5198] <... symlink resumed>) = 0 [pid 5194] +++ exited with 0 +++ [pid 5076] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5194, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5198] memfd_create("syzkaller", 0) = 3 [pid 5076] umount2("./17", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5195] munmap(0x7f8a3a600000, 138412032 [pid 5196] <... write resumed>) = 524288 [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5196] munmap(0x7f8a3a600000, 138412032 [pid 5198] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5195] <... munmap resumed>) = 0 [pid 5076] openat(AT_FDCWD, "./17", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5198] <... mmap resumed>) = 0x7f8a3a600000 [pid 5197] <... write resumed>) = 524288 [pid 5196] <... munmap resumed>) = 0 [pid 5076] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [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 5195] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5196] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5076] getdents64(3, [pid 5195] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5076] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5196] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5195] close(5 [pid 5196] close(5 [pid 5076] umount2("./17/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5078] close(3) = 0 [pid 5078] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5196] <... close resumed>) = 0 [pid 5078] <... clone resumed>, child_tidptr=0x555555c35650) = 5199 ./strace-static-x86_64: Process 5199 attached [pid 5199] set_robust_list(0x555555c35660, 24) = 0 [pid 5196] creat("./file1", 000 [pid 5199] chdir("./19" [pid 5195] <... close resumed>) = 0 [pid 5199] <... chdir resumed>) = 0 [pid 5199] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5198] <... write resumed>) = 524288 [pid 5197] munmap(0x7f8a3a600000, 138412032 [pid 5195] creat("./file1", 000 [pid 5199] <... prctl resumed>) = 0 [pid 5076] <... umount2 resumed>) = 0 [pid 5076] umount2("./17/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5199] setpgid(0, 0 [pid 5076] newfstatat(AT_FDCWD, "./17/bus", [pid 5199] <... setpgid resumed>) = 0 [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5076] umount2("./17/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5199] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5076] openat(AT_FDCWD, "./17/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5199] <... openat resumed>) = 3 [pid 5197] <... munmap resumed>) = 0 [pid 5196] <... creat resumed>) = 5 [pid 5076] <... openat resumed>) = 4 [pid 5196] exit_group(0) = ? [pid 5076] newfstatat(4, "", [pid 5199] write(3, "1000", 4 [pid 5197] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5195] <... creat resumed>) = 5 [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5076] getdents64(4, [pid 5197] <... openat resumed>) = 4 [pid 5076] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5076] getdents64(4, [pid 5195] exit_group(0 [pid 5199] <... write resumed>) = 4 [pid 5197] ioctl(4, LOOP_SET_FD, 3 [pid 5076] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5076] close(4) = 0 [pid 5076] rmdir("./17/bus") = 0 [pid 5196] +++ exited with 0 +++ [pid 5198] munmap(0x7f8a3a600000, 138412032 [pid 5081] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5196, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5198] <... munmap resumed>) = 0 [pid 5076] umount2("./17/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5081] umount2("./18", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5081] openat(AT_FDCWD, "./18", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5081] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5081] getdents64(3, 0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5076] newfstatat(AT_FDCWD, "./17/binderfs", [pid 5199] close(3 [pid 5081] umount2("./18/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5198] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5076] unlink("./17/binderfs" [pid 5199] <... close resumed>) = 0 [pid 5198] <... openat resumed>) = 4 [pid 5197] <... ioctl resumed>) = 0 [pid 5195] <... exit_group resumed>) = ? [pid 5081] <... umount2 resumed>) = 0 [pid 5076] <... unlink resumed>) = 0 [pid 5198] ioctl(4, LOOP_SET_FD, 3 [pid 5076] getdents64(3, [pid 5199] symlink("/dev/binderfs", "./binderfs" [pid 5197] close(3 [pid 5195] +++ exited with 0 +++ [pid 5081] umount2("./18/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5199] <... symlink resumed>) = 0 [pid 5197] <... close resumed>) = 0 [pid 5197] close(4 [pid 5075] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5195, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5197] <... close resumed>) = 0 [pid 5075] restart_syscall(<... resuming interrupted clone ...> [pid 5199] memfd_create("syzkaller", 0 [pid 5197] mkdir("./bus", 0777 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] <... restart_syscall resumed>) = 0 [pid 5197] <... mkdir resumed>) = 0 [pid 5075] umount2("./18", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5081] newfstatat(AT_FDCWD, "./18/bus", [pid 5075] openat(AT_FDCWD, "./18", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5197] mount("/dev/loop2", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5075] <... openat resumed>) = 3 [pid 5199] <... memfd_create resumed>) = 3 [pid 5075] newfstatat(3, "", [pid 5199] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5081] umount2("./18/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] close(3 [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5075] getdents64(3, [pid 5199] <... mmap resumed>) = 0x7f8a3a600000 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5075] umount2("./18/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5081] openat(AT_FDCWD, "./18/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5076] <... close resumed>) = 0 [pid 5081] <... openat resumed>) = 4 [pid 5198] <... ioctl resumed>) = 0 [pid 5076] rmdir("./17" [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 5198] close(3 [pid 5081] newfstatat(4, "", [pid 5198] <... close resumed>) = 0 [pid 5076] <... rmdir resumed>) = 0 [pid 5198] close(4 [pid 5076] mkdir("./18", 0777 [pid 5198] <... close resumed>) = 0 [pid 5198] mkdir("./bus", 0777 [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5076] <... mkdir resumed>) = 0 [pid 5076] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5081] getdents64(4, [pid 5076] <... openat resumed>) = 3 [pid 5198] <... mkdir resumed>) = 0 [pid 5081] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5076] ioctl(3, LOOP_CLR_FD [pid 5081] getdents64(4, [pid 5198] mount("/dev/loop4", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5081] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5081] close(4) = 0 [pid 5081] rmdir("./18/bus") = 0 [pid 5197] <... mount resumed>) = 0 [pid 5081] umount2("./18/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] <... umount2 resumed>) = 0 [ 124.492020][ T5197] loop2: detected capacity change from 0 to 1024 [ 124.508936][ T5198] loop4: detected capacity change from 0 to 1024 [pid 5197] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5199] <... write resumed>) = 524288 [pid 5197] <... openat resumed>) = 3 [pid 5081] newfstatat(AT_FDCWD, "./18/binderfs", [pid 5075] umount2("./18/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5075] newfstatat(AT_FDCWD, "./18/bus", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5075] umount2("./18/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5075] openat(AT_FDCWD, "./18/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5081] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5198] <... mount resumed>) = 0 [pid 5075] newfstatat(4, "", [pid 5198] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY) = 3 [pid 5197] chdir("./bus" [pid 5081] unlink("./18/binderfs" [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5198] chdir("./bus") = 0 [pid 5197] <... chdir resumed>) = 0 [pid 5081] <... unlink resumed>) = 0 [pid 5075] getdents64(4, [pid 5198] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5197] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5075] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5198] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5197] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5081] getdents64(3, [pid 5075] getdents64(4, [pid 5197] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5081] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5075] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5081] close(3 [pid 5075] close(4 [pid 5198] <... symlink resumed>) = 0 [pid 5197] <... symlink resumed>) = 0 [pid 5081] <... close resumed>) = 0 [pid 5075] <... close resumed>) = 0 [pid 5198] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5197] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5081] rmdir("./18" [pid 5075] rmdir("./18/bus" [pid 5081] <... rmdir resumed>) = 0 [pid 5075] <... rmdir resumed>) = 0 [pid 5081] mkdir("./19", 0777 [pid 5075] umount2("./18/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5081] <... mkdir resumed>) = 0 [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] newfstatat(AT_FDCWD, "./18/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5075] unlink("./18/binderfs" [pid 5081] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5075] <... unlink resumed>) = 0 [pid 5075] getdents64(3, 0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5075] close(3 [pid 5199] munmap(0x7f8a3a600000, 138412032 [pid 5075] <... close resumed>) = 0 [pid 5199] <... munmap resumed>) = 0 [pid 5081] <... openat resumed>) = 3 [pid 5075] rmdir("./18" [pid 5198] <... creat resumed>) = 4 [pid 5198] rename("./bus", "./file2" [pid 5081] ioctl(3, LOOP_CLR_FD [pid 5198] <... rename resumed>) = -1 EEXIST (File exists) [pid 5197] <... creat resumed>) = 4 [pid 5075] <... rmdir resumed>) = 0 [pid 5198] memfd_create("syzkaller", 0 [pid 5199] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5197] rename("./bus", "./file2" [pid 5075] mkdir("./19", 0777 [pid 5198] <... memfd_create resumed>) = 5 [pid 5197] <... rename resumed>) = -1 EEXIST (File exists) [pid 5076] <... ioctl resumed>) = 0 [pid 5199] <... openat resumed>) = 4 [pid 5198] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5197] memfd_create("syzkaller", 0 [pid 5076] close(3 [pid 5075] <... mkdir resumed>) = 0 [pid 5199] ioctl(4, LOOP_SET_FD, 3 [pid 5198] <... mmap resumed>) = 0x7f8a3a600000 [pid 5197] <... memfd_create resumed>) = 5 [pid 5076] <... close resumed>) = 0 [pid 5076] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5075] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5197] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5075] ioctl(3, LOOP_CLR_FD [pid 5197] <... mmap resumed>) = 0x7f8a3a600000 ./strace-static-x86_64: Process 5200 attached [pid 5198] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5197] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5076] <... clone resumed>, child_tidptr=0x555555c35650) = 5200 [pid 5200] set_robust_list(0x555555c35660, 24) = 0 [pid 5199] <... ioctl resumed>) = 0 [pid 5200] chdir("./18" [pid 5199] close(3) = 0 [pid 5199] close(4) = 0 [pid 5199] mkdir("./bus", 0777) = 0 [pid 5199] mount("/dev/loop3", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5197] <... write resumed>) = 524288 [pid 5198] <... write resumed>) = 524288 [pid 5200] <... chdir resumed>) = 0 [pid 5200] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [ 124.604205][ T5199] loop3: detected capacity change from 0 to 1024 [pid 5200] setpgid(0, 0 [pid 5198] munmap(0x7f8a3a600000, 138412032 [pid 5197] munmap(0x7f8a3a600000, 138412032 [pid 5200] <... setpgid resumed>) = 0 [pid 5198] <... munmap resumed>) = 0 [pid 5197] <... munmap resumed>) = 0 [pid 5200] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5198] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5197] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5200] <... openat resumed>) = 3 [pid 5198] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5197] close(5 [pid 5081] <... ioctl resumed>) = 0 [pid 5075] <... ioctl resumed>) = 0 [pid 5200] write(3, "1000", 4 [pid 5198] close(5 [pid 5200] <... write resumed>) = 4 [pid 5081] close(3) = 0 [pid 5075] close(3 [pid 5081] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5075] <... close resumed>) = 0 [pid 5200] close(3 [pid 5199] <... mount resumed>) = 0 [pid 5200] <... close resumed>) = 0 [pid 5199] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5075] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5200] symlink("/dev/binderfs", "./binderfs" [pid 5199] <... openat resumed>) = 3 [pid 5199] chdir("./bus") = 0 [pid 5200] <... symlink resumed>) = 0 [pid 5199] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5199] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5200] memfd_create("syzkaller", 0./strace-static-x86_64: Process 5202 attached ) = 3 [pid 5200] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5081] <... clone resumed>, child_tidptr=0x555555c35650) = 5201 [pid 5202] set_robust_list(0x555555c35660, 24 [pid 5200] <... mmap resumed>) = 0x7f8a3a600000 [pid 5075] <... clone resumed>, child_tidptr=0x555555c35650) = 5202 ./strace-static-x86_64: Process 5201 attached [pid 5202] <... set_robust_list resumed>) = 0 [pid 5201] set_robust_list(0x555555c35660, 24 [pid 5199] <... symlink resumed>) = 0 [pid 5201] <... set_robust_list resumed>) = 0 [pid 5201] chdir("./19" [pid 5202] chdir("./19" [pid 5197] <... close resumed>) = 0 [pid 5202] <... chdir resumed>) = 0 [pid 5199] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5201] <... chdir resumed>) = 0 [pid 5202] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5197] creat("./file1", 000 [pid 5202] <... prctl resumed>) = 0 [pid 5198] <... close resumed>) = 0 [pid 5201] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5202] setpgid(0, 0 [pid 5201] <... prctl resumed>) = 0 [pid 5201] setpgid(0, 0) = 0 [pid 5201] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5202] <... setpgid resumed>) = 0 [pid 5201] <... openat resumed>) = 3 [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 5201] write(3, "1000", 4) = 4 [pid 5202] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5201] close(3) = 0 [pid 5201] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5202] <... openat resumed>) = 3 [pid 5200] <... write resumed>) = 524288 [pid 5198] creat("./file1", 000 [pid 5197] <... creat resumed>) = 5 [pid 5199] <... creat resumed>) = 4 [pid 5197] exit_group(0 [pid 5201] memfd_create("syzkaller", 0 [pid 5199] rename("./bus", "./file2" [pid 5201] <... memfd_create resumed>) = 3 [pid 5202] write(3, "1000", 4 [pid 5197] <... exit_group resumed>) = ? [pid 5201] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5202] <... write resumed>) = 4 [pid 5201] <... mmap resumed>) = 0x7f8a3a600000 [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 5202] close(3 [pid 5197] +++ exited with 0 +++ [pid 5077] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5197, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5199] <... rename resumed>) = -1 EEXIST (File exists) [pid 5202] <... close resumed>) = 0 [pid 5202] symlink("/dev/binderfs", "./binderfs" [pid 5199] memfd_create("syzkaller", 0 [pid 5198] <... creat resumed>) = 5 [pid 5077] umount2("./18", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5202] <... symlink resumed>) = 0 [pid 5198] exit_group(0 [pid 5199] <... memfd_create resumed>) = 5 [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5199] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5198] <... exit_group resumed>) = ? [pid 5077] openat(AT_FDCWD, "./18", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5201] <... write resumed>) = 524288 [pid 5202] memfd_create("syzkaller", 0 [pid 5199] <... mmap resumed>) = 0x7f8a3a600000 [pid 5198] +++ exited with 0 +++ [pid 5077] <... openat resumed>) = 3 [pid 5079] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5198, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5079] umount2("./18", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5202] <... memfd_create resumed>) = 3 [pid 5200] munmap(0x7f8a3a600000, 138412032 [pid 5199] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5079] openat(AT_FDCWD, "./18", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5077] newfstatat(3, "", [pid 5202] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5200] <... munmap resumed>) = 0 [pid 5079] <... openat resumed>) = 3 [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5079] newfstatat(3, "", [pid 5077] getdents64(3, [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5200] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5079] getdents64(3, [pid 5200] <... openat resumed>) = 4 [pid 5079] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5077] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5200] ioctl(4, LOOP_SET_FD, 3 [pid 5079] umount2("./18/bus", MNT_DETACH|UMOUNT_NOFOLLOW [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 5077] umount2("./18/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5201] munmap(0x7f8a3a600000, 138412032) = 0 [pid 5201] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 5201] ioctl(4, LOOP_SET_FD, 3 [pid 5200] <... ioctl resumed>) = 0 [pid 5200] close(3) = 0 [pid 5200] close(4) = 0 [pid 5200] mkdir("./bus", 0777) = 0 [pid 5199] <... write resumed>) = 524288 [pid 5200] mount("/dev/loop1", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5079] <... umount2 resumed>) = 0 [pid 5201] <... ioctl resumed>) = 0 [pid 5202] <... write resumed>) = 524288 [pid 5199] munmap(0x7f8a3a600000, 138412032 [pid 5077] <... umount2 resumed>) = 0 [pid 5201] close(3) = 0 [pid 5201] close(4) = 0 [pid 5201] mkdir("./bus", 0777) = 0 [pid 5199] <... munmap resumed>) = 0 [pid 5077] umount2("./18/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5199] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5077] newfstatat(AT_FDCWD, "./18/bus", [pid 5201] mount("/dev/loop5", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5202] munmap(0x7f8a3a600000, 138412032 [pid 5199] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5079] umount2("./18/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5202] <... munmap resumed>) = 0 [pid 5200] <... mount resumed>) = 0 [pid 5199] close(5 [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5202] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5200] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5079] newfstatat(AT_FDCWD, "./18/bus", [pid 5077] umount2("./18/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5202] <... openat resumed>) = 4 [pid 5200] <... openat resumed>) = 3 [pid 5079] umount2("./18/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5200] chdir("./bus" [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 124.784175][ T5200] loop1: detected capacity change from 0 to 1024 [ 124.802621][ T5201] loop5: detected capacity change from 0 to 1024 [pid 5202] ioctl(4, LOOP_SET_FD, 3 [pid 5200] <... chdir resumed>) = 0 [pid 5079] openat(AT_FDCWD, "./18/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5077] openat(AT_FDCWD, "./18/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5200] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5077] <... openat resumed>) = 4 [pid 5200] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5199] <... close resumed>) = 0 [pid 5079] <... openat resumed>) = 4 [pid 5077] newfstatat(4, "", [pid 5200] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5199] creat("./file1", 000 [pid 5079] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5079] getdents64(4, [pid 5077] getdents64(4, [pid 5079] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5079] getdents64(4, [pid 5077] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5079] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5079] close(4) = 0 [pid 5077] getdents64(4, [pid 5200] <... symlink resumed>) = 0 [pid 5079] rmdir("./18/bus" [pid 5200] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5199] <... creat resumed>) = 5 [pid 5079] <... rmdir resumed>) = 0 [pid 5077] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5199] exit_group(0 [pid 5077] close(4 [pid 5199] <... exit_group resumed>) = ? [pid 5079] umount2("./18/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] <... close resumed>) = 0 [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5079] newfstatat(AT_FDCWD, "./18/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5077] rmdir("./18/bus" [pid 5079] unlink("./18/binderfs") = 0 [pid 5077] <... rmdir resumed>) = 0 [pid 5079] getdents64(3, 0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5079] close(3 [pid 5201] <... mount resumed>) = 0 [pid 5202] <... ioctl resumed>) = 0 [pid 5200] <... creat resumed>) = 4 [pid 5199] +++ exited with 0 +++ [pid 5079] <... close resumed>) = 0 [pid 5077] umount2("./18/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5201] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5200] rename("./bus", "./file2" [pid 5079] rmdir("./18" [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5201] <... openat resumed>) = 3 [pid 5202] close(3 [pid 5077] newfstatat(AT_FDCWD, "./18/binderfs", [pid 5201] chdir("./bus" [pid 5077] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5201] <... chdir resumed>) = 0 [pid 5078] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5199, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5077] unlink("./18/binderfs" [pid 5201] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5078] umount2("./19", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] <... unlink resumed>) = 0 [pid 5202] <... close resumed>) = 0 [pid 5201] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5200] <... rename resumed>) = -1 EEXIST (File exists) [ 124.841217][ T5202] loop0: detected capacity change from 0 to 1024 [pid 5201] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5202] close(4 [pid 5200] memfd_create("syzkaller", 0 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5200] <... memfd_create resumed>) = 5 [pid 5079] <... rmdir resumed>) = 0 [pid 5077] getdents64(3, [pid 5200] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5077] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5202] <... close resumed>) = 0 [pid 5200] <... mmap resumed>) = 0x7f8a3a600000 [pid 5079] mkdir("./19", 0777 [pid 5078] openat(AT_FDCWD, "./19", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5202] mkdir("./bus", 0777 [pid 5078] <... openat resumed>) = 3 [pid 5077] close(3 [pid 5078] newfstatat(3, "", [pid 5077] <... close resumed>) = 0 [pid 5202] <... mkdir resumed>) = 0 [pid 5077] rmdir("./18" [pid 5079] <... mkdir resumed>) = 0 [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5077] <... rmdir resumed>) = 0 [pid 5078] getdents64(3, [pid 5079] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5077] mkdir("./19", 0777 [pid 5202] mount("/dev/loop0", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5078] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5079] <... openat resumed>) = 3 [pid 5078] umount2("./19/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] <... mkdir resumed>) = 0 [pid 5201] <... symlink resumed>) = 0 [pid 5200] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5079] ioctl(3, LOOP_CLR_FD [pid 5077] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5201] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5077] ioctl(3, LOOP_CLR_FD [pid 5202] <... mount resumed>) = 0 [pid 5078] <... umount2 resumed>) = 0 [pid 5202] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY) = 3 [pid 5201] <... creat resumed>) = 4 [pid 5202] chdir("./bus" [pid 5201] rename("./bus", "./file2" [pid 5202] <... chdir resumed>) = 0 [pid 5078] umount2("./19/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5202] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5202] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5202] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5200] <... write resumed>) = 524288 [pid 5200] munmap(0x7f8a3a600000, 138412032) = 0 [pid 5201] <... rename resumed>) = -1 EEXIST (File exists) [pid 5202] <... symlink resumed>) = 0 [pid 5078] newfstatat(AT_FDCWD, "./19/bus", [pid 5201] memfd_create("syzkaller", 0) = 5 [pid 5201] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5201] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5079] <... ioctl resumed>) = 0 [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5200] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5202] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5200] close(5 [pid 5079] close(3 [pid 5078] umount2("./19/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] <... close resumed>) = 0 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5079] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5078] openat(AT_FDCWD, "./19/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY./strace-static-x86_64: Process 5203 attached [pid 5201] <... write resumed>) = 524288 [pid 5202] <... creat resumed>) = 4 [pid 5078] <... openat resumed>) = 4 [pid 5079] <... clone resumed>, child_tidptr=0x555555c35650) = 5203 [pid 5078] newfstatat(4, "", [pid 5203] set_robust_list(0x555555c35660, 24) = 0 [pid 5203] chdir("./19" [pid 5202] rename("./bus", "./file2" [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5077] <... ioctl resumed>) = 0 [pid 5203] <... chdir resumed>) = 0 [pid 5078] getdents64(4, [pid 5203] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5202] <... rename resumed>) = -1 EEXIST (File exists) [pid 5078] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5202] memfd_create("syzkaller", 0 [pid 5203] <... prctl resumed>) = 0 [pid 5078] getdents64(4, 0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5078] close(4 [pid 5203] setpgid(0, 0 [pid 5078] <... close resumed>) = 0 [pid 5203] <... setpgid resumed>) = 0 [pid 5078] rmdir("./19/bus") = 0 [pid 5078] umount2("./19/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5203] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5203] <... openat resumed>) = 3 [pid 5202] <... memfd_create resumed>) = 5 [pid 5078] newfstatat(AT_FDCWD, "./19/binderfs", [pid 5077] close(3 [pid 5203] write(3, "1000", 4 [pid 5202] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5078] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5203] <... write resumed>) = 4 [pid 5078] unlink("./19/binderfs" [pid 5077] <... close resumed>) = 0 [pid 5077] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5203] close(3 [pid 5202] <... mmap resumed>) = 0x7f8a3a600000 [pid 5078] <... unlink resumed>) = 0 [pid 5202] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5200] <... close resumed>) = 0 [pid 5078] getdents64(3, 0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5200] creat("./file1", 000 [pid 5077] <... clone resumed>, child_tidptr=0x555555c35650) = 5204 ./strace-static-x86_64: Process 5204 attached [pid 5203] <... close resumed>) = 0 [pid 5078] close(3 [pid 5204] set_robust_list(0x555555c35660, 24 [pid 5203] symlink("/dev/binderfs", "./binderfs" [pid 5201] munmap(0x7f8a3a600000, 138412032 [pid 5202] <... write resumed>) = 524288 [pid 5078] <... close resumed>) = 0 [pid 5204] <... set_robust_list resumed>) = 0 [pid 5204] chdir("./19" [pid 5203] <... symlink resumed>) = 0 [pid 5201] <... munmap resumed>) = 0 [pid 5078] rmdir("./19" [pid 5204] <... chdir resumed>) = 0 [pid 5201] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5078] <... rmdir resumed>) = 0 [pid 5200] <... creat resumed>) = 5 [pid 5204] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5203] memfd_create("syzkaller", 0 [pid 5200] exit_group(0 [pid 5078] mkdir("./20", 0777 [pid 5200] <... exit_group resumed>) = ? [pid 5204] <... prctl resumed>) = 0 [pid 5203] <... memfd_create resumed>) = 3 [pid 5201] close(5 [pid 5202] munmap(0x7f8a3a600000, 138412032 [pid 5200] +++ exited with 0 +++ [pid 5078] <... mkdir resumed>) = 0 [pid 5204] setpgid(0, 0 [pid 5203] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5078] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5204] <... setpgid resumed>) = 0 [pid 5203] <... mmap resumed>) = 0x7f8a3a600000 [pid 5201] <... close resumed>) = 0 [pid 5202] <... munmap resumed>) = 0 [pid 5078] <... openat resumed>) = 3 [pid 5078] ioctl(3, LOOP_CLR_FD [pid 5076] --- 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 5076] umount2("./18", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5076] openat(AT_FDCWD, "./18", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5076] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5204] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5202] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5076] getdents64(3, 0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5076] umount2("./18/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5202] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5201] creat("./file1", 000 [pid 5202] close(5 [pid 5201] <... creat resumed>) = 5 [pid 5201] exit_group(0 [pid 5204] <... openat resumed>) = 3 [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 5201] <... exit_group resumed>) = ? [pid 5204] write(3, "1000", 4) = 4 [pid 5204] close(3) = 0 [pid 5204] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5076] <... umount2 resumed>) = 0 [pid 5201] +++ exited with 0 +++ [pid 5076] umount2("./18/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5076] newfstatat(AT_FDCWD, "./18/bus", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5076] umount2("./18/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5204] memfd_create("syzkaller", 0 [pid 5203] <... write resumed>) = 524288 [pid 5202] <... close resumed>) = 0 [pid 5081] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5201, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5078] <... ioctl resumed>) = 0 [pid 5081] umount2("./19", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5203] munmap(0x7f8a3a600000, 138412032 [pid 5081] openat(AT_FDCWD, "./19", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5081] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5204] <... memfd_create resumed>) = 3 [pid 5202] creat("./file1", 000 [pid 5203] <... munmap resumed>) = 0 [pid 5081] getdents64(3, 0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5081] umount2("./19/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5204] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5203] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5202] <... creat resumed>) = 5 [pid 5076] openat(AT_FDCWD, "./18/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5204] <... mmap resumed>) = 0x7f8a3a600000 [pid 5203] <... openat resumed>) = 4 [pid 5202] exit_group(0 [pid 5076] <... openat resumed>) = 4 [pid 5203] ioctl(4, LOOP_SET_FD, 3 [pid 5078] close(3 [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] <... exit_group resumed>) = ? [pid 5078] <... close resumed>) = 0 [pid 5076] newfstatat(4, "", [pid 5078] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5202] +++ exited with 0 +++ [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5076] getdents64(4, [pid 5075] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5202, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5076] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5076] getdents64(4, 0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5076] close(4) = 0 [pid 5075] umount2("./19", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5078] <... clone resumed>, child_tidptr=0x555555c35650) = 5205 [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) ./strace-static-x86_64: Process 5205 attached [pid 5075] openat(AT_FDCWD, "./19", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5205] set_robust_list(0x555555c35660, 24 [pid 5076] rmdir("./18/bus" [pid 5075] <... openat resumed>) = 3 [pid 5075] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5075] getdents64(3, [pid 5081] <... umount2 resumed>) = 0 [pid 5075] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5205] <... set_robust_list resumed>) = 0 [pid 5076] <... rmdir resumed>) = 0 [pid 5075] umount2("./19/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5205] chdir("./20" [pid 5076] umount2("./18/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5205] <... chdir resumed>) = 0 [pid 5205] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5081] umount2("./19/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5205] <... prctl resumed>) = 0 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5076] newfstatat(AT_FDCWD, "./18/binderfs", [pid 5205] setpgid(0, 0 [pid 5081] newfstatat(AT_FDCWD, "./19/bus", [pid 5075] <... umount2 resumed>) = 0 [pid 5205] <... setpgid resumed>) = 0 [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5076] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5205] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5081] umount2("./19/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5205] <... openat resumed>) = 3 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5076] unlink("./18/binderfs" [pid 5204] <... write resumed>) = 524288 [pid 5205] write(3, "1000", 4 [pid 5081] openat(AT_FDCWD, "./19/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5205] <... write resumed>) = 4 [pid 5204] munmap(0x7f8a3a600000, 138412032 [pid 5081] <... openat resumed>) = 4 [pid 5076] <... unlink resumed>) = 0 [pid 5205] close(3 [pid 5081] newfstatat(4, "", [pid 5076] getdents64(3, [pid 5205] <... close resumed>) = 0 [pid 5204] <... munmap resumed>) = 0 [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5076] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5205] symlink("/dev/binderfs", "./binderfs" [pid 5204] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5081] getdents64(4, [pid 5076] close(3 [pid 5205] <... symlink resumed>) = 0 [pid 5203] <... ioctl resumed>) = 0 [pid 5081] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5075] umount2("./19/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5203] close(3 [pid 5081] getdents64(4, [pid 5076] <... close resumed>) = 0 [pid 5204] <... openat resumed>) = 4 [pid 5076] rmdir("./18" [pid 5081] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5081] close(4 [pid 5205] memfd_create("syzkaller", 0 [pid 5081] <... close resumed>) = 0 [pid 5081] rmdir("./19/bus" [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 125.120277][ T5203] loop4: detected capacity change from 0 to 1024 [pid 5205] <... memfd_create resumed>) = 3 [pid 5204] ioctl(4, LOOP_SET_FD, 3 [pid 5203] <... close resumed>) = 0 [pid 5081] <... rmdir resumed>) = 0 [pid 5076] <... rmdir resumed>) = 0 [pid 5075] newfstatat(AT_FDCWD, "./19/bus", [pid 5203] close(4) = 0 [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5203] mkdir("./bus", 0777) = 0 [pid 5075] umount2("./19/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5075] openat(AT_FDCWD, "./19/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5205] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5204] <... ioctl resumed>) = 0 [pid 5203] mount("/dev/loop4", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5081] umount2("./19/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] mkdir("./19", 0777 [pid 5204] close(3 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] newfstatat(4, "", [pid 5205] <... mmap resumed>) = 0x7f8a3a600000 [pid 5076] <... mkdir resumed>) = 0 [pid 5076] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5204] <... close resumed>) = 0 [pid 5081] newfstatat(AT_FDCWD, "./19/binderfs", [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5076] <... openat resumed>) = 3 [pid 5204] close(4 [pid 5081] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5076] ioctl(3, LOOP_CLR_FD [pid 5204] <... close resumed>) = 0 [pid 5081] unlink("./19/binderfs" [pid 5204] mkdir("./bus", 0777 [pid 5081] <... unlink resumed>) = 0 [pid 5075] getdents64(4, [pid 5204] <... mkdir resumed>) = 0 [pid 5075] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5075] getdents64(4, 0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5075] close(4) = 0 [pid 5081] getdents64(3, [pid 5075] rmdir("./19/bus" [pid 5081] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5075] <... rmdir resumed>) = 0 [pid 5081] close(3) = 0 [pid 5204] mount("/dev/loop2", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5081] rmdir("./19" [pid 5075] umount2("./19/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [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 5203] <... mount resumed>) = 0 [pid 5203] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5081] <... rmdir resumed>) = 0 [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5203] <... openat resumed>) = 3 [pid 5081] mkdir("./20", 0777 [pid 5203] chdir("./bus" [pid 5075] newfstatat(AT_FDCWD, "./19/binderfs", [pid 5205] <... write resumed>) = 524288 [pid 5203] <... chdir resumed>) = 0 [pid 5081] <... mkdir resumed>) = 0 [pid 5075] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5205] munmap(0x7f8a3a600000, 138412032 [pid 5203] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5075] unlink("./19/binderfs" [pid 5203] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5075] <... unlink resumed>) = 0 [pid 5075] getdents64(3, [pid 5203] <... symlink resumed>) = 0 [pid 5075] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5203] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5075] close(3) = 0 [pid 5075] rmdir("./19" [pid 5205] <... munmap resumed>) = 0 [pid 5081] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5075] <... rmdir resumed>) = 0 [pid 5205] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5081] <... openat resumed>) = 3 [pid 5075] mkdir("./20", 0777 [ 125.164043][ T5204] loop2: detected capacity change from 0 to 1024 [pid 5205] ioctl(4, LOOP_SET_FD, 3 [pid 5081] ioctl(3, LOOP_CLR_FD [pid 5075] <... mkdir resumed>) = 0 [pid 5075] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5075] ioctl(3, LOOP_CLR_FD [pid 5204] <... mount resumed>) = 0 [pid 5204] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY) = 3 [pid 5203] <... creat resumed>) = 4 [pid 5204] chdir("./bus") = 0 [pid 5204] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5204] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5203] rename("./bus", "./file2" [pid 5204] <... symlink resumed>) = 0 [pid 5076] <... ioctl resumed>) = 0 [pid 5204] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5205] <... ioctl resumed>) = 0 [pid 5203] <... rename resumed>) = -1 EEXIST (File exists) [pid 5076] close(3 [pid 5205] close(3) = 0 [pid 5203] memfd_create("syzkaller", 0 [pid 5076] <... close resumed>) = 0 [pid 5205] close(4 [pid 5076] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5205] <... close resumed>) = 0 [pid 5204] <... creat resumed>) = 4 [pid 5204] rename("./bus", "./file2" [pid 5205] mkdir("./bus", 0777 [pid 5203] <... memfd_create resumed>) = 5 [pid 5203] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5205] <... mkdir resumed>) = 0 [pid 5204] <... rename resumed>) = -1 EEXIST (File exists) [pid 5204] memfd_create("syzkaller", 0) = 5 [pid 5204] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5205] mount("/dev/loop3", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5076] <... clone resumed>, child_tidptr=0x555555c35650) = 5206 ./strace-static-x86_64: Process 5206 attached [pid 5206] set_robust_list(0x555555c35660, 24) = 0 [pid 5206] chdir("./19" [pid 5205] <... mount resumed>) = 0 [pid 5203] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5075] <... ioctl resumed>) = 0 [pid 5206] <... chdir resumed>) = 0 [pid 5205] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY) = 3 [pid 5204] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [ 125.220355][ T5205] loop3: detected capacity change from 0 to 1024 [pid 5206] setpgid(0, 0 [pid 5081] <... ioctl resumed>) = 0 [pid 5075] close(3) = 0 [pid 5075] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5203] <... write resumed>) = 524288 [pid 5205] chdir("./bus" [pid 5206] <... setpgid resumed>) = 0 [pid 5205] <... chdir resumed>) = 0 [pid 5206] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5205] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5206] <... openat resumed>) = 3 [pid 5204] <... write resumed>) = 524288 [pid 5205] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5206] write(3, "1000", 4 [pid 5203] munmap(0x7f8a3a600000, 138412032 [pid 5205] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5206] <... write resumed>) = 4 [pid 5206] close(3 [pid 5203] <... munmap resumed>) = 0 [pid 5206] <... close resumed>) = 0 [pid 5203] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5206] symlink("/dev/binderfs", "./binderfs" [pid 5205] <... symlink resumed>) = 0 [pid 5204] munmap(0x7f8a3a600000, 138412032 [pid 5203] <... openat resumed>) = -1 EBUSY (Device or resource busy) ./strace-static-x86_64: Process 5207 attached [pid 5205] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5203] close(5 [pid 5206] <... symlink resumed>) = 0 [pid 5204] <... munmap resumed>) = 0 [pid 5075] <... clone resumed>, child_tidptr=0x555555c35650) = 5207 [pid 5081] close(3 [pid 5206] memfd_create("syzkaller", 0 [pid 5204] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5081] <... close resumed>) = 0 [pid 5206] <... memfd_create resumed>) = 3 [pid 5204] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5206] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5081] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5207] set_robust_list(0x555555c35660, 24 [pid 5206] <... mmap resumed>) = 0x7f8a3a600000 [pid 5205] <... creat resumed>) = 4 [pid 5204] close(5 [pid 5203] <... close resumed>) = 0 [pid 5207] <... set_robust_list resumed>) = 0 [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 5205] rename("./bus", "./file2" [pid 5204] <... close resumed>) = 0 [pid 5207] chdir("./20" [pid 5205] <... rename resumed>) = -1 EEXIST (File exists) [pid 5203] creat("./file1", 000 [pid 5207] <... chdir resumed>) = 0 [pid 5207] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5206] <... write resumed>) = 524288 [pid 5205] memfd_create("syzkaller", 0 [pid 5203] <... creat resumed>) = 5 [pid 5207] <... prctl resumed>) = 0 [pid 5203] exit_group(0 [pid 5207] setpgid(0, 0 [pid 5203] <... exit_group resumed>) = ? [pid 5207] <... setpgid resumed>) = 0 [pid 5205] <... memfd_create resumed>) = 5 ./strace-static-x86_64: Process 5208 attached [pid 5208] set_robust_list(0x555555c35660, 24) = 0 [pid 5208] chdir("./20" [pid 5203] +++ exited with 0 +++ [pid 5079] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5203, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5207] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5208] <... chdir resumed>) = 0 [pid 5081] <... clone resumed>, child_tidptr=0x555555c35650) = 5208 [pid 5079] umount2("./19", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5079] openat(AT_FDCWD, "./19", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5208] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5079] <... openat resumed>) = 3 [pid 5208] <... prctl resumed>) = 0 [pid 5079] newfstatat(3, "", [pid 5208] setpgid(0, 0 [pid 5207] <... openat resumed>) = 3 [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5205] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5208] <... setpgid resumed>) = 0 [pid 5079] getdents64(3, [pid 5208] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5205] <... mmap resumed>) = 0x7f8a3a600000 [pid 5079] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5079] umount2("./19/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5208] <... openat resumed>) = 3 [pid 5204] creat("./file1", 000 [pid 5208] write(3, "1000", 4 [pid 5207] write(3, "1000", 4 [pid 5205] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... write resumed>) = 4 [pid 5207] close(3 [pid 5208] <... write resumed>) = 4 [pid 5208] close(3) = 0 [pid 5208] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5207] <... close resumed>) = 0 [pid 5206] munmap(0x7f8a3a600000, 138412032 [pid 5204] <... creat resumed>) = 5 [pid 5207] symlink("/dev/binderfs", "./binderfs" [pid 5204] exit_group(0) = ? [pid 5207] <... symlink resumed>) = 0 [pid 5079] <... umount2 resumed>) = 0 [pid 5208] memfd_create("syzkaller", 0 [pid 5207] memfd_create("syzkaller", 0 [pid 5206] <... munmap resumed>) = 0 [pid 5204] +++ exited with 0 +++ [pid 5079] umount2("./19/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5204, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5208] <... memfd_create resumed>) = 3 [pid 5208] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5207] <... memfd_create resumed>) = 3 [pid 5206] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] umount2("./19", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5077] openat(AT_FDCWD, "./19", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5077] newfstatat(3, "", [pid 5207] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5205] <... write resumed>) = 524288 [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5206] <... openat resumed>) = 4 [pid 5077] getdents64(3, [pid 5207] <... mmap resumed>) = 0x7f8a3a600000 [pid 5079] newfstatat(AT_FDCWD, "./19/bus", [pid 5206] ioctl(4, LOOP_SET_FD, 3 [pid 5077] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5077] umount2("./19/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [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 5079] umount2("./19/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] <... umount2 resumed>) = 0 [pid 5205] munmap(0x7f8a3a600000, 138412032 [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] umount2("./19/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5077] newfstatat(AT_FDCWD, "./19/bus", [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] <... write resumed>) = 524288 [pid 5206] <... ioctl resumed>) = 0 [pid 5205] <... munmap resumed>) = 0 [pid 5079] openat(AT_FDCWD, "./19/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5079] newfstatat(4, "", [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5207] munmap(0x7f8a3a600000, 138412032 [pid 5206] close(3 [pid 5205] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5206] <... close resumed>) = 0 [pid 5205] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5079] getdents64(4, [pid 5206] close(4) = 0 [pid 5206] mkdir("./bus", 0777 [pid 5079] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5207] <... munmap resumed>) = 0 [pid 5206] <... mkdir resumed>) = 0 [pid 5205] close(5 [pid 5079] getdents64(4, 0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5077] umount2("./19/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] close(4 [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5079] <... close resumed>) = 0 [pid 5206] mount("/dev/loop1", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5079] rmdir("./19/bus" [ 125.379248][ T5206] loop1: detected capacity change from 0 to 1024 [pid 5077] openat(AT_FDCWD, "./19/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5207] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5079] <... rmdir resumed>) = 0 [pid 5077] <... openat resumed>) = 4 [pid 5207] <... openat resumed>) = 4 [pid 5077] newfstatat(4, "", [pid 5079] umount2("./19/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5207] ioctl(4, LOOP_SET_FD, 3 [pid 5079] newfstatat(AT_FDCWD, "./19/binderfs", [pid 5206] <... mount resumed>) = 0 [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5206] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5077] getdents64(4, [pid 5206] <... openat resumed>) = 3 [pid 5077] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5077] getdents64(4, [pid 5206] chdir("./bus" [pid 5077] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5077] close(4) = 0 [pid 5206] <... chdir resumed>) = 0 [pid 5077] rmdir("./19/bus" [pid 5208] <... write resumed>) = 524288 [pid 5206] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5077] <... rmdir resumed>) = 0 [pid 5077] umount2("./19/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5206] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5208] munmap(0x7f8a3a600000, 138412032 [pid 5205] <... close resumed>) = 0 [pid 5079] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5077] newfstatat(AT_FDCWD, "./19/binderfs", [pid 5079] unlink("./19/binderfs" [pid 5077] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5079] <... unlink resumed>) = 0 [pid 5077] unlink("./19/binderfs" [pid 5206] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5205] creat("./file1", 000 [pid 5079] getdents64(3, [pid 5077] <... unlink resumed>) = 0 [pid 5208] <... munmap resumed>) = 0 [pid 5079] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5077] getdents64(3, [pid 5206] <... symlink resumed>) = 0 [pid 5079] close(3 [pid 5077] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5079] <... close resumed>) = 0 [pid 5077] close(3 [pid 5079] rmdir("./19" [pid 5208] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 5077] <... close resumed>) = 0 [pid 5206] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5077] rmdir("./19" [pid 5079] <... rmdir resumed>) = 0 [pid 5208] ioctl(4, LOOP_SET_FD, 3 [pid 5207] <... ioctl resumed>) = 0 [pid 5079] mkdir("./20", 0777 [pid 5077] <... rmdir resumed>) = 0 [pid 5079] <... mkdir resumed>) = 0 [pid 5077] mkdir("./20", 0777 [pid 5207] close(3 [pid 5079] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5077] <... mkdir resumed>) = 0 [pid 5207] <... close resumed>) = 0 [pid 5207] close(4 [pid 5079] <... openat resumed>) = 3 [pid 5207] <... close resumed>) = 0 [pid 5079] ioctl(3, LOOP_CLR_FD [pid 5207] mkdir("./bus", 0777 [pid 5077] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5207] <... mkdir resumed>) = 0 [pid 5077] <... openat resumed>) = 3 [pid 5206] <... creat resumed>) = 4 [pid 5205] <... creat resumed>) = 5 [pid 5206] rename("./bus", "./file2" [pid 5077] ioctl(3, LOOP_CLR_FD [pid 5207] mount("/dev/loop0", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5205] exit_group(0 [pid 5077] <... ioctl resumed>) = 0 [pid 5206] <... rename resumed>) = -1 EEXIST (File exists) [pid 5077] close(3 [pid 5206] memfd_create("syzkaller", 0 [pid 5077] <... close resumed>) = 0 [pid 5206] <... memfd_create resumed>) = 5 [pid 5205] <... exit_group resumed>) = ? [pid 5077] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5206] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5206] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5208] <... ioctl resumed>) = 0 [pid 5208] close(3) = 0 [pid 5208] close(4) = 0 [pid 5208] mkdir("./bus", 0777) = 0 [pid 5077] <... clone resumed>, child_tidptr=0x555555c35650) = 5209 ./strace-static-x86_64: Process 5209 attached [pid 5208] mount("/dev/loop5", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5209] set_robust_list(0x555555c35660, 24 [pid 5205] +++ exited with 0 +++ [pid 5078] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5205, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [ 125.430710][ T5207] loop0: detected capacity change from 0 to 1024 [ 125.460301][ T5208] loop5: detected capacity change from 0 to 1024 [pid 5209] <... set_robust_list resumed>) = 0 [pid 5209] chdir("./20") = 0 [pid 5078] umount2("./20", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5207] <... mount resumed>) = 0 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5207] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5078] openat(AT_FDCWD, "./20", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5209] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5207] <... openat resumed>) = 3 [pid 5209] <... prctl resumed>) = 0 [pid 5078] <... openat resumed>) = 3 [pid 5209] setpgid(0, 0 [pid 5207] chdir("./bus" [pid 5209] <... setpgid resumed>) = 0 [pid 5207] <... chdir resumed>) = 0 [pid 5078] newfstatat(3, "", [pid 5209] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5209] write(3, "1000", 4) = 4 [pid 5209] close(3) = 0 [pid 5209] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5208] <... mount resumed>) = 0 [pid 5207] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5206] <... write resumed>) = 524288 [pid 5079] <... ioctl resumed>) = 0 [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5208] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5209] memfd_create("syzkaller", 0 [pid 5208] <... openat resumed>) = 3 [pid 5207] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5208] chdir("./bus" [pid 5209] <... memfd_create resumed>) = 3 [pid 5208] <... chdir resumed>) = 0 [pid 5206] munmap(0x7f8a3a600000, 138412032 [pid 5209] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5208] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5206] <... munmap resumed>) = 0 [pid 5209] <... mmap resumed>) = 0x7f8a3a600000 [pid 5208] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5078] getdents64(3, [pid 5208] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5207] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5078] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5206] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5078] umount2("./20/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5206] close(5 [pid 5207] <... symlink resumed>) = 0 [pid 5206] <... close resumed>) = 0 [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 5208] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5207] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5079] close(3) = 0 [pid 5079] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5208] <... creat resumed>) = 4 [pid 5209] <... write resumed>) = 524288 [pid 5208] rename("./bus", "./file2" [pid 5207] <... creat resumed>) = 4 [pid 5078] <... umount2 resumed>) = 0 [pid 5207] rename("./bus", "./file2"./strace-static-x86_64: Process 5210 attached [pid 5210] set_robust_list(0x555555c35660, 24 [pid 5208] <... rename resumed>) = -1 EEXIST (File exists) [pid 5210] <... set_robust_list resumed>) = 0 [pid 5210] chdir("./20" [pid 5079] <... clone resumed>, child_tidptr=0x555555c35650) = 5210 [pid 5210] <... chdir resumed>) = 0 [pid 5206] creat("./file1", 000 [pid 5208] memfd_create("syzkaller", 0) = 5 [pid 5210] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5210] setpgid(0, 0) = 0 [pid 5208] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5207] <... rename resumed>) = -1 EEXIST (File exists) [pid 5210] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5209] munmap(0x7f8a3a600000, 138412032 [pid 5207] memfd_create("syzkaller", 0 [pid 5210] <... openat resumed>) = 3 [pid 5209] <... munmap resumed>) = 0 [pid 5208] <... mmap resumed>) = 0x7f8a3a600000 [pid 5207] <... memfd_create resumed>) = 5 [pid 5206] <... creat resumed>) = 5 [pid 5078] umount2("./20/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5207] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5207] <... mmap resumed>) = 0x7f8a3a600000 [pid 5078] newfstatat(AT_FDCWD, "./20/bus", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5210] write(3, "1000", 4 [pid 5206] exit_group(0 [pid 5078] umount2("./20/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5210] <... write resumed>) = 4 [pid 5206] <... exit_group resumed>) = ? [pid 5207] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] +++ exited with 0 +++ [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5210] close(3 [pid 5209] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5078] openat(AT_FDCWD, "./20/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5210] <... close resumed>) = 0 [pid 5209] <... openat resumed>) = 4 [pid 5210] symlink("/dev/binderfs", "./binderfs" [pid 5209] ioctl(4, LOOP_SET_FD, 3 [pid 5210] <... symlink resumed>) = 0 [pid 5209] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5078] <... openat resumed>) = 4 [pid 5076] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5206, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5209] ioctl(4, LOOP_CLR_FD [pid 5078] newfstatat(4, "", [pid 5210] memfd_create("syzkaller", 0 [pid 5209] <... ioctl resumed>) = 0 [pid 5208] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5076] umount2("./19", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5210] <... memfd_create resumed>) = 3 [pid 5209] ioctl(4, LOOP_SET_FD, 3 [pid 5078] getdents64(4, [pid 5210] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5209] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5210] <... mmap resumed>) = 0x7f8a3a600000 [pid 5209] close(4) = 0 [pid 5078] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5076] openat(AT_FDCWD, "./19", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5209] close(3 [pid 5078] getdents64(4, [pid 5207] <... write resumed>) = 524288 [pid 5078] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5076] <... openat resumed>) = 3 [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 5078] close(4 [pid 5076] newfstatat(3, "", [pid 5078] <... close resumed>) = 0 [pid 5078] rmdir("./20/bus" [pid 5210] <... write resumed>) = 524288 [pid 5078] <... rmdir resumed>) = 0 [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5076] getdents64(3, [pid 5209] <... close resumed>) = 0 [pid 5078] umount2("./20/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5076] umount2("./19/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5078] newfstatat(AT_FDCWD, "./20/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5078] unlink("./20/binderfs" [pid 5208] <... write resumed>) = 524288 [pid 5078] <... unlink resumed>) = 0 [pid 5078] getdents64(3, 0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5078] close(3) = 0 [pid 5078] rmdir("./20") = 0 [pid 5078] mkdir("./21", 0777) = 0 [pid 5078] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5078] ioctl(3, LOOP_CLR_FD [pid 5209] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5210] munmap(0x7f8a3a600000, 138412032 [pid 5209] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5210] <... munmap resumed>) = 0 [pid 5209] <... creat resumed>) = 3 [pid 5207] munmap(0x7f8a3a600000, 138412032 [pid 5076] <... umount2 resumed>) = 0 [pid 5209] rename("./bus", "./file2" [pid 5210] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5209] <... rename resumed>) = 0 [pid 5210] <... openat resumed>) = 4 [pid 5208] munmap(0x7f8a3a600000, 138412032 [pid 5207] <... munmap resumed>) = 0 [pid 5076] umount2("./19/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5210] ioctl(4, LOOP_SET_FD, 3 [pid 5209] memfd_create("syzkaller", 0 [pid 5210] <... ioctl resumed>) = 0 [pid 5209] <... memfd_create resumed>) = 4 [pid 5208] <... munmap resumed>) = 0 [pid 5207] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5076] newfstatat(AT_FDCWD, "./19/bus", [pid 5208] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5207] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5078] <... ioctl resumed>) = 0 [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5209] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [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 5208] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5207] close(5 [pid 5076] umount2("./19/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5208] close(5 [pid 5207] <... close resumed>) = 0 [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5076] openat(AT_FDCWD, "./19/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5076] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5076] getdents64(4, 0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5210] close(3) = 0 [pid 5210] close(4) = 0 [pid 5210] mkdir("./bus", 0777) = 0 [pid 5210] mount("/dev/loop4", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5078] close(3 [pid 5076] getdents64(4, [pid 5209] <... write resumed>) = 524288 [ 125.696422][ T5210] loop4: detected capacity change from 0 to 1024 [pid 5208] <... close resumed>) = 0 [pid 5078] <... close resumed>) = 0 [pid 5076] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5207] creat("./file1", 000 [pid 5078] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5076] close(4) = 0 [pid 5076] rmdir("./19/bus" [pid 5209] munmap(0x7f8a3a600000, 138412032 [pid 5078] <... clone resumed>, child_tidptr=0x555555c35650) = 5211 [pid 5076] <... rmdir resumed>) = 0 ./strace-static-x86_64: Process 5211 attached [pid 5209] <... munmap resumed>) = 0 [pid 5076] umount2("./19/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5211] set_robust_list(0x555555c35660, 24) = 0 [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5211] chdir("./21" [pid 5207] <... creat resumed>) = 5 [pid 5211] <... chdir resumed>) = 0 [pid 5211] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5211] setpgid(0, 0) = 0 [pid 5211] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5208] creat("./file1", 000 [pid 5207] exit_group(0 [pid 5076] newfstatat(AT_FDCWD, "./19/binderfs", [pid 5211] <... openat resumed>) = 3 [pid 5209] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5207] <... exit_group resumed>) = ? [pid 5076] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5208] <... creat resumed>) = 5 [pid 5209] <... openat resumed>) = 5 [pid 5209] ioctl(5, LOOP_SET_FD, 4) = 0 [pid 5208] exit_group(0 [pid 5207] +++ exited with 0 +++ [pid 5076] unlink("./19/binderfs" [pid 5208] <... exit_group resumed>) = ? [pid 5075] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5207, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5075] umount2("./20", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5211] write(3, "1000", 4 [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5211] <... write resumed>) = 4 [pid 5075] openat(AT_FDCWD, "./20", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5210] <... mount resumed>) = 0 [pid 5208] +++ exited with 0 +++ [pid 5076] <... unlink resumed>) = 0 [pid 5075] newfstatat(3, "", [pid 5210] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5211] close(3 [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5210] <... openat resumed>) = 3 [pid 5076] getdents64(3, [pid 5211] <... close resumed>) = 0 [pid 5210] chdir("./bus" [pid 5081] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5208, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5076] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5075] getdents64(3, [pid 5076] close(3 [pid 5211] symlink("/dev/binderfs", "./binderfs" [pid 5210] <... chdir resumed>) = 0 [pid 5076] <... close resumed>) = 0 [pid 5075] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5211] <... symlink resumed>) = 0 [pid 5076] rmdir("./19" [pid 5075] umount2("./20/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5210] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5211] memfd_create("syzkaller", 0 [pid 5210] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5081] umount2("./20", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] <... rmdir resumed>) = 0 [pid 5211] <... memfd_create resumed>) = 3 [pid 5210] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5076] mkdir("./20", 0777 [pid 5211] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5081] openat(AT_FDCWD, "./20", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5211] <... mmap resumed>) = 0x7f8a3a600000 [pid 5081] <... openat resumed>) = 3 [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 5081] newfstatat(3, "", [pid 5076] <... mkdir resumed>) = 0 [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5210] <... symlink resumed>) = 0 [pid 5076] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5210] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5081] getdents64(3, [pid 5076] <... openat resumed>) = 3 [pid 5081] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5081] umount2("./20/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] ioctl(3, LOOP_CLR_FD [pid 5075] <... umount2 resumed>) = 0 [pid 5209] close(4) = 0 [pid 5209] close(5) = 0 [pid 5209] mkdir("./file1", 0777 [pid 5210] <... creat resumed>) = 4 [pid 5209] <... mkdir resumed>) = 0 [pid 5081] <... umount2 resumed>) = 0 [pid 5075] umount2("./20/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5210] rename("./bus", "./file2" [pid 5209] mount("/dev/loop2", "./file1", "hfsplus", MS_NOSUID|MS_SYNCHRONOUS|MS_NOATIME, "" [pid 5210] <... rename resumed>) = -1 EEXIST (File exists) [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5210] memfd_create("syzkaller", 0 [pid 5075] newfstatat(AT_FDCWD, "./20/bus", [pid 5210] <... memfd_create resumed>) = 5 [ 125.787782][ T5209] loop2: detected capacity change from 0 to 1024 [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5211] <... write resumed>) = 524288 [pid 5210] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5075] umount2("./20/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5210] <... mmap resumed>) = 0x7f8a3a600000 [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5081] umount2("./20/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] openat(AT_FDCWD, "./20/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5081] newfstatat(AT_FDCWD, "./20/bus", [pid 5075] <... openat resumed>) = 4 [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5075] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5075] getdents64(4, [pid 5211] munmap(0x7f8a3a600000, 138412032 [pid 5209] <... mount resumed>) = 0 [pid 5076] <... ioctl resumed>) = 0 [pid 5075] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5209] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 4 [pid 5209] chdir("./file1") = 0 [pid 5209] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5209] creat("./file1", 000 [pid 5210] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5081] umount2("./20/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] getdents64(4, [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5081] openat(AT_FDCWD, "./20/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5075] close(4 [pid 5211] <... munmap resumed>) = 0 [pid 5081] newfstatat(4, "", [pid 5075] <... close resumed>) = 0 [pid 5075] rmdir("./20/bus" [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5081] getdents64(4, [pid 5075] <... rmdir resumed>) = 0 [pid 5081] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5075] umount2("./20/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5081] getdents64(4, [pid 5211] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5211] ioctl(4, LOOP_SET_FD, 3 [pid 5081] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5081] close(4 [pid 5209] <... creat resumed>) = 5 [pid 5081] <... close resumed>) = 0 [pid 5075] newfstatat(AT_FDCWD, "./20/binderfs", [pid 5081] rmdir("./20/bus") = 0 [pid 5075] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5076] close(3) = 0 [pid 5076] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5209] exit_group(0) = ? [pid 5209] +++ exited with 0 +++ [pid 5077] --- 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 5077] umount2("./20", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5077] openat(AT_FDCWD, "./20", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5077] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5075] unlink("./20/binderfs" [pid 5210] <... write resumed>) = 524288 [pid 5081] umount2("./20/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] getdents64(3, [pid 5075] <... unlink resumed>) = 0 [pid 5076] <... clone resumed>, child_tidptr=0x555555c35650) = 5212 [pid 5077] <... getdents64 resumed>0x555555c366f0 /* 6 entries */, 32768) = 416 [pid 5077] umount2("./20/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5077] newfstatat(AT_FDCWD, "./20/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5077] unlink("./20/binderfs") = 0 [pid 5075] getdents64(3, 0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] close(3 [pid 5081] newfstatat(AT_FDCWD, "./20/binderfs", [pid 5075] <... close resumed>) = 0 [pid 5077] umount2("./20/file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_DETACH|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 5212 attached [pid 5081] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] rmdir("./20" [pid 5212] set_robust_list(0x555555c35660, 24 [pid 5077] newfstatat(AT_FDCWD, "./20/file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5081] unlink("./20/binderfs" [pid 5077] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=5, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5075] <... rmdir resumed>) = 0 [pid 5212] <... set_robust_list resumed>) = 0 [pid 5077] unlink("./20/file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5075] mkdir("./21", 0777 [pid 5212] chdir("./20" [pid 5081] <... unlink resumed>) = 0 [pid 5077] <... unlink resumed>) = 0 [pid 5077] umount2("./20/file2", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] <... mkdir resumed>) = 0 [pid 5081] getdents64(3, [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5081] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5077] newfstatat(AT_FDCWD, "./20/file2", [pid 5081] close(3 [pid 5077] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5075] <... openat resumed>) = 3 [pid 5212] <... chdir resumed>) = 0 [pid 5211] <... ioctl resumed>) = 0 [pid 5081] <... close resumed>) = 0 [pid 5077] unlink("./20/file2" [pid 5075] ioctl(3, LOOP_CLR_FD [pid 5212] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5211] close(3 [pid 5212] <... prctl resumed>) = 0 [pid 5211] <... close resumed>) = 0 [pid 5210] munmap(0x7f8a3a600000, 138412032 [pid 5077] <... unlink resumed>) = 0 [pid 5075] <... ioctl resumed>) = 0 [pid 5212] setpgid(0, 0 [pid 5211] close(4 [pid 5212] <... setpgid resumed>) = 0 [pid 5211] <... close resumed>) = 0 [pid 5210] <... munmap resumed>) = 0 [pid 5075] close(3 [pid 5212] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5211] mkdir("./bus", 0777 [pid 5212] <... openat resumed>) = 3 [pid 5211] <... mkdir resumed>) = 0 [pid 5075] <... close resumed>) = 0 [pid 5081] rmdir("./20" [pid 5212] write(3, "1000", 4 [pid 5211] mount("/dev/loop3", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5077] umount2("./20/file1", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5212] <... write resumed>) = 4 [pid 5081] <... rmdir resumed>) = 0 [pid 5075] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5212] close(3) = 0 [ 125.891260][ T5211] loop3: detected capacity change from 0 to 1024 [pid 5212] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5212] memfd_create("syzkaller", 0) = 3 [pid 5210] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5081] mkdir("./21", 0777 [pid 5212] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [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 5210] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5081] <... mkdir resumed>) = 0 [pid 5075] <... clone resumed>, child_tidptr=0x555555c35650) = 5213 ./strace-static-x86_64: Process 5213 attached [pid 5210] close(5 [pid 5081] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5213] set_robust_list(0x555555c35660, 24 [pid 5210] <... close resumed>) = 0 [pid 5081] <... openat resumed>) = 3 [pid 5077] <... umount2 resumed>) = 0 [pid 5211] <... mount resumed>) = 0 [pid 5211] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY) = 3 [pid 5211] chdir("./bus") = 0 [pid 5211] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5213] <... set_robust_list resumed>) = 0 [pid 5081] ioctl(3, LOOP_CLR_FD [pid 5213] chdir("./21" [pid 5211] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5077] umount2("./20/file1", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5211] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5213] <... chdir resumed>) = 0 [pid 5077] newfstatat(AT_FDCWD, "./20/file1", [pid 5213] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5213] <... prctl resumed>) = 0 [pid 5077] umount2("./20/file1", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5213] setpgid(0, 0 [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] openat(AT_FDCWD, "./20/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5213] <... setpgid resumed>) = 0 [pid 5077] <... openat resumed>) = 4 [pid 5213] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5077] newfstatat(4, "", [pid 5211] <... symlink resumed>) = 0 [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5211] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5077] getdents64(4, 0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5213] <... openat resumed>) = 3 [pid 5077] getdents64(4, [pid 5213] write(3, "1000", 4 [pid 5210] creat("./file1", 000 [pid 5077] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5213] <... write resumed>) = 4 [pid 5077] close(4 [pid 5213] close(3 [pid 5212] <... write resumed>) = 524288 [pid 5077] <... close resumed>) = 0 [pid 5213] <... close resumed>) = 0 [pid 5213] symlink("/dev/binderfs", "./binderfs" [pid 5077] rmdir("./20/file1" [pid 5213] <... symlink resumed>) = 0 [pid 5077] <... rmdir resumed>) = 0 [pid 5213] memfd_create("syzkaller", 0 [pid 5211] <... creat resumed>) = 4 [pid 5210] <... creat resumed>) = 5 [pid 5077] getdents64(3, [pid 5211] rename("./bus", "./file2" [pid 5077] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5212] munmap(0x7f8a3a600000, 138412032 [pid 5077] close(3 [pid 5212] <... munmap resumed>) = 0 [pid 5077] <... close resumed>) = 0 [pid 5077] rmdir("./20") = 0 [pid 5212] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5077] mkdir("./21", 0777 [pid 5081] <... ioctl resumed>) = 0 [pid 5077] <... mkdir resumed>) = 0 [pid 5212] <... openat resumed>) = 4 [pid 5077] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5213] <... memfd_create resumed>) = 3 [pid 5210] exit_group(0 [pid 5077] <... openat resumed>) = 3 [pid 5213] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5212] ioctl(4, LOOP_SET_FD, 3 [pid 5210] <... exit_group resumed>) = ? [pid 5213] <... mmap resumed>) = 0x7f8a3a600000 [pid 5211] <... rename resumed>) = -1 EEXIST (File exists) [pid 5077] ioctl(3, LOOP_CLR_FD [pid 5211] memfd_create("syzkaller", 0) = 5 [pid 5211] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5210] +++ exited with 0 +++ [pid 5081] close(3 [pid 5079] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5210, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5081] <... close 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 5081] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5214 attached [pid 5079] umount2("./20", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5081] <... clone resumed>, child_tidptr=0x555555c35650) = 5214 [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5079] openat(AT_FDCWD, "./20", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5214] set_robust_list(0x555555c35660, 24 [pid 5079] <... openat resumed>) = 3 [pid 5214] <... set_robust_list resumed>) = 0 [pid 5211] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5079] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5214] chdir("./21" [pid 5212] <... ioctl resumed>) = 0 [pid 5211] <... write resumed>) = 524288 [pid 5079] getdents64(3, [pid 5214] <... chdir resumed>) = 0 [pid 5212] close(3 [pid 5079] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5212] <... close resumed>) = 0 [pid 5079] umount2("./20/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5214] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5212] close(4 [pid 5079] <... umount2 resumed>) = 0 [pid 5214] <... prctl resumed>) = 0 [pid 5212] <... close resumed>) = 0 [pid 5214] setpgid(0, 0 [pid 5212] mkdir("./bus", 0777 [pid 5211] munmap(0x7f8a3a600000, 138412032 [pid 5214] <... setpgid resumed>) = 0 [pid 5213] <... write resumed>) = 524288 [pid 5212] <... mkdir resumed>) = 0 [pid 5211] <... munmap resumed>) = 0 [ 126.025987][ T5212] loop1: detected capacity change from 0 to 1024 [pid 5214] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5213] munmap(0x7f8a3a600000, 138412032 [pid 5212] mount("/dev/loop1", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5211] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5079] umount2("./20/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5211] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5079] newfstatat(AT_FDCWD, "./20/bus", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5211] close(5 [pid 5214] <... openat resumed>) = 3 [pid 5213] <... munmap resumed>) = 0 [pid 5211] <... close resumed>) = 0 [pid 5079] umount2("./20/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5214] write(3, "1000", 4 [pid 5213] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5079] openat(AT_FDCWD, "./20/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5213] <... openat resumed>) = 4 [pid 5214] <... write resumed>) = 4 [pid 5213] ioctl(4, LOOP_SET_FD, 3 [pid 5079] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5079] getdents64(4, 0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5079] getdents64(4, 0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5079] close(4) = 0 [pid 5079] rmdir("./20/bus") = 0 [pid 5079] umount2("./20/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5214] close(3) = 0 [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5214] symlink("/dev/binderfs", "./binderfs" [pid 5079] newfstatat(AT_FDCWD, "./20/binderfs", [pid 5214] <... symlink resumed>) = 0 [pid 5212] <... mount resumed>) = 0 [pid 5079] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5212] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5214] memfd_create("syzkaller", 0 [pid 5212] <... openat resumed>) = 3 [pid 5079] unlink("./20/binderfs" [pid 5212] chdir("./bus" [pid 5079] <... unlink resumed>) = 0 [pid 5212] <... chdir resumed>) = 0 [pid 5211] creat("./file1", 000 [pid 5214] <... memfd_create resumed>) = 3 [pid 5212] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5079] getdents64(3, [pid 5214] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5212] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5079] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5077] <... ioctl resumed>) = 0 [pid 5079] close(3) = 0 [pid 5079] rmdir("./20") = 0 [pid 5212] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5079] mkdir("./21", 0777) = 0 [pid 5079] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5079] ioctl(3, LOOP_CLR_FD [pid 5212] <... symlink resumed>) = 0 [pid 5211] <... creat resumed>) = 5 [pid 5211] exit_group(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] <... ioctl resumed>) = 0 [pid 5211] +++ exited with 0 +++ [pid 5077] close(3 [pid 5213] close(3 [pid 5212] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5078] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5211, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5077] <... close resumed>) = 0 [pid 5077] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5213] <... close resumed>) = 0 [pid 5213] close(4 [pid 5078] umount2("./21", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] <... clone resumed>, child_tidptr=0x555555c35650) = 5215 [pid 5213] <... close resumed>) = 0 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5213] mkdir("./bus", 0777 [pid 5078] openat(AT_FDCWD, "./21", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY./strace-static-x86_64: Process 5215 attached [pid 5215] set_robust_list(0x555555c35660, 24 [pid 5213] <... mkdir resumed>) = 0 [pid 5215] <... set_robust_list resumed>) = 0 [pid 5078] <... openat resumed>) = 3 [pid 5215] chdir("./21" [pid 5078] newfstatat(3, "", [pid 5213] mount("/dev/loop0", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5215] <... chdir resumed>) = 0 [pid 5215] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5212] <... creat resumed>) = 4 [pid 5215] setpgid(0, 0 [ 126.100738][ T5213] loop0: detected capacity change from 0 to 1024 [pid 5212] rename("./bus", "./file2" [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5215] <... setpgid resumed>) = 0 [pid 5215] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5212] <... rename resumed>) = -1 EEXIST (File exists) [pid 5078] getdents64(3, 0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5215] <... openat resumed>) = 3 [pid 5212] memfd_create("syzkaller", 0) = 5 [pid 5079] <... ioctl resumed>) = 0 [pid 5078] umount2("./21/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5215] write(3, "1000", 4 [pid 5212] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5215] <... write resumed>) = 4 [pid 5214] <... write resumed>) = 524288 [pid 5212] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] munmap(0x7f8a3a600000, 138412032) = 0 [pid 5215] close(3 [pid 5214] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5215] <... close resumed>) = 0 [pid 5215] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5214] <... openat resumed>) = 4 [pid 5214] ioctl(4, LOOP_SET_FD, 3 [pid 5215] memfd_create("syzkaller", 0) = 3 [pid 5215] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5212] <... write resumed>) = 524288 [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 5213] <... mount resumed>) = 0 [pid 5079] close(3 [pid 5213] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5079] <... close resumed>) = 0 [pid 5079] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5213] <... openat resumed>) = 3 [pid 5078] <... umount2 resumed>) = 0 [pid 5213] chdir("./bus") = 0 [pid 5079] <... clone resumed>, child_tidptr=0x555555c35650) = 5216 [pid 5212] munmap(0x7f8a3a600000, 138412032) = 0 [pid 5213] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5078] umount2("./21/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) ./strace-static-x86_64: Process 5216 attached [pid 5078] newfstatat(AT_FDCWD, "./21/bus", [pid 5216] set_robust_list(0x555555c35660, 24 [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5214] <... ioctl resumed>) = 0 [pid 5213] <... openat resumed>) = -1 EBUSY (Device or resource busy) [ 126.182457][ T5214] loop5: detected capacity change from 0 to 1024 [pid 5216] <... set_robust_list resumed>) = 0 [pid 5212] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5212] close(5 [pid 5216] chdir("./21" [pid 5214] close(3 [pid 5213] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5212] <... close resumed>) = 0 [pid 5078] umount2("./21/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5214] <... close resumed>) = 0 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5214] close(4 [pid 5216] <... chdir resumed>) = 0 [pid 5215] <... write resumed>) = 524288 [pid 5216] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5215] munmap(0x7f8a3a600000, 138412032 [pid 5216] <... prctl resumed>) = 0 [pid 5215] <... munmap resumed>) = 0 [pid 5214] <... close resumed>) = 0 [pid 5078] openat(AT_FDCWD, "./21/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5216] setpgid(0, 0 [pid 5215] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5216] <... setpgid resumed>) = 0 [pid 5215] <... openat resumed>) = 4 [pid 5214] mkdir("./bus", 0777 [pid 5078] <... openat resumed>) = 4 [pid 5216] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5215] ioctl(4, LOOP_SET_FD, 3 [pid 5216] <... openat resumed>) = 3 [pid 5214] <... mkdir resumed>) = 0 [pid 5213] <... symlink resumed>) = 0 [pid 5078] newfstatat(4, "", [pid 5216] write(3, "1000", 4 [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5216] <... write resumed>) = 4 [pid 5216] close(3) = 0 [pid 5216] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5216] memfd_create("syzkaller", 0 [pid 5078] getdents64(4, 0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5078] getdents64(4, [pid 5214] mount("/dev/loop5", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5213] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5078] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5216] <... memfd_create resumed>) = 3 [pid 5078] close(4 [pid 5216] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5078] <... close resumed>) = 0 [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 5212] creat("./file1", 000 [pid 5078] rmdir("./21/bus") = 0 [pid 5078] umount2("./21/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5213] <... creat resumed>) = 4 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5078] newfstatat(AT_FDCWD, "./21/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5078] unlink("./21/binderfs" [pid 5215] <... ioctl resumed>) = 0 [pid 5213] rename("./bus", "./file2" [pid 5212] <... creat resumed>) = 5 [pid 5078] <... unlink resumed>) = 0 [pid 5212] exit_group(0) = ? [pid 5078] getdents64(3, [pid 5214] <... mount resumed>) = 0 [pid 5212] +++ exited with 0 +++ [pid 5078] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5214] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5078] close(3 [pid 5076] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5212, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5215] close(3 [pid 5214] <... openat resumed>) = 3 [pid 5078] <... close resumed>) = 0 [pid 5076] restart_syscall(<... resuming interrupted clone ...> [pid 5215] <... close resumed>) = 0 [pid 5214] chdir("./bus" [pid 5078] rmdir("./21" [pid 5076] <... restart_syscall resumed>) = 0 [pid 5215] close(4) = 0 [pid 5215] mkdir("./bus", 0777 [pid 5076] umount2("./20", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5078] <... rmdir resumed>) = 0 [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5213] <... rename resumed>) = -1 EEXIST (File exists) [ 126.237272][ T5215] loop2: detected capacity change from 0 to 1024 [pid 5076] openat(AT_FDCWD, "./20", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5216] <... write resumed>) = 524288 [pid 5215] <... mkdir resumed>) = 0 [pid 5214] <... chdir resumed>) = 0 [pid 5213] memfd_create("syzkaller", 0 [pid 5076] <... openat resumed>) = 3 [pid 5214] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5213] <... memfd_create resumed>) = 5 [pid 5076] newfstatat(3, "", [pid 5214] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5076] getdents64(3, 0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5076] umount2("./20/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5214] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5215] mount("/dev/loop2", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5214] <... symlink resumed>) = 0 [pid 5213] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5078] mkdir("./22", 0777 [pid 5076] <... umount2 resumed>) = 0 [pid 5078] <... mkdir resumed>) = 0 [pid 5213] <... mmap resumed>) = 0x7f8a3a600000 [pid 5076] umount2("./20/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5214] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5076] newfstatat(AT_FDCWD, "./20/bus", [pid 5216] munmap(0x7f8a3a600000, 138412032 [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5216] <... munmap resumed>) = 0 [pid 5215] <... mount resumed>) = 0 [pid 5213] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5076] umount2("./20/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5215] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5215] <... openat resumed>) = 3 [pid 5076] openat(AT_FDCWD, "./20/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5215] chdir("./bus" [pid 5076] <... openat resumed>) = 4 [pid 5216] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5215] <... chdir resumed>) = 0 [pid 5076] newfstatat(4, "", [pid 5216] <... openat resumed>) = 4 [pid 5215] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5214] <... creat resumed>) = 4 [pid 5078] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5216] ioctl(4, LOOP_SET_FD, 3 [pid 5215] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5214] rename("./bus", "./file2" [pid 5076] getdents64(4, [pid 5214] <... rename resumed>) = -1 EEXIST (File exists) [pid 5078] <... openat resumed>) = 3 [pid 5215] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5214] memfd_create("syzkaller", 0) = 5 [pid 5214] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5078] ioctl(3, LOOP_CLR_FD [pid 5076] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5076] getdents64(4, [pid 5215] <... symlink resumed>) = 0 [pid 5076] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5076] close(4) = 0 [pid 5215] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5076] rmdir("./20/bus" [pid 5214] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5076] <... rmdir resumed>) = 0 [pid 5076] umount2("./20/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5076] newfstatat(AT_FDCWD, "./20/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5076] unlink("./20/binderfs") = 0 [pid 5076] getdents64(3, 0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5076] close(3 [pid 5215] <... creat resumed>) = 4 [pid 5076] <... close resumed>) = 0 [pid 5076] rmdir("./20") = 0 [pid 5215] rename("./bus", "./file2" [pid 5076] mkdir("./21", 0777 [pid 5215] <... rename resumed>) = -1 EEXIST (File exists) [pid 5076] <... mkdir resumed>) = 0 [pid 5215] memfd_create("syzkaller", 0 [pid 5076] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5215] <... memfd_create resumed>) = 5 [pid 5076] ioctl(3, LOOP_CLR_FD [pid 5215] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5216] <... ioctl resumed>) = 0 [pid 5215] <... mmap resumed>) = 0x7f8a3a600000 [pid 5216] close(3) = 0 [pid 5216] close(4) = 0 [pid 5216] mkdir("./bus", 0777) = 0 [pid 5216] mount("/dev/loop4", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5215] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... mount resumed>) = 0 [pid 5216] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5215] <... write resumed>) = 524288 [pid 5214] <... write resumed>) = 524288 [pid 5213] <... write resumed>) = 524288 [ 126.329643][ T5216] loop4: detected capacity change from 0 to 1024 [pid 5216] <... openat resumed>) = 3 [pid 5216] chdir("./bus") = 0 [pid 5216] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5216] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5214] munmap(0x7f8a3a600000, 138412032 [pid 5213] munmap(0x7f8a3a600000, 138412032 [pid 5076] <... ioctl resumed>) = 0 [pid 5216] <... symlink resumed>) = 0 [pid 5214] <... munmap resumed>) = 0 [pid 5216] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5213] <... munmap resumed>) = 0 [pid 5215] munmap(0x7f8a3a600000, 138412032 [pid 5078] <... ioctl resumed>) = 0 [pid 5215] <... munmap resumed>) = 0 [pid 5214] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5215] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5213] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5214] close(5 [pid 5078] close(3 [pid 5215] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5078] <... close resumed>) = 0 [pid 5216] <... creat resumed>) = 4 [pid 5213] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5216] rename("./bus", "./file2" [pid 5215] close(5 [pid 5214] <... close resumed>) = 0 [pid 5213] close(5 [pid 5078] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5216] <... rename resumed>) = -1 EEXIST (File exists) [pid 5076] close(3) = 0 [pid 5076] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5216] memfd_create("syzkaller", 0 [pid 5078] <... clone resumed>, child_tidptr=0x555555c35650) = 5217 [pid 5216] <... memfd_create resumed>) = 5 [pid 5216] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5216] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5218 attached ./strace-static-x86_64: Process 5217 attached [pid 5215] <... close resumed>) = 0 [pid 5214] creat("./file1", 000 [pid 5213] <... close resumed>) = 0 [pid 5218] set_robust_list(0x555555c35660, 24 [pid 5217] set_robust_list(0x555555c35660, 24 [pid 5215] creat("./file1", 000 [pid 5213] creat("./file1", 000 [pid 5076] <... clone resumed>, child_tidptr=0x555555c35650) = 5218 [pid 5218] <... set_robust_list resumed>) = 0 [pid 5217] <... set_robust_list resumed>) = 0 [pid 5215] <... creat resumed>) = 5 [pid 5218] chdir("./21" [pid 5217] chdir("./22" [pid 5215] exit_group(0 [pid 5218] <... chdir resumed>) = 0 [pid 5217] <... chdir resumed>) = 0 [pid 5215] <... exit_group resumed>) = ? [pid 5217] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5218] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5217] <... prctl resumed>) = 0 [pid 5215] +++ exited with 0 +++ [pid 5213] <... creat resumed>) = 5 [pid 5218] <... prctl resumed>) = 0 [pid 5217] setpgid(0, 0 [pid 5216] <... write resumed>) = 524288 [pid 5214] <... creat resumed>) = 5 [pid 5213] exit_group(0 [pid 5077] --- 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 5213] <... exit_group resumed>) = ? [pid 5217] <... setpgid resumed>) = 0 [pid 5218] setpgid(0, 0) = 0 [pid 5217] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5214] exit_group(0 [pid 5077] umount2("./21", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5218] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] openat(AT_FDCWD, "./21", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5218] <... openat resumed>) = 3 [pid 5214] <... exit_group resumed>) = ? [pid 5077] <... openat resumed>) = 3 [pid 5077] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5218] write(3, "1000", 4) = 4 [pid 5218] close(3) = 0 [pid 5218] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5216] munmap(0x7f8a3a600000, 138412032 [pid 5214] +++ exited with 0 +++ [pid 5217] <... openat resumed>) = 3 [pid 5081] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5214, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5077] getdents64(3, [pid 5216] <... munmap resumed>) = 0 [pid 5218] memfd_create("syzkaller", 0 [pid 5077] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5081] umount2("./21", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] umount2("./21/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5218] <... memfd_create resumed>) = 3 [pid 5081] openat(AT_FDCWD, "./21", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5218] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5216] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5218] <... mmap resumed>) = 0x7f8a3a600000 [pid 5216] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5081] <... openat resumed>) = 3 [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] write(3, "1000", 4 [pid 5216] close(5 [pid 5213] +++ exited with 0 +++ [pid 5081] newfstatat(3, "", [pid 5217] <... write resumed>) = 4 [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5217] close(3 [pid 5075] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5213, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5217] <... close resumed>) = 0 [pid 5217] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5081] getdents64(3, [pid 5075] umount2("./21", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5081] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] openat(AT_FDCWD, "./21", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5081] umount2("./21/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5075] getdents64(3, 0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5075] umount2("./21/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5216] <... close resumed>) = 0 [pid 5077] <... umount2 resumed>) = 0 [pid 5217] memfd_create("syzkaller", 0 [pid 5216] creat("./file1", 000 [pid 5218] <... write resumed>) = 524288 [pid 5217] <... memfd_create resumed>) = 3 [pid 5081] <... umount2 resumed>) = 0 [pid 5217] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5218] munmap(0x7f8a3a600000, 138412032) = 0 [pid 5217] <... mmap resumed>) = 0x7f8a3a600000 [pid 5081] umount2("./21/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] umount2("./21/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] <... umount2 resumed>) = 0 [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 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] umount2("./21/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] newfstatat(AT_FDCWD, "./21/bus", [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5081] newfstatat(AT_FDCWD, "./21/bus", [pid 5075] newfstatat(AT_FDCWD, "./21/bus", [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5218] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5075] umount2("./21/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5218] <... openat resumed>) = 4 [pid 5081] umount2("./21/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] umount2("./21/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5218] ioctl(4, LOOP_SET_FD, 3 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] openat(AT_FDCWD, "./21/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5081] openat(AT_FDCWD, "./21/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5077] openat(AT_FDCWD, "./21/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5081] <... openat resumed>) = 4 [pid 5077] <... openat resumed>) = 4 [pid 5075] <... openat resumed>) = 4 [pid 5216] <... creat resumed>) = 5 [pid 5081] newfstatat(4, "", [pid 5077] newfstatat(4, "", [pid 5075] newfstatat(4, "", [pid 5216] exit_group(0 [pid 5217] <... write resumed>) = 524288 [pid 5216] <... exit_group resumed>) = ? [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5077] getdents64(4, [pid 5081] getdents64(4, [pid 5075] getdents64(4, [pid 5077] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5075] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5081] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5077] getdents64(4, [pid 5216] +++ exited with 0 +++ [pid 5079] --- 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 5079] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5079] umount2("./21", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5079] openat(AT_FDCWD, "./21", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5218] <... ioctl resumed>) = 0 [pid 5079] <... openat resumed>) = 3 [pid 5218] close(3 [pid 5079] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5079] getdents64(3, 0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5079] umount2("./21/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5218] <... close resumed>) = 0 [pid 5077] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5075] getdents64(4, [pid 5081] getdents64(4, [pid 5077] close(4 [pid 5075] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5081] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5081] close(4 [pid 5075] close(4 [pid 5218] close(4 [pid 5081] <... close resumed>) = 0 [pid 5077] <... close resumed>) = 0 [pid 5075] <... close resumed>) = 0 [pid 5218] <... close resumed>) = 0 [pid 5081] rmdir("./21/bus" [pid 5077] rmdir("./21/bus" [pid 5075] rmdir("./21/bus" [pid 5218] mkdir("./bus", 0777) = 0 [pid 5075] <... rmdir resumed>) = 0 [pid 5218] mount("/dev/loop1", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5081] <... rmdir resumed>) = 0 [pid 5077] <... rmdir resumed>) = 0 [pid 5075] umount2("./21/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5081] umount2("./21/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] umount2("./21/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] newfstatat(AT_FDCWD, "./21/binderfs", [pid 5217] munmap(0x7f8a3a600000, 138412032 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5079] <... umount2 resumed>) = 0 [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5217] <... munmap resumed>) = 0 [pid 5081] newfstatat(AT_FDCWD, "./21/binderfs", [pid 5077] newfstatat(AT_FDCWD, "./21/binderfs", [pid 5075] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5077] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5075] unlink("./21/binderfs" [ 126.588045][ T5218] loop1: detected capacity change from 0 to 1024 [pid 5077] unlink("./21/binderfs" [pid 5217] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5075] <... unlink resumed>) = 0 [pid 5217] <... openat resumed>) = 4 [pid 5079] umount2("./21/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] <... unlink resumed>) = 0 [pid 5075] getdents64(3, [pid 5081] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] getdents64(3, [pid 5081] unlink("./21/binderfs" [pid 5079] newfstatat(AT_FDCWD, "./21/bus", [pid 5075] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5077] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5075] close(3 [pid 5217] ioctl(4, LOOP_SET_FD, 3 [pid 5081] <... unlink resumed>) = 0 [pid 5077] close(3 [pid 5075] <... close resumed>) = 0 [pid 5079] umount2("./21/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] <... close resumed>) = 0 [pid 5075] rmdir("./21" [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5081] getdents64(3, [pid 5077] rmdir("./21" [pid 5075] <... rmdir resumed>) = 0 [pid 5218] <... mount resumed>) = 0 [pid 5079] openat(AT_FDCWD, "./21/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5218] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5081] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5079] <... openat resumed>) = 4 [pid 5077] <... rmdir resumed>) = 0 [pid 5075] mkdir("./22", 0777 [pid 5081] close(3 [pid 5077] mkdir("./22", 0777 [pid 5218] <... openat resumed>) = 3 [pid 5079] newfstatat(4, "", [pid 5075] <... mkdir resumed>) = 0 [pid 5218] chdir("./bus" [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5218] <... chdir resumed>) = 0 [pid 5079] getdents64(4, [pid 5077] <... mkdir resumed>) = 0 [pid 5081] <... close resumed>) = 0 [pid 5079] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5077] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5075] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5081] rmdir("./21" [pid 5218] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5079] getdents64(4, [pid 5075] <... openat resumed>) = 3 [pid 5218] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5079] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5077] <... openat resumed>) = 3 [pid 5218] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5079] close(4 [pid 5077] ioctl(3, LOOP_CLR_FD [pid 5075] ioctl(3, LOOP_CLR_FD [pid 5217] <... ioctl resumed>) = 0 [pid 5081] <... rmdir resumed>) = 0 [pid 5079] <... close resumed>) = 0 [pid 5077] <... ioctl resumed>) = 0 [pid 5077] close(3 [pid 5079] rmdir("./21/bus") = 0 [pid 5218] <... symlink resumed>) = 0 [pid 5079] umount2("./21/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5218] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5079] newfstatat(AT_FDCWD, "./21/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5079] unlink("./21/binderfs") = 0 [pid 5079] getdents64(3, 0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5079] close(3) = 0 [pid 5079] rmdir("./21" [pid 5218] <... creat resumed>) = 4 [pid 5079] <... rmdir resumed>) = 0 [pid 5218] rename("./bus", "./file2") = -1 EEXIST (File exists) [pid 5218] memfd_create("syzkaller", 0) = 5 [pid 5218] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5079] mkdir("./22", 0777 [pid 5218] <... mmap resumed>) = 0x7f8a3a600000 [pid 5079] <... mkdir resumed>) = 0 [pid 5079] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5079] ioctl(3, LOOP_CLR_FD) = 0 [pid 5079] close(3) = 0 [pid 5079] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5217] close(3 [pid 5081] mkdir("./22", 0777) = 0 [pid 5081] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5217] <... close resumed>) = 0 [pid 5217] close(4) = 0 [pid 5081] ioctl(3, LOOP_CLR_FD [pid 5077] <... close resumed>) = 0 [pid 5217] mkdir("./bus", 0777 [pid 5218] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 [ 126.652813][ T5217] loop3: detected capacity change from 0 to 1024 [pid 5217] mount("/dev/loop3", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, ""./strace-static-x86_64: Process 5219 attached [pid 5218] <... write resumed>) = 524288 [pid 5075] <... ioctl resumed>) = 0 [pid 5219] set_robust_list(0x555555c35660, 24) = 0 [pid 5079] <... clone resumed>, child_tidptr=0x555555c35650) = 5219 [pid 5219] chdir("./22") = 0 [pid 5077] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5219] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5219] setpgid(0, 0) = 0 [pid 5219] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5219] write(3, "1000", 4./strace-static-x86_64: Process 5220 attached ) = 4 [pid 5219] close(3 [pid 5220] set_robust_list(0x555555c35660, 24 [pid 5219] <... close resumed>) = 0 [pid 5077] <... clone resumed>, child_tidptr=0x555555c35650) = 5220 [pid 5219] symlink("/dev/binderfs", "./binderfs" [pid 5220] <... set_robust_list resumed>) = 0 [pid 5220] chdir("./22" [pid 5219] <... symlink resumed>) = 0 [pid 5220] <... chdir resumed>) = 0 [pid 5219] memfd_create("syzkaller", 0 [pid 5220] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5218] munmap(0x7f8a3a600000, 138412032 [pid 5217] <... mount resumed>) = 0 [pid 5075] close(3 [pid 5220] <... prctl resumed>) = 0 [pid 5219] <... memfd_create resumed>) = 3 [pid 5217] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5220] setpgid(0, 0 [pid 5219] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5217] <... openat resumed>) = 3 [pid 5220] <... setpgid resumed>) = 0 [pid 5217] chdir("./bus" [pid 5220] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5219] <... mmap resumed>) = 0x7f8a3a600000 [pid 5217] <... chdir resumed>) = 0 [pid 5220] <... openat resumed>) = 3 [pid 5217] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5220] write(3, "1000", 4 [pid 5218] <... munmap resumed>) = 0 [pid 5217] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5075] <... close resumed>) = 0 [pid 5220] <... write resumed>) = 4 [pid 5217] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5075] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5220] close(3 [pid 5218] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5220] <... close resumed>) = 0 [pid 5220] symlink("/dev/binderfs", "./binderfs" [pid 5217] <... symlink resumed>) = 0 [pid 5218] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5217] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [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 5218] close(5 [pid 5220] <... symlink resumed>) = 0 [pid 5220] memfd_create("syzkaller", 0) = 3 ./strace-static-x86_64: Process 5221 attached [pid 5220] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5075] <... clone resumed>, child_tidptr=0x555555c35650) = 5221 [pid 5220] <... mmap resumed>) = 0x7f8a3a600000 [pid 5217] <... creat resumed>) = 4 [pid 5217] rename("./bus", "./file2") = -1 EEXIST (File exists) [pid 5219] <... write resumed>) = 524288 [pid 5217] memfd_create("syzkaller", 0 [pid 5221] set_robust_list(0x555555c35660, 24 [pid 5217] <... memfd_create resumed>) = 5 [pid 5217] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5218] <... close resumed>) = 0 [pid 5217] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... set_robust_list 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 5221] chdir("./22" [pid 5220] <... write resumed>) = 524288 [pid 5218] creat("./file1", 000 [pid 5221] <... chdir resumed>) = 0 [pid 5221] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5217] <... write resumed>) = 524288 [pid 5081] <... ioctl resumed>) = 0 [pid 5221] <... prctl resumed>) = 0 [pid 5219] munmap(0x7f8a3a600000, 138412032 [pid 5221] setpgid(0, 0 [pid 5219] <... munmap resumed>) = 0 [pid 5081] close(3 [pid 5221] <... setpgid resumed>) = 0 [pid 5218] <... creat resumed>) = 5 [pid 5081] <... close resumed>) = 0 [pid 5219] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5218] exit_group(0 [pid 5221] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5218] <... exit_group resumed>) = ? [pid 5081] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5222 attached [pid 5221] <... openat resumed>) = 3 [pid 5219] <... openat resumed>) = 4 [pid 5218] +++ exited with 0 +++ [pid 5222] set_robust_list(0x555555c35660, 24 [pid 5221] write(3, "1000", 4 [pid 5219] ioctl(4, LOOP_SET_FD, 3 [pid 5081] <... clone resumed>, child_tidptr=0x555555c35650) = 5222 [pid 5076] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5218, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5220] munmap(0x7f8a3a600000, 138412032) = 0 [pid 5222] <... set_robust_list resumed>) = 0 [pid 5221] <... write resumed>) = 4 [pid 5219] <... ioctl resumed>) = 0 [pid 5217] munmap(0x7f8a3a600000, 138412032 [pid 5076] restart_syscall(<... resuming interrupted clone ...> [pid 5221] close(3 [pid 5076] <... restart_syscall resumed>) = 0 [pid 5222] chdir("./22" [pid 5221] <... close resumed>) = 0 [pid 5219] close(3 [pid 5222] <... chdir resumed>) = 0 [pid 5221] symlink("/dev/binderfs", "./binderfs" [pid 5219] <... close resumed>) = 0 [pid 5222] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5220] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5217] <... munmap resumed>) = 0 [pid 5222] <... prctl resumed>) = 0 [pid 5076] umount2("./21", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5219] close(4 [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5219] <... close resumed>) = 0 [pid 5222] setpgid(0, 0 [pid 5219] mkdir("./bus", 0777 [pid 5221] <... symlink resumed>) = 0 [pid 5076] openat(AT_FDCWD, "./21", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5222] <... setpgid resumed>) = 0 [pid 5220] <... openat resumed>) = 4 [pid 5217] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5219] <... mkdir resumed>) = 0 [pid 5217] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5220] ioctl(4, LOOP_SET_FD, 3 [pid 5076] <... openat resumed>) = 3 [pid 5222] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5076] newfstatat(3, "", [pid 5222] <... openat resumed>) = 3 [pid 5221] memfd_create("syzkaller", 0 [pid 5219] mount("/dev/loop4", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5222] write(3, "1000", 4 [pid 5221] <... memfd_create resumed>) = 3 [pid 5076] getdents64(3, [pid 5217] close(5 [pid 5222] <... write resumed>) = 4 [pid 5221] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5219] <... mount resumed>) = 0 [pid 5217] <... close resumed>) = 0 [pid 5076] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5222] close(3 [pid 5219] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5076] umount2("./21/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5222] <... close resumed>) = 0 [pid 5219] <... openat resumed>) = 3 [pid 5222] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5221] <... mmap resumed>) = 0x7f8a3a600000 [pid 5220] <... ioctl resumed>) = 0 [pid 5219] chdir("./bus" [pid 5076] <... umount2 resumed>) = 0 [pid 5217] creat("./file1", 000 [pid 5222] memfd_create("syzkaller", 0 [pid 5219] <... chdir resumed>) = 0 [pid 5220] close(3) = 0 [pid 5220] close(4) = 0 [pid 5220] mkdir("./bus", 0777) = 0 [pid 5219] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5217] <... creat resumed>) = 5 [pid 5076] umount2("./21/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5220] mount("/dev/loop2", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5217] exit_group(0 [pid 5219] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5222] <... memfd_create resumed>) = 3 [pid 5219] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5217] <... exit_group resumed>) = ? [ 126.814506][ T5219] loop4: detected capacity change from 0 to 1024 [ 126.847853][ T5220] loop2: detected capacity change from 0 to 1024 [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5222] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5217] +++ exited with 0 +++ [pid 5078] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5217, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5222] <... mmap resumed>) = 0x7f8a3a600000 [pid 5078] restart_syscall(<... resuming interrupted clone ...> [pid 5076] newfstatat(AT_FDCWD, "./21/bus", [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 5078] <... restart_syscall resumed>) = 0 [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5076] umount2("./21/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5078] umount2("./22", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5078] openat(AT_FDCWD, "./22", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5078] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5078] getdents64(3, 0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5078] umount2("./22/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5221] <... write resumed>) = 524288 [pid 5076] openat(AT_FDCWD, "./21/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5220] <... mount resumed>) = 0 [pid 5219] <... symlink resumed>) = 0 [pid 5078] <... umount2 resumed>) = 0 [pid 5220] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5219] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5220] <... openat resumed>) = 3 [pid 5076] <... openat resumed>) = 4 [pid 5220] chdir("./bus") = 0 [pid 5220] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5076] newfstatat(4, "", [pid 5220] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [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 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5219] <... creat resumed>) = 4 [pid 5076] getdents64(4, 0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5220] <... symlink resumed>) = 0 [pid 5219] rename("./bus", "./file2" [pid 5076] getdents64(4, 0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5076] close(4 [pid 5219] <... rename resumed>) = -1 EEXIST (File exists) [pid 5078] umount2("./22/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] <... close resumed>) = 0 [pid 5220] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5219] memfd_create("syzkaller", 0 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5219] <... memfd_create resumed>) = 5 [pid 5078] newfstatat(AT_FDCWD, "./22/bus", [pid 5076] rmdir("./21/bus" [pid 5219] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5219] <... mmap resumed>) = 0x7f8a3a600000 [pid 5078] umount2("./22/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5219] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5076] <... rmdir resumed>) = 0 [pid 5078] openat(AT_FDCWD, "./22/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5076] umount2("./21/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5078] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5076] newfstatat(AT_FDCWD, "./21/binderfs", [pid 5220] <... creat resumed>) = 4 [pid 5078] getdents64(4, [pid 5076] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5221] munmap(0x7f8a3a600000, 138412032 [pid 5220] rename("./bus", "./file2" [pid 5078] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5076] unlink("./21/binderfs" [pid 5221] <... munmap resumed>) = 0 [pid 5220] <... rename resumed>) = -1 EEXIST (File exists) [pid 5078] getdents64(4, [pid 5221] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5220] memfd_create("syzkaller", 0 [pid 5078] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5076] <... unlink resumed>) = 0 [pid 5220] <... memfd_create resumed>) = 5 [pid 5219] <... write resumed>) = 524288 [pid 5078] close(4 [pid 5076] getdents64(3, [pid 5220] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5078] <... close resumed>) = 0 [pid 5220] <... mmap resumed>) = 0x7f8a3a600000 [pid 5078] rmdir("./22/bus" [pid 5076] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5221] <... openat resumed>) = 4 [pid 5078] <... rmdir resumed>) = 0 [pid 5222] <... write resumed>) = 524288 [pid 5221] ioctl(4, LOOP_SET_FD, 3 [pid 5220] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5076] close(3 [pid 5078] umount2("./22/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5078] newfstatat(AT_FDCWD, "./22/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5078] unlink("./22/binderfs") = 0 [pid 5076] <... close resumed>) = 0 [pid 5078] getdents64(3, 0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5078] close(3) = 0 [pid 5078] rmdir("./22") = 0 [pid 5078] mkdir("./23", 0777) = 0 [pid 5078] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5078] ioctl(3, LOOP_CLR_FD [pid 5219] munmap(0x7f8a3a600000, 138412032) = 0 [pid 5076] rmdir("./21" [pid 5222] munmap(0x7f8a3a600000, 138412032 [pid 5076] <... rmdir resumed>) = 0 [pid 5076] mkdir("./22", 0777 [pid 5222] <... munmap resumed>) = 0 [pid 5221] <... ioctl resumed>) = 0 [pid 5220] <... write resumed>) = 524288 [pid 5219] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5076] <... mkdir resumed>) = 0 [pid 5221] close(3 [pid 5076] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5222] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5221] <... close resumed>) = 0 [pid 5219] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5076] <... openat resumed>) = 3 [pid 5076] ioctl(3, LOOP_CLR_FD [pid 5219] close(5 [pid 5222] <... openat resumed>) = 4 [pid 5221] close(4 [pid 5222] ioctl(4, LOOP_SET_FD, 3 [pid 5221] <... close resumed>) = 0 [pid 5221] mkdir("./bus", 0777) = 0 [pid 5220] munmap(0x7f8a3a600000, 138412032 [pid 5221] mount("/dev/loop0", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5078] <... ioctl resumed>) = 0 [pid 5220] <... munmap resumed>) = 0 [pid 5219] <... close resumed>) = 0 [pid 5219] creat("./file1", 000 [pid 5220] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5220] close(5 [pid 5222] <... ioctl resumed>) = 0 [pid 5076] <... ioctl resumed>) = 0 [pid 5222] close(3 [pid 5078] close(3) = 0 [pid 5222] <... close resumed>) = 0 [pid 5078] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5222] close(4) = 0 [pid 5219] <... creat resumed>) = 5 [ 126.948997][ T5221] loop0: detected capacity change from 0 to 1024 [ 126.982488][ T5222] loop5: detected capacity change from 0 to 1024 [pid 5222] mkdir("./bus", 0777) = 0 [pid 5219] exit_group(0 [pid 5222] mount("/dev/loop5", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5220] <... close resumed>) = 0 [pid 5219] <... exit_group resumed>) = ? [pid 5219] +++ exited with 0 +++ [pid 5078] <... clone resumed>, child_tidptr=0x555555c35650) = 5223 [pid 5079] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5219, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- ./strace-static-x86_64: Process 5223 attached [pid 5079] umount2("./22", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5223] set_robust_list(0x555555c35660, 24) = 0 [pid 5223] chdir("./23" [pid 5222] <... mount resumed>) = 0 [pid 5221] <... mount resumed>) = 0 [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5076] close(3 [pid 5221] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5079] openat(AT_FDCWD, "./22", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5076] <... close resumed>) = 0 [pid 5220] creat("./file1", 000 [pid 5222] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5221] <... openat resumed>) = 3 [pid 5079] <... openat resumed>) = 3 [pid 5076] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5079] newfstatat(3, "", [pid 5223] <... chdir resumed>) = 0 [pid 5223] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5223] setpgid(0, 0) = 0 [pid 5223] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5079] getdents64(3, [pid 5076] <... clone resumed>, child_tidptr=0x555555c35650) = 5224 [pid 5222] <... openat resumed>) = 3 [pid 5079] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5222] chdir("./bus" [pid 5221] chdir("./bus" [pid 5079] umount2("./22/bus", MNT_DETACH|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 5224 attached [pid 5224] set_robust_list(0x555555c35660, 24 [pid 5223] <... openat resumed>) = 3 [pid 5222] <... chdir resumed>) = 0 [pid 5221] <... chdir resumed>) = 0 [pid 5224] <... set_robust_list resumed>) = 0 [pid 5222] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5221] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5224] chdir("./22" [pid 5223] write(3, "1000", 4 [pid 5222] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5221] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5220] <... creat resumed>) = 5 [pid 5224] <... chdir resumed>) = 0 [pid 5222] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5221] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5223] <... write resumed>) = 4 [pid 5220] exit_group(0 [pid 5224] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5222] <... symlink resumed>) = 0 [pid 5221] <... symlink resumed>) = 0 [pid 5224] <... prctl resumed>) = 0 [pid 5221] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5224] setpgid(0, 0 [pid 5223] close(3 [pid 5220] <... exit_group resumed>) = ? [pid 5220] +++ exited with 0 +++ [pid 5077] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5220, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5077] umount2("./22", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5223] <... close resumed>) = 0 [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5223] symlink("/dev/binderfs", "./binderfs" [pid 5077] openat(AT_FDCWD, "./22", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5224] <... setpgid resumed>) = 0 [pid 5223] <... symlink resumed>) = 0 [pid 5222] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5077] <... openat resumed>) = 3 [pid 5077] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5221] <... creat resumed>) = 4 [pid 5077] getdents64(3, 0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5224] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5077] umount2("./22/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5221] rename("./bus", "./file2" [pid 5223] memfd_create("syzkaller", 0) = 3 [pid 5221] <... rename resumed>) = -1 EEXIST (File exists) [pid 5223] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [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 5224] <... openat resumed>) = 3 [pid 5221] memfd_create("syzkaller", 0 [pid 5079] <... umount2 resumed>) = 0 [pid 5224] write(3, "1000", 4 [pid 5222] <... creat resumed>) = 4 [pid 5221] <... memfd_create resumed>) = 5 [pid 5079] umount2("./22/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] <... umount2 resumed>) = 0 [pid 5224] <... write resumed>) = 4 [pid 5222] rename("./bus", "./file2" [pid 5221] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] umount2("./22/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5221] <... mmap resumed>) = 0x7f8a3a600000 [pid 5224] close(3 [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5224] <... close resumed>) = 0 [pid 5079] newfstatat(AT_FDCWD, "./22/bus", [pid 5077] newfstatat(AT_FDCWD, "./22/bus", [pid 5224] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5223] <... write resumed>) = 524288 [pid 5222] <... rename resumed>) = -1 EEXIST (File exists) [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5221] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] memfd_create("syzkaller", 0 [pid 5077] umount2("./22/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5222] memfd_create("syzkaller", 0 [pid 5079] umount2("./22/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] openat(AT_FDCWD, "./22/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5224] <... memfd_create resumed>) = 3 [pid 5077] <... openat resumed>) = 4 [pid 5222] <... memfd_create resumed>) = 5 [pid 5077] newfstatat(4, "", [pid 5222] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5224] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5222] <... mmap resumed>) = 0x7f8a3a600000 [pid 5079] openat(AT_FDCWD, "./22/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5077] getdents64(4, [pid 5079] <... openat resumed>) = 4 [pid 5224] <... mmap resumed>) = 0x7f8a3a600000 [pid 5077] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5079] newfstatat(4, "", [pid 5077] getdents64(4, 0x555555c3e730 /* 0 entries */, 32768) = 0 [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] munmap(0x7f8a3a600000, 138412032 [pid 5222] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5077] close(4 [pid 5223] <... munmap resumed>) = 0 [pid 5077] <... close resumed>) = 0 [pid 5223] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5077] rmdir("./22/bus" [pid 5223] ioctl(4, LOOP_SET_FD, 3 [pid 5221] <... write resumed>) = 524288 [pid 5079] getdents64(4, [pid 5077] <... rmdir resumed>) = 0 [pid 5223] <... ioctl resumed>) = 0 [pid 5224] <... write resumed>) = 524288 [pid 5222] <... write resumed>) = 524288 [pid 5221] munmap(0x7f8a3a600000, 138412032 [pid 5079] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5077] umount2("./22/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5079] getdents64(4, [pid 5223] close(3) = 0 [pid 5223] close(4) = 0 [pid 5223] mkdir("./bus", 0777 [pid 5224] munmap(0x7f8a3a600000, 138412032 [pid 5223] <... mkdir resumed>) = 0 [pid 5222] munmap(0x7f8a3a600000, 138412032 [pid 5221] <... munmap resumed>) = 0 [pid 5079] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5077] newfstatat(AT_FDCWD, "./22/binderfs", [pid 5223] mount("/dev/loop3", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5079] close(4 [pid 5077] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5079] <... close resumed>) = 0 [pid 5077] unlink("./22/binderfs" [pid 5079] rmdir("./22/bus" [pid 5077] <... unlink resumed>) = 0 [pid 5077] getdents64(3, [pid 5079] <... rmdir resumed>) = 0 [pid 5077] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5224] <... munmap resumed>) = 0 [pid 5077] close(3) = 0 [pid 5222] <... munmap resumed>) = 0 [pid 5077] rmdir("./22") = 0 [pid 5079] umount2("./22/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5224] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5222] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] mkdir("./23", 0777 [pid 5222] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5079] newfstatat(AT_FDCWD, "./22/binderfs", [pid 5224] <... openat resumed>) = 4 [pid 5223] <... mount resumed>) = 0 [pid 5221] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5079] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5223] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5224] ioctl(4, LOOP_SET_FD, 3 [pid 5223] <... openat resumed>) = 3 [pid 5222] close(5 [pid 5221] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5079] unlink("./22/binderfs" [pid 5223] chdir("./bus" [pid 5077] <... mkdir resumed>) = 0 [pid 5223] <... chdir resumed>) = 0 [pid 5223] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5223] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5222] <... close resumed>) = 0 [pid 5221] close(5 [pid 5079] <... unlink resumed>) = 0 [pid 5077] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5223] <... symlink resumed>) = 0 [pid 5223] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5077] <... openat resumed>) = 3 [pid 5079] getdents64(3, [pid 5077] ioctl(3, LOOP_CLR_FD [pid 5224] <... ioctl resumed>) = 0 [pid 5224] close(3) = 0 [pid 5224] close(4 [pid 5222] creat("./file1", 000 [pid 5221] <... close resumed>) = 0 [pid 5079] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5079] close(3 [pid 5224] <... close resumed>) = 0 [ 127.160413][ T5223] loop3: detected capacity change from 0 to 1024 [ 127.198922][ T5224] loop1: detected capacity change from 0 to 1024 [pid 5224] mkdir("./bus", 0777 [pid 5079] <... close resumed>) = 0 [pid 5224] <... mkdir resumed>) = 0 [pid 5223] <... creat resumed>) = 4 [pid 5222] <... creat resumed>) = 5 [pid 5221] creat("./file1", 000 [pid 5079] rmdir("./22") = 0 [pid 5079] mkdir("./23", 0777 [pid 5222] exit_group(0 [pid 5223] rename("./bus", "./file2" [pid 5222] <... exit_group resumed>) = ? [pid 5079] <... mkdir resumed>) = 0 [pid 5223] <... rename resumed>) = -1 EEXIST (File exists) [pid 5222] +++ exited with 0 +++ [pid 5224] mount("/dev/loop1", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5223] memfd_create("syzkaller", 0 [pid 5221] <... creat resumed>) = 5 [pid 5079] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5223] <... memfd_create resumed>) = 5 [pid 5221] exit_group(0 [pid 5081] --- 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 5079] <... openat resumed>) = 3 [pid 5221] <... exit_group resumed>) = ? [pid 5079] ioctl(3, LOOP_CLR_FD [pid 5223] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5081] umount2("./22", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] <... ioctl resumed>) = 0 [pid 5223] <... mmap resumed>) = 0x7f8a3a600000 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5223] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] +++ exited with 0 +++ [pid 5081] openat(AT_FDCWD, "./22", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5079] close(3 [pid 5081] <... openat resumed>) = 3 [pid 5079] <... close resumed>) = 0 [pid 5075] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5221, si_uid=0, si_status=0, si_utime=0, si_stime=8 /* 0.08 s */} --- [pid 5079] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5081] newfstatat(3, "", [pid 5075] umount2("./22", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5081] getdents64(3, [pid 5075] openat(AT_FDCWD, "./22", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5081] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5075] <... openat resumed>) = 3 [pid 5079] <... clone resumed>, child_tidptr=0x555555c35650) = 5225 [pid 5075] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5075] getdents64(3, 0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5081] umount2("./22/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] umount2("./22/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] <... ioctl resumed>) = 0 ./strace-static-x86_64: Process 5225 attached [pid 5225] set_robust_list(0x555555c35660, 24) = 0 [pid 5223] <... write resumed>) = 524288 [pid 5225] chdir("./23" [pid 5224] <... mount resumed>) = 0 [pid 5077] close(3 [pid 5225] <... chdir resumed>) = 0 [pid 5077] <... close resumed>) = 0 [pid 5224] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY) = 3 [pid 5224] chdir("./bus") = 0 [pid 5224] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5225] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5224] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5225] <... prctl resumed>) = 0 [pid 5224] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5225] setpgid(0, 0) = 0 [pid 5077] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5223] munmap(0x7f8a3a600000, 138412032) = 0 [pid 5224] <... symlink resumed>) = 0 [pid 5223] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = -1 EBUSY (Device or resource busy) ./strace-static-x86_64: Process 5226 attached [pid 5225] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5075] <... umount2 resumed>) = 0 [pid 5226] set_robust_list(0x555555c35660, 24 [pid 5077] <... clone resumed>, child_tidptr=0x555555c35650) = 5226 [pid 5223] close(5 [pid 5226] <... set_robust_list resumed>) = 0 [pid 5225] <... openat resumed>) = 3 [pid 5224] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5223] <... close resumed>) = 0 [pid 5226] chdir("./23" [pid 5225] write(3, "1000", 4 [pid 5081] <... umount2 resumed>) = 0 [pid 5226] <... chdir resumed>) = 0 [pid 5225] <... write resumed>) = 4 [pid 5075] umount2("./22/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5225] close(3 [pid 5226] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] newfstatat(AT_FDCWD, "./22/bus", [pid 5226] <... prctl resumed>) = 0 [pid 5225] <... close resumed>) = 0 [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5226] setpgid(0, 0 [pid 5225] symlink("/dev/binderfs", "./binderfs" [pid 5226] <... setpgid resumed>) = 0 [pid 5226] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5224] <... creat resumed>) = 4 [pid 5075] umount2("./22/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5224] rename("./bus", "./file2" [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5226] <... openat resumed>) = 3 [pid 5225] <... symlink resumed>) = 0 [pid 5224] <... rename resumed>) = -1 EEXIST (File exists) [pid 5075] openat(AT_FDCWD, "./22/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5225] memfd_create("syzkaller", 0 [pid 5226] write(3, "1000", 4 [pid 5081] umount2("./22/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] newfstatat(4, "", [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5224] memfd_create("syzkaller", 0 [pid 5081] newfstatat(AT_FDCWD, "./22/bus", [pid 5075] getdents64(4, [pid 5224] <... memfd_create resumed>) = 5 [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5075] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5224] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5081] umount2("./22/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] getdents64(4, [pid 5224] <... mmap resumed>) = 0x7f8a3a600000 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5224] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5081] openat(AT_FDCWD, "./22/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5075] close(4 [pid 5226] <... write resumed>) = 4 [pid 5226] close(3) = 0 [pid 5223] creat("./file1", 000 [pid 5081] <... openat resumed>) = 4 [pid 5075] <... close resumed>) = 0 [pid 5226] symlink("/dev/binderfs", "./binderfs" [pid 5225] <... memfd_create resumed>) = 3 [pid 5081] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5075] rmdir("./22/bus" [pid 5226] <... symlink resumed>) = 0 [pid 5225] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5081] getdents64(4, [pid 5075] <... rmdir resumed>) = 0 [pid 5081] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5075] umount2("./22/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5226] memfd_create("syzkaller", 0 [pid 5225] <... mmap resumed>) = 0x7f8a3a600000 [pid 5081] getdents64(4, 0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5081] close(4 [pid 5075] newfstatat(AT_FDCWD, "./22/binderfs", [pid 5081] <... close resumed>) = 0 [pid 5075] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5081] rmdir("./22/bus" [pid 5075] unlink("./22/binderfs" [pid 5226] <... memfd_create resumed>) = 3 [pid 5081] <... rmdir resumed>) = 0 [pid 5075] <... unlink resumed>) = 0 [pid 5226] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [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 5223] <... creat resumed>) = 5 [pid 5081] umount2("./22/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] getdents64(3, [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5081] newfstatat(AT_FDCWD, "./22/binderfs", [pid 5075] close(3 [pid 5081] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5075] <... close resumed>) = 0 [pid 5223] exit_group(0 [pid 5081] unlink("./22/binderfs" [pid 5075] rmdir("./22" [pid 5081] <... unlink resumed>) = 0 [pid 5075] <... rmdir resumed>) = 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 5223] <... exit_group resumed>) = ? [pid 5223] +++ exited with 0 +++ [pid 5075] mkdir("./23", 0777 [pid 5078] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5223, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5075] <... mkdir resumed>) = 0 [pid 5081] getdents64(3, [pid 5078] restart_syscall(<... resuming interrupted clone ...> [pid 5081] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5078] <... restart_syscall resumed>) = 0 [pid 5078] umount2("./23", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5078] openat(AT_FDCWD, "./23", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5081] close(3) = 0 [pid 5081] rmdir("./22") = 0 [pid 5078] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5078] getdents64(3, 0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5078] umount2("./23/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5224] <... write resumed>) = 524288 [pid 5075] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5081] mkdir("./23", 0777) = 0 [pid 5075] ioctl(3, LOOP_CLR_FD) = 0 [pid 5075] close(3) = 0 [pid 5075] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5224] munmap(0x7f8a3a600000, 138412032) = 0 [pid 5081] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5081] ioctl(3, LOOP_CLR_FD) = 0 [pid 5224] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5081] close(3 [pid 5224] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5081] <... close resumed>) = 0 [pid 5224] close(5 [pid 5081] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5226] <... write resumed>) = 524288 [pid 5225] <... write resumed>) = 524288 [pid 5224] <... close resumed>) = 0 [pid 5226] munmap(0x7f8a3a600000, 138412032 [pid 5075] <... clone resumed>, child_tidptr=0x555555c35650) = 5227 ./strace-static-x86_64: Process 5228 attached [pid 5226] <... munmap resumed>) = 0 [pid 5225] munmap(0x7f8a3a600000, 138412032 [pid 5228] set_robust_list(0x555555c35660, 24 [pid 5225] <... munmap resumed>) = 0 [pid 5081] <... clone resumed>, child_tidptr=0x555555c35650) = 5228 ./strace-static-x86_64: Process 5227 attached [pid 5227] set_robust_list(0x555555c35660, 24) = 0 [pid 5227] chdir("./23") = 0 [pid 5078] <... umount2 resumed>) = 0 [pid 5227] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5227] setpgid(0, 0) = 0 [pid 5227] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5224] creat("./file1", 000 [pid 5227] write(3, "1000", 4) = 4 [pid 5227] close(3) = 0 [pid 5227] symlink("/dev/binderfs", "./binderfs" [pid 5078] umount2("./23/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5078] newfstatat(AT_FDCWD, "./23/bus", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5078] umount2("./23/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5227] <... symlink resumed>) = 0 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5227] memfd_create("syzkaller", 0 [pid 5078] openat(AT_FDCWD, "./23/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5078] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5078] getdents64(4, 0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5078] getdents64(4, 0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5078] close(4) = 0 [pid 5078] rmdir("./23/bus") = 0 [pid 5078] umount2("./23/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5078] newfstatat(AT_FDCWD, "./23/binderfs", [pid 5227] <... memfd_create resumed>) = 3 [pid 5078] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5078] unlink("./23/binderfs") = 0 [pid 5228] <... set_robust_list resumed>) = 0 [pid 5227] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5226] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5225] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5224] <... creat resumed>) = 5 [pid 5228] chdir("./23" [pid 5227] <... mmap resumed>) = 0x7f8a3a600000 [pid 5226] <... openat resumed>) = 4 [pid 5225] <... openat resumed>) = 4 [pid 5224] exit_group(0 [pid 5228] <... chdir resumed>) = 0 [pid 5226] ioctl(4, LOOP_SET_FD, 3 [pid 5225] ioctl(4, LOOP_SET_FD, 3 [pid 5228] prctl(PR_SET_PDEATHSIG, SIGKILL [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"..., 524288 [pid 5224] <... exit_group resumed>) = ? [pid 5224] +++ exited with 0 +++ [pid 5078] getdents64(3, 0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5078] close(3) = 0 [pid 5078] rmdir("./23" [pid 5228] <... prctl resumed>) = 0 [pid 5078] <... rmdir resumed>) = 0 [pid 5228] setpgid(0, 0 [pid 5226] <... ioctl resumed>) = 0 [pid 5078] mkdir("./24", 0777 [pid 5076] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5224, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5228] <... setpgid resumed>) = 0 [pid 5226] close(3 [pid 5225] <... ioctl resumed>) = 0 [pid 5078] <... mkdir resumed>) = 0 [pid 5078] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5228] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5227] <... write resumed>) = 524288 [pid 5226] <... close resumed>) = 0 [pid 5225] close(3 [pid 5076] umount2("./22", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5228] write(3, "1000", 4 [pid 5225] <... close resumed>) = 0 [pid 5228] <... write resumed>) = 4 [pid 5226] close(4 [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5228] close(3 [pid 5225] close(4 [pid 5076] openat(AT_FDCWD, "./22", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5226] <... close resumed>) = 0 [pid 5228] <... close resumed>) = 0 [pid 5226] mkdir("./bus", 0777 [pid 5225] <... close resumed>) = 0 [pid 5078] <... openat resumed>) = 3 [pid 5076] <... openat resumed>) = 3 [pid 5228] symlink("/dev/binderfs", "./binderfs" [pid 5078] ioctl(3, LOOP_CLR_FD [pid 5076] newfstatat(3, "", [pid 5228] <... symlink resumed>) = 0 [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5076] getdents64(3, [pid 5226] <... mkdir resumed>) = 0 [pid 5076] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5228] memfd_create("syzkaller", 0 [pid 5076] umount2("./22/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5226] mount("/dev/loop2", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5225] mkdir("./bus", 0777 [pid 5227] munmap(0x7f8a3a600000, 138412032 [pid 5225] <... mkdir resumed>) = 0 [pid 5227] <... munmap resumed>) = 0 [pid 5227] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 127.518813][ T5225] loop4: detected capacity change from 0 to 1024 [ 127.525974][ T5226] loop2: detected capacity change from 0 to 1024 [pid 5227] ioctl(4, LOOP_SET_FD, 3 [pid 5228] <... memfd_create resumed>) = 3 [pid 5225] mount("/dev/loop4", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5076] <... umount2 resumed>) = 0 [pid 5228] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5226] <... mount resumed>) = 0 [pid 5078] <... ioctl resumed>) = 0 [pid 5076] umount2("./22/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5225] <... mount resumed>) = 0 [pid 5228] <... mmap resumed>) = 0x7f8a3a600000 [pid 5226] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5225] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5226] <... openat resumed>) = 3 [pid 5225] <... openat resumed>) = 3 [pid 5076] newfstatat(AT_FDCWD, "./22/bus", [pid 5225] chdir("./bus") = 0 [pid 5225] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5225] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5078] close(3 [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 5226] chdir("./bus" [pid 5078] <... close resumed>) = 0 [pid 5076] umount2("./22/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5226] <... chdir resumed>) = 0 [pid 5226] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5226] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5225] <... symlink resumed>) = 0 [pid 5078] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5076] openat(AT_FDCWD, "./22/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5227] <... ioctl resumed>) = 0 [pid 5227] close(3) = 0 [pid 5076] <... openat resumed>) = 4 [pid 5227] close(4 [pid 5226] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5076] newfstatat(4, "", [pid 5227] <... close resumed>) = 0 [pid 5227] mkdir("./bus", 0777) = 0 [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5227] mount("/dev/loop0", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5225] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [ 127.578899][ T5227] loop0: detected capacity change from 0 to 1024 [pid 5076] getdents64(4, 0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5076] getdents64(4, [pid 5078] <... clone resumed>, child_tidptr=0x555555c35650) = 5230 [pid 5076] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5076] close(4./strace-static-x86_64: Process 5230 attached ) = 0 [pid 5076] rmdir("./22/bus" [pid 5230] set_robust_list(0x555555c35660, 24 [pid 5228] <... write resumed>) = 524288 [pid 5227] <... mount resumed>) = 0 [pid 5225] <... creat resumed>) = 4 [pid 5076] <... rmdir resumed>) = 0 [pid 5227] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5226] <... symlink resumed>) = 0 [pid 5225] rename("./bus", "./file2" [pid 5076] umount2("./22/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5227] <... openat resumed>) = 3 [pid 5227] chdir("./bus" [pid 5230] <... set_robust_list resumed>) = 0 [pid 5227] <... chdir resumed>) = 0 [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5230] chdir("./24" [pid 5227] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5230] <... chdir resumed>) = 0 [pid 5227] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5076] newfstatat(AT_FDCWD, "./22/binderfs", [pid 5230] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5227] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5076] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5226] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5076] unlink("./22/binderfs" [pid 5228] munmap(0x7f8a3a600000, 138412032 [pid 5226] <... creat resumed>) = 4 [pid 5225] <... rename resumed>) = -1 EEXIST (File exists) [pid 5076] <... unlink resumed>) = 0 [pid 5225] memfd_create("syzkaller", 0 [pid 5076] getdents64(3, 0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5076] close(3 [pid 5230] <... prctl resumed>) = 0 [pid 5230] setpgid(0, 0 [pid 5228] <... munmap resumed>) = 0 [pid 5226] rename("./bus", "./file2" [pid 5225] <... memfd_create resumed>) = 5 [pid 5076] <... close resumed>) = 0 [pid 5230] <... setpgid resumed>) = 0 [pid 5076] rmdir("./22" [pid 5225] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5230] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5225] <... mmap resumed>) = 0x7f8a3a600000 [pid 5076] <... rmdir resumed>) = 0 [pid 5227] <... symlink resumed>) = 0 [pid 5227] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5076] mkdir("./23", 0777 [pid 5228] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 5230] write(3, "1000", 4) = 4 [pid 5228] ioctl(4, LOOP_SET_FD, 3 [pid 5076] <... mkdir resumed>) = 0 [pid 5226] <... rename resumed>) = -1 EEXIST (File exists) [pid 5226] memfd_create("syzkaller", 0 [pid 5076] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5230] close(3) = 0 [pid 5230] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5226] <... memfd_create resumed>) = 5 [pid 5076] <... openat resumed>) = 3 [pid 5230] memfd_create("syzkaller", 0 [pid 5226] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5076] ioctl(3, LOOP_CLR_FD [pid 5230] <... memfd_create resumed>) = 3 [pid 5226] <... mmap resumed>) = 0x7f8a3a600000 [pid 5230] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [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 5226] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5225] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5230] <... write resumed>) = 524288 [pid 5228] <... ioctl resumed>) = 0 [ 127.686573][ T5228] loop5: detected capacity change from 0 to 1024 [pid 5227] <... creat resumed>) = 4 [pid 5226] munmap(0x7f8a3a600000, 138412032 [pid 5225] <... write resumed>) = 524288 [pid 5228] close(3 [pid 5227] rename("./bus", "./file2" [pid 5228] <... close resumed>) = 0 [pid 5228] close(4 [pid 5226] <... munmap resumed>) = 0 [pid 5228] <... close resumed>) = 0 [pid 5228] mkdir("./bus", 0777 [pid 5225] munmap(0x7f8a3a600000, 138412032 [pid 5228] <... mkdir resumed>) = 0 [pid 5227] <... rename resumed>) = -1 EEXIST (File exists) [pid 5226] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5225] <... munmap resumed>) = 0 [pid 5076] <... ioctl resumed>) = 0 [pid 5228] mount("/dev/loop5", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5226] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5225] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5230] munmap(0x7f8a3a600000, 138412032 [pid 5226] close(5 [pid 5225] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5230] <... munmap resumed>) = 0 [pid 5230] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5230] ioctl(4, LOOP_SET_FD, 3 [pid 5227] memfd_create("syzkaller", 0 [pid 5226] <... close resumed>) = 0 [pid 5225] close(5 [pid 5076] close(3) = 0 [pid 5227] <... memfd_create resumed>) = 5 [pid 5076] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5227] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5227] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5076] <... clone resumed>, child_tidptr=0x555555c35650) = 5231 ./strace-static-x86_64: Process 5231 attached [pid 5230] <... ioctl resumed>) = 0 [pid 5231] set_robust_list(0x555555c35660, 24 [pid 5230] close(3 [pid 5231] <... set_robust_list resumed>) = 0 [pid 5230] <... close resumed>) = 0 [pid 5231] chdir("./23" [pid 5230] close(4 [pid 5231] <... chdir resumed>) = 0 [pid 5230] <... close resumed>) = 0 [pid 5231] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5230] mkdir("./bus", 0777 [pid 5231] <... prctl resumed>) = 0 [pid 5230] <... mkdir resumed>) = 0 [pid 5225] <... close resumed>) = 0 [pid 5231] setpgid(0, 0 [pid 5230] mount("/dev/loop3", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5231] <... setpgid resumed>) = 0 [pid 5231] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5230] <... mount resumed>) = 0 [pid 5228] <... mount resumed>) = 0 [pid 5226] creat("./file1", 000 [pid 5231] write(3, "1000", 4 [pid 5230] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5231] <... write resumed>) = 4 [pid 5230] <... openat resumed>) = 3 [pid 5231] close(3 [ 127.754690][ T5068] I/O error, dev loop1, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0 [ 127.780168][ T5230] loop3: detected capacity change from 0 to 1024 [pid 5230] chdir("./bus" [pid 5231] <... close resumed>) = 0 [pid 5230] <... chdir resumed>) = 0 [pid 5228] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5231] symlink("/dev/binderfs", "./binderfs" [pid 5230] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5231] <... symlink resumed>) = 0 [pid 5230] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5228] <... openat resumed>) = 3 [pid 5225] creat("./file1", 000 [pid 5231] memfd_create("syzkaller", 0 [pid 5230] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5231] <... memfd_create resumed>) = 3 [pid 5230] <... symlink resumed>) = 0 [pid 5231] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5230] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5228] chdir("./bus" [pid 5231] <... mmap resumed>) = 0x7f8a3a600000 [pid 5228] <... chdir resumed>) = 0 [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 5228] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5227] <... write resumed>) = 524288 [pid 5226] <... creat resumed>) = 5 [pid 5225] <... creat resumed>) = 5 [pid 5230] <... creat resumed>) = 4 [pid 5228] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5227] munmap(0x7f8a3a600000, 138412032 [pid 5226] exit_group(0 [pid 5225] exit_group(0) = ? [pid 5230] rename("./bus", "./file2" [pid 5228] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5227] <... munmap resumed>) = 0 [pid 5226] <... exit_group resumed>) = ? [pid 5225] +++ exited with 0 +++ [pid 5231] <... write resumed>) = 524288 [pid 5230] <... rename resumed>) = -1 EEXIST (File exists) [pid 5079] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5225, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5230] memfd_create("syzkaller", 0) = 5 [pid 5230] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5079] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5227] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5228] <... symlink resumed>) = 0 [pid 5227] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5227] close(5 [pid 5226] +++ exited with 0 +++ [pid 5079] umount2("./23", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5226, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5230] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5228] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5227] <... close resumed>) = 0 [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5231] munmap(0x7f8a3a600000, 138412032 [pid 5079] openat(AT_FDCWD, "./23", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5231] <... munmap resumed>) = 0 [pid 5079] <... openat resumed>) = 3 [pid 5079] newfstatat(3, "", [pid 5231] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5228] <... creat resumed>) = 4 [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5077] umount2("./23", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5231] <... openat resumed>) = 4 [pid 5231] ioctl(4, LOOP_SET_FD, 3 [pid 5228] rename("./bus", "./file2" [pid 5227] creat("./file1", 000 [pid 5079] getdents64(3, [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5230] <... write resumed>) = 524288 [pid 5079] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5077] openat(AT_FDCWD, "./23", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5230] munmap(0x7f8a3a600000, 138412032) = 0 [pid 5079] umount2("./23/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] <... openat resumed>) = 3 [pid 5230] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5077] newfstatat(3, "", [pid 5230] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5228] <... rename resumed>) = -1 EEXIST (File exists) [pid 5230] close(5 [pid 5228] memfd_create("syzkaller", 0 [pid 5227] <... creat resumed>) = 5 [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5077] getdents64(3, [pid 5228] <... memfd_create resumed>) = 5 [pid 5231] <... ioctl resumed>) = 0 [pid 5230] <... close resumed>) = 0 [pid 5228] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5227] exit_group(0 [pid 5079] <... umount2 resumed>) = 0 [pid 5077] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5228] <... mmap resumed>) = 0x7f8a3a600000 [pid 5227] <... exit_group resumed>) = ? [pid 5079] umount2("./23/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] umount2("./23/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5231] close(3 [pid 5228] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] +++ exited with 0 +++ [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5079] newfstatat(AT_FDCWD, "./23/bus", [pid 5075] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5227, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5230] creat("./file1", 000 [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5079] umount2("./23/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] umount2("./23", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5079] openat(AT_FDCWD, "./23/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5075] openat(AT_FDCWD, "./23", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5231] <... close resumed>) = 0 [pid 5075] <... openat resumed>) = 3 [pid 5231] close(4 [pid 5079] <... openat resumed>) = 4 [pid 5075] newfstatat(3, "", [pid 5231] <... close resumed>) = 0 [pid 5230] <... creat resumed>) = 5 [pid 5079] newfstatat(4, "", [pid 5231] mkdir("./bus", 0777 [pid 5230] exit_group(0 [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5231] <... mkdir resumed>) = 0 [pid 5230] <... exit_group resumed>) = ? [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [ 127.931531][ T5231] loop1: detected capacity change from 0 to 1024 [pid 5075] getdents64(3, [pid 5231] mount("/dev/loop1", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5079] getdents64(4, [pid 5075] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5079] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5075] umount2("./23/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] <... umount2 resumed>) = 0 [pid 5230] +++ exited with 0 +++ [pid 5079] getdents64(4, 0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5078] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5230, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5078] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5078] umount2("./24", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5078] openat(AT_FDCWD, "./24", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5079] close(4 [pid 5078] <... openat resumed>) = 3 [pid 5079] <... close resumed>) = 0 [pid 5078] newfstatat(3, "", [pid 5079] rmdir("./23/bus" [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5078] getdents64(3, 0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5228] <... write resumed>) = 524288 [pid 5079] <... rmdir resumed>) = 0 [pid 5078] umount2("./24/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] umount2("./23/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] <... umount2 resumed>) = 0 [pid 5231] <... mount resumed>) = 0 [pid 5231] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5079] umount2("./23/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] umount2("./23/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5075] newfstatat(AT_FDCWD, "./23/bus", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5075] umount2("./23/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5231] <... openat resumed>) = 3 [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] newfstatat(AT_FDCWD, "./23/bus", [pid 5075] openat(AT_FDCWD, "./23/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5231] chdir("./bus" [pid 5075] <... openat resumed>) = 4 [pid 5231] <... chdir resumed>) = 0 [pid 5075] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5075] getdents64(4, 0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5231] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5075] getdents64(4, [pid 5231] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5075] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5231] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5075] close(4) = 0 [pid 5075] rmdir("./23/bus") = 0 [pid 5075] umount2("./23/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5075] newfstatat(AT_FDCWD, "./23/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5231] <... symlink resumed>) = 0 [pid 5075] unlink("./23/binderfs") = 0 [pid 5075] getdents64(3, [pid 5231] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5075] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5079] newfstatat(AT_FDCWD, "./23/binderfs", [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5075] close(3 [pid 5228] munmap(0x7f8a3a600000, 138412032 [pid 5079] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5077] umount2("./23/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] <... close resumed>) = 0 [pid 5079] unlink("./23/binderfs" [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5228] <... munmap resumed>) = 0 [pid 5079] <... unlink resumed>) = 0 [pid 5077] openat(AT_FDCWD, "./23/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5079] getdents64(3, [pid 5077] <... openat resumed>) = 4 [pid 5075] rmdir("./23" [pid 5228] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5079] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5077] newfstatat(4, "", [pid 5075] <... rmdir resumed>) = 0 [pid 5079] close(3 [pid 5231] <... creat resumed>) = 4 [pid 5228] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5079] <... close resumed>) = 0 [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5228] close(5 [pid 5079] rmdir("./23" [pid 5077] getdents64(4, [pid 5231] rename("./bus", "./file2" [pid 5228] <... close resumed>) = 0 [pid 5079] <... rmdir resumed>) = 0 [pid 5078] <... umount2 resumed>) = 0 [pid 5077] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5075] mkdir("./24", 0777 [pid 5079] mkdir("./24", 0777 [pid 5077] getdents64(4, [pid 5075] <... mkdir resumed>) = 0 [pid 5079] <... mkdir resumed>) = 0 [pid 5077] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5075] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5079] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5077] close(4) = 0 [pid 5075] <... openat resumed>) = 3 [pid 5077] rmdir("./23/bus" [pid 5231] <... rename resumed>) = -1 EEXIST (File exists) [pid 5075] ioctl(3, LOOP_CLR_FD [pid 5231] memfd_create("syzkaller", 0) = 5 [pid 5231] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5077] <... rmdir resumed>) = 0 [pid 5231] <... mmap resumed>) = 0x7f8a3a600000 [pid 5077] umount2("./23/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5231] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5228] creat("./file1", 000 [pid 5079] <... openat resumed>) = 3 [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5079] ioctl(3, LOOP_CLR_FD [pid 5077] newfstatat(AT_FDCWD, "./23/binderfs", [pid 5078] umount2("./24/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] unlink("./23/binderfs" [pid 5078] newfstatat(AT_FDCWD, "./24/bus", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5078] umount2("./24/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5077] <... unlink resumed>) = 0 [pid 5078] openat(AT_FDCWD, "./24/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5077] getdents64(3, [pid 5078] <... openat resumed>) = 4 [pid 5077] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5078] newfstatat(4, "", [pid 5077] close(3 [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5078] getdents64(4, 0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5077] <... close resumed>) = 0 [pid 5078] getdents64(4, 0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5077] rmdir("./23" [pid 5078] close(4) = 0 [pid 5077] <... rmdir resumed>) = 0 [pid 5078] rmdir("./24/bus" [pid 5077] mkdir("./24", 0777) = 0 [pid 5228] <... creat resumed>) = 5 [pid 5077] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5228] exit_group(0 [pid 5078] <... rmdir resumed>) = 0 [pid 5077] <... openat resumed>) = 3 [pid 5228] <... exit_group resumed>) = ? [pid 5077] ioctl(3, LOOP_CLR_FD [pid 5228] +++ exited with 0 +++ [pid 5077] <... ioctl resumed>) = 0 [pid 5081] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5228, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5081] umount2("./23", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5081] openat(AT_FDCWD, "./23", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5078] umount2("./24/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5081] newfstatat(3, "", [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5078] newfstatat(AT_FDCWD, "./24/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5077] close(3 [pid 5081] getdents64(3, 0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5231] <... write resumed>) = 524288 [pid 5081] umount2("./23/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5078] unlink("./24/binderfs" [pid 5077] <... close resumed>) = 0 [pid 5078] <... unlink resumed>) = 0 [pid 5077] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5078] getdents64(3, 0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5078] close(3) = 0 [pid 5078] rmdir("./24") = 0 ./strace-static-x86_64: Process 5232 attached [pid 5078] mkdir("./25", 0777 [pid 5077] <... clone resumed>, child_tidptr=0x555555c35650) = 5232 [pid 5232] set_robust_list(0x555555c35660, 24 [pid 5078] <... mkdir resumed>) = 0 [pid 5232] <... set_robust_list resumed>) = 0 [pid 5075] <... ioctl resumed>) = 0 [pid 5232] chdir("./24") = 0 [pid 5078] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5075] close(3 [pid 5078] <... openat resumed>) = 3 [pid 5075] <... close resumed>) = 0 [pid 5078] ioctl(3, LOOP_CLR_FD [pid 5075] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5232] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5231] munmap(0x7f8a3a600000, 138412032 [pid 5078] <... ioctl resumed>) = 0 [pid 5232] <... prctl resumed>) = 0 [pid 5231] <... munmap resumed>) = 0 [pid 5078] close(3 [pid 5075] <... clone resumed>, child_tidptr=0x555555c35650) = 5233 [pid 5232] setpgid(0, 0 [pid 5078] <... close resumed>) = 0 [pid 5232] <... setpgid resumed>) = 0 ./strace-static-x86_64: Process 5233 attached [pid 5078] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5233] set_robust_list(0x555555c35660, 24 [pid 5232] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5233] <... set_robust_list resumed>) = 0 [pid 5232] <... openat resumed>) = 3 [pid 5231] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5233] chdir("./24" [pid 5231] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5233] <... chdir resumed>) = 0 [pid 5231] close(5 [pid 5233] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5233] setpgid(0, 0) = 0 [pid 5233] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5078] <... clone resumed>, child_tidptr=0x555555c35650) = 5234 [pid 5233] <... openat resumed>) = 3 ./strace-static-x86_64: Process 5234 attached [pid 5233] write(3, "1000", 4) = 4 [pid 5233] close(3) = 0 [pid 5233] symlink("/dev/binderfs", "./binderfs" [pid 5234] set_robust_list(0x555555c35660, 24 [pid 5233] <... symlink resumed>) = 0 [pid 5232] write(3, "1000", 4 [pid 5233] memfd_create("syzkaller", 0 [pid 5234] <... set_robust_list resumed>) = 0 [pid 5232] <... write resumed>) = 4 [pid 5233] <... memfd_create resumed>) = 3 [pid 5232] close(3 [pid 5079] <... ioctl resumed>) = 0 [pid 5234] chdir("./25" [pid 5231] <... close resumed>) = 0 [pid 5234] <... chdir resumed>) = 0 [pid 5233] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [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 5234] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5231] creat("./file1", 000 [pid 5232] <... close resumed>) = 0 [pid 5234] setpgid(0, 0 [pid 5232] symlink("/dev/binderfs", "./binderfs" [pid 5081] <... umount2 resumed>) = 0 [pid 5234] <... setpgid resumed>) = 0 [pid 5233] <... write resumed>) = 524288 [pid 5232] <... symlink resumed>) = 0 [pid 5231] <... creat resumed>) = 5 [pid 5081] umount2("./23/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] close(3 [pid 5234] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5234] <... openat resumed>) = 3 [pid 5232] memfd_create("syzkaller", 0 [pid 5231] exit_group(0 [pid 5081] newfstatat(AT_FDCWD, "./23/bus", [pid 5079] <... close resumed>) = 0 [pid 5231] <... exit_group resumed>) = ? [pid 5234] write(3, "1000", 4 [pid 5232] <... memfd_create resumed>) = 3 [pid 5231] +++ exited with 0 +++ [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5079] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5234] <... write resumed>) = 4 [pid 5232] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5076] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5231, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5234] close(3 [pid 5232] <... mmap resumed>) = 0x7f8a3a600000 [pid 5081] umount2("./23/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] umount2("./23", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5234] <... close resumed>) = 0 [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5076] openat(AT_FDCWD, "./23", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5076] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5076] getdents64(3, 0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5076] umount2("./23/bus", MNT_DETACH|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 5235 attached [pid 5234] symlink("/dev/binderfs", "./binderfs" [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 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5079] <... clone resumed>, child_tidptr=0x555555c35650) = 5235 [pid 5076] <... umount2 resumed>) = 0 [pid 5234] <... symlink resumed>) = 0 [pid 5233] munmap(0x7f8a3a600000, 138412032 [pid 5081] openat(AT_FDCWD, "./23/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5235] set_robust_list(0x555555c35660, 24 [pid 5234] memfd_create("syzkaller", 0 [pid 5233] <... munmap resumed>) = 0 [pid 5081] <... openat resumed>) = 4 [pid 5081] newfstatat(4, "", [pid 5235] <... set_robust_list resumed>) = 0 [pid 5076] umount2("./23/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5235] chdir("./24" [pid 5233] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5076] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5081] getdents64(4, [pid 5233] <... openat resumed>) = 4 [pid 5076] newfstatat(AT_FDCWD, "./23/bus", [pid 5233] ioctl(4, LOOP_SET_FD, 3 [pid 5076] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5235] <... chdir resumed>) = 0 [pid 5081] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5235] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5232] <... write resumed>) = 524288 [pid 5081] getdents64(4, [pid 5076] umount2("./23/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5234] <... memfd_create resumed>) = 3 [pid 5076] openat(AT_FDCWD, "./23/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5234] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5076] <... openat resumed>) = 4 [pid 5235] <... prctl resumed>) = 0 [pid 5234] <... mmap resumed>) = 0x7f8a3a600000 [pid 5081] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5076] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5076] getdents64(4, 0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5076] getdents64(4, [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 5076] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5076] close(4) = 0 [pid 5235] setpgid(0, 0 [pid 5076] rmdir("./23/bus" [pid 5081] close(4 [pid 5235] <... setpgid resumed>) = 0 [pid 5081] <... close resumed>) = 0 [pid 5076] <... rmdir resumed>) = 0 [pid 5081] rmdir("./23/bus" [pid 5076] umount2("./23/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5076] newfstatat(AT_FDCWD, "./23/binderfs", [pid 5081] <... rmdir resumed>) = 0 [pid 5076] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5076] unlink("./23/binderfs") = 0 [pid 5235] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5081] umount2("./23/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5235] <... openat resumed>) = 3 [pid 5081] newfstatat(AT_FDCWD, "./23/binderfs", [pid 5076] getdents64(3, 0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5235] write(3, "1000", 4 [pid 5232] munmap(0x7f8a3a600000, 138412032 [pid 5081] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5235] <... write resumed>) = 4 [pid 5233] <... ioctl resumed>) = 0 [pid 5232] <... munmap resumed>) = 0 [pid 5081] unlink("./23/binderfs" [ 128.239970][ T5233] loop0: detected capacity change from 0 to 1024 [pid 5076] close(3 [pid 5235] close(3 [pid 5233] close(3 [pid 5232] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5081] <... unlink resumed>) = 0 [pid 5076] <... close resumed>) = 0 [pid 5081] getdents64(3, [pid 5235] <... close resumed>) = 0 [pid 5233] <... close resumed>) = 0 [pid 5076] rmdir("./23" [pid 5235] symlink("/dev/binderfs", "./binderfs" [pid 5233] close(4 [pid 5232] <... openat resumed>) = 4 [pid 5081] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5076] <... rmdir resumed>) = 0 [pid 5233] <... close resumed>) = 0 [pid 5076] mkdir("./24", 0777 [pid 5235] <... symlink resumed>) = 0 [pid 5233] mkdir("./bus", 0777 [pid 5232] ioctl(4, LOOP_SET_FD, 3 [pid 5081] close(3 [pid 5076] <... mkdir resumed>) = 0 [pid 5235] memfd_create("syzkaller", 0 [pid 5233] <... mkdir resumed>) = 0 [pid 5081] <... close resumed>) = 0 [pid 5076] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5076] ioctl(3, LOOP_CLR_FD [pid 5233] mount("/dev/loop0", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5076] <... ioctl resumed>) = 0 [pid 5076] close(3) = 0 [pid 5076] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5081] rmdir("./23" [pid 5235] <... memfd_create resumed>) = 3 [pid 5081] <... rmdir resumed>) = 0 [pid 5235] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5076] <... clone resumed>, child_tidptr=0x555555c35650) = 5236 [pid 5235] <... mmap resumed>) = 0x7f8a3a600000 ./strace-static-x86_64: Process 5236 attached [pid 5236] set_robust_list(0x555555c35660, 24) = 0 [pid 5236] chdir("./24" [pid 5081] mkdir("./24", 0777 [pid 5234] <... write resumed>) = 524288 [pid 5081] <... mkdir resumed>) = 0 [pid 5236] <... chdir resumed>) = 0 [pid 5236] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5236] setpgid(0, 0) = 0 [pid 5236] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5234] munmap(0x7f8a3a600000, 138412032 [pid 5236] <... openat resumed>) = 3 [pid 5234] <... munmap resumed>) = 0 [ 128.295040][ T5232] loop2: detected capacity change from 0 to 1024 [pid 5081] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5232] <... ioctl resumed>) = 0 [pid 5236] write(3, "1000", 4 [pid 5234] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5236] <... write resumed>) = 4 [pid 5236] close(3 [pid 5234] ioctl(4, LOOP_SET_FD, 3 [pid 5233] <... mount resumed>) = 0 [pid 5236] <... close resumed>) = 0 [pid 5236] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5236] 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 5233] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5232] close(3 [pid 5081] ioctl(3, LOOP_CLR_FD [pid 5236] <... memfd_create resumed>) = 3 [pid 5232] <... close resumed>) = 0 [pid 5081] <... ioctl resumed>) = 0 [pid 5236] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5232] close(4 [pid 5081] close(3 [pid 5236] <... mmap resumed>) = 0x7f8a3a600000 [pid 5233] <... openat resumed>) = 3 [pid 5232] <... close resumed>) = 0 [pid 5081] <... close resumed>) = 0 [pid 5081] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5232] mkdir("./bus", 0777 [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 5233] chdir("./bus" [pid 5232] <... mkdir resumed>) = 0 [pid 5233] <... chdir resumed>) = 0 [pid 5232] mount("/dev/loop2", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5233] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5233] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5234] <... ioctl resumed>) = 0 ./strace-static-x86_64: Process 5237 attached [pid 5235] <... write resumed>) = 524288 [pid 5234] close(3 [pid 5233] <... symlink resumed>) = 0 [pid 5232] <... mount resumed>) = 0 [pid 5081] <... clone resumed>, child_tidptr=0x555555c35650) = 5237 [pid 5232] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5237] set_robust_list(0x555555c35660, 24 [pid 5235] munmap(0x7f8a3a600000, 138412032 [pid 5232] <... openat resumed>) = 3 [pid 5237] <... set_robust_list resumed>) = 0 [pid 5232] chdir("./bus") = 0 [ 128.339732][ T5234] loop3: detected capacity change from 0 to 1024 [pid 5237] chdir("./24" [pid 5235] <... munmap resumed>) = 0 [pid 5232] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5235] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5234] <... close resumed>) = 0 [pid 5236] <... write resumed>) = 524288 [pid 5235] <... openat resumed>) = 4 [pid 5234] close(4 [pid 5233] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5232] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5237] <... chdir resumed>) = 0 [pid 5235] ioctl(4, LOOP_SET_FD, 3 [pid 5232] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5234] <... close resumed>) = 0 [pid 5234] mkdir("./bus", 0777 [pid 5237] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5235] <... ioctl resumed>) = 0 [pid 5234] <... mkdir resumed>) = 0 [pid 5232] <... symlink resumed>) = 0 [pid 5237] <... prctl resumed>) = 0 [pid 5232] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5237] setpgid(0, 0 [pid 5234] mount("/dev/loop3", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5237] <... setpgid resumed>) = 0 [pid 5236] munmap(0x7f8a3a600000, 138412032 [pid 5235] close(3 [pid 5233] <... creat resumed>) = 4 [pid 5235] <... close resumed>) = 0 [pid 5235] close(4 [pid 5237] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5236] <... munmap resumed>) = 0 [pid 5235] <... close resumed>) = 0 [pid 5233] rename("./bus", "./file2" [pid 5235] mkdir("./bus", 0777 [pid 5232] <... creat resumed>) = 4 [pid 5233] <... rename resumed>) = -1 EEXIST (File exists) [pid 5236] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5235] <... mkdir resumed>) = 0 [pid 5234] <... mount resumed>) = 0 [pid 5233] memfd_create("syzkaller", 0 [pid 5237] <... openat resumed>) = 3 [pid 5237] write(3, "1000", 4 [pid 5236] <... openat resumed>) = 4 [pid 5235] mount("/dev/loop4", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5234] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5233] <... memfd_create resumed>) = 5 [pid 5232] rename("./bus", "./file2" [pid 5237] <... write resumed>) = 4 [pid 5236] ioctl(4, LOOP_SET_FD, 3 [pid 5234] <... openat resumed>) = 3 [pid 5233] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5237] close(3 [pid 5234] chdir("./bus" [pid 5233] <... mmap resumed>) = 0x7f8a3a600000 [pid 5237] <... close resumed>) = 0 [pid 5234] <... chdir resumed>) = 0 [pid 5232] <... rename resumed>) = -1 EEXIST (File exists) [pid 5237] symlink("/dev/binderfs", "./binderfs" [pid 5234] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5233] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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("syzkaller", 0 [pid 5234] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5237] <... symlink resumed>) = 0 [pid 5234] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5232] <... memfd_create resumed>) = 5 [pid 5237] memfd_create("syzkaller", 0 [pid 5236] <... ioctl resumed>) = 0 [pid 5232] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5237] <... memfd_create resumed>) = 3 [pid 5236] close(3 [pid 5237] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5236] <... close resumed>) = 0 [pid 5235] <... mount resumed>) = 0 [pid 5234] <... symlink resumed>) = 0 [ 128.408797][ T5235] loop4: detected capacity change from 0 to 1024 [ 128.445369][ T5236] loop1: detected capacity change from 0 to 1024 [pid 5237] <... mmap resumed>) = 0x7f8a3a600000 [pid 5236] close(4 [pid 5235] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY) = 3 [pid 5236] <... close resumed>) = 0 [pid 5236] mkdir("./bus", 0777 [pid 5234] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5236] <... mkdir resumed>) = 0 [pid 5236] mount("/dev/loop1", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5235] chdir("./bus" [pid 5232] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... chdir resumed>) = 0 [pid 5235] openat(AT_FDCWD, "/dev/loop4", O_RDWR [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 5235] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5234] <... creat resumed>) = 4 [pid 5234] rename("./bus", "./file2") = -1 EEXIST (File exists) [pid 5233] <... write resumed>) = 524288 [pid 5234] memfd_create("syzkaller", 0) = 5 [pid 5234] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5235] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5234] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5233] munmap(0x7f8a3a600000, 138412032) = 0 [pid 5235] <... symlink resumed>) = 0 [pid 5233] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5237] <... write resumed>) = 524288 [pid 5235] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5233] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5232] <... write resumed>) = 524288 [pid 5237] munmap(0x7f8a3a600000, 138412032 [pid 5235] <... creat resumed>) = 4 [pid 5234] <... write resumed>) = 524288 [pid 5233] close(5 [pid 5232] munmap(0x7f8a3a600000, 138412032 [pid 5235] rename("./bus", "./file2" [pid 5236] <... mount resumed>) = 0 [pid 5232] <... munmap resumed>) = 0 [pid 5236] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY) = 3 [pid 5236] chdir("./bus") = 0 [pid 5236] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5237] <... munmap resumed>) = 0 [pid 5236] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5235] <... rename resumed>) = -1 EEXIST (File exists) [pid 5232] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5234] munmap(0x7f8a3a600000, 138412032) = 0 [pid 5235] memfd_create("syzkaller", 0 [pid 5234] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5233] <... close resumed>) = 0 [pid 5232] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5235] <... memfd_create resumed>) = 5 [pid 5234] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5232] close(5 [pid 5234] close(5 [pid 5235] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 [pid 5236] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5237] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5236] <... symlink resumed>) = 0 [pid 5235] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... close resumed>) = 0 [pid 5233] creat("./file1", 000 [pid 5237] <... openat resumed>) = 4 [pid 5236] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5234] creat("./file1", 000 [pid 5233] <... creat resumed>) = 5 [pid 5237] ioctl(4, LOOP_SET_FD, 3 [pid 5234] <... creat resumed>) = 5 [pid 5233] exit_group(0 [pid 5234] exit_group(0 [pid 5233] <... exit_group resumed>) = ? [pid 5234] <... exit_group resumed>) = ? [pid 5233] +++ exited with 0 +++ [pid 5234] +++ exited with 0 +++ [pid 5078] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5234, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5075] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5233, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5078] restart_syscall(<... resuming interrupted clone ...> [pid 5075] restart_syscall(<... resuming interrupted clone ...> [pid 5232] <... close resumed>) = 0 [pid 5078] <... restart_syscall resumed>) = 0 [pid 5075] <... restart_syscall resumed>) = 0 [pid 5232] creat("./file1", 000 [pid 5078] umount2("./25", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5078] openat(AT_FDCWD, "./25", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5075] umount2("./24", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5078] newfstatat(3, "", [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5075] openat(AT_FDCWD, "./24", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5078] getdents64(3, [pid 5075] <... openat resumed>) = 3 [pid 5078] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5075] newfstatat(3, "", [pid 5078] umount2("./25/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5075] getdents64(3, 0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5075] umount2("./24/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5237] <... ioctl resumed>) = 0 [pid 5236] <... creat resumed>) = 4 [pid 5236] rename("./bus", "./file2" [pid 5237] close(3) = 0 [pid 5237] close(4 [pid 5232] <... creat resumed>) = 5 [pid 5237] <... close resumed>) = 0 [pid 5237] mkdir("./bus", 0777 [pid 5232] exit_group(0 [pid 5237] <... mkdir resumed>) = 0 [pid 5236] <... rename resumed>) = -1 EEXIST (File exists) [pid 5232] <... exit_group resumed>) = ? [pid 5236] memfd_create("syzkaller", 0) = 5 [pid 5237] mount("/dev/loop5", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5236] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5235] <... write resumed>) = 524288 [pid 5236] <... mmap resumed>) = 0x7f8a3a600000 [pid 5232] +++ exited with 0 +++ [pid 5236] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5077] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5232, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5078] <... umount2 resumed>) = 0 [pid 5077] umount2("./24", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5235] munmap(0x7f8a3a600000, 138412032 [pid 5077] openat(AT_FDCWD, "./24", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5078] umount2("./25/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] <... openat resumed>) = 3 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] newfstatat(3, "", [pid 5078] newfstatat(AT_FDCWD, "./25/bus", [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5078] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5077] getdents64(3, [pid 5235] <... munmap resumed>) = 0 [pid 5078] umount2("./25/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5078] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] umount2("./24/bus", MNT_DETACH|UMOUNT_NOFOLLOW [ 128.595425][ T5237] loop5: detected capacity change from 0 to 1024 [pid 5078] openat(AT_FDCWD, "./25/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5078] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5078] getdents64(4, 0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5078] getdents64(4, [pid 5075] <... umount2 resumed>) = 0 [pid 5078] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5078] close(4) = 0 [pid 5078] rmdir("./25/bus" [pid 5235] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5078] <... rmdir resumed>) = 0 [pid 5078] umount2("./25/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5078] newfstatat(AT_FDCWD, "./25/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5078] unlink("./25/binderfs") = 0 [pid 5235] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5075] umount2("./24/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5235] close(5 [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5078] getdents64(3, 0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5075] newfstatat(AT_FDCWD, "./24/bus", [pid 5078] close(3 [pid 5075] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5078] <... close resumed>) = 0 [pid 5075] umount2("./24/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5235] <... close resumed>) = 0 [pid 5078] rmdir("./25" [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5236] <... write resumed>) = 524288 [pid 5078] <... rmdir resumed>) = 0 [pid 5075] openat(AT_FDCWD, "./24/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5075] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5075] getdents64(4, 0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5075] getdents64(4, [pid 5078] mkdir("./26", 0777 [pid 5075] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5078] <... mkdir resumed>) = 0 [pid 5075] close(4) = 0 [pid 5075] rmdir("./24/bus") = 0 [pid 5237] <... mount resumed>) = 0 [pid 5237] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5078] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5075] umount2("./24/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5078] <... openat resumed>) = 3 [pid 5075] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5078] ioctl(3, LOOP_CLR_FD) = 0 [pid 5075] newfstatat(AT_FDCWD, "./24/binderfs", [pid 5078] close(3) = 0 [pid 5075] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5078] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5075] unlink("./24/binderfs" [pid 5237] <... openat resumed>) = 3 [pid 5075] <... unlink resumed>) = 0 [pid 5237] chdir("./bus") = 0 [pid 5236] munmap(0x7f8a3a600000, 138412032 [pid 5077] <... umount2 resumed>) = 0 [pid 5075] getdents64(3, [pid 5237] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5235] creat("./file1", 000 [pid 5075] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5237] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5236] <... munmap resumed>) = 0 [pid 5075] close(3) = 0 [pid 5075] rmdir("./24") = 0 [pid 5237] <... symlink resumed>) = 0 [pid 5077] umount2("./24/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5075] mkdir("./25", 0777 [pid 5237] creat("./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5236] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5078] <... clone resumed>, child_tidptr=0x555555c35650) = 5238 [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5075] <... mkdir resumed>) = 0 [pid 5077] newfstatat(AT_FDCWD, "./24/bus", ./strace-static-x86_64: Process 5238 attached [pid 5238] set_robust_list(0x555555c35660, 24 [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5238] <... set_robust_list resumed>) = 0 [pid 5238] chdir("./26" [pid 5077] umount2("./24/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5238] <... chdir resumed>) = 0 [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5238] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5077] openat(AT_FDCWD, "./24/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5238] <... prctl resumed>) = 0 [pid 5236] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5237] <... creat resumed>) = 4 [pid 5077] <... openat resumed>) = 4 [pid 5075] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5235] <... creat resumed>) = 5 [pid 5237] rename("./bus", "./file2" [pid 5236] close(5 [pid 5238] setpgid(0, 0 [pid 5235] exit_group(0 [pid 5077] newfstatat(4, "", [pid 5075] <... openat resumed>) = 3 [pid 5238] <... setpgid resumed>) = 0 [pid 5235] <... exit_group resumed>) = ? [pid 5077] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5075] ioctl(3, LOOP_CLR_FD [pid 5235] +++ exited with 0 +++ [pid 5077] getdents64(4, 0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5238] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5079] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5235, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5077] getdents64(4, [pid 5079] umount2("./24", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] <... getdents64 resumed>0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5236] <... close resumed>) = 0 [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] close(4 [pid 5237] <... rename resumed>) = -1 EEXIST (File exists) [pid 5079] openat(AT_FDCWD, "./24", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5077] <... close resumed>) = 0 [pid 5079] <... openat resumed>) = 3 [pid 5077] rmdir("./24/bus" [pid 5237] memfd_create("syzkaller", 0 [pid 5077] <... rmdir resumed>) = 0 [pid 5237] <... memfd_create resumed>) = 5 [pid 5238] <... openat resumed>) = 3 [pid 5237] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5079] newfstatat(3, "", [pid 5077] umount2("./24/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5077] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5077] newfstatat(AT_FDCWD, "./24/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5077] unlink("./24/binderfs") = 0 [pid 5238] write(3, "1000", 4 [pid 5237] <... mmap resumed>) = 0x7f8a3a600000 [pid 5238] <... write resumed>) = 4 [pid 5079] getdents64(3, [pid 5238] close(3 [pid 5079] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5077] getdents64(3, 0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5077] close(3) = 0 [pid 5238] <... close resumed>) = 0 [pid 5079] umount2("./24/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5077] rmdir("./24" [pid 5238] symlink("/dev/binderfs", "./binderfs" [pid 5077] <... rmdir resumed>) = 0 [pid 5238] <... symlink resumed>) = 0 [pid 5237] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] memfd_create("syzkaller", 0 [pid 5077] mkdir("./25", 0777) = 0 [pid 5236] creat("./file1", 000 [pid 5238] <... memfd_create resumed>) = 3 [pid 5237] <... write resumed>) = 524288 [pid 5079] <... umount2 resumed>) = 0 [pid 5077] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5237] munmap(0x7f8a3a600000, 138412032 [pid 5077] <... openat resumed>) = 3 [pid 5238] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5077] ioctl(3, LOOP_CLR_FD [pid 5238] <... mmap resumed>) = 0x7f8a3a600000 [pid 5079] umount2("./24/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5079] newfstatat(AT_FDCWD, "./24/bus", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5079] umount2("./24/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [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] <... creat resumed>) = 5 [pid 5079] openat(AT_FDCWD, "./24/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5236] exit_group(0) = ? [pid 5079] <... openat resumed>) = 4 [pid 5079] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5079] getdents64(4, 0x555555c3e730 /* 2 entries */, 32768) = 48 [pid 5079] getdents64(4, 0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5079] close(4) = 0 [pid 5079] rmdir("./24/bus") = 0 [pid 5236] +++ exited with 0 +++ [pid 5076] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5236, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5076] restart_syscall(<... resuming interrupted clone ...> [pid 5079] umount2("./24/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5076] <... restart_syscall resumed>) = 0 [pid 5238] <... write resumed>) = 524288 [pid 5237] <... munmap resumed>) = 0 [pid 5079] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5076] umount2("./24", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5076] openat(AT_FDCWD, "./24", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5076] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5076] getdents64(3, 0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5237] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5077] <... ioctl resumed>) = 0 [pid 5076] umount2("./24/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5079] newfstatat(AT_FDCWD, "./24/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5079] unlink("./24/binderfs") = 0 [pid 5079] getdents64(3, 0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5079] close(3) = 0 [pid 5079] rmdir("./24") = 0 [pid 5237] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5237] close(5 [pid 5079] mkdir("./25", 0777) = 0 [pid 5079] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5077] close(3 [pid 5079] ioctl(3, LOOP_CLR_FD [pid 5077] <... close resumed>) = 0 [pid 5077] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5076] <... umount2 resumed>) = 0 [pid 5076] umount2("./24/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5076] newfstatat(AT_FDCWD, "./24/bus", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5076] umount2("./24/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5076] openat(AT_FDCWD, "./24/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5076] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5076] getdents64(4, [pid 5075] <... ioctl resumed>) = 0 [pid 5076] <... getdents64 resumed>0x555555c3e730 /* 2 entries */, 32768) = 48 ./strace-static-x86_64: Process 5239 attached [pid 5077] <... clone resumed>, child_tidptr=0x555555c35650) = 5239 [pid 5076] getdents64(4, 0x555555c3e730 /* 0 entries */, 32768) = 0 [pid 5076] close(4) = 0 [pid 5239] set_robust_list(0x555555c35660, 24 [pid 5076] rmdir("./24/bus" [pid 5239] <... set_robust_list resumed>) = 0 [pid 5076] <... rmdir resumed>) = 0 [pid 5075] close(3 [pid 5238] munmap(0x7f8a3a600000, 138412032 [pid 5237] <... close resumed>) = 0 [pid 5079] <... ioctl resumed>) = 0 [pid 5075] <... close resumed>) = 0 [pid 5075] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5239] chdir("./25" [pid 5076] umount2("./24/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5076] newfstatat(AT_FDCWD, "./24/binderfs", [pid 5238] <... munmap resumed>) = 0 [pid 5076] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5239] <... chdir resumed>) = 0 [pid 5239] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5076] unlink("./24/binderfs") = 0 [pid 5075] <... clone resumed>, child_tidptr=0x555555c35650) = 5240 [pid 5239] <... prctl resumed>) = 0 [pid 5239] setpgid(0, 0 [pid 5076] getdents64(3, [pid 5239] <... setpgid resumed>) = 0 [pid 5076] <... getdents64 resumed>0x555555c366f0 /* 0 entries */, 32768) = 0 [pid 5239] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5076] close(3) = 0 [pid 5076] rmdir("./24") = 0 [pid 5239] <... openat resumed>) = 3 [pid 5076] mkdir("./25", 0777) = 0 [pid 5239] write(3, "1000", 4) = 4 [pid 5239] close(3) = 0 ./strace-static-x86_64: Process 5240 attached [pid 5239] symlink("/dev/binderfs", "./binderfs" [pid 5240] set_robust_list(0x555555c35660, 24 [pid 5239] <... symlink resumed>) = 0 [pid 5239] memfd_create("syzkaller", 0 [pid 5076] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5076] ioctl(3, LOOP_CLR_FD [pid 5240] <... set_robust_list resumed>) = 0 [pid 5239] <... memfd_create resumed>) = 3 [pid 5240] chdir("./25" [pid 5239] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5240] <... chdir resumed>) = 0 [pid 5239] <... mmap resumed>) = 0x7f8a3a600000 [pid 5079] close(3 [pid 5240] prctl(PR_SET_PDEATHSIG, SIGKILL [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 5079] <... close resumed>) = 0 [pid 5238] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5240] <... prctl resumed>) = 0 [pid 5240] setpgid(0, 0) = 0 [pid 5240] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5238] <... openat resumed>) = 4 [pid 5079] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5238] ioctl(4, LOOP_SET_FD, 3 [pid 5240] write(3, "1000", 4) = 4 [pid 5240] close(3) = 0 [pid 5240] symlink("/dev/binderfs", "./binderfs" [pid 5239] <... write resumed>) = 524288 [pid 5237] creat("./file1", 000 [pid 5240] <... symlink resumed>) = 0 [pid 5240] memfd_create("syzkaller", 0 [pid 5076] <... ioctl resumed>) = 0 [pid 5079] <... clone resumed>, child_tidptr=0x555555c35650) = 5241 [pid 5240] <... memfd_create resumed>) = 3 [pid 5240] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8a3a600000 ./strace-static-x86_64: Process 5241 attached [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 5238] <... ioctl resumed>) = 0 [pid 5237] <... creat resumed>) = 5 [pid 5238] close(3) = 0 [pid 5237] exit_group(0 [pid 5238] close(4 [pid 5237] <... exit_group resumed>) = ? [pid 5241] set_robust_list(0x555555c35660, 24 [pid 5240] <... write resumed>) = 524288 [pid 5238] <... close resumed>) = 0 [pid 5237] +++ exited with 0 +++ [pid 5076] close(3 [pid 5238] mkdir("./bus", 0777 [pid 5081] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5237, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5076] <... close resumed>) = 0 [pid 5241] <... set_robust_list resumed>) = 0 [pid 5241] chdir("./25") = 0 [pid 5241] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5238] <... mkdir resumed>) = 0 [pid 5076] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5241] <... prctl resumed>) = 0 [pid 5241] setpgid(0, 0) = 0 ./strace-static-x86_64: Process 5242 attached [pid 5241] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5081] umount2("./24", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5241] <... openat resumed>) = 3 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5076] <... clone resumed>, child_tidptr=0x555555c35650) = 5242 [pid 5242] set_robust_list(0x555555c35660, 24 [pid 5241] write(3, "1000", 4 [pid 5081] openat(AT_FDCWD, "./24", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5241] <... write resumed>) = 4 [pid 5241] close(3) = 0 [ 128.879730][ T5238] loop3: detected capacity change from 0 to 1024 [pid 5239] munmap(0x7f8a3a600000, 138412032 [pid 5242] <... set_robust_list resumed>) = 0 [pid 5241] symlink("/dev/binderfs", "./binderfs" [pid 5239] <... munmap resumed>) = 0 [pid 5238] mount("/dev/loop3", "./bus", "hfsplus", MS_NOEXEC|MS_RELATIME, "" [pid 5081] <... openat resumed>) = 3 [pid 5241] <... symlink resumed>) = 0 [pid 5239] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5081] newfstatat(3, "", [pid 5241] memfd_create("syzkaller", 0 [pid 5239] <... openat resumed>) = 4 [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5241] <... memfd_create resumed>) = 3 [pid 5239] ioctl(4, LOOP_SET_FD, 3 [pid 5081] getdents64(3, [pid 5242] chdir("./25" [pid 5241] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5081] <... getdents64 resumed>0x555555c366f0 /* 4 entries */, 32768) = 104 [pid 5242] <... chdir resumed>) = 0 [pid 5081] umount2("./24/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5242] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5241] <... mmap resumed>) = 0x7f8a3a600000 [pid 5242] setpgid(0, 0 [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 5242] <... setpgid resumed>) = 0 [pid 5240] munmap(0x7f8a3a600000, 138412032 [pid 5242] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5242] write(3, "1000", 4 [pid 5240] <... munmap resumed>) = 0 [pid 5238] <... mount resumed>) = 0 [pid 5242] <... write resumed>) = 4 [pid 5242] close(3 [pid 5238] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY [pid 5242] <... close resumed>) = 0 [pid 5238] <... openat resumed>) = 3 [pid 5242] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5240] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5238] chdir("./bus" [pid 5242] memfd_create("syzkaller", 0 [pid 5238] <... chdir resumed>) = 0 [pid 5242] <... memfd_create resumed>) = 3 [pid 5238] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5238] symlink("./bus", "./file2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5081] <... umount2 resumed>) = 0 [pid 5240] <... openat resumed>) = 4 [pid 5239] <... ioctl resumed>) = 0 [pid 5242] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5240] ioctl(4, LOOP_SET_FD, 3 [pid 5239] close(3 [pid 5081] umount2("./24/bus", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5242] <... mmap resumed>) = 0x7f8a3a600000 [pid 5081] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 128.931571][ T5239] loop2: detected capacity change from 0 to 1024 [pid 5239] <... close resumed>) = 0 [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 5239] close(4 [pid 5238] <... symlink resumed>) = 0 [pid 5081] newfstatat(AT_FDCWD, "./24/bus", [pid 5239] <... close resumed>) = 0 [pid 5239] mkdir("./bus", 0777) = 0 [pid 5081] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0