./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2537874361 <...> Warning: Permanently added '10.128.1.143' (ED25519) to the list of known hosts. execve("./syz-executor2537874361", ["./syz-executor2537874361"], 0x7ffc0f4de510 /* 10 vars */) = 0 brk(NULL) = 0x555589fa7000 brk(0x555589fa7d00) = 0x555589fa7d00 arch_prctl(ARCH_SET_FS, 0x555589fa7380) = 0 set_tid_address(0x555589fa7650) = 5847 set_robust_list(0x555589fa7660, 24) = 0 rseq(0x555589fa7ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor2537874361", 4096) = 28 getrandom("\x10\xef\x49\xc3\x1a\x65\xf9\xc4", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555589fa7d00 brk(0x555589fc8d00) = 0x555589fc8d00 brk(0x555589fc9000) = 0x555589fc9000 mprotect(0x7fbbc7ab5000, 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 5848 attached , child_tidptr=0x555589fa7650) = 5848 [pid 5847] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5848] set_robust_list(0x555589fa7660, 24./strace-static-x86_64: Process 5849 attached [pid 5849] set_robust_list(0x555589fa7660, 24 [pid 5847] <... clone resumed>, child_tidptr=0x555589fa7650) = 5849 [pid 5848] <... set_robust_list resumed>) = 0 [pid 5849] <... set_robust_list resumed>) = 0 [pid 5849] mkdir("./syzkaller.JtXqqo", 0700 [pid 5848] mkdir("./syzkaller.hXjubC", 0700 [pid 5847] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5850 attached , child_tidptr=0x555589fa7650) = 5850 [pid 5847] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5850] set_robust_list(0x555589fa7660, 24./strace-static-x86_64: Process 5851 attached ) = 0 [pid 5849] <... mkdir resumed>) = 0 [pid 5848] <... mkdir resumed>) = 0 [pid 5851] set_robust_list(0x555589fa7660, 24 [pid 5847] <... clone resumed>, child_tidptr=0x555589fa7650) = 5851 [pid 5851] <... set_robust_list resumed>) = 0 [pid 5849] chmod("./syzkaller.JtXqqo", 0777 [pid 5848] chmod("./syzkaller.hXjubC", 0777 [pid 5850] mkdir("./syzkaller.KFGac8", 0700 [pid 5848] <... chmod resumed>) = 0 [pid 5849] <... chmod resumed>) = 0 [pid 5847] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5851] mkdir("./syzkaller.jAGD44", 0700 [pid 5850] <... mkdir resumed>) = 0 [pid 5849] chdir("./syzkaller.JtXqqo" [pid 5848] chdir("./syzkaller.hXjubC" [pid 5850] chmod("./syzkaller.KFGac8", 0777./strace-static-x86_64: Process 5852 attached [pid 5851] <... mkdir resumed>) = 0 [pid 5849] <... chdir resumed>) = 0 [pid 5848] <... chdir resumed>) = 0 [pid 5847] <... clone resumed>, child_tidptr=0x555589fa7650) = 5852 [pid 5852] set_robust_list(0x555589fa7660, 24) = 0 [pid 5850] <... chmod resumed>) = 0 [pid 5849] mkdir("./0", 0777 [pid 5848] mkdir("./0", 0777 [pid 5851] chmod("./syzkaller.jAGD44", 0777) = 0 [pid 5850] chdir("./syzkaller.KFGac8") = 0 [pid 5852] mkdir("./syzkaller.uRyhV0", 0700 [pid 5850] mkdir("./0", 0777 [pid 5851] chdir("./syzkaller.jAGD44" [pid 5849] <... mkdir resumed>) = 0 [pid 5851] <... chdir resumed>) = 0 [pid 5850] <... mkdir resumed>) = 0 [pid 5848] <... mkdir resumed>) = 0 [pid 5851] mkdir("./0", 0777 [pid 5852] <... mkdir resumed>) = 0 [pid 5850] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5849] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5848] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5851] <... mkdir resumed>) = 0 [pid 5852] chmod("./syzkaller.uRyhV0", 0777) = 0 [pid 5851] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5850] <... openat resumed>) = 3 [pid 5849] <... openat resumed>) = 3 [pid 5848] <... openat resumed>) = 3 [pid 5848] ioctl(3, LOOP_CLR_FD [pid 5852] chdir("./syzkaller.uRyhV0" [pid 5851] <... openat resumed>) = 3 [pid 5850] ioctl(3, LOOP_CLR_FD [pid 5849] ioctl(3, LOOP_CLR_FD [pid 5848] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5852] <... chdir resumed>) = 0 [pid 5851] ioctl(3, LOOP_CLR_FD [pid 5850] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5849] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5852] mkdir("./0", 0777 [pid 5851] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5849] close(3 [pid 5848] close(3 [pid 5851] close(3 [pid 5850] close(3 [pid 5848] <... close resumed>) = 0 [pid 5851] <... close resumed>) = 0 [pid 5850] <... close resumed>) = 0 [pid 5852] <... mkdir resumed>) = 0 [pid 5849] <... close resumed>) = 0 [pid 5850] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5851] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5848] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5854 attached ./strace-static-x86_64: Process 5853 attached [pid 5852] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5849] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5852] <... openat resumed>) = 3 [pid 5851] <... clone resumed>, child_tidptr=0x555589fa7650) = 5854 [pid 5850] <... clone resumed>, child_tidptr=0x555589fa7650) = 5853 ./strace-static-x86_64: Process 5856 attached ./strace-static-x86_64: Process 5855 attached [pid 5854] set_robust_list(0x555589fa7660, 24 [pid 5853] set_robust_list(0x555589fa7660, 24 [pid 5852] ioctl(3, LOOP_CLR_FD [pid 5853] <... set_robust_list resumed>) = 0 [pid 5852] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5855] set_robust_list(0x555589fa7660, 24 [pid 5853] chdir("./0" [pid 5852] close(3 [pid 5856] set_robust_list(0x555589fa7660, 24 [pid 5849] <... clone resumed>, child_tidptr=0x555589fa7650) = 5856 [pid 5854] <... set_robust_list resumed>) = 0 [pid 5848] <... clone resumed>, child_tidptr=0x555589fa7650) = 5855 [pid 5856] <... set_robust_list resumed>) = 0 [pid 5853] <... chdir resumed>) = 0 [pid 5852] <... close resumed>) = 0 [pid 5856] chdir("./0" [pid 5855] <... set_robust_list resumed>) = 0 [pid 5854] chdir("./0" [pid 5856] <... chdir resumed>) = 0 [pid 5853] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5852] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5857 attached [pid 5855] chdir("./0" [pid 5853] <... prctl resumed>) = 0 [pid 5857] set_robust_list(0x555589fa7660, 24 [pid 5856] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5855] <... chdir resumed>) = 0 [pid 5854] <... chdir resumed>) = 0 [pid 5853] setpgid(0, 0 [pid 5857] <... set_robust_list resumed>) = 0 [pid 5855] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5854] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5856] <... prctl resumed>) = 0 [pid 5855] setpgid(0, 0 [pid 5854] <... prctl resumed>) = 0 [pid 5853] <... setpgid resumed>) = 0 [pid 5857] chdir("./0" [pid 5854] setpgid(0, 0 [pid 5856] setpgid(0, 0 [pid 5853] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5856] <... setpgid resumed>) = 0 [pid 5854] <... setpgid resumed>) = 0 [pid 5857] <... chdir resumed>) = 0 [pid 5856] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5855] <... setpgid resumed>) = 0 [pid 5854] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5853] <... openat resumed>) = 3 [pid 5857] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5856] <... openat resumed>) = 3 [pid 5855] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5854] <... openat resumed>) = 3 [pid 5857] setpgid(0, 0) = 0 [pid 5856] write(3, "1000", 4 [pid 5855] <... openat resumed>) = 3 [pid 5854] write(3, "1000", 4 [pid 5853] write(3, "1000", 4 [pid 5852] <... clone resumed>, child_tidptr=0x555589fa7650) = 5857 [pid 5857] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5856] <... write resumed>) = 4 [pid 5855] write(3, "1000", 4 [pid 5854] <... write resumed>) = 4 [pid 5853] <... write resumed>) = 4 [pid 5857] <... openat resumed>) = 3 [pid 5856] close(3 [pid 5855] <... write resumed>) = 4 [pid 5854] close(3 [pid 5853] close(3 [pid 5857] write(3, "1000", 4 [pid 5855] close(3 [pid 5857] <... write resumed>) = 4 [pid 5857] close(3 [pid 5855] <... close resumed>) = 0 [pid 5856] <... close resumed>) = 0 [pid 5855] symlink("/dev/binderfs", "./binderfs" [pid 5854] <... close resumed>) = 0 [pid 5853] <... close resumed>) = 0 [pid 5856] symlink("/dev/binderfs", "./binderfs" [pid 5854] symlink("/dev/binderfs", "./binderfs" [pid 5853] symlink("/dev/binderfs", "./binderfs" [pid 5857] <... close resumed>) = 0 [pid 5856] <... symlink resumed>) = 0 [pid 5854] <... symlink resumed>) = 0 [pid 5853] <... symlink resumed>) = 0 executing program [pid 5857] symlink("/dev/binderfs", "./binderfs" [pid 5855] <... symlink resumed>) = 0 [pid 5854] write(1, "executing program\n", 18executing program executing program executing program ) = 18 [pid 5857] <... symlink resumed>) = 0 [pid 5853] write(1, "executing program\n", 18 [pid 5857] write(1, "executing program\n", 18 [pid 5855] write(1, "executing program\n", 18 [pid 5857] <... write resumed>) = 18 [pid 5855] <... write resumed>) = 18 [pid 5857] memfd_create("syzkaller", 0executing program [pid 5856] write(1, "executing program\n", 18 [pid 5855] memfd_create("syzkaller", 0 [pid 5854] memfd_create("syzkaller", 0 [pid 5853] <... write resumed>) = 18 [pid 5856] <... write resumed>) = 18 [pid 5855] <... memfd_create resumed>) = 3 [pid 5857] <... memfd_create resumed>) = 3 [pid 5855] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5856] memfd_create("syzkaller", 0 [pid 5855] <... mmap resumed>) = 0x7fbbbf400000 [pid 5854] <... memfd_create resumed>) = 3 [pid 5853] memfd_create("syzkaller", 0 [pid 5856] <... memfd_create resumed>) = 3 [pid 5854] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5853] <... memfd_create resumed>) = 3 [pid 5856] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5854] <... mmap resumed>) = 0x7fbbbf400000 [pid 5853] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5856] <... mmap resumed>) = 0x7fbbbf400000 [pid 5853] <... mmap resumed>) = 0x7fbbbf400000 [pid 5857] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5856] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5857] <... mmap resumed>) = 0x7fbbbf400000 [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] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5856] <... write resumed>) = 524288 [pid 5853] <... write resumed>) = 524288 [pid 5857] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... write resumed>) = 524288 [pid 5853] munmap(0x7fbbbf400000, 138412032 [pid 5855] <... write resumed>) = 524288 [pid 5853] <... munmap resumed>) = 0 [pid 5855] munmap(0x7fbbbf400000, 138412032 [pid 5853] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5855] <... munmap resumed>) = 0 [pid 5853] <... openat resumed>) = 4 [pid 5856] munmap(0x7fbbbf400000, 138412032 [pid 5855] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5853] ioctl(4, LOOP_SET_FD, 3 [pid 5857] <... write resumed>) = 524288 [pid 5856] <... munmap resumed>) = 0 [pid 5855] <... openat resumed>) = 4 [pid 5856] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 5856] ioctl(4, LOOP_SET_FD, 3 [pid 5854] munmap(0x7fbbbf400000, 138412032) = 0 [pid 5857] munmap(0x7fbbbf400000, 138412032 [pid 5855] ioctl(4, LOOP_SET_FD, 3 [pid 5854] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5854] ioctl(4, LOOP_SET_FD, 3 [pid 5857] <... munmap resumed>) = 0 [pid 5855] <... ioctl resumed>) = 0 [pid 5857] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5855] close(3 [pid 5857] <... openat resumed>) = 4 [pid 5855] <... close resumed>) = 0 [pid 5857] ioctl(4, LOOP_SET_FD, 3 [pid 5855] close(4 [pid 5853] <... ioctl resumed>) = 0 [pid 5853] close(3) = 0 [pid 5853] close(4 [pid 5856] <... ioctl resumed>) = 0 [pid 5856] close(3) = 0 [pid 5856] close(4) = 0 [pid 5856] mkdir("./file2", 0777) = 0 [pid 5856] 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 5855] <... close resumed>) = 0 [pid 5853] <... close resumed>) = 0 [pid 5853] mkdir("./file2", 0777 [pid 5855] mkdir("./file2", 0777 [pid 5853] <... mkdir resumed>) = 0 [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] <... mkdir resumed>) = 0 [pid 5855] 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 5856] <... mount resumed>) = 0 [pid 5853] <... mount resumed>) = 0 [pid 5857] <... ioctl resumed>) = 0 [pid 5857] close(3 [pid 5856] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5855] <... mount resumed>) = 0 [pid 5857] <... close resumed>) = 0 [pid 5856] <... openat resumed>) = 3 [ 57.555254][ T5853] loop2: detected capacity change from 0 to 1024 [ 57.572682][ T5856] loop1: detected capacity change from 0 to 1024 [ 57.579940][ T5855] loop0: detected capacity change from 0 to 1024 [ 57.581701][ T5854] loop3: detected capacity change from 0 to 1024 [ 57.595375][ T5857] loop4: detected capacity change from 0 to 1024 [pid 5855] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5853] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5857] close(4 [pid 5856] chdir("./file2" [pid 5855] <... openat resumed>) = 3 [pid 5854] <... ioctl resumed>) = 0 [pid 5853] <... openat resumed>) = 3 [pid 5856] <... chdir resumed>) = 0 [pid 5856] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5855] chdir("./file2" [pid 5853] chdir("./file2" [pid 5856] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5855] <... chdir resumed>) = 0 [pid 5854] close(3 [pid 5853] <... chdir resumed>) = 0 [pid 5856] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5855] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5854] <... close resumed>) = 0 [pid 5853] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5856] <... openat resumed>) = 4 [pid 5855] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5854] close(4 [pid 5853] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5856] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5855] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5854] <... close resumed>) = 0 [pid 5853] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5857] <... close resumed>) = 0 [pid 5857] mkdir("./file2", 0777 [pid 5855] <... openat resumed>) = 4 [pid 5854] mkdir("./file2", 0777 [pid 5853] <... openat resumed>) = 4 [pid 5853] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5857] <... mkdir resumed>) = 0 [pid 5854] <... mkdir resumed>) = 0 [pid 5855] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [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 5857] 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 5855] <... openat resumed>) = 5 [pid 5853] <... openat resumed>) = 5 [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", ...}}) = -1 EBUSY (Device or resource busy) [pid 5856] <... 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", ...}} [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 5855] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5856] 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 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 5856] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5856] 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 5857] <... mount resumed>) = 0 [pid 5854] <... mount resumed>) = 0 [pid 5854] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5857] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 5857] chdir("./file2") = 0 [pid 5857] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5857] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5854] <... openat resumed>) = 3 [pid 5854] chdir("./file2") = 0 [pid 5854] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5854] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5855] <... ioctl resumed>) = 0 [ 57.674573][ T5853] loop0: detected capacity change from 1024 to 3 [pid 5855] ftruncate(-1, 4402345721857) = -1 EBADF (Bad file descriptor) [pid 5855] exit_group(0) = ? [pid 5857] <... openat resumed>) = 4 [pid 5857] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5856] <... ioctl resumed>) = 0 [pid 5857] <... openat resumed>) = 5 [pid 5857] 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 5857] 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 5856] ftruncate(-1, 4402345721857) = -1 EBADF (Bad file descriptor) [pid 5856] exit_group(0) = ? [pid 5853] <... ioctl resumed>) = 0 [pid 5853] ftruncate(-1, 4402345721857) = -1 EBADF (Bad file descriptor) [pid 5853] exit_group(0 [pid 5857] <... ioctl resumed>) = 0 [pid 5857] ftruncate(-1, 4402345721857 [pid 5856] +++ exited with 0 +++ [pid 5855] +++ exited with 0 +++ [pid 5854] <... openat resumed>) = 4 [pid 5853] <... exit_group resumed>) = ? [pid 5857] <... ftruncate resumed>) = -1 EBADF (Bad file descriptor) [pid 5854] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5857] exit_group(0) = ? [pid 5857] +++ exited with 0 +++ [pid 5853] +++ exited with 0 +++ [pid 5852] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5857, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5852] restart_syscall(<... resuming interrupted clone ...> [pid 5850] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5853, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5849] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5856, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5848] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5855, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5850] restart_syscall(<... resuming interrupted clone ...> [pid 5849] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5854] <... openat resumed>) = 5 [pid 5848] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW [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", ...}} [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5849] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5848] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5854] <... ioctl resumed>) = -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 5849] <... openat resumed>) = 3 [pid 5848] <... openat resumed>) = 3 [pid 5849] newfstatat(3, "", [pid 5852] <... restart_syscall resumed>) = 0 [pid 5850] <... restart_syscall resumed>) = 0 [pid 5848] newfstatat(3, "", [pid 5849] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5848] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5849] getdents64(3, [pid 5852] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5848] getdents64(3, [pid 5852] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [ 57.775670][ T5853] Dev loop0: unable to read RDB block 3 [ 57.784678][ T5853] loop0: unable to read partition table [ 57.790471][ T5853] loop0: partition table beyond EOD, truncated [ 57.797013][ T5853] loop_reread_partitions: partition scan of loop0 (Rt *3 !6{bO0.Qʝ H"Uqd\'Lz8w1AH) failed (rc=-5) [pid 5852] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5850] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] getdents64(3, [pid 5849] <... getdents64 resumed>0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5848] <... getdents64 resumed>0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5850] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5850] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5849] umount2("./0/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5848] umount2("./0/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5850] <... openat resumed>) = 3 [pid 5852] <... getdents64 resumed>0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5850] newfstatat(3, "", [pid 5852] umount2("./0/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5850] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5850] getdents64(3, 0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5850] umount2("./0/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] <... umount2 resumed>) = 0 [pid 5854] <... ioctl resumed>) = 0 [pid 5852] <... umount2 resumed>) = 0 [pid 5850] <... umount2 resumed>) = 0 [pid 5849] umount2("./0/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5854] ftruncate(-1, 4402345721857) = -1 EBADF (Bad file descriptor) [pid 5852] umount2("./0/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5854] exit_group(0 [pid 5852] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] newfstatat(AT_FDCWD, "./0/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5848] <... umount2 resumed>) = 0 [pid 5854] <... exit_group resumed>) = ? [pid 5848] umount2("./0/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] umount2("./0/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5852] openat(AT_FDCWD, "./0/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5852] newfstatat(4, "", [pid 5854] +++ exited with 0 +++ [pid 5850] umount2("./0/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5851] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5854, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5850] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5849] newfstatat(AT_FDCWD, "./0/file2", [pid 5848] newfstatat(AT_FDCWD, "./0/file2", [pid 5851] restart_syscall(<... resuming interrupted clone ...> [pid 5850] newfstatat(AT_FDCWD, "./0/file2", [pid 5849] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5848] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5852] getdents64(4, [pid 5850] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5849] umount2("./0/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5848] umount2("./0/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] <... getdents64 resumed>0x555589fb0730 /* 2 entries */, 32768) = 48 [pid 5850] umount2("./0/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] getdents64(4, [pid 5850] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5849] openat(AT_FDCWD, "./0/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5848] openat(AT_FDCWD, "./0/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5852] <... getdents64 resumed>0x555589fb0730 /* 0 entries */, 32768) = 0 [pid 5850] openat(AT_FDCWD, "./0/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5849] <... openat resumed>) = 4 [pid 5848] <... openat resumed>) = 4 [pid 5852] close(4 [pid 5850] <... openat resumed>) = 4 [pid 5849] newfstatat(4, "", [pid 5848] newfstatat(4, "", [pid 5852] <... close resumed>) = 0 [pid 5850] newfstatat(4, "", [pid 5849] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5848] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5852] rmdir("./0/file2" [pid 5850] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5849] getdents64(4, [pid 5848] getdents64(4, [pid 5850] getdents64(4, [pid 5849] <... getdents64 resumed>0x555589fb0730 /* 2 entries */, 32768) = 48 [pid 5848] <... getdents64 resumed>0x555589fb0730 /* 2 entries */, 32768) = 48 [pid 5850] <... getdents64 resumed>0x555589fb0730 /* 2 entries */, 32768) = 48 [pid 5849] getdents64(4, [pid 5848] getdents64(4, [pid 5850] getdents64(4, [pid 5849] <... getdents64 resumed>0x555589fb0730 /* 0 entries */, 32768) = 0 [pid 5848] <... getdents64 resumed>0x555589fb0730 /* 0 entries */, 32768) = 0 [pid 5850] <... getdents64 resumed>0x555589fb0730 /* 0 entries */, 32768) = 0 [pid 5849] close(4 [pid 5848] close(4 [pid 5850] close(4 [pid 5849] <... close resumed>) = 0 [pid 5848] <... close resumed>) = 0 [pid 5850] <... close resumed>) = 0 [pid 5848] rmdir("./0/file2" [pid 5852] <... rmdir resumed>) = 0 [pid 5851] <... restart_syscall resumed>) = 0 [pid 5850] rmdir("./0/file2" [pid 5849] rmdir("./0/file2" [pid 5852] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5850] <... rmdir resumed>) = 0 [pid 5848] <... rmdir resumed>) = 0 [pid 5852] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5849] <... rmdir resumed>) = 0 [pid 5848] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] newfstatat(AT_FDCWD, "./0/binderfs", [pid 5851] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5850] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5851] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5850] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5851] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5850] newfstatat(AT_FDCWD, "./0/binderfs", [pid 5851] <... openat resumed>) = 3 [pid 5850] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5851] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5850] unlink("./0/binderfs" [pid 5852] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5851] getdents64(3, [pid 5850] <... unlink resumed>) = 0 [pid 5849] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] unlink("./0/binderfs" [pid 5851] <... getdents64 resumed>0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5851] umount2("./0/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5848] newfstatat(AT_FDCWD, "./0/binderfs", [pid 5852] <... unlink resumed>) = 0 [pid 5850] getdents64(3, [pid 5849] newfstatat(AT_FDCWD, "./0/binderfs", [pid 5852] getdents64(3, [pid 5850] <... getdents64 resumed>0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5848] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5852] <... getdents64 resumed>0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5850] close(3 [pid 5849] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5852] close(3 [pid 5849] unlink("./0/binderfs" [pid 5848] unlink("./0/binderfs" [pid 5852] <... close resumed>) = 0 [pid 5852] rmdir("./0" [pid 5851] <... umount2 resumed>) = 0 [pid 5850] <... close resumed>) = 0 [pid 5849] <... unlink resumed>) = 0 [pid 5848] <... unlink resumed>) = 0 [pid 5848] getdents64(3, 0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5850] rmdir("./0" [pid 5848] close(3 [pid 5852] <... rmdir resumed>) = 0 [pid 5848] <... close resumed>) = 0 [pid 5849] getdents64(3, [pid 5848] rmdir("./0" [pid 5852] mkdir("./1", 0777 [pid 5850] <... rmdir resumed>) = 0 [pid 5849] <... getdents64 resumed>0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5848] <... rmdir resumed>) = 0 [pid 5849] close(3 [pid 5851] umount2("./0/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5850] mkdir("./1", 0777 [pid 5848] mkdir("./1", 0777 [pid 5851] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5850] <... mkdir resumed>) = 0 [pid 5852] <... mkdir resumed>) = 0 [pid 5851] newfstatat(AT_FDCWD, "./0/file2", [pid 5849] <... close resumed>) = 0 [pid 5848] <... mkdir resumed>) = 0 [pid 5851] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5851] umount2("./0/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5850] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5852] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5851] openat(AT_FDCWD, "./0/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5850] <... openat resumed>) = 3 [pid 5849] rmdir("./0" [pid 5848] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5852] <... openat resumed>) = 3 [pid 5851] <... openat resumed>) = 4 [pid 5852] ioctl(3, LOOP_CLR_FD [pid 5851] newfstatat(4, "", [pid 5850] ioctl(3, LOOP_CLR_FD [pid 5848] <... openat resumed>) = 3 [pid 5852] <... ioctl resumed>) = 0 [pid 5851] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5850] <... ioctl resumed>) = 0 [pid 5852] close(3 [pid 5851] getdents64(4, [pid 5850] close(3 [pid 5848] ioctl(3, LOOP_CLR_FD [pid 5852] <... close resumed>) = 0 [pid 5851] <... getdents64 resumed>0x555589fb0730 /* 2 entries */, 32768) = 48 [pid 5850] <... close resumed>) = 0 [pid 5849] <... rmdir resumed>) = 0 [pid 5848] <... ioctl resumed>) = 0 [pid 5851] getdents64(4, 0x555589fb0730 /* 0 entries */, 32768) = 0 [pid 5851] close(4) = 0 [pid 5851] rmdir("./0/file2") = 0 [pid 5849] mkdir("./1", 0777 [ 57.870913][ T12] kworker/u8:1: attempt to access beyond end of device [ 57.870913][ T12] loop0: rw=1, sector=206, nr_sectors = 8 limit=3 [ 57.886732][ T12] kworker/u8:1: attempt to access beyond end of device [ 57.886732][ T12] loop0: rw=2049, sector=198, nr_sectors = 16 limit=3 [pid 5848] close(3 [pid 5851] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5850] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5849] <... mkdir resumed>) = 0 [pid 5848] <... close resumed>) = 0 [pid 5851] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5851] newfstatat(AT_FDCWD, "./0/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5851] unlink("./0/binderfs") = 0 [pid 5849] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5849] ioctl(3, LOOP_CLR_FD./strace-static-x86_64: Process 5862 attached ) = 0 [pid 5848] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5863 attached [pid 5862] set_robust_list(0x555589fa7660, 24 [pid 5851] getdents64(3, [pid 5849] close(3 [pid 5851] <... getdents64 resumed>0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5851] close(3) = 0 [pid 5852] <... clone resumed>, child_tidptr=0x555589fa7650) = 5862 [pid 5851] rmdir("./0") = 0 [pid 5850] <... clone resumed>, child_tidptr=0x555589fa7650) = 5863 [pid 5848] <... clone resumed>, child_tidptr=0x555589fa7650) = 5864 [pid 5851] mkdir("./1", 0777) = 0 [pid 5849] <... close resumed>) = 0 ./strace-static-x86_64: Process 5864 attached [pid 5863] set_robust_list(0x555589fa7660, 24 [pid 5862] <... set_robust_list resumed>) = 0 [pid 5851] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5851] ioctl(3, LOOP_CLR_FD) = 0 [pid 5851] close(3 [pid 5862] chdir("./1" [pid 5864] set_robust_list(0x555589fa7660, 24 [pid 5863] <... set_robust_list resumed>) = 0 [pid 5862] <... chdir resumed>) = 0 [pid 5851] <... close resumed>) = 0 [pid 5849] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLDexecuting program [pid 5851] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5865 attached [pid 5864] <... set_robust_list resumed>) = 0 [pid 5863] chdir("./1" [pid 5862] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5865] set_robust_list(0x555589fa7660, 24) = 0 [pid 5865] chdir("./1") = 0 [pid 5865] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5865] setpgid(0, 0) = 0 [pid 5865] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5851] <... clone resumed>, child_tidptr=0x555589fa7650) = 5866 [pid 5865] <... openat resumed>) = 3 [pid 5865] write(3, "1000", 4) = 4 [pid 5865] close(3) = 0 [pid 5865] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5865] write(1, "executing program\n", 18) = 18 [pid 5865] memfd_create("syzkaller", 0) = 3 [pid 5865] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbbbf400000 ./strace-static-x86_64: Process 5866 attached [pid 5864] chdir("./1" [pid 5863] <... chdir resumed>) = 0 [pid 5862] <... prctl resumed>) = 0 [pid 5849] <... clone resumed>, child_tidptr=0x555589fa7650) = 5865 [pid 5866] set_robust_list(0x555589fa7660, 24 [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 [pid 5864] <... chdir resumed>) = 0 [pid 5863] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5862] setpgid(0, 0 [pid 5866] <... set_robust_list resumed>) = 0 [pid 5863] <... prctl resumed>) = 0 [pid 5862] <... setpgid resumed>) = 0 [pid 5866] chdir("./1" [pid 5862] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5863] setpgid(0, 0 [pid 5862] <... openat resumed>) = 3 [pid 5863] <... setpgid resumed>) = 0 [pid 5866] <... chdir resumed>) = 0 [pid 5864] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5862] write(3, "1000", 4 [pid 5866] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5863] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5864] <... prctl resumed>) = 0 [pid 5862] <... write resumed>) = 4 [pid 5866] setpgid(0, 0) = 0 [pid 5865] <... write resumed>) = 524288 [pid 5864] setpgid(0, 0 [pid 5863] <... openat resumed>) = 3 [pid 5862] close(3 [pid 5866] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5864] <... setpgid resumed>) = 0 [pid 5862] <... close resumed>) = 0 executing program [pid 5862] symlink("/dev/binderfs", "./binderfs" [pid 5864] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5862] <... symlink resumed>) = 0 [pid 5864] <... openat resumed>) = 3 [pid 5862] write(1, "executing program\n", 18) = 18 [pid 5866] <... openat resumed>) = 3 [pid 5864] write(3, "1000", 4 [pid 5862] memfd_create("syzkaller", 0 [pid 5866] write(3, "1000", 4 [pid 5864] <... write resumed>) = 4 [pid 5862] <... memfd_create resumed>) = 3 [pid 5866] <... write resumed>) = 4 [pid 5864] close(3 [pid 5863] write(3, "1000", 4 [pid 5866] close(3 [pid 5862] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5866] <... close resumed>) = 0 [pid 5864] <... close resumed>) = 0 [pid 5863] <... write resumed>) = 4 [pid 5864] symlink("/dev/binderfs", "./binderfs" [pid 5862] <... mmap resumed>) = 0x7fbbbf400000 [pid 5866] symlink("/dev/binderfs", "./binderfs" [pid 5863] close(3 [pid 5865] munmap(0x7fbbbf400000, 138412032 [pid 5864] <... symlink resumed>) = 0 [pid 5863] <... close resumed>) = 0 [pid 5866] <... symlink resumed>) = 0 [pid 5865] <... munmap resumed>) = 0 [pid 5863] symlink("/dev/binderfs", "./binderfs"executing program executing program [pid 5866] write(1, "executing program\n", 18 [pid 5865] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5863] <... symlink resumed>) = 0 [pid 5865] <... openat resumed>) = 4 [pid 5863] write(1, "executing program\n", 18 [pid 5866] <... write resumed>) = 18 [pid 5865] ioctl(4, LOOP_SET_FD, 3 [pid 5863] <... write resumed>) = 18 [pid 5866] memfd_create("syzkaller", 0 [pid 5864] write(1, "executing program\n", 18 [pid 5863] memfd_create("syzkaller", 0executing program [pid 5866] <... memfd_create resumed>) = 3 [pid 5864] <... write resumed>) = 18 [pid 5863] <... memfd_create resumed>) = 3 [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 5866] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5863] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5866] <... mmap resumed>) = 0x7fbbbf400000 [pid 5863] <... mmap resumed>) = 0x7fbbbf400000 [pid 5865] <... ioctl resumed>) = 0 [pid 5864] memfd_create("syzkaller", 0 [pid 5862] <... write resumed>) = 524288 [pid 5865] close(3 [pid 5864] <... memfd_create resumed>) = 3 [pid 5865] <... close resumed>) = 0 [pid 5864] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5865] close(4 [pid 5864] <... mmap resumed>) = 0x7fbbbf400000 [pid 5865] <... close 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 5865] mkdir("./file2", 0777) = 0 [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 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 5865] <... mount resumed>) = 0 [pid 5864] <... write resumed>) = 524288 [pid 5863] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] munmap(0x7fbbbf400000, 138412032 [pid 5865] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 5864] munmap(0x7fbbbf400000, 138412032 [pid 5863] <... write resumed>) = 524288 [pid 5862] <... munmap resumed>) = 0 [pid 5865] chdir("./file2") = 0 [pid 5865] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5865] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [ 58.064495][ T5865] loop1: detected capacity change from 0 to 1024 [pid 5865] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5862] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5864] <... munmap resumed>) = 0 [pid 5862] <... openat resumed>) = 4 [pid 5863] munmap(0x7fbbbf400000, 138412032 [pid 5866] <... write resumed>) = 524288 [pid 5865] <... openat resumed>) = 5 [pid 5864] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5862] ioctl(4, LOOP_SET_FD, 3 [pid 5864] <... openat resumed>) = 4 [pid 5863] <... munmap resumed>) = 0 [pid 5866] munmap(0x7fbbbf400000, 138412032 [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] ioctl(4, LOOP_SET_FD, 3 [pid 5863] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5862] <... ioctl resumed>) = 0 [pid 5863] <... openat resumed>) = 4 [pid 5865] <... ioctl resumed>) = 0 [pid 5864] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5862] close(3 [pid 5866] <... munmap resumed>) = 0 [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 5864] ioctl(4, LOOP_CLR_FD [pid 5863] ioctl(4, LOOP_SET_FD, 3 [pid 5862] <... close resumed>) = 0 [pid 5862] close(4) = 0 [pid 5862] mkdir("./file2", 0777) = 0 [pid 5862] 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] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5863] <... ioctl resumed>) = 0 [pid 5863] close(3) = 0 [pid 5866] <... openat resumed>) = 4 [pid 5863] close(4 [pid 5866] ioctl(4, LOOP_SET_FD, 3 [pid 5862] <... mount resumed>) = 0 [pid 5863] <... close resumed>) = 0 [pid 5863] mkdir("./file2", 0777) = 0 [pid 5863] 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 5866] <... ioctl resumed>) = 0 [pid 5862] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5866] close(3 [pid 5862] <... openat resumed>) = 3 [pid 5866] <... close resumed>) = 0 [pid 5862] chdir("./file2" [pid 5866] close(4 [pid 5862] <... chdir resumed>) = 0 [pid 5866] <... close resumed>) = 0 [pid 5863] <... mount resumed>) = 0 [pid 5862] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5863] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5862] <... openat resumed>) = -1 EBUSY (Device or resource busy) [ 58.136760][ T5862] loop4: detected capacity change from 0 to 1024 [ 58.150000][ T5863] loop2: detected capacity change from 0 to 1024 [ 58.172548][ T5866] loop3: detected capacity change from 0 to 1024 [pid 5866] mkdir("./file2", 0777 [pid 5863] <... openat resumed>) = 3 [pid 5862] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5863] chdir("./file2") = 0 [pid 5863] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5863] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5866] <... mkdir resumed>) = 0 [pid 5866] 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"...) = 0 [pid 5866] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [ 58.199911][ T5865] [ 58.202267][ T5865] ====================================================== [ 58.209313][ T5865] WARNING: possible circular locking dependency detected [ 58.216362][ T5865] 6.12.0-rc5-next-20241101-syzkaller #0 Not tainted [ 58.222961][ T5865] ------------------------------------------------------ [ 58.229983][ T5865] syz-executor253/5865 is trying to acquire lock: [ 58.236393][ T5865] ffff88805996a0b0 (&tree->tree_lock){+.+.}-{4:4}, at: hfsplus_find_init+0x14a/0x1c0 [ 58.245889][ T5865] [pid 5866] chdir("./file2") = 0 [pid 5866] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = -1 EBUSY (Device or resource busy) [ 58.245889][ T5865] but task is already holding lock: [ 58.253247][ T5865] ffff88807dec5ab8 (&sb->s_type->i_mutex_key#15){+.+.}-{4:4}, at: hfsplus_file_fsync+0xe8/0x4d0 [ 58.263712][ T5865] [ 58.263712][ T5865] which lock already depends on the new lock. [ 58.263712][ T5865] [ 58.274101][ T5865] [ 58.274101][ T5865] the existing dependency chain (in reverse order) is: [ 58.283108][ T5865] [ 58.283108][ T5865] -> #2 (&sb->s_type->i_mutex_key#15){+.+.}-{4:4}: [ 58.291800][ T5865] lock_acquire+0x1ed/0x550 [ 58.296812][ T5865] down_write+0x99/0x220 [ 58.301563][ T5865] hfsplus_file_fsync+0xe8/0x4d0 [ 58.307006][ T5865] __loop_update_dio+0x1a4/0x500 [ 58.312456][ T5865] loop_set_status+0x62b/0x8f0 [ 58.317730][ T5865] lo_ioctl+0xcbc/0x1f50 [ 58.322484][ T5865] blkdev_ioctl+0x57d/0x6a0 [ 58.327505][ T5865] __se_sys_ioctl+0xf9/0x170 [ 58.332600][ T5865] do_syscall_64+0xf3/0x230 [ 58.337610][ T5865] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 58.344012][ T5865] [ 58.344012][ T5865] -> #1 (&q->q_usage_counter(io)#17){++++}-{0:0}: [ 58.352597][ T5865] lock_acquire+0x1ed/0x550 [ 58.357606][ T5865] blk_mq_submit_bio+0x1510/0x2490 [ 58.363221][ T5865] __submit_bio+0x2c2/0x560 [ 58.368230][ T5865] submit_bio_noacct_nocheck+0x4d3/0xe30 [ 58.374364][ T5865] block_read_full_folio+0x93b/0xcd0 [ 58.380155][ T5865] filemap_read_folio+0x14b/0x630 [ 58.385685][ T5865] do_read_cache_folio+0x3f5/0x850 [ 58.391302][ T5865] do_read_cache_page+0x30/0x200 [ 58.396764][ T5865] __hfs_bnode_create+0x487/0x770 [ 58.402297][ T5865] hfsplus_bnode_find+0x237/0x10c0 [ 58.408091][ T5865] hfsplus_brec_find+0x183/0x570 [ 58.413533][ T5865] hfsplus_brec_read+0x2b/0x110 [ 58.418886][ T5865] hfsplus_find_cat+0x17f/0x5d0 [ 58.424244][ T5865] hfsplus_iget+0x483/0x680 [ 58.429260][ T5865] hfsplus_fill_super+0xc4d/0x1be0 [ 58.434876][ T5865] get_tree_bdev_flags+0x48c/0x5c0 [ 58.440501][ T5865] vfs_get_tree+0x90/0x2b0 [ 58.445422][ T5865] do_new_mount+0x2be/0xb40 [ 58.450432][ T5865] __se_sys_mount+0x2d6/0x3c0 [ 58.455614][ T5865] do_syscall_64+0xf3/0x230 [ 58.460623][ T5865] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 58.467031][ T5865] [ 58.467031][ T5865] -> #0 (&tree->tree_lock){+.+.}-{4:4}: [ 58.474743][ T5865] validate_chain+0x18ef/0x5920 [ 58.480103][ T5865] __lock_acquire+0x1397/0x2100 [ 58.485482][ T5865] lock_acquire+0x1ed/0x550 [ 58.490487][ T5865] __mutex_lock+0x1ac/0xee0 [ 58.495513][ T5865] hfsplus_find_init+0x14a/0x1c0 [ 58.500959][ T5865] hfsplus_cat_write_inode+0x1df/0x1070 [ 58.507009][ T5865] __writeback_single_inode+0x711/0x10d0 [ 58.513149][ T5865] writeback_single_inode+0x1f3/0x660 [ 58.519027][ T5865] sync_inode_metadata+0xc4/0x120 [ 58.524556][ T5865] hfsplus_file_fsync+0xf5/0x4d0 [ 58.530023][ T5865] __loop_update_dio+0x1a4/0x500 [ 58.535466][ T5865] loop_set_status+0x62b/0x8f0 [ 58.540735][ T5865] lo_ioctl+0xcbc/0x1f50 [ 58.545484][ T5865] blkdev_ioctl+0x57d/0x6a0 [ 58.550502][ T5865] __se_sys_ioctl+0xf9/0x170 [ 58.555597][ T5865] do_syscall_64+0xf3/0x230 [ 58.560602][ T5865] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 58.567003][ T5865] [ 58.567003][ T5865] other info that might help us debug this: [ 58.567003][ T5865] [ 58.577215][ T5865] Chain exists of: [ 58.577215][ T5865] &tree->tree_lock --> &q->q_usage_counter(io)#17 --> &sb->s_type->i_mutex_key#15 [ 58.577215][ T5865] [ 58.592345][ T5865] Possible unsafe locking scenario: [ 58.592345][ T5865] [ 58.599776][ T5865] CPU0 CPU1 [ 58.605122][ T5865] ---- ---- [ 58.610470][ T5865] lock(&sb->s_type->i_mutex_key#15); [ 58.615918][ T5865] lock(&q->q_usage_counter(io)#17); [ 58.623809][ T5865] lock(&sb->s_type->i_mutex_key#15); [ 58.631890][ T5865] lock(&tree->tree_lock); [ 58.636388][ T5865] [ 58.636388][ T5865] *** DEADLOCK *** [ 58.636388][ T5865] [ 58.644531][ T5865] 4 locks held by syz-executor253/5865: [ 58.650081][ T5865] #0: ffff888024b0a360 (&lo->lo_mutex){+.+.}-{4:4}, at: loop_set_status+0x2a/0x8f0 [ 58.659486][ T5865] #1: ffff888024e91db8 (&q->q_usage_counter(io)#17){++++}-{0:0}, at: blk_mq_freeze_queue+0x15/0x20 [ 58.670264][ T5865] #2: ffff888024e91df0 (&q->q_usage_counter(queue)){+.+.}-{0:0}, at: blk_mq_freeze_queue+0x15/0x20 [ 58.681034][ T5865] #3: ffff88807dec5ab8 (&sb->s_type->i_mutex_key#15){+.+.}-{4:4}, at: hfsplus_file_fsync+0xe8/0x4d0 [ 58.691898][ T5865] [ 58.691898][ T5865] stack backtrace: [ 58.697782][ T5865] CPU: 1 UID: 0 PID: 5865 Comm: syz-executor253 Not tainted 6.12.0-rc5-next-20241101-syzkaller #0 [ 58.708348][ T5865] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 58.718396][ T5865] Call Trace: [ 58.721662][ T5865] [ 58.724581][ T5865] dump_stack_lvl+0x241/0x360 [ 58.729249][ T5865] ? __pfx_dump_stack_lvl+0x10/0x10 [ 58.734433][ T5865] ? __pfx__printk+0x10/0x10 [ 58.739013][ T5865] print_circular_bug+0x13a/0x1b0 [ 58.744026][ T5865] check_noncircular+0x36a/0x4a0 [ 58.748951][ T5865] ? __pfx_check_noncircular+0x10/0x10 [ 58.754395][ T5865] ? lockdep_lock+0x123/0x2b0 [ 58.759065][ T5865] validate_chain+0x18ef/0x5920 [ 58.763932][ T5865] ? __pfx_validate_chain+0x10/0x10 [ 58.769207][ T5865] ? mark_lock+0x9a/0x360 [ 58.773543][ T5865] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 58.779512][ T5865] ? mark_lock+0x9a/0x360 [ 58.783825][ T5865] __lock_acquire+0x1397/0x2100 [ 58.788665][ T5865] lock_acquire+0x1ed/0x550 [ 58.793149][ T5865] ? hfsplus_find_init+0x14a/0x1c0 [ 58.798268][ T5865] ? __pfx_lock_acquire+0x10/0x10 [ 58.803279][ T5865] ? hfsplus_find_init+0x85/0x1c0 [ 58.808300][ T5865] ? hfsplus_cat_write_inode+0x1df/0x1070 [ 58.814026][ T5865] ? __pfx___might_resched+0x10/0x10 [ 58.819298][ T5865] ? __loop_update_dio+0x1a4/0x500 [ 58.824429][ T5865] ? loop_set_status+0x62b/0x8f0 [ 58.829376][ T5865] ? lo_ioctl+0xcbc/0x1f50 [ 58.833789][ T5865] ? blkdev_ioctl+0x57d/0x6a0 [ 58.838457][ T5865] ? __se_sys_ioctl+0xf9/0x170 [ 58.843219][ T5865] ? do_syscall_64+0xf3/0x230 [ 58.847880][ T5865] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 58.853939][ T5865] __mutex_lock+0x1ac/0xee0 [ 58.858427][ T5865] ? hfsplus_find_init+0x14a/0x1c0 [ 58.863524][ T5865] ? hfsplus_find_init+0x14a/0x1c0 [ 58.868619][ T5865] ? __pfx___mutex_lock+0x10/0x10 [ 58.873632][ T5865] ? rcu_is_watching+0x15/0xb0 [ 58.878382][ T5865] ? __kmalloc_noprof+0x2a5/0x4c0 [ 58.883396][ T5865] ? hfsplus_find_init+0x85/0x1c0 [ 58.888408][ T5865] hfsplus_find_init+0x14a/0x1c0 [ 58.893333][ T5865] hfsplus_cat_write_inode+0x1df/0x1070 [ 58.898866][ T5865] ? __pfx_hfsplus_cat_write_inode+0x10/0x10 [ 58.904839][ T5865] ? trace_contention_end+0x3c/0x120 [ 58.910108][ T5865] ? __mutex_lock+0x37f/0xee0 [ 58.914862][ T5865] ? __writeback_single_inode+0x48f/0x10d0 [ 58.920653][ T5865] ? do_raw_spin_lock+0x14f/0x370 [ 58.925665][ T5865] ? __pfx_lock_release+0x10/0x10 [ 58.930672][ T5865] ? hfsplus_write_inode+0x19c/0x5e0 [ 58.935946][ T5865] __writeback_single_inode+0x711/0x10d0 [ 58.941592][ T5865] writeback_single_inode+0x1f3/0x660 [ 58.946950][ T5865] sync_inode_metadata+0xc4/0x120 [ 58.951961][ T5865] ? __pfx_sync_inode_metadata+0x10/0x10 [ 58.957584][ T5865] ? __pfx_down_write+0x10/0x10 [ 58.962424][ T5865] ? kobject_uevent_env+0x54d/0x8e0 [ 58.967620][ T5865] ? kfree+0x196/0x420 [ 58.971670][ T5865] hfsplus_file_fsync+0xf5/0x4d0 [ 58.976594][ T5865] __loop_update_dio+0x1a4/0x500 [ 58.981515][ T5865] loop_set_status+0x62b/0x8f0 [ 58.986267][ T5865] lo_ioctl+0xcbc/0x1f50 [ 58.990500][ T5865] ? mark_lock+0x9a/0x360 [ 58.994815][ T5865] ? validate_chain+0x11e/0x5920 [ 58.999736][ T5865] ? __pfx_lo_ioctl+0x10/0x10 [ 59.004398][ T5865] ? mark_lock+0x9a/0x360 [ 59.008710][ T5865] ? __lock_acquire+0x1397/0x2100 [ 59.013739][ T5865] ? unwind_next_frame+0x18e6/0x22d0 [ 59.019132][ T5865] ? preempt_count_add+0x93/0x190 [ 59.024158][ T5865] ? is_bpf_text_address+0x285/0x2a0 [ 59.029780][ T5865] ? is_bpf_text_address+0x26/0x2a0 [ 59.034987][ T5865] ? __pfx_stack_trace_consume_entry+0x10/0x10 [ 59.041127][ T5865] ? kernel_text_address+0xa7/0xe0 [ 59.046231][ T5865] ? __kernel_text_address+0xd/0x40 [ 59.051414][ T5865] ? unwind_get_return_address+0x4d/0x90 [ 59.057031][ T5865] ? arch_stack_walk+0xfd/0x150 [ 59.061871][ T5865] ? stack_trace_save+0x118/0x1d0 [ 59.066888][ T5865] ? __pfx_stack_trace_save+0x10/0x10 [ 59.072246][ T5865] ? stack_depot_save_flags+0x29/0x830 [ 59.077695][ T5865] ? kasan_save_track+0x51/0x80 [ 59.082534][ T5865] ? kasan_save_track+0x3f/0x80 [ 59.087373][ T5865] ? kasan_save_free_info+0x40/0x50 [ 59.092558][ T5865] ? __kasan_slab_free+0x59/0x70 [ 59.097484][ T5865] ? kfree+0x196/0x420 [ 59.101533][ T5865] ? tomoyo_path_number_perm+0x679/0x860 [ 59.107152][ T5865] ? security_file_ioctl+0xc6/0x2a0 [ 59.112355][ T5865] ? __se_sys_ioctl+0x47/0x170 [ 59.117123][ T5865] ? do_syscall_64+0xf3/0x230 [ 59.121783][ T5865] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 59.127838][ T5865] ? do_vfs_ioctl+0xf08/0x2e40 [ 59.132591][ T5865] ? __pfx_do_vfs_ioctl+0x10/0x10 [ 59.137604][ T5865] ? mark_lock+0x9a/0x360 [ 59.141918][ T5865] ? tomoyo_path_number_perm+0x206/0x860 [ 59.147544][ T5865] ? __pfx_lock_release+0x10/0x10 [ 59.152579][ T5865] ? tomoyo_path_number_perm+0x679/0x860 [ 59.158207][ T5865] ? tomoyo_path_number_perm+0x679/0x860 [ 59.163829][ T5865] ? blkdev_common_ioctl+0xfca/0x2480 [ 59.169186][ T5865] ? __pfx_blkdev_common_ioctl+0x10/0x10 [ 59.174800][ T5865] ? tomoyo_path_number_perm+0x206/0x860 [ 59.180418][ T5865] ? __pfx_tomoyo_path_number_perm+0x10/0x10 [ 59.186389][ T5865] ? file_to_blk_mode+0xcc/0x140 [ 59.191311][ T5865] ? __pfx_lo_ioctl+0x10/0x10 [ 59.195974][ T5865] blkdev_ioctl+0x57d/0x6a0 [ 59.200465][ T5865] ? __pfx_blkdev_ioctl+0x10/0x10 [ 59.205473][ T5865] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 59.211786][ T5865] ? __pfx_blkdev_ioctl+0x10/0x10 [ 59.216790][ T5865] __se_sys_ioctl+0xf9/0x170 [ 59.221368][ T5865] do_syscall_64+0xf3/0x230 [ 59.225858][ T5865] ? clear_bhb_loop+0x35/0x90 [ 59.230521][ T5865] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 59.236404][ T5865] RIP: 0033:0x7fbbc7a41659 [ 59.240811][ T5865] 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 [ 59.260410][ T5865] RSP: 002b:00007ffedaced158 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 59.268838][ T5865] RAX: ffffffffffffffda RBX: 00007fbbc7a8a0a0 RCX: 00007fbbc7a41659 [ 59.276795][ T5865] RDX: 0000000020001300 RSI: 0000000000004c04 RDI: 0000000000000004 [ 59.284773][ T5865] RBP: 0000000000000000 R08: 0000000000000000 R09: 00007ffedaced190 [ 59.292747][ T5865] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffedaced17c [pid 5866] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 5865] <... ioctl resumed>) = 0 [pid 5864] <... ioctl resumed>) = 0 [pid 5863] <... openat resumed>) = 4 [pid 5862] <... openat resumed>) = 4 [pid 5865] ftruncate(-1, 4402345721857 [pid 5863] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5866] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5865] <... ftruncate resumed>) = -1 EBADF (Bad file descriptor) [pid 5864] ioctl(4, LOOP_SET_FD, 3 [pid 5862] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5864] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5865] exit_group(0 [pid 5864] close(4 [pid 5865] <... exit_group resumed>) = ? [pid 5864] <... close resumed>) = 0 [pid 5863] <... openat resumed>) = 5 [pid 5865] +++ exited with 0 +++ [pid 5864] close(3 [pid 5863] 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] <... close resumed>) = 0 [pid 5863] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5863] 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] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5865, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5864] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5866] <... openat resumed>) = 5 [pid 5862] <... 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", ...}} [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] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5864] <... openat resumed>) = 3 [pid 5863] <... ioctl resumed>) = 0 [pid 5862] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [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] 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 5863] ftruncate(-1, 4402345721857) = -1 EBADF (Bad file descriptor) [ 59.300699][ T5865] R13: 0000000000000001 R14: 431bde82d7b634db R15: 00007ffedaced1b0 [ 59.308658][ T5865] [pid 5864] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5849] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5864] <... openat resumed>) = 4 [pid 5863] exit_group(0 [pid 5849] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5863] <... exit_group resumed>) = ? [pid 5849] openat(AT_FDCWD, "./1", 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 5864] 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(3, [pid 5863] +++ exited with 0 +++ [pid 5850] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5863, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5850] restart_syscall(<... resuming interrupted clone ...> [pid 5849] <... getdents64 resumed>0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5849] umount2("./1/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EBUSY (Device or resource busy) [pid 5849] newfstatat(AT_FDCWD, "./1/file2", {st_mode=S_IFDIR|0766, st_size=10, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5850] <... restart_syscall resumed>) = 0 [pid 5849] umount2("./1/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EBUSY (Device or resource busy) [pid 5849] openat(AT_FDCWD, "./1/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5850] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] <... openat resumed>) = 4 [pid 5850] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5849] newfstatat(4, "", [pid 5850] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5849] <... newfstatat resumed>{st_mode=S_IFDIR|0766, st_size=10, ...}, AT_EMPTY_PATH) = 0 [pid 5850] newfstatat(3, "", [pid 5849] getdents64(4, [pid 5850] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5850] getdents64(3, 0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5850] umount2("./1/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] <... getdents64 resumed>0x555589fb0730 /* 4 entries */, 32768) = 112 [pid 5849] umount2("./1/file2/cgroup.stat", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5849] newfstatat(AT_FDCWD, "./1/file2/cgroup.stat", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5849] unlink("./1/file2/cgroup.stat") = 0 [pid 5849] umount2("./1/file2/file.c??d", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5862] <... ioctl resumed>) = 0 [pid 5850] <... umount2 resumed>) = 0 [pid 5849] <... umount2 resumed>) = -1 ENOENT (No such file or directory) [pid 5862] ftruncate(-1, 4402345721857 [pid 5849] newfstatat(AT_FDCWD, "./1/file2/file.c??d", [pid 5862] <... ftruncate resumed>) = -1 EBADF (Bad file descriptor) [pid 5849] <... newfstatat resumed>0x7ffedaceafa0, AT_SYMLINK_NOFOLLOW) = -1 ENOENT (No such file or directory) [pid 5862] exit_group(0 [pid 5850] umount2("./1/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] exit_group(1 [pid 5850] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5850] newfstatat(AT_FDCWD, "./1/file2", [pid 5862] <... exit_group resumed>) = ? [pid 5849] <... exit_group resumed>) = ? [pid 5850] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5850] umount2("./1/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5850] openat(AT_FDCWD, "./1/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5850] newfstatat(4, "", [pid 5862] +++ exited with 0 +++ [pid 5850] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5849] +++ exited with 1 +++ [pid 5847] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5849, si_uid=0, si_status=1, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5852] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5862, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5850] getdents64(4, [pid 5847] restart_syscall(<... resuming interrupted clone ...> [pid 5850] <... getdents64 resumed>0x555589fb0730 /* 2 entries */, 32768) = 48 [pid 5852] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5850] getdents64(4, [pid 5852] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5850] <... getdents64 resumed>0x555589fb0730 /* 0 entries */, 32768) = 0 [pid 5852] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5850] close(4 [pid 5852] <... openat resumed>) = 3 [pid 5850] <... close resumed>) = 0 [pid 5852] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [ 59.385610][ T5849] hfsplus: walked past end of dir [pid 5850] rmdir("./1/file2" [pid 5852] getdents64(3, [pid 5866] <... ioctl resumed>) = 0 [pid 5864] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5852] <... getdents64 resumed>0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5850] <... rmdir resumed>) = 0 [pid 5864] 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 5852] umount2("./1/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5866] ftruncate(-1, 4402345721857) = -1 EBADF (Bad file descriptor) [pid 5866] exit_group(0 [pid 5852] <... umount2 resumed>) = 0 [pid 5850] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] umount2("./1/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5850] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5866] <... exit_group resumed>) = ? [pid 5852] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] newfstatat(AT_FDCWD, "./1/file2", [pid 5850] newfstatat(AT_FDCWD, "./1/binderfs", [pid 5852] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5850] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5852] umount2("./1/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5850] unlink("./1/binderfs" [pid 5852] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5850] <... unlink resumed>) = 0 [pid 5866] +++ exited with 0 +++ [pid 5852] openat(AT_FDCWD, "./1/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5850] getdents64(3, [pid 5852] newfstatat(4, "", [pid 5851] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5866, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=0} --- [pid 5850] <... getdents64 resumed>0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5852] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5850] close(3 [pid 5852] getdents64(4, [pid 5850] <... close resumed>) = 0 [pid 5850] rmdir("./1" [pid 5852] <... getdents64 resumed>0x555589fb0730 /* 2 entries */, 32768) = 48 [pid 5851] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] getdents64(4, [pid 5850] <... rmdir resumed>) = 0 [pid 5852] <... getdents64 resumed>0x555589fb0730 /* 0 entries */, 32768) = 0 [pid 5851] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5850] mkdir("./2", 0777 [pid 5852] close(4 [pid 5851] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5852] <... close resumed>) = 0 [pid 5851] <... openat resumed>) = 3 [pid 5852] rmdir("./1/file2" [pid 5850] <... mkdir resumed>) = 0 [pid 5851] newfstatat(3, "", [pid 5850] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5852] <... rmdir resumed>) = 0 [pid 5851] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5852] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5851] getdents64(3, [pid 5852] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] newfstatat(AT_FDCWD, "./1/binderfs", [pid 5851] <... getdents64 resumed>0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5850] <... openat resumed>) = 3 [pid 5852] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5851] umount2("./1/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5850] ioctl(3, LOOP_CLR_FD [pid 5852] unlink("./1/binderfs" [pid 5850] <... ioctl resumed>) = 0 [pid 5850] close(3 [pid 5851] <... umount2 resumed>) = 0 [pid 5864] <... ioctl resumed>) = 0 [pid 5852] <... unlink resumed>) = 0 [pid 5851] umount2("./1/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5850] <... close resumed>) = 0 [pid 5864] ftruncate(-1, 4402345721857 [pid 5852] getdents64(3, [pid 5850] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5868 attached [pid 5864] <... ftruncate resumed>) = -1 EBADF (Bad file descriptor) [pid 5852] <... getdents64 resumed>0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5851] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] close(3 [pid 5864] exit_group(0 [pid 5852] <... close resumed>) = 0 [pid 5851] newfstatat(AT_FDCWD, "./1/file2", [pid 5850] <... clone resumed>, child_tidptr=0x555589fa7650) = 5868 [pid 5868] set_robust_list(0x555589fa7660, 24 [pid 5864] <... exit_group resumed>) = ? [pid 5852] rmdir("./1" [pid 5851] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5868] <... set_robust_list resumed>) = 0 [pid 5852] <... rmdir resumed>) = 0 [pid 5868] chdir("./2" [pid 5852] mkdir("./2", 0777 [pid 5868] <... chdir resumed>) = 0 [pid 5864] +++ exited with 0 +++ [pid 5852] <... mkdir resumed>) = 0 [pid 5851] umount2("./1/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5868] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5852] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5851] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5848] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5864, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5868] <... prctl resumed>) = 0 [pid 5852] <... openat resumed>) = 3 [pid 5851] openat(AT_FDCWD, "./1/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5848] restart_syscall(<... resuming interrupted clone ...> [pid 5868] setpgid(0, 0 [pid 5852] ioctl(3, LOOP_CLR_FD) = 0 [pid 5851] <... openat resumed>) = 4 [pid 5868] <... setpgid resumed>) = 0 [pid 5852] close(3 [pid 5851] newfstatat(4, "", [pid 5868] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5852] <... close resumed>) = 0 [pid 5868] <... openat resumed>) = 3 [pid 5868] write(3, "1000", 4) = 4 [pid 5852] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5851] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5848] <... restart_syscall resumed>) = 0 [pid 5868] close(3 [pid 5851] getdents64(4, [pid 5868] <... close resumed>) = 0 [pid 5852] <... clone resumed>, child_tidptr=0x555589fa7650) = 5869 [pid 5851] <... getdents64 resumed>0x555589fb0730 /* 2 entries */, 32768) = 48 ./strace-static-x86_64: Process 5869 attached [pid 5868] symlink("/dev/binderfs", "./binderfs" [pid 5851] getdents64(4, [pid 5848] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5869] set_robust_list(0x555589fa7660, 24 [pid 5868] <... symlink resumed>) = 0 executing program [pid 5851] <... getdents64 resumed>0x555589fb0730 /* 0 entries */, 32768) = 0 [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5869] <... set_robust_list resumed>) = 0 [pid 5868] write(1, "executing program\n", 18 [pid 5851] close(4 [pid 5848] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5868] <... write resumed>) = 18 [pid 5848] <... openat resumed>) = 3 [pid 5869] chdir("./2" [pid 5868] memfd_create("syzkaller", 0 [pid 5851] <... close resumed>) = 0 [pid 5848] newfstatat(3, "", [pid 5869] <... chdir resumed>) = 0 [pid 5868] <... memfd_create resumed>) = 3 [pid 5851] rmdir("./1/file2" [pid 5848] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5869] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5868] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5848] getdents64(3, [pid 5869] <... prctl resumed>) = 0 [pid 5868] <... mmap resumed>) = 0x7fbbbf400000 [pid 5851] <... rmdir resumed>) = 0 [pid 5848] <... getdents64 resumed>0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5869] setpgid(0, 0 [pid 5851] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5848] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5869] <... setpgid resumed>) = 0 [pid 5851] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5869] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5851] newfstatat(AT_FDCWD, "./1/binderfs", [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5869] <... openat resumed>) = 3 [pid 5851] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5848] newfstatat(AT_FDCWD, "./1/binderfs", [pid 5869] write(3, "1000", 4 [pid 5851] unlink("./1/binderfs" [pid 5848] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5869] <... write resumed>) = 4 [pid 5851] <... unlink resumed>) = 0 [pid 5848] unlink("./1/binderfs" [pid 5869] close(3 [pid 5868] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5851] getdents64(3, [pid 5869] <... close resumed>) = 0 [pid 5851] <... getdents64 resumed>0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5848] <... unlink resumed>) = 0 [pid 5869] symlink("/dev/binderfs", "./binderfs"executing program [pid 5851] close(3 [pid 5848] umount2("./1/cgroup.stat", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5869] <... symlink resumed>) = 0 [pid 5851] <... close resumed>) = 0 [pid 5869] write(1, "executing program\n", 18 [pid 5851] rmdir("./1" [pid 5869] <... write resumed>) = 18 [pid 5851] <... rmdir resumed>) = 0 [pid 5869] memfd_create("syzkaller", 0 [pid 5851] mkdir("./2", 0777 [pid 5869] <... memfd_create resumed>) = 3 [pid 5851] <... mkdir resumed>) = 0 [pid 5869] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5851] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5869] <... mmap resumed>) = 0x7fbbbf400000 [pid 5851] <... openat resumed>) = 3 [pid 5868] <... write resumed>) = 524288 [pid 5851] ioctl(3, LOOP_CLR_FD [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5868] munmap(0x7fbbbf400000, 138412032 [pid 5851] <... ioctl resumed>) = 0 [pid 5848] newfstatat(AT_FDCWD, "./1/cgroup.stat", [pid 5868] <... munmap resumed>) = 0 [pid 5851] close(3 [pid 5848] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5848] unlink("./1/cgroup.stat") = 0 [pid 5848] getdents64(3, 0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5848] close(3) = 0 [pid 5848] rmdir("./1" [pid 5868] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5848] <... rmdir resumed>) = 0 [pid 5868] <... openat resumed>) = 4 [pid 5851] <... close resumed>) = 0 [pid 5868] ioctl(4, LOOP_SET_FD, 3 [pid 5869] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5851] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5848] mkdir("./2", 0777./strace-static-x86_64: Process 5870 attached ) = 0 [pid 5851] <... clone resumed>, child_tidptr=0x555589fa7650) = 5870 [pid 5870] set_robust_list(0x555589fa7660, 24) = 0 [pid 5870] chdir("./2" [pid 5868] <... ioctl resumed>) = 0 [pid 5848] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5868] close(3 [pid 5870] <... chdir resumed>) = 0 [pid 5869] <... write resumed>) = 524288 [pid 5868] <... close resumed>) = 0 [pid 5848] <... openat resumed>) = 3 [pid 5870] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5869] munmap(0x7fbbbf400000, 138412032 [pid 5868] close(4 [pid 5848] ioctl(3, LOOP_CLR_FD [pid 5870] <... prctl resumed>) = 0 [pid 5869] <... munmap resumed>) = 0 [pid 5870] setpgid(0, 0 [pid 5868] <... close resumed>) = 0 [pid 5848] <... ioctl resumed>) = 0 [pid 5870] <... setpgid resumed>) = 0 [pid 5869] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5868] mkdir("./file2", 0777 [pid 5848] close(3 [pid 5870] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5869] <... openat resumed>) = 4 [pid 5848] <... close resumed>) = 0 [pid 5868] <... mkdir resumed>) = 0 [pid 5848] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5870] <... openat resumed>) = 3 [pid 5869] ioctl(4, LOOP_SET_FD, 3./strace-static-x86_64: Process 5871 attached [pid 5868] 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 5871] set_robust_list(0x555589fa7660, 24 [pid 5870] write(3, "1000", 4) = 4 [pid 5870] close(3) = 0 [pid 5870] symlink("/dev/binderfs", "./binderfs"executing program [pid 5871] <... set_robust_list resumed>) = 0 [pid 5870] <... symlink resumed>) = 0 [pid 5848] <... clone resumed>, child_tidptr=0x555589fa7650) = 5871 [pid 5870] write(1, "executing program\n", 18) = 18 [pid 5871] chdir("./2") = 0 [pid 5870] memfd_create("syzkaller", 0 [pid 5871] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5870] <... memfd_create resumed>) = 3 [pid 5870] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbbbf400000 [pid 5871] setpgid(0, 0 [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 5868] <... mount resumed>) = 0 [pid 5871] <... setpgid resumed>) = 0 [pid 5868] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5871] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5869] <... ioctl resumed>) = 0 [pid 5871] <... openat resumed>) = 3 [pid 5870] <... write resumed>) = 524288 [pid 5869] close(3 [pid 5868] <... openat resumed>) = 3 [pid 5871] write(3, "1000", 4 [pid 5870] munmap(0x7fbbbf400000, 138412032 [pid 5869] <... close resumed>) = 0 [pid 5868] chdir("./file2" [pid 5871] <... write resumed>) = 4 [pid 5869] close(4 [pid 5868] <... chdir resumed>) = 0 [pid 5871] close(3 [pid 5870] <... munmap resumed>) = 0 [pid 5869] <... close resumed>) = 0 [pid 5868] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5871] <... close resumed>) = 0 [pid 5869] mkdir("./file2", 0777 [pid 5868] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5871] symlink("/dev/binderfs", "./binderfs" [pid 5868] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5871] <... symlink resumed>) = 0 [pid 5869] <... mkdir resumed>) = 0 [pid 5868] <... openat resumed>) = 4 [pid 5868] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000executing program [pid 5871] write(1, "executing program\n", 18) = 18 [pid 5871] memfd_create("syzkaller", 0) = 3 [pid 5871] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5870] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5869] 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 5868] <... openat resumed>) = 5 [pid 5868] 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] <... mmap resumed>) = 0x7fbbbf400000 [pid 5870] <... openat resumed>) = 4 [pid 5868] <... ioctl resumed>) = 0 [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(4, LOOP_SET_FD, 3 [ 59.539107][ T5868] loop2: detected capacity change from 0 to 1024 [ 59.570136][ T5869] loop4: detected capacity change from 0 to 1024 [pid 5868] 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 5870] <... ioctl resumed>) = 0 [pid 5871] <... write resumed>) = 524288 [pid 5869] <... mount resumed>) = 0 [pid 5871] munmap(0x7fbbbf400000, 138412032) = 0 [pid 5870] close(3 [pid 5869] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5871] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5870] <... close resumed>) = 0 [pid 5869] <... openat resumed>) = 3 [pid 5870] close(4 [pid 5869] chdir("./file2" [pid 5868] <... ioctl resumed>) = 0 [pid 5871] <... openat resumed>) = 4 [pid 5870] <... close resumed>) = 0 [pid 5869] <... chdir resumed>) = 0 [pid 5870] mkdir("./file2", 0777 [pid 5869] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5870] <... mkdir resumed>) = 0 [pid 5869] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5869] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 5869] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5870] 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 5871] ioctl(4, LOOP_SET_FD, 3 [pid 5869] <... openat resumed>) = 5 [pid 5868] ftruncate(-1, 4402345721857 [pid 5871] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5869] 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 5868] <... ftruncate resumed>) = -1 EBADF (Bad file descriptor) [pid 5871] ioctl(4, LOOP_CLR_FD [pid 5869] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5868] exit_group(0 [pid 5871] <... ioctl resumed>) = 0 [pid 5869] 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 5868] <... exit_group resumed>) = ? [pid 5868] +++ exited with 0 +++ [pid 5850] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5868, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5850] restart_syscall(<... resuming interrupted clone ...> [pid 5871] ioctl(4, LOOP_SET_FD, 3 [pid 5870] <... mount resumed>) = 0 [pid 5870] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 5870] chdir("./file2") = 0 [pid 5870] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5870] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5850] <... restart_syscall resumed>) = 0 [pid 5850] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5850] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5850] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5850] getdents64(3, 0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5850] umount2("./2/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EBUSY (Device or resource busy) [pid 5850] newfstatat(AT_FDCWD, "./2/file2", {st_mode=S_IFDIR|0766, st_size=10, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 59.615249][ T5870] loop3: detected capacity change from 0 to 1024 [pid 5850] umount2("./2/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EBUSY (Device or resource busy) [pid 5850] openat(AT_FDCWD, "./2/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5850] newfstatat(4, "", {st_mode=S_IFDIR|0766, st_size=10, ...}, AT_EMPTY_PATH) = 0 [pid 5871] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5870] <... openat resumed>) = 4 [pid 5869] <... ioctl resumed>) = 0 [pid 5871] close(4 [pid 5850] getdents64(4, [pid 5871] <... close resumed>) = 0 [pid 5870] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5869] ftruncate(-1, 4402345721857) = -1 EBADF (Bad file descriptor) [pid 5869] exit_group(0) = ? [pid 5870] <... openat resumed>) = 5 [pid 5869] +++ exited with 0 +++ [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", ...}}) = -1 EBUSY (Device or resource busy) [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 5850] <... getdents64 resumed>0x555589fb0730 /* 4 entries */, 32768) = 112 [pid 5871] close(3 [pid 5852] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5869, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5852] restart_syscall(<... resuming interrupted clone ...> [pid 5850] umount2("./2/file2/cgroup.stat", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5850] newfstatat(AT_FDCWD, "./2/file2/cgroup.stat", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5871] <... close resumed>) = 0 [pid 5852] <... restart_syscall resumed>) = 0 [pid 5871] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5850] unlink("./2/file2/cgroup.stat") = 0 [pid 5850] umount2("./2/file2/file.c??d", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5850] <... umount2 resumed>) = -1 ENOENT (No such file or directory) [pid 5852] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5850] newfstatat(AT_FDCWD, "./2/file2/file.c??d", 0x7ffedaceafa0, AT_SYMLINK_NOFOLLOW) = -1 ENOENT (No such file or directory) [pid 5871] <... openat resumed>) = 3 [pid 5870] <... ioctl resumed>) = 0 [pid 5852] newfstatat(3, "", [pid 5850] exit_group(1 [pid 5871] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 4 [ 59.705367][ T5850] hfsplus: walked past end of dir [pid 5871] 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 5870] ftruncate(-1, 4402345721857 [pid 5852] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5850] <... exit_group resumed>) = ? [pid 5871] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5870] <... ftruncate resumed>) = -1 EBADF (Bad file descriptor) [pid 5871] 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 5870] exit_group(0) = ? [pid 5870] +++ exited with 0 +++ [pid 5852] getdents64(3, [pid 5850] +++ exited with 1 +++ [pid 5847] <... restart_syscall resumed>) = ? ERESTART_RESTARTBLOCK (Interrupted by signal) [pid 5847] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5850, si_uid=0, si_status=1, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5847] restart_syscall(<... resuming interrupted restart_syscall ...> [pid 5852] <... getdents64 resumed>0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5851] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5870, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 5852] umount2("./2/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5851] restart_syscall(<... resuming interrupted clone ...> [pid 5852] <... umount2 resumed>) = 0 [pid 5852] umount2("./2/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5851] <... restart_syscall resumed>) = 0 [pid 5852] newfstatat(AT_FDCWD, "./2/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5852] umount2("./2/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5851] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5851] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] openat(AT_FDCWD, "./2/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5851] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5852] newfstatat(4, "", [pid 5851] <... openat resumed>) = 3 [pid 5852] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5851] newfstatat(3, "", [pid 5852] getdents64(4, [pid 5851] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5852] <... getdents64 resumed>0x555589fb0730 /* 2 entries */, 32768) = 48 [pid 5852] getdents64(4, [pid 5851] getdents64(3, [pid 5852] <... getdents64 resumed>0x555589fb0730 /* 0 entries */, 32768) = 0 [pid 5851] <... getdents64 resumed>0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5852] close(4) = 0 [pid 5851] umount2("./2/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5871] <... ioctl resumed>) = 0 [pid 5852] rmdir("./2/file2" [pid 5871] ftruncate(-1, 4402345721857 [pid 5852] <... rmdir resumed>) = 0 [pid 5871] <... ftruncate resumed>) = -1 EBADF (Bad file descriptor) [pid 5871] exit_group(0) = ? [pid 5852] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5852] newfstatat(AT_FDCWD, "./2/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5852] unlink("./2/binderfs") = 0 [pid 5871] +++ exited with 0 +++ [pid 5848] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5871, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5848] restart_syscall(<... resuming interrupted clone ...> [pid 5852] getdents64(3, 0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5852] close(3) = 0 [pid 5852] rmdir("./2" [pid 5851] <... umount2 resumed>) = 0 [pid 5848] <... restart_syscall resumed>) = 0 [pid 5851] umount2("./2/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] <... rmdir resumed>) = 0 [pid 5851] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5848] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] mkdir("./3", 0777 [pid 5851] newfstatat(AT_FDCWD, "./2/file2", [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5851] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5848] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5851] umount2("./2/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] <... mkdir resumed>) = 0 [pid 5851] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5848] <... openat resumed>) = 3 [pid 5852] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5851] openat(AT_FDCWD, "./2/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5848] newfstatat(3, "", [pid 5851] <... openat resumed>) = 4 [pid 5852] ioctl(3, LOOP_CLR_FD [pid 5848] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5852] <... ioctl resumed>) = 0 [pid 5851] newfstatat(4, "", [pid 5848] getdents64(3, [pid 5852] close(3 [pid 5851] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5848] <... getdents64 resumed>0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5852] <... close resumed>) = 0 [pid 5851] getdents64(4, [pid 5848] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5851] <... getdents64 resumed>0x555589fb0730 /* 2 entries */, 32768) = 48 ./strace-static-x86_64: Process 5872 attached [pid 5851] getdents64(4, [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5872] set_robust_list(0x555589fa7660, 24 [pid 5852] <... clone resumed>, child_tidptr=0x555589fa7650) = 5872 [pid 5851] <... getdents64 resumed>0x555589fb0730 /* 0 entries */, 32768) = 0 [pid 5872] <... set_robust_list resumed>) = 0 [pid 5851] close(4 [pid 5848] newfstatat(AT_FDCWD, "./2/binderfs", [pid 5872] chdir("./3" [pid 5851] <... close resumed>) = 0 [pid 5848] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5851] rmdir("./2/file2") = 0 [pid 5872] <... chdir resumed>) = 0 [pid 5848] unlink("./2/binderfs") = 0 [pid 5872] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5851] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5848] umount2("./2/cgroup.stat", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5872] <... prctl resumed>) = 0 [pid 5851] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5872] setpgid(0, 0 [pid 5851] newfstatat(AT_FDCWD, "./2/binderfs", [pid 5848] newfstatat(AT_FDCWD, "./2/cgroup.stat", [pid 5872] <... setpgid resumed>) = 0 [pid 5851] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5872] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5848] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5851] unlink("./2/binderfs") = 0 [pid 5848] unlink("./2/cgroup.stat" [pid 5872] <... openat resumed>) = 3 [pid 5851] getdents64(3, 0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5872] write(3, "1000", 4 [pid 5848] <... unlink resumed>) = 0 [pid 5872] <... write resumed>) = 4 [pid 5872] close(3) = 0 [pid 5851] close(3 [pid 5848] getdents64(3, [pid 5851] <... close resumed>) = 0 [pid 5848] <... getdents64 resumed>0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5851] rmdir("./2" [pid 5848] close(3 [pid 5872] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 5848] <... close resumed>) = 0 [pid 5872] write(1, "executing program\n", 18 [pid 5851] <... rmdir resumed>) = 0 [pid 5848] rmdir("./2" [pid 5872] <... write resumed>) = 18 [pid 5872] memfd_create("syzkaller", 0) = 3 [pid 5851] mkdir("./3", 0777 [pid 5848] <... rmdir resumed>) = 0 [pid 5872] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5851] <... mkdir resumed>) = 0 [pid 5872] <... mmap resumed>) = 0x7fbbbf400000 [pid 5848] mkdir("./3", 0777 [pid 5851] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5848] <... mkdir resumed>) = 0 [pid 5851] <... openat resumed>) = 3 [pid 5851] ioctl(3, LOOP_CLR_FD) = 0 [pid 5848] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5851] close(3 [pid 5848] <... openat resumed>) = 3 [pid 5851] <... close resumed>) = 0 [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 5848] ioctl(3, LOOP_CLR_FD [pid 5872] <... write resumed>) = 524288 [pid 5851] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5848] <... ioctl resumed>) = 0 [pid 5848] close(3) = 0 [pid 5848] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5874 attached ./strace-static-x86_64: Process 5873 attached [pid 5872] munmap(0x7fbbbf400000, 138412032 [pid 5874] set_robust_list(0x555589fa7660, 24) = 0 [pid 5873] set_robust_list(0x555589fa7660, 24 [pid 5874] chdir("./3" [pid 5873] <... set_robust_list resumed>) = 0 [pid 5872] <... munmap resumed>) = 0 [pid 5848] <... clone resumed>, child_tidptr=0x555589fa7650) = 5873 [pid 5851] <... clone resumed>, child_tidptr=0x555589fa7650) = 5874 [pid 5874] <... chdir resumed>) = 0 [pid 5873] chdir("./3" [pid 5874] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5872] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5874] <... prctl resumed>) = 0 [pid 5873] <... chdir resumed>) = 0 [pid 5874] setpgid(0, 0 [pid 5872] <... openat resumed>) = 4 [pid 5874] <... setpgid resumed>) = 0 [pid 5873] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5872] ioctl(4, LOOP_SET_FD, 3 [pid 5874] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5873] <... prctl resumed>) = 0 [pid 5873] setpgid(0, 0) = 0 [pid 5873] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5873] write(3, "1000", 4 [pid 5874] <... openat resumed>) = 3 [pid 5873] <... write resumed>) = 4 [pid 5872] <... ioctl resumed>) = 0 [pid 5874] write(3, "1000", 4 [pid 5873] close(3 [pid 5872] close(3 [pid 5874] <... write resumed>) = 4 [pid 5873] <... close resumed>) = 0 [pid 5872] <... close resumed>) = 0 [pid 5874] close(3 [pid 5873] symlink("/dev/binderfs", "./binderfs" [pid 5872] close(4 [pid 5874] <... close resumed>) = 0 [pid 5873] <... symlink resumed>) = 0 [pid 5872] <... close resumed>) = 0 [pid 5874] symlink("/dev/binderfs", "./binderfs" [pid 5873] write(1, "executing program\n", 18 [pid 5872] mkdir("./file2", 0777executing program [pid 5873] <... write resumed>) = 18 [pid 5874] <... symlink resumed>) = 0 [pid 5872] <... mkdir resumed>) = 0 [pid 5874] write(1, "executing program\n", 18 [pid 5873] memfd_create("syzkaller", 0executing program [pid 5872] 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 5874] <... write resumed>) = 18 [pid 5873] <... memfd_create resumed>) = 3 [pid 5874] memfd_create("syzkaller", 0 [pid 5873] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5874] <... memfd_create resumed>) = 3 [pid 5873] <... mmap resumed>) = 0x7fbbbf400000 [pid 5874] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [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 5874] <... mmap resumed>) = 0x7fbbbf400000 [pid 5872] <... mount resumed>) = 0 [pid 5872] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [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 5873] <... write resumed>) = 524288 [pid 5872] <... openat resumed>) = 3 [pid 5872] chdir("./file2") = 0 [pid 5872] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5874] <... write resumed>) = 524288 [pid 5873] munmap(0x7fbbbf400000, 138412032 [pid 5872] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5874] munmap(0x7fbbbf400000, 138412032) = 0 [ 59.910558][ T5872] loop4: detected capacity change from 0 to 1024 [pid 5874] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5873] <... munmap resumed>) = 0 [pid 5872] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5874] <... openat resumed>) = 4 [pid 5874] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5873] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5872] <... openat resumed>) = 4 [pid 5873] <... openat resumed>) = 4 [pid 5873] ioctl(4, LOOP_SET_FD, 3 [pid 5874] close(3 [pid 5873] <... ioctl resumed>) = 0 [pid 5872] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5874] <... close resumed>) = 0 [pid 5873] close(3 [pid 5874] close(4 [pid 5873] <... close resumed>) = 0 [pid 5874] <... close resumed>) = 0 [pid 5873] close(4 [pid 5872] <... openat resumed>) = 5 [pid 5874] mkdir("./file2", 0777 [pid 5873] <... close resumed>) = 0 [pid 5874] <... mkdir resumed>) = 0 [pid 5873] mkdir("./file2", 0777 [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) [pid 5873] <... mkdir resumed>) = 0 [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] 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] 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"...) = 0 [pid 5874] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 5874] chdir("./file2") = 0 [pid 5874] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = -1 EBUSY (Device or resource busy) [ 59.976803][ T5874] loop3: detected capacity change from 0 to 1024 [ 59.984076][ T5873] loop0: detected capacity change from 0 to 1024 [pid 5874] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 5874] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 5 [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", ...}}) = -1 EBUSY (Device or resource busy) [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 5873] <... mount resumed>) = -1 EINVAL (Invalid argument) [ 60.032595][ T5872] loop0: detected capacity change from 1024 to 3 [ 60.039473][ T5873] Dev loop0: unable to read RDB block 3 [ 60.045118][ T5873] loop0: unable to read partition table [ 60.051231][ T5873] loop0: partition table beyond EOD, truncated [ 60.058253][ T5873] hfsplus: unable to find HFS+ superblock [ 60.064352][ T5872] Dev loop0: unable to read RDB block 3 [ 60.069937][ T5872] loop0: unable to read partition table [ 60.076227][ T5872] loop0: partition table beyond EOD, truncated [pid 5873] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5872] <... ioctl resumed>) = 0 [pid 5872] ftruncate(-1, 4402345721857) = -1 EBADF (Bad file descriptor) [pid 5872] exit_group(0) = ? [pid 5874] <... ioctl resumed>) = 0 [pid 5873] <... openat resumed>) = 3 [pid 5874] ftruncate(-1, 4402345721857) = -1 EBADF (Bad file descriptor) [pid 5873] ioctl(3, LOOP_CLR_FD [pid 5874] exit_group(0 [pid 5873] <... ioctl resumed>) = 0 [pid 5874] <... exit_group resumed>) = ? [pid 5873] close(3 [pid 5872] +++ exited with 0 +++ [pid 5873] <... close resumed>) = 0 [pid 5874] +++ exited with 0 +++ [pid 5873] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5852] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5872, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5873] <... openat resumed>) = 3 [pid 5852] restart_syscall(<... resuming interrupted clone ...> [pid 5851] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5874, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5851] restart_syscall(<... resuming interrupted clone ...> [pid 5873] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 4 [pid 5873] 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", ...}}) = -1 EBUSY (Device or resource busy) [pid 5852] <... restart_syscall resumed>) = 0 [pid 5851] <... restart_syscall resumed>) = 0 [pid 5873] 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 5852] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5851] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5851] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 60.082674][ T5872] loop_reread_partitions: partition scan of loop0 (Rt *3 !6{bO0.Qʝ H"Uqd\'Lz8w1AH) failed (rc=-5) [pid 5852] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5851] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5852] <... openat resumed>) = 3 [pid 5851] <... openat resumed>) = 3 [pid 5852] newfstatat(3, "", [pid 5851] newfstatat(3, "", [pid 5852] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5852] getdents64(3, 0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5851] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5852] umount2("./3/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5851] getdents64(3, 0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5851] umount2("./3/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5873] <... ioctl resumed>) = 0 [pid 5852] <... umount2 resumed>) = 0 [pid 5852] umount2("./3/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5873] ftruncate(-1, 4402345721857 [pid 5851] <... umount2 resumed>) = 0 [pid 5873] <... ftruncate resumed>) = -1 EBADF (Bad file descriptor) [pid 5852] newfstatat(AT_FDCWD, "./3/file2", [pid 5873] exit_group(0 [pid 5851] umount2("./3/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5873] <... exit_group resumed>) = ? [pid 5852] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5851] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] umount2("./3/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5851] newfstatat(AT_FDCWD, "./3/file2", [pid 5852] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5851] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5851] umount2("./3/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5851] openat(AT_FDCWD, "./3/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5873] +++ exited with 0 +++ [pid 5852] openat(AT_FDCWD, "./3/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5851] <... openat resumed>) = 4 [pid 5851] newfstatat(4, "", [pid 5852] <... openat resumed>) = 4 [pid 5848] --- 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 5852] newfstatat(4, "", [pid 5851] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5848] restart_syscall(<... resuming interrupted clone ...> [pid 5852] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5851] getdents64(4, [pid 5848] <... restart_syscall resumed>) = 0 [pid 5852] getdents64(4, [pid 5851] <... getdents64 resumed>0x555589fb0730 /* 2 entries */, 32768) = 48 [pid 5852] <... getdents64 resumed>0x555589fb0730 /* 2 entries */, 32768) = 48 [pid 5851] getdents64(4, [pid 5852] getdents64(4, 0x555589fb0730 /* 0 entries */, 32768) = 0 [pid 5852] close(4 [pid 5851] <... getdents64 resumed>0x555589fb0730 /* 0 entries */, 32768) = 0 [pid 5848] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] <... close resumed>) = 0 [pid 5851] close(4 [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5851] <... close resumed>) = 0 [pid 5852] rmdir("./3/file2" [pid 5848] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5851] rmdir("./3/file2") = 0 [pid 5852] <... rmdir resumed>) = 0 [pid 5848] <... openat resumed>) = 3 [pid 5851] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5848] newfstatat(3, "", [pid 5851] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5851] newfstatat(AT_FDCWD, "./3/binderfs", [pid 5848] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5851] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5848] getdents64(3, 0x555589fa86f0 /* 5 entries */, 32768) = 144 [pid 5852] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5851] unlink("./3/binderfs") = 0 [pid 5848] umount2("./3/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] newfstatat(AT_FDCWD, "./3/binderfs", [pid 5851] getdents64(3, [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5851] <... getdents64 resumed>0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5848] newfstatat(AT_FDCWD, "./3/file2", [pid 5852] unlink("./3/binderfs" [pid 5851] close(3 [pid 5848] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5851] <... close resumed>) = 0 [pid 5848] umount2("./3/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] <... unlink resumed>) = 0 [pid 5851] rmdir("./3" [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] getdents64(3, [pid 5848] openat(AT_FDCWD, "./3/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5852] <... getdents64 resumed>0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5851] <... rmdir resumed>) = 0 [pid 5852] close(3 [pid 5848] <... openat resumed>) = 4 [pid 5852] <... close resumed>) = 0 [pid 5851] mkdir("./4", 0777 [pid 5848] newfstatat(4, "", [pid 5852] rmdir("./3" [pid 5851] <... mkdir resumed>) = 0 [pid 5848] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5851] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5851] ioctl(3, LOOP_CLR_FD [pid 5852] <... rmdir resumed>) = 0 [pid 5848] getdents64(4, [pid 5851] <... ioctl resumed>) = 0 [pid 5851] close(3) = 0 [pid 5852] mkdir("./4", 0777 [pid 5848] <... getdents64 resumed>0x555589fb0730 /* 2 entries */, 32768) = 48 [pid 5851] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5875 attached [pid 5852] <... mkdir resumed>) = 0 [pid 5848] getdents64(4, [pid 5875] set_robust_list(0x555589fa7660, 24 [pid 5852] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5851] <... clone resumed>, child_tidptr=0x555589fa7650) = 5875 [pid 5848] <... getdents64 resumed>0x555589fb0730 /* 0 entries */, 32768) = 0 [pid 5875] <... set_robust_list resumed>) = 0 [pid 5852] <... openat resumed>) = 3 [pid 5848] close(4 [pid 5875] chdir("./4" [pid 5852] ioctl(3, LOOP_CLR_FD [pid 5848] <... close resumed>) = 0 [pid 5852] <... ioctl resumed>) = 0 [pid 5848] rmdir("./3/file2" [pid 5875] <... chdir resumed>) = 0 [pid 5852] close(3 [pid 5848] <... rmdir resumed>) = 0 [pid 5848] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5875] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5852] <... close resumed>) = 0 [pid 5875] <... prctl resumed>) = 0 [pid 5852] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5875] setpgid(0, 0 [pid 5848] newfstatat(AT_FDCWD, "./3/binderfs", [pid 5875] <... setpgid resumed>) = 0 [pid 5848] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5875] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5848] unlink("./3/binderfs") = 0 ./strace-static-x86_64: Process 5876 attached [pid 5875] <... openat resumed>) = 3 [pid 5848] umount2("./3/cgroup.stat", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] <... clone resumed>, child_tidptr=0x555589fa7650) = 5876 [pid 5876] set_robust_list(0x555589fa7660, 24 [pid 5875] write(3, "1000", 4 [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5875] <... write resumed>) = 4 [pid 5875] close(3 [pid 5848] newfstatat(AT_FDCWD, "./3/cgroup.stat", [pid 5876] <... set_robust_list resumed>) = 0 [pid 5875] <... close resumed>) = 0 [pid 5848] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5876] chdir("./4" [pid 5875] symlink("/dev/binderfs", "./binderfs" [pid 5876] <... chdir resumed>) = 0 [pid 5876] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5875] <... symlink resumed>) = 0 [pid 5848] unlink("./3/cgroup.stat" [pid 5876] <... prctl resumed>) = 0 [pid 5876] setpgid(0, 0) = 0 [pid 5875] write(1, "executing program\n", 18 [pid 5848] <... unlink resumed>) = 0 [pid 5876] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXECexecuting program ) = 3 [pid 5876] write(3, "1000", 4 [pid 5875] <... write resumed>) = 18 [pid 5848] getdents64(3, [pid 5876] <... write resumed>) = 4 [pid 5875] memfd_create("syzkaller", 0 [pid 5848] <... getdents64 resumed>0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5876] close(3 [pid 5848] close(3) = 0 [pid 5848] rmdir("./3" [pid 5876] <... close resumed>) = 0 [pid 5875] <... memfd_create resumed>) = 3 [pid 5876] symlink("/dev/binderfs", "./binderfs" [pid 5875] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5848] <... rmdir resumed>) = 0 [pid 5875] <... mmap resumed>) = 0x7fbbbf400000 [pid 5876] <... symlink resumed>) = 0 [pid 5848] mkdir("./4", 0777executing program [pid 5876] write(1, "executing program\n", 18 [pid 5848] <... mkdir resumed>) = 0 [pid 5876] <... write resumed>) = 18 [pid 5876] memfd_create("syzkaller", 0) = 3 [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 5848] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5876] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5848] <... openat resumed>) = 3 [pid 5876] <... mmap resumed>) = 0x7fbbbf400000 [pid 5848] ioctl(3, LOOP_CLR_FD [pid 5875] <... write resumed>) = 524288 [pid 5848] <... ioctl resumed>) = 0 [pid 5875] munmap(0x7fbbbf400000, 138412032 [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 5848] close(3 [pid 5875] <... munmap resumed>) = 0 [pid 5876] <... write resumed>) = 524288 [pid 5875] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5848] <... close resumed>) = 0 [pid 5875] <... openat resumed>) = 4 [pid 5848] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5875] ioctl(4, LOOP_SET_FD, 3 [pid 5876] munmap(0x7fbbbf400000, 138412032./strace-static-x86_64: Process 5877 attached ) = 0 [pid 5875] <... ioctl resumed>) = 0 [pid 5877] set_robust_list(0x555589fa7660, 24 [pid 5876] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5875] close(3 [pid 5848] <... clone resumed>, child_tidptr=0x555589fa7650) = 5877 [pid 5877] <... set_robust_list resumed>) = 0 [pid 5876] <... openat resumed>) = 4 [pid 5875] <... close resumed>) = 0 [pid 5877] chdir("./4" [pid 5876] ioctl(4, LOOP_SET_FD, 3 [pid 5875] close(4 [pid 5877] <... chdir resumed>) = 0 [pid 5875] <... close resumed>) = 0 [pid 5877] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5875] mkdir("./file2", 0777 [pid 5877] <... prctl resumed>) = 0 [pid 5875] <... mkdir resumed>) = 0 [pid 5877] setpgid(0, 0) = 0 [pid 5877] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5876] <... ioctl resumed>) = 0 [pid 5875] 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 5877] write(3, "1000", 4 [pid 5876] close(3 [pid 5877] <... write resumed>) = 4 [pid 5877] close(3) = 0 [pid 5876] <... close resumed>) = 0 [pid 5877] symlink("/dev/binderfs", "./binderfs" [pid 5876] close(4 [pid 5877] <... symlink resumed>) = 0 [pid 5876] <... close resumed>) = 0 [pid 5876] mkdir("./file2", 0777 [pid 5877] write(1, "executing program\n", 18) = 18 [pid 5877] memfd_create("syzkaller", 0executing program [pid 5876] <... mkdir resumed>) = 0 [pid 5877] <... memfd_create resumed>) = 3 [pid 5876] 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 5877] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbbbf400000 [pid 5875] <... mount resumed>) = 0 [pid 5875] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 5875] chdir("./file2") = 0 [pid 5875] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5875] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [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] <... mount resumed>) = 0 [pid 5875] <... openat resumed>) = 4 [pid 5875] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5876] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5877] <... write resumed>) = 524288 [pid 5876] <... openat resumed>) = 3 [pid 5875] <... openat resumed>) = 5 [pid 5877] munmap(0x7fbbbf400000, 138412032 [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] chdir("./file2" [pid 5877] <... munmap resumed>) = 0 [pid 5876] <... chdir resumed>) = 0 [pid 5875] <... ioctl resumed>) = 0 [pid 5877] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5876] openat(AT_FDCWD, "/dev/loop4", O_RDWR [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"..., ...} [pid 5876] <... openat resumed>) = -1 EBUSY (Device or resource busy) [ 60.379055][ T5875] loop3: detected capacity change from 0 to 1024 [ 60.390708][ T5876] loop4: detected capacity change from 0 to 1024 [pid 5876] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5877] <... openat resumed>) = 4 [pid 5876] <... openat resumed>) = 4 [pid 5875] <... ioctl resumed>) = 0 [pid 5876] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5875] ftruncate(-1, 4402345721857 [pid 5877] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5877] ioctl(4, LOOP_CLR_FD) = 0 [pid 5875] <... ftruncate resumed>) = -1 EBADF (Bad file descriptor) [pid 5875] exit_group(0 [pid 5876] <... openat resumed>) = 5 [pid 5875] <... exit_group resumed>) = ? [pid 5877] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5877] close(4) = 0 [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] +++ exited with 0 +++ [pid 5876] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5851] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5875, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [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 5851] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5877] close(3 [pid 5851] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5877] <... close resumed>) = 0 [pid 5851] <... openat resumed>) = 3 [pid 5851] newfstatat(3, "", [pid 5877] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5851] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5851] getdents64(3, 0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5851] umount2("./4/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EBUSY (Device or resource busy) [pid 5877] <... openat resumed>) = 3 [pid 5876] <... ioctl resumed>) = 0 [pid 5877] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5851] newfstatat(AT_FDCWD, "./4/file2", [pid 5876] ftruncate(-1, 4402345721857 [pid 5851] <... newfstatat resumed>{st_mode=S_IFDIR|0766, st_size=10, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5876] <... ftruncate resumed>) = -1 EBADF (Bad file descriptor) [pid 5876] exit_group(0 [pid 5877] <... openat resumed>) = 4 [pid 5851] umount2("./4/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5877] 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 5851] <... umount2 resumed>) = -1 EBUSY (Device or resource busy) [pid 5876] <... exit_group resumed>) = ? [pid 5877] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5877] 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 5876] +++ exited with 0 +++ [pid 5851] openat(AT_FDCWD, "./4/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5852] --- 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 5851] <... openat resumed>) = 4 [pid 5851] newfstatat(4, "", {st_mode=S_IFDIR|0766, st_size=10, ...}, AT_EMPTY_PATH) = 0 [pid 5852] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5851] getdents64(4, [pid 5852] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5852] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5851] <... getdents64 resumed>0x555589fb0730 /* 4 entries */, 32768) = 112 [pid 5852] getdents64(3, [pid 5851] umount2("./4/file2/cgroup.stat", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] <... getdents64 resumed>0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5851] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] umount2("./4/file2", MNT_FORCE|UMOUNT_NOFOLLOW [ 60.534795][ T5851] hfsplus: walked past end of dir [pid 5851] newfstatat(AT_FDCWD, "./4/file2/cgroup.stat", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5852] <... umount2 resumed>) = 0 [pid 5851] unlink("./4/file2/cgroup.stat") = 0 [pid 5877] <... ioctl resumed>) = 0 [pid 5852] umount2("./4/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5851] umount2("./4/file2/file.c??d", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] newfstatat(AT_FDCWD, "./4/file2", [pid 5851] <... umount2 resumed>) = -1 ENOENT (No such file or directory) [pid 5852] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5851] newfstatat(AT_FDCWD, "./4/file2/file.c??d", 0x7ffedaceafa0, AT_SYMLINK_NOFOLLOW) = -1 ENOENT (No such file or directory) [pid 5877] ftruncate(-1, 4402345721857 [pid 5852] umount2("./4/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5877] <... ftruncate resumed>) = -1 EBADF (Bad file descriptor) [pid 5852] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5851] exit_group(1 [pid 5877] exit_group(0 [pid 5852] openat(AT_FDCWD, "./4/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5877] <... exit_group resumed>) = ? [pid 5852] <... openat resumed>) = 4 [pid 5851] <... exit_group resumed>) = ? [pid 5852] newfstatat(4, "", [pid 5877] +++ exited with 0 +++ [pid 5852] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5848] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5877, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5852] getdents64(4, 0x555589fb0730 /* 2 entries */, 32768) = 48 [pid 5852] getdents64(4, 0x555589fb0730 /* 0 entries */, 32768) = 0 [pid 5852] close(4 [pid 5851] +++ exited with 1 +++ [pid 5847] <... restart_syscall resumed>) = ? ERESTART_RESTARTBLOCK (Interrupted by signal) [pid 5852] <... close resumed>) = 0 [pid 5847] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5851, si_uid=0, si_status=1, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5847] restart_syscall(<... resuming interrupted restart_syscall ...> [pid 5852] rmdir("./4/file2") = 0 [pid 5852] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5852] newfstatat(AT_FDCWD, "./4/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5852] unlink("./4/binderfs") = 0 [pid 5852] getdents64(3, 0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5852] close(3) = 0 [pid 5852] rmdir("./4") = 0 [pid 5852] mkdir("./5", 0777) = 0 [pid 5852] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5852] ioctl(3, LOOP_CLR_FD) = 0 [pid 5852] close(3) = 0 [pid 5852] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5878 attached , child_tidptr=0x555589fa7650) = 5878 [pid 5878] set_robust_list(0x555589fa7660, 24) = 0 [pid 5878] chdir("./5") = 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 [pid 5848] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5878] <... openat resumed>) = 3 [pid 5848] openat(AT_FDCWD, "./4", 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 [pid 5848] getdents64(3, 0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5848] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5848] newfstatat(AT_FDCWD, "./4/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5848] unlink("./4/binderfs") = 0 [pid 5848] umount2("./4/cgroup.stat", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5878] write(3, "1000", 4 [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5848] newfstatat(AT_FDCWD, "./4/cgroup.stat", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5848] unlink("./4/cgroup.stat") = 0 [pid 5848] getdents64(3, 0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5848] close(3) = 0 [pid 5848] rmdir("./4") = 0 [pid 5848] mkdir("./5", 0777) = 0 [pid 5878] <... write resumed>) = 4 [pid 5848] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5878] close(3) = 0 [pid 5848] <... openat resumed>) = 3 executing program [pid 5878] symlink("/dev/binderfs", "./binderfs" [pid 5848] ioctl(3, LOOP_CLR_FD) = 0 [pid 5848] close(3 [pid 5878] <... symlink resumed>) = 0 [pid 5848] <... close resumed>) = 0 [pid 5878] write(1, "executing program\n", 18 [pid 5848] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5879 attached [pid 5878] <... write resumed>) = 18 [pid 5879] set_robust_list(0x555589fa7660, 24 [pid 5848] <... clone resumed>, child_tidptr=0x555589fa7650) = 5879 [pid 5879] <... set_robust_list resumed>) = 0 [pid 5879] chdir("./5" [pid 5878] memfd_create("syzkaller", 0 [pid 5879] <... chdir resumed>) = 0 [pid 5879] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5879] setpgid(0, 0 [pid 5878] <... memfd_create resumed>) = 3 [pid 5878] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5879] <... setpgid resumed>) = 0 [pid 5879] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5878] <... mmap resumed>) = 0x7fbbbf400000 [pid 5879] <... openat resumed>) = 3 [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 5879] write(3, "1000", 4) = 4 [pid 5879] close(3) = 0 [pid 5879] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5879] write(1, "executing program\n", 18 executing program [pid 5878] <... write resumed>) = 524288 [pid 5879] <... write resumed>) = 18 [pid 5878] munmap(0x7fbbbf400000, 138412032 [pid 5879] memfd_create("syzkaller", 0 [pid 5878] <... munmap resumed>) = 0 [pid 5879] <... memfd_create resumed>) = 3 [pid 5879] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5878] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5879] <... mmap resumed>) = 0x7fbbbf400000 [pid 5878] <... openat resumed>) = 4 [pid 5878] ioctl(4, LOOP_SET_FD, 3 [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) = 524288 [pid 5878] <... ioctl resumed>) = 0 [pid 5879] munmap(0x7fbbbf400000, 138412032 [pid 5878] close(3) = 0 [pid 5878] close(4 [pid 5879] <... munmap resumed>) = 0 [pid 5878] <... close resumed>) = 0 [pid 5879] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5878] mkdir("./file2", 0777 [pid 5879] <... openat resumed>) = 4 [pid 5879] ioctl(4, LOOP_SET_FD, 3 [pid 5878] <... mkdir resumed>) = 0 [pid 5878] 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 5879] <... ioctl resumed>) = 0 [pid 5878] <... mount resumed>) = 0 [pid 5878] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5879] close(3) = 0 [pid 5879] close(4) = 0 [pid 5878] <... openat resumed>) = 3 [pid 5879] mkdir("./file2", 0777 [pid 5878] chdir("./file2") = 0 [pid 5878] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5879] <... mkdir resumed>) = 0 [pid 5878] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5878] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 5878] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [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"...) = 0 [pid 5879] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 5879] chdir("./file2") = 0 [pid 5879] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5879] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 5878] <... openat resumed>) = 5 [pid 5879] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 5 [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", ...}} [pid 5879] 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 5879] 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 5878] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [ 60.676165][ T5878] loop4: detected capacity change from 0 to 1024 [ 60.694518][ T5879] loop0: detected capacity change from 0 to 1024 [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"..., ...}) = 0 [pid 5878] ftruncate(-1, 4402345721857) = -1 EBADF (Bad file descriptor) [pid 5878] exit_group(0) = ? [ 60.773067][ T5879] loop0: detected capacity change from 1024 to 3 [ 60.812812][ T5879] Dev loop0: unable to read RDB block 3 [pid 5878] +++ exited with 0 +++ [pid 5852] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5878, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5852] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5852] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5852] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5852] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5879] <... ioctl resumed>) = 0 [pid 5852] getdents64(3, 0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5852] umount2("./5/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5879] ftruncate(-1, 4402345721857) = -1 EBADF (Bad file descriptor) [pid 5879] exit_group(0) = ? [pid 5879] +++ exited with 0 +++ [pid 5852] <... umount2 resumed>) = 0 [pid 5852] umount2("./5/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5848] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5879, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5852] newfstatat(AT_FDCWD, "./5/file2", [pid 5848] restart_syscall(<... resuming interrupted clone ...> [pid 5852] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5848] <... restart_syscall resumed>) = 0 [pid 5852] umount2("./5/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5852] openat(AT_FDCWD, "./5/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5848] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] newfstatat(4, "", [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5848] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5852] getdents64(4, [pid 5848] <... openat resumed>) = 3 [pid 5848] newfstatat(3, "", [pid 5852] <... getdents64 resumed>0x555589fb0730 /* 2 entries */, 32768) = 48 [pid 5848] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [ 60.818492][ T5879] loop0: unable to read partition table [ 60.824269][ T5879] loop0: partition table beyond EOD, truncated [ 60.830457][ T5879] loop_reread_partitions: partition scan of loop0 (Rt *3 !6{bO0.Qʝ H"Uqd\'Lz8w1AH) failed (rc=-5) [pid 5848] getdents64(3, 0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5852] getdents64(4, 0x555589fb0730 /* 0 entries */, 32768) = 0 [pid 5848] umount2("./5/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] close(4) = 0 [pid 5852] rmdir("./5/file2") = 0 [pid 5852] umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5852] newfstatat(AT_FDCWD, "./5/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5852] unlink("./5/binderfs") = 0 [pid 5852] getdents64(3, 0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5852] close(3) = 0 [pid 5852] rmdir("./5") = 0 [pid 5852] mkdir("./6", 0777) = 0 [pid 5852] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5852] ioctl(3, LOOP_CLR_FD) = 0 [pid 5852] close(3) = 0 [pid 5852] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5848] <... umount2 resumed>) = 0 [pid 5852] <... clone resumed>, child_tidptr=0x555589fa7650) = 5880 ./strace-static-x86_64: Process 5880 attached [pid 5848] umount2("./5/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5880] set_robust_list(0x555589fa7660, 24 [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5848] newfstatat(AT_FDCWD, "./5/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5880] <... set_robust_list resumed>) = 0 [pid 5848] umount2("./5/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5880] chdir("./6" [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5848] openat(AT_FDCWD, "./5/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5880] <... chdir resumed>) = 0 [pid 5848] <... openat resumed>) = 4 [pid 5880] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5848] newfstatat(4, "", [pid 5880] setpgid(0, 0 [pid 5848] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5848] getdents64(4, [pid 5880] <... setpgid resumed>) = 0 [pid 5848] <... getdents64 resumed>0x555589fb0730 /* 2 entries */, 32768) = 48 [pid 5880] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5848] getdents64(4, [pid 5880] <... openat resumed>) = 3 [pid 5848] <... getdents64 resumed>0x555589fb0730 /* 0 entries */, 32768) = 0 [ 60.891757][ T52] kworker/u8:3: attempt to access beyond end of device [ 60.891757][ T52] loop0: rw=1, sector=206, nr_sectors = 8 limit=3 [ 60.905769][ T52] kworker/u8:3: attempt to access beyond end of device [ 60.905769][ T52] loop0: rw=2049, sector=198, nr_sectors = 16 limit=3 [pid 5880] write(3, "1000", 4) = 4 [pid 5848] close(4 [pid 5880] close(3 [pid 5848] <... close resumed>) = 0 [pid 5880] <... close resumed>) = 0 [pid 5880] symlink("/dev/binderfs", "./binderfs" [pid 5848] rmdir("./5/file2" [pid 5880] <... symlink resumed>) = 0 [pid 5880] write(1, "executing program\n", 18 [pid 5848] <... rmdir resumed>) = 0 executing program [pid 5880] <... write resumed>) = 18 [pid 5880] memfd_create("syzkaller", 0) = 3 [pid 5848] umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5880] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5848] newfstatat(AT_FDCWD, "./5/binderfs", [pid 5880] <... mmap resumed>) = 0x7fbbbf400000 [pid 5848] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5848] unlink("./5/binderfs") = 0 [pid 5848] getdents64(3, [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 5848] <... getdents64 resumed>0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5848] close(3) = 0 [pid 5848] rmdir("./5" [pid 5880] <... write resumed>) = 524288 [pid 5848] <... rmdir resumed>) = 0 [pid 5880] munmap(0x7fbbbf400000, 138412032 [pid 5848] mkdir("./6", 0777 [pid 5880] <... munmap resumed>) = 0 [pid 5880] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5848] <... mkdir resumed>) = 0 [pid 5880] <... openat resumed>) = 4 [pid 5880] ioctl(4, LOOP_SET_FD, 3 [pid 5848] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5848] ioctl(3, LOOP_CLR_FD) = 0 [pid 5848] close(3) = 0 [pid 5848] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5880] <... ioctl resumed>) = 0 [pid 5880] close(3) = 0 ./strace-static-x86_64: Process 5881 attached [pid 5880] close(4) = 0 [pid 5881] set_robust_list(0x555589fa7660, 24 [pid 5880] mkdir("./file2", 0777) = 0 [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"...) = 0 [pid 5880] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 5880] chdir("./file2") = 0 [pid 5880] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5880] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 5880] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5881] <... set_robust_list resumed>) = 0 [pid 5880] <... openat resumed>) = 5 [pid 5848] <... clone resumed>, child_tidptr=0x555589fa7650) = 5881 [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 5881] chdir("./6" [pid 5880] <... ioctl resumed>) = 0 [pid 5881] <... chdir resumed>) = 0 [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 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) = 4 [pid 5881] close(3executing program ) = 0 [pid 5881] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5881] write(1, "executing program\n", 18) = 18 [pid 5881] memfd_create("syzkaller", 0) = 3 [pid 5881] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbbbf400000 [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) = 524288 [pid 5881] munmap(0x7fbbbf400000, 138412032) = 0 [pid 5881] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5880] <... ioctl resumed>) = 0 [pid 5880] ftruncate(-1, 4402345721857) = -1 EBADF (Bad file descriptor) [pid 5881] ioctl(4, LOOP_SET_FD, 3 [pid 5880] exit_group(0 [pid 5881] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [ 61.024790][ T5880] loop4: detected capacity change from 0 to 1024 [pid 5881] ioctl(4, LOOP_CLR_FD [pid 5880] <... exit_group resumed>) = ? [pid 5880] +++ exited with 0 +++ [pid 5881] <... ioctl resumed>) = 0 [pid 5852] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5880, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5852] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5881] ioctl(4, LOOP_SET_FD, 3 [pid 5852] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5852] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5852] newfstatat(3, "", [pid 5881] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5852] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5881] close(4 [pid 5852] getdents64(3, [pid 5881] <... close resumed>) = 0 [pid 5852] <... getdents64 resumed>0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5881] close(3 [pid 5852] umount2("./6/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5881] <... close resumed>) = 0 [pid 5881] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 3 [pid 5852] <... umount2 resumed>) = 0 [pid 5881] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5852] umount2("./6/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5852] newfstatat(AT_FDCWD, "./6/file2", [pid 5881] <... openat resumed>) = 4 [pid 5852] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5852] umount2("./6/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5881] 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 5852] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5881] <... ioctl resumed>) = 0 [pid 5852] openat(AT_FDCWD, "./6/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5881] 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 5852] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5852] getdents64(4, 0x555589fb0730 /* 2 entries */, 32768) = 48 [pid 5852] getdents64(4, 0x555589fb0730 /* 0 entries */, 32768) = 0 [pid 5852] close(4) = 0 [pid 5852] rmdir("./6/file2") = 0 [pid 5852] umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5852] newfstatat(AT_FDCWD, "./6/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5852] unlink("./6/binderfs") = 0 [pid 5852] getdents64(3, 0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5852] close(3) = 0 [pid 5852] rmdir("./6") = 0 [pid 5852] mkdir("./7", 0777) = 0 [pid 5852] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5881] <... ioctl resumed>) = 0 [pid 5852] <... openat resumed>) = 3 [pid 5881] ftruncate(-1, 4402345721857 [pid 5852] ioctl(3, LOOP_CLR_FD [pid 5881] <... ftruncate resumed>) = -1 EBADF (Bad file descriptor) [pid 5881] exit_group(0 [pid 5852] <... ioctl resumed>) = 0 [pid 5852] close(3 [pid 5881] <... exit_group resumed>) = ? [pid 5852] <... close resumed>) = 0 [pid 5881] +++ exited with 0 +++ [pid 5852] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5848] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5881, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 5852] <... clone resumed>, child_tidptr=0x555589fa7650) = 5882 [pid 5848] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 5882 attached ) = -1 EINVAL (Invalid argument) [pid 5882] set_robust_list(0x555589fa7660, 24 [pid 5848] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5882] <... set_robust_list resumed>) = 0 [pid 5848] <... openat resumed>) = 3 [pid 5882] chdir("./7" [pid 5848] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5848] getdents64(3, [pid 5882] <... chdir resumed>) = 0 [pid 5848] <... getdents64 resumed>0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5882] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5848] umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5882] <... prctl resumed>) = 0 [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5882] setpgid(0, 0 [pid 5848] newfstatat(AT_FDCWD, "./6/binderfs", [pid 5882] <... setpgid resumed>) = 0 [pid 5848] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5882] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5848] unlink("./6/binderfs") = 0 [pid 5848] umount2("./6/cgroup.stat", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5882] <... openat resumed>) = 3 [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5848] newfstatat(AT_FDCWD, "./6/cgroup.stat", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5882] write(3, "1000", 4 [pid 5848] unlink("./6/cgroup.stat" [pid 5882] <... write resumed>) = 4 [pid 5848] <... unlink resumed>) = 0 [pid 5882] close(3 [pid 5848] getdents64(3, [pid 5882] <... close resumed>) = 0 [pid 5848] <... getdents64 resumed>0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5848] close(3 [pid 5882] symlink("/dev/binderfs", "./binderfs" [pid 5848] <... close resumed>) = 0 [pid 5882] <... symlink resumed>) = 0 [pid 5848] rmdir("./6") = 0 [pid 5848] mkdir("./7", 0777) = 0 [pid 5882] write(1, "executing program\n", 18 executing program [pid 5848] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5882] <... write resumed>) = 18 [pid 5848] <... openat resumed>) = 3 [pid 5882] memfd_create("syzkaller", 0 [pid 5848] ioctl(3, LOOP_CLR_FD) = 0 [pid 5848] close(3 [pid 5882] <... memfd_create resumed>) = 3 [pid 5848] <... close resumed>) = 0 [pid 5882] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5848] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5882] <... mmap resumed>) = 0x7fbbbf400000 ./strace-static-x86_64: Process 5883 attached [pid 5883] set_robust_list(0x555589fa7660, 24) = 0 [pid 5883] chdir("./7") = 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) = 3 [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 5848] <... clone resumed>, child_tidptr=0x555589fa7650) = 5883 [pid 5883] write(3, "1000", 4) = 4 [pid 5883] close(3) = 0 [pid 5883] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5883] write(1, "executing program\n", 18 [pid 5882] <... write resumed>) = 524288 [pid 5883] <... write resumed>) = 18 [pid 5882] munmap(0x7fbbbf400000, 138412032 [pid 5883] memfd_create("syzkaller", 0 [pid 5882] <... munmap resumed>) = 0 [pid 5883] <... memfd_create resumed>) = 3 [pid 5882] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5883] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbbbf400000 [pid 5882] <... openat resumed>) = 4 [pid 5882] ioctl(4, LOOP_SET_FD, 3 [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] <... ioctl resumed>) = 0 [pid 5883] <... write resumed>) = 524288 [pid 5882] close(3 [pid 5883] munmap(0x7fbbbf400000, 138412032 [pid 5882] <... close resumed>) = 0 [pid 5882] close(4 [pid 5883] <... munmap resumed>) = 0 [pid 5882] <... close resumed>) = 0 [pid 5883] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5882] mkdir("./file2", 0777 [pid 5883] <... openat resumed>) = 4 [pid 5882] <... mkdir resumed>) = 0 [pid 5883] ioctl(4, LOOP_SET_FD, 3 [pid 5882] 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 5882] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 5882] chdir("./file2") = 0 [pid 5882] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5882] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5883] <... ioctl resumed>) = 0 [pid 5882] <... openat resumed>) = 4 [pid 5882] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5883] close(3) = 0 [pid 5883] close(4) = 0 [pid 5883] mkdir("./file2", 0777 [pid 5882] <... openat resumed>) = 5 [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", ...}}) = -1 EBUSY (Device or resource busy) [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 5883] <... mkdir resumed>) = 0 [ 61.375141][ T5882] loop4: detected capacity change from 0 to 1024 [ 61.413702][ T5883] loop0: detected capacity change from 0 to 1024 [pid 5883] 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 5882] <... ioctl resumed>) = 0 [pid 5882] ftruncate(-1, 4402345721857 [pid 5883] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5882] <... ftruncate resumed>) = -1 EBADF (Bad file descriptor) [pid 5882] exit_group(0) = ? [pid 5883] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5883] ioctl(3, LOOP_CLR_FD) = 0 [pid 5883] close(3) = 0 [pid 5883] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 3 [pid 5882] +++ exited with 0 +++ [pid 5883] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 4 [pid 5852] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5882, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5852] restart_syscall(<... resuming interrupted clone ...> [pid 5883] 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 5852] <... restart_syscall resumed>) = 0 [pid 5883] <... ioctl resumed>) = 0 [ 61.462626][ T5882] loop0: detected capacity change from 1024 to 3 [ 61.470302][ T5882] Dev loop0: unable to read RDB block 3 [ 61.475930][ T5882] loop0: unable to read partition table [ 61.481603][ T5882] loop0: partition table beyond EOD, truncated [ 61.487819][ T5882] loop_reread_partitions: partition scan of loop0 (Rt *3 !6{bO0.Qʝ H"Uqd\'Lz8w1AH) failed (rc=-5) [ 61.502153][ T5883] hfsplus: unable to find HFS+ superblock [pid 5883] 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 5852] umount2("./7", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5852] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5852] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5852] getdents64(3, 0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5852] umount2("./7/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5852] umount2("./7/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5852] newfstatat(AT_FDCWD, "./7/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5852] umount2("./7/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5883] <... ioctl resumed>) = 0 [pid 5883] ftruncate(-1, 4402345721857 [pid 5852] openat(AT_FDCWD, "./7/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5883] <... ftruncate resumed>) = -1 EBADF (Bad file descriptor) [pid 5852] <... openat resumed>) = 4 [pid 5883] exit_group(0 [pid 5852] newfstatat(4, "", [pid 5883] <... exit_group resumed>) = ? [pid 5852] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5852] getdents64(4, [pid 5883] +++ exited with 0 +++ [pid 5852] <... getdents64 resumed>0x555589fb0730 /* 2 entries */, 32768) = 48 [pid 5848] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5883, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5848] restart_syscall(<... resuming interrupted clone ...> [pid 5852] getdents64(4, [pid 5848] <... restart_syscall resumed>) = 0 [pid 5852] <... getdents64 resumed>0x555589fb0730 /* 0 entries */, 32768) = 0 [pid 5852] close(4) = 0 [pid 5852] rmdir("./7/file2" [pid 5848] umount2("./7", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] <... rmdir resumed>) = 0 [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5848] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5852] umount2("./7/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5852] newfstatat(AT_FDCWD, "./7/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5852] unlink("./7/binderfs") = 0 [pid 5848] <... openat resumed>) = 3 [pid 5848] newfstatat(3, "", [pid 5852] getdents64(3, 0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5848] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5852] close(3) = 0 [pid 5848] getdents64(3, [pid 5852] rmdir("./7" [pid 5848] <... getdents64 resumed>0x555589fa86f0 /* 5 entries */, 32768) = 144 [pid 5852] <... rmdir resumed>) = 0 [pid 5848] umount2("./7/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] mkdir("./8", 0777 [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] <... mkdir resumed>) = 0 [pid 5848] newfstatat(AT_FDCWD, "./7/file2", [pid 5852] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5848] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5852] <... openat resumed>) = 3 [pid 5848] umount2("./7/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] ioctl(3, LOOP_CLR_FD [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] <... ioctl resumed>) = 0 [pid 5852] close(3 [pid 5848] openat(AT_FDCWD, "./7/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, 0x555589fb0730 /* 2 entries */, 32768) = 48 [pid 5848] getdents64(4, [pid 5852] <... close resumed>) = 0 [pid 5848] <... getdents64 resumed>0x555589fb0730 /* 0 entries */, 32768) = 0 [pid 5848] close(4 [pid 5852] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5848] <... close resumed>) = 0 [pid 5848] rmdir("./7/file2"./strace-static-x86_64: Process 5884 attached ) = 0 [pid 5852] <... clone resumed>, child_tidptr=0x555589fa7650) = 5884 [pid 5884] set_robust_list(0x555589fa7660, 24) = 0 [pid 5848] umount2("./7/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5884] chdir("./8" [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5884] <... chdir resumed>) = 0 [pid 5848] newfstatat(AT_FDCWD, "./7/binderfs", [pid 5884] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5848] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5884] <... prctl resumed>) = 0 [pid 5848] unlink("./7/binderfs" [pid 5884] setpgid(0, 0 [pid 5848] <... unlink resumed>) = 0 [pid 5884] <... setpgid resumed>) = 0 [pid 5848] umount2("./7/cgroup.stat", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5884] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5848] newfstatat(AT_FDCWD, "./7/cgroup.stat", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5848] unlink("./7/cgroup.stat" [pid 5884] <... openat resumed>) = 3 [pid 5884] write(3, "1000", 4 [pid 5848] <... unlink resumed>) = 0 [pid 5884] <... write resumed>) = 4 [pid 5884] close(3) = 0 [pid 5848] getdents64(3, 0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5884] symlink("/dev/binderfs", "./binderfs" [pid 5848] close(3) = 0 [pid 5884] <... symlink resumed>) = 0 executing program [pid 5884] write(1, "executing program\n", 18 [pid 5848] rmdir("./7" [pid 5884] <... write resumed>) = 18 [pid 5848] <... rmdir resumed>) = 0 [pid 5884] memfd_create("syzkaller", 0 [pid 5848] mkdir("./8", 0777) = 0 [pid 5884] <... memfd_create resumed>) = 3 [pid 5848] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5884] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5848] <... openat resumed>) = 3 [pid 5884] <... mmap resumed>) = 0x7fbbbf400000 [pid 5848] ioctl(3, LOOP_CLR_FD) = 0 [pid 5848] close(3 [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 5848] <... close resumed>) = 0 [pid 5848] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5884] <... write resumed>) = 524288 [pid 5848] <... clone resumed>, child_tidptr=0x555589fa7650) = 5885 ./strace-static-x86_64: Process 5885 attached [pid 5884] munmap(0x7fbbbf400000, 138412032 [pid 5885] set_robust_list(0x555589fa7660, 24) = 0 [pid 5885] chdir("./8" [pid 5884] <... munmap resumed>) = 0 [pid 5885] <... chdir resumed>) = 0 [pid 5884] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5885] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5884] <... openat resumed>) = 4 [pid 5885] setpgid(0, 0 [pid 5884] ioctl(4, LOOP_SET_FD, 3 [pid 5885] <... setpgid resumed>) = 0 [pid 5885] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5884] <... ioctl resumed>) = 0 [pid 5884] close(3 [pid 5885] <... openat resumed>) = 3 [pid 5884] <... close resumed>) = 0 [pid 5885] write(3, "1000", 4 [pid 5884] close(4 [pid 5885] <... write resumed>) = 4 [pid 5884] <... close resumed>) = 0 [pid 5885] close(3) = 0 [pid 5884] mkdir("./file2", 0777 [pid 5885] symlink("/dev/binderfs", "./binderfs" [pid 5884] <... mkdir resumed>) = 0 [pid 5885] <... symlink resumed>) = 0 [pid 5885] write(1, "executing program\n", 18 [pid 5884] 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"...executing program [pid 5885] <... write resumed>) = 18 [pid 5884] <... mount resumed>) = 0 [pid 5885] memfd_create("syzkaller", 0 [pid 5884] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 5885] <... memfd_create resumed>) = 3 [pid 5884] chdir("./file2" [pid 5885] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbbbf400000 [pid 5884] <... chdir resumed>) = 0 [pid 5884] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5884] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 5884] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [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 5884] <... openat resumed>) = 5 [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", ...}}) = 0 [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] <... write resumed>) = 524288 [pid 5885] munmap(0x7fbbbf400000, 138412032) = 0 [ 61.776724][ T5884] loop4: detected capacity change from 0 to 1024 [pid 5885] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5884] <... ioctl resumed>) = 0 [pid 5885] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5885] ioctl(4, LOOP_CLR_FD) = 0 [pid 5884] ftruncate(-1, 4402345721857) = -1 EBADF (Bad file descriptor) [pid 5884] exit_group(0) = ? [pid 5885] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5884] +++ exited with 0 +++ [pid 5852] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5884, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5885] close(4) = 0 [pid 5885] close(3) = 0 [pid 5852] umount2("./8", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5852] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5852] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5852] getdents64(3, 0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5852] umount2("./8/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5885] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5852] <... umount2 resumed>) = 0 [pid 5885] <... openat resumed>) = 3 [pid 5885] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 4 [pid 5852] umount2("./8/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5885] 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 5852] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5885] <... ioctl resumed>) = 0 [pid 5852] newfstatat(AT_FDCWD, "./8/file2", [pid 5885] 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 5852] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5852] umount2("./8/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5852] openat(AT_FDCWD, "./8/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5852] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5852] getdents64(4, 0x555589fb0730 /* 2 entries */, 32768) = 48 [pid 5852] getdents64(4, [pid 5885] <... ioctl resumed>) = 0 [pid 5852] <... getdents64 resumed>0x555589fb0730 /* 0 entries */, 32768) = 0 [pid 5852] close(4) = 0 [pid 5885] ftruncate(-1, 4402345721857) = -1 EBADF (Bad file descriptor) [pid 5852] rmdir("./8/file2" [pid 5885] exit_group(0 [pid 5852] <... rmdir resumed>) = 0 [pid 5852] umount2("./8/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5885] <... exit_group resumed>) = ? [pid 5852] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] newfstatat(AT_FDCWD, "./8/binderfs", [pid 5885] +++ exited with 0 +++ [pid 5852] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5852] unlink("./8/binderfs") = 0 [pid 5848] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5885, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5852] getdents64(3, [pid 5848] umount2("./8", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] <... getdents64 resumed>0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5852] close(3) = 0 [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] rmdir("./8" [pid 5848] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5852] <... rmdir resumed>) = 0 [pid 5848] <... openat resumed>) = 3 [pid 5852] mkdir("./9", 0777 [pid 5848] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5848] getdents64(3, [pid 5852] <... mkdir resumed>) = 0 [pid 5848] <... getdents64 resumed>0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5848] umount2("./8/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5848] newfstatat(AT_FDCWD, "./8/binderfs", [pid 5852] ioctl(3, LOOP_CLR_FD [pid 5848] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5852] <... ioctl resumed>) = 0 [pid 5852] close(3 [pid 5848] unlink("./8/binderfs" [pid 5852] <... close resumed>) = 0 [pid 5848] <... unlink resumed>) = 0 [pid 5848] umount2("./8/cgroup.stat", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5848] newfstatat(AT_FDCWD, "./8/cgroup.stat", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5852] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5848] unlink("./8/cgroup.stat") = 0 [pid 5848] getdents64(3, 0x555589fa86f0 /* 0 entries */, 32768) = 0 ./strace-static-x86_64: Process 5886 attached [pid 5852] <... clone resumed>, child_tidptr=0x555589fa7650) = 5886 [pid 5848] close(3 [pid 5886] set_robust_list(0x555589fa7660, 24 [pid 5848] <... close resumed>) = 0 [pid 5848] rmdir("./8") = 0 [pid 5848] mkdir("./9", 0777) = 0 [pid 5886] <... set_robust_list resumed>) = 0 [pid 5848] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5848] ioctl(3, LOOP_CLR_FD [pid 5886] chdir("./9" [pid 5848] <... ioctl resumed>) = 0 [pid 5886] <... chdir resumed>) = 0 [pid 5848] close(3 [pid 5886] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5848] <... close resumed>) = 0 [pid 5886] <... prctl resumed>) = 0 [pid 5886] setpgid(0, 0) = 0 [pid 5886] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5886] write(3, "1000", 4 [pid 5848] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5886] <... write resumed>) = 4 [pid 5886] close(3) = 0 ./strace-static-x86_64: Process 5887 attached [pid 5886] symlink("/dev/binderfs", "./binderfs" [pid 5887] set_robust_list(0x555589fa7660, 24 [pid 5886] <... symlink resumed>) = 0 [pid 5848] <... clone resumed>, child_tidptr=0x555589fa7650) = 5887 [pid 5887] <... set_robust_list resumed>) = 0 [pid 5887] chdir("./9") = 0 [pid 5887] prctl(PR_SET_PDEATHSIG, SIGKILLexecuting program [pid 5886] write(1, "executing program\n", 18 [pid 5887] <... prctl resumed>) = 0 [pid 5886] <... write resumed>) = 18 [pid 5887] setpgid(0, 0 [pid 5886] memfd_create("syzkaller", 0 [pid 5887] <... setpgid resumed>) = 0 [pid 5887] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5886] <... memfd_create resumed>) = 3 [pid 5887] <... openat resumed>) = 3 [pid 5886] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbbbf400000 [pid 5887] write(3, "1000", 4 [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 5887] <... write resumed>) = 4 [pid 5887] close(3) = 0 [pid 5887] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5887] write(1, "executing program\n", 18 [pid 5886] <... write resumed>) = 524288 executing program [pid 5887] <... write resumed>) = 18 [pid 5886] munmap(0x7fbbbf400000, 138412032 [pid 5887] memfd_create("syzkaller", 0) = 3 [pid 5887] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5886] <... munmap resumed>) = 0 [pid 5886] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5886] ioctl(4, LOOP_SET_FD, 3 [pid 5887] <... mmap resumed>) = 0x7fbbbf400000 [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 5886] <... ioctl resumed>) = 0 [pid 5886] close(3) = 0 [pid 5886] close(4 [pid 5887] <... write resumed>) = 524288 [pid 5886] <... close resumed>) = 0 [pid 5886] mkdir("./file2", 0777 [pid 5887] munmap(0x7fbbbf400000, 138412032 [pid 5886] <... mkdir resumed>) = 0 [pid 5886] 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 5887] <... munmap resumed>) = 0 [pid 5887] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5887] ioctl(4, LOOP_SET_FD, 3 [pid 5886] <... mount resumed>) = 0 [pid 5887] <... ioctl resumed>) = 0 [pid 5886] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 5886] chdir("./file2") = 0 [pid 5886] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5886] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5887] close(3 [pid 5886] <... openat resumed>) = 4 [pid 5887] <... close resumed>) = 0 [pid 5887] close(4) = 0 [pid 5886] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5887] mkdir("./file2", 0777 [pid 5886] <... openat resumed>) = 5 [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", ...}}) = -1 EBUSY (Device or resource busy) [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 5887] <... mkdir resumed>) = 0 [ 62.156806][ T5886] loop4: detected capacity change from 0 to 1024 [ 62.178458][ T5887] loop0: detected capacity change from 0 to 1024 [pid 5887] 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"...) = -1 EINVAL (Invalid argument) [pid 5886] <... ioctl resumed>) = 0 [pid 5887] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5886] ftruncate(-1, 4402345721857 [pid 5887] ioctl(3, LOOP_CLR_FD [pid 5886] <... ftruncate resumed>) = -1 EBADF (Bad file descriptor) [pid 5887] <... ioctl resumed>) = 0 [pid 5886] exit_group(0 [pid 5887] close(3 [pid 5886] <... exit_group resumed>) = ? [ 62.223394][ T5886] loop0: detected capacity change from 1024 to 3 [ 62.230803][ T5886] Dev loop0: unable to read RDB block 3 [ 62.230828][ T5887] hfsplus: unable to find HFS+ superblock [ 62.236578][ T5886] loop0: unable to read partition table [ 62.248053][ T5886] loop0: partition table beyond EOD, truncated [ 62.254314][ T5886] loop_reread_partitions: partition scan of loop0 (Rt *3 !6{bO0.Qʝ H"Uqd\'Lz8w1AH) failed (rc=-5) [pid 5887] <... close resumed>) = 0 [pid 5887] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5886] +++ exited with 0 +++ [pid 5887] <... openat resumed>) = 3 [pid 5887] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5852] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5886, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5887] <... openat resumed>) = 4 [pid 5852] umount2("./9", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5887] 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", ...}}) = 0 [pid 5852] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5887] 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 5852] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5852] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5852] getdents64(3, 0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5852] umount2("./9/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [ 62.270728][ T5223] Dev loop0: unable to read RDB block 3 [ 62.276359][ T5223] loop0: unable to read partition table [ 62.282226][ T5223] loop0: partition table beyond EOD, truncated [pid 5852] umount2("./9/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5887] <... ioctl resumed>) = 0 [pid 5887] ftruncate(-1, 4402345721857 [pid 5852] newfstatat(AT_FDCWD, "./9/file2", [pid 5887] <... ftruncate resumed>) = -1 EBADF (Bad file descriptor) [pid 5852] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5887] exit_group(0 [pid 5852] umount2("./9/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5887] <... exit_group resumed>) = ? [pid 5852] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5887] +++ exited with 0 +++ [pid 5852] openat(AT_FDCWD, "./9/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5852] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5852] getdents64(4, 0x555589fb0730 /* 2 entries */, 32768) = 48 [pid 5848] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5887, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5852] getdents64(4, [pid 5848] restart_syscall(<... resuming interrupted clone ...> [pid 5852] <... getdents64 resumed>0x555589fb0730 /* 0 entries */, 32768) = 0 [pid 5852] close(4) = 0 [pid 5852] rmdir("./9/file2") = 0 [pid 5852] umount2("./9/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5852] newfstatat(AT_FDCWD, "./9/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5848] <... restart_syscall resumed>) = 0 [pid 5852] unlink("./9/binderfs") = 0 [pid 5852] getdents64(3, [pid 5848] umount2("./9", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] <... getdents64 resumed>0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5852] close(3) = 0 [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5848] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5852] rmdir("./9") = 0 [pid 5848] <... openat resumed>) = 3 [pid 5852] mkdir("./10", 0777 [pid 5848] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5852] <... mkdir resumed>) = 0 [pid 5848] getdents64(3, [pid 5852] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5848] <... getdents64 resumed>0x555589fa86f0 /* 5 entries */, 32768) = 144 [pid 5852] <... openat resumed>) = 3 [pid 5848] umount2("./9/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] ioctl(3, LOOP_CLR_FD [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] <... ioctl resumed>) = 0 [pid 5852] close(3 [pid 5848] newfstatat(AT_FDCWD, "./9/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5848] umount2("./9/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5848] openat(AT_FDCWD, "./9/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 5852] <... close resumed>) = 0 [pid 5848] <... getdents64 resumed>0x555589fb0730 /* 2 entries */, 32768) = 48 [pid 5852] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5848] getdents64(4, 0x555589fb0730 /* 0 entries */, 32768) = 0 [pid 5848] close(4./strace-static-x86_64: Process 5888 attached ) = 0 [pid 5888] set_robust_list(0x555589fa7660, 24 [pid 5852] <... clone resumed>, child_tidptr=0x555589fa7650) = 5888 [pid 5848] rmdir("./9/file2" [pid 5888] <... set_robust_list resumed>) = 0 [pid 5848] <... rmdir resumed>) = 0 [pid 5888] chdir("./10") = 0 [pid 5848] umount2("./9/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5888] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5848] newfstatat(AT_FDCWD, "./9/binderfs", [pid 5888] <... prctl resumed>) = 0 [pid 5848] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5888] setpgid(0, 0 [pid 5848] unlink("./9/binderfs" [pid 5888] <... setpgid resumed>) = 0 [pid 5848] <... unlink resumed>) = 0 [pid 5888] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5848] umount2("./9/cgroup.stat", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5888] <... openat resumed>) = 3 [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5848] newfstatat(AT_FDCWD, "./9/cgroup.stat", [pid 5888] write(3, "1000", 4 [pid 5848] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5888] <... write resumed>) = 4 [pid 5888] close(3) = 0 [pid 5848] unlink("./9/cgroup.stat" [pid 5888] symlink("/dev/binderfs", "./binderfs" [pid 5848] <... unlink resumed>) = 0 [pid 5888] <... symlink resumed>) = 0 [pid 5848] getdents64(3, 0x555589fa86f0 /* 0 entries */, 32768) = 0 executing program [pid 5888] write(1, "executing program\n", 18 [pid 5848] close(3 [pid 5888] <... write resumed>) = 18 [pid 5848] <... close resumed>) = 0 [pid 5888] memfd_create("syzkaller", 0 [pid 5848] rmdir("./9") = 0 [pid 5888] <... memfd_create resumed>) = 3 [pid 5888] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5848] mkdir("./10", 0777 [pid 5888] <... mmap resumed>) = 0x7fbbbf400000 [pid 5848] <... mkdir resumed>) = 0 [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 5848] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5888] <... write resumed>) = 524288 [pid 5848] ioctl(3, LOOP_CLR_FD [pid 5888] munmap(0x7fbbbf400000, 138412032 [pid 5848] <... ioctl resumed>) = 0 [pid 5888] <... munmap resumed>) = 0 [pid 5848] close(3 [pid 5888] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5848] <... close resumed>) = 0 [pid 5848] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5888] <... openat resumed>) = 4 [pid 5888] ioctl(4, LOOP_SET_FD, 3./strace-static-x86_64: Process 5889 attached [pid 5848] <... clone resumed>, child_tidptr=0x555589fa7650) = 5889 [pid 5889] set_robust_list(0x555589fa7660, 24) = 0 [pid 5888] <... ioctl resumed>) = 0 [pid 5889] chdir("./10" [pid 5888] close(3 [pid 5889] <... chdir resumed>) = 0 [pid 5888] <... close resumed>) = 0 [pid 5889] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5888] close(4 [pid 5889] <... prctl resumed>) = 0 [pid 5888] <... close resumed>) = 0 [pid 5889] setpgid(0, 0 [pid 5888] mkdir("./file2", 0777) = 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 5889] <... setpgid resumed>) = 0 [pid 5889] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5888] <... mount resumed>) = 0 [pid 5889] <... openat resumed>) = 3 [pid 5889] write(3, "1000", 4 [pid 5888] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5889] <... write resumed>) = 4 [pid 5889] close(3 [pid 5888] <... openat resumed>) = 3 [pid 5889] <... close resumed>) = 0 [pid 5889] symlink("/dev/binderfs", "./binderfs") = 0 [ 62.501716][ T5888] loop4: detected capacity change from 0 to 1024 [pid 5888] chdir("./file2") = 0 [pid 5889] write(1, "executing program\n", 18 [pid 5888] openat(AT_FDCWD, "/dev/loop4", O_RDWRexecuting program [pid 5889] <... write resumed>) = 18 [pid 5888] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5889] memfd_create("syzkaller", 0 [pid 5888] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 5889] <... memfd_create resumed>) = 3 [pid 5888] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5889] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbbbf400000 [pid 5888] <... openat resumed>) = 5 [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", ...}}) = 0 [pid 5889] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] 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 5889] <... write resumed>) = 524288 [pid 5889] munmap(0x7fbbbf400000, 138412032) = 0 [pid 5889] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5888] <... ioctl resumed>) = 0 [pid 5889] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5889] ioctl(4, LOOP_CLR_FD) = 0 [pid 5888] ftruncate(-1, 4402345721857) = -1 EBADF (Bad file descriptor) [pid 5888] exit_group(0) = ? [pid 5889] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5888] +++ exited with 0 +++ [pid 5852] --- 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 */} --- [pid 5889] close(4 [pid 5852] restart_syscall(<... resuming interrupted clone ...> [pid 5889] <... close resumed>) = 0 [pid 5852] <... restart_syscall resumed>) = 0 [pid 5889] close(3) = 0 [pid 5889] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5852] umount2("./10", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5889] <... openat resumed>) = 3 [pid 5852] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5889] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5852] <... openat resumed>) = 3 [pid 5852] newfstatat(3, "", [pid 5889] <... openat resumed>) = 4 [pid 5889] 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 5852] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5889] <... ioctl resumed>) = 0 [pid 5852] getdents64(3, 0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5852] umount2("./10/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5889] 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 5852] <... umount2 resumed>) = 0 [pid 5852] umount2("./10/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5852] newfstatat(AT_FDCWD, "./10/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5852] umount2("./10/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5852] openat(AT_FDCWD, "./10/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5889] <... ioctl resumed>) = 0 [pid 5852] newfstatat(4, "", [pid 5889] ftruncate(-1, 4402345721857) = -1 EBADF (Bad file descriptor) [pid 5852] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5889] exit_group(0 [pid 5852] getdents64(4, [pid 5889] <... exit_group resumed>) = ? [pid 5852] <... getdents64 resumed>0x555589fb0730 /* 2 entries */, 32768) = 48 [pid 5852] getdents64(4, 0x555589fb0730 /* 0 entries */, 32768) = 0 [pid 5889] +++ exited with 0 +++ [pid 5852] close(4) = 0 [pid 5852] rmdir("./10/file2" [pid 5848] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5889, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 5852] <... rmdir resumed>) = 0 [pid 5852] umount2("./10/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5852] newfstatat(AT_FDCWD, "./10/binderfs", [pid 5848] umount2("./10", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5848] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5852] unlink("./10/binderfs" [pid 5848] <... openat resumed>) = 3 [pid 5852] <... unlink resumed>) = 0 [pid 5848] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5852] getdents64(3, [pid 5848] getdents64(3, [pid 5852] <... getdents64 resumed>0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5848] <... getdents64 resumed>0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5852] close(3) = 0 [pid 5848] umount2("./10/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] rmdir("./10" [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] <... rmdir resumed>) = 0 [pid 5852] mkdir("./11", 0777 [pid 5848] newfstatat(AT_FDCWD, "./10/binderfs", [pid 5852] <... mkdir resumed>) = 0 [pid 5848] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5852] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5848] unlink("./10/binderfs" [pid 5852] ioctl(3, LOOP_CLR_FD) = 0 [pid 5852] close(3) = 0 [pid 5848] <... unlink resumed>) = 0 [pid 5852] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5848] umount2("./10/cgroup.stat", MNT_FORCE|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 5890 attached ) = -1 EINVAL (Invalid argument) [pid 5848] newfstatat(AT_FDCWD, "./10/cgroup.stat", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5848] unlink("./10/cgroup.stat" [pid 5890] set_robust_list(0x555589fa7660, 24 [pid 5848] <... unlink resumed>) = 0 [pid 5890] <... set_robust_list resumed>) = 0 [pid 5848] getdents64(3, [pid 5890] chdir("./11" [pid 5848] <... getdents64 resumed>0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5848] close(3) = 0 [pid 5848] rmdir("./10" [pid 5890] <... chdir resumed>) = 0 [pid 5848] <... rmdir resumed>) = 0 [pid 5890] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5848] mkdir("./11", 0777 [pid 5890] <... prctl resumed>) = 0 [pid 5848] <... mkdir resumed>) = 0 [pid 5890] setpgid(0, 0) = 0 [pid 5890] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5852] <... clone resumed>, child_tidptr=0x555589fa7650) = 5890 [pid 5890] <... openat resumed>) = 3 [pid 5848] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5890] write(3, "1000", 4 [pid 5848] ioctl(3, LOOP_CLR_FD [pid 5890] <... write resumed>) = 4 [pid 5848] <... ioctl resumed>) = 0 [pid 5890] close(3) = 0 [pid 5848] close(3 [pid 5890] symlink("/dev/binderfs", "./binderfs" [pid 5848] <... close resumed>) = 0 [pid 5890] <... symlink resumed>) = 0 [pid 5890] write(1, "executing program\n", 18executing program ) = 18 [pid 5890] memfd_create("syzkaller", 0 [pid 5848] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5890] <... memfd_create resumed>) = 3 [pid 5890] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbbbf400000 ./strace-static-x86_64: Process 5891 attached [pid 5848] <... clone resumed>, child_tidptr=0x555589fa7650) = 5891 [pid 5891] set_robust_list(0x555589fa7660, 24) = 0 [pid 5891] chdir("./11") = 0 [pid 5891] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5891] setpgid(0, 0) = 0 [pid 5891] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5891] write(3, "1000", 4) = 4 [pid 5891] close(3) = 0 [pid 5891] symlink("/dev/binderfs", "./binderfs" [pid 5890] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... symlink resumed>) = 0 executing program [pid 5891] write(1, "executing program\n", 18) = 18 [pid 5891] memfd_create("syzkaller", 0 [pid 5890] <... write resumed>) = 524288 [pid 5891] <... memfd_create resumed>) = 3 [pid 5890] munmap(0x7fbbbf400000, 138412032 [pid 5891] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbbbf400000 [pid 5890] <... munmap resumed>) = 0 [pid 5890] openat(AT_FDCWD, "/dev/loop4", O_RDWR [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 5890] <... openat resumed>) = 4 [pid 5890] ioctl(4, LOOP_SET_FD, 3 [pid 5891] <... write resumed>) = 524288 [pid 5891] munmap(0x7fbbbf400000, 138412032 [pid 5890] <... ioctl resumed>) = 0 [pid 5891] <... munmap resumed>) = 0 [pid 5890] close(3 [pid 5891] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5890] <... close resumed>) = 0 [pid 5891] <... openat resumed>) = 4 [pid 5891] ioctl(4, LOOP_SET_FD, 3 [pid 5890] close(4) = 0 [pid 5890] mkdir("./file2", 0777 [pid 5891] <... ioctl resumed>) = 0 [pid 5891] close(3 [pid 5890] <... mkdir resumed>) = 0 [pid 5890] 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] <... close resumed>) = 0 [pid 5891] close(4) = 0 [pid 5891] mkdir("./file2", 0777) = 0 [pid 5890] <... mount resumed>) = 0 [pid 5891] 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 5890] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 5890] chdir("./file2") = 0 [pid 5890] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5890] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 5890] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5891] <... mount resumed>) = 0 [pid 5891] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 5891] chdir("./file2") = 0 [pid 5891] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5891] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 5891] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5890] <... openat resumed>) = 5 [pid 5890] 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>) = 5 [pid 5890] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5890] 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 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", ...}}) = -1 EBUSY (Device or resource busy) [ 62.823960][ T5890] loop4: detected capacity change from 0 to 1024 [ 62.837451][ T5891] loop0: detected capacity change from 0 to 1024 [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"..., ...}) = 0 [pid 5891] ftruncate(-1, 4402345721857) = -1 EBADF (Bad file descriptor) [pid 5891] exit_group(0) = ? [pid 5891] +++ exited with 0 +++ [pid 5848] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5891, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 5848] restart_syscall(<... resuming interrupted clone ...> [pid 5890] <... ioctl resumed>) = 0 [pid 5890] ftruncate(-1, 4402345721857) = -1 EBADF (Bad file descriptor) [pid 5890] exit_group(0) = ? [pid 5890] +++ exited with 0 +++ [pid 5852] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5890, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5852] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5848] <... restart_syscall resumed>) = 0 [pid 5848] umount2("./11", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] umount2("./11", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5848] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5852] <... openat resumed>) = 3 [pid 5852] newfstatat(3, "", [pid 5848] <... openat resumed>) = 3 [pid 5848] newfstatat(3, "", [pid 5852] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5852] getdents64(3, [pid 5848] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5848] getdents64(3, [pid 5852] <... getdents64 resumed>0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5852] umount2("./11/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5848] <... getdents64 resumed>0x555589fa86f0 /* 4 entries */, 32768) = 112 [ 62.902998][ T5890] loop0: detected capacity change from 1024 to 3 [ 62.909901][ T5890] Dev loop0: unable to read RDB block 3 [ 62.915556][ T5890] loop0: unable to read partition table [ 62.921250][ T5890] loop0: partition table beyond EOD, truncated [ 62.927432][ T5890] loop_reread_partitions: partition scan of loop0 (Rt *3 !6{bO0.Qʝ H"Uqd\'Lz8w1AH) failed (rc=-5) [pid 5848] umount2("./11/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] <... umount2 resumed>) = 0 [pid 5852] umount2("./11/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5852] newfstatat(AT_FDCWD, "./11/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5852] umount2("./11/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5852] openat(AT_FDCWD, "./11/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5852] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5852] getdents64(4, 0x555589fb0730 /* 2 entries */, 32768) = 48 [pid 5852] getdents64(4, 0x555589fb0730 /* 0 entries */, 32768) = 0 [pid 5852] close(4) = 0 [pid 5852] rmdir("./11/file2") = 0 [pid 5852] umount2("./11/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5848] <... umount2 resumed>) = 0 [pid 5852] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5848] umount2("./11/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] newfstatat(AT_FDCWD, "./11/binderfs", [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5848] newfstatat(AT_FDCWD, "./11/file2", [pid 5852] unlink("./11/binderfs" [pid 5848] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5852] <... unlink resumed>) = 0 [pid 5848] umount2("./11/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] getdents64(3, [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] <... getdents64 resumed>0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5848] openat(AT_FDCWD, "./11/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5852] close(3 [pid 5848] <... openat resumed>) = 4 [pid 5852] <... close resumed>) = 0 [pid 5852] rmdir("./11" [pid 5848] newfstatat(4, "", [pid 5852] <... rmdir resumed>) = 0 [pid 5848] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5848] getdents64(4, [pid 5852] mkdir("./12", 0777 [pid 5848] <... getdents64 resumed>0x555589fb0730 /* 2 entries */, 32768) = 48 [pid 5848] getdents64(4, 0x555589fb0730 /* 0 entries */, 32768) = 0 [pid 5852] <... mkdir resumed>) = 0 [pid 5848] close(4) = 0 [pid 5848] rmdir("./11/file2" [pid 5852] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5848] <... rmdir resumed>) = 0 [pid 5852] <... openat resumed>) = 3 [pid 5848] umount2("./11/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] ioctl(3, LOOP_CLR_FD [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 62.990776][ T52] kworker/u8:3: attempt to access beyond end of device [ 62.990776][ T52] loop0: rw=1, sector=206, nr_sectors = 8 limit=3 [ 63.004661][ T52] kworker/u8:3: attempt to access beyond end of device [ 63.004661][ T52] loop0: rw=2049, sector=198, nr_sectors = 16 limit=3 [pid 5848] newfstatat(AT_FDCWD, "./11/binderfs", [pid 5852] <... ioctl resumed>) = 0 [pid 5848] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5852] close(3) = 0 [pid 5848] unlink("./11/binderfs") = 0 [pid 5852] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5848] getdents64(3, 0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5848] close(3) = 0 [pid 5848] rmdir("./11") = 0 [pid 5848] mkdir("./12", 0777) = 0 [pid 5848] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5848] ioctl(3, LOOP_CLR_FD) = 0 [pid 5848] close(3./strace-static-x86_64: Process 5892 attached ) = 0 [pid 5848] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5893 attached [pid 5893] set_robust_list(0x555589fa7660, 24 [pid 5848] <... clone resumed>, child_tidptr=0x555589fa7650) = 5893 [pid 5893] <... set_robust_list resumed>) = 0 [pid 5893] chdir("./12") = 0 [pid 5893] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5893] setpgid(0, 0 [pid 5892] set_robust_list(0x555589fa7660, 24 [pid 5852] <... clone resumed>, child_tidptr=0x555589fa7650) = 5892 [pid 5893] <... setpgid resumed>) = 0 [pid 5892] <... set_robust_list resumed>) = 0 [pid 5893] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5892] chdir("./12" [pid 5893] <... openat resumed>) = 3 [pid 5892] <... chdir resumed>) = 0 [pid 5893] write(3, "1000", 4 [pid 5892] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5893] <... write resumed>) = 4 [pid 5892] <... prctl resumed>) = 0 [pid 5893] close(3 [pid 5892] setpgid(0, 0 [pid 5893] <... close resumed>) = 0 [pid 5892] <... setpgid resumed>) = 0 [pid 5893] symlink("/dev/binderfs", "./binderfs" [pid 5892] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5893] <... symlink resumed>) = 0 [pid 5892] <... openat resumed>) = 3 [pid 5893] write(1, "executing program\n", 18 [pid 5892] write(3, "1000", 4executing program [pid 5893] <... write resumed>) = 18 [pid 5892] <... write resumed>) = 4 [pid 5893] memfd_create("syzkaller", 0 [pid 5892] close(3 [pid 5893] <... memfd_create resumed>) = 3 [pid 5892] <... close resumed>) = 0 [pid 5893] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5892] symlink("/dev/binderfs", "./binderfs" [pid 5893] <... mmap resumed>) = 0x7fbbbf400000 [pid 5892] <... symlink resumed>) = 0 [pid 5892] write(1, "executing program\n", 18executing program ) = 18 [pid 5892] memfd_create("syzkaller", 0) = 3 [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] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbbbf400000 [pid 5893] <... write resumed>) = 524288 [pid 5893] munmap(0x7fbbbf400000, 138412032) = 0 [pid 5893] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [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 5893] ioctl(4, LOOP_SET_FD, 3 [pid 5892] <... write resumed>) = 524288 [pid 5892] munmap(0x7fbbbf400000, 138412032) = 0 [pid 5892] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5893] <... ioctl resumed>) = 0 [pid 5893] close(3 [pid 5892] <... openat resumed>) = 4 [pid 5893] <... close resumed>) = 0 [pid 5893] close(4) = 0 [pid 5892] ioctl(4, LOOP_SET_FD, 3 [pid 5893] mkdir("./file2", 0777) = 0 [pid 5893] 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 5892] <... ioctl resumed>) = 0 [pid 5893] <... mount resumed>) = 0 [pid 5893] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5892] close(3 [pid 5893] <... openat resumed>) = 3 [pid 5892] <... close resumed>) = 0 [pid 5892] close(4 [pid 5893] chdir("./file2" [pid 5892] <... close resumed>) = 0 [pid 5893] <... chdir resumed>) = 0 [pid 5892] mkdir("./file2", 0777 [pid 5893] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5892] <... mkdir resumed>) = 0 [pid 5893] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5892] 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 5893] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 5893] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 5 [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 5892] <... mount resumed>) = 0 [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 5892] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 5892] chdir("./file2") = 0 [ 63.150115][ T5893] loop0: detected capacity change from 0 to 1024 [ 63.165281][ T5892] loop4: detected capacity change from 0 to 1024 [pid 5892] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5892] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 5892] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 5 [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", ...}}) = -1 EBUSY (Device or resource busy) [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 5893] <... ioctl resumed>) = 0 [pid 5893] ftruncate(-1, 4402345721857) = -1 EBADF (Bad file descriptor) [pid 5893] exit_group(0) = ? [pid 5893] +++ exited with 0 +++ [pid 5848] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5893, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [ 63.223750][ T5893] loop0: detected capacity change from 1024 to 3 [ 63.231249][ T5893] Dev loop0: unable to read RDB block 3 [ 63.237154][ T5893] loop0: unable to read partition table [ 63.242916][ T5893] loop0: partition table beyond EOD, truncated [ 63.249077][ T5893] loop_reread_partitions: partition scan of loop0 (Rt *3 !6{bO0.Qʝ H"Uqd\'Lz8w1AH) failed (rc=-5) [pid 5892] <... ioctl resumed>) = 0 [pid 5848] umount2("./12", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5892] ftruncate(-1, 4402345721857) = -1 EBADF (Bad file descriptor) [pid 5892] exit_group(0 [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5892] <... exit_group resumed>) = ? [pid 5848] openat(AT_FDCWD, "./12", 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 [pid 5848] getdents64(3, [pid 5892] +++ exited with 0 +++ [pid 5848] <... getdents64 resumed>0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5848] umount2("./12/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5892, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5852] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5852] umount2("./12", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5852] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5852] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5852] getdents64(3, 0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5852] umount2("./12/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5848] <... umount2 resumed>) = 0 [pid 5852] umount2("./12/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5852] newfstatat(AT_FDCWD, "./12/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5848] umount2("./12/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5852] umount2("./12/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5848] newfstatat(AT_FDCWD, "./12/file2", [pid 5852] openat(AT_FDCWD, "./12/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5848] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5852] <... openat resumed>) = 4 [pid 5848] umount2("./12/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5852] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5848] openat(AT_FDCWD, "./12/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5852] getdents64(4, 0x555589fb0730 /* 2 entries */, 32768) = 48 [ 63.329419][ T61] kworker/u8:4: attempt to access beyond end of device [ 63.329419][ T61] loop0: rw=1, sector=206, nr_sectors = 8 limit=3 [ 63.342915][ T61] kworker/u8:4: attempt to access beyond end of device [ 63.342915][ T61] loop0: rw=2049, sector=198, nr_sectors = 16 limit=3 [pid 5852] getdents64(4, [pid 5848] newfstatat(4, "", [pid 5852] <... getdents64 resumed>0x555589fb0730 /* 0 entries */, 32768) = 0 [pid 5848] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5852] close(4) = 0 [pid 5848] getdents64(4, [pid 5852] rmdir("./12/file2" [pid 5848] <... getdents64 resumed>0x555589fb0730 /* 2 entries */, 32768) = 48 [pid 5852] <... rmdir resumed>) = 0 [pid 5848] getdents64(4, 0x555589fb0730 /* 0 entries */, 32768) = 0 [pid 5848] close(4) = 0 [pid 5852] umount2("./12/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5848] rmdir("./12/file2" [pid 5852] newfstatat(AT_FDCWD, "./12/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5852] unlink("./12/binderfs" [pid 5848] <... rmdir resumed>) = 0 [pid 5848] umount2("./12/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] <... unlink resumed>) = 0 [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5848] newfstatat(AT_FDCWD, "./12/binderfs", [pid 5852] getdents64(3, [pid 5848] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5852] <... getdents64 resumed>0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5852] close(3 [pid 5848] unlink("./12/binderfs" [pid 5852] <... close resumed>) = 0 [pid 5852] rmdir("./12" [pid 5848] <... unlink resumed>) = 0 [pid 5852] <... rmdir resumed>) = 0 [pid 5848] getdents64(3, [pid 5852] mkdir("./13", 0777 [pid 5848] <... getdents64 resumed>0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5852] <... mkdir resumed>) = 0 [pid 5848] close(3) = 0 [pid 5848] rmdir("./12" [pid 5852] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5848] <... rmdir resumed>) = 0 [pid 5852] ioctl(3, LOOP_CLR_FD) = 0 [pid 5852] close(3 [pid 5848] mkdir("./13", 0777) = 0 [pid 5848] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5852] <... close resumed>) = 0 [pid 5848] <... openat resumed>) = 3 [pid 5852] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5848] ioctl(3, LOOP_CLR_FD) = 0 [pid 5848] close(3./strace-static-x86_64: Process 5894 attached [pid 5894] set_robust_list(0x555589fa7660, 24 [pid 5852] <... clone resumed>, child_tidptr=0x555589fa7650) = 5894 [pid 5894] <... set_robust_list resumed>) = 0 [pid 5894] chdir("./13") = 0 [pid 5848] <... close resumed>) = 0 [pid 5894] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5848] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5894] <... prctl resumed>) = 0 [pid 5894] setpgid(0, 0) = 0 [pid 5894] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC./strace-static-x86_64: Process 5895 attached [pid 5895] set_robust_list(0x555589fa7660, 24 [pid 5894] <... openat resumed>) = 3 [pid 5848] <... clone resumed>, child_tidptr=0x555589fa7650) = 5895 [pid 5895] <... set_robust_list resumed>) = 0 [pid 5895] chdir("./13" [pid 5894] write(3, "1000", 4 [pid 5895] <... chdir resumed>) = 0 [pid 5894] <... write resumed>) = 4 [pid 5895] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5894] close(3 [pid 5895] <... prctl resumed>) = 0 [pid 5894] <... close resumed>) = 0 [pid 5895] setpgid(0, 0 [pid 5894] symlink("/dev/binderfs", "./binderfs" [pid 5895] <... setpgid resumed>) = 0 [pid 5894] <... symlink resumed>) = 0 [pid 5895] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5894] write(1, "executing program\n", 18executing program [pid 5895] <... openat resumed>) = 3 [pid 5894] <... write resumed>) = 18 [pid 5895] write(3, "1000", 4 [pid 5894] memfd_create("syzkaller", 0 [pid 5895] <... write resumed>) = 4 [pid 5895] close(3) = 0 [pid 5894] <... memfd_create resumed>) = 3 [pid 5895] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5894] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbbbf400000 [pid 5895] write(1, "executing program\n", 18executing program ) = 18 [pid 5895] memfd_create("syzkaller", 0) = 3 [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 5895] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbbbf400000 [pid 5894] <... write resumed>) = 524288 [pid 5894] munmap(0x7fbbbf400000, 138412032) = 0 [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 5894] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5894] ioctl(4, LOOP_SET_FD, 3 [pid 5895] <... write resumed>) = 524288 [pid 5895] munmap(0x7fbbbf400000, 138412032) = 0 [pid 5895] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5894] <... ioctl resumed>) = 0 [pid 5895] <... openat resumed>) = 4 [pid 5894] close(3) = 0 [pid 5894] close(4 [pid 5895] ioctl(4, LOOP_SET_FD, 3 [pid 5894] <... close resumed>) = 0 [pid 5894] mkdir("./file2", 0777) = 0 [pid 5895] <... ioctl resumed>) = 0 [pid 5894] 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 5895] close(3) = 0 [pid 5895] close(4) = 0 [pid 5895] mkdir("./file2", 0777) = 0 [pid 5895] 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 5894] <... mount resumed>) = 0 [pid 5895] <... mount resumed>) = 0 [pid 5894] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 5895] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 5895] chdir("./file2" [pid 5894] chdir("./file2" [pid 5895] <... chdir resumed>) = 0 [pid 5894] <... chdir resumed>) = 0 [pid 5895] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5894] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5895] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5894] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5895] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5894] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5895] <... openat resumed>) = 4 [pid 5894] <... openat resumed>) = 4 [pid 5894] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5895] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5894] <... openat resumed>) = 5 [pid 5895] <... 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 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", ...}} [pid 5894] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5895] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [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"..., ...} [ 63.536331][ T5894] loop4: detected capacity change from 0 to 1024 [ 63.550699][ T5895] loop0: detected capacity change from 0 to 1024 [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 5894] <... ioctl resumed>) = 0 [pid 5894] ftruncate(-1, 4402345721857) = -1 EBADF (Bad file descriptor) [pid 5894] exit_group(0) = ? [pid 5895] <... ioctl resumed>) = 0 [pid 5894] +++ exited with 0 +++ [pid 5852] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5894, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5852] restart_syscall(<... resuming interrupted clone ...> [pid 5895] ftruncate(-1, 4402345721857) = -1 EBADF (Bad file descriptor) [pid 5895] exit_group(0) = ? [pid 5895] +++ exited with 0 +++ [pid 5848] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5895, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 5852] <... restart_syscall resumed>) = 0 [pid 5848] restart_syscall(<... resuming interrupted clone ...>) = 0 [ 63.623295][ T5894] loop0: detected capacity change from 1024 to 3 [ 63.630368][ T5894] Dev loop0: unable to read RDB block 3 [ 63.636013][ T5894] loop0: unable to read partition table [ 63.641734][ T5894] loop0: partition table beyond EOD, truncated [ 63.647970][ T5894] loop_reread_partitions: partition scan of loop0 (Rt *3 !6{bO0.Qʝ H"Uqd\'Lz8w1AH) failed (rc=-5) [pid 5848] umount2("./13", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5852] umount2("./13", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5848] openat(AT_FDCWD, "./13", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5852] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5848] <... openat resumed>) = 3 [pid 5852] openat(AT_FDCWD, "./13", 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 [pid 5852] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5848] getdents64(3, [pid 5852] getdents64(3, [pid 5848] <... getdents64 resumed>0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5852] <... getdents64 resumed>0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5848] umount2("./13/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] umount2("./13/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5852] umount2("./13/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5852] newfstatat(AT_FDCWD, "./13/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5848] <... umount2 resumed>) = 0 [pid 5848] umount2("./13/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] umount2("./13/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] openat(AT_FDCWD, "./13/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5848] newfstatat(AT_FDCWD, "./13/file2", [pid 5852] <... openat resumed>) = 4 [pid 5852] newfstatat(4, "", [pid 5848] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5852] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5848] umount2("./13/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] getdents64(4, [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] <... getdents64 resumed>0x555589fb0730 /* 2 entries */, 32768) = 48 [pid 5848] openat(AT_FDCWD, "./13/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5852] getdents64(4, [pid 5848] <... openat resumed>) = 4 [pid 5852] <... getdents64 resumed>0x555589fb0730 /* 0 entries */, 32768) = 0 [pid 5852] close(4) = 0 [pid 5848] newfstatat(4, "", [pid 5852] rmdir("./13/file2" [pid 5848] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5848] getdents64(4, 0x555589fb0730 /* 2 entries */, 32768) = 48 [pid 5848] getdents64(4, [pid 5852] <... rmdir resumed>) = 0 [pid 5848] <... getdents64 resumed>0x555589fb0730 /* 0 entries */, 32768) = 0 [pid 5852] umount2("./13/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5848] close(4 [pid 5852] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5848] <... close resumed>) = 0 [pid 5852] newfstatat(AT_FDCWD, "./13/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5848] rmdir("./13/file2" [pid 5852] unlink("./13/binderfs" [pid 5848] <... rmdir resumed>) = 0 [pid 5852] <... unlink resumed>) = 0 [pid 5848] umount2("./13/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5852] getdents64(3, 0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5848] newfstatat(AT_FDCWD, "./13/binderfs", [pid 5852] close(3) = 0 [pid 5848] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5852] rmdir("./13" [pid 5848] unlink("./13/binderfs") = 0 [pid 5852] <... rmdir resumed>) = 0 [ 63.741160][ T61] kworker/u8:4: attempt to access beyond end of device [ 63.741160][ T61] loop0: rw=1, sector=206, nr_sectors = 8 limit=3 [ 63.754832][ T61] kworker/u8:4: attempt to access beyond end of device [ 63.754832][ T61] loop0: rw=2049, sector=198, nr_sectors = 16 limit=3 [pid 5848] getdents64(3, 0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5848] close(3 [pid 5852] mkdir("./14", 0777 [pid 5848] <... close resumed>) = 0 [pid 5848] rmdir("./13" [pid 5852] <... mkdir resumed>) = 0 [pid 5852] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5848] <... rmdir resumed>) = 0 [pid 5852] <... openat resumed>) = 3 [pid 5848] mkdir("./14", 0777 [pid 5852] ioctl(3, LOOP_CLR_FD) = 0 [pid 5852] close(3 [pid 5848] <... mkdir resumed>) = 0 [pid 5848] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5852] <... close resumed>) = 0 [pid 5848] ioctl(3, LOOP_CLR_FD) = 0 [pid 5848] close(3 [pid 5852] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5896 attached [pid 5896] set_robust_list(0x555589fa7660, 24 [pid 5852] <... clone resumed>, child_tidptr=0x555589fa7650) = 5896 [pid 5848] <... close resumed>) = 0 [pid 5896] <... set_robust_list resumed>) = 0 [pid 5848] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5896] chdir("./14") = 0 [pid 5848] <... clone resumed>, child_tidptr=0x555589fa7650) = 5897 [pid 5896] prctl(PR_SET_PDEATHSIG, SIGKILL./strace-static-x86_64: Process 5897 attached ) = 0 [pid 5897] set_robust_list(0x555589fa7660, 24 [pid 5896] setpgid(0, 0) = 0 [pid 5897] <... set_robust_list resumed>) = 0 [pid 5897] chdir("./14" [pid 5896] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5897] <... chdir resumed>) = 0 [pid 5897] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5896] <... openat resumed>) = 3 [pid 5897] <... prctl resumed>) = 0 [pid 5897] setpgid(0, 0) = 0 [pid 5896] write(3, "1000", 4 [pid 5897] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5896] <... write resumed>) = 4 [pid 5897] <... openat resumed>) = 3 [pid 5896] close(3) = 0 [pid 5897] write(3, "1000", 4 [pid 5896] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5897] <... write resumed>) = 4 [pid 5897] close(3 [pid 5896] write(1, "executing program\n", 18 [pid 5897] <... close resumed>) = 0 executing program [pid 5896] <... write resumed>) = 18 [pid 5896] memfd_create("syzkaller", 0) = 3 [pid 5897] symlink("/dev/binderfs", "./binderfs" [pid 5896] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5897] <... symlink resumed>) = 0 [pid 5896] <... mmap resumed>) = 0x7fbbbf400000 executing program [pid 5897] write(1, "executing program\n", 18) = 18 [pid 5897] memfd_create("syzkaller", 0) = 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] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbbbf400000 [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 5896] <... write resumed>) = 524288 [pid 5896] munmap(0x7fbbbf400000, 138412032 [pid 5897] <... write resumed>) = 524288 [pid 5897] munmap(0x7fbbbf400000, 138412032 [pid 5896] <... munmap resumed>) = 0 [pid 5896] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5897] <... munmap resumed>) = 0 [pid 5896] ioctl(4, LOOP_SET_FD, 3 [pid 5897] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5897] ioctl(4, LOOP_SET_FD, 3 [pid 5896] <... ioctl resumed>) = 0 [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 5897] <... ioctl resumed>) = 0 [pid 5897] close(3) = 0 [pid 5897] close(4) = 0 [pid 5896] <... mount resumed>) = 0 [pid 5896] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5897] mkdir("./file2", 0777 [pid 5896] <... openat resumed>) = 3 [pid 5897] <... mkdir resumed>) = 0 [pid 5896] chdir("./file2" [pid 5897] 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 5896] <... chdir resumed>) = 0 [pid 5896] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5896] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 5896] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 5 [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", ...}}) = -1 EBUSY (Device or resource busy) [ 63.946279][ T5896] loop4: detected capacity change from 0 to 1024 [ 63.957277][ T5897] loop0: detected capacity change from 0 to 1024 [ 64.032808][ T5896] loop0: detected capacity change from 1024 to 3 [ 64.039361][ T5897] syz-executor253: attempt to access beyond end of device [ 64.039361][ T5897] loop0: rw=0, sector=208, nr_sectors = 2 limit=3 [ 64.052815][ T5897] Buffer I/O error on dev loop0, logical block 104, async page read [ 64.053271][ T5896] Dev loop0: unable to read RDB block 3 [ 64.060823][ T5897] syz-executor253: attempt to access beyond end of device [ 64.060823][ T5897] loop0: rw=0, sector=210, nr_sectors = 2 limit=3 [ 64.067071][ T5896] loop0: unable to read partition table [ 64.079742][ T5897] Buffer I/O error on dev loop0, logical block 105, async page read [ 64.079820][ T5897] syz-executor253: attempt to access beyond end of device [ 64.079820][ T5897] loop0: rw=0, sector=212, nr_sectors = 2 limit=3 [ 64.086272][ T5896] loop0: partition table beyond EOD, [ 64.106803][ T5897] Buffer I/O error on dev loop0, logical block 106, async page read [ 64.106908][ T5897] hfsplus: failed to load root directory [ 64.112608][ T5896] truncated [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 5897] <... mount resumed>) = -1 EIO (Input/output error) [pid 5896] <... ioctl resumed>) = 0 [pid 5897] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5896] ftruncate(-1, 4402345721857 [pid 5897] <... openat resumed>) = 3 [pid 5896] <... ftruncate resumed>) = -1 EBADF (Bad file descriptor) [pid 5897] ioctl(3, LOOP_CLR_FD [pid 5896] exit_group(0 [pid 5897] <... ioctl resumed>) = 0 [pid 5897] close(3 [pid 5896] <... exit_group resumed>) = ? [pid 5897] <... close resumed>) = 0 [pid 5897] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 3 [pid 5897] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5896] +++ exited with 0 +++ [pid 5852] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5896, si_uid=0, si_status=0, si_utime=0, si_stime=8 /* 0.08 s */} --- [pid 5852] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5852] umount2("./14", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5852] openat(AT_FDCWD, "./14", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5897] <... openat resumed>) = 4 [pid 5852] newfstatat(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", ...}}) = 0 [pid 5852] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 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"..., ...} [pid 5852] getdents64(3, 0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5852] umount2("./14/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5852] umount2("./14/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5852] newfstatat(AT_FDCWD, "./14/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 64.129387][ T5896] loop_reread_partitions: partition scan of loop0 (Rt *3 !6{bO0.Qʝ H"Uqd\'Lz8w1AH) failed (rc=-5) [ 64.149162][ T5223] Dev loop0: unable to read RDB block 3 [ 64.154831][ T5223] loop0: unable to read partition table [ 64.160891][ T5223] loop0: partition table beyond EOD, truncated [pid 5852] umount2("./14/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5852] openat(AT_FDCWD, "./14/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5897] <... ioctl resumed>) = 0 [pid 5852] <... openat resumed>) = 4 [pid 5852] newfstatat(4, "", [pid 5897] ftruncate(-1, 4402345721857) = -1 EBADF (Bad file descriptor) [pid 5852] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5897] exit_group(0 [pid 5852] getdents64(4, [pid 5897] <... exit_group resumed>) = ? [pid 5852] <... getdents64 resumed>0x555589fb0730 /* 2 entries */, 32768) = 48 [pid 5852] getdents64(4, [pid 5897] +++ exited with 0 +++ [pid 5852] <... getdents64 resumed>0x555589fb0730 /* 0 entries */, 32768) = 0 [pid 5852] close(4) = 0 [pid 5848] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5897, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5852] rmdir("./14/file2" [pid 5848] umount2("./14", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] <... rmdir resumed>) = 0 [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5848] openat(AT_FDCWD, "./14", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5852] umount2("./14/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5848] newfstatat(3, "", [pid 5852] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5848] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5852] newfstatat(AT_FDCWD, "./14/binderfs", [pid 5848] getdents64(3, [pid 5852] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5848] <... getdents64 resumed>0x555589fa86f0 /* 5 entries */, 32768) = 144 [pid 5852] unlink("./14/binderfs" [pid 5848] umount2("./14/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] <... unlink resumed>) = 0 [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] getdents64(3, [pid 5848] newfstatat(AT_FDCWD, "./14/file2", [pid 5852] <... getdents64 resumed>0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5848] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5852] close(3 [pid 5848] umount2("./14/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] <... close resumed>) = 0 [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] rmdir("./14" [pid 5848] openat(AT_FDCWD, "./14/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5852] <... rmdir resumed>) = 0 [pid 5848] <... openat resumed>) = 4 [pid 5848] newfstatat(4, "", [pid 5852] mkdir("./15", 0777 [pid 5848] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5848] getdents64(4, [pid 5852] <... mkdir resumed>) = 0 [pid 5848] <... getdents64 resumed>0x555589fb0730 /* 2 entries */, 32768) = 48 [pid 5852] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5848] getdents64(4, [pid 5852] ioctl(3, LOOP_CLR_FD [pid 5848] <... getdents64 resumed>0x555589fb0730 /* 0 entries */, 32768) = 0 [pid 5852] <... ioctl resumed>) = 0 [pid 5848] close(4 [pid 5852] close(3 [pid 5848] <... close resumed>) = 0 [pid 5852] <... close resumed>) = 0 [pid 5848] rmdir("./14/file2") = 0 [pid 5852] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5848] umount2("./14/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5848] newfstatat(AT_FDCWD, "./14/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5848] unlink("./14/binderfs") = 0 ./strace-static-x86_64: Process 5898 attached [pid 5848] umount2("./14/cgroup.stat", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5848] newfstatat(AT_FDCWD, "./14/cgroup.stat", [pid 5898] set_robust_list(0x555589fa7660, 24 [pid 5852] <... clone resumed>, child_tidptr=0x555589fa7650) = 5898 [pid 5848] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5898] <... set_robust_list resumed>) = 0 [pid 5848] unlink("./14/cgroup.stat" [pid 5898] chdir("./15" [pid 5848] <... unlink resumed>) = 0 [pid 5898] <... chdir resumed>) = 0 [pid 5898] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5848] getdents64(3, [pid 5898] <... prctl resumed>) = 0 [pid 5848] <... getdents64 resumed>0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5898] setpgid(0, 0 [pid 5848] close(3) = 0 [pid 5898] <... setpgid resumed>) = 0 [pid 5848] rmdir("./14" [pid 5898] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5848] <... rmdir resumed>) = 0 [pid 5898] <... openat resumed>) = 3 [pid 5898] write(3, "1000", 4 [pid 5848] mkdir("./15", 0777 [pid 5898] <... write resumed>) = 4 [pid 5898] close(3) = 0 [pid 5898] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5848] <... mkdir resumed>) = 0 [pid 5848] openat(AT_FDCWD, "/dev/loop0", O_RDWRexecuting program [pid 5898] write(1, "executing program\n", 18 [pid 5848] <... openat resumed>) = 3 [pid 5898] <... write resumed>) = 18 [pid 5898] memfd_create("syzkaller", 0 [pid 5848] ioctl(3, LOOP_CLR_FD [pid 5898] <... memfd_create resumed>) = 3 [pid 5848] <... ioctl resumed>) = 0 [pid 5898] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5848] close(3 [pid 5898] <... mmap resumed>) = 0x7fbbbf400000 [pid 5848] <... close resumed>) = 0 [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 5848] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5899 attached [pid 5899] set_robust_list(0x555589fa7660, 24 [pid 5848] <... clone resumed>, child_tidptr=0x555589fa7650) = 5899 [pid 5899] <... set_robust_list resumed>) = 0 [pid 5898] <... write resumed>) = 524288 [pid 5899] chdir("./15" [pid 5898] munmap(0x7fbbbf400000, 138412032 [pid 5899] <... chdir resumed>) = 0 [pid 5898] <... munmap resumed>) = 0 [pid 5899] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5899] setpgid(0, 0 [pid 5898] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5899] <... setpgid resumed>) = 0 [pid 5899] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5898] <... openat resumed>) = 4 [pid 5898] ioctl(4, LOOP_SET_FD, 3 [pid 5899] <... openat resumed>) = 3 [pid 5899] write(3, "1000", 4) = 4 [pid 5899] close(3) = 0 [pid 5899] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5899] write(1, "executing program\n", 18 [pid 5898] <... ioctl resumed>) = 0 executing program [pid 5899] <... write resumed>) = 18 [pid 5899] memfd_create("syzkaller", 0 [pid 5898] close(3) = 0 [pid 5898] close(4 [pid 5899] <... memfd_create resumed>) = 3 [pid 5898] <... close resumed>) = 0 [pid 5899] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbbbf400000 [pid 5898] mkdir("./file2", 0777 [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 5898] <... mkdir resumed>) = 0 [pid 5898] 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 5899] <... write resumed>) = 524288 [pid 5899] munmap(0x7fbbbf400000, 138412032) = 0 [pid 5899] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5898] <... mount resumed>) = 0 [pid 5899] <... openat resumed>) = 4 [pid 5898] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [ 64.477236][ T5898] loop4: detected capacity change from 0 to 1024 [pid 5899] ioctl(4, LOOP_SET_FD, 3 [pid 5898] chdir("./file2") = 0 [pid 5898] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5898] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5899] <... ioctl resumed>) = 0 [pid 5898] <... openat resumed>) = 4 [pid 5899] close(3 [pid 5898] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5899] <... close resumed>) = 0 [pid 5899] close(4) = 0 [pid 5898] <... openat resumed>) = 5 [pid 5899] mkdir("./file2", 0777) = 0 [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", ...}}) = -1 EBUSY (Device or resource busy) [pid 5899] 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"... [ 64.537955][ T5899] loop0: detected capacity change from 0 to 1024 [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 5899] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5899] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5899] ioctl(3, LOOP_CLR_FD) = 0 [pid 5899] close(3) = 0 [pid 5899] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5898] <... ioctl resumed>) = 0 [ 64.612722][ T5898] loop0: detected capacity change from 1024 to 3 [ 64.620057][ T5899] hfsplus: unable to find HFS+ superblock [ 64.620229][ T5898] Dev loop0: unable to read RDB block 3 [ 64.631398][ T5898] loop0: unable to read partition table [ 64.637133][ T5898] loop0: partition table beyond EOD, truncated [ 64.643325][ T5898] loop_reread_partitions: partition scan of loop0 (Rt *3 !6{bO0.Qʝ H"Uqd\'Lz8w1AH) failed (rc=-5) [pid 5898] ftruncate(-1, 4402345721857) = -1 EBADF (Bad file descriptor) [pid 5898] exit_group(0) = ? [pid 5899] <... openat resumed>) = 3 [pid 5899] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5898] +++ exited with 0 +++ [pid 5899] <... openat resumed>) = 4 [pid 5852] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5898, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5899] 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", ...}}) = -1 EBUSY (Device or resource busy) [pid 5899] 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 5852] umount2("./15", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5852] openat(AT_FDCWD, "./15", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [ 64.658227][ T5223] Dev loop0: unable to read RDB block 3 [ 64.663919][ T5223] loop0: unable to read partition table [ 64.669649][ T5223] loop0: partition table beyond EOD, truncated [pid 5852] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5852] getdents64(3, [pid 5899] <... ioctl resumed>) = 0 [pid 5899] ftruncate(-1, 4402345721857 [pid 5852] <... getdents64 resumed>0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5899] <... ftruncate resumed>) = -1 EBADF (Bad file descriptor) [pid 5852] umount2("./15/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5899] exit_group(0) = ? [pid 5899] +++ exited with 0 +++ [pid 5852] <... umount2 resumed>) = 0 [pid 5852] umount2("./15/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5848] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5899, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5852] newfstatat(AT_FDCWD, "./15/file2", [pid 5848] restart_syscall(<... resuming interrupted clone ...> [pid 5852] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5848] <... restart_syscall resumed>) = 0 [pid 5852] umount2("./15/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5852] openat(AT_FDCWD, "./15/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5848] umount2("./15", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] newfstatat(4, "", [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5852] getdents64(4, [pid 5848] openat(AT_FDCWD, "./15", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5852] <... getdents64 resumed>0x555589fb0730 /* 2 entries */, 32768) = 48 [pid 5848] <... openat resumed>) = 3 [pid 5852] getdents64(4, [pid 5848] newfstatat(3, "", [pid 5852] <... getdents64 resumed>0x555589fb0730 /* 0 entries */, 32768) = 0 [pid 5852] close(4 [pid 5848] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5852] <... close resumed>) = 0 [pid 5848] getdents64(3, [pid 5852] rmdir("./15/file2" [pid 5848] <... getdents64 resumed>0x555589fa86f0 /* 5 entries */, 32768) = 144 [pid 5852] <... rmdir resumed>) = 0 [pid 5848] umount2("./15/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] umount2("./15/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5848] newfstatat(AT_FDCWD, "./15/file2", [pid 5852] newfstatat(AT_FDCWD, "./15/binderfs", [pid 5848] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5852] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5848] umount2("./15/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] unlink("./15/binderfs" [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] <... unlink resumed>) = 0 [pid 5848] openat(AT_FDCWD, "./15/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5852] getdents64(3, [pid 5848] <... openat resumed>) = 4 [pid 5852] <... getdents64 resumed>0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5848] newfstatat(4, "", [pid 5852] close(3 [pid 5848] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5852] <... close resumed>) = 0 [pid 5852] rmdir("./15" [pid 5848] getdents64(4, [pid 5852] <... rmdir resumed>) = 0 [pid 5852] mkdir("./16", 0777 [pid 5848] <... getdents64 resumed>0x555589fb0730 /* 2 entries */, 32768) = 48 [pid 5852] <... mkdir resumed>) = 0 [pid 5852] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5848] getdents64(4, [pid 5852] ioctl(3, LOOP_CLR_FD [pid 5848] <... getdents64 resumed>0x555589fb0730 /* 0 entries */, 32768) = 0 [pid 5852] <... ioctl resumed>) = 0 [pid 5848] close(4) = 0 [pid 5852] close(3 [pid 5848] rmdir("./15/file2" [pid 5852] <... close resumed>) = 0 [pid 5848] <... rmdir resumed>) = 0 [pid 5848] umount2("./15/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5848] newfstatat(AT_FDCWD, "./15/binderfs", ./strace-static-x86_64: Process 5900 attached [pid 5852] <... clone resumed>, child_tidptr=0x555589fa7650) = 5900 [pid 5848] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5900] set_robust_list(0x555589fa7660, 24 [pid 5848] unlink("./15/binderfs" [pid 5900] <... set_robust_list resumed>) = 0 [pid 5848] <... unlink resumed>) = 0 [pid 5900] chdir("./16" [pid 5848] umount2("./15/cgroup.stat", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5900] <... chdir resumed>) = 0 [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5900] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5848] newfstatat(AT_FDCWD, "./15/cgroup.stat", [pid 5900] <... prctl resumed>) = 0 [pid 5900] setpgid(0, 0 [pid 5848] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5900] <... setpgid resumed>) = 0 [pid 5848] unlink("./15/cgroup.stat") = 0 [pid 5900] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5848] getdents64(3, [pid 5900] <... openat resumed>) = 3 [pid 5848] <... getdents64 resumed>0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5900] write(3, "1000", 4 [pid 5848] close(3 [pid 5900] <... write resumed>) = 4 [pid 5900] close(3 [pid 5848] <... close resumed>) = 0 [pid 5900] <... close resumed>) = 0 [pid 5848] rmdir("./15" [pid 5900] symlink("/dev/binderfs", "./binderfs" executing program [pid 5848] <... rmdir resumed>) = 0 [pid 5900] <... symlink resumed>) = 0 [pid 5900] write(1, "executing program\n", 18 [pid 5848] mkdir("./16", 0777 [pid 5900] <... write resumed>) = 18 [pid 5848] <... mkdir resumed>) = 0 [pid 5900] memfd_create("syzkaller", 0) = 3 [pid 5848] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5900] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5848] <... openat resumed>) = 3 [pid 5900] <... mmap resumed>) = 0x7fbbbf400000 [pid 5848] ioctl(3, LOOP_CLR_FD) = 0 [pid 5848] close(3) = 0 [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 5848] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5901 attached [pid 5901] set_robust_list(0x555589fa7660, 24 [pid 5848] <... clone resumed>, child_tidptr=0x555589fa7650) = 5901 [pid 5901] <... set_robust_list resumed>) = 0 [pid 5901] chdir("./16") = 0 [pid 5901] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5900] <... write resumed>) = 524288 [pid 5901] setpgid(0, 0) = 0 [pid 5900] munmap(0x7fbbbf400000, 138412032 [pid 5901] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5900] <... munmap resumed>) = 0 [pid 5901] <... openat resumed>) = 3 [pid 5900] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5901] write(3, "1000", 4 [pid 5900] <... openat resumed>) = 4 [pid 5901] <... write resumed>) = 4 [pid 5901] close(3 [pid 5900] ioctl(4, LOOP_SET_FD, 3 [pid 5901] <... close resumed>) = 0 [pid 5900] <... ioctl resumed>) = 0 [pid 5900] close(3 [pid 5901] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5901] write(1, "executing program\n", 18 [pid 5900] <... close resumed>) = 0 [pid 5901] <... write resumed>) = 18 [pid 5901] memfd_create("syzkaller", 0 [pid 5900] close(4 [pid 5901] <... memfd_create resumed>) = 3 [pid 5900] <... close resumed>) = 0 [pid 5901] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbbbf400000 [pid 5900] mkdir("./file2", 0777) = 0 [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 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) = 524288 [pid 5901] munmap(0x7fbbbf400000, 138412032) = 0 [pid 5901] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5900] <... mount resumed>) = 0 [pid 5901] <... openat resumed>) = 4 [pid 5900] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5901] ioctl(4, LOOP_SET_FD, 3 [pid 5900] <... openat resumed>) = 3 [ 64.922181][ T5900] loop4: detected capacity change from 0 to 1024 [pid 5900] chdir("./file2") = 0 [pid 5901] <... ioctl resumed>) = 0 [pid 5901] close(3) = 0 [pid 5901] close(4) = 0 [pid 5900] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5901] mkdir("./file2", 0777 [pid 5900] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5901] <... mkdir resumed>) = 0 [pid 5900] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 5901] 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 5900] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5901] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 5901] chdir("./file2") = 0 [pid 5901] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5900] <... openat resumed>) = 5 [pid 5901] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [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", ...}}) = -1 EBUSY (Device or resource busy) [pid 5901] <... openat resumed>) = 4 [pid 5901] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [ 64.968845][ T5901] loop0: detected capacity change from 0 to 1024 [ 65.043085][ T5900] loop0: detected capacity change from 1024 to 3 [ 65.049698][ T5901] syz-executor253: attempt to access beyond end of device [ 65.049698][ T5901] loop0: rw=0, sector=96, nr_sectors = 2 limit=3 [ 65.050914][ T5900] Dev loop0: unable to read RDB block 3 [ 65.063218][ T5901] Buffer I/O error on dev loop0, logical block 48, async page read [ 65.068587][ T5900] loop0: unable to read partition table [ 65.077202][ T5901] Buffer I/O error on dev loop0, logical block 49, async page read [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"..., ...}) = 0 [pid 5901] <... openat resumed>) = 5 [pid 5900] ftruncate(-1, 4402345721857 [pid 5901] 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 5900] <... ftruncate resumed>) = -1 EBADF (Bad file descriptor) [pid 5901] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5901] 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 5900] exit_group(0) = ? [pid 5900] +++ exited with 0 +++ [pid 5852] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5900, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5901] <... ioctl resumed>) = 0 [pid 5901] ftruncate(-1, 4402345721857 [pid 5852] restart_syscall(<... resuming interrupted clone ...> [pid 5901] <... ftruncate resumed>) = -1 EBADF (Bad file descriptor) [pid 5852] <... restart_syscall resumed>) = 0 [pid 5901] exit_group(0 [pid 5852] umount2("./16", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5901] <... exit_group resumed>) = ? [pid 5852] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] openat(AT_FDCWD, "./16", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5901] +++ exited with 0 +++ [pid 5852] <... openat resumed>) = 3 [ 65.082161][ T5900] loop0: partition table beyond EOD, truncated [ 65.090631][ T5901] Buffer I/O error on dev loop0, logical block 50, async page read [ 65.102460][ T5900] loop_reread_partitions: partition scan of loop0 (Rt *3 !6{bO0.Qʝ H"Uqd\'Lz8w1AH) failed (rc=-5) [ 65.104772][ T5901] hfsplus: xattr searching failed [pid 5852] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5848] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5901, si_uid=0, si_status=0, si_utime=0, si_stime=8 /* 0.08 s */} --- [pid 5852] getdents64(3, [pid 5848] restart_syscall(<... resuming interrupted clone ...> [pid 5852] <... getdents64 resumed>0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5848] <... restart_syscall resumed>) = 0 [pid 5852] umount2("./16/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5848] umount2("./16", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] <... umount2 resumed>) = 0 [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5848] openat(AT_FDCWD, "./16", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5852] umount2("./16/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5848] newfstatat(3, "", [pid 5852] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5848] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5852] newfstatat(AT_FDCWD, "./16/file2", [pid 5848] getdents64(3, [pid 5852] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5848] <... getdents64 resumed>0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5852] umount2("./16/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5848] umount2("./16/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] openat(AT_FDCWD, "./16/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5852] newfstatat(4, "", [pid 5848] <... umount2 resumed>) = 0 [pid 5852] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5852] getdents64(4, [pid 5848] umount2("./16/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] <... getdents64 resumed>0x555589fb0730 /* 2 entries */, 32768) = 48 [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] getdents64(4, [pid 5848] newfstatat(AT_FDCWD, "./16/file2", [pid 5852] <... getdents64 resumed>0x555589fb0730 /* 0 entries */, 32768) = 0 [pid 5848] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5852] close(4) = 0 [pid 5848] umount2("./16/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] rmdir("./16/file2" [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] <... rmdir resumed>) = 0 [pid 5848] openat(AT_FDCWD, "./16/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 5852] umount2("./16/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5848] getdents64(4, [pid 5852] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5848] <... getdents64 resumed>0x555589fb0730 /* 2 entries */, 32768) = 48 [pid 5852] newfstatat(AT_FDCWD, "./16/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5848] getdents64(4, 0x555589fb0730 /* 0 entries */, 32768) = 0 [pid 5852] unlink("./16/binderfs" [pid 5848] close(4 [pid 5852] <... unlink resumed>) = 0 [pid 5848] <... close resumed>) = 0 [pid 5848] rmdir("./16/file2" [pid 5852] getdents64(3, [pid 5848] <... rmdir resumed>) = 0 [pid 5852] <... getdents64 resumed>0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5848] umount2("./16/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] close(3) = 0 [pid 5852] rmdir("./16" [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] <... rmdir resumed>) = 0 [pid 5848] newfstatat(AT_FDCWD, "./16/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5848] unlink("./16/binderfs") = 0 [pid 5852] mkdir("./17", 0777 [pid 5848] getdents64(3, [pid 5852] <... mkdir resumed>) = 0 [pid 5848] <... getdents64 resumed>0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5848] close(3) = 0 [pid 5852] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5848] rmdir("./16" [pid 5852] <... openat resumed>) = 3 [pid 5848] <... rmdir resumed>) = 0 [pid 5852] ioctl(3, LOOP_CLR_FD) = 0 [pid 5852] close(3 [pid 5848] mkdir("./17", 0777 [pid 5852] <... close resumed>) = 0 [pid 5848] <... mkdir resumed>) = 0 [pid 5848] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5848] ioctl(3, LOOP_CLR_FD) = 0 [pid 5848] close(3 [pid 5852] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5848] <... close resumed>) = 0 ./strace-static-x86_64: Process 5902 attached [pid 5902] set_robust_list(0x555589fa7660, 24 [pid 5852] <... clone resumed>, child_tidptr=0x555589fa7650) = 5902 [pid 5902] <... set_robust_list resumed>) = 0 [pid 5848] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5903 attached [pid 5902] chdir("./17" [pid 5848] <... clone resumed>, child_tidptr=0x555589fa7650) = 5903 [pid 5903] set_robust_list(0x555589fa7660, 24 [pid 5902] <... chdir resumed>) = 0 [pid 5903] <... set_robust_list resumed>) = 0 [pid 5902] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5903] chdir("./17" [pid 5902] <... prctl resumed>) = 0 [pid 5903] <... chdir resumed>) = 0 [pid 5902] setpgid(0, 0 [pid 5903] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5902] <... setpgid resumed>) = 0 [pid 5903] <... prctl resumed>) = 0 [pid 5902] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5903] setpgid(0, 0 [pid 5902] <... openat resumed>) = 3 [pid 5902] write(3, "1000", 4 [pid 5903] <... setpgid resumed>) = 0 [pid 5902] <... write resumed>) = 4 [pid 5903] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5902] close(3) = 0 [pid 5903] <... openat resumed>) = 3 [pid 5902] symlink("/dev/binderfs", "./binderfs" [pid 5903] write(3, "1000", 4) = 4 [pid 5903] close(3) = 0 [pid 5903] symlink("/dev/binderfs", "./binderfs" [pid 5902] <... symlink resumed>) = 0 executing program [pid 5902] write(1, "executing program\n", 18 [pid 5903] <... symlink resumed>) = 0 [pid 5902] <... write resumed>) = 18 [pid 5902] memfd_create("syzkaller", 0 [pid 5903] write(1, "executing program\n", 18executing program [pid 5902] <... memfd_create resumed>) = 3 [pid 5903] <... write resumed>) = 18 [pid 5902] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbbbf400000 [pid 5903] memfd_create("syzkaller", 0) = 3 [pid 5903] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbbbf400000 [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 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 5902] <... write resumed>) = 524288 [pid 5903] <... write resumed>) = 524288 [pid 5903] munmap(0x7fbbbf400000, 138412032 [pid 5902] munmap(0x7fbbbf400000, 138412032 [pid 5903] <... munmap resumed>) = 0 [pid 5902] <... munmap resumed>) = 0 [pid 5903] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5902] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5903] <... openat resumed>) = 4 [pid 5902] <... openat resumed>) = 4 [pid 5903] ioctl(4, LOOP_SET_FD, 3 [pid 5902] ioctl(4, LOOP_SET_FD, 3 [pid 5903] <... ioctl resumed>) = 0 [pid 5903] close(3 [pid 5902] <... ioctl resumed>) = 0 [pid 5902] close(3) = 0 [pid 5902] close(4 [pid 5903] <... close resumed>) = 0 [pid 5902] <... close resumed>) = 0 [pid 5903] close(4) = 0 [pid 5902] mkdir("./file2", 0777 [pid 5903] mkdir("./file2", 0777 [pid 5902] <... mkdir resumed>) = 0 [pid 5903] <... mkdir resumed>) = 0 [pid 5902] 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 5903] 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 5903] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 5903] chdir("./file2") = 0 [pid 5903] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5903] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 5903] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5902] <... mount resumed>) = 0 [pid 5902] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5903] <... openat resumed>) = 5 [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", ...}}) = -1 EBUSY (Device or resource busy) [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 5902] <... openat resumed>) = 3 [pid 5902] chdir("./file2") = 0 [pid 5902] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [ 65.454453][ T5903] loop0: detected capacity change from 0 to 1024 [ 65.454519][ T5902] loop4: detected capacity change from 0 to 1024 [pid 5902] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 5902] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 5 [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", ...}}) = -1 EBUSY (Device or resource busy) [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"..., ...}) = 0 [pid 5902] ftruncate(-1, 4402345721857) = -1 EBADF (Bad file descriptor) [pid 5902] exit_group(0) = ? [pid 5903] <... ioctl resumed>) = 0 [pid 5903] ftruncate(-1, 4402345721857) = -1 EBADF (Bad file descriptor) [pid 5903] exit_group(0) = ? [pid 5902] +++ exited with 0 +++ [pid 5903] +++ exited with 0 +++ [pid 5852] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5902, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5852] umount2("./17", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5848] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5903, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5848] umount2("./17", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] openat(AT_FDCWD, "./17", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 65.552561][ T5903] loop0: detected capacity change from 1024 to 3 [ 65.560264][ T5903] Dev loop0: unable to read RDB block 3 [ 65.565947][ T5903] loop0: unable to read partition table [ 65.571656][ T5903] loop0: partition table beyond EOD, truncated [ 65.577879][ T5903] loop_reread_partitions: partition scan of loop0 (Rt *3 !6{bO0.Qʝ H"Uqd\'Lz8w1AH) failed (rc=-5) [pid 5848] openat(AT_FDCWD, "./17", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5852] newfstatat(3, "", [pid 5848] <... openat resumed>) = 3 [pid 5852] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5852] getdents64(3, [pid 5848] newfstatat(3, "", [pid 5852] <... getdents64 resumed>0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5848] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5852] umount2("./17/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5848] getdents64(3, 0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5848] umount2("./17/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] <... umount2 resumed>) = 0 [pid 5852] umount2("./17/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5852] newfstatat(AT_FDCWD, "./17/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5848] <... umount2 resumed>) = 0 [pid 5852] umount2("./17/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5848] umount2("./17/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5848] newfstatat(AT_FDCWD, "./17/file2", [pid 5852] openat(AT_FDCWD, "./17/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5848] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5848] umount2("./17/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] <... openat resumed>) = 4 [pid 5852] newfstatat(4, "", [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5848] openat(AT_FDCWD, "./17/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5852] getdents64(4, [pid 5848] <... openat resumed>) = 4 [pid 5852] <... getdents64 resumed>0x555589fb0730 /* 2 entries */, 32768) = 48 [pid 5848] newfstatat(4, "", [pid 5852] getdents64(4, [pid 5848] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5852] <... getdents64 resumed>0x555589fb0730 /* 0 entries */, 32768) = 0 [pid 5852] close(4 [pid 5848] getdents64(4, [pid 5852] <... close resumed>) = 0 [pid 5848] <... getdents64 resumed>0x555589fb0730 /* 2 entries */, 32768) = 48 [pid 5852] rmdir("./17/file2" [pid 5848] getdents64(4, 0x555589fb0730 /* 0 entries */, 32768) = 0 [pid 5852] <... rmdir resumed>) = 0 [pid 5848] close(4) = 0 [pid 5852] umount2("./17/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5848] rmdir("./17/file2") = 0 [pid 5852] newfstatat(AT_FDCWD, "./17/binderfs", [pid 5848] umount2("./17/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] unlink("./17/binderfs" [pid 5848] newfstatat(AT_FDCWD, "./17/binderfs", [pid 5852] <... unlink resumed>) = 0 [pid 5848] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5848] unlink("./17/binderfs" [pid 5852] getdents64(3, [pid 5848] <... unlink resumed>) = 0 [pid 5852] <... getdents64 resumed>0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5848] getdents64(3, [pid 5852] close(3) = 0 [pid 5848] <... getdents64 resumed>0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5852] rmdir("./17" [pid 5848] close(3) = 0 [pid 5848] rmdir("./17" [pid 5852] <... rmdir resumed>) = 0 [pid 5852] mkdir("./18", 0777 [pid 5848] <... rmdir resumed>) = 0 [pid 5852] <... mkdir resumed>) = 0 [pid 5848] mkdir("./18", 0777 [pid 5852] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5852] ioctl(3, LOOP_CLR_FD [pid 5848] <... mkdir resumed>) = 0 [pid 5852] <... ioctl resumed>) = 0 [pid 5848] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5852] close(3 [pid 5848] <... openat resumed>) = 3 [pid 5852] <... close resumed>) = 0 [pid 5848] ioctl(3, LOOP_CLR_FD) = 0 [pid 5848] close(3) = 0 [pid 5852] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5848] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5904 attached [pid 5904] set_robust_list(0x555589fa7660, 24./strace-static-x86_64: Process 5905 attached ) = 0 [pid 5852] <... clone resumed>, child_tidptr=0x555589fa7650) = 5904 [pid 5905] set_robust_list(0x555589fa7660, 24 [pid 5848] <... clone resumed>, child_tidptr=0x555589fa7650) = 5905 [pid 5905] <... set_robust_list resumed>) = 0 [pid 5904] chdir("./18" [pid 5905] chdir("./18") = 0 [pid 5904] <... chdir resumed>) = 0 [pid 5905] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5904] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5905] <... prctl resumed>) = 0 [pid 5904] <... prctl resumed>) = 0 [pid 5905] setpgid(0, 0 [pid 5904] setpgid(0, 0 [pid 5905] <... setpgid resumed>) = 0 [pid 5904] <... setpgid resumed>) = 0 [pid 5905] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5904] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5905] <... openat resumed>) = 3 [pid 5904] <... openat resumed>) = 3 [pid 5905] write(3, "1000", 4) = 4 [pid 5904] write(3, "1000", 4 [pid 5905] close(3 [pid 5904] <... write resumed>) = 4 [pid 5905] <... close resumed>) = 0 [pid 5904] close(3) = 0 [pid 5905] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5904] symlink("/dev/binderfs", "./binderfs" [pid 5905] write(1, "executing program\n", 18 [pid 5904] <... symlink resumed>) = 0 executing program [pid 5905] <... write resumed>) = 18 [pid 5904] write(1, "executing program\n", 18executing program ) = 18 [pid 5905] memfd_create("syzkaller", 0 [pid 5904] memfd_create("syzkaller", 0 [pid 5905] <... memfd_create resumed>) = 3 [pid 5904] <... memfd_create resumed>) = 3 [pid 5905] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5904] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5905] <... mmap resumed>) = 0x7fbbbf400000 [pid 5904] <... mmap resumed>) = 0x7fbbbf400000 [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 [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 5905] <... write resumed>) = 524288 [pid 5904] <... write resumed>) = 524288 [pid 5905] munmap(0x7fbbbf400000, 138412032) = 0 [pid 5904] munmap(0x7fbbbf400000, 138412032 [pid 5905] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5904] <... munmap resumed>) = 0 [pid 5905] <... openat resumed>) = 4 [pid 5904] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5905] ioctl(4, LOOP_SET_FD, 3 [pid 5904] <... openat resumed>) = 4 [pid 5904] ioctl(4, LOOP_SET_FD, 3 [pid 5905] <... ioctl resumed>) = 0 [pid 5905] close(3) = 0 [pid 5905] close(4) = 0 [pid 5904] <... ioctl resumed>) = 0 [pid 5905] mkdir("./file2", 0777 [pid 5904] close(3 [pid 5905] <... mkdir resumed>) = 0 [pid 5904] <... close resumed>) = 0 [pid 5904] close(4) = 0 [pid 5905] 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 5904] mkdir("./file2", 0777) = 0 [pid 5904] 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 5905] <... mount resumed>) = 0 [pid 5905] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 5905] chdir("./file2") = 0 [pid 5905] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5904] <... mount resumed>) = 0 [pid 5905] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 5904] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 5905] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5904] chdir("./file2") = 0 [pid 5904] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5904] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 5904] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [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", ...}}) = -1 EBUSY (Device or resource busy) [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 5904] <... openat resumed>) = 5 [ 65.892600][ T5905] loop0: detected capacity change from 0 to 1024 [ 65.903518][ T5904] loop4: detected capacity change from 0 to 1024 [pid 5904] 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 5904] 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 5905] <... ioctl resumed>) = 0 [pid 5905] ftruncate(-1, 4402345721857) = -1 EBADF (Bad file descriptor) [pid 5905] exit_group(0) = ? [pid 5904] <... ioctl resumed>) = 0 [pid 5904] ftruncate(-1, 4402345721857) = -1 EBADF (Bad file descriptor) [pid 5905] +++ exited with 0 +++ [pid 5904] exit_group(0) = ? [pid 5848] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5905, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5848] umount2("./18", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5904] +++ exited with 0 +++ [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5904, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 5852] restart_syscall(<... resuming interrupted clone ...> [pid 5848] openat(AT_FDCWD, "./18", 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 [pid 5852] <... restart_syscall resumed>) = 0 [ 65.982897][ T5905] loop0: detected capacity change from 1024 to 3 [ 65.990214][ T5905] Dev loop0: unable to read RDB block 3 [ 65.995833][ T5905] loop0: unable to read partition table [ 66.001548][ T5905] loop0: partition table beyond EOD, truncated [ 66.007754][ T5905] loop_reread_partitions: partition scan of loop0 (Rt *3 !6{bO0.Qʝ H"Uqd\'Lz8w1AH) failed (rc=-5) [pid 5848] getdents64(3, [pid 5852] umount2("./18", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5848] <... getdents64 resumed>0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5852] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] openat(AT_FDCWD, "./18", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5852] newfstatat(3, "", [pid 5848] umount2("./18/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5852] getdents64(3, 0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5848] <... umount2 resumed>) = 0 [pid 5852] umount2("./18/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5848] umount2("./18/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5848] newfstatat(AT_FDCWD, "./18/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5848] umount2("./18/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5848] openat(AT_FDCWD, "./18/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5852] <... umount2 resumed>) = 0 [pid 5848] <... openat resumed>) = 4 [pid 5852] umount2("./18/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5848] newfstatat(4, "", [pid 5852] newfstatat(AT_FDCWD, "./18/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5848] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5852] umount2("./18/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5848] getdents64(4, [pid 5852] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5848] <... getdents64 resumed>0x555589fb0730 /* 2 entries */, 32768) = 48 [pid 5852] openat(AT_FDCWD, "./18/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5848] getdents64(4, 0x555589fb0730 /* 0 entries */, 32768) = 0 [pid 5848] close(4 [pid 5852] newfstatat(4, "", [pid 5848] <... close resumed>) = 0 [pid 5852] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5852] getdents64(4, [pid 5848] rmdir("./18/file2") = 0 [pid 5852] <... getdents64 resumed>0x555589fb0730 /* 2 entries */, 32768) = 48 [pid 5848] umount2("./18/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5852] getdents64(4, 0x555589fb0730 /* 0 entries */, 32768) = 0 [pid 5848] newfstatat(AT_FDCWD, "./18/binderfs", [pid 5852] close(4 [pid 5848] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5852] <... close resumed>) = 0 [pid 5852] rmdir("./18/file2") = 0 [pid 5848] unlink("./18/binderfs" [pid 5852] umount2("./18/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5848] <... unlink resumed>) = 0 [pid 5852] newfstatat(AT_FDCWD, "./18/binderfs", [pid 5848] getdents64(3, 0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5848] close(3) = 0 [pid 5852] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5848] rmdir("./18" [pid 5852] unlink("./18/binderfs" [pid 5848] <... rmdir resumed>) = 0 [pid 5852] <... unlink resumed>) = 0 [pid 5852] getdents64(3, 0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5848] mkdir("./19", 0777 [pid 5852] close(3) = 0 [pid 5852] rmdir("./18" [pid 5848] <... mkdir resumed>) = 0 [pid 5848] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5852] <... rmdir resumed>) = 0 [pid 5848] <... openat resumed>) = 3 [pid 5848] ioctl(3, LOOP_CLR_FD [pid 5852] mkdir("./19", 0777 [pid 5848] <... ioctl resumed>) = 0 [pid 5848] close(3 [pid 5852] <... mkdir resumed>) = 0 [pid 5848] <... close resumed>) = 0 [pid 5852] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5852] ioctl(3, LOOP_CLR_FD [pid 5848] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5852] <... ioctl resumed>) = 0 ./strace-static-x86_64: Process 5906 attached [pid 5852] close(3 [pid 5848] <... clone resumed>, child_tidptr=0x555589fa7650) = 5906 [pid 5906] set_robust_list(0x555589fa7660, 24 [pid 5852] <... close resumed>) = 0 [pid 5906] <... set_robust_list resumed>) = 0 [pid 5852] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5907 attached [pid 5907] set_robust_list(0x555589fa7660, 24 [pid 5906] chdir("./19" [pid 5907] <... set_robust_list resumed>) = 0 [pid 5852] <... clone resumed>, child_tidptr=0x555589fa7650) = 5907 [pid 5907] chdir("./19" [pid 5906] <... chdir resumed>) = 0 [pid 5906] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5907] <... chdir resumed>) = 0 [pid 5906] <... prctl resumed>) = 0 [pid 5907] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5906] setpgid(0, 0 [pid 5907] <... prctl resumed>) = 0 [pid 5906] <... setpgid resumed>) = 0 [pid 5907] setpgid(0, 0) = 0 [pid 5907] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5906] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5907] <... openat resumed>) = 3 [pid 5906] <... openat resumed>) = 3 [pid 5906] write(3, "1000", 4 [pid 5907] write(3, "1000", 4 [pid 5906] <... write resumed>) = 4 [pid 5907] <... write resumed>) = 4 [pid 5907] close(3 [pid 5906] close(3 [pid 5907] <... close resumed>) = 0 [pid 5907] symlink("/dev/binderfs", "./binderfs" [pid 5906] <... close resumed>) = 0 [pid 5906] symlink("/dev/binderfs", "./binderfs" [pid 5907] <... symlink resumed>) = 0 [pid 5906] <... symlink resumed>) = 0 executing program [pid 5907] write(1, "executing program\n", 18) = 18 [pid 5906] write(1, "executing program\n", 18executing program ) = 18 [pid 5907] memfd_create("syzkaller", 0) = 3 [pid 5906] memfd_create("syzkaller", 0 [pid 5907] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbbbf400000 [pid 5906] <... memfd_create resumed>) = 3 [pid 5906] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbbbf400000 [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 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 5907] <... write resumed>) = 524288 [pid 5907] munmap(0x7fbbbf400000, 138412032 [pid 5906] <... write resumed>) = 524288 [pid 5906] munmap(0x7fbbbf400000, 138412032 [pid 5907] <... munmap resumed>) = 0 [pid 5906] <... munmap resumed>) = 0 [pid 5907] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5906] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5907] <... openat resumed>) = 4 [pid 5906] ioctl(4, LOOP_SET_FD, 3 [pid 5907] ioctl(4, LOOP_SET_FD, 3 [pid 5906] <... ioctl resumed>) = 0 [pid 5906] close(3 [pid 5907] <... ioctl resumed>) = 0 [pid 5906] <... close resumed>) = 0 [pid 5906] close(4 [pid 5907] close(3 [pid 5906] <... close resumed>) = 0 [pid 5907] <... close resumed>) = 0 [pid 5907] close(4) = 0 [pid 5907] mkdir("./file2", 0777) = 0 [pid 5907] 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 5906] mkdir("./file2", 0777) = 0 [pid 5907] <... mount resumed>) = 0 [pid 5906] 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(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 5907] chdir("./file2") = 0 [pid 5907] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5906] <... mount resumed>) = 0 [pid 5907] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5906] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5907] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5906] <... openat resumed>) = 3 [pid 5907] <... openat resumed>) = 4 [pid 5906] chdir("./file2" [pid 5907] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5906] <... chdir resumed>) = 0 [pid 5906] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5906] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 5906] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5907] <... openat resumed>) = 5 [ 66.302751][ T5906] loop0: detected capacity change from 0 to 1024 [ 66.303417][ T5907] loop4: detected capacity change from 0 to 1024 [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 5906] <... openat resumed>) = 5 [pid 5907] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [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", ...}} [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>) = -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] <... ioctl resumed>) = 0 [pid 5907] ftruncate(-1, 4402345721857) = -1 EBADF (Bad file descriptor) [pid 5907] exit_group(0 [pid 5906] <... ioctl resumed>) = 0 [pid 5907] <... exit_group resumed>) = ? [pid 5906] ftruncate(-1, 4402345721857 [pid 5907] +++ exited with 0 +++ [pid 5852] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5907, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5906] <... ftruncate resumed>) = -1 EBADF (Bad file descriptor) [pid 5906] exit_group(0) = ? [pid 5906] +++ exited with 0 +++ [pid 5848] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5906, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 5848] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5848] umount2("./19", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 66.402511][ T5907] loop0: detected capacity change from 1024 to 3 [ 66.409842][ T5907] Dev loop0: unable to read RDB block 3 [ 66.415523][ T5907] loop0: unable to read partition table [ 66.421211][ T5907] loop0: partition table beyond EOD, truncated [ 66.427413][ T5907] loop_reread_partitions: partition scan of loop0 (Rt *3 !6{bO0.Qʝ H"Uqd\'Lz8w1AH) failed (rc=-5) [pid 5848] openat(AT_FDCWD, "./19", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5852] umount2("./19", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5852] openat(AT_FDCWD, "./19", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5852] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5848] newfstatat(3, "", [pid 5852] getdents64(3, 0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5848] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5852] umount2("./19/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5848] getdents64(3, 0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5848] umount2("./19/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] <... umount2 resumed>) = 0 [pid 5852] umount2("./19/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5852] newfstatat(AT_FDCWD, "./19/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5848] <... umount2 resumed>) = 0 [pid 5848] umount2("./19/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] umount2("./19/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] openat(AT_FDCWD, "./19/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5848] newfstatat(AT_FDCWD, "./19/file2", [pid 5852] <... openat resumed>) = 4 [pid 5848] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5852] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5848] umount2("./19/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] getdents64(4, [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] <... getdents64 resumed>0x555589fb0730 /* 2 entries */, 32768) = 48 [pid 5848] openat(AT_FDCWD, "./19/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5852] getdents64(4, [pid 5848] <... openat resumed>) = 4 [pid 5852] <... getdents64 resumed>0x555589fb0730 /* 0 entries */, 32768) = 0 [pid 5852] close(4 [pid 5848] newfstatat(4, "", [pid 5852] <... close resumed>) = 0 [pid 5848] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5852] rmdir("./19/file2" [pid 5848] getdents64(4, [pid 5852] <... rmdir resumed>) = 0 [pid 5848] <... getdents64 resumed>0x555589fb0730 /* 2 entries */, 32768) = 48 [pid 5848] getdents64(4, 0x555589fb0730 /* 0 entries */, 32768) = 0 [pid 5848] close(4) = 0 [pid 5852] umount2("./19/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5848] rmdir("./19/file2" [pid 5852] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5848] <... rmdir resumed>) = 0 [pid 5852] newfstatat(AT_FDCWD, "./19/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5852] unlink("./19/binderfs") = 0 [pid 5848] umount2("./19/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5848] newfstatat(AT_FDCWD, "./19/binderfs", [pid 5852] getdents64(3, [pid 5848] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5852] <... getdents64 resumed>0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5848] unlink("./19/binderfs" [pid 5852] close(3 [pid 5848] <... unlink resumed>) = 0 [pid 5848] getdents64(3, [pid 5852] <... close resumed>) = 0 [pid 5848] <... getdents64 resumed>0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5848] close(3 [pid 5852] rmdir("./19") = 0 [pid 5848] <... close resumed>) = 0 [pid 5848] rmdir("./19" [pid 5852] mkdir("./20", 0777 [pid 5848] <... rmdir resumed>) = 0 [pid 5848] mkdir("./20", 0777 [pid 5852] <... mkdir resumed>) = 0 [pid 5848] <... mkdir resumed>) = 0 [pid 5852] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5848] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5852] ioctl(3, LOOP_CLR_FD [pid 5848] <... openat resumed>) = 3 [pid 5852] <... ioctl resumed>) = 0 [pid 5848] ioctl(3, LOOP_CLR_FD) = 0 [pid 5852] close(3 [pid 5848] close(3 [pid 5852] <... close resumed>) = 0 [pid 5848] <... close resumed>) = 0 [pid 5848] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5852] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5908 attached ./strace-static-x86_64: Process 5909 attached [pid 5908] set_robust_list(0x555589fa7660, 24 [pid 5909] set_robust_list(0x555589fa7660, 24 [pid 5908] <... set_robust_list resumed>) = 0 [pid 5908] chdir("./20" [pid 5848] <... clone resumed>, child_tidptr=0x555589fa7650) = 5908 [pid 5909] <... set_robust_list resumed>) = 0 [pid 5852] <... clone resumed>, child_tidptr=0x555589fa7650) = 5909 [pid 5909] chdir("./20" [pid 5908] <... chdir resumed>) = 0 [pid 5908] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5909] <... chdir resumed>) = 0 [pid 5908] <... prctl resumed>) = 0 [pid 5909] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5908] setpgid(0, 0 [pid 5909] <... prctl resumed>) = 0 [pid 5909] setpgid(0, 0 [pid 5908] <... setpgid resumed>) = 0 [pid 5908] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5909] <... setpgid resumed>) = 0 [pid 5908] <... openat resumed>) = 3 [pid 5909] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5908] write(3, "1000", 4) = 4 [pid 5909] write(3, "1000", 4 [pid 5908] close(3) = 0 [pid 5908] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5908] write(1, "executing program\n", 18 [pid 5909] <... write resumed>) = 4 executing program [pid 5909] close(3 [pid 5908] <... write resumed>) = 18 [pid 5909] <... close resumed>) = 0 [pid 5908] memfd_create("syzkaller", 0 [pid 5909] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5908] <... memfd_create resumed>) = 3 [pid 5908] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbbbf400000 [pid 5909] write(1, "executing program\n", 18executing program ) = 18 [pid 5909] memfd_create("syzkaller", 0) = 3 [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 5909] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbbbf400000 [pid 5908] <... write resumed>) = 524288 [pid 5908] munmap(0x7fbbbf400000, 138412032 [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 5908] <... munmap resumed>) = 0 [pid 5908] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5909] <... write resumed>) = 524288 [pid 5908] <... openat resumed>) = 4 [pid 5908] ioctl(4, LOOP_SET_FD, 3 [pid 5909] munmap(0x7fbbbf400000, 138412032) = 0 [pid 5909] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5909] ioctl(4, LOOP_SET_FD, 3 [pid 5908] <... ioctl resumed>) = 0 [pid 5908] close(3) = 0 [pid 5908] close(4) = 0 [pid 5908] mkdir("./file2", 0777) = 0 [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 5909] <... ioctl resumed>) = 0 [pid 5908] <... mount resumed>) = 0 [pid 5909] close(3 [pid 5908] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5909] <... close resumed>) = 0 [pid 5908] <... openat resumed>) = 3 [pid 5909] close(4) = 0 [pid 5908] chdir("./file2" [pid 5909] mkdir("./file2", 0777 [pid 5908] <... chdir resumed>) = 0 [pid 5908] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5909] <... mkdir resumed>) = 0 [pid 5908] <... openat resumed>) = -1 EBUSY (Device or resource busy) [ 66.743780][ T5908] loop0: detected capacity change from 0 to 1024 [ 66.755804][ T5909] loop4: detected capacity change from 0 to 1024 [pid 5908] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [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 5908] <... openat resumed>) = 4 [pid 5909] <... mount resumed>) = 0 [pid 5908] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5909] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 5909] chdir("./file2") = 0 [pid 5908] <... openat resumed>) = 5 [pid 5909] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5908] 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 5909] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5908] 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 5909] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 5909] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 5 [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", ...}}) = -1 EBUSY (Device or resource busy) [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 5908] <... ioctl resumed>) = 0 [pid 5908] ftruncate(-1, 4402345721857) = -1 EBADF (Bad file descriptor) [pid 5908] exit_group(0) = ? [pid 5908] +++ exited with 0 +++ [pid 5848] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5908, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5848] restart_syscall(<... resuming interrupted clone ...>) = 0 [ 66.882526][ T5908] loop0: detected capacity change from 1024 to 3 [ 66.889666][ T5908] Dev loop0: unable to read RDB block 3 [ 66.895290][ T5908] loop0: unable to read partition table [ 66.900961][ T5908] loop0: partition table beyond EOD, truncated [ 66.907191][ T5908] loop_reread_partitions: partition scan of loop0 (Rt *3 !6{bO0.Qʝ H"Uqd\'Lz8w1AH) failed (rc=-5) [pid 5909] <... ioctl resumed>) = 0 [pid 5909] ftruncate(-1, 4402345721857) = -1 EBADF (Bad file descriptor) [pid 5909] exit_group(0) = ? [pid 5848] umount2("./20", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5909] +++ exited with 0 +++ [pid 5852] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5909, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 5848] openat(AT_FDCWD, "./20", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5848] newfstatat(3, "", [pid 5852] umount2("./20", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5848] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5852] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5848] getdents64(3, [pid 5852] openat(AT_FDCWD, "./20", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5848] <... getdents64 resumed>0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5852] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5848] umount2("./20/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] getdents64(3, 0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5852] umount2("./20/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5848] <... umount2 resumed>) = 0 [pid 5852] <... umount2 resumed>) = 0 [pid 5848] umount2("./20/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] umount2("./20/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] newfstatat(AT_FDCWD, "./20/file2", [pid 5848] newfstatat(AT_FDCWD, "./20/file2", [pid 5852] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5848] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5848] umount2("./20/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] umount2("./20/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5848] openat(AT_FDCWD, "./20/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5852] openat(AT_FDCWD, "./20/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5848] <... openat resumed>) = 4 [pid 5852] <... openat resumed>) = 4 [pid 5852] newfstatat(4, "", [pid 5848] newfstatat(4, "", [pid 5852] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5848] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5852] getdents64(4, 0x555589fb0730 /* 2 entries */, 32768) = 48 [pid 5848] getdents64(4, 0x555589fb0730 /* 2 entries */, 32768) = 48 [pid 5852] getdents64(4, 0x555589fb0730 /* 0 entries */, 32768) = 0 [pid 5848] getdents64(4, [pid 5852] close(4 [pid 5848] <... getdents64 resumed>0x555589fb0730 /* 0 entries */, 32768) = 0 [pid 5852] <... close resumed>) = 0 [pid 5852] rmdir("./20/file2" [pid 5848] close(4 [pid 5852] <... rmdir resumed>) = 0 [pid 5848] <... close resumed>) = 0 [pid 5852] umount2("./20/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5848] rmdir("./20/file2" [pid 5852] newfstatat(AT_FDCWD, "./20/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5852] unlink("./20/binderfs") = 0 [pid 5848] <... rmdir resumed>) = 0 [pid 5852] getdents64(3, 0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5848] umount2("./20/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] close(3 [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] <... close resumed>) = 0 [pid 5848] newfstatat(AT_FDCWD, "./20/binderfs", [pid 5852] rmdir("./20" [pid 5848] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5852] <... rmdir resumed>) = 0 [pid 5848] unlink("./20/binderfs") = 0 [pid 5852] mkdir("./21", 0777) = 0 [pid 5848] getdents64(3, 0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5852] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5848] close(3 [pid 5852] <... openat resumed>) = 3 [pid 5848] <... close resumed>) = 0 [pid 5852] ioctl(3, LOOP_CLR_FD [pid 5848] rmdir("./20" [pid 5852] <... ioctl resumed>) = 0 [pid 5848] <... rmdir resumed>) = 0 [pid 5852] close(3 [pid 5848] mkdir("./21", 0777) = 0 [pid 5848] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5852] <... close resumed>) = 0 [pid 5852] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5848] <... openat resumed>) = 3 ./strace-static-x86_64: Process 5910 attached [pid 5848] ioctl(3, LOOP_CLR_FD) = 0 [pid 5848] close(3 [pid 5910] set_robust_list(0x555589fa7660, 24 [pid 5848] <... close resumed>) = 0 [pid 5910] <... set_robust_list resumed>) = 0 [pid 5852] <... clone resumed>, child_tidptr=0x555589fa7650) = 5910 [pid 5910] chdir("./21" [pid 5848] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5910] <... chdir resumed>) = 0 ./strace-static-x86_64: Process 5911 attached [pid 5910] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5910] setpgid(0, 0) = 0 [pid 5911] set_robust_list(0x555589fa7660, 24 [pid 5910] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5910] write(3, "1000", 4 [pid 5911] <... set_robust_list resumed>) = 0 [pid 5911] chdir("./21" [pid 5910] <... write resumed>) = 4 [pid 5910] close(3) = 0 [pid 5911] <... chdir resumed>) = 0 [pid 5910] symlink("/dev/binderfs", "./binderfs" [pid 5911] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5910] <... symlink resumed>) = 0 [pid 5848] <... clone resumed>, child_tidptr=0x555589fa7650) = 5911 [pid 5911] <... prctl resumed>) = 0 executing program [pid 5911] setpgid(0, 0 [pid 5910] write(1, "executing program\n", 18 [pid 5911] <... setpgid resumed>) = 0 [pid 5910] <... write resumed>) = 18 [pid 5911] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5910] memfd_create("syzkaller", 0 [pid 5911] write(3, "1000", 4) = 4 [pid 5911] close(3 [pid 5910] <... memfd_create resumed>) = 3 [pid 5911] <... close resumed>) = 0 [pid 5910] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbbbf400000 [pid 5911] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5911] write(1, "executing program\n", 18 [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"..., 524288executing program [pid 5911] <... write resumed>) = 18 [pid 5911] memfd_create("syzkaller", 0) = 3 [pid 5911] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbbbf400000 [pid 5910] <... write resumed>) = 524288 [pid 5910] munmap(0x7fbbbf400000, 138412032 [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] <... munmap resumed>) = 0 [pid 5910] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5910] ioctl(4, LOOP_SET_FD, 3 [pid 5911] <... write resumed>) = 524288 [pid 5911] munmap(0x7fbbbf400000, 138412032) = 0 [pid 5911] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5910] <... ioctl resumed>) = 0 [pid 5911] <... openat resumed>) = 4 [pid 5910] close(3 [pid 5911] ioctl(4, LOOP_SET_FD, 3 [pid 5910] <... close resumed>) = 0 [pid 5910] close(4 [pid 5911] <... ioctl resumed>) = 0 [pid 5910] <... close resumed>) = 0 [pid 5910] mkdir("./file2", 0777) = 0 [pid 5910] 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 5911] close(3) = 0 [pid 5911] close(4) = 0 [pid 5911] mkdir("./file2", 0777) = 0 [pid 5911] 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 5910] <... mount resumed>) = 0 [pid 5911] <... mount resumed>) = 0 [pid 5910] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5911] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 5910] <... openat resumed>) = 3 [pid 5911] chdir("./file2" [pid 5910] chdir("./file2" [pid 5911] <... chdir resumed>) = 0 [pid 5910] <... chdir resumed>) = 0 [pid 5911] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5910] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5911] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5910] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5911] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5910] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5911] <... openat resumed>) = 4 [pid 5910] <... openat resumed>) = 4 [pid 5910] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5911] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5910] <... openat resumed>) = 5 [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", ...}}) = -1 EBUSY (Device or resource busy) [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] <... openat resumed>) = 5 [pid 5911] 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) [ 67.177343][ T5910] loop4: detected capacity change from 0 to 1024 [ 67.191186][ T5911] loop0: detected capacity change from 0 to 1024 [pid 5911] 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 5910] <... ioctl resumed>) = 0 [pid 5910] ftruncate(-1, 4402345721857) = -1 EBADF (Bad file descriptor) [pid 5910] exit_group(0) = ? [pid 5911] <... ioctl resumed>) = 0 [pid 5910] +++ exited with 0 +++ [pid 5911] ftruncate(-1, 4402345721857 [pid 5852] --- 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] <... ftruncate resumed>) = -1 EBADF (Bad file descriptor) [pid 5852] restart_syscall(<... resuming interrupted clone ...> [pid 5911] exit_group(0 [pid 5852] <... restart_syscall resumed>) = 0 [pid 5911] <... exit_group resumed>) = ? [pid 5911] +++ exited with 0 +++ [pid 5852] umount2("./21", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5852] openat(AT_FDCWD, "./21", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5852] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5852] getdents64(3, 0x555589fa86f0 /* 4 entries */, 32768) = 112 [ 67.253535][ T5910] loop0: detected capacity change from 1024 to 3 [ 67.260578][ T5910] Dev loop0: unable to read RDB block 3 [ 67.266222][ T5910] loop0: unable to read partition table [ 67.271898][ T5910] loop0: partition table beyond EOD, truncated [ 67.278077][ T5910] loop_reread_partitions: partition scan of loop0 (Rt *3 !6{bO0.Qʝ H"Uqd\'Lz8w1AH) failed (rc=-5) [pid 5852] umount2("./21/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5848] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5911, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5848] umount2("./21", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5848] openat(AT_FDCWD, "./21", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5848] newfstatat(3, "", [pid 5852] <... umount2 resumed>) = 0 [pid 5848] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5852] umount2("./21/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5848] getdents64(3, [pid 5852] newfstatat(AT_FDCWD, "./21/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5848] <... getdents64 resumed>0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5852] umount2("./21/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5848] umount2("./21/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] openat(AT_FDCWD, "./21/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5852] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5852] getdents64(4, 0x555589fb0730 /* 2 entries */, 32768) = 48 [pid 5852] getdents64(4, 0x555589fb0730 /* 0 entries */, 32768) = 0 [pid 5852] close(4) = 0 [pid 5852] rmdir("./21/file2") = 0 [pid 5848] <... umount2 resumed>) = 0 [pid 5852] umount2("./21/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5848] umount2("./21/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] newfstatat(AT_FDCWD, "./21/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5848] newfstatat(AT_FDCWD, "./21/file2", [pid 5852] unlink("./21/binderfs" [pid 5848] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5852] <... unlink resumed>) = 0 [pid 5848] umount2("./21/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] getdents64(3, [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] <... getdents64 resumed>0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5848] openat(AT_FDCWD, "./21/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5852] close(3 [pid 5848] <... openat resumed>) = 4 [pid 5852] <... close resumed>) = 0 [pid 5848] newfstatat(4, "", [pid 5852] rmdir("./21" [pid 5848] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5852] <... rmdir resumed>) = 0 [pid 5848] getdents64(4, [pid 5852] mkdir("./22", 0777 [pid 5848] <... getdents64 resumed>0x555589fb0730 /* 2 entries */, 32768) = 48 [pid 5848] getdents64(4, 0x555589fb0730 /* 0 entries */, 32768) = 0 [pid 5848] close(4) = 0 [pid 5852] <... mkdir resumed>) = 0 [pid 5848] rmdir("./21/file2" [pid 5852] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5848] <... rmdir resumed>) = 0 [pid 5852] ioctl(3, LOOP_CLR_FD) = 0 [pid 5848] umount2("./21/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5852] close(3 [pid 5848] newfstatat(AT_FDCWD, "./21/binderfs", [pid 5852] <... close resumed>) = 0 [pid 5848] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5848] unlink("./21/binderfs") = 0 [pid 5848] getdents64(3, 0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5848] close(3) = 0 [pid 5848] rmdir("./21" [pid 5852] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5848] <... rmdir resumed>) = 0 ./strace-static-x86_64: Process 5912 attached [pid 5848] mkdir("./22", 0777) = 0 [pid 5912] set_robust_list(0x555589fa7660, 24 [pid 5848] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5912] <... set_robust_list resumed>) = 0 [pid 5852] <... clone resumed>, child_tidptr=0x555589fa7650) = 5912 [pid 5848] <... openat resumed>) = 3 [pid 5848] ioctl(3, LOOP_CLR_FD [pid 5912] chdir("./22" [pid 5848] <... ioctl resumed>) = 0 [pid 5848] close(3 [pid 5912] <... chdir resumed>) = 0 [pid 5912] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5912] setpgid(0, 0) = 0 [pid 5912] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5912] write(3, "1000", 4 [pid 5848] <... close resumed>) = 0 [pid 5912] <... write resumed>) = 4 [pid 5848] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5912] close(3) = 0 [pid 5912] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5912] write(1, "executing program\n", 18) = 18 [pid 5912] memfd_create("syzkaller", 0) = 3 ./strace-static-x86_64: Process 5913 attached [pid 5913] set_robust_list(0x555589fa7660, 24 [pid 5912] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbbbf400000 [pid 5913] <... set_robust_list resumed>) = 0 [pid 5913] chdir("./22") = 0 [pid 5848] <... clone resumed>, child_tidptr=0x555589fa7650) = 5913 [pid 5913] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5913] setpgid(0, 0) = 0 [pid 5913] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5913] write(3, "1000", 4 [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 5913] <... write resumed>) = 4 [pid 5913] close(3) = 0 [pid 5912] <... write resumed>) = 524288 [pid 5913] symlink("/dev/binderfs", "./binderfs" [pid 5912] munmap(0x7fbbbf400000, 138412032 [pid 5913] <... symlink resumed>) = 0 executing program [pid 5913] write(1, "executing program\n", 18) = 18 [pid 5912] <... munmap resumed>) = 0 [pid 5913] memfd_create("syzkaller", 0 [pid 5912] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5913] <... memfd_create resumed>) = 3 [pid 5912] <... openat resumed>) = 4 [pid 5913] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbbbf400000 [pid 5912] ioctl(4, LOOP_SET_FD, 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) = 524288 [pid 5913] munmap(0x7fbbbf400000, 138412032 [pid 5912] <... ioctl resumed>) = 0 [pid 5912] close(3) = 0 [pid 5912] close(4 [pid 5913] <... munmap resumed>) = 0 [pid 5912] <... close resumed>) = 0 [pid 5913] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5912] mkdir("./file2", 0777 [ 67.509714][ T5912] loop4: detected capacity change from 0 to 1024 [pid 5913] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5912] <... mkdir resumed>) = 0 [pid 5913] close(3) = 0 [pid 5913] close(4) = 0 [pid 5913] mkdir("./file2", 0777 [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] <... mkdir resumed>) = 0 [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] <... mount resumed>) = 0 [pid 5912] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 5912] chdir("./file2") = 0 [pid 5912] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5912] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 5913] <... mount resumed>) = 0 [pid 5913] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 5912] <... openat resumed>) = 4 [pid 5913] <... openat resumed>) = 3 [pid 5912] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5913] chdir("./file2") = 0 [pid 5913] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5912] <... openat resumed>) = 5 [ 67.558418][ T5913] loop0: detected capacity change from 0 to 1024 [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", ...}} [pid 5913] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5912] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [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"..., ...} [pid 5913] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [ 67.672502][ T5912] loop0: detected capacity change from 1024 to 3 [ 67.680327][ T5912] Dev loop0: unable to read RDB block 3 [ 67.683771][ T5913] Buffer I/O error on dev loop0, logical block 43, async page read [ 67.685999][ T5912] loop0: unable to read partition table [ 67.694125][ T5913] Buffer I/O error on dev loop0, logical block 44, async page read [ 67.699626][ T5912] loop0: partition table beyond EOD, [ 67.707820][ T5913] Buffer I/O error on dev loop0, logical block 45, async page read [pid 5913] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5912] <... ioctl resumed>) = 0 [pid 5912] ftruncate(-1, 4402345721857) = -1 EBADF (Bad file descriptor) [pid 5912] exit_group(0) = ? [pid 5912] +++ exited with 0 +++ [pid 5852] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5912, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5852] restart_syscall(<... resuming interrupted clone ...> [pid 5913] <... openat resumed>) = 5 [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", ...}}) = -1 EBUSY (Device or resource busy) [pid 5852] <... restart_syscall 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 5852] umount2("./22", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5852] openat(AT_FDCWD, "./22", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5852] newfstatat(3, "", [pid 5913] <... ioctl resumed>) = 0 [pid 5852] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5913] ftruncate(-1, 4402345721857 [pid 5852] getdents64(3, [pid 5913] <... ftruncate resumed>) = -1 EBADF (Bad file descriptor) [pid 5913] exit_group(0) = ? [pid 5852] <... getdents64 resumed>0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5852] umount2("./22/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5913] +++ exited with 0 +++ [pid 5848] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5913, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5852] <... umount2 resumed>) = 0 [pid 5848] restart_syscall(<... resuming interrupted clone ...> [pid 5852] umount2("./22/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5848] <... restart_syscall resumed>) = 0 [pid 5852] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] newfstatat(AT_FDCWD, "./22/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5852] umount2("./22/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5852] openat(AT_FDCWD, "./22/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [ 67.708075][ T5912] truncated [ 67.713288][ T5913] Buffer I/O error on dev loop0, logical block 46, async page read [ 67.721224][ T5912] loop_reread_partitions: partition scan of loop0 (Rt *3 !6{bO0.Qʝ H"Uqd\'Lz8w1AH) failed (rc=-5) [ 67.732474][ T5913] hfsplus: xattr searching failed [pid 5852] newfstatat(4, "", [pid 5848] umount2("./22", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5848] openat(AT_FDCWD, "./22", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5852] getdents64(4, [pid 5848] <... openat resumed>) = 3 [pid 5852] <... getdents64 resumed>0x555589fb0730 /* 2 entries */, 32768) = 48 [pid 5852] getdents64(4, [pid 5848] newfstatat(3, "", [pid 5852] <... getdents64 resumed>0x555589fb0730 /* 0 entries */, 32768) = 0 [pid 5848] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5852] close(4 [pid 5848] getdents64(3, [pid 5852] <... close resumed>) = 0 [pid 5848] <... getdents64 resumed>0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5852] rmdir("./22/file2" [pid 5848] umount2("./22/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] <... rmdir resumed>) = 0 [pid 5852] umount2("./22/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5852] newfstatat(AT_FDCWD, "./22/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5852] unlink("./22/binderfs" [pid 5848] <... umount2 resumed>) = 0 [pid 5848] umount2("./22/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] <... unlink resumed>) = 0 [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5848] newfstatat(AT_FDCWD, "./22/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5852] getdents64(3, 0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5848] umount2("./22/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5852] close(3 [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] <... close resumed>) = 0 [pid 5848] openat(AT_FDCWD, "./22/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5852] rmdir("./22" [pid 5848] <... openat resumed>) = 4 [pid 5848] newfstatat(4, "", [pid 5852] <... rmdir resumed>) = 0 [pid 5852] mkdir("./23", 0777 [pid 5848] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5848] getdents64(4, [pid 5852] <... mkdir resumed>) = 0 [pid 5852] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5848] <... getdents64 resumed>0x555589fb0730 /* 2 entries */, 32768) = 48 [pid 5852] <... openat resumed>) = 3 [pid 5848] getdents64(4, 0x555589fb0730 /* 0 entries */, 32768) = 0 [pid 5852] ioctl(3, LOOP_CLR_FD [pid 5848] close(4 [pid 5852] <... ioctl resumed>) = 0 [pid 5848] <... close resumed>) = 0 [pid 5852] close(3 [pid 5848] rmdir("./22/file2" [pid 5852] <... close resumed>) = 0 [pid 5848] <... rmdir resumed>) = 0 [pid 5852] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5848] umount2("./22/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5848] newfstatat(AT_FDCWD, "./22/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5848] unlink("./22/binderfs") = 0 [pid 5848] getdents64(3, 0x555589fa86f0 /* 0 entries */, 32768) = 0 ./strace-static-x86_64: Process 5914 attached [pid 5852] <... clone resumed>, child_tidptr=0x555589fa7650) = 5914 [pid 5848] close(3) = 0 [pid 5914] set_robust_list(0x555589fa7660, 24 [pid 5848] rmdir("./22") = 0 [pid 5914] <... set_robust_list resumed>) = 0 [pid 5848] mkdir("./23", 0777 [pid 5914] chdir("./23") = 0 [pid 5848] <... mkdir resumed>) = 0 [pid 5914] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5848] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5914] <... prctl resumed>) = 0 [pid 5848] <... openat resumed>) = 3 [pid 5914] setpgid(0, 0 [pid 5848] ioctl(3, LOOP_CLR_FD [pid 5914] <... setpgid resumed>) = 0 [pid 5848] <... ioctl resumed>) = 0 [pid 5914] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5848] close(3 [pid 5914] <... openat resumed>) = 3 [pid 5848] <... close resumed>) = 0 [pid 5914] write(3, "1000", 4) = 4 [pid 5914] close(3) = 0 [pid 5914] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5914] write(1, "executing program\n", 18) = 18 [pid 5914] memfd_create("syzkaller", 0) = 3 [pid 5914] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbbbf400000 [pid 5914] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5848] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5915 attached [pid 5914] <... write resumed>) = 524288 [pid 5914] munmap(0x7fbbbf400000, 138412032 [pid 5915] set_robust_list(0x555589fa7660, 24 [pid 5848] <... clone resumed>, child_tidptr=0x555589fa7650) = 5915 [pid 5915] <... set_robust_list resumed>) = 0 [pid 5915] chdir("./23") = 0 [pid 5914] <... munmap resumed>) = 0 [pid 5915] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5914] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5915] <... prctl resumed>) = 0 [pid 5914] <... openat resumed>) = 4 [pid 5915] setpgid(0, 0 [pid 5914] ioctl(4, LOOP_SET_FD, 3 [pid 5915] <... setpgid resumed>) = 0 [pid 5915] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5915] write(3, "1000", 4) = 4 [pid 5915] close(3) = 0 [pid 5915] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5915] write(1, "executing program\n", 18 [pid 5914] <... ioctl resumed>) = 0 [pid 5914] close(3) = 0 executing program [pid 5914] close(4 [pid 5915] <... write resumed>) = 18 [pid 5914] <... close resumed>) = 0 [pid 5914] mkdir("./file2", 0777 [pid 5915] memfd_create("syzkaller", 0 [pid 5914] <... mkdir resumed>) = 0 [pid 5914] 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 5915] <... memfd_create resumed>) = 3 [pid 5915] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5914] <... mount resumed>) = 0 [pid 5915] <... mmap resumed>) = 0x7fbbbf400000 [pid 5914] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 5914] chdir("./file2") = 0 [pid 5914] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5914] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 5914] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5915] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5914] <... openat resumed>) = 5 [pid 5915] <... write resumed>) = 524288 [ 67.986837][ T5914] loop4: detected capacity change from 0 to 1024 [pid 5914] 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 5915] munmap(0x7fbbbf400000, 138412032 [pid 5914] <... ioctl resumed>) = 0 [pid 5915] <... munmap resumed>) = 0 [pid 5914] 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 5915] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5914] <... ioctl resumed>) = 0 [pid 5915] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5914] ftruncate(-1, 4402345721857 [pid 5915] ioctl(4, LOOP_CLR_FD [pid 5914] <... ftruncate resumed>) = -1 EBADF (Bad file descriptor) [pid 5915] <... ioctl resumed>) = 0 [pid 5914] exit_group(0) = ? [pid 5915] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5915] close(4) = 0 [pid 5914] +++ exited with 0 +++ [pid 5852] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5914, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5915] close(3 [pid 5852] umount2("./23", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5852] openat(AT_FDCWD, "./23", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5852] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5852] getdents64(3, 0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5852] umount2("./23/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5915] <... close resumed>) = 0 [pid 5852] <... umount2 resumed>) = 0 [pid 5915] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 3 [pid 5852] umount2("./23/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5915] openat(AT_FDCWD, "cgroup.stat", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5852] newfstatat(AT_FDCWD, "./23/file2", [pid 5915] <... openat resumed>) = 4 [pid 5852] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5852] umount2("./23/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5915] 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", ...}}) = 0 [pid 5852] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] openat(AT_FDCWD, "./23/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5915] 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 5852] <... openat resumed>) = 4 [pid 5852] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5852] getdents64(4, 0x555589fb0730 /* 2 entries */, 32768) = 48 [pid 5852] getdents64(4, 0x555589fb0730 /* 0 entries */, 32768) = 0 [pid 5852] close(4) = 0 [pid 5852] rmdir("./23/file2") = 0 [pid 5852] umount2("./23/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5915] <... ioctl resumed>) = 0 [pid 5852] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5852] newfstatat(AT_FDCWD, "./23/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5852] unlink("./23/binderfs" [pid 5915] ftruncate(-1, 4402345721857) = -1 EBADF (Bad file descriptor) [pid 5852] <... unlink resumed>) = 0 [pid 5852] getdents64(3, [pid 5915] exit_group(0 [pid 5852] <... getdents64 resumed>0x555589fa86f0 /* 0 entries */, 32768) = 0 [pid 5852] close(3 [pid 5915] <... exit_group resumed>) = ? [pid 5852] <... close resumed>) = 0 [pid 5915] +++ exited with 0 +++ [pid 5852] rmdir("./23" [pid 5848] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5915, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 5852] <... rmdir resumed>) = 0 [pid 5852] mkdir("./24", 0777) = 0 [pid 5852] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5852] ioctl(3, LOOP_CLR_FD) = 0 [pid 5852] close(3) = 0 [pid 5852] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5848] umount2("./23", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) ./strace-static-x86_64: Process 5916 attached [pid 5848] openat(AT_FDCWD, "./23", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5916] set_robust_list(0x555589fa7660, 24 [pid 5852] <... clone resumed>, child_tidptr=0x555589fa7650) = 5916 [pid 5848] <... openat resumed>) = 3 [pid 5916] <... set_robust_list resumed>) = 0 [pid 5848] newfstatat(3, "", [pid 5916] chdir("./24" [pid 5848] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5916] <... chdir resumed>) = 0 [pid 5916] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5848] getdents64(3, [pid 5916] <... prctl resumed>) = 0 [pid 5916] setpgid(0, 0 [pid 5848] <... getdents64 resumed>0x555589fa86f0 /* 4 entries */, 32768) = 112 [pid 5916] <... setpgid resumed>) = 0 [pid 5848] umount2("./23/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5916] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5848] <... umount2 resumed>) = -1 EINVAL (Invalid argument)