./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor364627135 <...> Warning: Permanently added '10.128.0.51' (ED25519) to the list of known hosts. execve("./syz-executor364627135", ["./syz-executor364627135"], 0x7ffc79cd3bb0 /* 10 vars */) = 0 brk(NULL) = 0x55557569a000 brk(0x55557569ad00) = 0x55557569ad00 arch_prctl(ARCH_SET_FS, 0x55557569a380) = 0 set_tid_address(0x55557569a650) = 5844 set_robust_list(0x55557569a660, 24) = 0 rseq(0x55557569aca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor364627135", 4096) = 27 getrandom("\x10\x8d\xd1\xdd\x63\x15\xe5\xfa", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55557569ad00 brk(0x5555756bbd00) = 0x5555756bbd00 brk(0x5555756bc000) = 0x5555756bc000 mprotect(0x7f516ee29000, 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 5845 attached [pid 5845] set_robust_list(0x55557569a660, 24 [pid 5844] <... clone resumed>, child_tidptr=0x55557569a650) = 5845 [pid 5845] <... set_robust_list resumed>) = 0 [pid 5845] mkdir("./syzkaller.aUPHDf", 0700 [pid 5844] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5846 attached [pid 5845] <... mkdir resumed>) = 0 [pid 5844] <... clone resumed>, child_tidptr=0x55557569a650) = 5846 [pid 5846] set_robust_list(0x55557569a660, 24 [pid 5844] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5846] <... set_robust_list resumed>) = 0 [pid 5845] chmod("./syzkaller.aUPHDf", 0777./strace-static-x86_64: Process 5847 attached [pid 5846] mkdir("./syzkaller.7t9Dv1", 0700 [pid 5845] <... chmod resumed>) = 0 [pid 5845] chdir("./syzkaller.aUPHDf" [pid 5844] <... clone resumed>, child_tidptr=0x55557569a650) = 5847 [pid 5847] set_robust_list(0x55557569a660, 24 [pid 5846] <... mkdir resumed>) = 0 [pid 5845] <... chdir resumed>) = 0 [pid 5847] <... set_robust_list resumed>) = 0 [pid 5846] chmod("./syzkaller.7t9Dv1", 0777 [pid 5845] mkdir("./0", 0777 [pid 5844] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5847] mkdir("./syzkaller.ZTObfr", 0700 [pid 5846] <... chmod resumed>) = 0 [pid 5846] chdir("./syzkaller.7t9Dv1" [pid 5845] <... mkdir resumed>) = 0 ./strace-static-x86_64: Process 5848 attached [pid 5847] <... mkdir resumed>) = 0 [pid 5846] <... chdir resumed>) = 0 [pid 5848] set_robust_list(0x55557569a660, 24 [pid 5846] mkdir("./0", 0777 [pid 5847] chmod("./syzkaller.ZTObfr", 0777 [pid 5844] <... clone resumed>, child_tidptr=0x55557569a650) = 5848 [pid 5848] <... set_robust_list resumed>) = 0 [pid 5845] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5847] <... chmod resumed>) = 0 [pid 5846] <... mkdir resumed>) = 0 [pid 5844] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5848] mkdir("./syzkaller.qBSoPw", 0700 [pid 5847] chdir("./syzkaller.ZTObfr" [pid 5846] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5845] <... openat resumed>) = 3 ./strace-static-x86_64: Process 5849 attached [pid 5848] <... mkdir resumed>) = 0 [pid 5847] <... chdir resumed>) = 0 [pid 5846] <... openat resumed>) = 3 [pid 5845] ioctl(3, LOOP_CLR_FD [pid 5844] <... clone resumed>, child_tidptr=0x55557569a650) = 5849 [pid 5847] mkdir("./0", 0777 [pid 5846] ioctl(3, LOOP_CLR_FD [pid 5845] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5849] set_robust_list(0x55557569a660, 24 [pid 5848] chmod("./syzkaller.qBSoPw", 0777 [pid 5846] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5849] <... set_robust_list resumed>) = 0 [pid 5845] close(3 [pid 5849] mkdir("./syzkaller.1m46QG", 0700 [pid 5848] <... chmod resumed>) = 0 [pid 5847] <... mkdir resumed>) = 0 [pid 5846] close(3 [pid 5845] <... close resumed>) = 0 [pid 5848] chdir("./syzkaller.qBSoPw") = 0 [pid 5848] mkdir("./0", 0777 [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5850 attached [pid 5848] <... mkdir resumed>) = 0 [pid 5850] set_robust_list(0x55557569a660, 24 [pid 5849] <... mkdir resumed>) = 0 [pid 5847] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5846] <... close resumed>) = 0 [pid 5850] <... set_robust_list resumed>) = 0 [pid 5849] chmod("./syzkaller.1m46QG", 0777 [pid 5848] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5845] <... clone resumed>, child_tidptr=0x55557569a650) = 5850 [pid 5850] chdir("./0" [pid 5847] <... openat resumed>) = 3 [pid 5846] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5850] <... chdir resumed>) = 0 [pid 5849] <... chmod resumed>) = 0 [pid 5848] <... openat resumed>) = 3 [pid 5847] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5847] close(3) = 0 [pid 5846] <... clone resumed>, child_tidptr=0x55557569a650) = 5852 [pid 5847] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5853 attached ./strace-static-x86_64: Process 5852 attached [pid 5853] set_robust_list(0x55557569a660, 24 [pid 5850] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5849] chdir("./syzkaller.1m46QG" [pid 5848] ioctl(3, LOOP_CLR_FD [pid 5853] <... set_robust_list resumed>) = 0 [pid 5852] set_robust_list(0x55557569a660, 24 [pid 5850] <... prctl resumed>) = 0 [pid 5849] <... chdir resumed>) = 0 [pid 5848] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5853] chdir("./0" [pid 5852] <... set_robust_list resumed>) = 0 [pid 5850] setpgid(0, 0 [pid 5849] mkdir("./0", 0777 [pid 5848] close(3 [pid 5847] <... clone resumed>, child_tidptr=0x55557569a650) = 5853 [pid 5853] <... chdir resumed>) = 0 [pid 5848] <... close resumed>) = 0 [pid 5853] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5853] setpgid(0, 0) = 0 [pid 5849] <... mkdir resumed>) = 0 [pid 5848] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5852] chdir("./0" [pid 5853] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC./strace-static-x86_64: Process 5854 attached [pid 5852] <... chdir resumed>) = 0 [pid 5850] <... setpgid resumed>) = 0 [pid 5849] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5854] set_robust_list(0x55557569a660, 24 [pid 5853] <... openat resumed>) = 3 [pid 5852] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5850] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5849] <... openat resumed>) = 3 [pid 5848] <... clone resumed>, child_tidptr=0x55557569a650) = 5854 [pid 5854] <... set_robust_list resumed>) = 0 [pid 5852] <... prctl resumed>) = 0 [pid 5850] <... openat resumed>) = 3 [pid 5849] ioctl(3, LOOP_CLR_FD [pid 5854] chdir("./0" [pid 5852] setpgid(0, 0 [pid 5850] write(3, "1000", 4 [pid 5849] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5853] write(3, "1000", 4 [pid 5852] <... setpgid resumed>) = 0 [pid 5850] <... write resumed>) = 4 [pid 5849] close(3 [pid 5853] <... write resumed>) = 4 [pid 5850] close(3 [pid 5849] <... close resumed>) = 0 [pid 5854] <... chdir resumed>) = 0 [pid 5853] close(3 [pid 5850] <... close resumed>) = 0 [pid 5849] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5854] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5853] <... close resumed>) = 0 [pid 5852] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5850] symlink("/dev/binderfs", "./binderfs" [pid 5854] <... prctl resumed>) = 0 [pid 5853] symlink("/dev/binderfs", "./binderfs" [pid 5852] <... openat resumed>) = 3 [pid 5850] <... symlink resumed>) = 0 ./strace-static-x86_64: Process 5855 attached [pid 5852] write(3, "1000", 4 [pid 5855] set_robust_list(0x55557569a660, 24 [pid 5853] <... symlink resumed>) = 0 [pid 5852] <... write resumed>) = 4 [pid 5855] <... set_robust_list resumed>) = 0 [pid 5854] setpgid(0, 0 [pid 5853] write(1, "executing program\n", 18 [pid 5852] close(3executing program executing program [pid 5855] chdir("./0" [pid 5854] <... setpgid resumed>) = 0 [pid 5853] <... write resumed>) = 18 [pid 5852] <... close resumed>) = 0 [pid 5850] write(1, "executing program\n", 18 [pid 5849] <... clone resumed>, child_tidptr=0x55557569a650) = 5855 [pid 5855] <... chdir resumed>) = 0 [pid 5854] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5852] symlink("/dev/binderfs", "./binderfs" [pid 5850] <... write resumed>) = 18 [pid 5855] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5854] <... openat resumed>) = 3 [pid 5853] memfd_create("syzkaller", 0 [pid 5852] <... symlink resumed>) = 0 [pid 5850] memfd_create("syzkaller", 0 [pid 5854] write(3, "1000", 4 [pid 5853] <... memfd_create resumed>) = 3 [pid 5852] write(1, "executing program\n", 18 [pid 5850] <... memfd_create resumed>) = 3 executing program [pid 5855] <... prctl resumed>) = 0 [pid 5854] <... write resumed>) = 4 [pid 5853] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5852] <... write resumed>) = 18 [pid 5850] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5855] setpgid(0, 0 [pid 5854] close(3 [pid 5853] <... mmap resumed>) = 0x7f5166800000 [pid 5852] memfd_create("syzkaller", 0 [pid 5850] <... mmap resumed>) = 0x7f5166800000 [pid 5854] <... close resumed>) = 0 [pid 5853] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5850] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5855] <... setpgid resumed>) = 0 [pid 5854] symlink("/dev/binderfs", "./binderfs" [pid 5852] <... memfd_create resumed>) = 3 [pid 5854] <... symlink resumed>) = 0 [pid 5852] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 executing program [pid 5850] <... write resumed>) = 524288 [pid 5854] write(1, "executing program\n", 18) = 18 [pid 5854] memfd_create("syzkaller", 0 [pid 5852] <... mmap resumed>) = 0x7f5166800000 [pid 5854] <... memfd_create resumed>) = 3 [pid 5854] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5855] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5854] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5852] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5855] <... openat resumed>) = 3 [pid 5855] write(3, "1000", 4 [pid 5850] munmap(0x7f5166800000, 138412032 [pid 5855] <... write resumed>) = 4 [pid 5850] <... munmap resumed>) = 0 [pid 5855] close(3) = 0 [pid 5854] <... write resumed>) = 524288 [pid 5853] <... write resumed>) = 524288 [pid 5852] <... write resumed>) = 524288 [pid 5850] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5855] symlink("/dev/binderfs", "./binderfs" [pid 5854] munmap(0x7f5166800000, 138412032 [pid 5855] <... symlink resumed>) = 0 [pid 5854] <... munmap resumed>) = 0 [pid 5855] write(1, "executing program\n", 18 [pid 5852] munmap(0x7f5166800000, 138412032 [pid 5850] <... openat resumed>) = 4 [pid 5855] <... write resumed>) = 18 [pid 5854] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5854] ioctl(4, LOOP_SET_FD, 3executing program [pid 5855] memfd_create("syzkaller", 0 [pid 5853] munmap(0x7f5166800000, 138412032 [pid 5852] <... munmap resumed>) = 0 [pid 5850] ioctl(4, LOOP_SET_FD, 3 [pid 5855] <... memfd_create resumed>) = 3 [pid 5854] <... ioctl resumed>) = 0 [pid 5853] <... munmap resumed>) = 0 [pid 5854] close(3) = 0 [pid 5854] close(4 [pid 5855] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5854] <... close resumed>) = 0 [pid 5853] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5852] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5850] <... ioctl resumed>) = 0 [pid 5855] <... mmap resumed>) = 0x7f5166800000 [pid 5853] <... openat resumed>) = 4 [pid 5852] <... openat resumed>) = 4 [pid 5850] close(3 [pid 5854] mkdir("./file2", 0777 [pid 5853] ioctl(4, LOOP_SET_FD, 3 [pid 5852] ioctl(4, LOOP_SET_FD, 3 [pid 5850] <... close resumed>) = 0 [pid 5855] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5854] <... mkdir resumed>) = 0 [pid 5854] mount("/dev/loop3", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5853] <... ioctl resumed>) = 0 [pid 5855] <... write resumed>) = 524288 [pid 5852] <... ioctl resumed>) = 0 [pid 5850] close(4 [pid 5853] close(3 [pid 5850] <... close resumed>) = 0 [pid 5855] munmap(0x7f5166800000, 138412032 [pid 5854] <... mount resumed>) = 0 [pid 5852] close(3 [pid 5853] <... close resumed>) = 0 [pid 5853] close(4) = 0 [pid 5853] mkdir("./file2", 0777 [pid 5850] mkdir("./file2", 0777 [pid 5853] <... mkdir resumed>) = 0 [pid 5850] <... mkdir resumed>) = 0 [pid 5850] mount("/dev/loop0", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5853] mount("/dev/loop2", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5855] <... munmap resumed>) = 0 [pid 5852] <... close resumed>) = 0 [pid 5855] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5854] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5852] close(4 [pid 5855] <... openat resumed>) = 4 [pid 5854] <... openat resumed>) = 3 [pid 5852] <... close resumed>) = 0 [ 62.987715][ T5854] loop3: detected capacity change from 0 to 1024 [ 62.989106][ T5850] loop0: detected capacity change from 0 to 1024 [ 63.008823][ T5853] loop2: detected capacity change from 0 to 1024 [ 63.015922][ T5852] loop1: detected capacity change from 0 to 1024 [pid 5855] ioctl(4, LOOP_SET_FD, 3 [pid 5854] chdir("./file2" [pid 5852] mkdir("./file2", 0777 [pid 5854] <... chdir resumed>) = 0 [pid 5852] <... mkdir resumed>) = 0 [pid 5854] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5852] mount("/dev/loop1", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5854] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5853] <... mount resumed>) = 0 [pid 5850] <... mount resumed>) = 0 [pid 5855] <... ioctl resumed>) = 0 [pid 5854] memfd_create("syzkaller", 0 [pid 5853] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5852] <... mount resumed>) = 0 [pid 5850] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5855] close(3 [pid 5854] <... memfd_create resumed>) = 4 [pid 5852] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5855] <... close resumed>) = 0 [pid 5854] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5853] <... openat resumed>) = 3 [pid 5852] <... openat resumed>) = 3 [pid 5850] <... openat resumed>) = 3 [pid 5855] close(4 [pid 5854] <... mmap resumed>) = 0x7f5166800000 [pid 5852] chdir("./file2" [pid 5855] <... close resumed>) = 0 [pid 5854] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5852] <... chdir resumed>) = 0 [pid 5855] mkdir("./file2", 0777 [pid 5852] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5855] <... mkdir resumed>) = 0 [pid 5853] chdir("./file2" [pid 5852] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5850] chdir("./file2" [pid 5855] mount("/dev/loop4", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5852] memfd_create("syzkaller", 0 [pid 5853] <... chdir resumed>) = 0 [pid 5852] <... memfd_create resumed>) = 4 [pid 5850] <... chdir resumed>) = 0 [pid 5852] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5853] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5850] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5853] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5852] <... mmap resumed>) = 0x7f5166800000 [pid 5853] memfd_create("syzkaller", 0 [pid 5852] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5850] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5853] <... memfd_create resumed>) = 4 [pid 5850] memfd_create("syzkaller", 0 [pid 5853] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5850] <... memfd_create resumed>) = 4 [pid 5850] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5853] <... mmap resumed>) = 0x7f5166800000 [pid 5854] <... write resumed>) = 524288 [ 63.054021][ T5855] loop4: detected capacity change from 0 to 1024 [pid 5853] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5850] <... mmap resumed>) = 0x7f5166800000 [pid 5855] <... mount resumed>) = 0 [pid 5852] <... write resumed>) = 524288 [pid 5855] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5854] munmap(0x7f5166800000, 138412032 [pid 5855] <... openat resumed>) = 3 [pid 5854] <... munmap resumed>) = 0 [pid 5852] munmap(0x7f5166800000, 138412032 [pid 5855] chdir("./file2" [pid 5852] <... munmap resumed>) = 0 [pid 5855] <... chdir resumed>) = 0 [pid 5855] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5854] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5852] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5855] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5854] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5852] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5854] close(4 [pid 5852] close(4 [pid 5855] memfd_create("syzkaller", 0 [pid 5854] <... close resumed>) = 0 [pid 5852] <... close resumed>) = 0 [pid 5855] <... memfd_create resumed>) = 4 [pid 5850] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288) = 524288 [pid 5855] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5853] <... write resumed>) = 524288 [pid 5854] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 5854] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5852] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 5853] munmap(0x7f5166800000, 138412032 [pid 5850] munmap(0x7f5166800000, 138412032 [pid 5852] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5850] <... munmap resumed>) = 0 [pid 5853] <... munmap resumed>) = 0 [pid 5853] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5850] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5855] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5853] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5850] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5853] close(4 [pid 5850] close(4 [pid 5852] <... openat resumed>) = 5 [pid 5853] <... close resumed>) = 0 [pid 5852] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}}) = -1 EBUSY (Device or resource busy) [pid 5852] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5854] <... openat resumed>) = 5 [pid 5854] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}}) = -1 EBUSY (Device or resource busy) [pid 5854] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5850] <... close resumed>) = 0 [pid 5855] <... write resumed>) = 524288 [pid 5850] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5855] munmap(0x7f5166800000, 138412032 [pid 5853] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5855] <... munmap resumed>) = 0 [pid 5855] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5855] close(4) = 0 [ 63.206661][ T5852] loop0: detected capacity change from 1024 to 3 [pid 5855] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 5854] <... ioctl resumed>) = 0 [pid 5853] <... openat resumed>) = 4 [pid 5850] <... openat resumed>) = 4 [pid 5855] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5850] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5854] exit_group(0 [pid 5853] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5854] <... exit_group resumed>) = ? [pid 5855] <... openat resumed>) = 5 [pid 5853] <... openat resumed>) = 5 [pid 5855] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}}) = -1 EBUSY (Device or resource busy) [pid 5853] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}} [ 63.248907][ T5852] Dev loop0: unable to read RDB block 3 [ 63.254736][ T5852] loop0: unable to read partition table [ 63.257587][ T5850] syz-executor364: attempt to access beyond end of device [ 63.257587][ T5850] loop0: rw=0, sector=86, nr_sectors = 2 limit=3 [ 63.260985][ T5852] loop0: partition table beyond EOD, truncated [ 63.277270][ T5850] Buffer I/O error on dev loop0, logical block 43, async page read [pid 5855] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5853] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5852] <... ioctl resumed>) = 0 [pid 5853] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5852] exit_group(0) = ? [ 63.291517][ T5852] loop_reread_partitions: partition scan of loop0 (Rt *3 !6{bO0.Qʝ H"Uqd\'Lz8w1AH) failed (rc=-5) [ 63.294383][ T5850] syz-executor364: attempt to access beyond end of device [ 63.294383][ T5850] loop0: rw=0, sector=88, nr_sectors = 2 limit=3 [ 63.318470][ T5850] Buffer I/O error on dev loop0, logical block 44, async page read [ 63.326485][ T5850] syz-executor364: attempt to access beyond end of device [ 63.326485][ T5850] loop0: rw=0, sector=90, nr_sectors = 2 limit=3 [ 63.339936][ T5850] Buffer I/O error on dev loop0, logical block 45, async page read [pid 5854] +++ exited with 0 +++ [pid 5852] +++ exited with 0 +++ [pid 5846] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5852, si_uid=0, si_status=0, si_utime=0, si_stime=8 /* 0.08 s */} --- [pid 5848] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5854, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5846] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5848] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5846] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5848] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5846] newfstatat(3, "", [pid 5848] <... openat resumed>) = 3 [pid 5846] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5848] newfstatat(3, "", [pid 5846] getdents64(3, [pid 5855] <... ioctl resumed>) = 0 [pid 5848] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5846] <... getdents64 resumed>0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5855] exit_group(0 [pid 5848] getdents64(3, [pid 5846] umount2("./0/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5855] <... exit_group resumed>) = ? [pid 5848] <... getdents64 resumed>0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5855] +++ exited with 0 +++ [pid 5848] umount2("./0/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5855, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=3 /* 0.03 s */} --- [pid 5849] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5849] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5849] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5849] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5849] getdents64(3, [pid 5850] <... openat resumed>) = 5 [pid 5848] <... umount2 resumed>) = 0 [pid 5846] <... umount2 resumed>) = 0 [pid 5850] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}} [pid 5849] <... getdents64 resumed>0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5850] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5848] umount2("./0/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5846] umount2("./0/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5850] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5849] umount2("./0/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5846] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5848] newfstatat(AT_FDCWD, "./0/file2", [pid 5846] newfstatat(AT_FDCWD, "./0/file2", [pid 5848] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5846] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5848] umount2("./0/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5848] openat(AT_FDCWD, "./0/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5848] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5848] getdents64(4, [pid 5846] umount2("./0/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5848] <... getdents64 resumed>0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5846] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5848] getdents64(4, [pid 5849] <... umount2 resumed>) = 0 [pid 5848] <... getdents64 resumed>0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5846] openat(AT_FDCWD, "./0/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5848] close(4 [pid 5849] umount2("./0/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5848] <... close resumed>) = 0 [pid 5846] <... openat resumed>) = 4 [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5848] rmdir("./0/file2" [pid 5846] newfstatat(4, "", [pid 5849] newfstatat(AT_FDCWD, "./0/file2", [pid 5846] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5849] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5848] <... rmdir resumed>) = 0 [pid 5849] umount2("./0/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5846] getdents64(4, [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5846] <... getdents64 resumed>0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5849] openat(AT_FDCWD, "./0/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5848] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] <... openat resumed>) = 4 [pid 5846] getdents64(4, [pid 5849] newfstatat(4, "", [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5846] <... getdents64 resumed>0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5849] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5848] newfstatat(AT_FDCWD, "./0/binderfs", [pid 5846] close(4 [pid 5848] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5853] <... ioctl resumed>) = 0 [pid 5849] getdents64(4, [pid 5846] <... close resumed>) = 0 [ 63.348070][ T5850] syz-executor364: attempt to access beyond end of device [ 63.348070][ T5850] loop0: rw=0, sector=92, nr_sectors = 2 limit=3 [ 63.362193][ T5850] Buffer I/O error on dev loop0, logical block 46, async page read [ 63.371480][ T5850] hfsplus: xattr searching failed [pid 5848] unlink("./0/binderfs" [pid 5853] exit_group(0 [pid 5849] <... getdents64 resumed>0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5853] <... exit_group resumed>) = ? [pid 5846] rmdir("./0/file2" [pid 5849] getdents64(4, [pid 5848] <... unlink resumed>) = 0 [pid 5853] +++ exited with 0 +++ [pid 5849] <... getdents64 resumed>0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5846] <... rmdir resumed>) = 0 [pid 5849] close(4 [pid 5848] getdents64(3, [pid 5846] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] <... close resumed>) = 0 [pid 5848] <... getdents64 resumed>0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5846] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5849] rmdir("./0/file2" [pid 5848] close(3 [pid 5849] <... rmdir resumed>) = 0 [pid 5848] <... close resumed>) = 0 [pid 5847] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5853, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5846] newfstatat(AT_FDCWD, "./0/binderfs", [pid 5849] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5848] rmdir("./0" [pid 5846] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5847] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5847] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5846] unlink("./0/binderfs" [pid 5847] newfstatat(3, "", [pid 5848] <... rmdir resumed>) = 0 [pid 5847] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5847] getdents64(3, [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5847] <... getdents64 resumed>0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5849] newfstatat(AT_FDCWD, "./0/binderfs", [pid 5847] umount2("./0/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5846] <... unlink resumed>) = 0 [pid 5849] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5848] mkdir("./1", 0777 [pid 5849] unlink("./0/binderfs" [pid 5848] <... mkdir resumed>) = 0 [pid 5849] <... unlink resumed>) = 0 [pid 5846] getdents64(3, 0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5846] close(3) = 0 [pid 5849] getdents64(3, [pid 5846] rmdir("./0" [pid 5849] <... getdents64 resumed>0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5848] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5847] <... umount2 resumed>) = 0 [pid 5846] <... rmdir resumed>) = 0 [pid 5849] close(3 [pid 5848] <... openat resumed>) = 3 [pid 5849] <... close resumed>) = 0 [pid 5849] rmdir("./0" [pid 5848] ioctl(3, LOOP_CLR_FD [pid 5849] <... rmdir resumed>) = 0 [pid 5847] umount2("./0/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5846] mkdir("./1", 0777 [pid 5847] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5848] <... ioctl resumed>) = 0 [pid 5847] newfstatat(AT_FDCWD, "./0/file2", [pid 5848] close(3 [pid 5849] mkdir("./1", 0777 [pid 5847] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5846] <... mkdir resumed>) = 0 [pid 5849] <... mkdir resumed>) = 0 [pid 5847] umount2("./0/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5846] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5847] openat(AT_FDCWD, "./0/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5846] <... openat resumed>) = 3 [pid 5847] <... openat resumed>) = 4 [pid 5849] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5847] newfstatat(4, "", [pid 5846] ioctl(3, LOOP_CLR_FD [pid 5849] <... openat resumed>) = 3 [pid 5847] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5846] <... ioctl resumed>) = 0 [pid 5847] getdents64(4, [pid 5846] close(3 [pid 5849] ioctl(3, LOOP_CLR_FD [pid 5847] <... getdents64 resumed>0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5846] <... close resumed>) = 0 [pid 5849] <... ioctl resumed>) = 0 [pid 5847] getdents64(4, [pid 5849] close(3 [pid 5847] <... getdents64 resumed>0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5847] close(4 [pid 5850] <... ioctl resumed>) = 0 [pid 5847] <... close resumed>) = 0 [pid 5850] exit_group(0 [pid 5848] <... close resumed>) = 0 [pid 5847] rmdir("./0/file2" [pid 5850] <... exit_group resumed>) = ? [pid 5848] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5847] <... rmdir resumed>) = 0 [pid 5847] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5850] +++ exited with 0 +++ [pid 5849] <... close resumed>) = 0 [pid 5847] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5847] newfstatat(AT_FDCWD, "./0/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5847] unlink("./0/binderfs") = 0 [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5850, si_uid=0, si_status=0, si_utime=0, si_stime=12 /* 0.12 s */} --- ./strace-static-x86_64: Process 5858 attached [pid 5848] <... clone resumed>, child_tidptr=0x55557569a650) = 5858 [pid 5846] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5845] restart_syscall(<... resuming interrupted clone ...> [pid 5858] set_robust_list(0x55557569a660, 24 [pid 5847] getdents64(3, 0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5858] <... set_robust_list resumed>) = 0 [pid 5847] close(3./strace-static-x86_64: Process 5859 attached [pid 5858] chdir("./1" [pid 5847] <... close resumed>) = 0 [pid 5846] <... clone resumed>, child_tidptr=0x55557569a650) = 5859 [pid 5858] <... chdir resumed>) = 0 [pid 5858] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5847] rmdir("./0" [pid 5859] set_robust_list(0x55557569a660, 24 [pid 5858] <... prctl resumed>) = 0 [pid 5847] <... rmdir resumed>) = 0 [pid 5859] <... set_robust_list resumed>) = 0 [pid 5858] setpgid(0, 0 [pid 5849] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5858] <... setpgid resumed>) = 0 [pid 5859] chdir("./1" [pid 5858] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5847] mkdir("./1", 0777./strace-static-x86_64: Process 5860 attached [pid 5860] set_robust_list(0x55557569a660, 24 [pid 5859] <... chdir resumed>) = 0 [pid 5858] <... openat resumed>) = 3 [pid 5845] <... restart_syscall resumed>) = 0 [pid 5858] write(3, "1000", 4) = 4 [pid 5859] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5858] close(3 [pid 5860] <... set_robust_list resumed>) = 0 [pid 5859] <... prctl resumed>) = 0 [pid 5849] <... clone resumed>, child_tidptr=0x55557569a650) = 5860 [pid 5858] <... close resumed>) = 0 [pid 5847] <... mkdir resumed>) = 0 [pid 5845] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5860] chdir("./1" [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5858] symlink("/dev/binderfs", "./binderfs" [pid 5845] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5858] <... symlink resumed>) = 0 [pid 5845] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] getdents64(3, 0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5845] umount2("./0/file2", MNT_FORCE|UMOUNT_NOFOLLOWexecuting program [pid 5858] write(1, "executing program\n", 18) = 18 [pid 5859] setpgid(0, 0 [pid 5860] <... chdir resumed>) = 0 [pid 5859] <... setpgid resumed>) = 0 [pid 5847] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5860] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5847] <... openat resumed>) = 3 [pid 5860] <... prctl resumed>) = 0 [pid 5859] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5847] ioctl(3, LOOP_CLR_FD [pid 5860] setpgid(0, 0 [pid 5859] <... openat resumed>) = 3 [pid 5847] <... ioctl resumed>) = 0 [pid 5860] <... setpgid resumed>) = 0 [pid 5859] write(3, "1000", 4 [pid 5847] close(3 [pid 5860] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5859] <... write resumed>) = 4 [pid 5860] <... openat resumed>) = 3 [pid 5859] close(3 [pid 5860] write(3, "1000", 4 [pid 5859] <... close resumed>) = 0 [pid 5860] <... write resumed>) = 4 [pid 5859] symlink("/dev/binderfs", "./binderfs" [pid 5860] close(3 [pid 5859] <... symlink resumed>) = 0 [pid 5847] <... close resumed>) = 0 executing program executing program [pid 5860] <... close resumed>) = 0 [pid 5859] write(1, "executing program\n", 18 [pid 5860] symlink("/dev/binderfs", "./binderfs" [pid 5859] <... write resumed>) = 18 [pid 5860] <... symlink resumed>) = 0 [pid 5859] memfd_create("syzkaller", 0 [pid 5860] write(1, "executing program\n", 18 [pid 5859] <... memfd_create resumed>) = 3 [pid 5860] <... write resumed>) = 18 [pid 5860] memfd_create("syzkaller", 0 [pid 5859] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5858] memfd_create("syzkaller", 0 [pid 5847] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5860] <... memfd_create resumed>) = 3 [pid 5858] <... memfd_create resumed>) = 3 [pid 5860] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0./strace-static-x86_64: Process 5861 attached ) = 0x7f5166800000 [pid 5858] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5860] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5861] set_robust_list(0x55557569a660, 24 [pid 5858] <... mmap resumed>) = 0x7f5166800000 [pid 5847] <... clone resumed>, child_tidptr=0x55557569a650) = 5861 [pid 5861] <... set_robust_list resumed>) = 0 [pid 5861] chdir("./1") = 0 [pid 5861] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5859] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5861] setpgid(0, 0) = 0 [pid 5861] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5861] write(3, "1000", 4) = 4 [pid 5861] close(3) = 0 [pid 5861] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5861] write(1, "executing program\n", 18) = 18 [pid 5861] memfd_create("syzkaller", 0) = 3 [ 63.510132][ T2903] kworker/u8:7: attempt to access beyond end of device [ 63.510132][ T2903] loop0: rw=1, sector=206, nr_sectors = 8 limit=3 [pid 5859] <... write resumed>) = 524288 [pid 5861] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5860] <... write resumed>) = 524288 [pid 5858] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5861] <... mmap resumed>) = 0x7f5166800000 [pid 5861] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5860] munmap(0x7f5166800000, 138412032 [pid 5859] munmap(0x7f5166800000, 138412032 [pid 5858] <... write resumed>) = 524288 [pid 5845] <... umount2 resumed>) = 0 [pid 5858] munmap(0x7f5166800000, 138412032 [pid 5860] <... munmap resumed>) = 0 [pid 5859] <... munmap resumed>) = 0 [pid 5858] <... munmap resumed>) = 0 [pid 5845] umount2("./0/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5858] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5859] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5858] <... openat resumed>) = 4 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5858] ioctl(4, LOOP_SET_FD, 3 [pid 5860] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5859] <... openat resumed>) = 4 [pid 5845] newfstatat(AT_FDCWD, "./0/file2", [pid 5860] <... openat resumed>) = 4 [pid 5859] ioctl(4, LOOP_SET_FD, 3 [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 63.558466][ T2903] kworker/u8:7: attempt to access beyond end of device [ 63.558466][ T2903] loop0: rw=2049, sector=198, nr_sectors = 16 limit=3 [ 63.592323][ T5858] loop3: detected capacity change from 0 to 1024 [ 63.594537][ T5859] loop1: detected capacity change from 0 to 1024 [pid 5860] ioctl(4, LOOP_SET_FD, 3 [pid 5845] umount2("./0/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5861] <... write resumed>) = 524288 [pid 5859] <... ioctl resumed>) = 0 [pid 5858] <... ioctl resumed>) = 0 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5861] munmap(0x7f5166800000, 138412032 [pid 5859] close(3 [pid 5858] close(3 [pid 5860] <... ioctl resumed>) = 0 [pid 5858] <... close resumed>) = 0 [pid 5845] openat(AT_FDCWD, "./0/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5861] <... munmap resumed>) = 0 [pid 5860] close(3 [pid 5859] <... close resumed>) = 0 [pid 5858] close(4 [pid 5861] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5860] <... close resumed>) = 0 [pid 5859] close(4 [pid 5845] <... openat resumed>) = 4 [pid 5861] <... openat resumed>) = 4 [pid 5860] close(4 [pid 5859] <... close resumed>) = 0 [pid 5845] newfstatat(4, "", [pid 5860] <... close resumed>) = 0 [pid 5859] mkdir("./file2", 0777 [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5861] ioctl(4, LOOP_SET_FD, 3 [pid 5860] mkdir("./file2", 0777 [pid 5845] getdents64(4, [pid 5859] <... mkdir resumed>) = 0 [pid 5858] <... close resumed>) = 0 [pid 5859] mount("/dev/loop1", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5858] mkdir("./file2", 0777 [pid 5845] <... getdents64 resumed>0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5845] getdents64(4, 0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5845] close(4 [pid 5860] <... mkdir resumed>) = 0 [pid 5845] <... close resumed>) = 0 [pid 5860] mount("/dev/loop4", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5845] rmdir("./0/file2") = 0 [pid 5845] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5858] <... mkdir resumed>) = 0 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5860] <... mount resumed>) = 0 [pid 5858] mount("/dev/loop3", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5845] newfstatat(AT_FDCWD, "./0/binderfs", [pid 5860] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 5845] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5860] chdir("./file2") = 0 [pid 5845] unlink("./0/binderfs" [pid 5860] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5845] <... unlink resumed>) = 0 [pid 5860] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5845] getdents64(3, [pid 5860] memfd_create("syzkaller", 0 [pid 5859] <... mount resumed>) = 0 [pid 5845] <... getdents64 resumed>0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5860] <... memfd_create resumed>) = 4 [pid 5859] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5860] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5845] close(3 [pid 5860] <... mmap resumed>) = 0x7f5166800000 [pid 5859] <... openat resumed>) = 3 [pid 5860] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5859] chdir("./file2" [pid 5845] <... close resumed>) = 0 [pid 5859] <... chdir resumed>) = 0 [pid 5845] rmdir("./0" [ 63.606515][ T5860] loop4: detected capacity change from 0 to 1024 [ 63.619366][ T5861] loop2: detected capacity change from 0 to 1024 [pid 5859] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5861] <... ioctl resumed>) = 0 [pid 5845] <... rmdir resumed>) = 0 [pid 5861] close(3 [pid 5859] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5861] <... close resumed>) = 0 [pid 5861] close(4) = 0 [pid 5860] <... write resumed>) = 524288 [pid 5859] memfd_create("syzkaller", 0 [pid 5858] <... mount resumed>) = 0 [pid 5845] mkdir("./1", 0777 [pid 5861] mkdir("./file2", 0777 [pid 5859] <... memfd_create resumed>) = 4 [pid 5845] <... mkdir resumed>) = 0 [pid 5858] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5845] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5861] <... mkdir resumed>) = 0 [pid 5859] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5858] <... openat resumed>) = 3 [pid 5845] <... openat resumed>) = 3 [pid 5859] <... mmap resumed>) = 0x7f5166800000 [pid 5858] chdir("./file2" [pid 5845] ioctl(3, LOOP_CLR_FD [pid 5858] <... chdir resumed>) = 0 [pid 5845] <... ioctl resumed>) = 0 [pid 5858] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5845] close(3 [pid 5858] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5845] <... close resumed>) = 0 [pid 5858] memfd_create("syzkaller", 0 [pid 5861] mount("/dev/loop2", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5858] <... memfd_create resumed>) = 4 [pid 5860] munmap(0x7f5166800000, 138412032 [pid 5858] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5860] <... munmap resumed>) = 0 [pid 5858] <... mmap resumed>) = 0x7f5166800000 [pid 5860] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5860] close(4 [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5859] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5858] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5860] <... close resumed>) = 0 [pid 5845] <... clone resumed>, child_tidptr=0x55557569a650) = 5862 ./strace-static-x86_64: Process 5862 attached [pid 5860] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5858] <... write resumed>) = 524288 [pid 5861] <... mount resumed>) = 0 [pid 5860] <... openat resumed>) = 4 [pid 5858] munmap(0x7f5166800000, 138412032 [pid 5862] set_robust_list(0x55557569a660, 24 [pid 5861] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5858] <... munmap resumed>) = 0 [pid 5861] <... openat resumed>) = 3 [pid 5860] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5862] <... set_robust_list resumed>) = 0 [pid 5861] chdir("./file2" [pid 5858] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5859] <... write resumed>) = 524288 [pid 5862] chdir("./1" [pid 5861] <... chdir resumed>) = 0 [pid 5858] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5862] <... chdir resumed>) = 0 [pid 5861] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5859] munmap(0x7f5166800000, 138412032 [pid 5858] close(4 [pid 5862] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5861] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5859] <... munmap resumed>) = 0 [pid 5862] <... prctl resumed>) = 0 [pid 5861] memfd_create("syzkaller", 0 [pid 5859] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5862] setpgid(0, 0) = 0 [pid 5859] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5862] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5861] <... memfd_create resumed>) = 4 [pid 5859] close(4 [pid 5858] <... close resumed>) = 0 [pid 5858] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 5858] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5859] <... close resumed>) = 0 [pid 5861] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5858] <... openat resumed>) = 5 [pid 5858] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}} [pid 5862] <... openat resumed>) = 3 [pid 5861] <... mmap resumed>) = 0x7f5166800000 [pid 5858] <... ioctl resumed>) = 0 [pid 5858] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5860] <... openat resumed>) = 5 [pid 5862] write(3, "1000", 4 [pid 5860] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}} [pid 5862] <... write resumed>) = 4 [pid 5862] close(3) = 0 [pid 5862] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5859] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5861] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5862] write(1, "executing program\n", 18executing program ) = 18 [pid 5862] memfd_create("syzkaller", 0) = 3 [pid 5862] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5861] <... write resumed>) = 524288 [pid 5862] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5861] munmap(0x7f5166800000, 138412032) = 0 [pid 5861] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5861] close(4) = 0 [pid 5861] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5862] <... write resumed>) = 524288 [ 63.777000][ T5858] [ 63.779361][ T5858] ====================================================== [ 63.786565][ T5858] WARNING: possible circular locking dependency detected [ 63.793686][ T5858] 6.12.0-rc5-next-20241101-syzkaller #0 Not tainted [ 63.800288][ T5858] ------------------------------------------------------ [ 63.807499][ T5858] syz-executor364/5858 is trying to acquire lock: [ 63.813901][ T5858] ffff88807d32c0b0 (&tree->tree_lock){+.+.}-{4:4}, at: hfsplus_find_init+0x14a/0x1c0 [ 63.823416][ T5858] [ 63.823416][ T5858] but task is already holding lock: [ 63.830931][ T5858] ffff888033eda4b8 (&sb->s_type->i_mutex_key#15){+.+.}-{4:4}, at: hfsplus_file_fsync+0xe8/0x4d0 [ 63.841380][ T5858] [ 63.841380][ T5858] which lock already depends on the new lock. [ 63.841380][ T5858] [ 63.851801][ T5858] [ 63.851801][ T5858] the existing dependency chain (in reverse order) is: [ 63.860802][ T5858] [ 63.860802][ T5858] -> #2 (&sb->s_type->i_mutex_key#15){+.+.}-{4:4}: [ 63.869499][ T5858] lock_acquire+0x1ed/0x550 [ 63.874528][ T5858] down_write+0x99/0x220 [ 63.879380][ T5858] hfsplus_file_fsync+0xe8/0x4d0 [ 63.884838][ T5858] __loop_update_dio+0x1a4/0x500 [ 63.890291][ T5858] loop_set_status+0x62b/0x8f0 [ 63.895577][ T5858] lo_ioctl+0xcbc/0x1f50 [ 63.900334][ T5858] blkdev_ioctl+0x57d/0x6a0 [ 63.905346][ T5858] __se_sys_ioctl+0xf9/0x170 [ 63.910450][ T5858] do_syscall_64+0xf3/0x230 [ 63.915465][ T5858] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 63.921878][ T5858] [ 63.921878][ T5858] -> #1 (&q->q_usage_counter(io)#17){++++}-{0:0}: [ 63.930485][ T5858] lock_acquire+0x1ed/0x550 [ 63.935500][ T5858] blk_mq_submit_bio+0x1510/0x2490 [ 63.941145][ T5858] __submit_bio+0x2c2/0x560 [ 63.946175][ T5858] submit_bio_noacct_nocheck+0x4d3/0xe30 [ 63.952331][ T5858] block_read_full_folio+0x93b/0xcd0 [ 63.958134][ T5858] filemap_read_folio+0x14b/0x630 [ 63.963676][ T5858] do_read_cache_folio+0x3f5/0x850 [ 63.969403][ T5858] do_read_cache_page+0x30/0x200 [ 63.974916][ T5858] __hfs_bnode_create+0x487/0x770 [ 63.980476][ T5858] hfsplus_bnode_find+0x237/0x10c0 [ 63.986115][ T5858] hfsplus_brec_find+0x183/0x570 [ 63.991574][ T5858] hfsplus_brec_read+0x2b/0x110 [ 63.996995][ T5858] hfsplus_find_cat+0x17f/0x5d0 [ 64.002360][ T5858] hfsplus_iget+0x483/0x680 [ 64.007394][ T5858] hfsplus_fill_super+0xc4d/0x1be0 [ 64.013034][ T5858] get_tree_bdev_flags+0x48c/0x5c0 [ 64.018672][ T5858] vfs_get_tree+0x90/0x2b0 [ 64.023619][ T5858] do_new_mount+0x2be/0xb40 [ 64.028634][ T5858] __se_sys_mount+0x2d6/0x3c0 [ 64.033820][ T5858] do_syscall_64+0xf3/0x230 [ 64.038838][ T5858] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 64.045246][ T5858] [ 64.045246][ T5858] -> #0 (&tree->tree_lock){+.+.}-{4:4}: [ 64.052975][ T5858] validate_chain+0x18ef/0x5920 [ 64.058339][ T5858] __lock_acquire+0x1397/0x2100 [ 64.063699][ T5858] lock_acquire+0x1ed/0x550 [ 64.068721][ T5858] __mutex_lock+0x1ac/0xee0 [ 64.073752][ T5858] hfsplus_find_init+0x14a/0x1c0 [ 64.079211][ T5858] hfsplus_cat_write_inode+0x1df/0x1070 [ 64.085268][ T5858] __writeback_single_inode+0x711/0x10d0 [ 64.091739][ T5858] writeback_single_inode+0x1f3/0x660 [ 64.097629][ T5858] sync_inode_metadata+0xc4/0x120 [ 64.103182][ T5858] hfsplus_file_fsync+0xf5/0x4d0 [ 64.108660][ T5858] __loop_update_dio+0x1a4/0x500 [ 64.114119][ T5858] loop_set_status+0x62b/0x8f0 [ 64.119404][ T5858] lo_ioctl+0xcbc/0x1f50 [ 64.124165][ T5858] blkdev_ioctl+0x57d/0x6a0 [ 64.129186][ T5858] __se_sys_ioctl+0xf9/0x170 [ 64.134379][ T5858] do_syscall_64+0xf3/0x230 [ 64.139438][ T5858] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 64.145848][ T5858] [ 64.145848][ T5858] other info that might help us debug this: [ 64.145848][ T5858] [ 64.156071][ T5858] Chain exists of: [ 64.156071][ T5858] &tree->tree_lock --> &q->q_usage_counter(io)#17 --> &sb->s_type->i_mutex_key#15 [ 64.156071][ T5858] [ 64.171202][ T5858] Possible unsafe locking scenario: [ 64.171202][ T5858] [ 64.178649][ T5858] CPU0 CPU1 [ 64.184093][ T5858] ---- ---- [ 64.189445][ T5858] lock(&sb->s_type->i_mutex_key#15); [ 64.194900][ T5858] lock(&q->q_usage_counter(io)#17); [ 64.202796][ T5858] lock(&sb->s_type->i_mutex_key#15); [ 64.210769][ T5858] lock(&tree->tree_lock); [ 64.215268][ T5858] [ 64.215268][ T5858] *** DEADLOCK *** [ 64.215268][ T5858] [ 64.223398][ T5858] 4 locks held by syz-executor364/5858: [ 64.228936][ T5858] #0: ffff888024e99360 (&lo->lo_mutex){+.+.}-{4:4}, at: loop_set_status+0x2a/0x8f0 [ 64.238340][ T5858] #1: ffff888144371db8 (&q->q_usage_counter(io)#17){++++}-{0:0}, at: blk_mq_freeze_queue+0x15/0x20 [ 64.249129][ T5858] #2: ffff888144371df0 (&q->q_usage_counter(queue)){+.+.}-{0:0}, at: blk_mq_freeze_queue+0x15/0x20 [ 64.260021][ T5858] #3: ffff888033eda4b8 (&sb->s_type->i_mutex_key#15){+.+.}-{4:4}, at: hfsplus_file_fsync+0xe8/0x4d0 [ 64.270987][ T5858] [ 64.270987][ T5858] stack backtrace: [ 64.276877][ T5858] CPU: 0 UID: 0 PID: 5858 Comm: syz-executor364 Not tainted 6.12.0-rc5-next-20241101-syzkaller #0 [ 64.287450][ T5858] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 64.297510][ T5858] Call Trace: [ 64.300792][ T5858] [ 64.303716][ T5858] dump_stack_lvl+0x241/0x360 [ 64.308390][ T5858] ? __pfx_dump_stack_lvl+0x10/0x10 [ 64.313576][ T5858] ? __pfx__printk+0x10/0x10 [ 64.318163][ T5858] print_circular_bug+0x13a/0x1b0 [ 64.323192][ T5858] check_noncircular+0x36a/0x4a0 [ 64.328122][ T5858] ? __pfx_check_noncircular+0x10/0x10 [ 64.333571][ T5858] ? lockdep_lock+0x123/0x2b0 [ 64.338421][ T5858] validate_chain+0x18ef/0x5920 [ 64.343272][ T5858] ? __pfx_validate_chain+0x10/0x10 [ 64.348467][ T5858] ? mark_lock+0x9a/0x360 [ 64.352788][ T5858] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 64.358766][ T5858] ? mark_lock+0x9a/0x360 [ 64.363086][ T5858] __lock_acquire+0x1397/0x2100 [ 64.367963][ T5858] lock_acquire+0x1ed/0x550 [ 64.372456][ T5858] ? hfsplus_find_init+0x14a/0x1c0 [ 64.377582][ T5858] ? __pfx_lock_acquire+0x10/0x10 [ 64.382598][ T5858] ? hfsplus_find_init+0x85/0x1c0 [ 64.387617][ T5858] ? hfsplus_cat_write_inode+0x1df/0x1070 [ 64.393332][ T5858] ? __pfx___might_resched+0x10/0x10 [ 64.398611][ T5858] ? __loop_update_dio+0x1a4/0x500 [ 64.403714][ T5858] ? loop_set_status+0x62b/0x8f0 [ 64.408643][ T5858] ? lo_ioctl+0xcbc/0x1f50 [ 64.413068][ T5858] ? blkdev_ioctl+0x57d/0x6a0 [ 64.417735][ T5858] ? __se_sys_ioctl+0xf9/0x170 [ 64.422511][ T5858] ? do_syscall_64+0xf3/0x230 [ 64.427200][ T5858] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 64.433277][ T5858] __mutex_lock+0x1ac/0xee0 [ 64.437864][ T5858] ? hfsplus_find_init+0x14a/0x1c0 [ 64.442973][ T5858] ? hfsplus_find_init+0x14a/0x1c0 [ 64.448077][ T5858] ? __pfx___mutex_lock+0x10/0x10 [ 64.453092][ T5858] ? rcu_is_watching+0x15/0xb0 [ 64.457848][ T5858] ? __kmalloc_noprof+0x2a5/0x4c0 [ 64.462876][ T5858] ? hfsplus_find_init+0x85/0x1c0 [ 64.467895][ T5858] hfsplus_find_init+0x14a/0x1c0 [ 64.472825][ T5858] hfsplus_cat_write_inode+0x1df/0x1070 [ 64.478371][ T5858] ? __pfx_hfsplus_cat_write_inode+0x10/0x10 [ 64.484432][ T5858] ? trace_contention_end+0x3c/0x120 [ 64.489707][ T5858] ? __mutex_lock+0x37f/0xee0 [ 64.494384][ T5858] ? __writeback_single_inode+0x48f/0x10d0 [ 64.500181][ T5858] ? do_raw_spin_lock+0x14f/0x370 [ 64.505197][ T5858] ? __pfx_lock_release+0x10/0x10 [ 64.510214][ T5858] ? hfsplus_write_inode+0x19c/0x5e0 [ 64.515493][ T5858] __writeback_single_inode+0x711/0x10d0 [ 64.521128][ T5858] writeback_single_inode+0x1f3/0x660 [ 64.526491][ T5858] sync_inode_metadata+0xc4/0x120 [ 64.531518][ T5858] ? __pfx_sync_inode_metadata+0x10/0x10 [ 64.537153][ T5858] ? __pfx_down_write+0x10/0x10 [ 64.542002][ T5858] ? kobject_uevent_env+0x54d/0x8e0 [ 64.547196][ T5858] ? kfree+0x196/0x420 [ 64.551254][ T5858] hfsplus_file_fsync+0xf5/0x4d0 [ 64.556187][ T5858] __loop_update_dio+0x1a4/0x500 [ 64.561119][ T5858] loop_set_status+0x62b/0x8f0 [ 64.565877][ T5858] lo_ioctl+0xcbc/0x1f50 [ 64.570121][ T5858] ? mark_lock+0x9a/0x360 [ 64.574442][ T5858] ? validate_chain+0x11e/0x5920 [ 64.579375][ T5858] ? __pfx_lo_ioctl+0x10/0x10 [ 64.584043][ T5858] ? mark_lock+0x9a/0x360 [ 64.588449][ T5858] ? __lock_acquire+0x1397/0x2100 [ 64.593558][ T5858] ? unwind_next_frame+0x18e6/0x22d0 [ 64.598837][ T5858] ? preempt_count_add+0x93/0x190 [ 64.603857][ T5858] ? is_bpf_text_address+0x285/0x2a0 [ 64.609129][ T5858] ? is_bpf_text_address+0x26/0x2a0 [ 64.614667][ T5858] ? __pfx_stack_trace_consume_entry+0x10/0x10 [ 64.620901][ T5858] ? kernel_text_address+0xa7/0xe0 [ 64.626005][ T5858] ? __kernel_text_address+0xd/0x40 [ 64.631204][ T5858] ? unwind_get_return_address+0x4d/0x90 [ 64.636826][ T5858] ? arch_stack_walk+0xfd/0x150 [ 64.641677][ T5858] ? stack_trace_save+0x118/0x1d0 [ 64.646697][ T5858] ? __pfx_stack_trace_save+0x10/0x10 [ 64.652066][ T5858] ? stack_depot_save_flags+0x29/0x830 [ 64.657629][ T5858] ? kasan_save_track+0x51/0x80 [ 64.662493][ T5858] ? kasan_save_track+0x3f/0x80 [ 64.667357][ T5858] ? kasan_save_free_info+0x40/0x50 [ 64.672550][ T5858] ? __kasan_slab_free+0x59/0x70 [ 64.677489][ T5858] ? kfree+0x196/0x420 [ 64.681553][ T5858] ? tomoyo_path_number_perm+0x679/0x860 [ 64.687194][ T5858] ? security_file_ioctl+0xc6/0x2a0 [ 64.692388][ T5858] ? __se_sys_ioctl+0x47/0x170 [ 64.697148][ T5858] ? do_syscall_64+0xf3/0x230 [ 64.701814][ T5858] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 64.707880][ T5858] ? do_vfs_ioctl+0xf08/0x2e40 [ 64.712641][ T5858] ? __pfx_do_vfs_ioctl+0x10/0x10 [ 64.717660][ T5858] ? mark_lock+0x9a/0x360 [ 64.721982][ T5858] ? tomoyo_path_number_perm+0x206/0x860 [ 64.727694][ T5858] ? __pfx_lock_release+0x10/0x10 [ 64.732714][ T5858] ? tomoyo_path_number_perm+0x679/0x860 [ 64.738339][ T5858] ? tomoyo_path_number_perm+0x679/0x860 [ 64.743967][ T5858] ? blkdev_common_ioctl+0xfca/0x2480 [ 64.749343][ T5858] ? __pfx_blkdev_common_ioctl+0x10/0x10 [ 64.754963][ T5858] ? tomoyo_path_number_perm+0x206/0x860 [ 64.760592][ T5858] ? __pfx_tomoyo_path_number_perm+0x10/0x10 [ 64.766577][ T5858] ? file_to_blk_mode+0xcc/0x140 [ 64.771508][ T5858] ? __pfx_lo_ioctl+0x10/0x10 [ 64.776174][ T5858] blkdev_ioctl+0x57d/0x6a0 [ 64.780845][ T5858] ? __pfx_blkdev_ioctl+0x10/0x10 [ 64.785855][ T5858] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 64.792197][ T5858] ? __pfx_blkdev_ioctl+0x10/0x10 [ 64.797210][ T5858] __se_sys_ioctl+0xf9/0x170 [ 64.801795][ T5858] do_syscall_64+0xf3/0x230 [ 64.806288][ T5858] ? clear_bhb_loop+0x35/0x90 [ 64.810952][ T5858] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 64.816851][ T5858] RIP: 0033:0x7f516edb57d9 [ 64.821351][ T5858] 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 [ 64.840947][ T5858] RSP: 002b:00007ffc20ab2828 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 64.849359][ T5858] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f516edb57d9 [ 64.857322][ T5858] RDX: 0000000020001300 RSI: 0000000000004c04 RDI: 0000000000000004 [ 64.865279][ T5858] RBP: 0000000000000000 R08: 0000000000000000 R09: 00007ffc20ab2860 [ 64.873241][ T5858] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffc20ab284c [pid 5862] munmap(0x7f5166800000, 138412032) = 0 [pid 5862] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5858] <... ioctl resumed>) = 0 [pid 5860] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5858] exit_group(0 [pid 5860] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5859] <... openat resumed>) = 4 [pid 5858] <... exit_group resumed>) = ? [pid 5859] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5858] +++ exited with 0 +++ [pid 5859] <... openat resumed>) = 5 [pid 5859] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}} [pid 5848] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5858, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5848] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5848] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5848] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5848] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [ 64.881286][ T5858] R13: 0000000000000001 R14: 431bde82d7b634db R15: 00007ffc20ab2880 [ 64.889396][ T5858] [pid 5848] getdents64(3, 0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5862] <... openat resumed>) = 4 [pid 5861] <... openat resumed>) = 4 [pid 5860] <... ioctl resumed>) = 0 [pid 5859] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5860] exit_group(0 [pid 5859] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5848] umount2("./1/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5862] ioctl(4, LOOP_SET_FD, 3 [pid 5861] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5860] <... exit_group resumed>) = ? [pid 5848] <... umount2 resumed>) = -1 EBUSY (Device or resource busy) [pid 5860] +++ exited with 0 +++ [pid 5848] newfstatat(AT_FDCWD, "./1/file2", [pid 5849] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5860, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 5849] restart_syscall(<... resuming interrupted clone ...> [pid 5848] <... newfstatat resumed>{st_mode=S_IFDIR|0766, st_size=10, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5848] umount2("./1/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EBUSY (Device or resource busy) [pid 5848] openat(AT_FDCWD, "./1/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5848] newfstatat(4, "", {st_mode=S_IFDIR|0766, st_size=10, ...}, AT_EMPTY_PATH) = 0 [pid 5848] getdents64(4, [pid 5861] <... openat resumed>) = 5 [pid 5861] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}} [pid 5848] <... getdents64 resumed>0x5555756a3730 /* 4 entries */, 32768) = 112 [pid 5848] umount2("./1/file2/cgroup.stat", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5849] <... restart_syscall resumed>) = 0 [pid 5848] newfstatat(AT_FDCWD, "./1/file2/cgroup.stat", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5848] unlink("./1/file2/cgroup.stat") = 0 [pid 5849] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5848] umount2("./1/file2/file.c??d", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 ENOENT (No such file or directory) [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5849] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5848] newfstatat(AT_FDCWD, "./1/file2/file.c??d", [pid 5849] <... openat resumed>) = 3 [pid 5848] <... newfstatat resumed>0x7ffc20ab0670, AT_SYMLINK_NOFOLLOW) = -1 ENOENT (No such file or directory) [pid 5848] exit_group(1 [pid 5849] newfstatat(3, "", [pid 5848] <... exit_group resumed>) = ? [pid 5849] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5849] getdents64(3, 0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5849] umount2("./1/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5848] +++ exited with 1 +++ [pid 5844] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5848, si_uid=0, si_status=1, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5844] restart_syscall(<... resuming interrupted clone ...> [pid 5849] <... umount2 resumed>) = 0 [ 64.958907][ T5848] hfsplus: walked past end of dir [pid 5849] umount2("./1/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5849] newfstatat(AT_FDCWD, "./1/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5849] umount2("./1/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5849] openat(AT_FDCWD, "./1/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5862] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5861] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5859] <... ioctl resumed>) = 0 [pid 5862] ioctl(4, LOOP_CLR_FD [pid 5861] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5859] exit_group(0 [pid 5849] <... openat resumed>) = 4 [pid 5859] <... exit_group resumed>) = ? [pid 5849] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5849] getdents64(4, [pid 5859] +++ exited with 0 +++ [pid 5849] <... getdents64 resumed>0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5849] getdents64(4, 0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5849] close(4 [pid 5846] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5859, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=5 /* 0.05 s */} --- [pid 5849] <... close resumed>) = 0 [pid 5846] restart_syscall(<... resuming interrupted clone ...> [pid 5862] <... ioctl resumed>) = 0 [pid 5861] <... ioctl resumed>) = 0 [pid 5849] rmdir("./1/file2" [pid 5846] <... restart_syscall resumed>) = 0 [pid 5849] <... rmdir resumed>) = 0 [pid 5861] exit_group(0 [pid 5849] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5846] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] newfstatat(AT_FDCWD, "./1/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5846] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5846] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5849] unlink("./1/binderfs" [pid 5846] <... openat resumed>) = 3 [pid 5849] <... unlink resumed>) = 0 [pid 5846] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5861] <... exit_group resumed>) = ? [pid 5849] getdents64(3, [pid 5846] getdents64(3, [pid 5862] ioctl(4, LOOP_SET_FD, 3 [pid 5849] <... getdents64 resumed>0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5861] +++ exited with 0 +++ [pid 5849] close(3 [pid 5847] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5861, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=1 /* 0.01 s */} --- [pid 5846] <... getdents64 resumed>0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5862] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5849] <... close resumed>) = 0 [pid 5862] close(4 [pid 5846] umount2("./1/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5862] <... close resumed>) = 0 [pid 5849] rmdir("./1") = 0 [pid 5847] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5862] close(3 [pid 5847] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5862] <... close resumed>) = 0 [pid 5847] <... openat resumed>) = 3 [pid 5847] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5847] getdents64(3, 0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5847] umount2("./1/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5862] memfd_create("syzkaller", 0 [pid 5849] mkdir("./2", 0777 [pid 5862] <... memfd_create resumed>) = 3 [pid 5862] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5849] <... mkdir resumed>) = 0 [pid 5862] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5847] <... umount2 resumed>) = 0 [pid 5846] <... umount2 resumed>) = 0 [pid 5849] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5847] umount2("./1/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5846] umount2("./1/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] <... openat resumed>) = 3 [pid 5847] newfstatat(AT_FDCWD, "./1/file2", [pid 5849] ioctl(3, LOOP_CLR_FD [pid 5846] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5847] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5846] newfstatat(AT_FDCWD, "./1/file2", [pid 5849] <... ioctl resumed>) = 0 [pid 5847] umount2("./1/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] close(3 [pid 5846] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5847] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5862] <... write resumed>) = 524288 [pid 5849] <... close resumed>) = 0 [pid 5847] openat(AT_FDCWD, "./1/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5846] umount2("./1/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5862] munmap(0x7f5166800000, 138412032 [pid 5849] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5847] <... openat resumed>) = 4 [pid 5862] <... munmap resumed>) = 0 [pid 5846] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5847] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5846] openat(AT_FDCWD, "./1/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5847] getdents64(4, [pid 5846] <... openat resumed>) = 4 [pid 5847] <... getdents64 resumed>0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5846] newfstatat(4, "", [pid 5862] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5847] getdents64(4, [pid 5846] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5862] <... openat resumed>) = 4 [pid 5847] <... getdents64 resumed>0x5555756a3730 /* 0 entries */, 32768) = 0 ./strace-static-x86_64: Process 5864 attached [pid 5862] ioctl(4, LOOP_SET_FD, 3 [pid 5849] <... clone resumed>, child_tidptr=0x55557569a650) = 5864 [pid 5847] close(4 [pid 5846] getdents64(4, [pid 5864] set_robust_list(0x55557569a660, 24) = 0 [pid 5864] chdir("./2") = 0 [pid 5864] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5864] setpgid(0, 0) = 0 [pid 5864] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5846] <... getdents64 resumed>0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5847] <... close resumed>) = 0 [pid 5864] <... openat resumed>) = 3 [pid 5846] getdents64(4, [pid 5864] write(3, "1000", 4 [pid 5846] <... getdents64 resumed>0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5864] <... write resumed>) = 4 [pid 5864] close(3 [pid 5847] rmdir("./1/file2" [pid 5864] <... close resumed>) = 0 [pid 5864] symlink("/dev/binderfs", "./binderfs" [pid 5846] close(4 [pid 5864] <... symlink resumed>) = 0 [pid 5847] <... rmdir resumed>) = 0 [pid 5846] <... close resumed>) = 0 [pid 5846] rmdir("./1/file2") = 0 [pid 5847] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5846] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5847] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5846] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5847] newfstatat(AT_FDCWD, "./1/binderfs", [pid 5846] newfstatat(AT_FDCWD, "./1/binderfs", executing program [pid 5847] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5846] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5847] unlink("./1/binderfs" [pid 5846] unlink("./1/binderfs" [pid 5864] write(1, "executing program\n", 18) = 18 [pid 5847] <... unlink resumed>) = 0 [pid 5846] <... unlink resumed>) = 0 [pid 5864] memfd_create("syzkaller", 0 [pid 5846] getdents64(3, [pid 5864] <... memfd_create resumed>) = 3 [pid 5864] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5847] getdents64(3, [pid 5846] <... getdents64 resumed>0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5864] <... mmap resumed>) = 0x7f5166800000 [pid 5847] <... getdents64 resumed>0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5846] close(3 [pid 5847] close(3 [pid 5846] <... close resumed>) = 0 [pid 5847] <... close resumed>) = 0 [pid 5846] rmdir("./1" [pid 5847] rmdir("./1" [pid 5846] <... rmdir resumed>) = 0 [pid 5847] <... rmdir resumed>) = 0 [pid 5846] mkdir("./2", 0777 [pid 5847] mkdir("./2", 0777 [pid 5846] <... mkdir resumed>) = 0 [pid 5847] <... mkdir resumed>) = 0 [pid 5846] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5846] ioctl(3, LOOP_CLR_FD [pid 5847] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5846] <... ioctl resumed>) = 0 [pid 5864] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5847] <... openat resumed>) = 3 [pid 5847] ioctl(3, LOOP_CLR_FD [pid 5846] close(3 [pid 5847] <... ioctl resumed>) = 0 [pid 5846] <... close resumed>) = 0 [pid 5847] close(3) = 0 [pid 5864] <... write resumed>) = 524288 [pid 5862] <... ioctl resumed>) = 0 [pid 5846] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5865 attached [pid 5864] munmap(0x7f5166800000, 138412032 [pid 5862] close(3 [pid 5847] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5862] <... close resumed>) = 0 [pid 5865] set_robust_list(0x55557569a660, 24) = 0 ./strace-static-x86_64: Process 5866 attached [pid 5865] chdir("./2" [pid 5864] <... munmap resumed>) = 0 [pid 5862] close(4 [pid 5846] <... clone resumed>, child_tidptr=0x55557569a650) = 5865 [pid 5865] <... chdir resumed>) = 0 [pid 5862] <... close resumed>) = 0 [pid 5862] mkdir("./file1", 0777 [pid 5865] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5865] setpgid(0, 0 [pid 5847] <... clone resumed>, child_tidptr=0x55557569a650) = 5866 [pid 5865] <... setpgid resumed>) = 0 [pid 5865] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5866] set_robust_list(0x55557569a660, 24 [pid 5864] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5862] <... mkdir resumed>) = 0 [pid 5862] mount("/dev/loop0", "./file1", "ext4", MS_RELATIME, ",errors=continue" [pid 5866] <... set_robust_list resumed>) = 0 [pid 5865] write(3, "1000", 4 [pid 5866] chdir("./2" [pid 5865] <... write resumed>) = 4 [pid 5864] <... openat resumed>) = 4 [pid 5865] close(3 [ 65.105223][ T5862] loop0: detected capacity change from 0 to 1024 [pid 5864] ioctl(4, LOOP_SET_FD, 3 [pid 5866] <... chdir resumed>) = 0 [pid 5865] <... close resumed>) = 0 [pid 5866] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5865] symlink("/dev/binderfs", "./binderfs" [pid 5864] <... ioctl resumed>) = 0 [pid 5866] setpgid(0, 0) = 0 [pid 5865] <... symlink resumed>) = 0 [pid 5864] close(3executing program [pid 5866] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5865] write(1, "executing program\n", 18 [pid 5864] <... close resumed>) = 0 [pid 5865] <... write resumed>) = 18 [pid 5864] close(4 [pid 5866] <... openat resumed>) = 3 [pid 5865] memfd_create("syzkaller", 0 [pid 5864] <... close resumed>) = 0 [pid 5866] write(3, "1000", 4 [pid 5865] <... memfd_create resumed>) = 3 [pid 5864] mkdir("./file2", 0777 [pid 5866] <... write resumed>) = 4 [pid 5864] <... mkdir resumed>) = 0 [pid 5866] close(3 [pid 5865] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5864] mount("/dev/loop4", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5866] <... close resumed>) = 0 [pid 5865] <... mmap resumed>) = 0x7f5166800000 [pid 5866] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5866] write(1, "executing program\n", 18executing program ) = 18 [pid 5866] memfd_create("syzkaller", 0) = 3 [pid 5866] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5866] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5864] <... mount resumed>) = 0 [pid 5864] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 5864] chdir("./file2") = 0 [pid 5864] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5864] memfd_create("syzkaller", 0) = 4 [pid 5864] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5864] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5865] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288) = 524288 [pid 5866] <... write resumed>) = 524288 [pid 5865] munmap(0x7f5166800000, 138412032 [pid 5864] <... write resumed>) = 524288 [pid 5862] <... mount resumed>) = 0 [pid 5865] <... munmap resumed>) = 0 [pid 5862] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5864] munmap(0x7f5166800000, 138412032) = 0 [pid 5862] <... openat resumed>) = 3 [pid 5866] munmap(0x7f5166800000, 138412032 [pid 5865] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5864] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5862] chdir("./file1" [pid 5866] <... munmap resumed>) = 0 [pid 5862] <... chdir resumed>) = 0 [pid 5865] <... openat resumed>) = 4 [pid 5864] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5866] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5864] close(4 [pid 5862] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5866] <... openat resumed>) = 4 [pid 5865] ioctl(4, LOOP_SET_FD, 3 [pid 5862] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5862] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5866] ioctl(4, LOOP_SET_FD, 3 [pid 5862] <... openat resumed>) = 4 [ 65.163992][ T5864] loop4: detected capacity change from 0 to 1024 [ 65.191517][ T5862] EXT4-fs (loop0): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: none. [pid 5862] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5866] <... ioctl resumed>) = 0 [pid 5865] <... ioctl resumed>) = 0 [pid 5864] <... close resumed>) = 0 [pid 5866] close(3 [pid 5865] close(3) = 0 [pid 5866] <... close resumed>) = 0 [pid 5865] close(4 [pid 5864] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5862] <... openat resumed>) = 5 [pid 5866] close(4 [pid 5865] <... close resumed>) = 0 [pid 5862] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}} [pid 5866] <... close resumed>) = 0 [pid 5865] mkdir("./file2", 0777 [pid 5864] <... openat resumed>) = 4 [pid 5862] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5866] mkdir("./file2", 0777 [pid 5862] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5866] <... mkdir resumed>) = 0 [pid 5865] <... mkdir resumed>) = 0 [pid 5864] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5866] mount("/dev/loop2", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5865] mount("/dev/loop1", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5864] <... openat resumed>) = 5 [pid 5864] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}}) = -1 EBUSY (Device or resource busy) [pid 5864] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5865] <... mount resumed>) = 0 [pid 5866] <... mount resumed>) = 0 [pid 5865] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5866] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5865] <... openat resumed>) = 3 [pid 5866] <... openat resumed>) = 3 [pid 5866] chdir("./file2" [pid 5865] chdir("./file2") = 0 [pid 5866] <... chdir resumed>) = 0 [pid 5865] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5866] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5865] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5866] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5865] memfd_create("syzkaller", 0 [pid 5866] memfd_create("syzkaller", 0 [pid 5865] <... memfd_create resumed>) = 4 [pid 5866] <... memfd_create resumed>) = 4 [pid 5865] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5866] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5865] <... mmap resumed>) = 0x7f5166800000 [pid 5866] <... mmap resumed>) = 0x7f5166800000 [ 65.222199][ T5865] loop1: detected capacity change from 0 to 1024 [ 65.222327][ T5866] loop2: detected capacity change from 0 to 1024 [pid 5865] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5866] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5865] <... write resumed>) = 524288 [pid 5865] munmap(0x7f5166800000, 138412032 [pid 5866] <... write resumed>) = 524288 [pid 5866] munmap(0x7f5166800000, 138412032 [pid 5865] <... munmap resumed>) = 0 [pid 5866] <... munmap resumed>) = 0 [pid 5865] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5866] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5865] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5866] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5865] close(4 [pid 5866] close(4 [pid 5865] <... close resumed>) = 0 [pid 5865] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5866] <... close resumed>) = 0 [pid 5864] <... ioctl resumed>) = 0 [pid 5866] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [ 65.296236][ T5862] loop0: detected capacity change from 1024 to 3 [ 65.335966][ T5862] Dev loop0: unable to read RDB block 3 [pid 5864] exit_group(0) = ? [pid 5865] <... openat resumed>) = 4 [pid 5865] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5862] <... ioctl resumed>) = 0 [pid 5862] exit_group(0) = ? [pid 5866] <... openat resumed>) = 4 [pid 5865] <... openat resumed>) = 5 [pid 5862] +++ exited with 0 +++ [pid 5866] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5865] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}} [pid 5864] +++ exited with 0 +++ [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5862, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5849] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5864, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 5845] restart_syscall(<... resuming interrupted clone ...> [pid 5865] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5849] restart_syscall(<... resuming interrupted clone ...> [pid 5865] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5866] <... openat resumed>) = 5 [pid 5866] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}}) = -1 EBUSY (Device or resource busy) [pid 5866] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5849] <... restart_syscall resumed>) = 0 [pid 5845] <... restart_syscall resumed>) = 0 [pid 5849] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5849] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5845] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] <... openat resumed>) = 3 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 65.341925][ T5862] loop0: unable to read partition table [ 65.348296][ T5862] loop0: partition table beyond EOD, truncated [ 65.354875][ T5862] loop_reread_partitions: partition scan of loop0 (Rt *3 !6{bO0.Qʝ H"Uqd\'Lz8w1AH) failed (rc=-5) [pid 5845] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5865] <... ioctl resumed>) = 0 [pid 5849] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5865] exit_group(0 [pid 5845] newfstatat(3, "", [pid 5865] <... exit_group resumed>) = ? [pid 5849] getdents64(3, [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5849] <... getdents64 resumed>0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5845] getdents64(3, 0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5865] +++ exited with 0 +++ [pid 5849] umount2("./2/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5849] <... umount2 resumed>) = 0 [pid 5846] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5865, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5849] umount2("./2/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] newfstatat(AT_FDCWD, "./1/binderfs", [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5849] newfstatat(AT_FDCWD, "./2/file2", [pid 5846] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5849] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5846] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5846] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5866] <... ioctl resumed>) = 0 [pid 5849] umount2("./2/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] unlink("./1/binderfs" [pid 5866] exit_group(0 [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5846] <... openat resumed>) = 3 [pid 5849] openat(AT_FDCWD, "./2/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5866] <... exit_group resumed>) = ? [pid 5849] <... openat resumed>) = 4 [pid 5846] newfstatat(3, "", [pid 5845] <... unlink resumed>) = 0 [pid 5846] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] umount2("./1/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5846] getdents64(3, [pid 5866] +++ exited with 0 +++ [pid 5849] newfstatat(4, "", [pid 5846] <... getdents64 resumed>0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5847] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5866, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5846] umount2("./2/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5847] restart_syscall(<... resuming interrupted clone ...> [pid 5849] getdents64(4, 0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5849] getdents64(4, 0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5849] close(4) = 0 [pid 5849] rmdir("./2/file2" [pid 5847] <... restart_syscall resumed>) = 0 [pid 5846] <... umount2 resumed>) = 0 [pid 5849] <... rmdir resumed>) = 0 [pid 5849] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5846] umount2("./2/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5846] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5849] newfstatat(AT_FDCWD, "./2/binderfs", [pid 5847] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5847] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5846] newfstatat(AT_FDCWD, "./2/file2", [pid 5849] unlink("./2/binderfs" [pid 5847] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5846] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5849] <... unlink resumed>) = 0 [pid 5847] <... openat resumed>) = 3 [pid 5849] getdents64(3, [pid 5846] umount2("./2/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] <... getdents64 resumed>0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5847] newfstatat(3, "", [pid 5849] close(3 [pid 5846] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5847] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5849] <... close resumed>) = 0 [pid 5846] openat(AT_FDCWD, "./2/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5849] rmdir("./2" [pid 5847] getdents64(3, [pid 5849] <... rmdir resumed>) = 0 [pid 5847] <... getdents64 resumed>0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5846] <... openat resumed>) = 4 [pid 5845] <... umount2 resumed>) = 0 [pid 5845] umount2("./1/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./1/file1", [pid 5849] mkdir("./3", 0777 [pid 5847] umount2("./2/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5846] newfstatat(4, "", [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5846] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] umount2("./1/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./1/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5849] <... mkdir resumed>) = 0 [pid 5845] newfstatat(4, "", [pid 5846] getdents64(4, [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5849] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5846] <... getdents64 resumed>0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5849] <... openat resumed>) = 3 [pid 5849] ioctl(3, LOOP_CLR_FD [pid 5846] getdents64(4, [pid 5845] getdents64(4, [pid 5849] <... ioctl resumed>) = 0 [pid 5846] <... getdents64 resumed>0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5845] <... getdents64 resumed>0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5849] close(3 [pid 5846] close(4 [pid 5845] getdents64(4, [pid 5847] <... umount2 resumed>) = 0 [pid 5845] <... getdents64 resumed>0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5845] close(4) = 0 [pid 5846] <... close resumed>) = 0 [pid 5845] rmdir("./1/file1") = 0 [pid 5849] <... close resumed>) = 0 [pid 5847] umount2("./2/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5846] rmdir("./2/file2" [pid 5847] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5846] <... rmdir resumed>) = 0 [pid 5846] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5846] newfstatat(AT_FDCWD, "./2/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5846] unlink("./2/binderfs" [pid 5849] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5847] newfstatat(AT_FDCWD, "./2/file2", [pid 5845] getdents64(3, [pid 5846] <... unlink resumed>) = 0 ./strace-static-x86_64: Process 5870 attached [pid 5847] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] <... getdents64 resumed>0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5849] <... clone resumed>, child_tidptr=0x55557569a650) = 5870 [pid 5847] umount2("./2/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5846] getdents64(3, [pid 5845] close(3 [pid 5847] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5846] <... getdents64 resumed>0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5845] <... close resumed>) = 0 [pid 5847] openat(AT_FDCWD, "./2/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5846] close(3 [pid 5847] <... openat resumed>) = 4 [pid 5846] <... close resumed>) = 0 [pid 5845] rmdir("./1" [pid 5846] rmdir("./2" [pid 5845] <... rmdir resumed>) = 0 [pid 5870] set_robust_list(0x55557569a660, 24) = 0 [pid 5847] newfstatat(4, "", [pid 5846] <... rmdir resumed>) = 0 [pid 5845] mkdir("./2", 0777 [pid 5870] chdir("./3" [pid 5847] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5870] <... chdir resumed>) = 0 [pid 5847] getdents64(4, [pid 5846] mkdir("./3", 0777 [pid 5870] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5847] <... getdents64 resumed>0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5845] <... mkdir resumed>) = 0 [pid 5870] <... prctl resumed>) = 0 [pid 5847] getdents64(4, [pid 5846] <... mkdir resumed>) = 0 [pid 5870] setpgid(0, 0 [pid 5847] <... getdents64 resumed>0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5845] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5870] <... setpgid resumed>) = 0 [pid 5847] close(4 [pid 5846] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5870] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5847] <... close resumed>) = 0 [pid 5846] <... openat resumed>) = 3 [pid 5870] <... openat resumed>) = 3 [pid 5847] rmdir("./2/file2" [pid 5846] ioctl(3, LOOP_CLR_FD [pid 5845] <... openat resumed>) = 3 [ 65.456276][ T5845] EXT4-fs (loop0): unmounting filesystem 00000000-0000-0000-0000-000000000000. [ 65.467132][ T5867] kmmpd-loop0: attempt to access beyond end of device [ 65.467132][ T5867] loop0: rw=14337, sector=128, nr_sectors = 2 limit=3 [ 65.480847][ T5867] Buffer I/O error on dev loop0, logical block 64, lost sync page write [pid 5870] write(3, "1000", 4 [pid 5847] <... rmdir resumed>) = 0 [pid 5846] <... ioctl resumed>) = 0 [pid 5870] <... write resumed>) = 4 [pid 5846] close(3 [pid 5870] close(3 [pid 5847] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] ioctl(3, LOOP_CLR_FD [pid 5870] <... close resumed>) = 0 [pid 5845] <... ioctl resumed>) = 0 [pid 5870] symlink("/dev/binderfs", "./binderfs" [pid 5847] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5870] <... symlink resumed>) = 0 [pid 5845] close(3 [pid 5870] write(1, "executing program\n", 18 [pid 5847] newfstatat(AT_FDCWD, "./2/binderfs", [pid 5846] <... close resumed>) = 0 [pid 5845] <... close resumed>) = 0 executing program [pid 5870] <... write resumed>) = 18 [pid 5847] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5870] memfd_create("syzkaller", 0 [pid 5847] unlink("./2/binderfs") = 0 [pid 5870] <... memfd_create resumed>) = 3 [pid 5870] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5847] getdents64(3, 0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5847] close(3 [pid 5846] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5872 attached ./strace-static-x86_64: Process 5871 attached [pid 5847] <... close resumed>) = 0 [pid 5847] rmdir("./2" [pid 5845] <... clone resumed>, child_tidptr=0x55557569a650) = 5872 [pid 5847] <... rmdir resumed>) = 0 [pid 5847] mkdir("./3", 0777 [pid 5872] set_robust_list(0x55557569a660, 24 [pid 5847] <... mkdir resumed>) = 0 [pid 5872] <... set_robust_list resumed>) = 0 [pid 5872] chdir("./2" [pid 5847] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5872] <... chdir resumed>) = 0 [pid 5847] <... openat resumed>) = 3 [pid 5872] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5846] <... clone resumed>, child_tidptr=0x55557569a650) = 5871 [pid 5871] set_robust_list(0x55557569a660, 24 [pid 5872] setpgid(0, 0 [pid 5871] <... set_robust_list resumed>) = 0 [pid 5872] <... setpgid resumed>) = 0 [pid 5872] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5847] ioctl(3, LOOP_CLR_FD) = 0 [pid 5872] write(3, "1000", 4 [pid 5870] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5847] close(3 [pid 5872] <... write resumed>) = 4 [pid 5872] close(3executing program [pid 5847] <... close resumed>) = 0 [pid 5872] <... close resumed>) = 0 [pid 5871] chdir("./3" [pid 5870] <... write resumed>) = 524288 [pid 5872] symlink("/dev/binderfs", "./binderfs" [pid 5871] <... chdir resumed>) = 0 [pid 5871] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5872] <... symlink resumed>) = 0 [pid 5871] setpgid(0, 0 [pid 5872] write(1, "executing program\n", 18 [pid 5871] <... setpgid resumed>) = 0 [pid 5872] <... write resumed>) = 18 [pid 5847] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5872] memfd_create("syzkaller", 0./strace-static-x86_64: Process 5873 attached [pid 5873] set_robust_list(0x55557569a660, 24 [pid 5872] <... memfd_create resumed>) = 3 [pid 5871] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5873] <... set_robust_list resumed>) = 0 [pid 5872] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5871] <... openat resumed>) = 3 [pid 5873] chdir("./3" [pid 5872] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5871] write(3, "1000", 4 [pid 5873] <... chdir resumed>) = 0 [pid 5870] munmap(0x7f5166800000, 138412032 [pid 5847] <... clone resumed>, child_tidptr=0x55557569a650) = 5873 [pid 5873] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5871] <... write resumed>) = 4 [pid 5873] <... prctl resumed>) = 0 [pid 5871] close(3 [pid 5873] setpgid(0, 0 [pid 5871] <... close resumed>) = 0 [pid 5873] <... setpgid resumed>) = 0 [pid 5871] symlink("/dev/binderfs", "./binderfs" [pid 5873] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5871] <... symlink resumed>) = 0 [pid 5870] <... munmap resumed>) = 0 [pid 5873] <... openat resumed>) = 3 executing program [pid 5871] write(1, "executing program\n", 18) = 18 [pid 5870] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5873] write(3, "1000", 4 [pid 5871] memfd_create("syzkaller", 0 [pid 5870] <... openat resumed>) = 4 [pid 5873] <... write resumed>) = 4 [pid 5872] <... write resumed>) = 524288 [pid 5870] ioctl(4, LOOP_SET_FD, 3 [pid 5871] <... memfd_create resumed>) = 3 [pid 5873] close(3 [pid 5872] munmap(0x7f5166800000, 138412032 [pid 5873] <... close resumed>) = 0 [pid 5872] <... munmap resumed>) = 0 [pid 5871] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5873] symlink("/dev/binderfs", "./binderfs" [pid 5871] <... mmap resumed>) = 0x7f5166800000 executing program [pid 5873] <... symlink resumed>) = 0 [pid 5873] write(1, "executing program\n", 18 [pid 5872] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5871] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5870] <... ioctl resumed>) = 0 [pid 5872] <... openat resumed>) = 4 [pid 5873] <... write resumed>) = 18 [pid 5870] close(3 [pid 5872] ioctl(4, LOOP_SET_FD, 3 [pid 5873] memfd_create("syzkaller", 0 [pid 5871] <... write resumed>) = 524288 [pid 5873] <... memfd_create resumed>) = 3 [pid 5872] <... ioctl resumed>) = 0 [pid 5870] <... close resumed>) = 0 [pid 5873] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5872] close(3 [pid 5871] munmap(0x7f5166800000, 138412032 [pid 5870] close(4 [pid 5873] <... mmap resumed>) = 0x7f5166800000 [pid 5872] <... close resumed>) = 0 [pid 5871] <... munmap resumed>) = 0 [pid 5870] <... close resumed>) = 0 [pid 5872] close(4) = 0 [pid 5872] mkdir("./file2", 0777 [pid 5870] mkdir("./file2", 0777 [pid 5872] <... mkdir resumed>) = 0 [pid 5871] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5870] <... mkdir resumed>) = 0 [pid 5871] <... openat resumed>) = 4 [pid 5871] ioctl(4, LOOP_SET_FD, 3 [pid 5873] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5872] mount("/dev/loop0", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5870] mount("/dev/loop4", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"...) = 0 [pid 5870] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 5870] chdir("./file2") = 0 [pid 5870] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5872] <... mount resumed>) = 0 [pid 5870] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5872] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5870] memfd_create("syzkaller", 0 [pid 5872] <... openat resumed>) = 3 [pid 5870] <... memfd_create resumed>) = 4 [pid 5873] <... write resumed>) = 524288 [pid 5870] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5872] chdir("./file2" [pid 5870] <... mmap resumed>) = 0x7f5166800000 [pid 5873] munmap(0x7f5166800000, 138412032 [pid 5872] <... chdir resumed>) = 0 [pid 5870] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5872] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5872] memfd_create("syzkaller", 0) = 4 [pid 5873] <... munmap resumed>) = 0 [pid 5872] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [ 65.593687][ T5870] loop4: detected capacity change from 0 to 1024 [ 65.607226][ T5872] loop0: detected capacity change from 0 to 1024 [ 65.623313][ T5871] loop1: detected capacity change from 0 to 1024 [pid 5873] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5871] <... ioctl resumed>) = 0 [pid 5873] ioctl(4, LOOP_SET_FD, 3 [pid 5871] close(3) = 0 [pid 5871] close(4) = 0 [pid 5871] mkdir("./file2", 0777) = 0 [pid 5873] <... ioctl resumed>) = 0 [pid 5872] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5870] <... write resumed>) = 524288 [pid 5872] <... write resumed>) = 524288 [pid 5871] mount("/dev/loop1", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5873] close(3 [pid 5870] munmap(0x7f5166800000, 138412032) = 0 [pid 5873] <... close resumed>) = 0 [pid 5873] close(4 [pid 5870] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5873] <... close resumed>) = 0 [pid 5873] mkdir("./file2", 0777 [pid 5870] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5870] close(4 [pid 5873] <... mkdir resumed>) = 0 [pid 5871] <... mount resumed>) = 0 [pid 5870] <... close resumed>) = 0 [pid 5873] mount("/dev/loop2", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5872] munmap(0x7f5166800000, 138412032 [pid 5871] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5872] <... munmap resumed>) = 0 [pid 5871] <... openat resumed>) = 3 [pid 5872] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5871] chdir("./file2" [pid 5872] close(4 [pid 5871] <... chdir resumed>) = 0 [pid 5873] <... mount resumed>) = 0 [pid 5872] <... close resumed>) = 0 [pid 5871] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5870] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5873] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5871] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5870] <... openat resumed>) = 4 [pid 5873] <... openat resumed>) = 3 [pid 5871] memfd_create("syzkaller", 0 [pid 5873] chdir("./file2" [pid 5871] <... memfd_create resumed>) = 4 [pid 5870] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5873] <... chdir resumed>) = 0 [pid 5871] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5873] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5872] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5871] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5873] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5872] <... openat resumed>) = 4 [pid 5872] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5873] memfd_create("syzkaller", 0 [pid 5870] <... openat resumed>) = 5 [pid 5873] <... memfd_create resumed>) = 4 [pid 5870] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}} [pid 5873] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5870] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5873] <... mmap resumed>) = 0x7f5166800000 [pid 5872] <... openat resumed>) = 5 [pid 5870] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5872] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}}) = -1 EBUSY (Device or resource busy) [ 65.646215][ T5873] loop2: detected capacity change from 0 to 1024 [pid 5872] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5873] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5871] <... write resumed>) = 524288 [pid 5871] munmap(0x7f5166800000, 138412032) = 0 [pid 5871] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5871] close(4 [pid 5873] <... write resumed>) = 524288 [pid 5871] <... close resumed>) = 0 [pid 5873] munmap(0x7f5166800000, 138412032 [pid 5871] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5873] <... munmap resumed>) = 0 [pid 5873] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5873] close(4) = 0 [ 65.697059][ T5870] loop0: detected capacity change from 1024 to 3 [pid 5873] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5872] <... ioctl resumed>) = 0 [pid 5872] exit_group(0) = ? [pid 5873] <... openat resumed>) = 4 [pid 5872] +++ exited with 0 +++ [pid 5871] <... openat resumed>) = 4 [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5872, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=0} --- [pid 5845] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5870] <... ioctl resumed>) = 0 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5870] exit_group(0 [pid 5845] <... openat resumed>) = 3 [pid 5845] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5871] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5845] getdents64(3, 0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5845] umount2("./2/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5871] <... openat resumed>) = 5 [pid 5871] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}}) = -1 EBUSY (Device or resource busy) [pid 5871] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [ 65.775858][ T5870] Dev loop0: unable to read RDB block 3 [ 65.781482][ T5870] loop0: unable to read partition table [ 65.787262][ T5870] loop0: partition table beyond EOD, truncated [ 65.793447][ T5870] loop_reread_partitions: partition scan of loop0 (Rt *3 !6{bO0.Qʝ H"Uqd\'Lz8w1AH) failed (rc=-5) [ 65.815735][ T1326] kworker/u8:6: attempt to access beyond end of device [pid 5873] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 5 [pid 5870] <... exit_group resumed>) = ? [pid 5873] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}} [pid 5871] <... ioctl resumed>) = 0 [pid 5870] +++ exited with 0 +++ [pid 5873] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5849] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5870, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5873] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5871] exit_group(0) = ? [pid 5849] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5871] +++ exited with 0 +++ [pid 5849] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5849] newfstatat(3, "", [pid 5846] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5871, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5849] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5849] getdents64(3, 0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5846] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] umount2("./3/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5846] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5846] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5849] <... umount2 resumed>) = 0 [pid 5846] <... openat resumed>) = 3 [ 65.815735][ T1326] loop0: rw=1, sector=206, nr_sectors = 8 limit=3 [ 65.831613][ T1326] kworker/u8:6: attempt to access beyond end of device [ 65.831613][ T1326] loop0: rw=2049, sector=198, nr_sectors = 16 limit=3 [pid 5846] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5873] <... ioctl resumed>) = 0 [pid 5849] umount2("./3/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5846] getdents64(3, [pid 5845] <... umount2 resumed>) = 0 [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5846] <... getdents64 resumed>0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5845] umount2("./2/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] newfstatat(AT_FDCWD, "./3/file2", [pid 5846] umount2("./3/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5849] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5849] umount2("./3/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] newfstatat(AT_FDCWD, "./2/file2", [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5849] openat(AT_FDCWD, "./3/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5845] umount2("./2/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5873] exit_group(0 [pid 5849] newfstatat(4, "", [pid 5846] <... umount2 resumed>) = 0 [pid 5845] openat(AT_FDCWD, "./2/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5873] <... exit_group resumed>) = ? [pid 5849] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] <... openat resumed>) = 4 [pid 5846] umount2("./3/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5846] newfstatat(AT_FDCWD, "./3/file2", [pid 5873] +++ exited with 0 +++ [pid 5849] getdents64(4, [pid 5846] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] newfstatat(4, "", [pid 5846] umount2("./3/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5846] openat(AT_FDCWD, "./3/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5849] <... getdents64 resumed>0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5849] getdents64(4, [pid 5847] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5873, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5846] <... openat resumed>) = 4 [pid 5849] <... getdents64 resumed>0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5847] restart_syscall(<... resuming interrupted clone ...> [pid 5846] newfstatat(4, "", [pid 5845] getdents64(4, [pid 5849] close(4) = 0 [pid 5846] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] <... getdents64 resumed>0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5849] rmdir("./3/file2" [pid 5846] getdents64(4, [pid 5845] getdents64(4, [pid 5849] <... rmdir resumed>) = 0 [pid 5846] <... getdents64 resumed>0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5845] <... getdents64 resumed>0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5849] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5846] getdents64(4, [pid 5845] close(4 [pid 5846] <... getdents64 resumed>0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5846] close(4 [pid 5845] <... close resumed>) = 0 [pid 5849] newfstatat(AT_FDCWD, "./3/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5846] <... close resumed>) = 0 [pid 5845] rmdir("./2/file2" [pid 5846] rmdir("./3/file2" [pid 5849] unlink("./3/binderfs") = 0 [pid 5845] <... rmdir resumed>) = 0 [pid 5849] getdents64(3, [pid 5847] <... restart_syscall resumed>) = 0 [pid 5846] <... rmdir resumed>) = 0 [pid 5845] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] <... getdents64 resumed>0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5849] close(3) = 0 [pid 5849] rmdir("./3" [pid 5846] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5846] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./2/binderfs", [pid 5847] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5846] newfstatat(AT_FDCWD, "./3/binderfs", [pid 5845] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5847] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5846] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] unlink("./2/binderfs" [pid 5847] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5846] unlink("./3/binderfs" [pid 5845] <... unlink resumed>) = 0 [pid 5847] <... openat resumed>) = 3 [pid 5846] <... unlink resumed>) = 0 [pid 5845] getdents64(3, 0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5847] newfstatat(3, "", [pid 5846] getdents64(3, [pid 5845] close(3 [pid 5847] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5846] <... getdents64 resumed>0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5845] <... close resumed>) = 0 [pid 5847] getdents64(3, [pid 5846] close(3 [pid 5845] rmdir("./2" [pid 5847] <... getdents64 resumed>0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5846] <... close resumed>) = 0 [pid 5845] <... rmdir resumed>) = 0 [pid 5847] umount2("./3/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] <... rmdir resumed>) = 0 [pid 5846] rmdir("./3" [pid 5849] mkdir("./4", 0777) = 0 [pid 5846] <... rmdir resumed>) = 0 [pid 5849] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5845] mkdir("./3", 0777 [pid 5849] <... openat resumed>) = 3 [pid 5849] ioctl(3, LOOP_CLR_FD [pid 5846] mkdir("./4", 0777 [pid 5849] <... ioctl resumed>) = 0 [pid 5846] <... mkdir resumed>) = 0 [pid 5845] <... mkdir resumed>) = 0 [pid 5849] close(3) = 0 [pid 5847] <... umount2 resumed>) = 0 [pid 5846] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5845] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5846] <... openat resumed>) = 3 [pid 5846] ioctl(3, LOOP_CLR_FD) = 0 [pid 5845] <... openat resumed>) = 3 [pid 5846] close(3 [pid 5845] ioctl(3, LOOP_CLR_FD [pid 5846] <... close resumed>) = 0 [pid 5845] <... ioctl resumed>) = 0 [pid 5849] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5847] umount2("./3/file2", MNT_FORCE|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 5874 attached ) = -1 EINVAL (Invalid argument) [pid 5847] newfstatat(AT_FDCWD, "./3/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5847] umount2("./3/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] close(3 [pid 5849] <... clone resumed>, child_tidptr=0x55557569a650) = 5874 [pid 5847] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] <... close resumed>) = 0 [pid 5874] set_robust_list(0x55557569a660, 24 [pid 5847] openat(AT_FDCWD, "./3/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5846] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5876 attached ./strace-static-x86_64: Process 5875 attached [pid 5874] <... set_robust_list resumed>) = 0 [pid 5847] <... openat resumed>) = 4 [pid 5875] set_robust_list(0x55557569a660, 24 [pid 5874] chdir("./4" [pid 5847] newfstatat(4, "", [pid 5846] <... clone resumed>, child_tidptr=0x55557569a650) = 5875 [pid 5845] <... clone resumed>, child_tidptr=0x55557569a650) = 5876 [pid 5876] set_robust_list(0x55557569a660, 24 [pid 5875] <... set_robust_list resumed>) = 0 [pid 5874] <... chdir resumed>) = 0 [pid 5847] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5876] <... set_robust_list resumed>) = 0 [pid 5875] chdir("./4" [pid 5874] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5847] getdents64(4, [pid 5876] chdir("./3" [pid 5875] <... chdir resumed>) = 0 [pid 5874] <... prctl resumed>) = 0 [pid 5847] <... getdents64 resumed>0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5876] <... chdir resumed>) = 0 [pid 5875] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5874] setpgid(0, 0 [pid 5847] getdents64(4, [pid 5876] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5875] <... prctl resumed>) = 0 [pid 5874] <... setpgid resumed>) = 0 [pid 5847] <... getdents64 resumed>0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5875] setpgid(0, 0 [pid 5847] close(4 [pid 5876] <... prctl resumed>) = 0 [pid 5875] <... setpgid resumed>) = 0 [pid 5874] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5847] <... close resumed>) = 0 [pid 5876] setpgid(0, 0 [pid 5847] rmdir("./3/file2") = 0 [pid 5847] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5875] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5847] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5847] newfstatat(AT_FDCWD, "./3/binderfs", [pid 5875] <... openat resumed>) = 3 [pid 5847] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5875] write(3, "1000", 4 [pid 5847] unlink("./3/binderfs" [pid 5875] <... write resumed>) = 4 [pid 5875] close(3 [pid 5847] <... unlink resumed>) = 0 [pid 5875] <... close resumed>) = 0 [pid 5875] symlink("/dev/binderfs", "./binderfs" [pid 5876] <... setpgid resumed>) = 0 [pid 5874] <... openat resumed>) = 3 [pid 5847] getdents64(3, [pid 5876] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5874] write(3, "1000", 4 [pid 5847] <... getdents64 resumed>0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5876] <... openat resumed>) = 3 [pid 5875] <... symlink resumed>) = 0 executing program [pid 5874] <... write resumed>) = 4 [pid 5847] close(3 [pid 5876] write(3, "1000", 4 [pid 5875] write(1, "executing program\n", 18 [pid 5874] close(3 [pid 5876] <... write resumed>) = 4 [pid 5875] <... write resumed>) = 18 [pid 5847] <... close resumed>) = 0 [pid 5876] close(3 [pid 5874] <... close resumed>) = 0 [pid 5847] rmdir("./3" [pid 5876] <... close resumed>) = 0 [pid 5875] memfd_create("syzkaller", 0 [pid 5874] symlink("/dev/binderfs", "./binderfs" [pid 5876] symlink("/dev/binderfs", "./binderfs" [pid 5875] <... memfd_create resumed>) = 3 [pid 5847] <... rmdir resumed>) = 0 [pid 5874] <... symlink resumed>) = 0 [pid 5875] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5876] <... symlink resumed>) = 0 [pid 5875] <... mmap resumed>) = 0x7f5166800000 executing program [pid 5874] write(1, "executing program\n", 18 [pid 5847] mkdir("./4", 0777executing program [pid 5876] write(1, "executing program\n", 18 [pid 5874] <... write resumed>) = 18 [pid 5847] <... mkdir resumed>) = 0 [pid 5876] <... write resumed>) = 18 [pid 5874] memfd_create("syzkaller", 0) = 3 [pid 5874] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5876] memfd_create("syzkaller", 0 [pid 5874] <... mmap resumed>) = 0x7f5166800000 [pid 5875] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5847] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5876] <... memfd_create resumed>) = 3 [pid 5876] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5847] <... openat resumed>) = 3 [pid 5876] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5875] <... write resumed>) = 524288 [pid 5847] ioctl(3, LOOP_CLR_FD [pid 5874] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5847] <... ioctl resumed>) = 0 [pid 5847] close(3) = 0 [pid 5876] <... write resumed>) = 524288 [pid 5875] munmap(0x7f5166800000, 138412032 [pid 5874] <... write resumed>) = 524288 [pid 5875] <... munmap resumed>) = 0 [pid 5876] munmap(0x7f5166800000, 138412032 [pid 5874] munmap(0x7f5166800000, 138412032 [pid 5847] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5877 attached [pid 5876] <... munmap resumed>) = 0 [pid 5875] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5874] <... munmap resumed>) = 0 [pid 5877] set_robust_list(0x55557569a660, 24 [pid 5875] <... openat resumed>) = 4 [pid 5877] <... set_robust_list resumed>) = 0 [pid 5877] chdir("./4" [pid 5875] ioctl(4, LOOP_SET_FD, 3 [pid 5877] <... chdir resumed>) = 0 [pid 5876] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5874] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5877] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5876] <... openat resumed>) = 4 [pid 5874] <... openat resumed>) = 4 [pid 5877] setpgid(0, 0) = 0 [pid 5847] <... clone resumed>, child_tidptr=0x55557569a650) = 5877 [pid 5877] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5877] write(3, "1000", 4) = 4 [pid 5877] close(3) = 0 [pid 5877] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5877] write(1, "executing program\n", 18) = 18 [pid 5876] ioctl(4, LOOP_SET_FD, 3 [pid 5875] <... ioctl resumed>) = 0 [pid 5874] ioctl(4, LOOP_SET_FD, 3 [pid 5877] memfd_create("syzkaller", 0 [pid 5876] <... ioctl resumed>) = 0 [pid 5875] close(3 [pid 5876] close(3 [pid 5875] <... close resumed>) = 0 [pid 5876] <... close resumed>) = 0 [pid 5875] close(4 [pid 5876] close(4 [pid 5875] <... close resumed>) = 0 [pid 5876] <... close resumed>) = 0 [pid 5875] mkdir("./file2", 0777 [pid 5877] <... memfd_create resumed>) = 3 [pid 5876] mkdir("./file2", 0777 [pid 5874] <... ioctl resumed>) = 0 [pid 5877] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5876] <... mkdir resumed>) = 0 [pid 5875] <... mkdir resumed>) = 0 [pid 5874] close(3 [pid 5877] <... mmap resumed>) = 0x7f5166800000 [pid 5876] mount("/dev/loop0", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5874] <... close resumed>) = 0 [pid 5875] mount("/dev/loop1", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5874] close(4) = 0 [pid 5874] mkdir("./file2", 0777) = 0 [pid 5874] mount("/dev/loop4", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5876] <... mount resumed>) = 0 [pid 5876] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5875] <... mount resumed>) = 0 [pid 5876] <... openat resumed>) = 3 [pid 5875] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5877] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5876] chdir("./file2" [pid 5875] <... openat resumed>) = 3 [pid 5876] <... chdir resumed>) = 0 [pid 5875] chdir("./file2" [pid 5876] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5875] <... chdir resumed>) = 0 [pid 5876] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5875] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5876] memfd_create("syzkaller", 0) = 4 [pid 5875] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5876] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5875] memfd_create("syzkaller", 0 [pid 5876] <... mmap resumed>) = 0x7f5166800000 [pid 5875] <... memfd_create resumed>) = 4 [pid 5877] <... write resumed>) = 524288 [pid 5876] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5875] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5874] <... mount resumed>) = 0 [pid 5875] <... mmap resumed>) = 0x7f5166800000 [pid 5874] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5877] munmap(0x7f5166800000, 138412032 [pid 5874] <... openat resumed>) = 3 [pid 5877] <... munmap resumed>) = 0 [pid 5876] <... write resumed>) = 524288 [pid 5875] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5874] chdir("./file2") = 0 [pid 5874] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5874] memfd_create("syzkaller", 0) = 4 [pid 5874] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5874] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5877] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [ 66.024507][ T5875] loop1: detected capacity change from 0 to 1024 [ 66.038776][ T5876] loop0: detected capacity change from 0 to 1024 [ 66.039268][ T5874] loop4: detected capacity change from 0 to 1024 [pid 5877] ioctl(4, LOOP_SET_FD, 3 [pid 5875] <... write resumed>) = 524288 [pid 5876] munmap(0x7f5166800000, 138412032) = 0 [pid 5876] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5876] close(4 [pid 5875] munmap(0x7f5166800000, 138412032 [pid 5876] <... close resumed>) = 0 [pid 5875] <... munmap resumed>) = 0 [pid 5875] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5877] <... ioctl resumed>) = 0 [pid 5875] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5877] close(3 [pid 5875] close(4 [pid 5876] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5874] <... write resumed>) = 524288 [pid 5877] <... close resumed>) = 0 [pid 5876] <... openat resumed>) = 4 [pid 5875] <... close resumed>) = 0 [pid 5877] close(4 [pid 5874] munmap(0x7f5166800000, 138412032 [pid 5876] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5875] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5874] <... munmap resumed>) = 0 [pid 5874] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5877] <... close resumed>) = 0 [pid 5875] <... openat resumed>) = 4 [pid 5874] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5877] mkdir("./file2", 0777 [pid 5876] <... openat resumed>) = 5 [pid 5875] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5874] close(4 [pid 5877] <... mkdir resumed>) = 0 [pid 5875] <... openat resumed>) = 5 [pid 5877] mount("/dev/loop2", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5875] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}} [pid 5876] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}} [pid 5875] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5876] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5875] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [ 66.095338][ T5877] loop2: detected capacity change from 0 to 1024 [pid 5876] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5874] <... close resumed>) = 0 [pid 5877] <... mount resumed>) = 0 [pid 5874] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5877] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 5877] chdir("./file2") = 0 [pid 5877] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5877] memfd_create("syzkaller", 0) = 4 [pid 5877] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5877] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288) = 524288 [pid 5877] munmap(0x7f5166800000, 138412032) = 0 [pid 5877] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5877] close(4) = 0 [pid 5877] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5876] <... ioctl resumed>) = 0 [ 66.136809][ T5875] loop0: detected capacity change from 1024 to 3 [ 66.176221][ T5875] Dev loop0: unable to read RDB block 3 [pid 5876] exit_group(0 [pid 5874] <... openat resumed>) = 4 [pid 5876] <... exit_group resumed>) = ? [pid 5874] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5876] +++ exited with 0 +++ [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5876, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5874] <... openat resumed>) = 5 [pid 5877] <... openat resumed>) = 4 [pid 5875] <... ioctl resumed>) = 0 [pid 5877] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5874] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}} [pid 5875] exit_group(0 [pid 5874] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5875] <... exit_group resumed>) = ? [pid 5874] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5877] <... openat resumed>) = 5 [pid 5845] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5877] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}} [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5877] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5845] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5877] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5875] +++ exited with 0 +++ [pid 5845] <... openat resumed>) = 3 [pid 5846] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5875, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=4 /* 0.04 s */} --- [pid 5846] restart_syscall(<... resuming interrupted clone ...> [pid 5845] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5846] <... restart_syscall resumed>) = 0 [pid 5845] getdents64(3, [pid 5846] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] <... getdents64 resumed>0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5846] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] umount2("./3/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5846] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5846] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [ 66.181837][ T5875] loop0: unable to read partition table [ 66.187621][ T5875] loop0: partition table beyond EOD, truncated [ 66.197527][ T5875] loop_reread_partitions: partition scan of loop0 (Rt *3 !6{bO0.Qʝ H"Uqd\'Lz8w1AH) failed (rc=-5) [ 66.226992][ T2903] kworker/u8:7: attempt to access beyond end of device [pid 5846] getdents64(3, 0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5846] umount2("./4/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5846] umount2("./4/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5846] newfstatat(AT_FDCWD, "./4/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5846] umount2("./4/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5874] <... ioctl resumed>) = 0 [pid 5874] exit_group(0 [pid 5846] openat(AT_FDCWD, "./4/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5874] <... exit_group resumed>) = ? [pid 5846] <... openat resumed>) = 4 [pid 5846] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5846] getdents64(4, 0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5846] getdents64(4, 0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5874] +++ exited with 0 +++ [pid 5846] close(4 [pid 5849] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5874, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5846] <... close resumed>) = 0 [pid 5849] restart_syscall(<... resuming interrupted clone ...> [pid 5846] rmdir("./4/file2") = 0 [pid 5846] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5846] newfstatat(AT_FDCWD, "./4/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5846] unlink("./4/binderfs") = 0 [pid 5846] getdents64(3, 0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5846] close(3) = 0 [pid 5846] rmdir("./4") = 0 [pid 5846] mkdir("./5", 0777) = 0 [pid 5846] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5846] ioctl(3, LOOP_CLR_FD) = 0 [pid 5846] close(3) = 0 [pid 5849] <... restart_syscall resumed>) = 0 [ 66.226992][ T2903] loop0: rw=1, sector=206, nr_sectors = 8 limit=3 [pid 5846] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5878 attached , child_tidptr=0x55557569a650) = 5878 [pid 5849] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5849] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5878] set_robust_list(0x55557569a660, 24 [pid 5849] <... openat resumed>) = 3 [pid 5878] <... set_robust_list resumed>) = 0 [pid 5849] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5849] getdents64(3, 0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5878] chdir("./5" [pid 5849] umount2("./4/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5878] <... chdir resumed>) = 0 [pid 5878] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5878] setpgid(0, 0) = 0 [pid 5878] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5878] write(3, "1000", 4) = 4 [pid 5849] <... umount2 resumed>) = 0 [pid 5849] umount2("./4/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5878] close(3 [pid 5877] <... ioctl resumed>) = 0 [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] <... umount2 resumed>) = 0 [pid 5878] <... close resumed>) = 0 [pid 5849] newfstatat(AT_FDCWD, "./4/file2", [pid 5877] exit_group(0 [pid 5849] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] umount2("./3/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5878] symlink("/dev/binderfs", "./binderfs" [pid 5877] <... exit_group resumed>) = ? [pid 5849] umount2("./4/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./3/file2", [pid 5849] openat(AT_FDCWD, "./4/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5849] <... openat resumed>) = 4 [pid 5878] <... symlink resumed>) = 0 [pid 5877] +++ exited with 0 +++ [pid 5845] umount2("./3/file2", MNT_FORCE|UMOUNT_NOFOLLOW executing program [pid 5878] write(1, "executing program\n", 18 [pid 5849] newfstatat(4, "", [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5878] <... write resumed>) = 18 [pid 5847] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5877, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5878] memfd_create("syzkaller", 0 [pid 5849] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5847] restart_syscall(<... resuming interrupted clone ...> [pid 5845] openat(AT_FDCWD, "./3/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5878] <... memfd_create resumed>) = 3 [pid 5878] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5847] <... restart_syscall resumed>) = 0 [pid 5845] <... openat resumed>) = 4 [pid 5878] <... mmap resumed>) = 0x7f5166800000 [pid 5849] getdents64(4, [pid 5878] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5849] <... getdents64 resumed>0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5845] newfstatat(4, "", [pid 5849] getdents64(4, [pid 5847] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5849] <... getdents64 resumed>0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5845] getdents64(4, [pid 5849] close(4 [pid 5845] <... getdents64 resumed>0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5849] <... close resumed>) = 0 [pid 5849] rmdir("./4/file2") = 0 [pid 5845] getdents64(4, 0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5845] close(4 [pid 5878] <... write resumed>) = 524288 [pid 5849] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5847] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] <... close resumed>) = 0 [pid 5878] munmap(0x7f5166800000, 138412032 [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] rmdir("./3/file2" [pid 5847] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5845] <... rmdir resumed>) = 0 [pid 5849] newfstatat(AT_FDCWD, "./4/binderfs", [pid 5878] <... munmap resumed>) = 0 [pid 5847] newfstatat(3, "", [pid 5878] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5849] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5847] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5878] <... openat resumed>) = 4 [pid 5849] unlink("./4/binderfs" [pid 5847] getdents64(3, [pid 5878] ioctl(4, LOOP_SET_FD, 3 [pid 5847] <... getdents64 resumed>0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5847] umount2("./4/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5878] <... ioctl resumed>) = 0 [pid 5849] <... unlink resumed>) = 0 [pid 5845] newfstatat(AT_FDCWD, "./3/binderfs", [pid 5878] close(3 [pid 5849] getdents64(3, [pid 5845] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5878] <... close resumed>) = 0 [pid 5878] close(4) = 0 [pid 5849] <... getdents64 resumed>0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5845] unlink("./3/binderfs" [pid 5878] mkdir("./file2", 0777) = 0 [pid 5849] close(3 [pid 5845] <... unlink resumed>) = 0 [pid 5878] mount("/dev/loop1", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5849] <... close resumed>) = 0 [pid 5847] <... umount2 resumed>) = 0 [pid 5845] getdents64(3, 0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5845] close(3) = 0 [pid 5845] rmdir("./3") = 0 [pid 5845] mkdir("./4", 0777) = 0 [pid 5845] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5878] <... mount resumed>) = 0 [pid 5849] rmdir("./4" [pid 5847] umount2("./4/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] <... openat resumed>) = 3 [pid 5845] ioctl(3, LOOP_CLR_FD) = 0 [pid 5849] <... rmdir resumed>) = 0 [pid 5845] close(3 [pid 5878] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5849] mkdir("./5", 0777 [pid 5847] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5847] newfstatat(AT_FDCWD, "./4/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5847] umount2("./4/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] <... close resumed>) = 0 [pid 5847] openat(AT_FDCWD, "./4/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5847] newfstatat(4, "", [pid 5878] <... openat resumed>) = 3 [pid 5849] <... mkdir resumed>) = 0 [ 66.354218][ T5878] loop1: detected capacity change from 0 to 1024 [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5878] chdir("./file2" [pid 5849] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5847] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5878] <... chdir resumed>) = 0 [pid 5849] <... openat resumed>) = 3 [pid 5878] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5849] ioctl(3, LOOP_CLR_FD [pid 5878] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5849] <... ioctl resumed>) = 0 [pid 5847] getdents64(4, ./strace-static-x86_64: Process 5879 attached [pid 5845] <... clone resumed>, child_tidptr=0x55557569a650) = 5879 [pid 5879] set_robust_list(0x55557569a660, 24 [pid 5878] memfd_create("syzkaller", 0 [pid 5849] close(3 [pid 5847] <... getdents64 resumed>0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5879] <... set_robust_list resumed>) = 0 [pid 5878] <... memfd_create resumed>) = 4 [pid 5879] chdir("./4") = 0 [pid 5879] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5879] setpgid(0, 0 [pid 5849] <... close resumed>) = 0 [pid 5879] <... setpgid resumed>) = 0 [pid 5847] getdents64(4, [pid 5879] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5878] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5849] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5847] <... getdents64 resumed>0x5555756a3730 /* 0 entries */, 32768) = 0 ./strace-static-x86_64: Process 5880 attached [pid 5847] close(4 [pid 5879] write(3, "1000", 4 [pid 5880] set_robust_list(0x55557569a660, 24 [pid 5879] <... write resumed>) = 4 [pid 5878] <... mmap resumed>) = 0x7f5166800000 [pid 5849] <... clone resumed>, child_tidptr=0x55557569a650) = 5880 [pid 5847] <... close resumed>) = 0 [pid 5880] <... set_robust_list resumed>) = 0 [pid 5879] close(3 [pid 5847] rmdir("./4/file2" [pid 5880] chdir("./5" [pid 5847] <... rmdir resumed>) = 0 [pid 5880] <... chdir resumed>) = 0 [pid 5847] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5880] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5847] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5880] <... prctl resumed>) = 0 [pid 5847] newfstatat(AT_FDCWD, "./4/binderfs", [pid 5880] setpgid(0, 0 [pid 5847] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5880] <... setpgid resumed>) = 0 [pid 5847] unlink("./4/binderfs" [pid 5880] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5847] <... unlink resumed>) = 0 [pid 5880] <... openat resumed>) = 3 [pid 5847] getdents64(3, 0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5847] close(3) = 0 [pid 5880] write(3, "1000", 4 [pid 5847] rmdir("./4" [pid 5880] <... write resumed>) = 4 [pid 5847] <... rmdir resumed>) = 0 [pid 5880] close(3 [pid 5847] mkdir("./5", 0777 [pid 5879] <... close resumed>) = 0 [pid 5847] <... mkdir resumed>) = 0 [pid 5880] <... close resumed>) = 0 [pid 5879] symlink("/dev/binderfs", "./binderfs" [pid 5847] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5880] symlink("/dev/binderfs", "./binderfs" [pid 5847] <... openat resumed>) = 3 [pid 5880] <... symlink resumed>) = 0 [pid 5879] <... symlink resumed>) = 0 [pid 5847] ioctl(3, LOOP_CLR_FDexecuting program [pid 5879] write(1, "executing program\n", 18 [pid 5847] <... ioctl resumed>) = 0 executing program [pid 5880] write(1, "executing program\n", 18 [pid 5879] <... write resumed>) = 18 [pid 5847] close(3 [pid 5880] <... write resumed>) = 18 [pid 5879] memfd_create("syzkaller", 0 [pid 5878] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5847] <... close resumed>) = 0 [pid 5879] <... memfd_create resumed>) = 3 [pid 5878] <... write resumed>) = 524288 [pid 5879] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5847] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5879] <... mmap resumed>) = 0x7f5166800000 ./strace-static-x86_64: Process 5881 attached [pid 5880] memfd_create("syzkaller", 0 [pid 5879] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5878] munmap(0x7f5166800000, 138412032 [pid 5880] <... memfd_create resumed>) = 3 [pid 5847] <... clone resumed>, child_tidptr=0x55557569a650) = 5881 [pid 5881] set_robust_list(0x55557569a660, 24) = 0 [pid 5881] chdir("./5") = 0 [pid 5881] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5881] setpgid(0, 0) = 0 [pid 5881] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5881] write(3, "1000", 4 [pid 5880] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5879] <... write resumed>) = 524288 [pid 5878] <... munmap resumed>) = 0 [pid 5881] <... write resumed>) = 4 [pid 5880] <... mmap resumed>) = 0x7f5166800000 [pid 5879] munmap(0x7f5166800000, 138412032 [pid 5878] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5881] close(3 [pid 5879] <... munmap resumed>) = 0 [pid 5881] <... close resumed>) = 0 [pid 5878] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5881] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5879] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5881] write(1, "executing program\n", 18 [pid 5880] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5878] close(4executing program [pid 5881] <... write resumed>) = 18 [pid 5879] ioctl(4, LOOP_SET_FD, 3 [pid 5878] <... close resumed>) = 0 [pid 5880] <... write resumed>) = 524288 [pid 5879] <... ioctl resumed>) = 0 [pid 5881] memfd_create("syzkaller", 0 [pid 5879] close(3 [pid 5878] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5881] <... memfd_create resumed>) = 3 [pid 5880] munmap(0x7f5166800000, 138412032 [pid 5881] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5879] <... close resumed>) = 0 [pid 5878] <... openat resumed>) = 4 [pid 5881] <... mmap resumed>) = 0x7f5166800000 [pid 5880] <... munmap resumed>) = 0 [pid 5879] close(4 [pid 5878] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5881] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5880] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5879] <... close resumed>) = 0 [pid 5878] <... openat resumed>) = 5 [pid 5880] <... openat resumed>) = 4 [pid 5879] mkdir("./file2", 0777 [pid 5880] ioctl(4, LOOP_SET_FD, 3 [pid 5878] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}}) = -1 EBUSY (Device or resource busy) [pid 5878] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5879] <... mkdir resumed>) = 0 [pid 5881] <... write resumed>) = 524288 [pid 5880] <... ioctl resumed>) = 0 [pid 5879] mount("/dev/loop0", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5881] munmap(0x7f5166800000, 138412032 [pid 5880] close(3) = 0 [pid 5880] close(4 [pid 5881] <... munmap resumed>) = 0 [pid 5880] <... close resumed>) = 0 [pid 5880] mkdir("./file2", 0777) = 0 [ 66.496807][ T5879] loop0: detected capacity change from 0 to 1024 [ 66.523460][ T5880] loop4: detected capacity change from 0 to 1024 [pid 5880] mount("/dev/loop4", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5881] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5881] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5880] <... mount resumed>) = 0 [pid 5881] close(3 [pid 5880] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5879] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5881] <... close resumed>) = 0 [pid 5880] <... openat resumed>) = 3 [pid 5881] close(4 [pid 5880] chdir("./file2" [pid 5879] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5881] <... close resumed>) = 0 [pid 5880] <... chdir resumed>) = 0 [pid 5879] <... openat resumed>) = 3 [pid 5880] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5881] mkdir("./file2", 0777 [pid 5880] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5879] ioctl(3, LOOP_CLR_FD [pid 5881] <... mkdir resumed>) = 0 [pid 5880] memfd_create("syzkaller", 0 [pid 5879] <... ioctl resumed>) = 0 [pid 5880] <... memfd_create resumed>) = 4 [pid 5880] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5880] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5879] close(3) = 0 [pid 5881] mount("/dev/loop2", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5879] memfd_create("syzkaller", 0) = 3 [pid 5879] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [ 66.545708][ T5878] loop0: detected capacity change from 1024 to 3 [ 66.553777][ T5878] Dev loop0: unable to read RDB block 3 [ 66.559602][ T5879] hfsplus: unable to find HFS+ superblock [ 66.560436][ T5878] loop0: unable to read partition table [ 66.571644][ T5881] loop2: detected capacity change from 0 to 1024 [ 66.576267][ T5878] loop0: partition table beyond EOD, truncated [pid 5880] <... write resumed>) = 524288 [pid 5879] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5880] munmap(0x7f5166800000, 138412032) = 0 [pid 5880] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5880] close(4) = 0 [pid 5879] <... write resumed>) = 524288 [pid 5878] <... ioctl resumed>) = 0 [pid 5880] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5878] exit_group(0 [pid 5880] <... openat resumed>) = 4 [pid 5879] munmap(0x7f5166800000, 138412032 [pid 5880] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5878] <... exit_group resumed>) = ? [pid 5879] <... munmap resumed>) = 0 [pid 5878] +++ exited with 0 +++ [pid 5881] <... mount resumed>) = 0 [pid 5880] <... openat resumed>) = 5 [pid 5880] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}} [pid 5846] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5878, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5881] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5880] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5879] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5846] restart_syscall(<... resuming interrupted clone ...> [pid 5881] <... openat resumed>) = 3 [pid 5880] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5879] <... openat resumed>) = 4 [pid 5881] chdir("./file2" [pid 5879] ioctl(4, LOOP_SET_FD, 3 [pid 5881] <... chdir resumed>) = 0 [pid 5881] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5846] <... restart_syscall resumed>) = 0 [pid 5881] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5881] memfd_create("syzkaller", 0) = 4 [pid 5846] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5881] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5846] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5881] <... mmap resumed>) = 0x7f5166800000 [pid 5846] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5846] newfstatat(3, "", [pid 5881] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5846] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5846] getdents64(3, 0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5881] <... write resumed>) = 524288 [pid 5881] munmap(0x7f5166800000, 138412032 [pid 5846] umount2("./5/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5881] <... munmap resumed>) = 0 [pid 5881] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [ 66.595522][ T5878] loop_reread_partitions: partition scan of loop0 (Rt *3 !6{bO0.Qʝ H"Uqd\'Lz8w1AH) failed (rc=-5) [pid 5881] close(4 [pid 5880] <... ioctl resumed>) = 0 [pid 5879] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5846] <... umount2 resumed>) = 0 [pid 5880] exit_group(0) = ? [pid 5879] ioctl(4, LOOP_CLR_FD [pid 5846] umount2("./5/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5879] <... ioctl resumed>) = 0 [pid 5846] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5846] newfstatat(AT_FDCWD, "./5/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5846] umount2("./5/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5881] <... close resumed>) = 0 [pid 5880] +++ exited with 0 +++ [pid 5846] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5881] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5849] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5880, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5846] openat(AT_FDCWD, "./5/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5881] <... openat resumed>) = 4 [pid 5846] <... openat resumed>) = 4 [pid 5881] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5846] newfstatat(4, "", [pid 5879] ioctl(4, LOOP_SET_FD, 3 [pid 5849] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5846] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5879] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5881] <... openat resumed>) = 5 [pid 5879] close(4 [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5846] getdents64(4, [pid 5881] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}} [pid 5879] <... close resumed>) = 0 [pid 5881] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5849] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5846] <... getdents64 resumed>0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5881] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5879] close(3 [pid 5846] getdents64(4, 0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5846] close(4) = 0 [pid 5879] <... close resumed>) = 0 [pid 5849] <... openat resumed>) = 3 [pid 5846] rmdir("./5/file2" [pid 5849] newfstatat(3, "", [pid 5846] <... rmdir resumed>) = 0 [pid 5879] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5849] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5849] getdents64(3, 0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5846] umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5849] umount2("./5/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5846] newfstatat(AT_FDCWD, "./5/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5846] unlink("./5/binderfs") = 0 [pid 5846] getdents64(3, 0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5846] close(3 [pid 5849] <... umount2 resumed>) = 0 [pid 5846] <... close resumed>) = 0 [pid 5846] rmdir("./5" [pid 5881] <... ioctl resumed>) = 0 [pid 5849] umount2("./5/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5846] <... rmdir resumed>) = 0 [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5849] newfstatat(AT_FDCWD, "./5/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5849] umount2("./5/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5846] mkdir("./6", 0777 [pid 5849] openat(AT_FDCWD, "./5/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5846] <... mkdir resumed>) = 0 [pid 5881] exit_group(0 [pid 5849] <... openat resumed>) = 4 [pid 5849] newfstatat(4, "", [pid 5846] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5881] <... exit_group resumed>) = ? [pid 5849] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5846] <... openat resumed>) = 3 [pid 5846] ioctl(3, LOOP_CLR_FD) = 0 [pid 5846] close(3 [pid 5879] <... openat resumed>) = 3 [pid 5849] getdents64(4, [pid 5846] <... close resumed>) = 0 [pid 5881] +++ exited with 0 +++ [pid 5879] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5849] <... getdents64 resumed>0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5846] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5879] <... openat resumed>) = 4 [pid 5849] getdents64(4, [pid 5879] ioctl(3, LOOP_CONFIGURE, {fd=4, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}} [pid 5849] <... getdents64 resumed>0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5847] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5881, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- ./strace-static-x86_64: Process 5882 attached [pid 5879] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5849] close(4 [pid 5847] restart_syscall(<... resuming interrupted clone ...> [pid 5846] <... clone resumed>, child_tidptr=0x55557569a650) = 5882 [pid 5882] set_robust_list(0x55557569a660, 24 [pid 5879] ioctl(3, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5849] <... close resumed>) = 0 [pid 5849] rmdir("./5/file2" [pid 5882] <... set_robust_list resumed>) = 0 [pid 5849] <... rmdir resumed>) = 0 [pid 5882] chdir("./6" [pid 5849] umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5882] <... chdir resumed>) = 0 [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5882] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5849] newfstatat(AT_FDCWD, "./5/binderfs", [pid 5882] <... prctl resumed>) = 0 [pid 5849] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5882] setpgid(0, 0 [pid 5849] unlink("./5/binderfs" [pid 5882] <... setpgid resumed>) = 0 [pid 5849] <... unlink resumed>) = 0 [pid 5882] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5849] getdents64(3, [pid 5882] write(3, "1000", 4 [pid 5849] <... getdents64 resumed>0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5882] <... write resumed>) = 4 [pid 5882] close(3 [pid 5849] close(3 [pid 5882] <... close resumed>) = 0 [pid 5849] <... close resumed>) = 0 [pid 5882] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5849] rmdir("./5" [pid 5882] write(1, "executing program\n", 18 [pid 5849] <... rmdir resumed>) = 0 [pid 5847] <... restart_syscall resumed>) = 0 [pid 5847] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5847] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5847] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5847] getdents64(3, 0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5847] umount2("./5/file2", MNT_FORCE|UMOUNT_NOFOLLOWexecuting program [pid 5849] mkdir("./6", 0777 [pid 5882] <... write resumed>) = 18 [pid 5847] <... umount2 resumed>) = 0 [pid 5847] umount2("./5/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5847] newfstatat(AT_FDCWD, "./5/file2", [pid 5849] <... mkdir resumed>) = 0 [pid 5847] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5882] memfd_create("syzkaller", 0 [pid 5849] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5847] umount2("./5/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] <... openat resumed>) = 3 [pid 5847] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5882] <... memfd_create resumed>) = 3 [pid 5847] openat(AT_FDCWD, "./5/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5882] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5849] ioctl(3, LOOP_CLR_FD [pid 5847] <... openat resumed>) = 4 [ 66.726168][ T5220] Dev loop0: unable to read RDB block 3 [ 66.731782][ T5220] loop0: unable to read partition table [ 66.737593][ T5220] loop0: partition table beyond EOD, truncated [pid 5847] newfstatat(4, "", [pid 5882] <... mmap resumed>) = 0x7f5166800000 [pid 5849] <... ioctl resumed>) = 0 [pid 5847] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5847] getdents64(4, 0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5847] getdents64(4, 0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5882] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5879] <... ioctl resumed>) = 0 [pid 5849] close(3 [pid 5847] close(4 [pid 5882] <... write resumed>) = 524288 [pid 5849] <... close resumed>) = 0 [pid 5847] <... close resumed>) = 0 [pid 5847] rmdir("./5/file2") = 0 [pid 5847] umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5847] newfstatat(AT_FDCWD, "./5/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5847] unlink("./5/binderfs") = 0 [pid 5847] getdents64(3, 0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5847] close(3) = 0 [pid 5847] rmdir("./5") = 0 [pid 5882] munmap(0x7f5166800000, 138412032 [pid 5879] exit_group(0 [pid 5849] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5847] mkdir("./6", 0777 [pid 5882] <... munmap resumed>) = 0 [pid 5879] <... exit_group resumed>) = ? [pid 5847] <... mkdir resumed>) = 0 ./strace-static-x86_64: Process 5883 attached [pid 5882] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5847] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5882] <... openat resumed>) = 4 [pid 5879] +++ exited with 0 +++ [pid 5849] <... clone resumed>, child_tidptr=0x55557569a650) = 5883 [pid 5847] <... openat resumed>) = 3 [pid 5883] set_robust_list(0x55557569a660, 24 [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5879, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 5882] ioctl(4, LOOP_SET_FD, 3 [pid 5883] <... set_robust_list resumed>) = 0 [pid 5847] ioctl(3, LOOP_CLR_FD [pid 5883] chdir("./6" [pid 5847] <... ioctl resumed>) = 0 [pid 5883] <... chdir resumed>) = 0 [pid 5847] close(3) = 0 [pid 5883] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5883] setpgid(0, 0) = 0 [pid 5883] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5847] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5883] <... openat resumed>) = 3 [pid 5883] write(3, "1000", 4) = 4 [pid 5883] close(3) = 0 [pid 5883] symlink("/dev/binderfs", "./binderfs"./strace-static-x86_64: Process 5884 attached ) = 0 executing program [pid 5883] write(1, "executing program\n", 18) = 18 [pid 5847] <... clone resumed>, child_tidptr=0x55557569a650) = 5884 [pid 5884] set_robust_list(0x55557569a660, 24 [pid 5883] memfd_create("syzkaller", 0 [pid 5882] <... ioctl resumed>) = 0 [pid 5884] <... set_robust_list resumed>) = 0 [pid 5882] close(3 [pid 5845] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5884] chdir("./6" [pid 5883] <... memfd_create resumed>) = 3 [pid 5882] <... close resumed>) = 0 [pid 5884] <... chdir resumed>) = 0 [pid 5883] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5884] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5883] <... mmap resumed>) = 0x7f5166800000 [pid 5882] close(4 [pid 5845] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5884] <... prctl resumed>) = 0 [pid 5883] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5882] <... close resumed>) = 0 [pid 5845] <... openat resumed>) = 3 [pid 5845] newfstatat(3, "", [pid 5884] setpgid(0, 0 [pid 5882] mkdir("./file2", 0777 [pid 5884] <... setpgid resumed>) = 0 [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5884] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5882] <... mkdir resumed>) = 0 [pid 5884] <... openat resumed>) = 3 [pid 5845] getdents64(3, [pid 5882] mount("/dev/loop1", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5845] <... getdents64 resumed>0x55557569b6f0 /* 5 entries */, 32768) = 144 [pid 5883] <... write resumed>) = 524288 [pid 5884] write(3, "1000", 4 [pid 5882] <... mount resumed>) = 0 [pid 5845] umount2("./4/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5884] <... write resumed>) = 4 [pid 5882] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5884] close(3 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5882] <... openat resumed>) = 3 [pid 5845] newfstatat(AT_FDCWD, "./4/file2", [pid 5884] <... close resumed>) = 0 [pid 5882] chdir("./file2" [pid 5884] symlink("/dev/binderfs", "./binderfs" [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5882] <... chdir resumed>) = 0 [pid 5884] <... symlink resumed>) = 0 [pid 5882] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5845] umount2("./4/file2", MNT_FORCE|UMOUNT_NOFOLLOW executing program [pid 5884] write(1, "executing program\n", 18 [pid 5882] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5884] <... write resumed>) = 18 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5882] memfd_create("syzkaller", 0 [pid 5883] munmap(0x7f5166800000, 138412032 [pid 5884] memfd_create("syzkaller", 0 [pid 5883] <... munmap resumed>) = 0 [ 66.823593][ T5882] loop1: detected capacity change from 0 to 1024 [pid 5882] <... memfd_create resumed>) = 4 [pid 5845] openat(AT_FDCWD, "./4/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5884] <... memfd_create resumed>) = 3 [pid 5883] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5882] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5883] <... openat resumed>) = 4 [pid 5884] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5882] <... mmap resumed>) = 0x7f5166800000 [pid 5845] <... openat resumed>) = 4 [pid 5883] ioctl(4, LOOP_SET_FD, 3 [pid 5884] <... mmap resumed>) = 0x7f5166800000 [pid 5882] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5845] newfstatat(4, "", [pid 5884] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5883] <... ioctl resumed>) = 0 [pid 5882] <... write resumed>) = 524288 [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5883] close(3) = 0 [pid 5845] getdents64(4, 0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5845] getdents64(4, 0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5845] close(4) = 0 [pid 5845] rmdir("./4/file2") = 0 [pid 5884] <... write resumed>) = 524288 [pid 5883] close(4 [pid 5845] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5884] munmap(0x7f5166800000, 138412032 [pid 5883] <... close resumed>) = 0 [pid 5882] munmap(0x7f5166800000, 138412032 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5884] <... munmap resumed>) = 0 [pid 5883] mkdir("./file2", 0777 [pid 5882] <... munmap resumed>) = 0 [pid 5883] <... mkdir resumed>) = 0 [pid 5883] mount("/dev/loop4", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5884] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5883] <... mount resumed>) = 0 [pid 5882] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5845] newfstatat(AT_FDCWD, "./4/binderfs", [pid 5884] <... openat resumed>) = 4 [pid 5883] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5882] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5884] ioctl(4, LOOP_SET_FD, 3 [pid 5882] close(4 [pid 5883] <... openat resumed>) = 3 [pid 5845] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5883] chdir("./file2" [pid 5845] unlink("./4/binderfs" [pid 5883] <... chdir resumed>) = 0 [pid 5845] <... unlink resumed>) = 0 [pid 5883] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5845] umount2("./4/cgroup.stat", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5883] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5883] memfd_create("syzkaller", 0 [pid 5845] newfstatat(AT_FDCWD, "./4/cgroup.stat", [pid 5883] <... memfd_create resumed>) = 4 [pid 5845] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] unlink("./4/cgroup.stat" [pid 5883] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5845] <... unlink resumed>) = 0 [pid 5884] <... ioctl resumed>) = 0 [pid 5883] <... mmap resumed>) = 0x7f5166800000 [pid 5882] <... close resumed>) = 0 [pid 5884] close(3 [pid 5882] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5845] getdents64(3, [pid 5884] <... close resumed>) = 0 [pid 5884] close(4 [pid 5882] <... openat resumed>) = 4 [pid 5884] <... close resumed>) = 0 [pid 5845] <... getdents64 resumed>0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5884] mkdir("./file2", 0777 [pid 5845] close(3 [pid 5884] <... mkdir resumed>) = 0 [pid 5882] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5845] <... close resumed>) = 0 [pid 5884] mount("/dev/loop2", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5845] rmdir("./4") = 0 [pid 5883] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5845] mkdir("./5", 0777 [pid 5882] <... openat resumed>) = 5 [pid 5845] <... mkdir resumed>) = 0 [pid 5882] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}} [pid 5884] <... mount resumed>) = 0 [pid 5883] <... write resumed>) = 524288 [pid 5845] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5884] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5883] munmap(0x7f5166800000, 138412032 [pid 5882] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5884] <... openat resumed>) = 3 [pid 5883] <... munmap resumed>) = 0 [pid 5882] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5845] <... openat resumed>) = 3 [pid 5884] chdir("./file2") = 0 [pid 5883] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5845] ioctl(3, LOOP_CLR_FD [pid 5884] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5883] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5883] close(4 [pid 5884] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5884] memfd_create("syzkaller", 0 [pid 5883] <... close resumed>) = 0 [pid 5884] <... memfd_create resumed>) = 4 [pid 5883] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5884] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5884] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288) = 524288 [pid 5884] munmap(0x7f5166800000, 138412032) = 0 [pid 5884] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5884] close(4) = 0 [ 66.872784][ T5883] loop4: detected capacity change from 0 to 1024 [ 66.902060][ T5884] loop2: detected capacity change from 0 to 1024 [pid 5884] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5883] <... openat resumed>) = 4 [pid 5845] <... ioctl resumed>) = 0 [pid 5883] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5845] close(3 [pid 5884] <... openat resumed>) = 4 [pid 5882] <... ioctl resumed>) = 0 [pid 5884] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5882] exit_group(0 [pid 5845] <... close resumed>) = 0 [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5882] <... exit_group resumed>) = ? ./strace-static-x86_64: Process 5885 attached [pid 5884] <... openat resumed>) = 5 [pid 5883] <... openat resumed>) = 5 [pid 5882] +++ exited with 0 +++ [pid 5845] <... clone resumed>, child_tidptr=0x55557569a650) = 5885 [pid 5885] set_robust_list(0x55557569a660, 24 [pid 5884] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}} [pid 5846] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5882, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=2 /* 0.02 s */} --- [pid 5846] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5885] <... set_robust_list resumed>) = 0 [pid 5884] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5883] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}} [pid 5885] chdir("./5" [pid 5883] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5846] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5883] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5885] <... chdir resumed>) = 0 [pid 5846] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5884] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5885] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5846] <... openat resumed>) = 3 [pid 5885] <... prctl resumed>) = 0 [pid 5885] setpgid(0, 0 [pid 5846] newfstatat(3, "", [pid 5885] <... setpgid resumed>) = 0 [pid 5846] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5885] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5846] getdents64(3, 0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5885] <... openat resumed>) = 3 [pid 5846] umount2("./6/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5885] write(3, "1000", 4) = 4 [pid 5885] close(3) = 0 [pid 5885] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5885] write(1, "executing program\n", 18 [pid 5846] <... umount2 resumed>) = 0 executing program [pid 5885] <... write resumed>) = 18 [pid 5846] umount2("./6/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5885] memfd_create("syzkaller", 0 [pid 5846] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 66.970691][ T5220] Dev loop0: unable to read RDB block 3 [ 66.976515][ T5220] loop0: unable to read partition table [ 66.982341][ T5220] loop0: partition table beyond EOD, truncated [pid 5846] newfstatat(AT_FDCWD, "./6/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5885] <... memfd_create resumed>) = 3 [pid 5885] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5846] umount2("./6/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5885] <... mmap resumed>) = 0x7f5166800000 [pid 5846] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5846] openat(AT_FDCWD, "./6/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5846] newfstatat(4, "", [pid 5885] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5883] <... ioctl resumed>) = 0 [pid 5846] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5846] getdents64(4, [pid 5883] exit_group(0) = ? [pid 5846] <... getdents64 resumed>0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5846] getdents64(4, [pid 5883] +++ exited with 0 +++ [pid 5846] <... getdents64 resumed>0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5849] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5883, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5846] close(4 [pid 5849] restart_syscall(<... resuming interrupted clone ...> [pid 5846] <... close resumed>) = 0 [pid 5846] rmdir("./6/file2" [pid 5885] <... write resumed>) = 524288 [pid 5849] <... restart_syscall resumed>) = 0 [pid 5885] munmap(0x7f5166800000, 138412032 [pid 5846] <... rmdir resumed>) = 0 [pid 5885] <... munmap resumed>) = 0 [pid 5846] umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5885] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5846] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5849] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5846] newfstatat(AT_FDCWD, "./6/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5846] unlink("./6/binderfs" [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5849] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5846] <... unlink resumed>) = 0 [pid 5849] <... openat resumed>) = 3 [pid 5849] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5846] getdents64(3, 0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5849] getdents64(3, [pid 5846] close(3 [pid 5849] <... getdents64 resumed>0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5846] <... close resumed>) = 0 [pid 5846] rmdir("./6" [pid 5885] <... openat resumed>) = 4 [pid 5884] <... ioctl resumed>) = 0 [pid 5849] umount2("./6/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5885] ioctl(4, LOOP_SET_FD, 3 [pid 5846] <... rmdir resumed>) = 0 [pid 5884] exit_group(0 [pid 5885] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5846] mkdir("./7", 0777 [pid 5885] ioctl(4, LOOP_CLR_FD [pid 5884] <... exit_group resumed>) = ? [pid 5846] <... mkdir resumed>) = 0 [pid 5885] <... ioctl resumed>) = 0 [pid 5846] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5884] +++ exited with 0 +++ [pid 5849] <... umount2 resumed>) = 0 [pid 5885] ioctl(4, LOOP_SET_FD, 3 [pid 5847] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5884, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5846] <... openat resumed>) = 3 [pid 5885] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5849] umount2("./6/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5885] close(4 [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5847] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5846] ioctl(3, LOOP_CLR_FD [pid 5885] <... close resumed>) = 0 [pid 5846] <... ioctl resumed>) = 0 [pid 5885] close(3 [pid 5849] newfstatat(AT_FDCWD, "./6/file2", [pid 5847] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5846] close(3 [pid 5849] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5847] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5847] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5847] getdents64(3, 0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5847] umount2("./6/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] umount2("./6/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5849] openat(AT_FDCWD, "./6/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5885] <... close resumed>) = 0 [pid 5849] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5846] <... close resumed>) = 0 [pid 5849] getdents64(4, [pid 5846] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5886 attached [pid 5847] <... umount2 resumed>) = 0 [pid 5849] <... getdents64 resumed>0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5847] umount2("./6/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5847] newfstatat(AT_FDCWD, "./6/file2", [pid 5886] set_robust_list(0x55557569a660, 24 [pid 5885] memfd_create("syzkaller", 0 [pid 5849] getdents64(4, [pid 5846] <... clone resumed>, child_tidptr=0x55557569a650) = 5886 [pid 5847] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5849] <... getdents64 resumed>0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5847] umount2("./6/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5886] <... set_robust_list resumed>) = 0 [pid 5885] <... memfd_create resumed>) = 3 [pid 5849] close(4) = 0 [pid 5847] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5847] openat(AT_FDCWD, "./6/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5849] rmdir("./6/file2" [pid 5886] chdir("./7" [pid 5847] <... openat resumed>) = 4 [pid 5847] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5849] <... rmdir resumed>) = 0 [pid 5847] getdents64(4, [pid 5885] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5847] <... getdents64 resumed>0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5847] getdents64(4, 0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5886] <... chdir resumed>) = 0 [pid 5885] <... mmap resumed>) = 0x7f5166800000 [pid 5849] umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5886] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5847] close(4) = 0 [pid 5847] rmdir("./6/file2") = 0 [pid 5847] umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5847] newfstatat(AT_FDCWD, "./6/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5847] unlink("./6/binderfs") = 0 [pid 5847] getdents64(3, 0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5847] close(3) = 0 [pid 5847] rmdir("./6" [pid 5886] <... prctl resumed>) = 0 [pid 5885] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5847] <... rmdir resumed>) = 0 [pid 5847] mkdir("./7", 0777 [pid 5886] setpgid(0, 0 [pid 5885] <... write resumed>) = 524288 [pid 5849] newfstatat(AT_FDCWD, "./6/binderfs", [pid 5886] <... setpgid resumed>) = 0 [pid 5885] munmap(0x7f5166800000, 138412032 [pid 5849] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5847] <... mkdir resumed>) = 0 [pid 5886] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5885] <... munmap resumed>) = 0 [pid 5849] unlink("./6/binderfs" [pid 5847] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5885] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5849] <... unlink resumed>) = 0 [pid 5847] <... openat resumed>) = 3 [pid 5886] <... openat resumed>) = 3 [pid 5885] <... openat resumed>) = 4 [pid 5849] getdents64(3, [pid 5847] ioctl(3, LOOP_CLR_FD [pid 5886] write(3, "1000", 4 [pid 5885] ioctl(4, LOOP_SET_FD, 3 [pid 5849] <... getdents64 resumed>0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5847] <... ioctl resumed>) = 0 [pid 5886] <... write resumed>) = 4 [pid 5849] close(3 [pid 5886] close(3executing program ) = 0 [pid 5886] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5886] write(1, "executing program\n", 18) = 18 [pid 5885] <... ioctl resumed>) = 0 [pid 5849] <... close resumed>) = 0 [pid 5847] close(3 [pid 5885] close(3) = 0 [pid 5886] memfd_create("syzkaller", 0 [pid 5849] rmdir("./6" [pid 5847] <... close resumed>) = 0 [pid 5849] <... rmdir resumed>) = 0 [pid 5849] mkdir("./7", 0777 [pid 5886] <... memfd_create resumed>) = 3 [pid 5885] close(4 [pid 5847] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5887 attached [pid 5886] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5885] <... close resumed>) = 0 [pid 5887] set_robust_list(0x55557569a660, 24 [pid 5886] <... mmap resumed>) = 0x7f5166800000 [pid 5885] mkdir("./file1", 0777 [pid 5849] <... mkdir resumed>) = 0 [pid 5887] <... set_robust_list resumed>) = 0 [pid 5885] <... mkdir resumed>) = 0 [pid 5849] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5887] chdir("./7" [pid 5886] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5885] mount("/dev/loop0", "./file1", "ext4", MS_RELATIME, ",errors=continue" [pid 5849] ioctl(3, LOOP_CLR_FD [pid 5847] <... clone resumed>, child_tidptr=0x55557569a650) = 5887 [pid 5887] <... chdir resumed>) = 0 [pid 5886] <... write resumed>) = 524288 [pid 5849] <... ioctl resumed>) = 0 [pid 5887] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5849] close(3 [pid 5887] setpgid(0, 0 [pid 5849] <... close resumed>) = 0 [pid 5887] <... setpgid resumed>) = 0 [pid 5887] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5887] write(3, "1000", 4) = 4 [pid 5887] close(3) = 0 [pid 5887] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5849] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLDexecuting program [pid 5887] write(1, "executing program\n", 18./strace-static-x86_64: Process 5888 attached ) = 18 [pid 5887] memfd_create("syzkaller", 0) = 3 [pid 5887] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5886] munmap(0x7f5166800000, 138412032 [pid 5888] set_robust_list(0x55557569a660, 24 [pid 5886] <... munmap resumed>) = 0 [pid 5888] <... set_robust_list resumed>) = 0 [pid 5888] chdir("./7" [pid 5886] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 5888] <... chdir resumed>) = 0 [ 67.161989][ T5885] loop0: detected capacity change from 0 to 1024 [pid 5886] ioctl(4, LOOP_SET_FD, 3 [pid 5888] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5849] <... clone resumed>, child_tidptr=0x55557569a650) = 5888 [pid 5888] <... prctl resumed>) = 0 [pid 5888] setpgid(0, 0executing program ) = 0 [pid 5887] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5888] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5888] write(3, "1000", 4) = 4 [pid 5888] close(3) = 0 [pid 5888] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5888] write(1, "executing program\n", 18) = 18 [pid 5888] memfd_create("syzkaller", 0) = 3 [pid 5887] <... write resumed>) = 524288 [pid 5888] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5886] <... ioctl resumed>) = 0 [pid 5885] <... mount resumed>) = 0 [pid 5885] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5888] <... mmap resumed>) = 0x7f5166800000 [pid 5887] munmap(0x7f5166800000, 138412032) = 0 [pid 5886] close(3 [pid 5885] <... openat resumed>) = 3 [pid 5887] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5886] <... close resumed>) = 0 [pid 5887] ioctl(4, LOOP_SET_FD, 3 [pid 5886] close(4 [pid 5885] chdir("./file1" [pid 5888] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5885] <... chdir resumed>) = 0 [pid 5885] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5885] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 5885] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5888] <... write resumed>) = 524288 [pid 5887] <... ioctl resumed>) = 0 [pid 5886] <... close resumed>) = 0 [pid 5885] <... openat resumed>) = 5 [pid 5885] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}}) = -1 EBUSY (Device or resource busy) [pid 5885] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5888] munmap(0x7f5166800000, 138412032 [pid 5887] close(3 [pid 5886] mkdir("./file2", 0777 [pid 5888] <... munmap resumed>) = 0 [pid 5887] <... close resumed>) = 0 [pid 5886] <... mkdir resumed>) = 0 [pid 5888] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5887] close(4 [pid 5888] <... openat resumed>) = 4 [pid 5887] <... close resumed>) = 0 [pid 5888] ioctl(4, LOOP_SET_FD, 3 [pid 5887] mkdir("./file2", 0777) = 0 [pid 5886] mount("/dev/loop1", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [ 67.216911][ T5886] loop1: detected capacity change from 0 to 1024 [ 67.225277][ T5885] EXT4-fs (loop0): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: none. [ 67.245880][ T5887] loop2: detected capacity change from 0 to 1024 [ 67.259514][ T5888] loop4: detected capacity change from 0 to 1024 [pid 5887] mount("/dev/loop2", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5888] <... ioctl resumed>) = 0 [pid 5887] <... mount resumed>) = 0 [pid 5887] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 5887] chdir("./file2") = 0 [pid 5887] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5888] close(3 [pid 5887] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5888] <... close resumed>) = 0 [pid 5887] memfd_create("syzkaller", 0 [pid 5888] close(4 [pid 5887] <... memfd_create resumed>) = 4 [pid 5887] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5887] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5888] <... close resumed>) = 0 [pid 5888] mkdir("./file2", 0777 [pid 5886] <... mount resumed>) = 0 [pid 5888] <... mkdir resumed>) = 0 [pid 5888] mount("/dev/loop4", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5886] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5887] <... write resumed>) = 524288 [pid 5886] <... openat resumed>) = 3 [pid 5888] <... mount resumed>) = 0 [pid 5887] munmap(0x7f5166800000, 138412032) = 0 [pid 5887] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5887] close(4 [pid 5886] chdir("./file2" [pid 5887] <... close resumed>) = 0 [pid 5888] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5886] <... chdir resumed>) = 0 [pid 5888] <... openat resumed>) = 3 [pid 5886] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5888] chdir("./file2" [pid 5886] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5888] <... chdir resumed>) = 0 [pid 5886] memfd_create("syzkaller", 0 [pid 5888] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5886] <... memfd_create resumed>) = 4 [ 67.276418][ T5885] loop0: detected capacity change from 1024 to 3 [ 67.291974][ T5885] Dev loop0: unable to read RDB block 3 [ 67.305099][ T5885] loop0: unable to read partition table [ 67.311858][ T5885] loop0: partition table beyond EOD, truncated [pid 5888] memfd_create("syzkaller", 0 [pid 5887] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5886] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5888] <... memfd_create resumed>) = 4 [pid 5888] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5887] <... openat resumed>) = 4 [pid 5887] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5888] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5886] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5885] <... ioctl resumed>) = 0 [pid 5886] <... write resumed>) = 524288 [pid 5885] exit_group(0 [pid 5886] munmap(0x7f5166800000, 138412032 [pid 5885] <... exit_group resumed>) = ? [pid 5887] <... openat resumed>) = 5 [pid 5887] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}} [pid 5886] <... munmap resumed>) = 0 [pid 5887] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5887] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5886] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5885] +++ exited with 0 +++ [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5885, si_uid=0, si_status=0, si_utime=0, si_stime=10 /* 0.10 s */} --- [pid 5845] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5888] <... write resumed>) = 524288 [pid 5886] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5888] munmap(0x7f5166800000, 138412032 [pid 5886] close(4 [pid 5845] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5845] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] getdents64(3, 0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5845] umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./5/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] unlink("./5/binderfs") = 0 [pid 5886] <... close resumed>) = 0 [pid 5845] umount2("./5/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5888] <... munmap resumed>) = 0 [pid 5886] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5888] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5888] close(4) = 0 [pid 5888] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 5887] <... ioctl resumed>) = 0 [pid 5886] <... openat resumed>) = 4 [pid 5888] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5887] exit_group(0) = ? [pid 5887] +++ exited with 0 +++ [ 67.319625][ T5885] loop_reread_partitions: partition scan of loop0 (Rt *3 !6{bO0.Qʝ H"Uqd\'Lz8w1AH) failed (rc=-5) [ 67.366667][ T5845] EXT4-fs (loop0): unmounting filesystem 00000000-0000-0000-0000-000000000000. [pid 5886] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5888] <... openat resumed>) = 5 [pid 5886] <... openat resumed>) = 5 [pid 5847] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5887, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=0} --- [pid 5845] <... umount2 resumed>) = 0 [pid 5845] umount2("./5/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5888] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}} [pid 5886] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}} [pid 5888] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5845] newfstatat(AT_FDCWD, "./5/file1", [pid 5888] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5886] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5886] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5847] umount2("./7", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] umount2("./5/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5847] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5847] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5845] openat(AT_FDCWD, "./5/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5847] <... openat resumed>) = 3 [pid 5847] newfstatat(3, "", [pid 5845] <... openat resumed>) = 4 [pid 5847] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] newfstatat(4, "", [pid 5847] getdents64(3, [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5847] <... getdents64 resumed>0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5845] getdents64(4, [pid 5847] umount2("./7/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] <... getdents64 resumed>0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5845] getdents64(4, 0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5845] close(4) = 0 [pid 5845] rmdir("./5/file1") = 0 [pid 5845] getdents64(3, [pid 5847] <... umount2 resumed>) = 0 [pid 5847] umount2("./7/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] <... getdents64 resumed>0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5847] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5847] newfstatat(AT_FDCWD, "./7/file2", [pid 5845] close(3 [pid 5847] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] <... close resumed>) = 0 [pid 5847] umount2("./7/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] rmdir("./5" [pid 5888] <... ioctl resumed>) = 0 [pid 5847] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5888] exit_group(0 [pid 5847] openat(AT_FDCWD, "./7/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5845] <... rmdir resumed>) = 0 [pid 5888] <... exit_group resumed>) = ? [pid 5847] <... openat resumed>) = 4 [pid 5847] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5847] getdents64(4, [pid 5845] mkdir("./6", 0777 [pid 5888] +++ exited with 0 +++ [pid 5847] <... getdents64 resumed>0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5845] <... mkdir resumed>) = 0 [pid 5849] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5888, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [ 67.378005][ T5889] Buffer I/O error on dev loop0, logical block 64, lost sync page write [pid 5849] restart_syscall(<... resuming interrupted clone ...> [pid 5847] getdents64(4, 0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5847] close(4) = 0 [pid 5847] rmdir("./7/file2" [pid 5845] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5847] <... rmdir resumed>) = 0 [pid 5847] umount2("./7/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5847] newfstatat(AT_FDCWD, "./7/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5847] unlink("./7/binderfs") = 0 [pid 5847] getdents64(3, 0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5847] close(3) = 0 [pid 5847] rmdir("./7") = 0 [pid 5847] mkdir("./8", 0777) = 0 [pid 5847] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5847] ioctl(3, LOOP_CLR_FD) = 0 [pid 5847] close(3 [pid 5849] <... restart_syscall resumed>) = 0 [pid 5847] <... close resumed>) = 0 [pid 5847] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5849] umount2("./7", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) ./strace-static-x86_64: Process 5891 attached [pid 5849] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5891] set_robust_list(0x55557569a660, 24 [pid 5849] newfstatat(3, "", [pid 5891] <... set_robust_list resumed>) = 0 [pid 5849] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5847] <... clone resumed>, child_tidptr=0x55557569a650) = 5891 [pid 5891] chdir("./8" [pid 5849] getdents64(3, [pid 5891] <... chdir resumed>) = 0 [pid 5849] <... getdents64 resumed>0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5849] umount2("./7/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5891] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5849] <... umount2 resumed>) = 0 [pid 5891] <... prctl resumed>) = 0 [pid 5891] setpgid(0, 0 [pid 5849] umount2("./7/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5891] <... setpgid resumed>) = 0 [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5891] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5886] <... ioctl resumed>) = 0 [pid 5849] newfstatat(AT_FDCWD, "./7/file2", [pid 5845] <... openat resumed>) = 3 [pid 5886] exit_group(0 [pid 5849] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] ioctl(3, LOOP_CLR_FD) = 0 [pid 5891] <... openat resumed>) = 3 [pid 5886] <... exit_group resumed>) = ? [pid 5849] umount2("./7/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] close(3) = 0 [pid 5886] +++ exited with 0 +++ [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5891] write(3, "1000", 4 [pid 5849] openat(AT_FDCWD, "./7/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5845] <... clone resumed>, child_tidptr=0x55557569a650) = 5892 ./strace-static-x86_64: Process 5892 attached [pid 5891] <... write resumed>) = 4 [pid 5849] <... openat resumed>) = 4 [pid 5892] set_robust_list(0x55557569a660, 24 [pid 5891] close(3 [pid 5849] newfstatat(4, "", [pid 5846] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5886, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5892] <... set_robust_list resumed>) = 0 [pid 5891] <... close resumed>) = 0 [pid 5846] restart_syscall(<... resuming interrupted clone ...> [pid 5891] symlink("/dev/binderfs", "./binderfs" [pid 5849] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5846] <... restart_syscall resumed>) = 0 [pid 5892] chdir("./6" [pid 5891] <... symlink resumed>) = 0 [pid 5849] getdents64(4, [pid 5892] <... chdir resumed>) = 0 [pid 5891] write(1, "executing program\n", 18 executing program [pid 5849] <... getdents64 resumed>0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5846] umount2("./7", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5892] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5846] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5892] <... prctl resumed>) = 0 [pid 5891] <... write resumed>) = 18 [pid 5846] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5892] setpgid(0, 0 [pid 5849] getdents64(4, 0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5846] <... openat resumed>) = 3 [pid 5849] close(4) = 0 [pid 5849] rmdir("./7/file2") = 0 [pid 5849] umount2("./7/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5892] <... setpgid resumed>) = 0 [pid 5891] memfd_create("syzkaller", 0 [pid 5846] newfstatat(3, "", [pid 5892] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5849] newfstatat(AT_FDCWD, "./7/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5892] <... openat resumed>) = 3 [pid 5891] <... memfd_create resumed>) = 3 [pid 5849] unlink("./7/binderfs" [pid 5846] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5892] write(3, "1000", 4 [pid 5891] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5849] <... unlink resumed>) = 0 [pid 5892] <... write resumed>) = 4 [pid 5891] <... mmap resumed>) = 0x7f5166800000 [pid 5849] getdents64(3, [pid 5892] close(3 [pid 5849] <... getdents64 resumed>0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5846] getdents64(3, [pid 5892] <... close resumed>) = 0 [pid 5846] <... getdents64 resumed>0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5846] umount2("./7/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5892] symlink("/dev/binderfs", "./binderfs" [pid 5849] close(3executing program [pid 5892] <... symlink resumed>) = 0 [pid 5849] <... close resumed>) = 0 [pid 5849] rmdir("./7") = 0 [pid 5892] write(1, "executing program\n", 18) = 18 [pid 5892] memfd_create("syzkaller", 0 [pid 5891] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5849] mkdir("./8", 0777 [pid 5892] <... memfd_create resumed>) = 3 [pid 5849] <... mkdir resumed>) = 0 [pid 5892] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5846] <... umount2 resumed>) = 0 [pid 5892] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5891] <... write resumed>) = 524288 [pid 5849] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5846] umount2("./7/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5891] munmap(0x7f5166800000, 138412032 [pid 5846] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5849] <... openat resumed>) = 3 [pid 5846] newfstatat(AT_FDCWD, "./7/file2", [pid 5849] ioctl(3, LOOP_CLR_FD) = 0 [pid 5846] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5849] close(3 [pid 5846] umount2("./7/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5891] <... munmap resumed>) = 0 [pid 5846] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5846] openat(AT_FDCWD, "./7/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5846] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5846] getdents64(4, 0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5846] getdents64(4, 0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5846] close(4 [pid 5891] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5846] <... close resumed>) = 0 [pid 5892] <... write resumed>) = 524288 [pid 5891] <... openat resumed>) = 4 [pid 5846] rmdir("./7/file2" [pid 5892] munmap(0x7f5166800000, 138412032 [pid 5891] ioctl(4, LOOP_SET_FD, 3 [pid 5849] <... close resumed>) = 0 [pid 5846] <... rmdir resumed>) = 0 [pid 5892] <... munmap resumed>) = 0 [pid 5891] <... ioctl resumed>) = 0 [pid 5849] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5846] umount2("./7/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 5893 attached [pid 5892] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5891] close(3 [pid 5846] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5893] set_robust_list(0x55557569a660, 24 [pid 5892] <... openat resumed>) = 4 [pid 5891] <... close resumed>) = 0 [pid 5849] <... clone resumed>, child_tidptr=0x55557569a650) = 5893 [pid 5846] newfstatat(AT_FDCWD, "./7/binderfs", [pid 5893] <... set_robust_list resumed>) = 0 [pid 5892] ioctl(4, LOOP_SET_FD, 3 [pid 5893] chdir("./8" [pid 5891] close(4 [pid 5846] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5893] <... chdir resumed>) = 0 [pid 5891] <... close resumed>) = 0 [pid 5846] unlink("./7/binderfs" [pid 5893] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5892] <... ioctl resumed>) = 0 [pid 5846] <... unlink resumed>) = 0 [pid 5892] close(3 [pid 5891] mkdir("./file2", 0777 [pid 5892] <... close resumed>) = 0 [pid 5892] close(4 [pid 5891] <... mkdir resumed>) = 0 [pid 5846] getdents64(3, [pid 5892] <... close resumed>) = 0 [pid 5892] mkdir("./file2", 0777 [pid 5846] <... getdents64 resumed>0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5846] close(3) = 0 [pid 5846] rmdir("./7" [pid 5892] <... mkdir resumed>) = 0 [pid 5846] <... rmdir resumed>) = 0 [pid 5891] mount("/dev/loop2", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5893] <... prctl resumed>) = 0 [pid 5893] setpgid(0, 0) = 0 [pid 5846] mkdir("./8", 0777 [pid 5893] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5892] mount("/dev/loop0", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5846] <... mkdir resumed>) = 0 executing program [pid 5893] <... openat resumed>) = 3 [pid 5893] write(3, "1000", 4) = 4 [pid 5893] close(3 [pid 5846] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5893] <... close resumed>) = 0 [pid 5846] <... openat resumed>) = 3 [pid 5893] symlink("/dev/binderfs", "./binderfs" [pid 5846] ioctl(3, LOOP_CLR_FD [pid 5893] <... symlink resumed>) = 0 [pid 5846] <... ioctl resumed>) = 0 [pid 5846] close(3 [pid 5893] write(1, "executing program\n", 18) = 18 [pid 5891] <... mount resumed>) = 0 [pid 5893] memfd_create("syzkaller", 0 [pid 5891] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5893] <... memfd_create resumed>) = 3 [pid 5892] <... mount resumed>) = 0 [pid 5846] <... close resumed>) = 0 [pid 5846] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5891] <... openat resumed>) = 3 [pid 5893] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5891] chdir("./file2") = 0 [pid 5893] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5892] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5891] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5891] memfd_create("syzkaller", 0./strace-static-x86_64: Process 5894 attached [pid 5892] <... openat resumed>) = 3 [pid 5891] <... memfd_create resumed>) = 4 [pid 5891] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5892] chdir("./file2" [pid 5891] <... mmap resumed>) = 0x7f5166800000 [pid 5894] set_robust_list(0x55557569a660, 24 [pid 5892] <... chdir resumed>) = 0 [pid 5846] <... clone resumed>, child_tidptr=0x55557569a650) = 5894 [pid 5894] <... set_robust_list resumed>) = 0 [pid 5892] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5894] chdir("./8" [pid 5892] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5894] <... chdir resumed>) = 0 [ 67.553979][ T5891] loop2: detected capacity change from 0 to 1024 [ 67.567169][ T5892] loop0: detected capacity change from 0 to 1024 [pid 5894] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5892] memfd_create("syzkaller", 0 [pid 5891] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5894] <... prctl resumed>) = 0 [pid 5894] setpgid(0, 0 [pid 5892] <... memfd_create resumed>) = 4 [pid 5894] <... setpgid resumed>) = 0 [pid 5894] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5892] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5894] <... openat resumed>) = 3 [pid 5892] <... mmap resumed>) = 0x7f5166800000 [pid 5894] write(3, "1000", 4) = 4 [pid 5892] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5894] close(3 [pid 5893] <... write resumed>) = 524288 [pid 5894] <... close resumed>) = 0 [pid 5892] <... write resumed>) = 524288 [pid 5891] <... write resumed>) = 524288 [pid 5894] symlink("/dev/binderfs", "./binderfs" [pid 5892] munmap(0x7f5166800000, 138412032 [pid 5893] munmap(0x7f5166800000, 138412032 [pid 5894] <... symlink resumed>) = 0 [pid 5893] <... munmap resumed>) = 0 [pid 5892] <... munmap resumed>) = 0 [pid 5891] munmap(0x7f5166800000, 138412032executing program [pid 5894] write(1, "executing program\n", 18 [pid 5892] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5894] <... write resumed>) = 18 [pid 5892] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5894] memfd_create("syzkaller", 0 [pid 5893] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5892] close(4 [pid 5891] <... munmap resumed>) = 0 [pid 5894] <... memfd_create resumed>) = 3 [pid 5893] <... openat resumed>) = 4 [pid 5893] ioctl(4, LOOP_SET_FD, 3 [pid 5894] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5892] <... close resumed>) = 0 [pid 5891] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5894] <... mmap resumed>) = 0x7f5166800000 [pid 5894] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5892] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5891] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5893] <... ioctl resumed>) = 0 [pid 5892] <... openat resumed>) = 4 [pid 5891] close(4 [pid 5893] close(3 [pid 5892] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5891] <... close resumed>) = 0 [pid 5894] <... write resumed>) = 524288 [pid 5893] <... close resumed>) = 0 [pid 5892] <... openat resumed>) = 5 [pid 5891] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5892] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}} [pid 5891] <... openat resumed>) = 4 [pid 5892] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5891] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5894] munmap(0x7f5166800000, 138412032 [pid 5893] close(4 [pid 5892] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5894] <... munmap resumed>) = 0 [pid 5893] <... close resumed>) = 0 [pid 5891] <... openat resumed>) = 5 [pid 5894] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5893] mkdir("./file2", 0777 [pid 5894] <... openat resumed>) = 4 [pid 5893] <... mkdir resumed>) = 0 [pid 5891] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}} [pid 5894] ioctl(4, LOOP_SET_FD, 3 [pid 5893] mount("/dev/loop4", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5891] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5894] <... ioctl resumed>) = 0 [pid 5893] <... mount resumed>) = 0 [pid 5891] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5894] close(3 [pid 5893] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5894] <... close resumed>) = 0 [pid 5894] close(4 [pid 5893] <... openat resumed>) = 3 [pid 5894] <... close resumed>) = 0 [pid 5894] mkdir("./file2", 0777) = 0 [pid 5894] mount("/dev/loop1", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5893] chdir("./file2") = 0 [ 67.635199][ T5893] loop4: detected capacity change from 0 to 1024 [ 67.671932][ T5894] loop1: detected capacity change from 0 to 1024 [pid 5893] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5894] <... mount resumed>) = 0 [pid 5893] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5893] memfd_create("syzkaller", 0) = 4 [pid 5894] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5893] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5894] <... openat resumed>) = 3 [pid 5894] chdir("./file2" [pid 5893] <... mmap resumed>) = 0x7f5166800000 [pid 5894] <... chdir resumed>) = 0 [pid 5894] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5894] memfd_create("syzkaller", 0 [pid 5893] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5894] <... memfd_create resumed>) = 4 [pid 5894] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5893] <... write resumed>) = 524288 [ 67.705723][ T5892] loop0: detected capacity change from 1024 to 3 [pid 5893] munmap(0x7f5166800000, 138412032 [pid 5894] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5891] <... ioctl resumed>) = 0 [pid 5894] <... write resumed>) = 524288 [pid 5893] <... munmap resumed>) = 0 [pid 5891] exit_group(0) = ? [pid 5891] +++ exited with 0 +++ [pid 5894] munmap(0x7f5166800000, 138412032 [pid 5893] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5847] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5891, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5847] restart_syscall(<... resuming interrupted clone ...> [pid 5893] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5894] <... munmap resumed>) = 0 [pid 5847] <... restart_syscall resumed>) = 0 [pid 5892] <... ioctl resumed>) = 0 [pid 5893] close(4) = 0 [pid 5894] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5892] exit_group(0 [pid 5847] umount2("./8", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5894] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5893] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5892] <... exit_group resumed>) = ? [pid 5847] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5894] close(4 [pid 5893] <... openat resumed>) = 4 [pid 5847] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5892] +++ exited with 0 +++ [pid 5847] <... openat resumed>) = 3 [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5892, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5893] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5847] newfstatat(3, "", [pid 5894] <... close resumed>) = 0 [pid 5894] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5847] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5847] getdents64(3, 0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5894] <... openat resumed>) = 4 [pid 5893] <... openat resumed>) = 5 [pid 5894] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5847] umount2("./8/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5893] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}}) = -1 EBUSY (Device or resource busy) [pid 5845] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5893] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5845] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5894] <... openat resumed>) = 5 [pid 5894] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}} [pid 5847] <... umount2 resumed>) = 0 [pid 5845] getdents64(3, [pid 5894] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5847] umount2("./8/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] <... getdents64 resumed>0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5847] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] umount2("./6/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5847] newfstatat(AT_FDCWD, "./8/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5847] umount2("./8/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5847] openat(AT_FDCWD, "./8/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5847] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5847] getdents64(4, 0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5847] getdents64(4, 0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5847] close(4) = 0 [pid 5847] rmdir("./8/file2") = 0 [pid 5894] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5847] umount2("./8/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5847] newfstatat(AT_FDCWD, "./8/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5847] unlink("./8/binderfs") = 0 [pid 5847] getdents64(3, 0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5847] close(3) = 0 [pid 5847] rmdir("./8") = 0 [ 67.746511][ T5892] Dev loop0: unable to read RDB block 3 [ 67.752125][ T5892] loop0: unable to read partition table [ 67.757920][ T5892] loop0: partition table beyond EOD, truncated [ 67.764093][ T5892] loop_reread_partitions: partition scan of loop0 (Rt *3 !6{bO0.Qʝ H"Uqd\'Lz8w1AH) failed (rc=-5) [pid 5847] mkdir("./9", 0777 [pid 5893] <... ioctl resumed>) = 0 [pid 5847] <... mkdir resumed>) = 0 [pid 5893] exit_group(0) = ? [pid 5847] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5893] +++ exited with 0 +++ [pid 5847] <... openat resumed>) = 3 [pid 5847] ioctl(3, LOOP_CLR_FD [pid 5849] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5893, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5847] <... ioctl resumed>) = 0 [pid 5849] restart_syscall(<... resuming interrupted clone ...> [pid 5847] close(3) = 0 [pid 5847] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5895 attached [pid 5895] set_robust_list(0x55557569a660, 24) = 0 [pid 5847] <... clone resumed>, child_tidptr=0x55557569a650) = 5895 [pid 5895] chdir("./9" [pid 5849] <... restart_syscall resumed>) = 0 [pid 5895] <... chdir resumed>) = 0 [pid 5895] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5895] setpgid(0, 0) = 0 [pid 5895] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5849] umount2("./8", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5895] write(3, "1000", 4 [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5849] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5895] <... write resumed>) = 4 [pid 5895] close(3 [pid 5849] <... openat resumed>) = 3 [pid 5895] <... close resumed>) = 0 [pid 5849] newfstatat(3, "", [pid 5895] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5849] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5895] write(1, "executing program\n", 18 executing program [pid 5894] <... ioctl resumed>) = 0 [pid 5849] getdents64(3, [pid 5845] <... umount2 resumed>) = 0 [pid 5895] <... write resumed>) = 18 [pid 5894] exit_group(0 [pid 5849] <... getdents64 resumed>0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5845] umount2("./6/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5895] memfd_create("syzkaller", 0 [pid 5849] umount2("./8/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5895] <... memfd_create resumed>) = 3 [pid 5894] <... exit_group resumed>) = ? [pid 5845] newfstatat(AT_FDCWD, "./6/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] umount2("./6/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5895] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5894] +++ exited with 0 +++ [pid 5849] <... umount2 resumed>) = 0 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5895] <... mmap resumed>) = 0x7f5166800000 [pid 5846] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5894, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5849] umount2("./8/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] openat(AT_FDCWD, "./6/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5849] newfstatat(AT_FDCWD, "./8/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5849] umount2("./8/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5849] openat(AT_FDCWD, "./8/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5849] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5849] getdents64(4, [pid 5895] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5849] <... getdents64 resumed>0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5845] <... openat resumed>) = 4 [pid 5846] umount2("./8", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5846] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5846] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5846] getdents64(3, 0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5895] <... write resumed>) = 524288 [pid 5849] getdents64(4, [pid 5845] newfstatat(4, "", [pid 5895] munmap(0x7f5166800000, 138412032 [pid 5849] <... getdents64 resumed>0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5849] close(4 [pid 5846] umount2("./8/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5895] <... munmap resumed>) = 0 [pid 5849] <... close resumed>) = 0 [pid 5845] getdents64(4, [pid 5895] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5849] rmdir("./8/file2" [pid 5845] <... getdents64 resumed>0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5895] <... openat resumed>) = 4 [pid 5849] <... rmdir resumed>) = 0 [pid 5846] <... umount2 resumed>) = 0 [pid 5845] getdents64(4, [pid 5895] ioctl(4, LOOP_SET_FD, 3 [pid 5849] umount2("./8/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] <... getdents64 resumed>0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5846] umount2("./8/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] close(4 [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5846] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5846] newfstatat(AT_FDCWD, "./8/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5846] umount2("./8/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5846] openat(AT_FDCWD, "./8/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5895] <... ioctl resumed>) = 0 [pid 5849] newfstatat(AT_FDCWD, "./8/binderfs", [pid 5846] <... openat resumed>) = 4 [pid 5845] <... close resumed>) = 0 [pid 5895] close(3) = 0 [pid 5895] close(4 [pid 5849] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5846] newfstatat(4, "", [pid 5845] rmdir("./6/file2" [pid 5895] <... close resumed>) = 0 [pid 5849] unlink("./8/binderfs" [pid 5845] <... rmdir resumed>) = 0 [pid 5846] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5895] mkdir("./file2", 0777 [pid 5849] <... unlink resumed>) = 0 [pid 5849] getdents64(3, [pid 5895] <... mkdir resumed>) = 0 [pid 5849] <... getdents64 resumed>0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5846] getdents64(4, [pid 5845] umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5895] mount("/dev/loop2", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5846] <... getdents64 resumed>0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5849] close(3) = 0 [pid 5846] getdents64(4, [pid 5845] newfstatat(AT_FDCWD, "./6/binderfs", [pid 5849] rmdir("./8") = 0 [pid 5846] <... getdents64 resumed>0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5845] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5846] close(4 [pid 5845] unlink("./6/binderfs" [pid 5846] <... close resumed>) = 0 [pid 5845] <... unlink resumed>) = 0 [pid 5846] rmdir("./8/file2" [pid 5845] getdents64(3, [pid 5849] mkdir("./9", 0777 [pid 5846] <... rmdir resumed>) = 0 [pid 5845] <... getdents64 resumed>0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5849] <... mkdir resumed>) = 0 [pid 5895] <... mount resumed>) = 0 [pid 5849] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5846] umount2("./8/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] close(3 [pid 5895] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5849] <... openat resumed>) = 3 [pid 5846] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] <... close resumed>) = 0 [pid 5895] <... openat resumed>) = 3 [pid 5849] ioctl(3, LOOP_CLR_FD [pid 5846] newfstatat(AT_FDCWD, "./8/binderfs", [pid 5845] rmdir("./6" [pid 5895] chdir("./file2" [pid 5849] <... ioctl resumed>) = 0 [pid 5846] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] <... rmdir resumed>) = 0 [pid 5895] <... chdir resumed>) = 0 [pid 5895] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5895] memfd_create("syzkaller", 0 [pid 5849] close(3 [pid 5846] unlink("./8/binderfs" [pid 5845] mkdir("./7", 0777 [pid 5895] <... memfd_create resumed>) = 4 [pid 5895] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5846] <... unlink resumed>) = 0 [pid 5895] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5846] getdents64(3, [pid 5845] <... mkdir resumed>) = 0 [ 67.910655][ T5895] loop2: detected capacity change from 0 to 1024 [pid 5849] <... close resumed>) = 0 [pid 5846] <... getdents64 resumed>0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5845] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5846] close(3 [pid 5845] <... openat resumed>) = 3 [pid 5846] <... close resumed>) = 0 [pid 5845] ioctl(3, LOOP_CLR_FD [pid 5846] rmdir("./8" [pid 5845] <... ioctl resumed>) = 0 [pid 5846] <... rmdir resumed>) = 0 [pid 5845] close(3) = 0 [pid 5895] <... write resumed>) = 524288 [pid 5849] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5846] mkdir("./9", 0777 [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5896 attached ./strace-static-x86_64: Process 5897 attached [pid 5895] munmap(0x7f5166800000, 138412032 [pid 5849] <... clone resumed>, child_tidptr=0x55557569a650) = 5896 [pid 5846] <... mkdir resumed>) = 0 [pid 5896] set_robust_list(0x55557569a660, 24 [pid 5846] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5845] <... clone resumed>, child_tidptr=0x55557569a650) = 5897 [pid 5896] <... set_robust_list resumed>) = 0 [pid 5846] <... openat resumed>) = 3 [pid 5896] chdir("./9" [pid 5846] ioctl(3, LOOP_CLR_FD [pid 5896] <... chdir resumed>) = 0 [pid 5897] set_robust_list(0x55557569a660, 24 [pid 5846] <... ioctl resumed>) = 0 [pid 5896] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5846] close(3 [pid 5896] <... prctl resumed>) = 0 [pid 5896] setpgid(0, 0) = 0 [pid 5896] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5895] <... munmap resumed>) = 0 [pid 5897] <... set_robust_list resumed>) = 0 [pid 5897] chdir("./7" [pid 5896] <... openat resumed>) = 3 [pid 5897] <... chdir resumed>) = 0 [pid 5896] write(3, "1000", 4executing program [pid 5895] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5846] <... close resumed>) = 0 [pid 5897] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5895] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5896] <... write resumed>) = 4 [pid 5897] setpgid(0, 0) = 0 [pid 5896] close(3) = 0 [pid 5896] symlink("/dev/binderfs", "./binderfs" [pid 5897] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5896] <... symlink resumed>) = 0 [pid 5896] write(1, "executing program\n", 18) = 18 [pid 5896] memfd_create("syzkaller", 0) = 3 [pid 5896] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5895] close(4 [pid 5897] <... openat resumed>) = 3 [pid 5896] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5897] write(3, "1000", 4 [pid 5895] <... close resumed>) = 0 [pid 5846] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5897] <... write resumed>) = 4 [pid 5897] close(3 [pid 5896] <... write resumed>) = 524288 [pid 5897] <... close resumed>) = 0 ./strace-static-x86_64: Process 5898 attached [pid 5897] symlink("/dev/binderfs", "./binderfs" [pid 5896] munmap(0x7f5166800000, 138412032 [pid 5897] <... symlink resumed>) = 0 [pid 5895] openat(AT_FDCWD, "/dev/loop0", O_RDONLYexecuting program [pid 5846] <... clone resumed>, child_tidptr=0x55557569a650) = 5898 [pid 5897] write(1, "executing program\n", 18 [pid 5895] <... openat resumed>) = 4 [pid 5897] <... write resumed>) = 18 [pid 5896] <... munmap resumed>) = 0 [pid 5895] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5898] set_robust_list(0x55557569a660, 24 [pid 5897] memfd_create("syzkaller", 0 [pid 5898] <... set_robust_list resumed>) = 0 [pid 5898] chdir("./9") = 0 [pid 5898] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5897] <... memfd_create resumed>) = 3 [pid 5898] setpgid(0, 0 [pid 5897] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5898] <... setpgid resumed>) = 0 [pid 5898] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5897] <... mmap resumed>) = 0x7f5166800000 [pid 5895] <... openat resumed>) = 5 [pid 5896] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5898] <... openat resumed>) = 3 [pid 5896] ioctl(4, LOOP_SET_FD, 3 [pid 5898] write(3, "1000", 4 [pid 5897] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5895] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}}executing program [pid 5898] <... write resumed>) = 4 [pid 5898] close(3) = 0 [pid 5898] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5895] <... ioctl resumed>) = 0 [pid 5898] write(1, "executing program\n", 18 [pid 5895] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5898] <... write resumed>) = 18 [pid 5898] memfd_create("syzkaller", 0 [pid 5896] <... ioctl resumed>) = 0 [pid 5898] <... memfd_create resumed>) = 3 [pid 5898] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5897] <... write resumed>) = 524288 [pid 5896] close(3) = 0 [pid 5896] close(4) = 0 [pid 5896] mkdir("./file2", 0777) = 0 [pid 5896] mount("/dev/loop4", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5898] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5897] munmap(0x7f5166800000, 138412032) = 0 [pid 5897] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5898] <... write resumed>) = 524288 [pid 5896] <... mount resumed>) = 0 [pid 5896] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5898] munmap(0x7f5166800000, 138412032 [pid 5897] <... openat resumed>) = 4 [pid 5895] <... ioctl resumed>) = 0 [pid 5896] <... openat resumed>) = 3 [pid 5898] <... munmap resumed>) = 0 [pid 5897] ioctl(4, LOOP_SET_FD, 3 [pid 5895] exit_group(0 [pid 5897] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5896] chdir("./file2" [pid 5898] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5897] ioctl(4, LOOP_CLR_FD [pid 5896] <... chdir resumed>) = 0 [pid 5895] <... exit_group resumed>) = ? [pid 5898] <... openat resumed>) = 4 [pid 5897] <... ioctl resumed>) = 0 [ 68.029274][ T5896] loop4: detected capacity change from 0 to 1024 [pid 5896] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5898] ioctl(4, LOOP_SET_FD, 3 [pid 5896] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5895] +++ exited with 0 +++ [pid 5896] memfd_create("syzkaller", 0) = 4 [pid 5896] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5898] <... ioctl resumed>) = 0 [pid 5897] ioctl(4, LOOP_SET_FD, 3 [pid 5896] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5898] close(3 [pid 5897] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5897] close(4 [pid 5847] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5895, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=1 /* 0.01 s */} --- [pid 5898] <... close resumed>) = 0 [pid 5847] restart_syscall(<... resuming interrupted clone ...> [pid 5898] close(4) = 0 [pid 5847] <... restart_syscall resumed>) = 0 [pid 5897] <... close resumed>) = 0 [pid 5898] mkdir("./file2", 0777) = 0 [pid 5898] mount("/dev/loop1", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5897] close(3) = 0 [pid 5847] umount2("./9", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5897] memfd_create("syzkaller", 0 [pid 5847] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5897] <... memfd_create resumed>) = 3 [pid 5847] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5897] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5847] <... openat resumed>) = 3 [pid 5898] <... mount resumed>) = 0 [pid 5847] newfstatat(3, "", [pid 5898] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 5898] chdir("./file2" [pid 5847] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5898] <... chdir resumed>) = 0 [pid 5898] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5898] memfd_create("syzkaller", 0) = 4 [pid 5898] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5898] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5897] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5847] getdents64(3, [pid 5896] <... write resumed>) = 524288 [pid 5847] <... getdents64 resumed>0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5896] munmap(0x7f5166800000, 138412032) = 0 [pid 5896] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5896] close(4) = 0 [pid 5898] <... write resumed>) = 524288 [pid 5897] <... write resumed>) = 524288 [pid 5896] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5847] umount2("./9/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5897] munmap(0x7f5166800000, 138412032 [pid 5896] <... openat resumed>) = 4 [pid 5897] <... munmap resumed>) = 0 [pid 5896] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5897] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5898] munmap(0x7f5166800000, 138412032 [pid 5897] <... openat resumed>) = 4 [pid 5897] ioctl(4, LOOP_SET_FD, 3 [pid 5847] <... umount2 resumed>) = 0 [ 68.080892][ T5898] loop1: detected capacity change from 0 to 1024 [pid 5896] <... openat resumed>) = 5 [pid 5898] <... munmap resumed>) = 0 [pid 5897] <... ioctl resumed>) = 0 [pid 5847] umount2("./9/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5898] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5897] close(3 [pid 5896] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}} [pid 5847] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5897] <... close resumed>) = 0 [pid 5898] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5897] close(4 [pid 5847] newfstatat(AT_FDCWD, "./9/file2", [pid 5898] close(4 [pid 5897] <... close resumed>) = 0 [pid 5896] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5896] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5898] <... close resumed>) = 0 [pid 5898] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5897] mkdir("./file1", 0777 [pid 5847] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5897] <... mkdir resumed>) = 0 [pid 5847] umount2("./9/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5897] mount("/dev/loop0", "./file1", "ext4", MS_RELATIME, ",errors=continue" [pid 5847] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5847] openat(AT_FDCWD, "./9/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5847] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5847] getdents64(4, 0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5847] getdents64(4, 0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5847] close(4) = 0 [ 68.136310][ T5897] loop0: detected capacity change from 0 to 1024 [ 68.175591][ T5896] loop0: detected capacity change from 1024 to 3 [pid 5847] rmdir("./9/file2") = 0 [pid 5898] <... openat resumed>) = 4 [pid 5847] umount2("./9/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5898] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5847] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5847] newfstatat(AT_FDCWD, "./9/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5847] unlink("./9/binderfs") = 0 [pid 5898] <... openat resumed>) = 5 [pid 5847] getdents64(3, 0x55557569b6f0 /* 0 entries */, 32768) = 0 [ 68.182545][ T5220] Dev loop0: unable to read RDB block 3 [ 68.188355][ T5220] loop0: unable to read partition table [ 68.194065][ T5220] loop0: partition table beyond EOD, truncated [ 68.201107][ T5897] EXT4-fs (loop0): unable to read superblock [ 68.208075][ T5896] Dev loop0: unable to read RDB block 3 [ 68.214947][ T5896] loop0: unable to read partition table [ 68.220841][ T5896] loop0: partition table beyond EOD, truncated [pid 5898] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}} [pid 5847] close(3 [pid 5898] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5897] <... mount resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 5898] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5897] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5847] <... close resumed>) = 0 [pid 5897] <... openat resumed>) = 3 [pid 5847] rmdir("./9" [pid 5897] ioctl(3, LOOP_CLR_FD [pid 5847] <... rmdir resumed>) = 0 [pid 5847] mkdir("./10", 0777 [pid 5896] <... ioctl resumed>) = 0 [pid 5896] exit_group(0 [pid 5847] <... mkdir resumed>) = 0 [pid 5896] <... exit_group resumed>) = ? [pid 5847] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5847] ioctl(3, LOOP_CLR_FD [pid 5896] +++ exited with 0 +++ [pid 5849] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5896, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5849] umount2("./9", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5849] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5849] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5849] getdents64(3, 0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5849] umount2("./9/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5849] umount2("./9/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5849] newfstatat(AT_FDCWD, "./9/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5849] umount2("./9/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5849] openat(AT_FDCWD, "./9/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5849] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5849] getdents64(4, 0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5849] getdents64(4, 0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5849] close(4) = 0 [pid 5849] rmdir("./9/file2") = 0 [pid 5849] umount2("./9/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5849] newfstatat(AT_FDCWD, "./9/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5849] unlink("./9/binderfs") = 0 [pid 5849] getdents64(3, 0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5849] close(3) = 0 [pid 5849] rmdir("./9") = 0 [pid 5849] mkdir("./10", 0777) = 0 [pid 5898] <... ioctl resumed>) = 0 [pid 5849] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5898] exit_group(0 [pid 5897] <... ioctl resumed>) = 0 [pid 5847] <... ioctl resumed>) = 0 [pid 5897] close(3 [pid 5849] <... openat resumed>) = 3 [ 68.227747][ T5896] loop_reread_partitions: partition scan of loop0 (Rt *3 !6{bO0.Qʝ H"Uqd\'Lz8w1AH) failed (rc=-5) [pid 5847] close(3 [pid 5898] <... exit_group resumed>) = ? [pid 5897] <... close resumed>) = 0 [pid 5897] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5849] ioctl(3, LOOP_CLR_FD [pid 5847] <... close resumed>) = 0 [pid 5849] <... ioctl resumed>) = 0 [pid 5847] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5849] close(3./strace-static-x86_64: Process 5899 attached ) = 0 [pid 5847] <... clone resumed>, child_tidptr=0x55557569a650) = 5899 [pid 5849] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5899] set_robust_list(0x55557569a660, 24) = 0 ./strace-static-x86_64: Process 5900 attached [pid 5899] chdir("./10" [pid 5849] <... clone resumed>, child_tidptr=0x55557569a650) = 5900 [pid 5899] <... chdir resumed>) = 0 [pid 5899] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5899] setpgid(0, 0) = 0 [pid 5899] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5900] set_robust_list(0x55557569a660, 24 [pid 5898] +++ exited with 0 +++ [pid 5897] <... openat resumed>) = 3 [pid 5900] <... set_robust_list resumed>) = 0 [pid 5899] write(3, "1000", 4 [pid 5897] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5846] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5898, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5900] chdir("./10" [pid 5899] <... write resumed>) = 4 [pid 5897] <... openat resumed>) = 4 [pid 5900] <... chdir resumed>) = 0 [pid 5899] close(3 [pid 5897] ioctl(3, LOOP_CONFIGURE, {fd=4, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}} [pid 5900] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5899] <... close resumed>) = 0 [pid 5897] <... ioctl resumed>) = 0 [pid 5846] umount2("./9", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5900] <... prctl resumed>) = 0 [pid 5899] symlink("/dev/binderfs", "./binderfs" [pid 5846] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5900] setpgid(0, 0 [pid 5899] <... symlink resumed>) = 0 [pid 5897] ioctl(3, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...}executing program [pid 5846] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5900] <... setpgid resumed>) = 0 [pid 5900] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5846] <... openat resumed>) = 3 [pid 5846] newfstatat(3, "", [pid 5899] write(1, "executing program\n", 18 [pid 5846] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5900] <... openat resumed>) = 3 [pid 5899] <... write resumed>) = 18 [pid 5846] getdents64(3, [pid 5899] memfd_create("syzkaller", 0 [pid 5846] <... getdents64 resumed>0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5900] write(3, "1000", 4 [pid 5846] umount2("./9/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5900] <... write resumed>) = 4 [pid 5899] <... memfd_create resumed>) = 3 [pid 5900] close(3 [pid 5899] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5900] <... close resumed>) = 0 [pid 5900] symlink("/dev/binderfs", "./binderfs" [pid 5899] <... mmap resumed>) = 0x7f5166800000 [pid 5900] <... symlink resumed>) = 0 executing program [pid 5900] write(1, "executing program\n", 18) = 18 [pid 5900] memfd_create("syzkaller", 0) = 3 [pid 5900] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5900] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5899] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5846] <... umount2 resumed>) = 0 [pid 5899] <... write resumed>) = 524288 [pid 5846] umount2("./9/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5899] munmap(0x7f5166800000, 138412032 [pid 5846] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5899] <... munmap resumed>) = 0 [ 68.279568][ T5220] Dev loop0: unable to read RDB block 3 [ 68.285811][ T5220] loop0: unable to read partition table [ 68.291852][ T5220] loop0: partition table beyond EOD, truncated [pid 5846] newfstatat(AT_FDCWD, "./9/file2", [pid 5900] <... write resumed>) = 524288 [pid 5899] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5846] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5899] <... openat resumed>) = 4 [pid 5846] umount2("./9/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5899] ioctl(4, LOOP_SET_FD, 3 [pid 5846] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5900] munmap(0x7f5166800000, 138412032) = 0 [pid 5900] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5899] <... ioctl resumed>) = 0 [pid 5897] <... ioctl resumed>) = 0 [pid 5846] openat(AT_FDCWD, "./9/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5899] close(3 [pid 5897] exit_group(0 [pid 5899] <... close resumed>) = 0 [pid 5846] <... openat resumed>) = 4 [pid 5899] close(4 [pid 5900] <... openat resumed>) = 4 [pid 5899] <... close resumed>) = 0 [pid 5846] newfstatat(4, "", [pid 5900] ioctl(4, LOOP_SET_FD, 3 [pid 5899] mkdir("./file2", 0777 [pid 5897] <... exit_group resumed>) = ? [pid 5846] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5899] <... mkdir resumed>) = 0 [pid 5897] +++ exited with 0 +++ [pid 5846] getdents64(4, [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5897, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5845] restart_syscall(<... resuming interrupted clone ...> [pid 5900] <... ioctl resumed>) = 0 [pid 5899] mount("/dev/loop2", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5846] <... getdents64 resumed>0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5845] <... restart_syscall resumed>) = 0 [pid 5846] getdents64(4, [pid 5845] umount2("./7", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5845] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5846] <... getdents64 resumed>0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5846] close(4 [pid 5845] getdents64(3, [pid 5900] close(3 [pid 5846] <... close resumed>) = 0 [pid 5845] <... getdents64 resumed>0x55557569b6f0 /* 5 entries */, 32768) = 144 [pid 5846] rmdir("./9/file2" [pid 5900] <... close resumed>) = 0 [pid 5845] umount2("./7/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5900] close(4 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5900] <... close resumed>) = 0 [pid 5845] newfstatat(AT_FDCWD, "./7/binderfs", [pid 5900] mkdir("./file2", 0777 [pid 5845] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5900] <... mkdir resumed>) = 0 [pid 5846] <... rmdir resumed>) = 0 [pid 5845] unlink("./7/binderfs" [pid 5846] umount2("./9/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5900] mount("/dev/loop4", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5846] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] <... unlink resumed>) = 0 [pid 5846] newfstatat(AT_FDCWD, "./9/binderfs", [pid 5845] umount2("./7/cgroup.stat", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5846] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5846] unlink("./9/binderfs" [pid 5845] newfstatat(AT_FDCWD, "./7/cgroup.stat", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5846] <... unlink resumed>) = 0 [pid 5845] unlink("./7/cgroup.stat") = 0 [pid 5846] getdents64(3, [pid 5845] umount2("./7/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5846] <... getdents64 resumed>0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5846] close(3 [pid 5845] newfstatat(AT_FDCWD, "./7/file1", [pid 5846] <... close resumed>) = 0 [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] umount2("./7/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5899] <... mount resumed>) = 0 [pid 5846] rmdir("./9" [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5899] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5845] openat(AT_FDCWD, "./7/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5846] <... rmdir resumed>) = 0 [pid 5899] <... openat resumed>) = 3 [pid 5846] mkdir("./10", 0777 [pid 5845] <... openat resumed>) = 4 [pid 5899] chdir("./file2" [pid 5845] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] getdents64(4, 0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5846] <... mkdir resumed>) = 0 [pid 5899] <... chdir resumed>) = 0 [pid 5845] getdents64(4, [pid 5899] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5845] <... getdents64 resumed>0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5845] close(4 [pid 5899] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5846] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5845] <... close resumed>) = 0 [pid 5899] memfd_create("syzkaller", 0 [pid 5845] rmdir("./7/file1" [pid 5846] <... openat resumed>) = 3 [pid 5845] <... rmdir resumed>) = 0 [pid 5845] getdents64(3, 0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5845] close(3) = 0 [pid 5899] <... memfd_create resumed>) = 4 [pid 5846] ioctl(3, LOOP_CLR_FD [pid 5845] rmdir("./7" [pid 5899] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5846] <... ioctl resumed>) = 0 [pid 5845] <... rmdir resumed>) = 0 [ 68.347313][ T5899] loop2: detected capacity change from 0 to 1024 [ 68.361870][ T5900] loop4: detected capacity change from 0 to 1024 [pid 5845] mkdir("./8", 0777) = 0 [pid 5900] <... mount resumed>) = 0 [pid 5899] <... mmap resumed>) = 0x7f5166800000 [pid 5846] close(3 [pid 5845] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5900] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5845] <... openat resumed>) = 3 [pid 5845] ioctl(3, LOOP_CLR_FD) = 0 [pid 5845] close(3) = 0 [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5900] <... openat resumed>) = 3 [pid 5899] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5846] <... close resumed>) = 0 ./strace-static-x86_64: Process 5901 attached [pid 5900] chdir("./file2" [pid 5901] set_robust_list(0x55557569a660, 24) = 0 [pid 5901] chdir("./8" [pid 5900] <... chdir resumed>) = 0 [pid 5899] <... write resumed>) = 524288 [pid 5846] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5899] munmap(0x7f5166800000, 138412032) = 0 [pid 5899] openat(AT_FDCWD, "/dev/loop2", O_RDWR./strace-static-x86_64: Process 5902 attached [pid 5901] <... chdir resumed>) = 0 [pid 5900] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5899] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5845] <... clone resumed>, child_tidptr=0x55557569a650) = 5901 [pid 5899] close(4 [pid 5900] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5846] <... clone resumed>, child_tidptr=0x55557569a650) = 5902 [pid 5902] set_robust_list(0x55557569a660, 24 [pid 5900] memfd_create("syzkaller", 0 [pid 5899] <... close resumed>) = 0 [pid 5900] <... memfd_create resumed>) = 4 [pid 5902] <... set_robust_list resumed>) = 0 [pid 5900] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5901] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5902] chdir("./10" [pid 5901] <... prctl resumed>) = 0 [pid 5900] <... mmap resumed>) = 0x7f5166800000 [pid 5899] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5901] setpgid(0, 0 [pid 5899] <... openat resumed>) = 4 [pid 5901] <... setpgid resumed>) = 0 [pid 5901] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5899] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5901] <... openat resumed>) = 3 [pid 5901] write(3, "1000", 4) = 4 [pid 5901] close(3) = 0 [pid 5902] <... chdir resumed>) = 0 [pid 5901] symlink("/dev/binderfs", "./binderfs" [pid 5900] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5899] <... openat resumed>) = 5 [pid 5902] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5901] <... symlink resumed>) = 0 [pid 5902] <... prctl resumed>) = 0 [pid 5902] setpgid(0, 0) = 0 executing program [pid 5902] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5901] write(1, "executing program\n", 18 [pid 5900] <... write resumed>) = 524288 [pid 5899] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}} [pid 5901] <... write resumed>) = 18 [pid 5900] munmap(0x7f5166800000, 138412032 [pid 5902] <... openat resumed>) = 3 [pid 5900] <... munmap resumed>) = 0 [pid 5899] <... ioctl resumed>) = 0 [pid 5902] write(3, "1000", 4) = 4 [pid 5899] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5902] close(3 [pid 5900] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5902] <... close resumed>) = 0 [pid 5902] symlink("/dev/binderfs", "./binderfs" [pid 5900] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5902] <... symlink resumed>) = 0 [pid 5901] memfd_create("syzkaller", 0 [pid 5900] close(4 [pid 5902] write(1, "executing program\n", 18 [pid 5901] <... memfd_create resumed>) = 3 executing program [pid 5900] <... close resumed>) = 0 [pid 5902] <... write resumed>) = 18 [pid 5901] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5900] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5902] memfd_create("syzkaller", 0 [pid 5901] <... mmap resumed>) = 0x7f5166800000 [pid 5902] <... memfd_create resumed>) = 3 [pid 5902] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5901] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5902] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5901] <... write resumed>) = 524288 [pid 5901] munmap(0x7f5166800000, 138412032) = 0 [pid 5901] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5902] <... write resumed>) = 524288 [pid 5902] munmap(0x7f5166800000, 138412032 [pid 5899] <... ioctl resumed>) = 0 [pid 5902] <... munmap resumed>) = 0 [pid 5899] exit_group(0 [pid 5902] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5900] <... openat resumed>) = 4 [pid 5902] <... openat resumed>) = 4 [pid 5901] <... openat resumed>) = 4 [pid 5900] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5899] <... exit_group resumed>) = ? [pid 5901] ioctl(4, LOOP_SET_FD, 3 [pid 5899] +++ exited with 0 +++ [pid 5901] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5847] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5899, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5901] ioctl(4, LOOP_CLR_FD) = 0 [pid 5847] restart_syscall(<... resuming interrupted clone ...> [pid 5902] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5900] <... openat resumed>) = 5 [pid 5847] <... restart_syscall resumed>) = 0 [pid 5901] ioctl(4, LOOP_SET_FD, 3 [pid 5902] close(3 [pid 5900] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}} [pid 5902] <... close resumed>) = 0 [pid 5900] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5902] close(4 [pid 5901] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5900] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5902] <... close resumed>) = 0 [pid 5901] close(4 [pid 5902] mkdir("./file2", 0777 [pid 5901] <... close resumed>) = 0 [pid 5847] umount2("./10", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5901] close(3) = 0 [pid 5901] memfd_create("syzkaller", 0 [pid 5902] <... mkdir resumed>) = 0 [pid 5847] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5902] mount("/dev/loop1", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5901] <... memfd_create resumed>) = 3 [pid 5847] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5901] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5847] <... openat resumed>) = 3 [pid 5847] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5847] getdents64(3, 0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5847] umount2("./10/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5901] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5902] <... mount resumed>) = 0 [pid 5847] <... umount2 resumed>) = -1 EBUSY (Device or resource busy) [pid 5902] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5847] newfstatat(AT_FDCWD, "./10/file2", {st_mode=S_IFDIR|0766, st_size=10, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5847] umount2("./10/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5902] <... openat resumed>) = 3 [pid 5847] <... umount2 resumed>) = -1 EBUSY (Device or resource busy) [pid 5902] chdir("./file2" [pid 5847] openat(AT_FDCWD, "./10/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5902] <... chdir resumed>) = 0 [pid 5847] <... openat resumed>) = 4 [pid 5902] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5902] memfd_create("syzkaller", 0) = 4 [pid 5901] <... write resumed>) = 524288 [pid 5847] newfstatat(4, "", [pid 5902] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5847] <... newfstatat resumed>{st_mode=S_IFDIR|0766, st_size=10, ...}, AT_EMPTY_PATH) = 0 [pid 5901] munmap(0x7f5166800000, 138412032 [pid 5902] <... mmap resumed>) = 0x7f5166800000 [pid 5847] getdents64(4, [pid 5901] <... munmap resumed>) = 0 [ 68.521347][ T5902] loop1: detected capacity change from 0 to 1024 [pid 5901] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5902] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5901] <... openat resumed>) = 4 [pid 5900] <... ioctl resumed>) = 0 [pid 5847] <... getdents64 resumed>0x5555756a3730 /* 4 entries */, 32768) = 112 [pid 5902] <... write resumed>) = 524288 [pid 5900] exit_group(0) = ? [pid 5900] +++ exited with 0 +++ [pid 5901] ioctl(4, LOOP_SET_FD, 3 [pid 5847] umount2("./10/file2/cgroup.stat", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5901] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5901] ioctl(4, LOOP_CLR_FD [pid 5847] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5901] <... ioctl resumed>) = 0 [pid 5847] newfstatat(AT_FDCWD, "./10/file2/cgroup.stat", [pid 5849] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5900, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 5847] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5849] restart_syscall(<... resuming interrupted clone ...> [pid 5847] unlink("./10/file2/cgroup.stat") = 0 [pid 5847] umount2("./10/file2/file.c??d", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 ENOENT (No such file or directory) [pid 5847] newfstatat(AT_FDCWD, "./10/file2/file.c??d", [pid 5901] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5847] <... newfstatat resumed>0x7ffc20ab0670, AT_SYMLINK_NOFOLLOW) = -1 ENOENT (No such file or directory) [pid 5901] close(4 [pid 5847] exit_group(1 [pid 5901] <... close resumed>) = 0 [pid 5847] <... exit_group resumed>) = ? [pid 5902] munmap(0x7f5166800000, 138412032) = 0 [pid 5901] close(3 [pid 5847] +++ exited with 1 +++ [pid 5844] <... restart_syscall resumed>) = ? ERESTART_RESTARTBLOCK (Interrupted by signal) [pid 5844] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5847, si_uid=0, si_status=1, si_utime=0, si_stime=17 /* 0.17 s */} --- [pid 5844] restart_syscall(<... resuming interrupted restart_syscall ...> [pid 5902] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5902] close(4) = 0 [pid 5901] <... close resumed>) = 0 [pid 5849] <... restart_syscall resumed>) = 0 [pid 5902] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5901] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5902] <... openat resumed>) = 4 [pid 5901] <... openat resumed>) = 3 [pid 5902] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5849] umount2("./10", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5901] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5901] <... openat resumed>) = 4 [pid 5902] <... openat resumed>) = 5 [pid 5901] ioctl(3, LOOP_CONFIGURE, {fd=4, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}} [pid 5849] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5901] <... ioctl resumed>) = 0 [pid 5901] ioctl(3, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5902] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}} [pid 5849] <... openat resumed>) = 3 [pid 5849] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5849] getdents64(3, 0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5849] umount2("./10/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5849] umount2("./10/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5849] newfstatat(AT_FDCWD, "./10/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5849] umount2("./10/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5849] openat(AT_FDCWD, "./10/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5849] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5849] getdents64(4, 0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5849] getdents64(4, 0x5555756a3730 /* 0 entries */, 32768) = 0 [ 68.575118][ T5847] hfsplus: walked past end of dir [pid 5849] close(4) = 0 [pid 5849] rmdir("./10/file2") = 0 [pid 5849] umount2("./10/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5849] newfstatat(AT_FDCWD, "./10/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5849] unlink("./10/binderfs") = 0 [pid 5849] getdents64(3, 0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5849] close(3) = 0 [pid 5849] rmdir("./10") = 0 [pid 5849] mkdir("./11", 0777) = 0 [pid 5849] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5849] ioctl(3, LOOP_CLR_FD) = 0 [pid 5849] close(3 [pid 5902] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5901] <... ioctl resumed>) = 0 [pid 5901] exit_group(0 [pid 5902] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5849] <... close resumed>) = 0 [pid 5901] <... exit_group resumed>) = ? [pid 5849] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5901] +++ exited with 0 +++ ./strace-static-x86_64: Process 5903 attached [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5901, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5845] restart_syscall(<... resuming interrupted clone ...> [pid 5903] set_robust_list(0x55557569a660, 24) = 0 [pid 5903] chdir("./11" [pid 5849] <... clone resumed>, child_tidptr=0x55557569a650) = 5903 [pid 5903] <... chdir resumed>) = 0 [pid 5903] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5845] <... restart_syscall resumed>) = 0 [pid 5903] <... prctl resumed>) = 0 [pid 5903] setpgid(0, 0) = 0 [pid 5845] umount2("./8", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5903] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5845] <... openat resumed>) = 3 [pid 5903] <... openat resumed>) = 3 [pid 5845] newfstatat(3, "", [pid 5903] write(3, "1000", 4 [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5903] <... write resumed>) = 4 [pid 5903] close(3) = 0 [pid 5845] getdents64(3, [pid 5903] symlink("/dev/binderfs", "./binderfs" [pid 5845] <... getdents64 resumed>0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5903] <... symlink resumed>) = 0 executing program [pid 5903] write(1, "executing program\n", 18 [pid 5845] umount2("./8/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5903] <... write resumed>) = 18 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./8/binderfs", [pid 5903] memfd_create("syzkaller", 0 [pid 5902] <... ioctl resumed>) = 0 [pid 5845] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5902] exit_group(0 [pid 5903] <... memfd_create resumed>) = 3 [pid 5902] <... exit_group resumed>) = ? [pid 5845] unlink("./8/binderfs" [pid 5903] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5845] <... unlink resumed>) = 0 [pid 5903] <... mmap resumed>) = 0x7f5166800000 [pid 5902] +++ exited with 0 +++ [pid 5845] umount2("./8/cgroup.stat", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5846] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5902, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5846] restart_syscall(<... resuming interrupted clone ...> [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./8/cgroup.stat", [pid 5903] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5846] <... restart_syscall resumed>) = 0 [pid 5845] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] unlink("./8/cgroup.stat") = 0 [pid 5845] getdents64(3, [pid 5903] <... write resumed>) = 524288 [pid 5903] munmap(0x7f5166800000, 138412032 [pid 5845] <... getdents64 resumed>0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5903] <... munmap resumed>) = 0 [pid 5846] umount2("./10", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5903] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5846] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] close(3 [pid 5846] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5903] <... openat resumed>) = 4 [pid 5846] <... openat resumed>) = 3 [pid 5845] <... close resumed>) = 0 [pid 5903] ioctl(4, LOOP_SET_FD, 3 [pid 5846] newfstatat(3, "", [pid 5845] rmdir("./8" [pid 5846] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5846] getdents64(3, 0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5846] umount2("./10/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5903] <... ioctl resumed>) = 0 [pid 5845] <... rmdir resumed>) = 0 [pid 5903] close(3 [pid 5845] mkdir("./9", 0777 [pid 5903] <... close resumed>) = 0 [pid 5903] close(4) = 0 [pid 5845] <... mkdir resumed>) = 0 [pid 5845] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5903] mkdir("./file2", 0777 [pid 5845] ioctl(3, LOOP_CLR_FD [pid 5903] <... mkdir resumed>) = 0 [pid 5846] <... umount2 resumed>) = 0 [pid 5845] <... ioctl resumed>) = 0 [pid 5846] umount2("./10/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] close(3 [pid 5903] mount("/dev/loop4", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5846] newfstatat(AT_FDCWD, "./10/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5846] umount2("./10/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5903] <... mount resumed>) = 0 [pid 5845] <... close resumed>) = 0 [pid 5903] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5846] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5846] openat(AT_FDCWD, "./10/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5903] <... openat resumed>) = 3 [pid 5903] chdir("./file2" [pid 5846] <... openat resumed>) = 4 [pid 5846] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5904 attached [pid 5846] getdents64(4, 0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5846] getdents64(4, 0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5846] close(4) = 0 [pid 5846] rmdir("./10/file2" [pid 5904] set_robust_list(0x55557569a660, 24 [pid 5903] <... chdir resumed>) = 0 [pid 5846] <... rmdir resumed>) = 0 [pid 5904] <... set_robust_list resumed>) = 0 [pid 5904] chdir("./9" [pid 5903] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5904] <... chdir resumed>) = 0 [pid 5846] umount2("./10/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] <... clone resumed>, child_tidptr=0x55557569a650) = 5904 [pid 5904] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5903] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5846] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5904] <... prctl resumed>) = 0 [pid 5903] memfd_create("syzkaller", 0 [pid 5904] setpgid(0, 0) = 0 [pid 5903] <... memfd_create resumed>) = 4 [pid 5903] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5846] newfstatat(AT_FDCWD, "./10/binderfs", [pid 5904] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5903] <... mmap resumed>) = 0x7f5166800000 [pid 5846] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5904] <... openat resumed>) = 3 [pid 5846] unlink("./10/binderfs" [pid 5904] write(3, "1000", 4 [pid 5846] <... unlink resumed>) = 0 [pid 5904] <... write resumed>) = 4 [pid 5904] close(3) = 0 [pid 5904] symlink("/dev/binderfs", "./binderfs" [pid 5903] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 executing program [pid 5846] getdents64(3, [pid 5904] <... symlink resumed>) = 0 [pid 5846] <... getdents64 resumed>0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5846] close(3 [pid 5904] write(1, "executing program\n", 18 [pid 5846] <... close resumed>) = 0 [pid 5904] <... write resumed>) = 18 [ 68.750134][ T5903] loop4: detected capacity change from 0 to 1024 [pid 5846] rmdir("./10" [pid 5904] memfd_create("syzkaller", 0 [pid 5903] <... write resumed>) = 524288 [pid 5846] <... rmdir resumed>) = 0 [pid 5904] <... memfd_create resumed>) = 3 [pid 5904] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5846] mkdir("./11", 0777 [pid 5904] <... mmap resumed>) = 0x7f5166800000 [pid 5903] munmap(0x7f5166800000, 138412032) = 0 [pid 5903] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5846] <... mkdir resumed>) = 0 [pid 5903] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5846] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5903] close(4 [pid 5846] ioctl(3, LOOP_CLR_FD [pid 5903] <... close resumed>) = 0 [pid 5846] <... ioctl resumed>) = 0 [pid 5904] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5846] close(3 [pid 5903] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5846] <... close resumed>) = 0 [pid 5846] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5904] <... write resumed>) = 524288 [pid 5903] <... openat resumed>) = 4 ./strace-static-x86_64: Process 5905 attached [pid 5904] munmap(0x7f5166800000, 138412032 [pid 5903] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5905] set_robust_list(0x55557569a660, 24 [pid 5904] <... munmap resumed>) = 0 [pid 5905] <... set_robust_list resumed>) = 0 [pid 5905] chdir("./11" [pid 5904] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5846] <... clone resumed>, child_tidptr=0x55557569a650) = 5905 [pid 5905] <... chdir resumed>) = 0 [pid 5904] <... openat resumed>) = 4 [pid 5905] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5903] <... openat resumed>) = 5 [pid 5905] <... prctl resumed>) = 0 [pid 5904] ioctl(4, LOOP_SET_FD, 3 [pid 5905] setpgid(0, 0 [pid 5903] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}} [pid 5905] <... setpgid resumed>) = 0 [pid 5905] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5905] write(3, "1000", 4 [pid 5904] <... ioctl resumed>) = 0 [pid 5903] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5905] <... write resumed>) = 4 [pid 5903] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5904] close(3 [pid 5905] close(3) = 0 [pid 5905] symlink("/dev/binderfs", "./binderfs" [pid 5904] <... close resumed>) = 0 [pid 5905] <... symlink resumed>) = 0 [pid 5904] close(4 [pid 5905] write(1, "executing program\n", 18 [pid 5904] <... close resumed>) = 0 executing program [pid 5905] <... write resumed>) = 18 [pid 5904] mkdir("./file2", 0777 [pid 5905] memfd_create("syzkaller", 0) = 3 [pid 5904] <... mkdir resumed>) = 0 [pid 5904] mount("/dev/loop0", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5905] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5905] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288) = 524288 [pid 5905] munmap(0x7f5166800000, 138412032) = 0 [pid 5905] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [ 68.848513][ T5904] loop0: detected capacity change from 0 to 1024 [pid 5905] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5905] close(3) = 0 [pid 5905] close(4) = 0 [pid 5905] mkdir("./file2", 0777) = 0 [pid 5905] mount("/dev/loop1", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"...) = 0 [pid 5905] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 5905] chdir("./file2") = 0 [pid 5905] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5905] memfd_create("syzkaller", 0) = 4 [pid 5905] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [ 68.891090][ T5905] loop1: detected capacity change from 0 to 1024 [ 68.897596][ T5903] loop0: detected capacity change from 1024 to 3 [ 68.904497][ T5220] Dev loop0: unable to read RDB block 3 [ 68.910319][ T5220] loop0: unable to read partition table [ 68.916090][ T5220] loop0: partition table beyond EOD, truncated [ 68.923164][ T5904] hfsplus: unable to find HFS+ superblock [ 68.929402][ T5903] Dev loop0: unable to read RDB block 3 [ 68.935202][ T5903] loop0: unable to read partition table [pid 5905] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288) = 524288 [pid 5905] munmap(0x7f5166800000, 138412032 [pid 5904] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5903] <... ioctl resumed>) = 0 [pid 5905] <... munmap resumed>) = 0 [pid 5904] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5905] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5904] <... openat resumed>) = 3 [pid 5903] exit_group(0 [pid 5905] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5903] <... exit_group resumed>) = ? [pid 5905] close(4 [pid 5904] ioctl(3, LOOP_CLR_FD) = 0 [pid 5904] close(3) = 0 [pid 5904] memfd_create("syzkaller", 0 [pid 5905] <... close resumed>) = 0 [pid 5903] +++ exited with 0 +++ [pid 5905] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5904] <... memfd_create resumed>) = 3 [pid 5905] <... openat resumed>) = 4 [pid 5849] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5903, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=5 /* 0.05 s */} --- [pid 5904] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5849] restart_syscall(<... resuming interrupted clone ...> [pid 5905] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5904] <... mmap resumed>) = 0x7f5166800000 [pid 5849] <... restart_syscall resumed>) = 0 [pid 5905] <... openat resumed>) = 5 [pid 5905] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}} [pid 5849] umount2("./11", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5905] <... ioctl resumed>) = 0 [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5905] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5849] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5904] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5849] <... openat resumed>) = 3 [pid 5849] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5849] getdents64(3, 0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5849] umount2("./11/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5849] umount2("./11/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5904] <... write resumed>) = 524288 [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5849] newfstatat(AT_FDCWD, "./11/file2", [pid 5904] munmap(0x7f5166800000, 138412032 [pid 5849] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 68.941866][ T5903] loop0: partition table beyond EOD, truncated [ 68.948272][ T5903] loop_reread_partitions: partition scan of loop0 (Rt *3 !6{bO0.Qʝ H"Uqd\'Lz8w1AH) failed (rc=-5) [pid 5849] umount2("./11/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5904] <... munmap resumed>) = 0 [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5849] openat(AT_FDCWD, "./11/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5904] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5849] <... openat resumed>) = 4 [pid 5849] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5849] getdents64(4, 0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5849] getdents64(4, 0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5849] close(4) = 0 [pid 5905] <... ioctl resumed>) = 0 [pid 5904] <... openat resumed>) = 4 [pid 5849] rmdir("./11/file2" [pid 5904] ioctl(4, LOOP_SET_FD, 3 [pid 5905] exit_group(0 [pid 5904] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5905] <... exit_group resumed>) = ? [pid 5904] ioctl(4, LOOP_CLR_FD [pid 5849] <... rmdir resumed>) = 0 [pid 5904] <... ioctl resumed>) = 0 [pid 5849] umount2("./11/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5849] newfstatat(AT_FDCWD, "./11/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5904] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5905] +++ exited with 0 +++ [pid 5849] unlink("./11/binderfs" [pid 5904] close(4) = 0 [pid 5846] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5905, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5904] close(3) = 0 [pid 5904] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5849] <... unlink resumed>) = 0 [pid 5846] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5904] <... openat resumed>) = 3 [pid 5849] getdents64(3, 0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5849] close(3) = 0 [pid 5846] umount2("./11", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5904] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5846] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5904] <... openat resumed>) = 4 [pid 5849] rmdir("./11" [pid 5846] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5904] ioctl(3, LOOP_CONFIGURE, {fd=4, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}} [pid 5849] <... rmdir resumed>) = 0 [pid 5846] <... openat resumed>) = 3 [pid 5904] <... ioctl resumed>) = 0 [pid 5846] newfstatat(3, "", [pid 5904] ioctl(3, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5849] mkdir("./12", 0777 [pid 5846] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5846] getdents64(3, 0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5846] umount2("./11/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] <... mkdir resumed>) = 0 [pid 5849] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5849] ioctl(3, LOOP_CLR_FD) = 0 [pid 5849] close(3 [pid 5846] <... umount2 resumed>) = 0 [pid 5846] umount2("./11/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] <... close resumed>) = 0 [pid 5846] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5846] newfstatat(AT_FDCWD, "./11/file2", [pid 5849] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5846] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5846] umount2("./11/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5846] openat(AT_FDCWD, "./11/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5846] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5846] getdents64(4, 0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5846] getdents64(4, 0x5555756a3730 /* 0 entries */, 32768) = 0 ./strace-static-x86_64: Process 5906 attached [pid 5849] <... clone resumed>, child_tidptr=0x55557569a650) = 5906 [pid 5846] close(4 [pid 5906] set_robust_list(0x55557569a660, 24 [pid 5846] <... close resumed>) = 0 [pid 5906] <... set_robust_list resumed>) = 0 [pid 5846] rmdir("./11/file2" [pid 5906] chdir("./12" [pid 5846] <... rmdir resumed>) = 0 [pid 5846] umount2("./11/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5906] <... chdir resumed>) = 0 [pid 5906] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5846] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5906] <... prctl resumed>) = 0 [pid 5846] newfstatat(AT_FDCWD, "./11/binderfs", [pid 5906] setpgid(0, 0 [pid 5846] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5906] <... setpgid resumed>) = 0 [pid 5906] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5846] unlink("./11/binderfs") = 0 [pid 5906] <... openat resumed>) = 3 [pid 5846] getdents64(3, 0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5906] write(3, "1000", 4 [pid 5846] close(3 [pid 5906] <... write resumed>) = 4 [pid 5906] close(3 [pid 5846] <... close resumed>) = 0 [pid 5906] <... close resumed>) = 0 [pid 5846] rmdir("./11" [pid 5906] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5904] <... ioctl resumed>) = 0 [pid 5846] <... rmdir resumed>) = 0 executing program [pid 5906] write(1, "executing program\n", 18) = 18 [pid 5906] memfd_create("syzkaller", 0 [pid 5904] exit_group(0 [pid 5846] mkdir("./12", 0777 [pid 5906] <... memfd_create resumed>) = 3 [pid 5904] <... exit_group resumed>) = ? [pid 5846] <... mkdir resumed>) = 0 [pid 5904] +++ exited with 0 +++ [pid 5846] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5906] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5904, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5846] <... openat resumed>) = 3 [pid 5845] restart_syscall(<... resuming interrupted clone ...> [pid 5846] ioctl(3, LOOP_CLR_FD) = 0 [pid 5846] close(3 [pid 5906] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5846] <... close resumed>) = 0 [pid 5845] <... restart_syscall resumed>) = 0 [pid 5845] umount2("./9", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5845] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] getdents64(3, 0x55557569b6f0 /* 5 entries */, 32768) = 144 [pid 5845] umount2("./9/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./9/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] umount2("./9/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./9/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5846] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5907 attached [pid 5845] newfstatat(4, "", [pid 5906] <... write resumed>) = 524288 [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5907] set_robust_list(0x55557569a660, 24 [pid 5906] munmap(0x7f5166800000, 138412032 [pid 5846] <... clone resumed>, child_tidptr=0x55557569a650) = 5907 [pid 5845] getdents64(4, 0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5845] getdents64(4, 0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5845] close(4 [pid 5906] <... munmap resumed>) = 0 [pid 5845] <... close resumed>) = 0 [pid 5907] <... set_robust_list resumed>) = 0 [pid 5845] rmdir("./9/file2" [pid 5907] chdir("./12" [pid 5906] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5845] <... rmdir resumed>) = 0 [pid 5845] umount2("./9/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./9/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] unlink("./9/binderfs") = 0 [pid 5845] umount2("./9/cgroup.stat", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5907] <... chdir resumed>) = 0 [pid 5906] <... openat resumed>) = 4 [pid 5907] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5906] ioctl(4, LOOP_SET_FD, 3 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5907] <... prctl resumed>) = 0 [pid 5845] newfstatat(AT_FDCWD, "./9/cgroup.stat", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] unlink("./9/cgroup.stat") = 0 [pid 5845] getdents64(3, [pid 5907] setpgid(0, 0 [pid 5906] <... ioctl resumed>) = 0 [pid 5907] <... setpgid resumed>) = 0 [pid 5845] <... getdents64 resumed>0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5907] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5906] close(3 [pid 5845] close(3 [pid 5906] <... close resumed>) = 0 [pid 5906] close(4) = 0 [pid 5845] <... close resumed>) = 0 [pid 5907] <... openat resumed>) = 3 [pid 5906] mkdir("./file2", 0777 [pid 5845] rmdir("./9" [pid 5907] write(3, "1000", 4 [pid 5845] <... rmdir resumed>) = 0 [pid 5907] <... write resumed>) = 4 [pid 5907] close(3) = 0 [pid 5906] <... mkdir resumed>) = 0 [pid 5845] mkdir("./10", 0777 [pid 5907] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 5845] <... mkdir resumed>) = 0 [pid 5907] write(1, "executing program\n", 18) = 18 [pid 5907] memfd_create("syzkaller", 0 [pid 5845] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5907] <... memfd_create resumed>) = 3 [pid 5845] <... openat resumed>) = 3 [pid 5907] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5906] mount("/dev/loop4", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5845] ioctl(3, LOOP_CLR_FD) = 0 [pid 5845] close(3 [pid 5906] <... mount resumed>) = 0 [pid 5906] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5907] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5845] <... close resumed>) = 0 [pid 5906] <... openat resumed>) = 3 [pid 5906] chdir("./file2" [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5907] <... write resumed>) = 524288 [pid 5906] <... chdir resumed>) = 0 [pid 5907] munmap(0x7f5166800000, 138412032./strace-static-x86_64: Process 5908 attached [pid 5906] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5908] set_robust_list(0x55557569a660, 24 [pid 5907] <... munmap resumed>) = 0 [pid 5908] <... set_robust_list resumed>) = 0 [pid 5906] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5845] <... clone resumed>, child_tidptr=0x55557569a650) = 5908 [pid 5908] chdir("./10" [pid 5907] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5906] memfd_create("syzkaller", 0 [pid 5908] <... chdir resumed>) = 0 [pid 5907] <... openat resumed>) = 4 [pid 5908] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [ 69.163245][ T5906] loop4: detected capacity change from 0 to 1024 [pid 5907] ioctl(4, LOOP_SET_FD, 3 [pid 5906] <... memfd_create resumed>) = 4 [pid 5908] setpgid(0, 0 [pid 5906] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5906] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5908] <... setpgid resumed>) = 0 [pid 5907] <... ioctl resumed>) = 0 [pid 5908] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5907] close(3 [pid 5908] <... openat resumed>) = 3 [pid 5907] <... close resumed>) = 0 [pid 5907] close(4) = 0 [pid 5908] write(3, "1000", 4 [pid 5907] mkdir("./file2", 0777 [pid 5908] <... write resumed>) = 4 [pid 5907] <... mkdir resumed>) = 0 [pid 5908] close(3) = 0 [pid 5907] mount("/dev/loop1", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5906] <... write resumed>) = 524288 [pid 5908] symlink("/dev/binderfs", "./binderfs" [pid 5906] munmap(0x7f5166800000, 138412032 [pid 5908] <... symlink resumed>) = 0 executing program [pid 5908] write(1, "executing program\n", 18 [pid 5906] <... munmap resumed>) = 0 [pid 5908] <... write resumed>) = 18 [pid 5908] memfd_create("syzkaller", 0) = 3 [pid 5908] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5906] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5907] <... mount resumed>) = 0 [pid 5907] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5906] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5907] <... openat resumed>) = 3 [pid 5907] chdir("./file2") = 0 [pid 5907] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5907] memfd_create("syzkaller", 0) = 4 [pid 5907] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5908] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5907] <... mmap resumed>) = 0x7f5166800000 [pid 5906] close(4 [pid 5908] <... write resumed>) = 524288 [pid 5907] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5908] munmap(0x7f5166800000, 138412032) = 0 [pid 5908] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5906] <... close resumed>) = 0 [pid 5908] <... openat resumed>) = 4 [pid 5906] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [ 69.221109][ T5907] loop1: detected capacity change from 0 to 1024 [pid 5908] ioctl(4, LOOP_SET_FD, 3 [pid 5906] <... openat resumed>) = 4 [pid 5907] <... write resumed>) = 524288 [pid 5908] <... ioctl resumed>) = 0 [pid 5906] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5908] close(3 [pid 5907] munmap(0x7f5166800000, 138412032 [pid 5908] <... close resumed>) = 0 [pid 5908] close(4) = 0 [pid 5908] mkdir("./file2", 0777) = 0 [pid 5907] <... munmap resumed>) = 0 [pid 5906] <... openat resumed>) = 5 [pid 5906] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}}) = -1 EBUSY (Device or resource busy) [pid 5907] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5908] mount("/dev/loop0", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5907] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5906] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5907] close(4) = 0 [ 69.267901][ T5908] loop0: detected capacity change from 0 to 1024 [pid 5907] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 5907] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5908] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5907] <... openat resumed>) = 5 [pid 5908] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5908] ioctl(3, LOOP_CLR_FD [pid 5907] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}} [pid 5908] <... ioctl resumed>) = 0 [pid 5907] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5908] close(3) = 0 [pid 5908] memfd_create("syzkaller", 0) = 3 [pid 5908] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5907] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5906] <... ioctl resumed>) = 0 [pid 5906] exit_group(0) = ? [pid 5908] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288) = 524288 [pid 5908] munmap(0x7f5166800000, 138412032) = 0 [ 69.335932][ T5906] loop0: detected capacity change from 1024 to 3 [ 69.343072][ T5908] hfsplus: invalid secondary volume header [ 69.343679][ T5906] Dev loop0: unable to read RDB block 3 [ 69.349364][ T5908] hfsplus: unable to find HFS+ superblock [ 69.354717][ T5906] loop0: unable to read partition table [ 69.366279][ T5906] loop0: partition table beyond EOD, truncated [ 69.372499][ T5906] loop_reread_partitions: partition scan of loop0 (Rt *3 !6{bO0.Qʝ H"Uqd\'Lz8w1AH) failed (rc=-5) [pid 5908] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5907] <... ioctl resumed>) = 0 [pid 5907] exit_group(0) = ? [pid 5908] <... openat resumed>) = 4 [pid 5907] +++ exited with 0 +++ [pid 5906] +++ exited with 0 +++ [pid 5908] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5908] ioctl(4, LOOP_CLR_FD) = 0 [pid 5849] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5906, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5849] umount2("./12", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5846] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5907, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5849] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5846] umount2("./12", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] newfstatat(3, "", [pid 5908] ioctl(4, LOOP_SET_FD, 3 [pid 5849] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5846] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5908] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5849] getdents64(3, [pid 5846] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5908] close(4 [pid 5849] <... getdents64 resumed>0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5846] <... openat resumed>) = 3 [pid 5849] umount2("./12/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5908] <... close resumed>) = 0 [pid 5849] <... umount2 resumed>) = 0 [pid 5846] newfstatat(3, "", [pid 5908] close(3 [pid 5846] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5846] getdents64(3, [pid 5849] umount2("./12/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5849] newfstatat(AT_FDCWD, "./12/file2", [pid 5846] <... getdents64 resumed>0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5849] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5849] umount2("./12/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5849] openat(AT_FDCWD, "./12/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5849] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5908] <... close resumed>) = 0 [pid 5849] getdents64(4, [pid 5846] umount2("./12/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] <... getdents64 resumed>0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5849] getdents64(4, 0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5849] close(4) = 0 [pid 5849] rmdir("./12/file2") = 0 [pid 5849] umount2("./12/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5908] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5849] newfstatat(AT_FDCWD, "./12/binderfs", [pid 5908] <... openat resumed>) = 3 [pid 5849] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5849] unlink("./12/binderfs" [pid 5908] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 4 [pid 5908] ioctl(3, LOOP_CONFIGURE, {fd=4, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}} [pid 5849] <... unlink resumed>) = 0 [pid 5846] <... umount2 resumed>) = 0 [pid 5908] <... ioctl resumed>) = 0 [pid 5846] umount2("./12/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5908] ioctl(3, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5849] getdents64(3, [pid 5846] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5849] <... getdents64 resumed>0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5846] newfstatat(AT_FDCWD, "./12/file2", [pid 5849] close(3 [pid 5846] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5849] <... close resumed>) = 0 [pid 5846] umount2("./12/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] rmdir("./12" [pid 5846] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5849] <... rmdir resumed>) = 0 [pid 5846] openat(AT_FDCWD, "./12/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5846] newfstatat(4, "", [pid 5849] mkdir("./13", 0777 [pid 5846] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5846] getdents64(4, 0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5849] <... mkdir resumed>) = 0 [pid 5846] getdents64(4, 0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5846] close(4 [pid 5849] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5846] <... close resumed>) = 0 [ 69.436409][ T5220] Dev loop0: unable to read RDB block 3 [ 69.441995][ T5220] loop0: unable to read partition table [ 69.448044][ T5220] loop0: partition table beyond EOD, truncated [pid 5849] <... openat resumed>) = 3 [pid 5846] rmdir("./12/file2" [pid 5849] ioctl(3, LOOP_CLR_FD [pid 5846] <... rmdir resumed>) = 0 [pid 5849] <... ioctl resumed>) = 0 [pid 5846] umount2("./12/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] close(3 [pid 5846] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5849] <... close resumed>) = 0 [pid 5846] newfstatat(AT_FDCWD, "./12/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5849] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5846] unlink("./12/binderfs") = 0 [pid 5846] getdents64(3, 0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5846] close(3) = 0 [pid 5846] rmdir("./12") = 0 ./strace-static-x86_64: Process 5909 attached [pid 5846] mkdir("./13", 0777 [pid 5909] set_robust_list(0x55557569a660, 24 [pid 5846] <... mkdir resumed>) = 0 [pid 5909] <... set_robust_list resumed>) = 0 [pid 5846] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5909] chdir("./13" [pid 5846] <... openat resumed>) = 3 [pid 5909] <... chdir resumed>) = 0 [pid 5846] ioctl(3, LOOP_CLR_FD [pid 5909] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5846] <... ioctl resumed>) = 0 [pid 5909] <... prctl resumed>) = 0 [pid 5846] close(3 [pid 5909] setpgid(0, 0 [pid 5849] <... clone resumed>, child_tidptr=0x55557569a650) = 5909 [pid 5846] <... close resumed>) = 0 [pid 5909] <... setpgid resumed>) = 0 [pid 5909] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5909] write(3, "1000", 4) = 4 [pid 5909] close(3 [pid 5846] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5909] <... close resumed>) = 0 [pid 5909] symlink("/dev/binderfs", "./binderfs" [pid 5846] <... clone resumed>, child_tidptr=0x55557569a650) = 5910 ./strace-static-x86_64: Process 5910 attached [pid 5909] <... symlink resumed>) = 0 [pid 5908] <... ioctl resumed>) = 0 [pid 5910] set_robust_list(0x55557569a660, 24 [pid 5908] exit_group(0) = ? [pid 5909] write(1, "executing program\n", 18executing program [pid 5910] <... set_robust_list resumed>) = 0 [pid 5909] <... write resumed>) = 18 [pid 5910] chdir("./13" [pid 5909] memfd_create("syzkaller", 0 [pid 5910] <... chdir resumed>) = 0 [pid 5910] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5908] +++ exited with 0 +++ [pid 5909] <... memfd_create resumed>) = 3 [pid 5910] setpgid(0, 0 [pid 5909] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5910] <... setpgid resumed>) = 0 [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5908, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5845] restart_syscall(<... resuming interrupted clone ...> [pid 5910] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5909] <... mmap resumed>) = 0x7f5166800000 [pid 5910] <... openat resumed>) = 3 [pid 5910] write(3, "1000", 4 [pid 5845] <... restart_syscall resumed>) = 0 [pid 5910] <... write resumed>) = 4 [pid 5910] close(3 [pid 5845] umount2("./10", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5910] <... close resumed>) = 0 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5910] symlink("/dev/binderfs", "./binderfs" [pid 5845] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5910] <... symlink resumed>) = 0 [pid 5845] <... openat resumed>) = 3 [pid 5845] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] getdents64(3, 0x55557569b6f0 /* 5 entries */, 32768) = 144 [pid 5845] umount2("./10/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./10/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 executing program [pid 5910] write(1, "executing program\n", 18 [pid 5909] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5845] umount2("./10/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5910] <... write resumed>) = 18 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./10/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5910] memfd_create("syzkaller", 0 [pid 5845] <... openat resumed>) = 4 [pid 5845] newfstatat(4, "", [pid 5910] <... memfd_create resumed>) = 3 [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] getdents64(4, 0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5845] getdents64(4, 0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5845] close(4) = 0 [pid 5845] rmdir("./10/file2") = 0 [pid 5845] umount2("./10/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./10/binderfs", [pid 5910] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5845] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5910] <... mmap resumed>) = 0x7f5166800000 [pid 5909] <... write resumed>) = 524288 [pid 5845] unlink("./10/binderfs") = 0 [pid 5909] munmap(0x7f5166800000, 138412032) = 0 [pid 5845] umount2("./10/cgroup.stat", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5909] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5910] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5909] ioctl(4, LOOP_SET_FD, 3 [pid 5845] newfstatat(AT_FDCWD, "./10/cgroup.stat", [pid 5910] <... write resumed>) = 524288 [pid 5910] munmap(0x7f5166800000, 138412032 [pid 5909] <... ioctl resumed>) = 0 [pid 5845] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5910] <... munmap resumed>) = 0 [pid 5909] close(3 [pid 5845] unlink("./10/cgroup.stat" [pid 5910] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5909] <... close resumed>) = 0 [pid 5909] close(4 [pid 5845] <... unlink resumed>) = 0 [pid 5910] <... openat resumed>) = 4 [pid 5910] ioctl(4, LOOP_SET_FD, 3 [pid 5909] <... close resumed>) = 0 [pid 5845] getdents64(3, [pid 5909] mkdir("./file2", 0777 [pid 5845] <... getdents64 resumed>0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5909] <... mkdir resumed>) = 0 [pid 5845] close(3 [pid 5909] mount("/dev/loop4", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5910] <... ioctl resumed>) = 0 [pid 5845] <... close resumed>) = 0 [pid 5845] rmdir("./10") = 0 [pid 5845] mkdir("./11", 0777 [pid 5910] close(3) = 0 [pid 5910] close(4) = 0 [pid 5909] <... mount resumed>) = 0 [pid 5845] <... mkdir resumed>) = 0 [pid 5910] mkdir("./file2", 0777) = 0 [pid 5909] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5845] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5910] mount("/dev/loop1", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5909] <... openat resumed>) = 3 [pid 5845] <... openat resumed>) = 3 [pid 5909] chdir("./file2" [pid 5910] <... mount resumed>) = 0 [pid 5909] <... chdir resumed>) = 0 [pid 5845] ioctl(3, LOOP_CLR_FD [pid 5910] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5909] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5845] <... ioctl resumed>) = 0 [pid 5910] <... openat resumed>) = 3 [pid 5909] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5845] close(3 [pid 5909] memfd_create("syzkaller", 0 [pid 5910] chdir("./file2") = 0 [pid 5910] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5845] <... close resumed>) = 0 [pid 5910] memfd_create("syzkaller", 0 [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55557569a650) = 5911 ./strace-static-x86_64: Process 5911 attached [pid 5910] <... memfd_create resumed>) = 4 [pid 5910] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5910] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5909] <... memfd_create resumed>) = 4 [pid 5909] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [ 69.564955][ T5909] loop4: detected capacity change from 0 to 1024 [ 69.580869][ T5910] loop1: detected capacity change from 0 to 1024 [pid 5911] set_robust_list(0x55557569a660, 24) = 0 [pid 5911] chdir("./11") = 0 [pid 5911] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5911] setpgid(0, 0) = 0 [pid 5909] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5911] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5910] <... write resumed>) = 524288 [pid 5911] <... openat resumed>) = 3 [pid 5909] <... write resumed>) = 524288 [pid 5911] write(3, "1000", 4 [pid 5910] munmap(0x7f5166800000, 138412032 [pid 5911] <... write resumed>) = 4 [pid 5910] <... munmap resumed>) = 0 [pid 5911] close(3 [pid 5910] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5911] <... close resumed>) = 0 [pid 5911] symlink("/dev/binderfs", "./binderfs" [pid 5910] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5910] close(4 [pid 5911] <... symlink resumed>) = 0 [pid 5910] <... close resumed>) = 0 [pid 5909] munmap(0x7f5166800000, 138412032 [pid 5911] write(1, "executing program\n", 18executing program ) = 18 [pid 5909] <... munmap resumed>) = 0 [pid 5911] memfd_create("syzkaller", 0 [pid 5910] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5909] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5911] <... memfd_create resumed>) = 3 [pid 5910] <... openat resumed>) = 4 [pid 5911] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5910] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5909] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5911] <... mmap resumed>) = 0x7f5166800000 [pid 5910] <... openat resumed>) = 5 [pid 5909] close(4) = 0 [pid 5910] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}} [pid 5911] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5910] <... ioctl resumed>) = 0 [pid 5909] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5910] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5911] <... write resumed>) = 524288 [pid 5911] munmap(0x7f5166800000, 138412032) = 0 [pid 5911] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5910] <... ioctl resumed>) = 0 [pid 5909] <... openat resumed>) = 4 [pid 5911] ioctl(4, LOOP_SET_FD, 3 [pid 5910] exit_group(0 [pid 5909] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5911] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5911] ioctl(4, LOOP_CLR_FD) = 0 [pid 5910] <... exit_group resumed>) = ? [pid 5909] <... openat resumed>) = 5 [pid 5910] +++ exited with 0 +++ [pid 5909] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}} [pid 5911] ioctl(4, LOOP_SET_FD, 3 [pid 5909] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5846] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5910, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5911] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5911] close(4 [pid 5909] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5911] <... close resumed>) = 0 [pid 5846] umount2("./13", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5911] close(3 [pid 5846] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5846] openat(AT_FDCWD, "./13", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5911] <... close resumed>) = 0 [pid 5846] <... openat resumed>) = 3 [pid 5846] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5911] memfd_create("syzkaller", 0) = 3 [pid 5846] getdents64(3, 0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5911] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5846] umount2("./13/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5911] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5909] <... ioctl resumed>) = 0 [pid 5846] <... umount2 resumed>) = -1 EBUSY (Device or resource busy) [pid 5909] exit_group(0 [pid 5911] <... write resumed>) = 524288 [pid 5846] newfstatat(AT_FDCWD, "./13/file2", [pid 5911] munmap(0x7f5166800000, 138412032 [pid 5909] <... exit_group resumed>) = ? [pid 5846] <... newfstatat resumed>{st_mode=S_IFDIR|0766, st_size=10, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5911] <... munmap resumed>) = 0 [pid 5911] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5909] +++ exited with 0 +++ [pid 5911] ioctl(4, LOOP_SET_FD, 3 [pid 5849] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5909, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5846] umount2("./13/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5911] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5846] <... umount2 resumed>) = -1 EBUSY (Device or resource busy) [pid 5911] ioctl(4, LOOP_CLR_FD [pid 5846] openat(AT_FDCWD, "./13/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5911] <... ioctl resumed>) = 0 [pid 5846] <... openat resumed>) = 4 [pid 5846] newfstatat(4, "", {st_mode=S_IFDIR|0766, st_size=10, ...}, AT_EMPTY_PATH) = 0 [pid 5846] getdents64(4, [pid 5849] umount2("./13", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5849] openat(AT_FDCWD, "./13", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5849] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5849] getdents64(3, 0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5911] ioctl(4, LOOP_SET_FD, 3 [pid 5846] <... getdents64 resumed>0x5555756a3730 /* 4 entries */, 32768) = 112 [pid 5911] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5849] umount2("./13/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5911] close(4) = 0 [pid 5846] umount2("./13/file2/cgroup.stat", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5846] newfstatat(AT_FDCWD, "./13/file2/cgroup.stat", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5911] close(3 [pid 5846] unlink("./13/file2/cgroup.stat") = 0 [pid 5911] <... close resumed>) = 0 [pid 5849] <... umount2 resumed>) = 0 [pid 5911] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5849] umount2("./13/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5846] umount2("./13/file2/file.c??d", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5911] <... openat resumed>) = 3 [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5846] <... umount2 resumed>) = -1 ENOENT (No such file or directory) [pid 5849] newfstatat(AT_FDCWD, "./13/file2", [pid 5911] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5849] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5846] newfstatat(AT_FDCWD, "./13/file2/file.c??d", [pid 5849] umount2("./13/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5849] openat(AT_FDCWD, "./13/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5846] <... newfstatat resumed>0x7ffc20ab0670, AT_SYMLINK_NOFOLLOW) = -1 ENOENT (No such file or directory) [pid 5911] <... openat resumed>) = 4 [pid 5849] newfstatat(4, "", [pid 5846] exit_group(1 [pid 5849] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5911] ioctl(3, LOOP_CONFIGURE, {fd=4, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}} [pid 5849] getdents64(4, [pid 5846] <... exit_group resumed>) = ? [pid 5911] <... ioctl resumed>) = 0 [pid 5849] <... getdents64 resumed>0x5555756a3730 /* 2 entries */, 32768) = 48 [ 69.766230][ T5846] hfsplus: walked past end of dir [pid 5911] ioctl(3, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5849] getdents64(4, [pid 5846] +++ exited with 1 +++ [pid 5844] <... restart_syscall resumed>) = ? ERESTART_RESTARTBLOCK (Interrupted by signal) [pid 5844] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5846, si_uid=0, si_status=1, si_utime=0, si_stime=16 /* 0.16 s */} --- [pid 5849] <... getdents64 resumed>0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5844] restart_syscall(<... resuming interrupted restart_syscall ...> [pid 5849] close(4) = 0 [pid 5849] rmdir("./13/file2") = 0 [pid 5849] umount2("./13/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5849] newfstatat(AT_FDCWD, "./13/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5849] unlink("./13/binderfs" [pid 5911] <... ioctl resumed>) = 0 [pid 5849] <... unlink resumed>) = 0 [pid 5911] exit_group(0) = ? [pid 5849] getdents64(3, [pid 5911] +++ exited with 0 +++ [pid 5849] <... getdents64 resumed>0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5911, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 5849] close(3 [pid 5845] restart_syscall(<... resuming interrupted clone ...> [pid 5849] <... close resumed>) = 0 [pid 5849] rmdir("./13" [pid 5845] <... restart_syscall resumed>) = 0 [pid 5849] <... rmdir resumed>) = 0 [pid 5845] umount2("./11", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] mkdir("./14", 0777 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5849] <... mkdir resumed>) = 0 [pid 5845] <... openat resumed>) = 3 [pid 5849] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5845] newfstatat(3, "", [pid 5849] ioctl(3, LOOP_CLR_FD [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5849] <... ioctl resumed>) = 0 [pid 5845] getdents64(3, [pid 5849] close(3 [pid 5845] <... getdents64 resumed>0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5849] <... close resumed>) = 0 [pid 5845] umount2("./11/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./11/binderfs", [pid 5849] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5845] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] unlink("./11/binderfs"./strace-static-x86_64: Process 5912 attached ) = 0 [pid 5912] set_robust_list(0x55557569a660, 24) = 0 [pid 5912] chdir("./14" [pid 5849] <... clone resumed>, child_tidptr=0x55557569a650) = 5912 [pid 5845] umount2("./11/cgroup.stat", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5912] <... chdir resumed>) = 0 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5912] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5845] newfstatat(AT_FDCWD, "./11/cgroup.stat", [pid 5912] setpgid(0, 0 [pid 5845] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5912] <... setpgid resumed>) = 0 [pid 5845] unlink("./11/cgroup.stat" [pid 5912] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5845] <... unlink resumed>) = 0 [pid 5845] getdents64(3, [pid 5912] <... openat resumed>) = 3 [pid 5845] <... getdents64 resumed>0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5845] close(3 [pid 5912] write(3, "1000", 4) = 4 [pid 5845] <... close resumed>) = 0 [pid 5912] close(3) = 0 [pid 5845] rmdir("./11" [pid 5912] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5912] write(1, "executing program\n", 18executing program ) = 18 [pid 5912] memfd_create("syzkaller", 0 [pid 5845] <... rmdir resumed>) = 0 [pid 5912] <... memfd_create resumed>) = 3 [pid 5845] mkdir("./12", 0777 [pid 5912] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5845] <... mkdir resumed>) = 0 [pid 5845] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5912] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5845] <... openat resumed>) = 3 [pid 5912] <... write resumed>) = 524288 [pid 5912] munmap(0x7f5166800000, 138412032 [pid 5845] ioctl(3, LOOP_CLR_FD [pid 5912] <... munmap resumed>) = 0 [pid 5912] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5845] <... ioctl resumed>) = 0 [pid 5845] close(3 [pid 5912] <... openat resumed>) = 4 [pid 5912] ioctl(4, LOOP_SET_FD, 3 [pid 5845] <... close resumed>) = 0 [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5913 attached , child_tidptr=0x55557569a650) = 5913 [pid 5913] set_robust_list(0x55557569a660, 24) = 0 [pid 5913] chdir("./12") = 0 [pid 5913] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5912] <... ioctl resumed>) = 0 [pid 5913] <... prctl resumed>) = 0 [pid 5913] setpgid(0, 0) = 0 [pid 5913] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5912] close(3 [pid 5913] <... openat resumed>) = 3 [pid 5912] <... close resumed>) = 0 [pid 5913] write(3, "1000", 4 [pid 5912] close(4 [pid 5913] <... write resumed>) = 4 [pid 5912] <... close resumed>) = 0 [pid 5913] close(3 [pid 5912] mkdir("./file2", 0777 [pid 5913] <... close resumed>) = 0 [pid 5913] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5912] <... mkdir resumed>) = 0 [pid 5913] write(1, "executing program\n", 18 [pid 5912] mount("/dev/loop4", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5913] <... write resumed>) = 18 executing program [pid 5913] memfd_create("syzkaller", 0 [pid 5912] <... mount resumed>) = 0 [pid 5912] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5913] <... memfd_create resumed>) = 3 [pid 5912] <... openat resumed>) = 3 [pid 5913] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5912] chdir("./file2" [pid 5913] <... mmap resumed>) = 0x7f5166800000 [pid 5912] <... chdir resumed>) = 0 [pid 5912] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5913] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5912] memfd_create("syzkaller", 0 [pid 5913] <... write resumed>) = 524288 [pid 5912] <... memfd_create resumed>) = 4 [ 70.005167][ T5912] loop4: detected capacity change from 0 to 1024 [pid 5913] munmap(0x7f5166800000, 138412032 [pid 5912] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5913] <... munmap resumed>) = 0 [pid 5913] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5912] <... mmap resumed>) = 0x7f5166800000 [pid 5913] <... openat resumed>) = 4 [pid 5912] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5913] ioctl(4, LOOP_SET_FD, 3 [pid 5912] <... write resumed>) = 524288 [pid 5912] munmap(0x7f5166800000, 138412032) = 0 [pid 5912] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5913] <... ioctl resumed>) = 0 [pid 5913] close(3 [pid 5912] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5913] <... close resumed>) = 0 [pid 5913] close(4) = 0 [pid 5912] close(4) = 0 [pid 5913] mkdir("./file2", 0777 [pid 5912] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 5913] <... mkdir resumed>) = 0 [pid 5912] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5913] mount("/dev/loop0", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5912] <... openat resumed>) = 5 [pid 5912] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}}) = -1 EBUSY (Device or resource busy) [ 70.082645][ T5913] loop0: detected capacity change from 0 to 1024 [ 70.165671][ T5912] loop0: detected capacity change from 1024 to 3 [ 70.172678][ T5913] bio_check_eod: 4 callbacks suppressed [ 70.172693][ T5913] syz-executor364: attempt to access beyond end of device [ 70.172693][ T5913] loop0: rw=0, sector=208, nr_sectors = 2 limit=3 [ 70.172981][ T5912] Dev loop0: unable to read RDB block 3 [ 70.179057][ T5913] Buffer I/O error on dev loop0, logical block 104, async page read [ 70.192558][ T5912] loop0: unable to read partition table [ 70.198098][ T5913] syz-executor364: attempt to access beyond end of device [ 70.198098][ T5913] loop0: rw=0, sector=210, nr_sectors = 2 limit=3 [ 70.206007][ T5912] loop0: partition table beyond EOD, [ 70.211530][ T5913] Buffer I/O error on dev loop0, logical block 105, async page read [ 70.225194][ T5912] truncated [ 70.241424][ T5913] syz-executor364: attempt to access beyond end of device [ 70.241424][ T5913] loop0: rw=0, sector=212, nr_sectors = 2 limit=3 [pid 5912] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...}) = 0 [pid 5912] exit_group(0) = ? [pid 5913] <... mount resumed>) = -1 EIO (Input/output error) [pid 5913] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5913] ioctl(3, LOOP_CLR_FD [pid 5912] +++ exited with 0 +++ [pid 5913] <... ioctl resumed>) = 0 [pid 5849] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5912, si_uid=0, si_status=0, si_utime=0, si_stime=10 /* 0.10 s */} --- [pid 5913] close(3) = 0 [pid 5913] memfd_create("syzkaller", 0) = 3 [pid 5849] umount2("./14", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5913] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5849] openat(AT_FDCWD, "./14", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [ 70.241592][ T5912] loop_reread_partitions: partition scan of loop0 (Rt *3 !6{bO0.Qʝ H"Uqd\'Lz8w1AH) failed (rc=-5) [ 70.268794][ T5913] Buffer I/O error on dev loop0, logical block 106, async page read [ 70.276964][ T5913] hfsplus: failed to load root directory [pid 5849] newfstatat(3, "", [pid 5913] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5849] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5849] getdents64(3, 0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5913] <... write resumed>) = 524288 [pid 5913] munmap(0x7f5166800000, 138412032 [pid 5849] umount2("./14/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5913] <... munmap resumed>) = 0 [pid 5913] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5913] ioctl(4, LOOP_SET_FD, 3 [pid 5849] <... umount2 resumed>) = 0 [pid 5849] umount2("./14/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5913] <... ioctl resumed>) = 0 [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5849] newfstatat(AT_FDCWD, "./14/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5913] close(3) = 0 [pid 5913] close(4 [pid 5849] umount2("./14/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5913] <... close resumed>) = 0 [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5849] openat(AT_FDCWD, "./14/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5913] mkdir("./file1", 0777 [pid 5849] <... openat resumed>) = 4 [pid 5913] <... mkdir resumed>) = 0 [pid 5849] newfstatat(4, "", [pid 5913] mount("/dev/loop0", "./file1", "ext4", MS_RELATIME, ",errors=continue" [pid 5849] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5849] getdents64(4, 0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5849] getdents64(4, 0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5849] close(4) = 0 [pid 5849] rmdir("./14/file2") = 0 [pid 5849] umount2("./14/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5849] newfstatat(AT_FDCWD, "./14/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 70.344367][ T5913] loop0: detected capacity change from 0 to 1024 [pid 5849] unlink("./14/binderfs" [pid 5913] <... mount resumed>) = 0 [pid 5849] <... unlink resumed>) = 0 [pid 5849] getdents64(3, [pid 5913] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5849] <... getdents64 resumed>0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5913] <... openat resumed>) = 3 [pid 5849] close(3 [pid 5913] chdir("./file1") = 0 [pid 5849] <... close resumed>) = 0 [pid 5913] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5913] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5849] rmdir("./14" [pid 5913] <... openat resumed>) = 4 [pid 5849] <... rmdir resumed>) = 0 [pid 5913] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5849] mkdir("./15", 0777) = 0 [pid 5913] <... openat resumed>) = 5 [pid 5849] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5913] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}} [ 70.387998][ T5913] EXT4-fs (loop0): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: none. [pid 5849] ioctl(3, LOOP_CLR_FD [pid 5913] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5849] <... ioctl resumed>) = 0 [pid 5913] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5849] close(3) = 0 [pid 5849] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5917 attached [pid 5917] set_robust_list(0x55557569a660, 24) = 0 [pid 5849] <... clone resumed>, child_tidptr=0x55557569a650) = 5917 [pid 5917] chdir("./15") = 0 [pid 5917] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5917] setpgid(0, 0) = 0 [pid 5917] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [ 70.495844][ T5913] loop0: detected capacity change from 1024 to 3 [ 70.503142][ T5913] syz-executor364: attempt to access beyond end of device [ 70.503142][ T5913] loop0: rw=0, sector=6, nr_sectors = 2 limit=3 [ 70.517644][ T5913] Buffer I/O error on dev loop0, logical block 3, async page read [ 70.525731][ T5913] syz-executor364: attempt to access beyond end of device [ 70.525731][ T5913] loop0: rw=0, sector=6, nr_sectors = 2 limit=3 [pid 5917] write(3, "1000", 4) = 4 [pid 5917] close(3) = 0 [pid 5917] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5917] write(1, "executing program\n", 18executing program ) = 18 [pid 5917] memfd_create("syzkaller", 0) = 3 [pid 5917] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5917] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288) = 524288 [ 70.539144][ T5913] Buffer I/O error on dev loop0, logical block 3, async page read [ 70.547134][ T5913] syz-executor364: attempt to access beyond end of device [ 70.547134][ T5913] loop0: rw=0, sector=6, nr_sectors = 2 limit=3 [ 70.560419][ T5913] Buffer I/O error on dev loop0, logical block 3, async page read [ 70.568363][ T5913] syz-executor364: attempt to access beyond end of device [ 70.568363][ T5913] loop0: rw=0, sector=6, nr_sectors = 2 limit=3 [ 70.581637][ T5913] Buffer I/O error on dev loop0, logical block 3, async page read [pid 5917] munmap(0x7f5166800000, 138412032) = 0 [pid 5917] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [ 70.589688][ T5913] syz-executor364: attempt to access beyond end of device [ 70.589688][ T5913] loop0: rw=0, sector=6, nr_sectors = 2 limit=3 [ 70.603143][ T5913] Buffer I/O error on dev loop0, logical block 3, async page read [ 70.611376][ T5913] ldm_validate_partition_table(): Disk read failed. [ 70.618086][ T5913] syz-executor364: attempt to access beyond end of device [ 70.618086][ T5913] loop0: rw=0, sector=6, nr_sectors = 2 limit=3 [ 70.631413][ T5913] Buffer I/O error on dev loop0, logical block 3, async page read [ 70.632769][ T5917] loop4: detected capacity change from 0 to 1024 [pid 5917] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5917] close(3) = 0 [pid 5917] close(4) = 0 [pid 5917] mkdir("./file2", 0777) = 0 [ 70.639658][ T5913] syz-executor364: attempt to access beyond end of device [ 70.639658][ T5913] loop0: rw=0, sector=6, nr_sectors = 2 limit=3 [ 70.658956][ T5913] Buffer I/O error on dev loop0, logical block 3, async page read [ 70.668093][ T5913] Dev loop0: unable to read RDB block 0 [ 70.674319][ T5913] loop0: unable to read partition table [ 70.680775][ T5913] loop0: partition table beyond EOD, truncated [pid 5917] mount("/dev/loop4", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"...) = 0 [pid 5913] <... ioctl resumed>) = 0 [pid 5917] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5913] exit_group(0) = ? [pid 5917] <... openat resumed>) = 3 [pid 5917] chdir("./file2") = 0 [pid 5917] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5913] +++ exited with 0 +++ [ 70.687051][ T5913] loop_reread_partitions: partition scan of loop0 (Rt *3 !6{bO0.Qʝ H"Uqd\'Lz8w1AH) failed (rc=-5) [pid 5917] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5913, si_uid=0, si_status=0, si_utime=0, si_stime=30 /* 0.30 s */} --- [pid 5917] memfd_create("syzkaller", 0) = 4 [pid 5917] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5845] umount2("./12", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5917] <... mmap resumed>) = 0x7f5166800000 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5845] newfstatat(3, "", [pid 5917] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] getdents64(3, 0x55557569b6f0 /* 5 entries */, 32768) = 144 [pid 5917] <... write resumed>) = 524288 [pid 5845] umount2("./12/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./12/file2", [pid 5917] munmap(0x7f5166800000, 138412032 [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5917] <... munmap resumed>) = 0 [pid 5845] umount2("./12/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./12/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5917] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5845] <... openat resumed>) = 4 [pid 5917] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5917] close(4 [pid 5845] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] getdents64(4, 0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5845] getdents64(4, 0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5845] close(4) = 0 [pid 5917] <... close resumed>) = 0 [pid 5845] rmdir("./12/file2") = 0 [pid 5917] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5845] umount2("./12/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5917] <... openat resumed>) = 4 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./12/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5917] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5845] unlink("./12/binderfs") = 0 [pid 5845] umount2("./12/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5917] <... openat resumed>) = 5 [pid 5917] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}}) = -1 EBUSY (Device or resource busy) [pid 5917] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...}) = 0 [pid 5917] exit_group(0) = ? [pid 5845] <... umount2 resumed>) = 0 [ 70.831496][ T5845] EXT4-fs (loop0): unmounting filesystem 00000000-0000-0000-0000-000000000000. [pid 5917] +++ exited with 0 +++ [pid 5845] umount2("./12/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5917, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./12/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] umount2("./12/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./12/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5845] newfstatat(4, "", [pid 5849] umount2("./15", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5849] openat(AT_FDCWD, "./15", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5845] getdents64(4, [pid 5849] <... openat resumed>) = 3 [pid 5845] <... getdents64 resumed>0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5849] newfstatat(3, "", [pid 5845] getdents64(4, 0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5849] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] close(4) = 0 [pid 5849] getdents64(3, [pid 5845] rmdir("./12/file1" [pid 5849] <... getdents64 resumed>0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5845] <... rmdir resumed>) = 0 [pid 5849] umount2("./15/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] getdents64(3, 0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5845] close(3) = 0 [pid 5845] rmdir("./12") = 0 [pid 5845] mkdir("./13", 0777 [pid 5849] <... umount2 resumed>) = 0 [pid 5849] umount2("./15/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] <... mkdir resumed>) = 0 [pid 5849] newfstatat(AT_FDCWD, "./15/file2", [pid 5845] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5849] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5849] umount2("./15/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] <... openat resumed>) = 3 [pid 5849] openat(AT_FDCWD, "./15/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5845] ioctl(3, LOOP_CLR_FD [pid 5849] <... openat resumed>) = 4 [pid 5845] <... ioctl resumed>) = 0 [pid 5845] close(3 [pid 5849] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5849] getdents64(4, 0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5849] getdents64(4, 0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5849] close(4) = 0 [pid 5849] rmdir("./15/file2") = 0 [pid 5849] umount2("./15/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] <... close resumed>) = 0 [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5918 attached [pid 5849] newfstatat(AT_FDCWD, "./15/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5918] set_robust_list(0x55557569a660, 24 [pid 5849] unlink("./15/binderfs") = 0 [pid 5918] <... set_robust_list resumed>) = 0 [pid 5845] <... clone resumed>, child_tidptr=0x55557569a650) = 5918 [pid 5849] getdents64(3, 0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5918] chdir("./13" [pid 5849] close(3) = 0 [pid 5849] rmdir("./15") = 0 [pid 5918] <... chdir resumed>) = 0 [pid 5849] mkdir("./16", 0777 [pid 5918] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5849] <... mkdir resumed>) = 0 [pid 5918] <... prctl resumed>) = 0 [pid 5849] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5918] setpgid(0, 0) = 0 [pid 5849] <... openat resumed>) = 3 [pid 5918] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5849] ioctl(3, LOOP_CLR_FD) = 0 [pid 5918] write(3, "1000", 4 [pid 5849] close(3 [pid 5918] <... write resumed>) = 4 [pid 5849] <... close resumed>) = 0 [pid 5918] close(3) = 0 [pid 5918] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 5918] write(1, "executing program\n", 18) = 18 [pid 5918] memfd_create("syzkaller", 0) = 3 [pid 5918] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5918] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5849] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5919 attached [pid 5918] <... write resumed>) = 524288 [pid 5919] set_robust_list(0x55557569a660, 24 [pid 5849] <... clone resumed>, child_tidptr=0x55557569a650) = 5919 [pid 5919] <... set_robust_list resumed>) = 0 [pid 5919] chdir("./16") = 0 [pid 5919] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5919] setpgid(0, 0) = 0 [pid 5919] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXECexecuting program ) = 3 [pid 5919] write(3, "1000", 4) = 4 [pid 5919] close(3) = 0 [pid 5919] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5919] write(1, "executing program\n", 18) = 18 [pid 5919] memfd_create("syzkaller", 0) = 3 [pid 5919] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5918] munmap(0x7f5166800000, 138412032) = 0 [pid 5918] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5918] ioctl(4, LOOP_SET_FD, 3 [pid 5919] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288) = 524288 [pid 5918] <... ioctl resumed>) = 0 [pid 5919] munmap(0x7f5166800000, 138412032) = 0 [pid 5918] close(3) = 0 [pid 5918] close(4 [pid 5919] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5918] <... close resumed>) = 0 [pid 5919] <... openat resumed>) = 4 [pid 5918] mkdir("./file2", 0777 [pid 5919] ioctl(4, LOOP_SET_FD, 3 [pid 5918] <... mkdir resumed>) = 0 [pid 5918] mount("/dev/loop0", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5919] <... ioctl resumed>) = 0 [pid 5919] close(3) = 0 [pid 5919] close(4) = 0 [pid 5919] mkdir("./file2", 0777) = 0 [pid 5918] <... mount resumed>) = 0 [pid 5919] mount("/dev/loop4", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5918] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [ 71.143247][ T5918] loop0: detected capacity change from 0 to 1024 [ 71.160230][ T5919] loop4: detected capacity change from 0 to 1024 [pid 5918] chdir("./file2" [pid 5919] <... mount resumed>) = 0 [pid 5918] <... chdir resumed>) = 0 [pid 5919] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 5919] chdir("./file2" [pid 5918] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5919] <... chdir resumed>) = 0 [pid 5918] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5919] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5918] memfd_create("syzkaller", 0 [pid 5919] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5919] memfd_create("syzkaller", 0 [pid 5918] <... memfd_create resumed>) = 4 [pid 5919] <... memfd_create resumed>) = 4 [pid 5918] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5919] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5918] <... mmap resumed>) = 0x7f5166800000 [pid 5919] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5918] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288) = 524288 [pid 5919] <... write resumed>) = 524288 [pid 5918] munmap(0x7f5166800000, 138412032 [pid 5919] munmap(0x7f5166800000, 138412032) = 0 [pid 5919] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5918] <... munmap resumed>) = 0 [pid 5919] close(4 [pid 5918] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5918] close(4 [pid 5919] <... close resumed>) = 0 [pid 5919] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 5918] <... close resumed>) = 0 [pid 5919] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5918] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 5918] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5919] <... openat resumed>) = 5 [pid 5919] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}} [pid 5918] <... openat resumed>) = 5 [pid 5919] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5919] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5918] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}}) = -1 EBUSY (Device or resource busy) [ 71.345553][ T5919] loop0: detected capacity change from 1024 to 3 [pid 5918] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...}) = 0 [pid 5918] exit_group(0 [pid 5919] <... ioctl resumed>) = 0 [pid 5918] <... exit_group resumed>) = ? [pid 5919] exit_group(0) = ? [pid 5918] +++ exited with 0 +++ [pid 5919] +++ exited with 0 +++ [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5918, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5845] restart_syscall(<... resuming interrupted clone ...> [pid 5849] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5919, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5849] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5845] <... restart_syscall resumed>) = 0 [pid 5849] umount2("./16", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] umount2("./13", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5849] openat(AT_FDCWD, "./16", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 71.385947][ T5919] Dev loop0: unable to read RDB block 3 [ 71.391543][ T5919] loop0: unable to read partition table [ 71.397509][ T5919] loop0: partition table beyond EOD, truncated [ 71.404017][ T5919] loop_reread_partitions: partition scan of loop0 (Rt *3 !6{bO0.Qʝ H"Uqd\'Lz8w1AH) failed (rc=-5) [pid 5845] openat(AT_FDCWD, "./13", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5849] newfstatat(3, "", [pid 5845] <... openat resumed>) = 3 [pid 5845] newfstatat(3, "", [pid 5849] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] getdents64(3, 0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5849] getdents64(3, [pid 5845] umount2("./13/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] <... getdents64 resumed>0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5849] umount2("./16/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] <... umount2 resumed>) = 0 [pid 5845] umount2("./13/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] <... umount2 resumed>) = 0 [pid 5849] umount2("./16/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./13/file2", [pid 5849] newfstatat(AT_FDCWD, "./16/file2", [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5849] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5849] umount2("./16/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] umount2("./13/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5849] openat(AT_FDCWD, "./16/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5845] openat(AT_FDCWD, "./13/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5849] <... openat resumed>) = 4 [pid 5845] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] getdents64(4, 0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5849] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5849] getdents64(4, [pid 5845] getdents64(4, 0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5849] <... getdents64 resumed>0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5845] close(4 [pid 5849] getdents64(4, [pid 5845] <... close resumed>) = 0 [pid 5849] <... getdents64 resumed>0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5845] rmdir("./13/file2" [pid 5849] close(4) = 0 [pid 5845] <... rmdir resumed>) = 0 [pid 5849] rmdir("./16/file2" [pid 5845] umount2("./13/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] <... rmdir resumed>) = 0 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./13/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5849] umount2("./16/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] unlink("./13/binderfs" [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5849] newfstatat(AT_FDCWD, "./16/binderfs", [pid 5845] <... unlink resumed>) = 0 [pid 5845] getdents64(3, [pid 5849] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] <... getdents64 resumed>0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5845] close(3 [pid 5849] unlink("./16/binderfs" [pid 5845] <... close resumed>) = 0 [pid 5849] <... unlink resumed>) = 0 [pid 5845] rmdir("./13" [pid 5849] getdents64(3, 0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5845] <... rmdir resumed>) = 0 [pid 5849] close(3 [pid 5845] mkdir("./14", 0777) = 0 [pid 5849] <... close resumed>) = 0 [pid 5845] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5845] ioctl(3, LOOP_CLR_FD [pid 5849] rmdir("./16") = 0 [pid 5845] <... ioctl resumed>) = 0 [pid 5845] close(3 [pid 5849] mkdir("./17", 0777) = 0 [pid 5845] <... close resumed>) = 0 [pid 5849] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5849] ioctl(3, LOOP_CLR_FD) = 0 [pid 5849] close(3) = 0 [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5849] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5921 attached ./strace-static-x86_64: Process 5920 attached [pid 5921] set_robust_list(0x55557569a660, 24 [pid 5845] <... clone resumed>, child_tidptr=0x55557569a650) = 5920 [pid 5921] <... set_robust_list resumed>) = 0 [pid 5920] set_robust_list(0x55557569a660, 24 [pid 5921] chdir("./17" [pid 5920] <... set_robust_list resumed>) = 0 [pid 5920] chdir("./14" [pid 5849] <... clone resumed>, child_tidptr=0x55557569a650) = 5921 [pid 5921] <... chdir resumed>) = 0 [pid 5921] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5920] <... chdir resumed>) = 0 [pid 5921] <... prctl resumed>) = 0 [pid 5921] setpgid(0, 0 [pid 5920] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5921] <... setpgid resumed>) = 0 [pid 5920] setpgid(0, 0 [pid 5921] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5920] <... setpgid resumed>) = 0 [pid 5921] <... openat resumed>) = 3 [pid 5920] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5921] write(3, "1000", 4 [pid 5920] <... openat resumed>) = 3 [pid 5921] <... write resumed>) = 4 [pid 5920] write(3, "1000", 4 [pid 5921] close(3 [pid 5920] <... write resumed>) = 4 [pid 5921] <... close resumed>) = 0 [pid 5920] close(3 [pid 5921] symlink("/dev/binderfs", "./binderfs" [pid 5920] <... close resumed>) = 0 [pid 5920] symlink("/dev/binderfs", "./binderfs" [pid 5921] <... symlink resumed>) = 0 [pid 5921] write(1, "executing program\n", 18 [pid 5920] <... symlink resumed>) = 0 executing program [pid 5921] <... write resumed>) = 18 [pid 5921] memfd_create("syzkaller", 0 [pid 5920] write(1, "executing program\n", 18executing program ) = 18 [pid 5921] <... memfd_create resumed>) = 3 [pid 5921] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5920] memfd_create("syzkaller", 0 [pid 5921] <... mmap resumed>) = 0x7f5166800000 [pid 5920] <... memfd_create resumed>) = 3 [pid 5921] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5920] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5921] <... write resumed>) = 524288 [pid 5921] munmap(0x7f5166800000, 138412032) = 0 [pid 5921] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5920] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5921] ioctl(4, LOOP_SET_FD, 3 [pid 5920] <... write resumed>) = 524288 [pid 5920] munmap(0x7f5166800000, 138412032 [pid 5921] <... ioctl resumed>) = 0 [pid 5921] close(3) = 0 [pid 5921] close(4 [pid 5920] <... munmap resumed>) = 0 [pid 5921] <... close resumed>) = 0 [pid 5921] mkdir("./file2", 0777 [pid 5920] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5921] <... mkdir resumed>) = 0 [pid 5920] <... openat resumed>) = 4 [pid 5920] ioctl(4, LOOP_SET_FD, 3 [pid 5921] mount("/dev/loop4", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5920] <... ioctl resumed>) = 0 [pid 5921] <... mount resumed>) = 0 [pid 5921] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5920] close(3 [pid 5921] <... openat resumed>) = 3 [pid 5920] <... close resumed>) = 0 [pid 5921] chdir("./file2" [pid 5920] close(4 [pid 5921] <... chdir resumed>) = 0 [pid 5920] <... close resumed>) = 0 [pid 5921] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5920] mkdir("./file2", 0777 [pid 5921] memfd_create("syzkaller", 0 [pid 5920] <... mkdir resumed>) = 0 [pid 5921] <... memfd_create resumed>) = 4 [pid 5921] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5921] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5920] mount("/dev/loop0", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"...) = 0 [pid 5920] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 5920] chdir("./file2") = 0 [pid 5920] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5920] memfd_create("syzkaller", 0) = 4 [ 71.654942][ T5921] loop4: detected capacity change from 0 to 1024 [ 71.680154][ T5920] loop0: detected capacity change from 0 to 1024 [pid 5920] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5921] <... write resumed>) = 524288 [pid 5920] <... mmap resumed>) = 0x7f5166800000 [pid 5921] munmap(0x7f5166800000, 138412032) = 0 [pid 5921] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5920] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5921] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5920] <... write resumed>) = 524288 [pid 5921] close(4 [pid 5920] munmap(0x7f5166800000, 138412032 [pid 5921] <... close resumed>) = 0 [pid 5920] <... munmap resumed>) = 0 [pid 5921] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 5920] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5921] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5920] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5920] close(4 [pid 5921] <... openat resumed>) = 5 [pid 5920] <... close resumed>) = 0 [pid 5921] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}}) = -1 EBUSY (Device or resource busy) [pid 5921] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5920] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 5920] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5921] <... ioctl resumed>) = 0 [pid 5921] exit_group(0 [pid 5920] <... openat resumed>) = 5 [pid 5921] <... exit_group resumed>) = ? [pid 5920] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}}) = -1 EBUSY (Device or resource busy) [pid 5920] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5921] +++ exited with 0 +++ [pid 5849] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5921, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5849] restart_syscall(<... resuming interrupted clone ...>) = 0 [ 71.835715][ T5921] loop0: detected capacity change from 1024 to 3 [ 71.843095][ T5921] Dev loop0: unable to read RDB block 3 [ 71.849014][ T5921] loop0: unable to read partition table [ 71.854781][ T5921] loop0: partition table beyond EOD, truncated [ 71.861349][ T5921] loop_reread_partitions: partition scan of loop0 (Rt *3 !6{bO0.Qʝ H"Uqd\'Lz8w1AH) failed (rc=-5) [ 71.876293][ T5920] hfsplus: xattr searching failed [pid 5849] umount2("./17", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5849] openat(AT_FDCWD, "./17", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5920] <... ioctl resumed>) = 0 [pid 5849] <... openat resumed>) = 3 [pid 5849] newfstatat(3, "", [pid 5920] exit_group(0) = ? [pid 5849] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5849] getdents64(3, [pid 5920] +++ exited with 0 +++ [pid 5849] <... getdents64 resumed>0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5920, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5849] umount2("./17/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] umount2("./14", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./14", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5845] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5849] <... umount2 resumed>) = 0 [pid 5845] getdents64(3, 0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5849] umount2("./17/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] umount2("./14/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] newfstatat(AT_FDCWD, "./17/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] <... umount2 resumed>) = 0 [pid 5849] umount2("./17/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5849] openat(AT_FDCWD, "./17/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5845] umount2("./14/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5849] newfstatat(4, "", [pid 5845] newfstatat(AT_FDCWD, "./14/file2", [pid 5849] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5849] getdents64(4, [pid 5845] umount2("./14/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] <... getdents64 resumed>0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./14/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5849] getdents64(4, [pid 5845] <... openat resumed>) = 4 [pid 5849] <... getdents64 resumed>0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5849] close(4) = 0 [pid 5845] newfstatat(4, "", [pid 5849] rmdir("./17/file2" [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5849] <... rmdir resumed>) = 0 [pid 5845] getdents64(4, [pid 5849] umount2("./17/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5849] newfstatat(AT_FDCWD, "./17/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] <... getdents64 resumed>0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5845] getdents64(4, [pid 5849] unlink("./17/binderfs" [pid 5845] <... getdents64 resumed>0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5849] <... unlink resumed>) = 0 [pid 5845] close(4 [pid 5849] getdents64(3, [pid 5845] <... close resumed>) = 0 [pid 5849] <... getdents64 resumed>0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5845] rmdir("./14/file2" [pid 5849] close(3 [pid 5845] <... rmdir resumed>) = 0 [pid 5849] <... close resumed>) = 0 [pid 5849] rmdir("./17" [pid 5845] umount2("./14/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] <... rmdir resumed>) = 0 [pid 5849] mkdir("./18", 0777 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5849] <... mkdir resumed>) = 0 [pid 5845] newfstatat(AT_FDCWD, "./14/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] unlink("./14/binderfs" [pid 5849] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5849] ioctl(3, LOOP_CLR_FD [pid 5845] <... unlink resumed>) = 0 [pid 5849] <... ioctl resumed>) = 0 [pid 5845] getdents64(3, [pid 5849] close(3 [pid 5845] <... getdents64 resumed>0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5849] <... close resumed>) = 0 [pid 5845] close(3 [pid 5849] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5845] <... close resumed>) = 0 [pid 5845] rmdir("./14"./strace-static-x86_64: Process 5922 attached ) = 0 [pid 5845] mkdir("./15", 0777 [pid 5849] <... clone resumed>, child_tidptr=0x55557569a650) = 5922 [pid 5922] set_robust_list(0x55557569a660, 24) = 0 [pid 5922] chdir("./18") = 0 [pid 5845] <... mkdir resumed>) = 0 [pid 5922] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5845] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5922] <... prctl resumed>) = 0 [pid 5922] setpgid(0, 0 [pid 5845] <... openat resumed>) = 3 [pid 5922] <... setpgid resumed>) = 0 [pid 5845] ioctl(3, LOOP_CLR_FD [pid 5922] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5845] <... ioctl resumed>) = 0 [pid 5845] close(3 [pid 5922] <... openat resumed>) = 3 [pid 5845] <... close resumed>) = 0 [pid 5922] write(3, "1000", 4) = 4 [pid 5922] close(3) = 0 [pid 5922] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5922] write(1, "executing program\n", 18) = 18 [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5922] memfd_create("syzkaller", 0) = 3 [pid 5922] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0./strace-static-x86_64: Process 5923 attached ) = 0x7f5166800000 [pid 5923] set_robust_list(0x55557569a660, 24 [pid 5845] <... clone resumed>, child_tidptr=0x55557569a650) = 5923 [pid 5923] <... set_robust_list resumed>) = 0 [pid 5923] chdir("./15") = 0 [pid 5923] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5923] setpgid(0, 0 [pid 5922] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5923] <... setpgid resumed>) = 0 [pid 5923] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5922] <... write resumed>) = 524288 [pid 5923] write(3, "1000", 4) = 4 [pid 5923] close(3) = 0 [pid 5923] symlink("/dev/binderfs", "./binderfs" [pid 5922] munmap(0x7f5166800000, 138412032 [pid 5923] <... symlink resumed>) = 0 [pid 5922] <... munmap resumed>) = 0 executing program [pid 5923] write(1, "executing program\n", 18) = 18 [pid 5923] memfd_create("syzkaller", 0 [pid 5922] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5923] <... memfd_create resumed>) = 3 [pid 5923] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5922] <... openat resumed>) = 4 [pid 5923] <... mmap resumed>) = 0x7f5166800000 [pid 5922] ioctl(4, LOOP_SET_FD, 3 [pid 5923] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5922] <... ioctl resumed>) = 0 [pid 5923] <... write resumed>) = 524288 [pid 5922] close(3 [pid 5923] munmap(0x7f5166800000, 138412032 [pid 5922] <... close resumed>) = 0 [pid 5923] <... munmap resumed>) = 0 [pid 5922] close(4 [pid 5923] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5922] <... close resumed>) = 0 [pid 5923] ioctl(4, LOOP_SET_FD, 3 [pid 5922] mkdir("./file2", 0777 [pid 5923] <... ioctl resumed>) = 0 [pid 5922] <... mkdir resumed>) = 0 [pid 5922] mount("/dev/loop4", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5923] close(3) = 0 [pid 5923] close(4) = 0 [pid 5923] mkdir("./file2", 0777) = 0 [pid 5923] mount("/dev/loop0", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5922] <... mount resumed>) = 0 [pid 5922] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 5922] chdir("./file2") = 0 [pid 5922] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [ 72.196698][ T5922] loop4: detected capacity change from 0 to 1024 [ 72.229022][ T5923] loop0: detected capacity change from 0 to 1024 [pid 5922] memfd_create("syzkaller", 0 [pid 5923] <... mount resumed>) = 0 [pid 5922] <... memfd_create resumed>) = 4 [pid 5923] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5922] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5923] <... openat resumed>) = 3 [pid 5922] <... mmap resumed>) = 0x7f5166800000 [pid 5923] chdir("./file2" [pid 5922] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5923] <... chdir resumed>) = 0 [pid 5923] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5922] <... write resumed>) = 524288 [pid 5922] munmap(0x7f5166800000, 138412032 [pid 5923] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5922] <... munmap resumed>) = 0 [pid 5923] memfd_create("syzkaller", 0 [pid 5922] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5922] close(4 [pid 5923] <... memfd_create resumed>) = 4 [pid 5923] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5922] <... close resumed>) = 0 [pid 5922] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 5922] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5923] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5922] <... openat resumed>) = 5 [pid 5922] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}}) = -1 EBUSY (Device or resource busy) [pid 5922] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5923] <... write resumed>) = 524288 [pid 5923] munmap(0x7f5166800000, 138412032) = 0 [pid 5923] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5923] close(4) = 0 [pid 5923] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 5923] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 5 [pid 5923] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}}) = -1 EBUSY (Device or resource busy) [pid 5923] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5922] <... ioctl resumed>) = 0 [pid 5922] exit_group(0) = ? [pid 5923] <... ioctl resumed>) = 0 [pid 5922] +++ exited with 0 +++ [pid 5849] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5922, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5849] umount2("./18", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 72.385587][ T5922] loop0: detected capacity change from 1024 to 3 [ 72.392992][ T5923] hfsplus: xattr searching failed [ 72.394899][ T5922] Dev loop0: unable to read RDB block 3 [ 72.403863][ T5922] loop0: unable to read partition table [ 72.409667][ T5922] loop0: partition table beyond EOD, truncated [ 72.416144][ T5922] loop_reread_partitions: partition scan of loop0 (Rt *3 !6{bO0.Qʝ H"Uqd\'Lz8w1AH) failed (rc=-5) [pid 5849] openat(AT_FDCWD, "./18", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5923] exit_group(0 [pid 5849] newfstatat(3, "", [pid 5923] <... exit_group resumed>) = ? [pid 5849] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5849] getdents64(3, 0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5849] umount2("./18/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5923] +++ exited with 0 +++ [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5923, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5845] restart_syscall(<... resuming interrupted clone ...> [pid 5849] <... umount2 resumed>) = 0 [pid 5849] umount2("./18/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5849] newfstatat(AT_FDCWD, "./18/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5849] umount2("./18/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] <... restart_syscall resumed>) = 0 [pid 5849] openat(AT_FDCWD, "./18/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5849] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] umount2("./15", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5849] getdents64(4, 0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5845] openat(AT_FDCWD, "./15", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5849] getdents64(4, 0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5845] newfstatat(3, "", [pid 5849] close(4 [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5849] <... close resumed>) = 0 [pid 5845] getdents64(3, [pid 5849] rmdir("./18/file2" [pid 5845] <... getdents64 resumed>0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5849] <... rmdir resumed>) = 0 [pid 5845] umount2("./15/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] umount2("./18/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5849] newfstatat(AT_FDCWD, "./18/binderfs", [pid 5845] <... umount2 resumed>) = 0 [pid 5849] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] umount2("./15/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] unlink("./18/binderfs" [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5849] <... unlink resumed>) = 0 [pid 5845] newfstatat(AT_FDCWD, "./15/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5849] getdents64(3, [pid 5845] umount2("./15/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] <... getdents64 resumed>0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5849] close(3) = 0 [pid 5845] openat(AT_FDCWD, "./15/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5849] rmdir("./18" [pid 5845] <... openat resumed>) = 4 [pid 5849] <... rmdir resumed>) = 0 [pid 5845] newfstatat(4, "", [pid 5849] mkdir("./19", 0777 [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5849] <... mkdir resumed>) = 0 [pid 5845] getdents64(4, [pid 5849] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5845] <... getdents64 resumed>0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5849] ioctl(3, LOOP_CLR_FD [pid 5845] getdents64(4, [pid 5849] <... ioctl resumed>) = 0 [pid 5845] <... getdents64 resumed>0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5849] close(3 [pid 5845] close(4) = 0 [pid 5845] rmdir("./15/file2") = 0 [pid 5845] umount2("./15/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] <... close resumed>) = 0 [pid 5849] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./15/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] unlink("./15/binderfs") = 0 ./strace-static-x86_64: Process 5924 attached [pid 5849] <... clone resumed>, child_tidptr=0x55557569a650) = 5924 [pid 5845] getdents64(3, [pid 5924] set_robust_list(0x55557569a660, 24 [pid 5845] <... getdents64 resumed>0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5924] <... set_robust_list resumed>) = 0 [pid 5845] close(3 [pid 5924] chdir("./19" [pid 5845] <... close resumed>) = 0 [pid 5924] <... chdir resumed>) = 0 [pid 5924] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5845] rmdir("./15" [pid 5924] setpgid(0, 0 [pid 5845] <... rmdir resumed>) = 0 [pid 5924] <... setpgid resumed>) = 0 [pid 5924] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5845] mkdir("./16", 0777 [pid 5924] write(3, "1000", 4 [pid 5845] <... mkdir resumed>) = 0 [pid 5924] <... write resumed>) = 4 [pid 5924] close(3) = 0 [pid 5924] symlink("/dev/binderfs", "./binderfs" [pid 5845] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5924] <... symlink resumed>) = 0 executing program [pid 5845] <... openat resumed>) = 3 [pid 5924] write(1, "executing program\n", 18) = 18 [pid 5845] ioctl(3, LOOP_CLR_FD [pid 5924] memfd_create("syzkaller", 0 [pid 5845] <... ioctl resumed>) = 0 [pid 5924] <... memfd_create resumed>) = 3 [pid 5845] close(3 [pid 5924] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5845] <... close resumed>) = 0 [pid 5924] <... mmap resumed>) = 0x7f5166800000 [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5925 attached , child_tidptr=0x55557569a650) = 5925 [pid 5924] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5925] set_robust_list(0x55557569a660, 24) = 0 [pid 5925] chdir("./16") = 0 [pid 5925] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5925] setpgid(0, 0) = 0 [pid 5925] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5925] write(3, "1000", 4) = 4 [pid 5924] <... write resumed>) = 524288 [pid 5925] close(3) = 0 [pid 5925] symlink("/dev/binderfs", "./binderfs" [pid 5924] munmap(0x7f5166800000, 138412032 [pid 5925] <... symlink resumed>) = 0 [pid 5925] write(1, "executing program\n", 18 [pid 5924] <... munmap resumed>) = 0 executing program [pid 5925] <... write resumed>) = 18 [pid 5925] memfd_create("syzkaller", 0) = 3 [pid 5924] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5925] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5924] <... openat resumed>) = 4 [pid 5925] <... mmap resumed>) = 0x7f5166800000 [pid 5924] ioctl(4, LOOP_SET_FD, 3 [pid 5925] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288) = 524288 [pid 5924] <... ioctl resumed>) = 0 [pid 5925] munmap(0x7f5166800000, 138412032) = 0 [pid 5924] close(3) = 0 [pid 5925] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5924] close(4 [pid 5925] <... openat resumed>) = 4 [pid 5924] <... close resumed>) = 0 [pid 5925] ioctl(4, LOOP_SET_FD, 3 [pid 5924] mkdir("./file2", 0777) = 0 [pid 5924] mount("/dev/loop4", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5925] <... ioctl resumed>) = 0 [pid 5924] <... mount resumed>) = 0 [pid 5925] close(3) = 0 [pid 5925] close(4 [pid 5924] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 5924] chdir("./file2") = 0 [pid 5924] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5925] <... close resumed>) = 0 [pid 5924] memfd_create("syzkaller", 0 [ 72.715751][ T5924] loop4: detected capacity change from 0 to 1024 [ 72.753528][ T5925] loop0: detected capacity change from 0 to 1024 [pid 5925] mkdir("./file2", 0777) = 0 [pid 5924] <... memfd_create resumed>) = 4 [pid 5925] mount("/dev/loop0", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5924] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5925] <... mount resumed>) = 0 [pid 5925] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 5925] chdir("./file2") = 0 [pid 5924] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5925] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5925] memfd_create("syzkaller", 0 [pid 5924] <... write resumed>) = 524288 [pid 5925] <... memfd_create resumed>) = 4 [pid 5925] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5924] munmap(0x7f5166800000, 138412032) = 0 [pid 5924] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5924] close(4) = 0 [pid 5925] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5924] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 5924] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 5 [pid 5924] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}}) = -1 EBUSY (Device or resource busy) [pid 5924] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5925] <... write resumed>) = 524288 [pid 5925] munmap(0x7f5166800000, 138412032) = 0 [pid 5925] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5925] close(4) = 0 [pid 5925] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 5925] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 5 [pid 5925] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}}) = -1 EBUSY (Device or resource busy) [pid 5925] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5924] <... ioctl resumed>) = 0 [pid 5924] exit_group(0) = ? [pid 5925] <... ioctl resumed>) = 0 [pid 5925] exit_group(0) = ? [pid 5925] +++ exited with 0 +++ [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5925, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [ 72.915695][ T5924] loop0: detected capacity change from 1024 to 3 [ 72.923385][ T5924] Dev loop0: unable to read RDB block 3 [ 72.924358][ T5925] hfsplus: xattr searching failed [ 72.929039][ T5924] loop0: unable to read partition table [ 72.939777][ T5924] loop0: partition table beyond EOD, truncated [ 72.946161][ T5924] loop_reread_partitions: partition scan of loop0 (Rt *3 !6{bO0.Qʝ H"Uqd\'Lz8w1AH) failed (rc=-5) [pid 5845] restart_syscall(<... resuming interrupted clone ...> [pid 5924] +++ exited with 0 +++ [pid 5845] <... restart_syscall resumed>) = 0 [pid 5849] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5924, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5845] umount2("./16", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5849] umount2("./19", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] openat(AT_FDCWD, "./16", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] <... openat resumed>) = 3 [pid 5849] openat(AT_FDCWD, "./19", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5845] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5849] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] getdents64(3, [pid 5849] getdents64(3, [pid 5845] <... getdents64 resumed>0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5849] <... getdents64 resumed>0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5845] umount2("./16/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] umount2("./19/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] <... umount2 resumed>) = 0 [pid 5845] umount2("./16/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] <... umount2 resumed>) = 0 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./16/file2", [pid 5849] umount2("./19/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5849] newfstatat(AT_FDCWD, "./19/file2", [pid 5845] umount2("./16/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./16/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5849] umount2("./19/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] <... openat resumed>) = 4 [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5849] openat(AT_FDCWD, "./19/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5845] newfstatat(4, "", [pid 5849] <... openat resumed>) = 4 [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5849] newfstatat(4, "", [pid 5845] getdents64(4, [pid 5849] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] <... getdents64 resumed>0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5849] getdents64(4, 0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5845] getdents64(4, 0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5849] getdents64(4, [pid 5845] close(4 [pid 5849] <... getdents64 resumed>0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5845] <... close resumed>) = 0 [pid 5849] close(4 [pid 5845] rmdir("./16/file2" [pid 5849] <... close resumed>) = 0 [pid 5849] rmdir("./19/file2" [pid 5845] <... rmdir resumed>) = 0 [pid 5845] umount2("./16/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] <... rmdir resumed>) = 0 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./16/binderfs", [pid 5849] umount2("./19/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5849] newfstatat(AT_FDCWD, "./19/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] unlink("./16/binderfs") = 0 [pid 5849] unlink("./19/binderfs" [pid 5845] getdents64(3, 0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5849] <... unlink resumed>) = 0 [pid 5849] getdents64(3, [pid 5845] close(3 [pid 5849] <... getdents64 resumed>0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5845] <... close resumed>) = 0 [pid 5849] close(3) = 0 [pid 5845] rmdir("./16" [pid 5849] rmdir("./19" [pid 5845] <... rmdir resumed>) = 0 [pid 5849] <... rmdir resumed>) = 0 [pid 5845] mkdir("./17", 0777 [pid 5849] mkdir("./20", 0777) = 0 [pid 5845] <... mkdir resumed>) = 0 [pid 5845] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5849] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5845] <... openat resumed>) = 3 [pid 5845] ioctl(3, LOOP_CLR_FD [pid 5849] <... openat resumed>) = 3 [pid 5845] <... ioctl resumed>) = 0 [pid 5849] ioctl(3, LOOP_CLR_FD [pid 5845] close(3 [pid 5849] <... ioctl resumed>) = 0 [pid 5845] <... close resumed>) = 0 [pid 5849] close(3 [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5926 attached [pid 5926] set_robust_list(0x55557569a660, 24 [pid 5845] <... clone resumed>, child_tidptr=0x55557569a650) = 5926 [pid 5926] <... set_robust_list resumed>) = 0 [pid 5926] chdir("./17" [pid 5849] <... close resumed>) = 0 [pid 5849] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5927 attached [pid 5927] set_robust_list(0x55557569a660, 24) = 0 [pid 5849] <... clone resumed>, child_tidptr=0x55557569a650) = 5927 [pid 5927] chdir("./20" [pid 5926] <... chdir resumed>) = 0 [pid 5927] <... chdir resumed>) = 0 [pid 5926] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5927] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5926] <... prctl resumed>) = 0 [pid 5927] setpgid(0, 0) = 0 [pid 5926] setpgid(0, 0 [pid 5927] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5926] <... setpgid resumed>) = 0 [pid 5926] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5927] <... openat resumed>) = 3 [pid 5926] <... openat resumed>) = 3 [pid 5927] write(3, "1000", 4 [pid 5926] write(3, "1000", 4 [pid 5927] <... write resumed>) = 4 [pid 5926] <... write resumed>) = 4 [pid 5927] close(3 [pid 5926] close(3 [pid 5927] <... close resumed>) = 0 [pid 5926] <... close resumed>) = 0 [pid 5927] symlink("/dev/binderfs", "./binderfs" [pid 5926] symlink("/dev/binderfs", "./binderfs" [pid 5927] <... symlink resumed>) = 0 [pid 5926] <... symlink resumed>) = 0 [pid 5927] write(1, "executing program\n", 18executing program ) = 18 executing program [pid 5926] write(1, "executing program\n", 18) = 18 [pid 5927] memfd_create("syzkaller", 0 [pid 5926] memfd_create("syzkaller", 0) = 3 [pid 5927] <... memfd_create resumed>) = 3 [pid 5927] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5926] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5927] <... mmap resumed>) = 0x7f5166800000 [pid 5926] <... mmap resumed>) = 0x7f5166800000 [pid 5927] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5926] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5927] <... write resumed>) = 524288 [pid 5927] munmap(0x7f5166800000, 138412032 [pid 5926] <... write resumed>) = 524288 [pid 5926] munmap(0x7f5166800000, 138412032 [pid 5927] <... munmap resumed>) = 0 [pid 5927] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5926] <... munmap resumed>) = 0 [pid 5927] ioctl(4, LOOP_SET_FD, 3 [pid 5926] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5926] ioctl(4, LOOP_SET_FD, 3 [pid 5927] <... ioctl resumed>) = 0 [pid 5927] close(3) = 0 [pid 5927] close(4) = 0 [pid 5927] mkdir("./file2", 0777 [pid 5926] <... ioctl resumed>) = 0 [pid 5927] <... mkdir resumed>) = 0 [pid 5926] close(3 [pid 5927] mount("/dev/loop4", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5926] <... close resumed>) = 0 [pid 5926] close(4) = 0 [pid 5926] mkdir("./file2", 0777) = 0 [pid 5926] mount("/dev/loop0", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5927] <... mount resumed>) = 0 [pid 5926] <... mount resumed>) = 0 [pid 5927] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5926] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5927] <... openat resumed>) = 3 [pid 5926] <... openat resumed>) = 3 [pid 5927] chdir("./file2" [pid 5926] chdir("./file2" [pid 5927] <... chdir resumed>) = 0 [pid 5926] <... chdir resumed>) = 0 [pid 5927] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5926] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5927] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5926] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5927] memfd_create("syzkaller", 0 [pid 5926] memfd_create("syzkaller", 0 [pid 5927] <... memfd_create resumed>) = 4 [pid 5926] <... memfd_create resumed>) = 4 [pid 5927] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5926] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5927] <... mmap resumed>) = 0x7f5166800000 [pid 5926] <... mmap resumed>) = 0x7f5166800000 [pid 5927] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [ 73.301273][ T5927] loop4: detected capacity change from 0 to 1024 [ 73.302150][ T5926] loop0: detected capacity change from 0 to 1024 [pid 5926] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288) = 524288 [pid 5927] <... write resumed>) = 524288 [pid 5927] munmap(0x7f5166800000, 138412032 [pid 5926] munmap(0x7f5166800000, 138412032 [pid 5927] <... munmap resumed>) = 0 [pid 5926] <... munmap resumed>) = 0 [pid 5927] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5926] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5927] close(4 [pid 5926] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5926] close(4 [pid 5927] <... close resumed>) = 0 [pid 5927] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5926] <... close resumed>) = 0 [pid 5927] <... openat resumed>) = 4 [pid 5927] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5926] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 5926] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5927] <... openat resumed>) = 5 [pid 5926] <... openat resumed>) = 5 [pid 5927] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}} [pid 5926] ioctl(4, LOOP_CONFIGURE, {fd=5, block_size=0, info={lo_offset=0, lo_number=0, lo_flags=LO_FLAGS_AUTOCLEAR|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xfe\xe8\xa2\xab\x78\xfc\x17\x9f\xd1\xf8\xa0\xe9\x1d\xda\xac\xa7\xbd\x64\xc6\xa4\xb4\xe0\x0d\x96\x83\xdd\xa1\xaf\x1e\xa8\x9d\xe2\xb7\xfb\x0a\x01", ...}} [pid 5927] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5927] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...} [pid 5926] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5926] ioctl(4, LOOP_SET_STATUS64, {lo_offset=0x5, lo_number=0, lo_flags=LO_FLAGS_USE_AOPS|LO_FLAGS_PARTSCAN|LO_FLAGS_DIRECT_IO, lo_file_name="\xeb\xbf\x52\x74\x8b\x0b\x2a\xff\x33\x0c\x21\x36\x7b\x06\x62\x4f\xde\x30\x88\x7f\xda\x17\x2e\xe2\x51\xca\x9d\xea\x03\xca\x09\x48\x80\x22\x55\x71\x64\x5c\xc0\x27\xcd\x4c\x7a\x81\x38\x8e\x08\xc0\xa4\xa8\x77\x31\x91\x41\x08\x48\xa8\x94\x10\xf3\x19\xbd\xe2"..., ...}) = 0 [ 73.425615][ T5927] loop0: detected capacity change from 1024 to 3 [pid 5926] exit_group(0) = ? [pid 5926] +++ exited with 0 +++ [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5926, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5927] <... ioctl resumed>) = 0 [pid 5845] umount2("./17", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5927] exit_group(0 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5927] <... exit_group resumed>) = ? [pid 5845] openat(AT_FDCWD, "./17", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5927] +++ exited with 0 +++ [pid 5845] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5849] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5927, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5849] restart_syscall(<... resuming interrupted clone ...> [pid 5845] getdents64(3, 0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5845] umount2("./17/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] <... restart_syscall resumed>) = 0 [pid 5849] umount2("./20", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] <... umount2 resumed>) = 0 [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] umount2("./17/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] openat(AT_FDCWD, "./20", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./17/file2", [pid 5849] <... openat resumed>) = 3 [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5849] newfstatat(3, "", [pid 5845] umount2("./17/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 73.475978][ T5927] Dev loop0: unable to read RDB block 3 [ 73.481629][ T5927] loop0: unable to read partition table [ 73.487506][ T5927] loop0: partition table beyond EOD, truncated [ 73.493704][ T5927] loop_reread_partitions: partition scan of loop0 (Rt *3 !6{bO0.Qʝ H"Uqd\'Lz8w1AH) failed (rc=-5) [pid 5845] openat(AT_FDCWD, "./17/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5849] getdents64(3, [pid 5845] <... openat resumed>) = 4 [pid 5849] <... getdents64 resumed>0x55557569b6f0 /* 4 entries */, 32768) = 112 [pid 5845] newfstatat(4, "", [pid 5849] umount2("./20/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] getdents64(4, 0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5845] getdents64(4, 0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5845] close(4) = 0 [pid 5845] rmdir("./17/file2" [pid 5849] <... umount2 resumed>) = 0 [pid 5845] <... rmdir resumed>) = 0 [pid 5849] umount2("./20/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] umount2("./17/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5849] newfstatat(AT_FDCWD, "./20/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] newfstatat(AT_FDCWD, "./17/binderfs", [pid 5849] umount2("./20/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5849] openat(AT_FDCWD, "./20/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5845] unlink("./17/binderfs" [pid 5849] <... openat resumed>) = 4 [pid 5845] <... unlink resumed>) = 0 [pid 5849] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5849] getdents64(4, [pid 5845] getdents64(3, [pid 5849] <... getdents64 resumed>0x5555756a3730 /* 2 entries */, 32768) = 48 [pid 5845] <... getdents64 resumed>0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5849] getdents64(4, [pid 5845] close(3 [pid 5849] <... getdents64 resumed>0x5555756a3730 /* 0 entries */, 32768) = 0 [pid 5845] <... close resumed>) = 0 [pid 5849] close(4 [pid 5845] rmdir("./17" [pid 5849] <... close resumed>) = 0 [pid 5849] rmdir("./20/file2") = 0 [pid 5849] umount2("./20/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] <... rmdir resumed>) = 0 [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] mkdir("./18", 0777 [pid 5849] newfstatat(AT_FDCWD, "./20/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5849] unlink("./20/binderfs" [pid 5845] <... mkdir resumed>) = 0 [pid 5849] <... unlink resumed>) = 0 [pid 5845] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5849] getdents64(3, 0x55557569b6f0 /* 0 entries */, 32768) = 0 [pid 5845] <... openat resumed>) = 3 [pid 5849] close(3 [pid 5845] ioctl(3, LOOP_CLR_FD [pid 5849] <... close resumed>) = 0 [pid 5849] rmdir("./20" [pid 5845] <... ioctl resumed>) = 0 [pid 5845] close(3 [pid 5849] <... rmdir resumed>) = 0 [pid 5849] mkdir("./21", 0777) = 0 [pid 5849] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5845] <... close resumed>) = 0 [pid 5849] <... openat resumed>) = 3 [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5849] ioctl(3, LOOP_CLR_FD) = 0 [pid 5849] close(3./strace-static-x86_64: Process 5928 attached [pid 5845] <... clone resumed>, child_tidptr=0x55557569a650) = 5928 [pid 5928] set_robust_list(0x55557569a660, 24) = 0 [pid 5849] <... close resumed>) = 0 [pid 5928] chdir("./18" [pid 5849] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5929 attached [pid 5928] <... chdir resumed>) = 0 [pid 5928] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5928] setpgid(0, 0) = 0 [pid 5929] set_robust_list(0x55557569a660, 24 [pid 5928] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5929] <... set_robust_list resumed>) = 0 [pid 5929] chdir("./21" [pid 5928] write(3, "1000", 4 [pid 5849] <... clone resumed>, child_tidptr=0x55557569a650) = 5929 [pid 5929] <... chdir resumed>) = 0 [pid 5928] <... write resumed>) = 4 [pid 5929] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5928] close(3 [pid 5929] setpgid(0, 0 [pid 5928] <... close resumed>) = 0 [pid 5929] <... setpgid resumed>) = 0 [pid 5928] symlink("/dev/binderfs", "./binderfs" [pid 5929] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5928] <... symlink resumed>) = 0 [pid 5929] write(3, "1000", 4executing program ) = 4 [pid 5928] write(1, "executing program\n", 18) = 18 [pid 5929] close(3) = 0 [pid 5928] memfd_create("syzkaller", 0 [pid 5929] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5928] <... memfd_create resumed>) = 3 [pid 5928] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5929] write(1, "executing program\n", 18 [pid 5928] <... mmap resumed>) = 0x7f5166800000 executing program [pid 5929] <... write resumed>) = 18 [pid 5929] memfd_create("syzkaller", 0) = 3 [pid 5929] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5928] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5929] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5928] <... write resumed>) = 524288 [pid 5928] munmap(0x7f5166800000, 138412032 [pid 5929] <... write resumed>) = 524288 [pid 5929] munmap(0x7f5166800000, 138412032 [pid 5928] <... munmap resumed>) = 0 [pid 5928] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5928] ioctl(4, LOOP_SET_FD, 3 [pid 5929] <... munmap resumed>) = 0 [pid 5929] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5929] ioctl(4, LOOP_SET_FD, 3 [pid 5928] <... ioctl resumed>) = 0 [pid 5928] close(3) = 0 [pid 5928] close(4) = 0 [pid 5929] <... ioctl resumed>) = 0 [pid 5929] close(3) = 0 [pid 5928] mkdir("./file2", 0777 [pid 5929] close(4) = 0 [pid 5928] <... mkdir resumed>) = 0 [pid 5929] mkdir("./file2", 0777) = 0 [pid 5929] mount("/dev/loop4", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5928] mount("/dev/loop0", "./file2", "hfsplus", MS_NOEXEC|MS_SYNCHRONOUS|MS_REC|MS_POSIXACL, "\x64\x65\x63\x6f\x6d\x70\x6f\x73\x65\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x34\x30\x2c\x74\x79\x70\x65\x3d\xa7\x86\x88\x28\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x31\x2c\x6e\x6c\x73\x3d\x63\x70\x38\x36\x36\x2c\x75\x6d\x61\x73\x6b\x3d\x30\x30\x30\x30"... [pid 5929] <... mount resumed>) = 0 [pid 5929] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 5929] chdir("./file2") = 0 [pid 5929] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5929] memfd_create("syzkaller", 0) = 4 [pid 5929] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5929] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5928] <... mount resumed>) = 0 [pid 5929] <... write resumed>) = 524288 [pid 5928] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5929] munmap(0x7f5166800000, 138412032 [pid 5928] <... openat resumed>) = 3 [ 73.741264][ T5928] loop0: detected capacity change from 0 to 1024 [ 73.742438][ T5929] loop4: detected capacity change from 0 to 1024 [pid 5928] chdir("./file2" [pid 5929] <... munmap resumed>) = 0 [pid 5928] <... chdir resumed>) = 0 [pid 5929] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5928] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5929] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5929] close(4 [pid 5928] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5928] memfd_create("syzkaller", 0) = 4 [pid 5928] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5166800000 [pid 5929] <... close resumed>) = 0 [pid 5929] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 5929] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 5