./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2153022023 <...> Warning: Permanently added '10.128.1.67' (ED25519) to the list of known hosts. execve("./syz-executor2153022023", ["./syz-executor2153022023"], 0x7ffedc6b5930 /* 10 vars */) = 0 brk(NULL) = 0x55556439d000 brk(0x55556439dd00) = 0x55556439dd00 arch_prctl(ARCH_SET_FS, 0x55556439d380) = 0 set_tid_address(0x55556439d650) = 5826 set_robust_list(0x55556439d660, 24) = 0 rseq(0x55556439dca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor2153022023", 4096) = 28 getrandom("\x63\x46\x1e\x11\x5c\xe6\x7d\x86", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55556439dd00 brk(0x5555643bed00) = 0x5555643bed00 brk(0x5555643bf000) = 0x5555643bf000 mprotect(0x7f3ec30c2000, 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 5827 attached [pid 5827] set_robust_list(0x55556439d660, 24 [pid 5826] <... clone resumed>, child_tidptr=0x55556439d650) = 5827 [pid 5827] <... set_robust_list resumed>) = 0 [pid 5826] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55556439d650) = 5828 ./strace-static-x86_64: Process 5828 attached [pid 5827] mkdir("./syzkaller.MUezcF", 0700 [pid 5826] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5828] set_robust_list(0x55556439d660, 24./strace-static-x86_64: Process 5829 attached ) = 0 [pid 5826] <... clone resumed>, child_tidptr=0x55556439d650) = 5829 [pid 5828] mkdir("./syzkaller.l36JOi", 0700 [pid 5826] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5829] set_robust_list(0x55556439d660, 24 [pid 5827] <... mkdir resumed>) = 0 [pid 5827] chmod("./syzkaller.MUezcF", 0777) = 0 ./strace-static-x86_64: Process 5830 attached [pid 5829] <... set_robust_list resumed>) = 0 [pid 5828] <... mkdir resumed>) = 0 [pid 5827] chdir("./syzkaller.MUezcF" [pid 5826] <... clone resumed>, child_tidptr=0x55556439d650) = 5830 [pid 5830] set_robust_list(0x55556439d660, 24 [pid 5827] <... chdir resumed>) = 0 [pid 5826] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5830] <... set_robust_list resumed>) = 0 [pid 5829] mkdir("./syzkaller.5qECcA", 0700 [pid 5828] chmod("./syzkaller.l36JOi", 0777 [pid 5827] mkdir("./0", 0777 [pid 5830] mkdir("./syzkaller.kfrzcp", 0700 [pid 5828] <... chmod resumed>) = 0 [pid 5827] <... mkdir resumed>) = 0 ./strace-static-x86_64: Process 5831 attached [pid 5826] <... clone resumed>, child_tidptr=0x55556439d650) = 5831 [pid 5831] set_robust_list(0x55556439d660, 24 [pid 5830] <... mkdir resumed>) = 0 [pid 5829] <... mkdir resumed>) = 0 [pid 5828] chdir("./syzkaller.l36JOi" [pid 5827] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5831] <... set_robust_list resumed>) = 0 [pid 5829] chmod("./syzkaller.5qECcA", 0777 [pid 5828] <... chdir resumed>) = 0 [pid 5830] chmod("./syzkaller.kfrzcp", 0777 [pid 5828] mkdir("./0", 0777 [pid 5827] <... openat resumed>) = 3 [pid 5831] mkdir("./syzkaller.zFpXtt", 0700 [pid 5830] <... chmod resumed>) = 0 [pid 5827] ioctl(3, LOOP_CLR_FD [pid 5830] chdir("./syzkaller.kfrzcp" [pid 5829] <... chmod resumed>) = 0 [pid 5827] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5830] <... chdir resumed>) = 0 [pid 5830] mkdir("./0", 0777 [pid 5831] <... mkdir resumed>) = 0 [pid 5829] chdir("./syzkaller.5qECcA" [pid 5828] <... mkdir resumed>) = 0 [pid 5827] close(3 [pid 5829] <... chdir resumed>) = 0 [pid 5831] chmod("./syzkaller.zFpXtt", 0777 [pid 5830] <... mkdir resumed>) = 0 [pid 5829] mkdir("./0", 0777 [pid 5828] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5831] <... chmod resumed>) = 0 [pid 5830] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5829] <... mkdir resumed>) = 0 [pid 5827] <... close resumed>) = 0 [pid 5831] chdir("./syzkaller.zFpXtt") = 0 [pid 5830] <... openat resumed>) = 3 [pid 5831] mkdir("./0", 0777 [pid 5827] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5832 attached [pid 5831] <... mkdir resumed>) = 0 [pid 5829] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5828] <... openat resumed>) = 3 [pid 5830] ioctl(3, LOOP_CLR_FD [pid 5831] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5829] <... openat resumed>) = 3 [pid 5828] ioctl(3, LOOP_CLR_FD [pid 5832] set_robust_list(0x55556439d660, 24 [pid 5829] ioctl(3, LOOP_CLR_FD [pid 5830] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5831] ioctl(3, LOOP_CLR_FD [pid 5830] close(3 [pid 5832] <... set_robust_list resumed>) = 0 [pid 5831] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5830] <... close resumed>) = 0 [pid 5829] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5828] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5831] close(3 [pid 5830] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5833 attached [pid 5832] chdir("./0" [pid 5831] <... close resumed>) = 0 [pid 5831] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5832] <... chdir resumed>) = 0 [pid 5829] close(3 [pid 5828] close(3 [pid 5827] <... clone resumed>, child_tidptr=0x55556439d650) = 5832 [pid 5829] <... close resumed>) = 0 [pid 5828] <... close resumed>) = 0 [pid 5829] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5828] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5833] set_robust_list(0x55556439d660, 24) = 0 [pid 5833] chdir("./0") = 0 [pid 5830] <... clone resumed>, child_tidptr=0x55556439d650) = 5833 [pid 5833] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5831] <... clone resumed>, child_tidptr=0x55556439d650) = 5834 [pid 5833] <... prctl resumed>) = 0 [pid 5833] setpgid(0, 0) = 0 ./strace-static-x86_64: Process 5836 attached ./strace-static-x86_64: Process 5835 attached ./strace-static-x86_64: Process 5834 attached [pid 5832] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5829] <... clone resumed>, child_tidptr=0x55556439d650) = 5835 [pid 5836] set_robust_list(0x55556439d660, 24 [pid 5835] set_robust_list(0x55556439d660, 24 [pid 5834] set_robust_list(0x55556439d660, 24 [pid 5833] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5832] <... prctl resumed>) = 0 [pid 5828] <... clone resumed>, child_tidptr=0x55556439d650) = 5836 [pid 5835] <... set_robust_list resumed>) = 0 [pid 5834] <... set_robust_list resumed>) = 0 [pid 5832] setpgid(0, 0 [pid 5836] <... set_robust_list resumed>) = 0 [pid 5836] chdir("./0" [pid 5833] <... openat resumed>) = 3 [pid 5836] <... chdir resumed>) = 0 [pid 5836] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5833] write(3, "1000", 4 [pid 5836] setpgid(0, 0 [pid 5833] <... write resumed>) = 4 [pid 5836] <... setpgid resumed>) = 0 [pid 5833] close(3 [pid 5836] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5835] chdir("./0" [pid 5834] chdir("./0" [pid 5833] <... close resumed>) = 0 [pid 5833] symlink("/dev/binderfs", "./binderfs" [pid 5836] <... openat resumed>) = 3 [pid 5835] <... chdir resumed>) = 0 [pid 5834] <... chdir resumed>) = 0 [pid 5833] <... symlink resumed>) = 0 [pid 5832] <... setpgid resumed>) = 0 executing program [pid 5835] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5834] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5836] write(3, "1000", 4) = 4 [pid 5832] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5835] <... prctl resumed>) = 0 [pid 5834] <... prctl resumed>) = 0 [pid 5836] close(3 [pid 5835] setpgid(0, 0 [pid 5833] write(1, "executing program\n", 18 [pid 5836] <... close resumed>) = 0 [pid 5834] setpgid(0, 0 [pid 5833] <... write resumed>) = 18 [pid 5832] <... openat resumed>) = 3 [pid 5836] symlink("/dev/binderfs", "./binderfs" [pid 5835] <... setpgid resumed>) = 0 [pid 5834] <... setpgid resumed>) = 0 [pid 5836] <... symlink resumed>) = 0 [pid 5833] memfd_create("syzkaller", 0 [pid 5832] write(3, "1000", 4executing program [pid 5836] write(1, "executing program\n", 18) = 18 [pid 5835] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5834] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5833] <... memfd_create resumed>) = 3 [pid 5832] <... write resumed>) = 4 [pid 5836] memfd_create("syzkaller", 0 [pid 5834] <... openat resumed>) = 3 [pid 5833] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5832] close(3 [pid 5836] <... memfd_create resumed>) = 3 [pid 5835] <... openat resumed>) = 3 [pid 5834] write(3, "1000", 4 [pid 5833] <... mmap resumed>) = 0x7f3ebac00000 [pid 5832] <... close resumed>) = 0 [pid 5836] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5835] write(3, "1000", 4 [pid 5834] <... write resumed>) = 4 [pid 5832] symlink("/dev/binderfs", "./binderfs" [pid 5836] <... mmap resumed>) = 0x7f3ebac00000 [pid 5832] <... symlink resumed>) = 0 [pid 5834] close(3 [pid 5835] <... write resumed>) = 4 executing program [pid 5835] close(3 [pid 5834] <... close resumed>) = 0 [pid 5832] write(1, "executing program\n", 18 [pid 5835] <... close resumed>) = 0 [pid 5834] symlink("/dev/binderfs", "./binderfs" [pid 5832] <... write resumed>) = 18 executing program [pid 5835] symlink("/dev/binderfs", "./binderfs" [pid 5834] <... symlink resumed>) = 0 [pid 5832] memfd_create("syzkaller", 0 [pid 5834] write(1, "executing program\n", 18 [pid 5832] <... memfd_create resumed>) = 3 [pid 5834] <... write resumed>) = 18 [pid 5832] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5835] <... symlink resumed>) = 0 [pid 5834] memfd_create("syzkaller", 0 [pid 5832] <... mmap resumed>) = 0x7f3ebac00000 [pid 5835] write(1, "executing program\n", 18 [pid 5834] <... memfd_create resumed>) = 3 [pid 5834] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 executing program [pid 5835] <... write resumed>) = 18 [pid 5835] memfd_create("syzkaller", 0) = 3 [pid 5835] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [pid 5833] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5836] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5834] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5832] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5835] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5836] <... write resumed>) = 16777216 [pid 5836] munmap(0x7f3ebac00000, 138412032) = 0 [pid 5834] <... write resumed>) = 16777216 [pid 5833] <... write resumed>) = 16777216 [pid 5836] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5835] <... write resumed>) = 16777216 [pid 5834] munmap(0x7f3ebac00000, 138412032 [pid 5833] munmap(0x7f3ebac00000, 138412032 [pid 5832] <... write resumed>) = 16777216 [pid 5836] <... openat resumed>) = 4 [pid 5836] ioctl(4, LOOP_SET_FD, 3 [pid 5835] munmap(0x7f3ebac00000, 138412032 [pid 5833] <... munmap resumed>) = 0 [pid 5832] munmap(0x7f3ebac00000, 138412032 [pid 5833] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5836] <... ioctl resumed>) = 0 [pid 5835] <... munmap resumed>) = 0 [pid 5834] <... munmap resumed>) = 0 [pid 5832] <... munmap resumed>) = 0 [pid 5836] close(3 [pid 5835] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5834] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5833] <... openat resumed>) = 4 [pid 5832] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5836] <... close resumed>) = 0 [pid 5835] <... openat resumed>) = 4 [pid 5834] <... openat resumed>) = 4 [pid 5833] ioctl(4, LOOP_SET_FD, 3 [pid 5832] <... openat resumed>) = 4 [pid 5836] close(4 [pid 5835] ioctl(4, LOOP_SET_FD, 3 [pid 5834] ioctl(4, LOOP_SET_FD, 3 [pid 5836] <... close resumed>) = 0 [pid 5833] <... ioctl resumed>) = 0 [pid 5832] ioctl(4, LOOP_SET_FD, 3 [pid 5836] mkdir("./file0", 0777) = 0 [pid 5833] close(3 [pid 5836] mount("/dev/loop1", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 5833] <... close resumed>) = 0 [pid 5833] close(4) = 0 [pid 5833] mkdir("./file0", 0777) = 0 [pid 5833] mount("/dev/loop3", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 5832] <... ioctl resumed>) = 0 [pid 5835] <... ioctl resumed>) = 0 [pid 5834] <... ioctl resumed>) = 0 [pid 5832] close(3) = 0 [pid 5832] close(4) = 0 [pid 5835] close(3 [pid 5834] close(3 [pid 5832] mkdir("./file0", 0777 [pid 5834] <... close resumed>) = 0 [pid 5832] <... mkdir resumed>) = 0 [pid 5834] close(4 [pid 5832] mount("/dev/loop0", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 5835] <... close resumed>) = 0 [pid 5834] <... close resumed>) = 0 [pid 5835] close(4 [pid 5834] mkdir("./file0", 0777 [pid 5835] <... close resumed>) = 0 [ 60.405481][ T5836] loop1: detected capacity change from 0 to 32768 [ 60.425932][ T5833] loop3: detected capacity change from 0 to 32768 [ 60.426948][ T5835] loop2: detected capacity change from 0 to 32768 [ 60.434440][ T5832] loop0: detected capacity change from 0 to 32768 [ 60.443182][ T5834] loop4: detected capacity change from 0 to 32768 [pid 5834] <... mkdir resumed>) = 0 [pid 5835] mkdir("./file0", 0777) = 0 [pid 5834] mount("/dev/loop4", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [ 60.642192][ T5833] bcachefs (loop3): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 60.665747][ T5836] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 60.682761][ T5836] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 60.687634][ T5832] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 60.703568][ T5833] bcachefs (loop3): recovering from clean shutdown, journal seq 3338 [ 60.709865][ T5832] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 60.712887][ T5834] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 60.729715][ T5833] bcachefs (loop3): Version upgrade required: [ 60.729715][ T5833] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 60.729715][ T5833] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 60.729715][ T5833] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 60.736701][ T5834] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 60.801551][ T5835] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 60.819535][ T5835] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 60.831401][ T5833] bcachefs (loop3): dropping and reconstructing all alloc info [pid 5835] mount("/dev/loop2", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 5836] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5836] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5836] ioctl(3, LOOP_CLR_FD) = 0 [ 60.879437][ T5833] bcachefs (loop3): accounting_read... done [ 60.893960][ T5833] bcachefs (loop3): alloc_read... done [ 60.900836][ T5836] bcachefs: bch2_fs_get_tree() error: EINVAL [ 60.907486][ T5833] bcachefs (loop3): stripes_read... done [ 60.922801][ T5833] bcachefs (loop3): snapshots_read... done [pid 5836] close(3 [pid 5835] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = 0 [pid 5835] close(3 [pid 5832] <... mount resumed>) = -1 EINVAL (Invalid argument) [ 60.939745][ T5833] bcachefs (loop3): check_allocations... done [ 61.000770][ T5835] bcachefs: bch2_fs_get_tree() error: EINVAL [ 61.021493][ T5832] bcachefs: bch2_fs_get_tree() error: EINVAL [ 61.032445][ T5833] bcachefs (loop3): going read-write [pid 5832] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5832] ioctl(3, LOOP_CLR_FD) = 0 [pid 5832] close(3 [pid 5834] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5834] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5834] ioctl(3, LOOP_CLR_FD) = 0 [ 61.095068][ T5834] bcachefs: bch2_fs_get_tree() error: EINVAL [ 61.110267][ T5833] bcachefs (loop3): done starting filesystem [pid 5834] close(3 [pid 5833] <... mount resumed>) = 0 [pid 5833] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5833] chdir("./file0") = 0 [pid 5833] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5833] ioctl(4, LOOP_CLR_FD) = 0 [pid 5833] close(4) = 0 [pid 5836] <... close resumed>) = 0 [pid 5833] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5836] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5833] <... mkdirat resumed>) = 0 [pid 5836] <... mkdirat resumed>) = 0 [pid 5833] exit_group(0 [pid 5836] exit_group(0) = ? [pid 5833] <... exit_group resumed>) = ? [pid 5836] +++ exited with 0 +++ [pid 5833] +++ exited with 0 +++ [pid 5830] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5833, si_uid=0, si_status=0, si_utime=8 /* 0.08 s */, si_stime=37 /* 0.37 s */} --- [pid 5828] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5836, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=42 /* 0.42 s */} --- [pid 5830] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5830] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5828] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5830] <... openat resumed>) = 3 [pid 5828] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] getdents64(3, 0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5828] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] newfstatat(AT_FDCWD, "./0/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5830] newfstatat(3, "", [pid 5828] unlink("./0/binderfs") = 0 [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5830] getdents64(3, [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5830] <... getdents64 resumed>0x55556439e6f0 /* 4 entries */, 32768) = 112 [pid 5828] newfstatat(AT_FDCWD, "./0/file0", [pid 5830] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] <... close resumed>) = 0 [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5830] newfstatat(AT_FDCWD, "./0/binderfs", [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] <... mkdirat resumed>) = 0 [pid 5830] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5835] exit_group(0 [pid 5830] unlink("./0/binderfs" [pid 5828] <... openat resumed>) = 4 [pid 5835] <... exit_group resumed>) = ? [pid 5828] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5835] +++ exited with 0 +++ [pid 5828] getdents64(4, [pid 5829] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5835, si_uid=0, si_status=0, si_utime=9 /* 0.09 s */, si_stime=35 /* 0.35 s */} --- [pid 5829] restart_syscall(<... resuming interrupted clone ...> [pid 5830] <... unlink resumed>) = 0 [pid 5828] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5830] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5828] close(4) = 0 [pid 5829] <... restart_syscall resumed>) = 0 [pid 5828] rmdir("./0/file0" [pid 5834] <... close resumed>) = 0 [pid 5828] <... rmdir resumed>) = 0 [pid 5829] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] umount2("./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5829] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5829] <... openat resumed>) = 3 [pid 5829] newfstatat(3, "", [pid 5828] newfstatat(AT_FDCWD, "./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5829] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5829] getdents64(3, [pid 5828] umount2("./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5829] <... getdents64 resumed>0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] openat(AT_FDCWD, "./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5829] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] <... openat resumed>) = 4 [pid 5829] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5829] newfstatat(AT_FDCWD, "./0/binderfs", [pid 5828] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5829] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5834] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5832] <... close resumed>) = 0 [pid 5829] unlink("./0/binderfs" [pid 5828] close(4) = 0 [pid 5834] <... mkdirat resumed>) = 0 [pid 5828] rmdir("./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5834] exit_group(0 [pid 5832] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5829] <... unlink resumed>) = 0 [pid 5828] <... rmdir resumed>) = 0 [pid 5834] <... exit_group resumed>) = ? [pid 5829] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] getdents64(3, [pid 5829] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] <... getdents64 resumed>0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5829] newfstatat(AT_FDCWD, "./0/file0", [pid 5828] close(3) = 0 [pid 5828] rmdir("./0" [pid 5829] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5834] +++ exited with 0 +++ [pid 5832] <... mkdirat resumed>) = 0 [pid 5829] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] <... rmdir resumed>) = 0 [pid 5829] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] mkdir("./1", 0777 [pid 5829] openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5828] <... mkdir resumed>) = 0 [pid 5829] <... openat resumed>) = 4 [pid 5829] newfstatat(4, "", [pid 5828] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5829] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5829] getdents64(4, [pid 5828] <... openat resumed>) = 3 [pid 5829] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5829] getdents64(4, [pid 5831] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5834, si_uid=0, si_status=0, si_utime=9 /* 0.09 s */, si_stime=35 /* 0.35 s */} --- [pid 5829] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5828] ioctl(3, LOOP_CLR_FD [pid 5829] close(4) = 0 [pid 5832] exit_group(0 [pid 5829] rmdir("./0/file0" [pid 5828] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5832] <... exit_group resumed>) = ? [pid 5831] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5829] <... rmdir resumed>) = 0 [pid 5828] close(3 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5828] <... close resumed>) = 0 [pid 5832] +++ exited with 0 +++ [pid 5831] newfstatat(3, "", [pid 5829] umount2("./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5829] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5829] newfstatat(AT_FDCWD, "./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5827] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5832, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=46 /* 0.46 s */} --- [pid 5831] getdents64(3, [pid 5827] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] <... getdents64 resumed>0x55556439e6f0 /* 5 entries */, 32768) = 384 [ 61.318098][ T5830] bcachefs (loop3): shutting down [ 61.331766][ T5830] bcachefs (loop3): going read-only [ 61.341598][ T5830] bcachefs (loop3): finished waiting for writes to stop [ 61.355360][ T5830] bcachefs (loop3): flushing journal and stopping allocators, journal seq 3340 [pid 5827] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5829] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 ./strace-static-x86_64: Process 5878 attached [pid 5831] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5827] <... openat resumed>) = 3 [pid 5878] set_robust_list(0x55556439d660, 24 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] newfstatat(AT_FDCWD, "./0/binderfs", [pid 5827] newfstatat(3, "", [pid 5831] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5827] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5878] <... set_robust_list resumed>) = 0 [pid 5831] unlink("./0/binderfs" [pid 5829] umount2("./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] <... clone resumed>, child_tidptr=0x55556439d650) = 5878 [pid 5827] getdents64(3, [pid 5878] chdir("./1" [pid 5829] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5878] <... chdir resumed>) = 0 [pid 5831] <... unlink resumed>) = 0 [pid 5829] openat(AT_FDCWD, "./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5827] <... getdents64 resumed>0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5878] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5831] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5829] <... openat resumed>) = 4 [pid 5827] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5878] <... prctl resumed>) = 0 [pid 5829] newfstatat(4, "", [pid 5878] setpgid(0, 0 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] newfstatat(AT_FDCWD, "./0/file0", [pid 5827] newfstatat(AT_FDCWD, "./0/binderfs", [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5827] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5827] unlink("./0/binderfs" [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5827] <... unlink resumed>) = 0 [pid 5831] openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5827] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] <... openat resumed>) = 4 [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] newfstatat(4, "", [pid 5827] newfstatat(AT_FDCWD, "./0/file0", [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5827] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] getdents64(4, [pid 5827] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5878] <... setpgid resumed>) = 0 [pid 5831] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5829] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5878] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5831] getdents64(4, [pid 5827] openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5831] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5878] <... openat resumed>) = 3 [pid 5831] close(4 [pid 5829] getdents64(4, [pid 5827] <... openat resumed>) = 4 [pid 5878] write(3, "1000", 4 [pid 5831] <... close resumed>) = 0 [pid 5829] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5827] newfstatat(4, "", [pid 5878] <... write resumed>) = 4 [pid 5831] rmdir("./0/file0" [pid 5829] getdents64(4, [pid 5827] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5878] close(3 [pid 5829] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5878] <... close resumed>) = 0 [pid 5831] <... rmdir resumed>) = 0 [pid 5829] close(4 [pid 5878] symlink("/dev/binderfs", "./binderfs" [pid 5831] umount2("./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5829] <... close resumed>) = 0 [pid 5827] getdents64(4, [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5878] <... symlink resumed>) = 0 [pid 5831] newfstatat(AT_FDCWD, "./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5829] rmdir("./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5827] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5878] write(1, "executing program\n", 18 [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5829] <... rmdir resumed>) = 0 [pid 5827] getdents64(4, executing program [pid 5831] umount2("./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5827] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5878] <... write resumed>) = 18 [pid 5829] getdents64(3, [pid 5827] close(4 [pid 5878] memfd_create("syzkaller", 0 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5829] <... getdents64 resumed>0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5831] openat(AT_FDCWD, "./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5829] close(3 [pid 5827] <... close resumed>) = 0 [pid 5829] <... close resumed>) = 0 [pid 5831] <... openat resumed>) = 4 [pid 5829] rmdir("./0" [pid 5827] rmdir("./0/file0" [pid 5831] newfstatat(4, "", [pid 5829] <... rmdir resumed>) = 0 [pid 5878] <... memfd_create resumed>) = 3 [pid 5829] mkdir("./1", 0777 [pid 5878] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5829] <... mkdir resumed>) = 0 [pid 5827] <... rmdir resumed>) = 0 [pid 5831] getdents64(4, [pid 5827] umount2("./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] getdents64(4, [pid 5827] newfstatat(AT_FDCWD, "./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5831] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5878] <... mmap resumed>) = 0x7f3ebac00000 [pid 5831] close(4 [pid 5829] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5827] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] <... close resumed>) = 0 [pid 5831] rmdir("./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5827] umount2("./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] <... rmdir resumed>) = 0 [pid 5829] <... openat resumed>) = 3 [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] getdents64(3, [pid 5827] openat(AT_FDCWD, "./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5829] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5831] <... getdents64 resumed>0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5827] <... openat resumed>) = 4 [pid 5829] close(3 [pid 5827] newfstatat(4, "", [pid 5829] <... close resumed>) = 0 [pid 5829] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55556439d650) = 5879 ./strace-static-x86_64: Process 5879 attached [pid 5831] close(3 [pid 5827] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] <... close resumed>) = 0 [pid 5827] getdents64(4, [pid 5831] rmdir("./0" [pid 5827] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [ 61.397747][ T5830] bcachefs (loop3): flushing journal and stopping allocators complete, journal seq 3343 [ 61.413675][ T5830] bcachefs (loop3): unshutdown complete, journal seq 3344 [ 61.421505][ T5830] bcachefs (loop3): done going read-only, filesystem not clean [pid 5831] <... rmdir resumed>) = 0 [pid 5827] getdents64(4, [pid 5831] mkdir("./1", 0777 [pid 5827] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5827] close(4) = 0 [pid 5879] set_robust_list(0x55556439d660, 24 [pid 5827] rmdir("./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5879] <... set_robust_list resumed>) = 0 [pid 5879] chdir("./1") = 0 [pid 5879] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5879] setpgid(0, 0 [pid 5827] <... rmdir resumed>) = 0 [pid 5879] <... setpgid resumed>) = 0 [pid 5879] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5831] <... mkdir resumed>) = 0 [pid 5879] write(3, "1000", 4) = 4 [pid 5879] close(3) = 0 [pid 5879] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5831] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5827] getdents64(3, [pid 5879] write(1, "executing program\n", 18 [pid 5827] <... getdents64 resumed>0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5831] <... openat resumed>) = 3 [pid 5879] <... write resumed>) = 18 [pid 5879] memfd_create("syzkaller", 0 [pid 5827] close(3 [pid 5831] ioctl(3, LOOP_CLR_FD [pid 5879] <... memfd_create resumed>) = 3 [pid 5831] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5827] <... close resumed>) = 0 [pid 5879] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5831] close(3 [pid 5827] rmdir("./0" [pid 5879] <... mmap resumed>) = 0x7f3ebac00000 [pid 5831] <... close resumed>) = 0 [pid 5827] <... rmdir resumed>) = 0 [pid 5831] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5827] mkdir("./1", 0777) = 0 ./strace-static-x86_64: Process 5880 attached [pid 5831] <... clone resumed>, child_tidptr=0x55556439d650) = 5880 [pid 5827] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5880] set_robust_list(0x55556439d660, 24) = 0 [pid 5880] chdir("./1" [pid 5827] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5827] close(3) = 0 [pid 5827] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5880] <... chdir resumed>) = 0 ./strace-static-x86_64: Process 5881 attached [pid 5880] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5827] <... clone resumed>, child_tidptr=0x55556439d650) = 5881 [pid 5880] <... prctl resumed>) = 0 [pid 5881] set_robust_list(0x55556439d660, 24 [pid 5880] setpgid(0, 0) = 0 [pid 5881] <... set_robust_list resumed>) = 0 [pid 5880] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5881] chdir("./1") = 0 [pid 5881] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5880] <... openat resumed>) = 3 [pid 5880] write(3, "1000", 4) = 4 [pid 5880] close(3) = 0 [pid 5880] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5881] <... prctl resumed>) = 0 executing program [pid 5880] write(1, "executing program\n", 18) = 18 [pid 5880] memfd_create("syzkaller", 0) = 3 [pid 5880] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [ 61.480010][ T5830] bcachefs (loop3): shutdown complete [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", 4executing program ) = 4 [pid 5881] close(3) = 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) = 0x7f3ebac00000 [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"..., 16777216 [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"..., 16777216 [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"..., 16777216 [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"..., 16777216 [pid 5879] <... write resumed>) = 16777216 [pid 5879] munmap(0x7f3ebac00000, 138412032) = 0 [pid 5879] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5879] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5879] close(3 [pid 5881] <... write resumed>) = 16777216 [pid 5879] <... close resumed>) = 0 [pid 5879] close(4) = 0 [pid 5879] mkdir("./file0", 0777) = 0 [pid 5881] munmap(0x7f3ebac00000, 138412032 [ 62.083078][ T5879] loop2: detected capacity change from 0 to 32768 [pid 5879] mount("/dev/loop2", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 5881] <... munmap resumed>) = 0 [pid 5881] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5881] ioctl(4, LOOP_SET_FD, 3 [pid 5878] <... write resumed>) = 16777216 [pid 5881] <... ioctl resumed>) = 0 [pid 5878] munmap(0x7f3ebac00000, 138412032 [pid 5881] close(3) = 0 [pid 5881] close(4) = 0 [pid 5878] <... munmap resumed>) = 0 [pid 5881] mkdir("./file0", 0777) = 0 [pid 5878] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5881] mount("/dev/loop0", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 5878] <... openat resumed>) = 4 [pid 5878] ioctl(4, LOOP_SET_FD, 3 [pid 5880] <... write resumed>) = 16777216 [pid 5878] <... ioctl resumed>) = 0 [pid 5880] munmap(0x7f3ebac00000, 138412032 [pid 5878] close(3) = 0 [pid 5878] close(4) = 0 [pid 5878] mkdir("./file0", 0777 [pid 5880] <... munmap resumed>) = 0 [pid 5878] <... mkdir resumed>) = 0 [pid 5880] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [ 62.150551][ T5881] loop0: detected capacity change from 0 to 32768 [ 62.186319][ T5878] loop1: detected capacity change from 0 to 32768 [pid 5880] ioctl(4, LOOP_SET_FD, 3 [pid 5878] mount("/dev/loop1", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 5880] <... ioctl resumed>) = 0 [pid 5880] close(3) = 0 [pid 5880] close(4) = 0 [pid 5880] mkdir("./file0", 0777) = 0 [ 62.217031][ T5880] loop4: detected capacity change from 0 to 32768 [ 62.440898][ T5881] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 62.454159][ T5879] bcachefs (loop2): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 62.475384][ T5881] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 62.476519][ T5879] bcachefs (loop2): recovering from clean shutdown, journal seq 3338 [ 62.483707][ T5878] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 62.483771][ T5878] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 62.494262][ T5879] bcachefs (loop2): Version upgrade required: [ 62.494262][ T5879] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 62.494262][ T5879] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 62.494262][ T5879] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 62.500930][ T5880] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 62.509850][ T5879] bcachefs (loop2): dropping and reconstructing all alloc info [ 62.610456][ T5879] bcachefs (loop2): accounting_read... [ 62.622878][ T5880] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 62.639396][ T5879] done [ 62.642200][ T5879] bcachefs (loop2): alloc_read... done [ 62.648445][ T5879] bcachefs (loop2): stripes_read... done [ 62.657318][ T5879] bcachefs (loop2): snapshots_read... done [ 62.667419][ T5879] bcachefs (loop2): check_allocations... done [ 62.746268][ T5879] bcachefs (loop2): going read-write [pid 5880] mount("/dev/loop4", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 5879] <... mount resumed>) = 0 [pid 5879] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 5878] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5879] <... openat resumed>) = 3 [ 62.773052][ T5879] bcachefs (loop2): done starting filesystem [ 62.791004][ T5878] bcachefs: bch2_fs_get_tree() error: EINVAL [ 62.803804][ T5880] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5880] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5879] chdir("./file0" [pid 5878] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5879] <... chdir resumed>) = 0 [pid 5879] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5878] <... openat resumed>) = 3 [pid 5880] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5879] <... openat resumed>) = 4 [pid 5878] ioctl(3, LOOP_CLR_FD [pid 5880] <... openat resumed>) = 3 [pid 5879] ioctl(4, LOOP_CLR_FD [pid 5878] <... ioctl resumed>) = 0 [pid 5881] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5880] ioctl(3, LOOP_CLR_FD [pid 5879] <... ioctl resumed>) = 0 [pid 5878] close(3 [pid 5881] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5881] ioctl(3, LOOP_CLR_FD) = 0 [pid 5881] close(3 [pid 5880] <... ioctl resumed>) = 0 [pid 5879] close(4) = 0 [ 62.819550][ T5881] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5880] close(3 [pid 5879] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [pid 5879] exit_group(0) = ? [pid 5879] +++ exited with 0 +++ [pid 5829] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5879, si_uid=0, si_status=0, si_utime=13 /* 0.13 s */, si_stime=33 /* 0.33 s */} --- [pid 5829] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [ 62.879502][ T5879] syz-executor215 (5879) used greatest stack depth: 18032 bytes left [pid 5829] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5829] getdents64(3, 0x55556439e6f0 /* 4 entries */, 32768) = 112 [pid 5829] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] <... umount2 resumed>) = 0 [pid 5829] newfstatat(AT_FDCWD, "./1/binderfs", [pid 5830] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5830] newfstatat(AT_FDCWD, "./0/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5830] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5830] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5830] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5830] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5830] close(4) = 0 [pid 5830] rmdir("./0/file0") = 0 [pid 5830] getdents64(3, 0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5830] close(3) = 0 [pid 5830] rmdir("./0") = 0 [pid 5830] mkdir("./1", 0777) = 0 [pid 5830] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5829] unlink("./1/binderfs" [pid 5830] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5830] close(3) = 0 [pid 5830] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5913 attached [pid 5829] <... unlink resumed>) = 0 [pid 5830] <... clone resumed>, child_tidptr=0x55556439d650) = 5913 [pid 5829] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5913] set_robust_list(0x55556439d660, 24) = 0 [pid 5913] chdir("./1") = 0 [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) = 4 [pid 5913] close(3) = 0 [pid 5913] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5913] write(1, "executing program\n", 18executing program ) = 18 [pid 5913] memfd_create("syzkaller", 0) = 3 [pid 5913] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [pid 5878] <... close resumed>) = 0 [ 63.025542][ T5829] bcachefs (loop2): shutting down [ 63.030625][ T5829] bcachefs (loop2): going read-only [ 63.062839][ T5829] bcachefs (loop2): finished waiting for writes to stop [pid 5878] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [pid 5878] exit_group(0) = ? [pid 5878] +++ exited with 0 +++ [pid 5880] <... close resumed>) = 0 [pid 5828] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5878, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=42 /* 0.42 s */} --- [pid 5880] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5828] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5880] <... mkdirat resumed>) = 0 [pid 5828] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5880] exit_group(0 [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5880] <... exit_group resumed>) = ? [pid 5828] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5880] +++ exited with 0 +++ [pid 5828] <... openat resumed>) = 3 [pid 5828] newfstatat(3, "", [pid 5831] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5880, si_uid=0, si_status=0, si_utime=9 /* 0.09 s */, si_stime=41 /* 0.41 s */} --- [pid 5831] restart_syscall(<... resuming interrupted clone ...> [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] getdents64(3, 0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5828] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] <... restart_syscall resumed>) = 0 [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] newfstatat(AT_FDCWD, "./1/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 63.095657][ T5829] bcachefs (loop2): flushing journal and stopping allocators, journal seq 3340 [pid 5831] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] unlink("./1/binderfs" [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5828] <... unlink resumed>) = 0 [pid 5831] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] getdents64(3, 0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5881] <... close resumed>) = 0 [pid 5831] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] newfstatat(AT_FDCWD, "./1/file0", [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] newfstatat(AT_FDCWD, "./1/binderfs", [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5881] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5831] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] unlink("./1/binderfs" [pid 5828] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] <... unlink resumed>) = 0 [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] openat(AT_FDCWD, "./1/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] <... openat resumed>) = 4 [pid 5831] newfstatat(AT_FDCWD, "./1/file0", [pid 5881] <... mkdirat resumed>) = 0 [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] newfstatat(4, "", [pid 5881] exit_group(0) = ? [pid 5881] +++ exited with 0 +++ [pid 5831] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] openat(AT_FDCWD, "./1/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5827] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5881, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=44 /* 0.44 s */} --- [pid 5831] newfstatat(4, "", [pid 5827] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5827] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5831] getdents64(4, [pid 5827] <... openat resumed>) = 3 [pid 5831] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5827] newfstatat(3, "", [pid 5831] getdents64(4, [pid 5827] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5828] getdents64(4, [pid 5831] close(4 [pid 5827] getdents64(3, [pid 5831] <... close resumed>) = 0 [pid 5831] rmdir("./1/file0" [pid 5828] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5827] <... getdents64 resumed>0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5831] <... rmdir resumed>) = 0 [pid 5828] getdents64(4, [pid 5827] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5831] umount2("./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] close(4 [pid 5827] newfstatat(AT_FDCWD, "./1/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] <... close resumed>) = 0 [pid 5827] unlink("./1/binderfs" [pid 5828] rmdir("./1/file0" [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5827] <... unlink resumed>) = 0 [pid 5828] <... rmdir resumed>) = 0 [pid 5831] newfstatat(AT_FDCWD, "./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5827] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] umount2("./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5827] newfstatat(AT_FDCWD, "./1/file0", [pid 5831] umount2("./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] newfstatat(AT_FDCWD, "./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5827] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] openat(AT_FDCWD, "./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5827] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] umount2("./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5827] openat(AT_FDCWD, "./1/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5828] openat(AT_FDCWD, "./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5827] <... openat resumed>) = 4 [pid 5828] <... openat resumed>) = 4 [pid 5827] newfstatat(4, "", [pid 5828] newfstatat(4, "", [pid 5827] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5827] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5828] getdents64(4, [pid 5827] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5828] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5827] close(4) = 0 [pid 5827] rmdir("./1/file0") = 0 [pid 5827] umount2("./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5827] newfstatat(AT_FDCWD, "./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] <... openat resumed>) = 4 [pid 5827] umount2("./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] getdents64(4, [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5827] openat(AT_FDCWD, "./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5828] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5827] <... openat resumed>) = 4 [pid 5828] close(4 [pid 5827] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] <... close resumed>) = 0 [pid 5827] getdents64(4, [pid 5828] rmdir("./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5827] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5831] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] getdents64(4, [pid 5828] <... rmdir resumed>) = 0 [pid 5827] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5827] close(4 [pid 5831] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5827] <... close resumed>) = 0 [pid 5831] getdents64(4, [pid 5827] rmdir("./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5831] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5831] close(4) = 0 [pid 5831] rmdir("./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5827] <... rmdir resumed>) = 0 [pid 5828] getdents64(3, [pid 5827] getdents64(3, [pid 5831] getdents64(3, 0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5828] <... getdents64 resumed>0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5827] <... getdents64 resumed>0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5828] close(3 [pid 5827] close(3 [pid 5831] close(3 [pid 5827] <... close resumed>) = 0 [pid 5831] <... close resumed>) = 0 [pid 5828] <... close resumed>) = 0 [pid 5827] rmdir("./1" [pid 5831] rmdir("./1") = 0 [pid 5828] rmdir("./1" [pid 5827] <... rmdir resumed>) = 0 [pid 5831] mkdir("./2", 0777 [pid 5827] mkdir("./2", 0777 [pid 5831] <... mkdir resumed>) = 0 [pid 5827] <... mkdir resumed>) = 0 [pid 5831] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5827] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5831] <... openat resumed>) = 3 [pid 5827] <... openat resumed>) = 3 [pid 5831] ioctl(3, LOOP_CLR_FD [ 63.181642][ T35] bcachefs (loop2): bch2_write_super(): fatal error loop2: Superblock write was silently dropped! (seq 0 expected 53) [ 63.216749][ T35] bcachefs (loop2): fatal error - emergency read only [pid 5827] ioctl(3, LOOP_CLR_FD [pid 5831] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5828] <... rmdir resumed>) = 0 [pid 5827] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5831] close(3) = 0 [pid 5831] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD executing program executing program [pid 5828] mkdir("./2", 0777 [pid 5827] close(3./strace-static-x86_64: Process 5915 attached ) = 0 [pid 5831] <... clone resumed>, child_tidptr=0x55556439d650) = 5915 [pid 5827] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5915] set_robust_list(0x55556439d660, 24./strace-static-x86_64: Process 5916 attached [pid 5916] set_robust_list(0x55556439d660, 24 [pid 5827] <... clone resumed>, child_tidptr=0x55556439d650) = 5916 [pid 5915] <... set_robust_list resumed>) = 0 [pid 5916] <... set_robust_list resumed>) = 0 [pid 5915] chdir("./2") = 0 [pid 5915] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5916] chdir("./2" [pid 5915] <... prctl resumed>) = 0 [pid 5916] <... chdir resumed>) = 0 [pid 5916] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5915] setpgid(0, 0 [pid 5916] <... prctl resumed>) = 0 [pid 5915] <... setpgid resumed>) = 0 [pid 5916] setpgid(0, 0) = 0 [pid 5915] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5916] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5915] <... openat resumed>) = 3 [pid 5915] write(3, "1000", 4) = 4 [pid 5916] <... openat resumed>) = 3 [pid 5916] write(3, "1000", 4) = 4 [pid 5915] close(3 [pid 5916] close(3) = 0 [pid 5915] <... close resumed>) = 0 [pid 5916] symlink("/dev/binderfs", "./binderfs" [pid 5915] symlink("/dev/binderfs", "./binderfs" [pid 5916] <... symlink resumed>) = 0 [pid 5915] <... symlink resumed>) = 0 [pid 5916] write(1, "executing program\n", 18) = 18 [pid 5915] write(1, "executing program\n", 18) = 18 [pid 5916] memfd_create("syzkaller", 0) = 3 [pid 5915] memfd_create("syzkaller", 0 [pid 5916] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [pid 5915] <... memfd_create resumed>) = 3 [pid 5828] <... mkdir resumed>) = 0 [pid 5915] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [pid 5828] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5828] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5828] close(3) = 0 [pid 5828] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55556439d650) = 5918 ./strace-static-x86_64: Process 5918 attached [pid 5918] set_robust_list(0x55556439d660, 24) = 0 [pid 5918] chdir("./2") = 0 [pid 5918] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5918] setpgid(0, 0) = 0 [pid 5918] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5918] write(3, "1000", 4) = 4 [pid 5918] close(3) = 0 [ 63.249837][ T5829] bcachefs (loop2): flushing journal and stopping allocators complete, journal seq 3341 [ 63.289172][ T5829] bcachefs (loop2): unshutdown complete, journal seq 3341 [pid 5918] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5918] write(1, "executing program\n", 18executing program ) = 18 [pid 5918] memfd_create("syzkaller", 0) = 3 [pid 5918] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [ 63.330980][ T5829] bcachefs (loop2): done going read-only, filesystem not clean [ 63.424734][ T5829] bcachefs (loop2): shutdown complete [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"..., 16777216 [pid 5916] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [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"..., 16777216 [pid 5918] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5913] <... write resumed>) = 16777216 [pid 5913] munmap(0x7f3ebac00000, 138412032) = 0 [pid 5913] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5913] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5913] close(3) = 0 [pid 5913] close(4) = 0 [pid 5913] mkdir("./file0", 0777) = 0 [ 63.803526][ T5913] loop3: detected capacity change from 0 to 32768 [pid 5913] mount("/dev/loop3", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 5916] <... write resumed>) = 16777216 [pid 5916] munmap(0x7f3ebac00000, 138412032) = 0 [pid 5916] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5916] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5916] close(3) = 0 [pid 5916] close(4) = 0 [pid 5916] mkdir("./file0", 0777) = 0 [pid 5916] mount("/dev/loop0", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 5918] <... write resumed>) = 16777216 [ 63.898545][ T5916] loop0: detected capacity change from 0 to 32768 [pid 5918] munmap(0x7f3ebac00000, 138412032) = 0 [pid 5918] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 5918] ioctl(4, LOOP_SET_FD, 3 [pid 5915] <... write resumed>) = 16777216 [pid 5915] munmap(0x7f3ebac00000, 138412032 [pid 5918] <... ioctl resumed>) = 0 [pid 5915] <... munmap resumed>) = 0 [pid 5918] close(3) = 0 [pid 5915] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5918] close(4 [pid 5915] <... openat resumed>) = 4 [pid 5918] <... close resumed>) = 0 [pid 5918] mkdir("./file0", 0777) = 0 [pid 5918] mount("/dev/loop1", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [ 63.977375][ T5918] loop1: detected capacity change from 0 to 32768 [pid 5915] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5915] close(3) = 0 [pid 5915] close(4) = 0 [pid 5915] mkdir("./file0", 0777) = 0 [ 64.031093][ T5915] loop4: detected capacity change from 0 to 32768 [ 64.261159][ T5916] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 64.270728][ T5913] bcachefs (loop3): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 64.292254][ T5916] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 64.301520][ T5915] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 64.327946][ T5913] bcachefs (loop3): recovering from clean shutdown, journal seq 3338 [ 64.347596][ T5915] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 64.355801][ T5918] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 64.366260][ T5913] bcachefs (loop3): Version upgrade required: [ 64.366260][ T5913] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 64.366260][ T5913] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [pid 5915] mount("/dev/loop4", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 5916] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5916] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5916] ioctl(3, LOOP_CLR_FD) = 0 [ 64.366260][ T5913] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 64.366484][ T5916] bcachefs: bch2_fs_get_tree() error: EINVAL [ 64.444469][ T5918] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 64.483061][ T5913] bcachefs (loop3): dropping and reconstructing all alloc info [ 64.575170][ T5913] bcachefs (loop3): accounting_read... done [ 64.594196][ T5913] bcachefs (loop3): alloc_read... done [ 64.607293][ T5915] bcachefs: bch2_fs_get_tree() error: EINVAL [ 64.622862][ T5913] bcachefs (loop3): stripes_read... done [pid 5916] close(3 [pid 5915] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5915] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5915] ioctl(3, LOOP_CLR_FD) = 0 [ 64.635395][ T5913] bcachefs (loop3): snapshots_read... done [pid 5915] close(3 [pid 5918] <... mount resumed>) = -1 EINVAL (Invalid argument) [ 64.673146][ T5913] bcachefs (loop3): check_allocations... [ 64.682528][ T5918] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5918] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5918] ioctl(3, LOOP_CLR_FD) = 0 [pid 5918] close(3 [pid 5829] <... umount2 resumed>) = 0 [pid 5829] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] newfstatat(AT_FDCWD, "./1/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5829] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] openat(AT_FDCWD, "./1/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5829] newfstatat(4, "", [pid 5916] <... close resumed>) = 0 [pid 5829] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5829] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5829] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5916] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5913] <... mount resumed>) = 0 [pid 5829] close(4) = 0 [pid 5829] rmdir("./1/file0" [pid 5916] <... mkdirat resumed>) = 0 [pid 5829] <... rmdir resumed>) = 0 [pid 5913] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 5916] exit_group(0) = ? [pid 5916] +++ exited with 0 +++ [pid 5827] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5916, si_uid=0, si_status=0, si_utime=8 /* 0.08 s */, si_stime=35 /* 0.35 s */} --- [pid 5827] restart_syscall(<... resuming interrupted clone ...> [pid 5913] <... openat resumed>) = 3 [pid 5829] getdents64(3, [pid 5827] <... restart_syscall resumed>) = 0 [pid 5913] chdir("./file0" [pid 5829] <... getdents64 resumed>0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5829] close(3 [pid 5913] <... chdir resumed>) = 0 [pid 5829] <... close resumed>) = 0 [pid 5913] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5829] rmdir("./1" [pid 5827] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5827] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5913] ioctl(4, LOOP_CLR_FD [pid 5829] <... rmdir resumed>) = 0 [pid 5827] <... openat resumed>) = 3 [pid 5829] mkdir("./2", 0777 [pid 5827] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5827] getdents64(3, [pid 5829] <... mkdir resumed>) = 0 [ 64.737178][ T5913] done [ 64.754559][ T5913] bcachefs (loop3): going read-write [ 64.767723][ T5913] bcachefs (loop3): done starting filesystem [pid 5827] <... getdents64 resumed>0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5913] <... ioctl resumed>) = 0 [pid 5829] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5827] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5913] close(4 [pid 5829] <... openat resumed>) = 3 [pid 5913] <... close resumed>) = 0 [pid 5829] ioctl(3, LOOP_CLR_FD [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5913] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5829] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5913] <... mkdirat resumed>) = 0 [pid 5829] close(3 [pid 5827] newfstatat(AT_FDCWD, "./2/binderfs", [pid 5829] <... close resumed>) = 0 [pid 5913] exit_group(0 [pid 5829] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5913] <... exit_group resumed>) = ? [pid 5827] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5827] unlink("./2/binderfs") = 0 ./strace-static-x86_64: Process 5950 attached [pid 5913] +++ exited with 0 +++ [pid 5829] <... clone resumed>, child_tidptr=0x55556439d650) = 5950 [pid 5827] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5830] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5913, si_uid=0, si_status=0, si_utime=9 /* 0.09 s */, si_stime=28 /* 0.28 s */} --- [pid 5830] restart_syscall(<... resuming interrupted clone ...> [pid 5950] set_robust_list(0x55556439d660, 24) = 0 [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5827] newfstatat(AT_FDCWD, "./2/file0", [pid 5950] chdir("./2" [pid 5827] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5950] <... chdir resumed>) = 0 [pid 5950] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5827] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5950] <... prctl resumed>) = 0 [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5950] setpgid(0, 0) = 0 [pid 5830] <... restart_syscall resumed>) = 0 [pid 5827] openat(AT_FDCWD, "./2/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5830] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5950] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5827] newfstatat(4, "", [pid 5950] <... openat resumed>) = 3 [pid 5830] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5827] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5950] write(3, "1000", 4 [pid 5918] <... close resumed>) = 0 [pid 5830] <... openat resumed>) = 3 [pid 5827] getdents64(4, [pid 5830] newfstatat(3, "", [pid 5950] <... write resumed>) = 4 [pid 5950] close(3 [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5827] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5950] <... close resumed>) = 0 [pid 5830] getdents64(3, [pid 5950] symlink("/dev/binderfs", "./binderfs" [pid 5830] <... getdents64 resumed>0x55556439e6f0 /* 4 entries */, 32768) = 112 [pid 5827] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5950] <... symlink resumed>) = 0 [pid 5830] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5827] close(4 [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5827] <... close resumed>) = 0 [pid 5830] newfstatat(AT_FDCWD, "./1/binderfs", [pid 5827] rmdir("./2/file0"executing program [pid 5950] write(1, "executing program\n", 18 [pid 5918] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5830] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5827] <... rmdir resumed>) = 0 [pid 5950] <... write resumed>) = 18 [pid 5830] unlink("./1/binderfs" [pid 5827] umount2("./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5950] memfd_create("syzkaller", 0 [pid 5827] newfstatat(AT_FDCWD, "./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5918] <... mkdirat resumed>) = 0 [pid 5827] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5827] umount2("./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5827] openat(AT_FDCWD, "./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5827] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5827] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5950] <... memfd_create resumed>) = 3 [pid 5918] exit_group(0 [pid 5830] <... unlink resumed>) = 0 [pid 5827] getdents64(4, [pid 5950] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [pid 5918] <... exit_group resumed>) = ? [pid 5830] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5827] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5827] close(4) = 0 [pid 5827] rmdir("./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5918] +++ exited with 0 +++ [pid 5827] <... rmdir resumed>) = 0 [pid 5827] getdents64(3, [pid 5828] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5918, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=35 /* 0.35 s */} --- [pid 5827] <... getdents64 resumed>0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5828] restart_syscall(<... resuming interrupted clone ...> [pid 5827] close(3) = 0 [pid 5827] rmdir("./2") = 0 [pid 5827] mkdir("./3", 0777) = 0 [pid 5827] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5828] <... restart_syscall resumed>) = 0 [pid 5828] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5828] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] getdents64(3, 0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5828] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] newfstatat(AT_FDCWD, "./2/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] unlink("./2/binderfs") = 0 [pid 5828] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] newfstatat(AT_FDCWD, "./2/file0", [pid 5827] ioctl(3, LOOP_CLR_FD [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5827] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5828] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5827] close(3 [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5827] <... close resumed>) = 0 [pid 5827] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5915] <... close resumed>) = 0 [pid 5915] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000./strace-static-x86_64: Process 5951 attached ) = 0 [pid 5828] openat(AT_FDCWD, "./2/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5828] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5828] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5828] close(4) = 0 [pid 5828] rmdir("./2/file0" [pid 5827] <... clone resumed>, child_tidptr=0x55556439d650) = 5951 [pid 5828] <... rmdir resumed>) = 0 [pid 5828] umount2("./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5915] exit_group(0 [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] newfstatat(AT_FDCWD, "./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5951] set_robust_list(0x55556439d660, 24 [pid 5915] <... exit_group resumed>) = ? [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] umount2("./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] openat(AT_FDCWD, "./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5828] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5828] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5828] close(4) = 0 [pid 5828] rmdir("./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5951] <... set_robust_list resumed>) = 0 [pid 5915] +++ exited with 0 +++ [pid 5951] chdir("./3" [pid 5828] getdents64(3, [pid 5831] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5915, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=41 /* 0.41 s */} --- [pid 5951] <... chdir resumed>) = 0 [pid 5951] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5828] <... getdents64 resumed>0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5828] close(3) = 0 [pid 5828] rmdir("./2" [pid 5831] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] <... rmdir resumed>) = 0 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5828] mkdir("./3", 0777 [pid 5831] newfstatat(3, "", [pid 5828] <... mkdir resumed>) = 0 [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] getdents64(3, 0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5831] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5831] newfstatat(AT_FDCWD, "./2/binderfs", [pid 5828] <... openat resumed>) = 3 [pid 5831] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] unlink("./2/binderfs" [pid 5828] ioctl(3, LOOP_CLR_FD [pid 5831] <... unlink resumed>) = 0 [pid 5828] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5828] close(3 [pid 5831] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] <... close resumed>) = 0 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5951] <... prctl resumed>) = 0 [pid 5828] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5951] setpgid(0, 0) = 0 [pid 5951] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5951] write(3, "1000", 4) = 4 [pid 5951] close(3) = 0 [pid 5951] symlink("/dev/binderfs", "./binderfs"./strace-static-x86_64: Process 5952 attached ) = 0 [pid 5831] newfstatat(AT_FDCWD, "./2/file0", [pid 5951] write(1, "executing program\n", 18 [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 executing program [pid 5951] <... write resumed>) = 18 [pid 5831] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] <... clone resumed>, child_tidptr=0x55556439d650) = 5952 [pid 5952] set_robust_list(0x55556439d660, 24 [pid 5951] memfd_create("syzkaller", 0 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5952] <... set_robust_list resumed>) = 0 [pid 5831] openat(AT_FDCWD, "./2/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5952] chdir("./3" [pid 5831] newfstatat(4, "", [pid 5952] <... chdir resumed>) = 0 [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [ 64.928821][ T5830] bcachefs (loop3): shutting down [ 64.945072][ T5830] bcachefs (loop3): going read-only [ 64.950301][ T5830] bcachefs (loop3): finished waiting for writes to stop [ 64.969783][ T5830] bcachefs (loop3): flushing journal and stopping allocators, journal seq 3340 [pid 5952] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5951] <... memfd_create resumed>) = 3 [pid 5831] getdents64(4, [pid 5952] setpgid(0, 0 [pid 5951] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5952] <... setpgid resumed>) = 0 [pid 5952] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5951] <... mmap resumed>) = 0x7f3ebac00000 [pid 5831] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5831] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5831] close(4) = 0 [pid 5831] rmdir("./2/file0") = 0 [pid 5831] umount2("./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] newfstatat(AT_FDCWD, "./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] umount2("./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] openat(AT_FDCWD, "./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5831] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5952] <... openat resumed>) = 3 [pid 5831] getdents64(4, [pid 5952] write(3, "1000", 4) = 4 [pid 5952] close(3) = 0 [pid 5952] symlink("/dev/binderfs", "./binderfs" [pid 5831] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5952] <... symlink resumed>) = 0 [pid 5831] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5831] close(4) = 0 [pid 5831] rmdir("./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5831] getdents64(3, 0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5831] close(3) = 0 [pid 5831] rmdir("./2") = 0 [pid 5831] mkdir("./3", 0777) = 0 [pid 5831] openat(AT_FDCWD, "/dev/loop4", O_RDWRexecuting program [pid 5952] write(1, "executing program\n", 18 [pid 5831] <... openat resumed>) = 3 [pid 5952] <... write resumed>) = 18 [pid 5831] ioctl(3, LOOP_CLR_FD [pid 5952] memfd_create("syzkaller", 0 [pid 5831] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5952] <... memfd_create resumed>) = 3 [pid 5952] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5831] close(3 [pid 5952] <... mmap resumed>) = 0x7f3ebac00000 [pid 5831] <... close resumed>) = 0 [pid 5831] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55556439d650) = 5953 ./strace-static-x86_64: Process 5953 attached [ 65.016980][ T52] bcachefs (loop3): bch2_write_super(): fatal error loop3: Superblock write was silently dropped! (seq 0 expected 53) [ 65.042969][ T52] bcachefs (loop3): fatal error - emergency read only [pid 5953] set_robust_list(0x55556439d660, 24) = 0 [pid 5953] chdir("./3") = 0 [pid 5953] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5953] setpgid(0, 0) = 0 [pid 5953] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5953] write(3, "1000", 4) = 4 [pid 5953] close(3executing program ) = 0 [pid 5953] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5953] write(1, "executing program\n", 18) = 18 [pid 5953] memfd_create("syzkaller", 0) = 3 [pid 5953] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [ 65.070456][ T5830] bcachefs (loop3): flushing journal and stopping allocators complete, journal seq 3341 [ 65.113332][ T5830] bcachefs (loop3): unshutdown complete, journal seq 3341 [ 65.121484][ T5830] bcachefs (loop3): done going read-only, filesystem not clean [ 65.204097][ T5830] bcachefs (loop3): shutdown complete [pid 5950] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5951] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5953] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5952] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5950] <... write resumed>) = 16777216 [pid 5950] munmap(0x7f3ebac00000, 138412032) = 0 [pid 5952] <... write resumed>) = 16777216 [pid 5952] munmap(0x7f3ebac00000, 138412032 [pid 5950] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5950] ioctl(4, LOOP_SET_FD, 3 [pid 5952] <... munmap resumed>) = 0 [pid 5952] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5951] <... write resumed>) = 16777216 [pid 5950] <... ioctl resumed>) = 0 [pid 5952] <... openat resumed>) = 4 [pid 5952] ioctl(4, LOOP_SET_FD, 3 [pid 5951] munmap(0x7f3ebac00000, 138412032 [pid 5950] close(3 [pid 5952] <... ioctl resumed>) = 0 [pid 5951] <... munmap resumed>) = 0 [pid 5950] <... close resumed>) = 0 [pid 5953] <... write resumed>) = 16777216 [pid 5952] close(3 [pid 5951] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5950] close(4 [pid 5953] munmap(0x7f3ebac00000, 138412032 [pid 5952] <... close resumed>) = 0 [pid 5951] <... openat resumed>) = 4 [pid 5950] <... close resumed>) = 0 [pid 5952] close(4 [pid 5953] <... munmap resumed>) = 0 [pid 5952] <... close resumed>) = 0 [pid 5950] mkdir("./file0", 0777 [ 65.664387][ T5950] loop2: detected capacity change from 0 to 32768 [ 65.682589][ T5952] loop1: detected capacity change from 0 to 32768 [pid 5952] mkdir("./file0", 0777 [pid 5953] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5951] ioctl(4, LOOP_SET_FD, 3 [pid 5952] <... mkdir resumed>) = 0 [pid 5950] <... mkdir resumed>) = 0 [pid 5952] mount("/dev/loop1", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 5950] mount("/dev/loop2", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 5953] <... openat resumed>) = 4 [pid 5953] ioctl(4, LOOP_SET_FD, 3 [pid 5951] <... ioctl resumed>) = 0 [pid 5951] close(3) = 0 [pid 5951] close(4) = 0 [pid 5951] mkdir("./file0", 0777) = 0 [pid 5951] mount("/dev/loop0", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 5953] <... ioctl resumed>) = 0 [pid 5953] close(3) = 0 [pid 5953] close(4) = 0 [pid 5953] mkdir("./file0", 0777) = 0 [ 65.713221][ T5951] loop0: detected capacity change from 0 to 32768 [ 65.725908][ T5953] loop4: detected capacity change from 0 to 32768 [ 66.017516][ T5951] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 66.039084][ T5951] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 66.047452][ T5951] bcachefs (loop0): Version upgrade required: [ 66.047452][ T5951] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 66.047452][ T5951] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 66.047452][ T5951] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 66.134954][ T5950] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 66.144711][ T5950] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 66.153622][ T5951] bcachefs (loop0): dropping and reconstructing all alloc info [ 66.168678][ T5953] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 66.196364][ T5951] bcachefs (loop0): accounting_read... done [ 66.203232][ T5953] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 66.203623][ T5952] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 66.221206][ T5951] bcachefs (loop0): alloc_read... done [ 66.226890][ T5951] bcachefs (loop0): stripes_read... done [ 66.233526][ T5951] bcachefs (loop0): snapshots_read... done [ 66.239413][ T5951] bcachefs (loop0): check_allocations... [ 66.256786][ T5952] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [pid 5953] mount("/dev/loop4", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 5950] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5950] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [ 66.306078][ T5950] bcachefs: bch2_fs_get_tree() error: EINVAL [ 66.323351][ T5951] done [pid 5950] ioctl(3, LOOP_CLR_FD) = 0 [ 66.351575][ T5951] bcachefs (loop0): going read-write [pid 5950] close(3 [pid 5953] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5953] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5830] <... umount2 resumed>) = 0 [pid 5951] <... mount resumed>) = 0 [pid 5951] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 5953] <... openat resumed>) = 3 [pid 5951] <... openat resumed>) = 3 [pid 5830] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5953] ioctl(3, LOOP_CLR_FD [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5953] <... ioctl resumed>) = 0 [pid 5830] newfstatat(AT_FDCWD, "./1/file0", [pid 5953] close(3 [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5951] chdir("./file0" [pid 5830] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5951] <... chdir resumed>) = 0 [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5951] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5830] openat(AT_FDCWD, "./1/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5951] ioctl(4, LOOP_CLR_FD [pid 5830] <... openat resumed>) = 4 [pid 5951] <... ioctl resumed>) = 0 [ 66.406194][ T5953] bcachefs: bch2_fs_get_tree() error: EINVAL [ 66.413543][ T5951] bcachefs (loop0): done starting filesystem [pid 5830] newfstatat(4, "", [pid 5951] close(4 [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5951] <... close resumed>) = 0 [pid 5830] getdents64(4, [pid 5951] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5830] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5830] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5830] close(4 [pid 5951] <... mkdirat resumed>) = 0 [pid 5830] <... close resumed>) = 0 [pid 5951] exit_group(0 [pid 5830] rmdir("./1/file0") = 0 [pid 5830] getdents64(3, [pid 5951] <... exit_group resumed>) = ? [pid 5830] <... getdents64 resumed>0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5830] close(3) = 0 [pid 5830] rmdir("./1") = 0 [pid 5830] mkdir("./2", 0777) = 0 [pid 5830] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5830] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5830] close(3) = 0 [pid 5830] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55556439d650) = 5985 [pid 5951] +++ exited with 0 +++ ./strace-static-x86_64: Process 5985 attached [pid 5827] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5951, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=29 /* 0.29 s */} --- [pid 5827] restart_syscall(<... resuming interrupted clone ...> [pid 5985] set_robust_list(0x55556439d660, 24) = 0 [pid 5985] chdir("./2") = 0 [pid 5985] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5985] setpgid(0, 0) = 0 [pid 5985] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5985] write(3, "1000", 4) = 4 [pid 5985] close(3 [pid 5827] <... restart_syscall resumed>) = 0 [pid 5985] <... close resumed>) = 0 [pid 5985] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5827] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOWexecuting program ) = -1 EINVAL (Invalid argument) [pid 5985] write(1, "executing program\n", 18 [pid 5827] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5985] <... write resumed>) = 18 [pid 5985] memfd_create("syzkaller", 0 [pid 5827] <... openat resumed>) = 3 [pid 5985] <... memfd_create resumed>) = 3 [pid 5827] newfstatat(3, "", [pid 5985] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5827] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5985] <... mmap resumed>) = 0x7f3ebac00000 [pid 5827] getdents64(3, 0x55556439e6f0 /* 4 entries */, 32768) = 112 [pid 5952] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5827] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5952] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5827] newfstatat(AT_FDCWD, "./3/binderfs", [pid 5952] <... openat resumed>) = 3 [pid 5827] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5952] ioctl(3, LOOP_CLR_FD [pid 5827] unlink("./3/binderfs" [pid 5952] <... ioctl resumed>) = 0 [pid 5952] close(3 [pid 5827] <... unlink resumed>) = 0 [ 66.523060][ T5952] bcachefs: bch2_fs_get_tree() error: EINVAL [ 66.600973][ T5827] bcachefs (loop0): shutting down [pid 5827] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5950] <... close resumed>) = 0 [pid 5950] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [pid 5950] exit_group(0) = ? [pid 5950] +++ exited with 0 +++ [pid 5829] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5950, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=42 /* 0.42 s */} --- [pid 5829] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5829] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5829] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5829] getdents64(3, 0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5829] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] newfstatat(AT_FDCWD, "./2/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5829] unlink("./2/binderfs") = 0 [pid 5829] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] newfstatat(AT_FDCWD, "./2/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5829] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 66.622797][ T5827] bcachefs (loop0): going read-only [ 66.638720][ T5827] bcachefs (loop0): finished waiting for writes to stop [pid 5829] openat(AT_FDCWD, "./2/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5829] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5829] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5829] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5829] close(4) = 0 [pid 5829] rmdir("./2/file0") = 0 [pid 5829] umount2("./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] newfstatat(AT_FDCWD, "./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5829] umount2("./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] openat(AT_FDCWD, "./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5829] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5829] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5829] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5829] close(4) = 0 [pid 5829] rmdir("./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5829] getdents64(3, 0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5829] close(3) = 0 [pid 5829] rmdir("./2") = 0 [pid 5829] mkdir("./3", 0777) = 0 [pid 5829] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5829] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5829] close(3) = 0 [pid 5829] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55556439d650) = 5986 ./strace-static-x86_64: Process 5986 attached [pid 5986] set_robust_list(0x55556439d660, 24 [pid 5953] <... close resumed>) = 0 [pid 5986] <... set_robust_list resumed>) = 0 [pid 5953] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5986] chdir("./3") = 0 [pid 5986] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5953] <... mkdirat resumed>) = 0 [pid 5986] setpgid(0, 0 [pid 5953] exit_group(0 [pid 5986] <... setpgid resumed>) = 0 [pid 5953] <... exit_group resumed>) = ? [pid 5986] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5986] write(3, "1000", 4) = 4 [pid 5953] +++ exited with 0 +++ [pid 5986] close(3 [pid 5831] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5953, si_uid=0, si_status=0, si_utime=12 /* 0.12 s */, si_stime=36 /* 0.36 s */} --- [pid 5986] <... close resumed>) = 0 [pid 5831] restart_syscall(<... resuming interrupted clone ...> [pid 5986] symlink("/dev/binderfs", "./binderfs") = 0 [ 66.707935][ T5827] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3340 executing program [pid 5986] write(1, "executing program\n", 18 [pid 5831] <... restart_syscall resumed>) = 0 [pid 5986] <... write resumed>) = 18 [pid 5831] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5986] memfd_create("syzkaller", 0) = 3 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5986] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5831] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5986] <... mmap resumed>) = 0x7f3ebac00000 [pid 5831] <... openat resumed>) = 3 [pid 5831] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] getdents64(3, 0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5831] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] newfstatat(AT_FDCWD, "./3/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] unlink("./3/binderfs") = 0 [pid 5952] <... close resumed>) = 0 [pid 5831] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5952] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5952] exit_group(0 [pid 5831] newfstatat(AT_FDCWD, "./3/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] openat(AT_FDCWD, "./3/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5831] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5831] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5831] close(4) = 0 [pid 5831] rmdir("./3/file0") = 0 [pid 5952] <... exit_group resumed>) = ? [pid 5831] umount2("./3/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] newfstatat(AT_FDCWD, "./3/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] umount2("./3/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] openat(AT_FDCWD, "./3/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5831] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5831] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5831] close(4) = 0 [pid 5831] rmdir("./3/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5952] +++ exited with 0 +++ [pid 5831] <... rmdir resumed>) = 0 [pid 5831] getdents64(3, 0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5828] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5952, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=38 /* 0.38 s */} --- [pid 5831] close(3 [pid 5828] restart_syscall(<... resuming interrupted clone ...> [pid 5831] <... close resumed>) = 0 [pid 5831] rmdir("./3" [pid 5828] <... restart_syscall resumed>) = 0 [pid 5831] <... rmdir resumed>) = 0 [pid 5828] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5828] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] mkdir("./4", 0777 [ 66.793519][ T52] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [pid 5828] getdents64(3, [pid 5831] <... mkdir resumed>) = 0 [pid 5828] <... getdents64 resumed>0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5828] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] newfstatat(AT_FDCWD, "./3/binderfs", [pid 5831] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5828] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] <... openat resumed>) = 3 [pid 5828] unlink("./3/binderfs") = 0 [pid 5828] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] ioctl(3, LOOP_CLR_FD [pid 5828] newfstatat(AT_FDCWD, "./3/file0", [pid 5831] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] close(3 [pid 5828] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] <... close resumed>) = 0 [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5828] openat(AT_FDCWD, "./3/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5828] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] getdents64(4, ./strace-static-x86_64: Process 5987 attached 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5831] <... clone resumed>, child_tidptr=0x55556439d650) = 5987 [pid 5828] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5828] close(4) = 0 [pid 5987] set_robust_list(0x55556439d660, 24 [pid 5828] rmdir("./3/file0" [pid 5987] <... set_robust_list resumed>) = 0 [pid 5828] <... rmdir resumed>) = 0 [pid 5828] umount2("./3/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5987] chdir("./4" [pid 5828] newfstatat(AT_FDCWD, "./3/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] umount2("./3/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] openat(AT_FDCWD, "./3/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5828] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5828] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5828] close(4) = 0 [pid 5828] rmdir("./3/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5987] <... chdir resumed>) = 0 [pid 5828] <... rmdir resumed>) = 0 [pid 5987] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5828] getdents64(3, 0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5828] close(3) = 0 [pid 5828] rmdir("./3") = 0 [pid 5828] mkdir("./4", 0777 [pid 5987] <... prctl resumed>) = 0 [pid 5828] <... mkdir resumed>) = 0 [pid 5828] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5828] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5828] close(3) = 0 [pid 5828] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5987] setpgid(0, 0) = 0 [pid 5828] <... clone resumed>, child_tidptr=0x55556439d650) = 5988 [pid 5987] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 ./strace-static-x86_64: Process 5988 attached [pid 5987] write(3, "1000", 4 [pid 5988] set_robust_list(0x55556439d660, 24) = 0 [pid 5988] chdir("./4") = 0 [pid 5988] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5988] setpgid(0, 0) = 0 [pid 5988] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5987] <... write resumed>) = 4 [pid 5988] write(3, "1000", 4) = 4 [pid 5988] close(3) = 0 [ 66.836848][ T52] bcachefs (loop0): fatal error - emergency read only [ 66.868710][ T5827] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3341 [pid 5988] symlink("/dev/binderfs", "./binderfs"executing program executing program ) = 0 [pid 5987] close(3) = 0 [pid 5987] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5987] write(1, "executing program\n", 18 [pid 5988] write(1, "executing program\n", 18) = 18 [pid 5988] memfd_create("syzkaller", 0) = 3 [pid 5988] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [pid 5987] <... write resumed>) = 18 [pid 5987] memfd_create("syzkaller", 0) = 3 [pid 5987] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5985] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5987] <... mmap resumed>) = 0x7f3ebac00000 [ 66.909329][ T5827] bcachefs (loop0): unshutdown complete, journal seq 3341 [ 66.938728][ T5827] bcachefs (loop0): done going read-only, filesystem not clean [ 67.008101][ T5827] bcachefs (loop0): shutdown complete [pid 5986] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5988] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5987] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5985] <... write resumed>) = 16777216 [pid 5985] munmap(0x7f3ebac00000, 138412032) = 0 [pid 5985] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5985] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5985] close(3) = 0 [pid 5985] close(4) = 0 [pid 5985] mkdir("./file0", 0777) = 0 [ 67.334392][ T5985] loop3: detected capacity change from 0 to 32768 [pid 5985] mount("/dev/loop3", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 5986] <... write resumed>) = 16777216 [pid 5986] munmap(0x7f3ebac00000, 138412032) = 0 [pid 5986] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5986] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5986] close(3 [pid 5988] <... write resumed>) = 16777216 [pid 5986] <... close resumed>) = 0 [pid 5988] munmap(0x7f3ebac00000, 138412032 [pid 5986] close(4) = 0 [pid 5986] mkdir("./file0", 0777) = 0 [pid 5986] mount("/dev/loop2", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 5987] <... write resumed>) = 16777216 [pid 5988] <... munmap resumed>) = 0 [ 67.487145][ T5986] loop2: detected capacity change from 0 to 32768 [pid 5987] munmap(0x7f3ebac00000, 138412032 [pid 5988] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 5988] ioctl(4, LOOP_SET_FD, 3 [pid 5987] <... munmap resumed>) = 0 [pid 5988] <... ioctl resumed>) = 0 [pid 5987] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5988] close(3 [pid 5987] <... openat resumed>) = 4 [pid 5988] <... close resumed>) = 0 [pid 5987] ioctl(4, LOOP_SET_FD, 3 [pid 5988] close(4) = 0 [pid 5987] <... ioctl resumed>) = 0 [pid 5988] mkdir("./file0", 0777 [pid 5987] close(3 [pid 5988] <... mkdir resumed>) = 0 [pid 5987] <... close resumed>) = 0 [pid 5987] close(4) = 0 [pid 5987] mkdir("./file0", 0777) = 0 [pid 5988] mount("/dev/loop1", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [ 67.542281][ T5988] loop1: detected capacity change from 0 to 32768 [ 67.560305][ T5987] loop4: detected capacity change from 0 to 32768 [ 67.745066][ T5985] bcachefs (loop3): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 67.761157][ T5987] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 67.794002][ T5985] bcachefs (loop3): recovering from clean shutdown, journal seq 3338 [ 67.802544][ T5987] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 67.811274][ T5986] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 67.813052][ T5985] bcachefs (loop3): Version upgrade required: [ 67.813052][ T5985] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 67.813052][ T5985] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 67.813052][ T5985] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 67.829836][ T5988] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 67.900748][ T5988] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 67.906661][ T5986] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [pid 5987] mount("/dev/loop4", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"...) = -1 EINVAL (Invalid argument) [ 67.988032][ T5985] bcachefs (loop3): dropping and reconstructing all alloc info [ 68.024777][ T5987] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5987] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5987] ioctl(3, LOOP_CLR_FD) = 0 [pid 5987] close(3 [pid 5986] <... mount resumed>) = -1 EINVAL (Invalid argument) [ 68.046896][ T5986] bcachefs: bch2_fs_get_tree() error: EINVAL [ 68.052375][ T5985] bcachefs (loop3): accounting_read... done [ 68.082685][ T5985] bcachefs (loop3): alloc_read... done [pid 5986] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5986] ioctl(3, LOOP_CLR_FD) = 0 [pid 5986] close(3 [pid 5827] <... umount2 resumed>) = 0 [pid 5827] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5827] newfstatat(AT_FDCWD, "./3/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5827] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5988] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5827] openat(AT_FDCWD, "./3/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5827] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5827] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5827] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5827] close(4 [pid 5988] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5827] <... close resumed>) = 0 [pid 5827] rmdir("./3/file0") = 0 [ 68.093757][ T5985] bcachefs (loop3): stripes_read... done [ 68.103831][ T5985] bcachefs (loop3): snapshots_read... done [ 68.109743][ T5985] bcachefs (loop3): check_allocations... [ 68.110659][ T5988] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5988] <... openat resumed>) = 3 [pid 5827] getdents64(3, [pid 5988] ioctl(3, LOOP_CLR_FD) = 0 [pid 5827] <... getdents64 resumed>0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5988] close(3 [pid 5827] close(3) = 0 [pid 5827] rmdir("./3") = 0 [pid 5827] mkdir("./4", 0777) = 0 [pid 5827] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5827] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5827] close(3) = 0 [pid 5827] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55556439d650) = 6018 ./strace-static-x86_64: Process 6018 attached [ 68.172142][ T5985] done [pid 6018] set_robust_list(0x55556439d660, 24) = 0 [pid 6018] chdir("./4") = 0 [ 68.194354][ T5985] bcachefs (loop3): going read-write [pid 6018] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6018] setpgid(0, 0) = 0 [pid 6018] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6018] write(3, "1000", 4) = 4 [pid 6018] close(3) = 0 [pid 6018] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6018] write(1, "executing program\n", 18executing program ) = 18 [pid 6018] memfd_create("syzkaller", 0 [pid 5985] <... mount resumed>) = 0 [pid 6018] <... memfd_create resumed>) = 3 [pid 6018] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [pid 5985] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5985] chdir("./file0") = 0 [pid 5985] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5985] ioctl(4, LOOP_CLR_FD) = 0 [pid 5985] close(4) = 0 [pid 5985] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [pid 5985] exit_group(0) = ? [pid 5985] +++ exited with 0 +++ [pid 5830] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5985, si_uid=0, si_status=0, si_utime=10 /* 0.10 s */, si_stime=32 /* 0.32 s */} --- [ 68.218126][ T5985] bcachefs (loop3): done starting filesystem [pid 5830] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5830] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5830] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5830] getdents64(3, [pid 5986] <... close resumed>) = 0 [pid 5830] <... getdents64 resumed>0x55556439e6f0 /* 4 entries */, 32768) = 112 [pid 5986] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5830] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5986] <... mkdirat resumed>) = 0 [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5986] exit_group(0 [pid 5830] newfstatat(AT_FDCWD, "./2/binderfs", [pid 5986] <... exit_group resumed>) = ? [pid 5830] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5986] +++ exited with 0 +++ [pid 5830] unlink("./2/binderfs") = 0 [pid 5830] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5829] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5986, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=38 /* 0.38 s */} --- [pid 5829] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5829] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5829] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5829] getdents64(3, 0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5829] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] newfstatat(AT_FDCWD, "./3/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5829] unlink("./3/binderfs" [pid 5988] <... close resumed>) = 0 [pid 5829] <... unlink resumed>) = 0 [pid 5829] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] newfstatat(AT_FDCWD, "./3/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5829] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] openat(AT_FDCWD, "./3/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5829] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5829] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5988] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5829] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5829] close(4 [pid 5988] <... mkdirat resumed>) = 0 [pid 5988] exit_group(0 [pid 5829] <... close resumed>) = 0 [pid 5988] <... exit_group resumed>) = ? [pid 5829] rmdir("./3/file0" [pid 5988] +++ exited with 0 +++ [pid 5829] <... rmdir resumed>) = 0 [pid 5829] umount2("./3/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5988, si_uid=0, si_status=0, si_utime=12 /* 0.12 s */, si_stime=40 /* 0.40 s */} --- [pid 5829] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5829] newfstatat(AT_FDCWD, "./3/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5829] umount2("./3/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5829] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5829] openat(AT_FDCWD, "./3/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5828] <... openat resumed>) = 3 [pid 5829] <... openat resumed>) = 4 [pid 5828] newfstatat(3, "", [pid 5829] newfstatat(4, "", [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5829] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] getdents64(3, [pid 5829] getdents64(4, [pid 5828] <... getdents64 resumed>0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5829] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5828] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5829] getdents64(4, [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5829] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5828] newfstatat(AT_FDCWD, "./4/binderfs", [pid 5829] close(4 [pid 5828] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5829] <... close resumed>) = 0 [pid 5828] unlink("./4/binderfs" [pid 5829] rmdir("./3/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5828] <... unlink resumed>) = 0 [pid 5829] <... rmdir resumed>) = 0 [pid 5828] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5829] getdents64(3, [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5829] <... getdents64 resumed>0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5828] newfstatat(AT_FDCWD, "./4/file0", [pid 5829] close(3) = 0 [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 68.384675][ T5830] bcachefs (loop3): shutting down [ 68.401706][ T5830] bcachefs (loop3): going read-only [ 68.407969][ T5830] bcachefs (loop3): finished waiting for writes to stop [pid 5829] rmdir("./3" [pid 5828] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5987] <... close resumed>) = 0 [pid 5829] <... rmdir resumed>) = 0 [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5987] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [pid 5987] exit_group(0) = ? [pid 5987] +++ exited with 0 +++ [pid 5828] openat(AT_FDCWD, "./4/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5831] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5987, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=43 /* 0.43 s */} --- [pid 5829] mkdir("./4", 0777 [pid 5828] <... openat resumed>) = 4 [pid 5831] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] newfstatat(4, "", [pid 5829] <... mkdir resumed>) = 0 [pid 5831] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5829] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5831] <... openat resumed>) = 3 [pid 5828] getdents64(4, [pid 5829] <... openat resumed>) = 3 [pid 5828] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5829] ioctl(3, LOOP_CLR_FD [pid 5831] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5829] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5831] getdents64(3, [pid 5829] close(3) = 0 [pid 5831] <... getdents64 resumed>0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5829] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6022 attached [pid 5831] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5829] <... clone resumed>, child_tidptr=0x55556439d650) = 6022 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6022] set_robust_list(0x55556439d660, 24 [pid 5831] newfstatat(AT_FDCWD, "./4/binderfs", [pid 6022] <... set_robust_list resumed>) = 0 [pid 5831] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6022] chdir("./4" [pid 5831] unlink("./4/binderfs" [pid 6022] <... chdir resumed>) = 0 [pid 5831] <... unlink resumed>) = 0 [pid 6022] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5831] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6022] <... prctl resumed>) = 0 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6022] setpgid(0, 0 [pid 5828] getdents64(4, [pid 5831] newfstatat(AT_FDCWD, "./4/file0", [pid 6022] <... setpgid resumed>) = 0 [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5828] close(4) = 0 [pid 6022] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5831] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] rmdir("./4/file0" [pid 5831] openat(AT_FDCWD, "./4/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5831] newfstatat(4, "", [pid 6022] <... openat resumed>) = 3 [pid 5828] <... rmdir resumed>) = 0 [pid 6022] write(3, "1000", 4 [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6022] <... write resumed>) = 4 [pid 5831] getdents64(4, [pid 6022] close(3 [pid 5828] umount2("./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 6022] <... close resumed>) = 0 [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] newfstatat(AT_FDCWD, "./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] umount2("./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] openat(AT_FDCWD, "./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5828] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5828] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5828] close(4) = 0 [pid 5828] rmdir("./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 6022] symlink("/dev/binderfs", "./binderfs" [pid 5831] getdents64(4, [pid 5828] <... rmdir resumed>) = 0 [pid 5828] getdents64(3, 0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 6022] <... symlink resumed>) = 0 [pid 5831] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [ 68.436873][ T5830] bcachefs (loop3): flushing journal and stopping allocators, journal seq 3340 [pid 5831] close(4 [pid 6022] write(1, "executing program\n", 18 [pid 5828] close(3executing program [pid 6022] <... write resumed>) = 18 [pid 5831] <... close resumed>) = 0 [pid 6022] memfd_create("syzkaller", 0 [pid 5831] rmdir("./4/file0" [pid 5828] <... close resumed>) = 0 [pid 5828] rmdir("./4" [pid 6022] <... memfd_create resumed>) = 3 [pid 5831] <... rmdir resumed>) = 0 [pid 5828] <... rmdir resumed>) = 0 [pid 5831] umount2("./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6022] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] newfstatat(AT_FDCWD, "./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5828] mkdir("./5", 0777 [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] <... mkdir resumed>) = 0 [pid 5831] umount2("./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5831] openat(AT_FDCWD, "./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5828] <... openat resumed>) = 3 [pid 5831] <... openat resumed>) = 4 [pid 5828] ioctl(3, LOOP_CLR_FD [pid 5831] newfstatat(4, "", [pid 5828] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] close(3 [pid 5831] getdents64(4, [pid 5828] <... close resumed>) = 0 [pid 5831] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5828] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6024 attached [pid 5831] getdents64(4, [pid 6024] set_robust_list(0x55556439d660, 24 [pid 5831] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5831] close(4 [pid 5828] <... clone resumed>, child_tidptr=0x55556439d650) = 6024 [pid 5831] <... close resumed>) = 0 [pid 5831] rmdir("./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5831] getdents64(3, 0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5831] close(3) = 0 [pid 6024] <... set_robust_list resumed>) = 0 [pid 5831] rmdir("./4" [pid 6024] chdir("./5" [pid 5831] <... rmdir resumed>) = 0 [pid 6024] <... chdir resumed>) = 0 [pid 6024] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5831] mkdir("./5", 0777 [pid 6024] <... prctl resumed>) = 0 [pid 6024] setpgid(0, 0 [pid 5831] <... mkdir resumed>) = 0 [pid 6024] <... setpgid resumed>) = 0 [pid 5831] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6024] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5831] <... openat resumed>) = 3 [pid 5831] ioctl(3, LOOP_CLR_FD [pid 6024] <... openat resumed>) = 3 [pid 6024] write(3, "1000", 4 [pid 5831] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6024] <... write resumed>) = 4 [pid 6024] close(3 [pid 5831] close(3 [pid 6024] <... close resumed>) = 0 [pid 5831] <... close resumed>) = 0 [pid 6024] symlink("/dev/binderfs", "./binderfs" [pid 5831] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6024] <... symlink resumed>) = 0 executing program ./strace-static-x86_64: Process 6025 attached [pid 6024] write(1, "executing program\n", 18) = 18 [pid 6025] set_robust_list(0x55556439d660, 24 [pid 5831] <... clone resumed>, child_tidptr=0x55556439d650) = 6025 [pid 6025] <... set_robust_list resumed>) = 0 [ 68.535482][ T1076] bcachefs (loop3): bch2_write_super(): fatal error loop3: Superblock write was silently dropped! (seq 0 expected 53) [pid 6024] memfd_create("syzkaller", 0 [pid 6025] chdir("./5" [pid 6024] <... memfd_create resumed>) = 3 [pid 6024] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6025] <... chdir resumed>) = 0 [pid 6025] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6024] <... mmap resumed>) = 0x7f3ebac00000 [pid 6025] <... prctl resumed>) = 0 [pid 6025] setpgid(0, 0) = 0 [pid 6025] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6025] write(3, "1000", 4) = 4 [pid 6025] close(3) = 0 [pid 6025] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 6025] write(1, "executing program\n", 18) = 18 [pid 6025] memfd_create("syzkaller", 0) = 3 [pid 6025] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [ 68.610354][ T1076] bcachefs (loop3): fatal error - emergency read only [ 68.647667][ T5830] bcachefs (loop3): flushing journal and stopping allocators complete, journal seq 3342 [pid 6022] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [ 68.680276][ T5830] bcachefs (loop3): unshutdown complete, journal seq 3342 [ 68.703967][ T5830] bcachefs (loop3): done going read-only, filesystem not clean [ 68.765570][ T5830] bcachefs (loop3): shutdown complete [pid 6018] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6024] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6025] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6022] <... write resumed>) = 16777216 [pid 6022] munmap(0x7f3ebac00000, 138412032) = 0 [pid 6018] <... write resumed>) = 16777216 [pid 6022] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6018] munmap(0x7f3ebac00000, 138412032 [pid 6022] <... openat resumed>) = 4 [pid 6022] ioctl(4, LOOP_SET_FD, 3 [pid 6018] <... munmap resumed>) = 0 [pid 6022] <... ioctl resumed>) = 0 [pid 6022] close(3 [pid 6018] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6022] <... close resumed>) = 0 [pid 6018] <... openat resumed>) = 4 [pid 6022] close(4 [pid 6018] ioctl(4, LOOP_SET_FD, 3 [pid 6022] <... close resumed>) = 0 [pid 6022] mkdir("./file0", 0777) = 0 [pid 6018] <... ioctl resumed>) = 0 [pid 6018] close(3 [pid 6022] mount("/dev/loop2", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6018] <... close resumed>) = 0 [pid 6018] close(4) = 0 [pid 6018] mkdir("./file0", 0777) = 0 [ 69.072923][ T6022] loop2: detected capacity change from 0 to 32768 [ 69.088882][ T6018] loop0: detected capacity change from 0 to 32768 [pid 6018] mount("/dev/loop0", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6024] <... write resumed>) = 16777216 [pid 6024] munmap(0x7f3ebac00000, 138412032) = 0 [pid 6024] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6024] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6024] close(3) = 0 [pid 6024] close(4) = 0 [pid 6024] mkdir("./file0", 0777) = 0 [pid 6024] mount("/dev/loop1", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6025] <... write resumed>) = 16777216 [ 69.196690][ T6024] loop1: detected capacity change from 0 to 32768 [pid 6025] munmap(0x7f3ebac00000, 138412032) = 0 [pid 6025] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6025] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6025] close(3) = 0 [pid 6025] close(4) = 0 [pid 6025] mkdir("./file0", 0777) = 0 [ 69.271947][ T6025] loop4: detected capacity change from 0 to 32768 [ 69.532711][ T6018] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 69.544063][ T6022] bcachefs (loop2): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 69.565507][ T6018] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 69.572787][ T6024] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 69.582183][ T6022] bcachefs (loop2): recovering from clean shutdown, journal seq 3338 [ 69.590993][ T6024] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 69.593763][ T6022] bcachefs (loop2): Version upgrade required: [ 69.593763][ T6022] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 69.593763][ T6022] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 69.593763][ T6022] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 69.602698][ T6025] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 69.684947][ T6025] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 69.768782][ T6022] bcachefs (loop2): dropping and reconstructing all alloc info [ 69.817452][ T6024] bcachefs: bch2_fs_get_tree() error: EINVAL [ 69.827216][ T6018] bcachefs: bch2_fs_get_tree() error: EINVAL [ 69.834739][ T6022] bcachefs (loop2): accounting_read... done [ 69.855334][ T6025] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6025] mount("/dev/loop4", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6018] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6024] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6024] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6018] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6024] <... openat resumed>) = 3 [pid 6018] <... openat resumed>) = 3 [pid 6024] ioctl(3, LOOP_CLR_FD [pid 6018] ioctl(3, LOOP_CLR_FD [pid 6024] <... ioctl resumed>) = 0 [pid 6018] <... ioctl resumed>) = 0 [pid 6024] close(3 [pid 6018] close(3 [pid 6025] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6025] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 6025] ioctl(3, LOOP_CLR_FD) = 0 [ 69.866648][ T6022] bcachefs (loop2): alloc_read... done [ 69.872204][ T6022] bcachefs (loop2): stripes_read... done [ 69.878947][ T6022] bcachefs (loop2): snapshots_read... done [ 69.885809][ T6022] bcachefs (loop2): check_allocations... done [pid 6025] close(3 [pid 5830] <... umount2 resumed>) = 0 [pid 5830] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] newfstatat(AT_FDCWD, "./2/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5830] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] openat(AT_FDCWD, "./2/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5830] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5830] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5830] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5830] close(4) = 0 [ 69.973800][ T6022] bcachefs (loop2): going read-write [pid 5830] rmdir("./2/file0") = 0 [pid 5830] getdents64(3, 0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5830] close(3) = 0 [pid 5830] rmdir("./2") = 0 [pid 5830] mkdir("./3", 0777) = 0 [pid 5830] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5830] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5830] close(3) = 0 [pid 5830] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6055 attached , child_tidptr=0x55556439d650) = 6055 [pid 6055] set_robust_list(0x55556439d660, 24) = 0 [pid 6055] chdir("./3") = 0 [pid 6055] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6055] setpgid(0, 0) = 0 [pid 6055] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6055] write(3, "1000", 4) = 4 [pid 6055] close(3) = 0 [pid 6055] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6055] write(1, "executing program\n", 18) = 18 [pid 6055] memfd_create("syzkaller", 0) = 3 [pid 6055] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [pid 6022] <... mount resumed>) = 0 [pid 6022] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6022] chdir("./file0") = 0 [pid 6022] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6022] ioctl(4, LOOP_CLR_FD) = 0 [ 70.062284][ T6022] bcachefs (loop2): done starting filesystem [pid 6022] close(4) = 0 [pid 6022] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [pid 6022] exit_group(0) = ? [pid 6022] +++ exited with 0 +++ [pid 5829] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6022, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=30 /* 0.30 s */} --- [pid 5829] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5829] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5829] getdents64(3, 0x55556439e6f0 /* 4 entries */, 32768) = 112 [pid 5829] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] newfstatat(AT_FDCWD, "./4/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5829] unlink("./4/binderfs" [pid 6018] <... close resumed>) = 0 [pid 6025] <... close resumed>) = 0 [pid 6024] <... close resumed>) = 0 [pid 6018] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5829] <... unlink resumed>) = 0 [pid 5829] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6025] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 6024] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 6018] <... mkdirat resumed>) = 0 [pid 6025] <... mkdirat resumed>) = 0 [pid 6024] <... mkdirat resumed>) = 0 [pid 6018] exit_group(0 [pid 6025] exit_group(0 [pid 6024] exit_group(0 [pid 6018] <... exit_group resumed>) = ? [pid 6018] +++ exited with 0 +++ [pid 6025] <... exit_group resumed>) = ? [pid 6024] <... exit_group resumed>) = ? [pid 5827] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6018, si_uid=0, si_status=0, si_utime=13 /* 0.13 s */, si_stime=36 /* 0.36 s */} --- [pid 5827] restart_syscall(<... resuming interrupted clone ...> [pid 6025] +++ exited with 0 +++ [pid 5831] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6025, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=42 /* 0.42 s */} --- [pid 5831] restart_syscall(<... resuming interrupted clone ...> [pid 6024] +++ exited with 0 +++ [pid 5828] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6024, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=40 /* 0.40 s */} --- [pid 5828] restart_syscall(<... resuming interrupted clone ...> [pid 5831] <... restart_syscall resumed>) = 0 [pid 5828] <... restart_syscall resumed>) = 0 [pid 5827] <... restart_syscall resumed>) = 0 [pid 5828] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5827] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5827] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] <... openat resumed>) = 3 [pid 5827] <... openat resumed>) = 3 [pid 5831] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5828] newfstatat(3, "", [pid 5827] newfstatat(3, "", [pid 5831] <... openat resumed>) = 3 [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5827] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] newfstatat(3, "", [pid 5828] getdents64(3, [pid 5827] getdents64(3, [pid 5828] <... getdents64 resumed>0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5827] <... getdents64 resumed>0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5827] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] getdents64(3, [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] <... getdents64 resumed>0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5828] newfstatat(AT_FDCWD, "./5/binderfs", [pid 5827] newfstatat(AT_FDCWD, "./4/binderfs", [pid 5831] umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5827] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] unlink("./5/binderfs" [pid 5827] unlink("./4/binderfs" [pid 5831] newfstatat(AT_FDCWD, "./5/binderfs", [pid 5828] <... unlink resumed>) = 0 [pid 5827] <... unlink resumed>) = 0 [pid 5831] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5827] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] unlink("./5/binderfs" [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] <... unlink resumed>) = 0 [pid 5828] newfstatat(AT_FDCWD, "./5/file0", [pid 5827] newfstatat(AT_FDCWD, "./4/file0", [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5827] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5827] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] newfstatat(AT_FDCWD, "./5/file0", [pid 5828] openat(AT_FDCWD, "./5/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5827] openat(AT_FDCWD, "./4/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] <... openat resumed>) = 4 [pid 5827] <... openat resumed>) = 4 [pid 5828] newfstatat(4, "", [pid 5827] newfstatat(4, "", [pid 5831] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5827] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] getdents64(4, [pid 5827] getdents64(4, [pid 5831] openat(AT_FDCWD, "./5/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5828] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5827] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5831] <... openat resumed>) = 4 [pid 5828] getdents64(4, [pid 5827] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5827] close(4) = 0 [pid 5828] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5828] close(4 [pid 5827] rmdir("./4/file0" [pid 5831] newfstatat(4, "", [pid 5828] <... close resumed>) = 0 [pid 5827] <... rmdir resumed>) = 0 [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] rmdir("./5/file0" [pid 5831] getdents64(4, [pid 5828] <... rmdir resumed>) = 0 [pid 5831] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5827] umount2("./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] getdents64(4, [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5828] umount2("./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5827] newfstatat(AT_FDCWD, "./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5831] close(4 [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5827] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] <... close resumed>) = 0 [ 70.194982][ T5829] bcachefs (loop2): shutting down [ 70.201916][ T5829] bcachefs (loop2): going read-only [ 70.208720][ T5829] bcachefs (loop2): finished waiting for writes to stop [ 70.233565][ T5829] bcachefs (loop2): flushing journal and stopping allocators, journal seq 3339 [pid 5828] newfstatat(AT_FDCWD, "./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] rmdir("./5/file0" [pid 5828] umount2("./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5827] umount2("./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] <... rmdir resumed>) = 0 [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] openat(AT_FDCWD, "./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5827] openat(AT_FDCWD, "./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5831] umount2("./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] <... openat resumed>) = 4 [pid 5827] <... openat resumed>) = 4 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] newfstatat(4, "", [pid 5827] newfstatat(4, "", [pid 5831] newfstatat(AT_FDCWD, "./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5827] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] umount2("./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] getdents64(4, [pid 5827] getdents64(4, [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] openat(AT_FDCWD, "./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5828] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5827] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5831] <... openat resumed>) = 4 [pid 5828] getdents64(4, [pid 5827] getdents64(4, [pid 5831] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5827] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5831] getdents64(4, [pid 5828] close(4 [pid 5827] close(4 [pid 5831] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5828] <... close resumed>) = 0 [pid 5827] <... close resumed>) = 0 [pid 5831] getdents64(4, [pid 5828] rmdir("./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5827] rmdir("./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5831] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5828] <... rmdir resumed>) = 0 [pid 5827] <... rmdir resumed>) = 0 [pid 5831] close(4) = 0 [pid 5828] getdents64(3, [pid 5827] getdents64(3, [pid 5831] rmdir("./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5828] <... getdents64 resumed>0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5831] <... rmdir resumed>) = 0 [pid 5828] close(3 [pid 5827] <... getdents64 resumed>0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5831] getdents64(3, [pid 5828] <... close resumed>) = 0 [pid 5827] close(3 [pid 5831] <... getdents64 resumed>0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5828] rmdir("./5" [pid 5827] <... close resumed>) = 0 [pid 5828] <... rmdir resumed>) = 0 [pid 5827] rmdir("./4" [pid 5831] close(3 [pid 5828] mkdir("./6", 0777 [pid 5827] <... rmdir resumed>) = 0 [pid 5831] <... close resumed>) = 0 [pid 5828] <... mkdir resumed>) = 0 [pid 5827] mkdir("./5", 0777 [pid 5831] rmdir("./5" [pid 5828] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5827] <... mkdir resumed>) = 0 [pid 5831] <... rmdir resumed>) = 0 [pid 5828] <... openat resumed>) = 3 [pid 5827] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5831] mkdir("./6", 0777 [pid 5828] ioctl(3, LOOP_CLR_FD [pid 5827] <... openat resumed>) = 3 [pid 5828] <... ioctl resumed>) = -1 ENXIO (No such device or address) [ 70.280635][ T52] bcachefs (loop2): bch2_write_super(): fatal error loop2: Superblock write was silently dropped! (seq 0 expected 53) [ 70.303377][ T52] bcachefs (loop2): fatal error - emergency read only [ 70.313024][ T5829] bcachefs (loop2): flushing journal and stopping allocators complete, journal seq 3341 [pid 5827] ioctl(3, LOOP_CLR_FD [pid 5831] <... mkdir resumed>) = 0 [pid 5828] close(3) = 0 [pid 5827] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5831] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5828] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5827] close(3 [pid 5831] <... openat resumed>) = 3 [pid 5827] <... close resumed>) = 0 [pid 5831] ioctl(3, LOOP_CLR_FD [pid 5827] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6059 attached ./strace-static-x86_64: Process 6058 attached [pid 5831] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5831] close(3) = 0 [pid 5831] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5827] <... clone resumed>, child_tidptr=0x55556439d650) = 6059 [pid 6059] set_robust_list(0x55556439d660, 24) = 0 [pid 6059] chdir("./5") = 0 [pid 6059] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5828] <... clone resumed>, child_tidptr=0x55556439d650) = 6058 [pid 6059] setpgid(0, 0./strace-static-x86_64: Process 6060 attached [pid 6058] set_robust_list(0x55556439d660, 24 [pid 5831] <... clone resumed>, child_tidptr=0x55556439d650) = 6060 executing program [pid 6060] set_robust_list(0x55556439d660, 24 [pid 6058] <... set_robust_list resumed>) = 0 [pid 6055] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6059] <... setpgid resumed>) = 0 [pid 6058] chdir("./6" [pid 6059] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6059] write(3, "1000", 4) = 4 [pid 6059] close(3) = 0 [pid 6059] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6059] write(1, "executing program\n", 18) = 18 [pid 6059] memfd_create("syzkaller", 0) = 3 [pid 6059] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [ 70.342849][ T5829] bcachefs (loop2): unshutdown complete, journal seq 3341 [ 70.351322][ T5829] bcachefs (loop2): done going read-only, filesystem not clean [pid 6060] <... set_robust_list resumed>) = 0 [pid 6058] <... chdir resumed>) = 0 [pid 6060] chdir("./6" [pid 6058] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6060] <... chdir resumed>) = 0 [pid 6058] setpgid(0, 0 [pid 6060] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6058] <... setpgid resumed>) = 0 [pid 6060] <... prctl resumed>) = 0 [pid 6060] setpgid(0, 0) = 0 [pid 6058] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6060] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6058] <... openat resumed>) = 3 [pid 6058] write(3, "1000", 4 [pid 6060] <... openat resumed>) = 3 [pid 6058] <... write resumed>) = 4 [pid 6060] write(3, "1000", 4 [pid 6058] close(3 [pid 6060] <... write resumed>) = 4 [pid 6060] close(3 [pid 6058] <... close resumed>) = 0 [pid 6060] <... close resumed>) = 0 [pid 6058] symlink("/dev/binderfs", "./binderfs" [pid 6060] symlink("/dev/binderfs", "./binderfs" [pid 6058] <... symlink resumed>) = 0 [pid 6060] <... symlink resumed>) = 0 [pid 6060] write(1, "executing program\n", 18executing program executing program [pid 6058] write(1, "executing program\n", 18 [pid 6060] <... write resumed>) = 18 [pid 6058] <... write resumed>) = 18 [pid 6060] memfd_create("syzkaller", 0 [pid 6058] memfd_create("syzkaller", 0 [pid 6060] <... memfd_create resumed>) = 3 [pid 6058] <... memfd_create resumed>) = 3 [pid 6060] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6058] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6060] <... mmap resumed>) = 0x7f3ebac00000 [pid 6058] <... mmap resumed>) = 0x7f3ebac00000 [ 70.408854][ T5829] bcachefs (loop2): shutdown complete [pid 6059] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6055] <... write resumed>) = 16777216 [pid 6055] munmap(0x7f3ebac00000, 138412032) = 0 [pid 6060] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6055] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6055] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6055] close(3) = 0 [pid 6055] close(4) = 0 [pid 6055] mkdir("./file0", 0777 [pid 6058] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6055] <... mkdir resumed>) = 0 [ 70.765153][ T6055] loop3: detected capacity change from 0 to 32768 [pid 6055] mount("/dev/loop3", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6059] <... write resumed>) = 16777216 [pid 6059] munmap(0x7f3ebac00000, 138412032) = 0 [pid 6059] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6059] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6059] close(3) = 0 [pid 6059] close(4) = 0 [pid 6059] mkdir("./file0", 0777) = 0 [ 70.893695][ T6059] loop0: detected capacity change from 0 to 32768 [pid 6059] mount("/dev/loop0", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6060] <... write resumed>) = 16777216 [pid 6060] munmap(0x7f3ebac00000, 138412032) = 0 [pid 6060] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6060] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6060] close(3) = 0 [pid 6060] close(4) = 0 [pid 6060] mkdir("./file0", 0777) = 0 [ 70.993983][ T6060] loop4: detected capacity change from 0 to 32768 [pid 6060] mount("/dev/loop4", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6058] <... write resumed>) = 16777216 [pid 6058] munmap(0x7f3ebac00000, 138412032) = 0 [pid 6058] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6058] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6058] close(3) = 0 [pid 6058] close(4) = 0 [pid 6058] mkdir("./file0", 0777) = 0 [ 71.068140][ T6058] loop1: detected capacity change from 0 to 32768 [ 71.209153][ T6055] bcachefs (loop3): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 71.219879][ T6059] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 71.230571][ T6055] bcachefs (loop3): recovering from clean shutdown, journal seq 3338 [ 71.239741][ T6059] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 71.248279][ T6055] bcachefs (loop3): Version upgrade required: [ 71.248279][ T6055] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 71.248279][ T6055] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 71.248279][ T6055] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 71.327942][ T6055] bcachefs (loop3): dropping and reconstructing all alloc info [ 71.344755][ T6055] bcachefs (loop3): accounting_read... done [ 71.354082][ T6055] bcachefs (loop3): alloc_read... done [ 71.359970][ T6055] bcachefs (loop3): stripes_read... done [ 71.366174][ T6055] bcachefs (loop3): snapshots_read... done [ 71.372065][ T6055] bcachefs (loop3): check_allocations... [ 71.401236][ T6058] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 71.403799][ T6055] done [ 71.412606][ T6060] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 71.453332][ T6058] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 71.462159][ T6060] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 71.475491][ T6055] bcachefs (loop3): going read-write [pid 6058] mount("/dev/loop1", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6055] <... mount resumed>) = 0 [pid 6055] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [ 71.522485][ T6055] bcachefs (loop3): done starting filesystem [pid 6059] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6055] chdir("./file0") = 0 [pid 6055] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6059] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 6059] ioctl(3, LOOP_CLR_FD) = 0 [pid 6059] close(3 [pid 6058] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6055] <... openat resumed>) = 4 [pid 6058] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6055] ioctl(4, LOOP_CLR_FD) = 0 [pid 6055] close(4 [pid 6058] <... openat resumed>) = 3 [pid 6058] ioctl(3, LOOP_CLR_FD [pid 6055] <... close resumed>) = 0 [pid 6058] <... ioctl resumed>) = 0 [ 71.565575][ T6059] bcachefs: bch2_fs_get_tree() error: EINVAL [ 71.578044][ T6058] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6058] close(3 [pid 6055] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [pid 6055] exit_group(0) = ? [pid 6055] +++ exited with 0 +++ [pid 5830] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6055, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=32 /* 0.32 s */} --- [pid 5830] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5830] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5830] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5830] getdents64(3, 0x55556439e6f0 /* 4 entries */, 32768) = 112 [pid 5830] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] newfstatat(AT_FDCWD, "./3/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5830] unlink("./3/binderfs" [pid 6060] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5830] <... unlink resumed>) = 0 [pid 5830] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6060] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 6060] ioctl(3, LOOP_CLR_FD) = 0 [ 71.677586][ T6060] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6060] close(3 [pid 5829] <... umount2 resumed>) = 0 [pid 5829] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] newfstatat(AT_FDCWD, "./4/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5829] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] openat(AT_FDCWD, "./4/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5829] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5829] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 6059] <... close resumed>) = 0 [pid 5829] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5829] close(4) = 0 [ 71.783606][ T5830] bcachefs (loop3): shutting down [ 71.788674][ T5830] bcachefs (loop3): going read-only [pid 5829] rmdir("./4/file0" [pid 6059] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 6058] <... close resumed>) = 0 [pid 5829] <... rmdir resumed>) = 0 [pid 5829] getdents64(3, 0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5829] close(3) = 0 [pid 5829] rmdir("./4" [pid 6058] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 6059] <... mkdirat resumed>) = 0 [pid 6058] <... mkdirat resumed>) = 0 [pid 5829] <... rmdir resumed>) = 0 [pid 6058] exit_group(0) = ? [pid 6059] exit_group(0 [pid 5829] mkdir("./5", 0777 [pid 6059] <... exit_group resumed>) = ? [pid 6059] +++ exited with 0 +++ [pid 5829] <... mkdir resumed>) = 0 [pid 5829] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5827] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6059, si_uid=0, si_status=0, si_utime=12 /* 0.12 s */, si_stime=46 /* 0.46 s */} --- [pid 5827] restart_syscall(<... resuming interrupted clone ...> [pid 5829] <... openat resumed>) = 3 [pid 5829] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5829] close(3) = 0 [pid 6058] +++ exited with 0 +++ [pid 5828] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6058, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=38 /* 0.38 s */} --- [pid 5828] restart_syscall(<... resuming interrupted clone ...> [pid 5829] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5827] <... restart_syscall resumed>) = 0 ./strace-static-x86_64: Process 6092 attached [pid 5828] <... restart_syscall resumed>) = 0 [pid 6092] set_robust_list(0x55556439d660, 24) = 0 [pid 6092] chdir("./5" [pid 5827] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6092] <... chdir resumed>) = 0 [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5827] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6092] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5827] <... openat resumed>) = 3 [pid 6092] <... prctl resumed>) = 0 [pid 6092] setpgid(0, 0) = 0 [pid 5827] newfstatat(3, "", [pid 6092] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5827] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5827] getdents64(3, [pid 6092] <... openat resumed>) = 3 [pid 5827] <... getdents64 resumed>0x55556439e6f0 /* 5 entries */, 32768) = 384 [ 71.832363][ T5830] bcachefs (loop3): finished waiting for writes to stop [ 71.861221][ T5830] bcachefs (loop3): flushing journal and stopping allocators, journal seq 3339 [pid 5827] umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6092] write(3, "1000", 4 [pid 5829] <... clone resumed>, child_tidptr=0x55556439d650) = 6092 [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5828] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6092] <... write resumed>) = 4 [pid 6060] <... close resumed>) = 0 [pid 5828] getdents64(3, [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6060] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 6092] close(3 [pid 5828] <... getdents64 resumed>0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5827] newfstatat(AT_FDCWD, "./5/binderfs", [pid 6060] <... mkdirat resumed>) = 0 [pid 5828] umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6092] <... close resumed>) = 0 [pid 5827] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5827] unlink("./5/binderfs" [pid 6092] symlink("/dev/binderfs", "./binderfs" [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5827] <... unlink resumed>) = 0 [pid 5828] newfstatat(AT_FDCWD, "./6/binderfs", [pid 6092] <... symlink resumed>) = 0 [pid 5828] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5827] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] unlink("./6/binderfs" [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5827] newfstatat(AT_FDCWD, "./5/file0", [pid 5828] <... unlink resumed>) = 0 [pid 5827] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 executing program [pid 5827] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6092] write(1, "executing program\n", 18) = 18 [pid 6092] memfd_create("syzkaller", 0) = 3 [pid 6092] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [pid 6060] exit_group(0 [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5827] openat(AT_FDCWD, "./5/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6060] <... exit_group resumed>) = ? [pid 5828] newfstatat(AT_FDCWD, "./6/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6060] +++ exited with 0 +++ [pid 5828] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6060, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=39 /* 0.39 s */} --- [pid 5827] <... openat resumed>) = 4 [pid 5831] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] openat(AT_FDCWD, "./6/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5827] newfstatat(4, "", [pid 5828] <... openat resumed>) = 4 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5827] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5827] getdents64(4, [pid 5831] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5827] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5831] <... openat resumed>) = 3 [pid 5827] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5831] newfstatat(3, "", [pid 5828] newfstatat(4, "", [pid 5827] close(4) = 0 [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5827] rmdir("./5/file0" [pid 5831] getdents64(3, [pid 5827] <... rmdir resumed>) = 0 [pid 5831] <... getdents64 resumed>0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5828] getdents64(4, [pid 5827] umount2("./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5827] newfstatat(AT_FDCWD, "./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5831] newfstatat(AT_FDCWD, "./6/binderfs", [pid 5828] getdents64(4, [pid 5827] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [ 71.937464][ T52] bcachefs (loop3): bch2_write_super(): fatal error loop3: Superblock write was silently dropped! (seq 0 expected 53) [ 71.956042][ T52] bcachefs (loop3): fatal error - emergency read only [pid 5827] umount2("./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] unlink("./6/binderfs" [pid 5828] close(4 [pid 5831] <... unlink resumed>) = 0 [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] <... close resumed>) = 0 [pid 5827] openat(AT_FDCWD, "./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] rmdir("./6/file0" [pid 5827] <... openat resumed>) = 4 [pid 5828] <... rmdir resumed>) = 0 [pid 5827] newfstatat(4, "", [pid 5831] newfstatat(AT_FDCWD, "./6/file0", [pid 5828] umount2("./6/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5827] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] newfstatat(AT_FDCWD, "./6/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5827] getdents64(4, [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] openat(AT_FDCWD, "./6/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5827] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5831] <... openat resumed>) = 4 [pid 5828] umount2("./6/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5827] getdents64(4, [pid 5831] newfstatat(4, "", [pid 5827] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5827] close(4 [pid 5831] getdents64(4, [pid 5828] openat(AT_FDCWD, "./6/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5827] <... close resumed>) = 0 [pid 5831] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5828] <... openat resumed>) = 4 [pid 5827] rmdir("./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5831] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5827] <... rmdir resumed>) = 0 [pid 5831] close(4) = 0 [pid 5828] newfstatat(4, "", [pid 5827] getdents64(3, [pid 5831] rmdir("./6/file0" [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] <... rmdir resumed>) = 0 [pid 5828] getdents64(4, [pid 5827] <... getdents64 resumed>0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5828] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5831] umount2("./6/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5827] close(3 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5827] <... close resumed>) = 0 [pid 5831] newfstatat(AT_FDCWD, "./6/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5828] getdents64(4, [pid 5827] rmdir("./5") = 0 [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5827] mkdir("./6", 0777 [pid 5831] umount2("./6/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] close(4 [pid 5827] <... mkdir resumed>) = 0 [pid 5828] <... close resumed>) = 0 [pid 5827] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] rmdir("./6/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5831] openat(AT_FDCWD, "./6/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5828] getdents64(3, [pid 5827] <... openat resumed>) = 3 [pid 5831] <... openat resumed>) = 4 [pid 5828] <... getdents64 resumed>0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5827] ioctl(3, LOOP_CLR_FD [pid 5831] newfstatat(4, "", [pid 5828] close(3 [pid 5827] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] <... close resumed>) = 0 [pid 5827] close(3 [pid 5831] getdents64(4, [pid 5828] rmdir("./6" [pid 5827] <... close resumed>) = 0 [pid 5828] <... rmdir resumed>) = 0 [ 71.981056][ T5830] bcachefs (loop3): flushing journal and stopping allocators complete, journal seq 3341 [ 71.992913][ T5830] bcachefs (loop3): unshutdown complete, journal seq 3341 [ 72.004402][ T5830] bcachefs (loop3): done going read-only, filesystem not clean [pid 5827] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5831] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5828] mkdir("./7", 0777 [pid 5827] <... clone resumed>, child_tidptr=0x55556439d650) = 6093 [pid 5831] getdents64(4, [pid 5828] <... mkdir resumed>) = 0 [pid 5831] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5828] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5831] close(4) = 0 [pid 5828] <... openat resumed>) = 3 [pid 5831] rmdir("./6/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5828] ioctl(3, LOOP_CLR_FD [pid 5831] <... rmdir resumed>) = 0 ./strace-static-x86_64: Process 6093 attached [pid 6093] set_robust_list(0x55556439d660, 24) = 0 [pid 6093] chdir("./6") = 0 [pid 6093] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5831] getdents64(3, [pid 5828] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5831] <... getdents64 resumed>0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5831] close(3) = 0 [pid 6093] setpgid(0, 0 [pid 5831] rmdir("./6" [pid 6093] <... setpgid resumed>) = 0 [pid 6093] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5831] <... rmdir resumed>) = 0 [pid 6093] <... openat resumed>) = 3 [pid 5831] mkdir("./7", 0777 [pid 5828] close(3 [pid 6093] write(3, "1000", 4) = 4 [pid 5831] <... mkdir resumed>) = 0 [pid 5828] <... close resumed>) = 0 executing program [pid 5831] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5828] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5831] <... openat resumed>) = 3 [pid 6093] close(3) = 0 [pid 6093] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5831] ioctl(3, LOOP_CLR_FD./strace-static-x86_64: Process 6094 attached ) = -1 ENXIO (No such device or address) [pid 6093] write(1, "executing program\n", 18 [pid 6094] set_robust_list(0x55556439d660, 24 [pid 6093] <... write resumed>) = 18 [pid 6094] <... set_robust_list resumed>) = 0 [pid 6093] memfd_create("syzkaller", 0 [pid 5831] close(3 [pid 5828] <... clone resumed>, child_tidptr=0x55556439d650) = 6094 [pid 6094] chdir("./7" [pid 6093] <... memfd_create resumed>) = 3 [pid 6093] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5831] <... close resumed>) = 0 [pid 6093] <... mmap resumed>) = 0x7f3ebac00000 [pid 5831] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6094] <... chdir resumed>) = 0 [pid 6094] prctl(PR_SET_PDEATHSIG, SIGKILL./strace-static-x86_64: Process 6095 attached [pid 6095] set_robust_list(0x55556439d660, 24 [pid 6094] <... prctl resumed>) = 0 [pid 5831] <... clone resumed>, child_tidptr=0x55556439d650) = 6095 [pid 6094] setpgid(0, 0 [pid 6095] <... set_robust_list resumed>) = 0 [pid 6094] <... setpgid resumed>) = 0 [ 72.046347][ T5830] bcachefs (loop3): shutdown complete [pid 6095] chdir("./7" [pid 6094] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6095] <... chdir resumed>) = 0 [pid 6095] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6094] <... openat resumed>) = 3 [pid 6095] <... prctl resumed>) = 0 [pid 6095] setpgid(0, 0) = 0 [pid 6095] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6094] write(3, "1000", 4 [pid 6095] <... openat resumed>) = 3 [pid 6094] <... write resumed>) = 4 [pid 6094] close(3 [pid 6095] write(3, "1000", 4 [pid 6094] <... close resumed>) = 0 [pid 6095] <... write resumed>) = 4 [pid 6094] symlink("/dev/binderfs", "./binderfs" [pid 6095] close(3 [pid 6094] <... symlink resumed>) = 0 [pid 6095] <... close resumed>) = 0 [pid 6094] write(1, "executing program\n", 18executing program executing program [pid 6095] symlink("/dev/binderfs", "./binderfs" [pid 6094] <... write resumed>) = 18 [pid 6095] <... symlink resumed>) = 0 [pid 6094] memfd_create("syzkaller", 0 [pid 6095] write(1, "executing program\n", 18) = 18 [pid 6095] memfd_create("syzkaller", 0) = 3 [pid 6094] <... memfd_create resumed>) = 3 [pid 6095] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6094] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6095] <... mmap resumed>) = 0x7f3ebac00000 [pid 6094] <... mmap resumed>) = 0x7f3ebac00000 [pid 6092] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6093] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6095] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6094] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6092] <... write resumed>) = 16777216 [pid 6092] munmap(0x7f3ebac00000, 138412032) = 0 [pid 6092] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6092] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6092] close(3) = 0 [pid 6092] close(4) = 0 [pid 6092] mkdir("./file0", 0777) = 0 [ 72.534466][ T6092] loop2: detected capacity change from 0 to 32768 [pid 6092] mount("/dev/loop2", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6093] <... write resumed>) = 16777216 [pid 6093] munmap(0x7f3ebac00000, 138412032) = 0 [pid 6093] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6093] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6093] close(3) = 0 [pid 6093] close(4) = 0 [pid 6093] mkdir("./file0", 0777) = 0 [pid 6093] mount("/dev/loop0", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6094] <... write resumed>) = 16777216 [pid 6094] munmap(0x7f3ebac00000, 138412032) = 0 [pid 6094] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [ 72.661454][ T6093] loop0: detected capacity change from 0 to 32768 [pid 6094] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6094] close(3) = 0 [pid 6094] close(4) = 0 [pid 6094] mkdir("./file0", 0777) = 0 [pid 6094] mount("/dev/loop1", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6095] <... write resumed>) = 16777216 [pid 6095] munmap(0x7f3ebac00000, 138412032) = 0 [pid 6095] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6095] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6095] close(3) = 0 [pid 6095] close(4) = 0 [pid 6095] mkdir("./file0", 0777) = 0 [ 72.719362][ T6094] loop1: detected capacity change from 0 to 32768 [ 72.755977][ T6095] loop4: detected capacity change from 0 to 32768 [ 72.947167][ T6092] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 72.947395][ T6093] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 72.957090][ T6092] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 72.977890][ T6093] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 72.993885][ T6093] bcachefs (loop0): Version upgrade required: [ 72.993885][ T6093] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 72.993885][ T6093] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 72.993885][ T6093] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 73.037784][ T6095] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 73.094264][ T6093] bcachefs (loop0): dropping and reconstructing all alloc info [ 73.114890][ T6095] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 73.124705][ T6094] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 73.160584][ T6094] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 73.169703][ T6093] bcachefs (loop0): accounting_read... done [ 73.179501][ T6093] bcachefs (loop0): alloc_read... done [pid 6095] mount("/dev/loop4", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6092] <... mount resumed>) = -1 EINVAL (Invalid argument) [ 73.217541][ T6093] bcachefs (loop0): stripes_read... done [ 73.244441][ T6092] bcachefs: bch2_fs_get_tree() error: EINVAL [ 73.250609][ T6093] bcachefs (loop0): snapshots_read... done [pid 6092] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 6092] ioctl(3, LOOP_CLR_FD) = 0 [pid 6092] close(3 [pid 6095] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6095] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 6095] ioctl(3, LOOP_CLR_FD) = 0 [ 73.269064][ T6093] bcachefs (loop0): check_allocations... [ 73.269763][ T6095] bcachefs: bch2_fs_get_tree() error: EINVAL [ 73.321777][ T6093] done [pid 6095] close(3 [pid 6094] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6094] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5830] <... umount2 resumed>) = 0 [pid 6094] <... openat resumed>) = 3 [pid 6093] <... mount resumed>) = 0 [pid 6094] ioctl(3, LOOP_CLR_FD [pid 6093] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 6094] <... ioctl resumed>) = 0 [pid 6094] close(3 [pid 6093] <... openat resumed>) = 3 [pid 5830] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 6093] chdir("./file0" [pid 5830] newfstatat(AT_FDCWD, "./3/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 73.344567][ T6094] bcachefs: bch2_fs_get_tree() error: EINVAL [ 73.353934][ T6093] bcachefs (loop0): going read-write [ 73.371921][ T6093] bcachefs (loop0): done starting filesystem [pid 5830] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6093] <... chdir resumed>) = 0 [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6093] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5830] openat(AT_FDCWD, "./3/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5830] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5830] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 6093] <... openat resumed>) = 4 [pid 5830] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5830] close(4 [pid 6093] ioctl(4, LOOP_CLR_FD [pid 5830] <... close resumed>) = 0 [pid 6093] <... ioctl resumed>) = 0 [pid 5830] rmdir("./3/file0" [pid 6093] close(4) = 0 [pid 5830] <... rmdir resumed>) = 0 [pid 6093] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5830] getdents64(3, 0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5830] close(3) = 0 [pid 5830] rmdir("./3") = 0 [pid 5830] mkdir("./4", 0777) = 0 [pid 5830] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5830] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5830] close(3) = 0 [pid 5830] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55556439d650) = 6127 ./strace-static-x86_64: Process 6127 attached [pid 6127] set_robust_list(0x55556439d660, 24 [pid 6093] <... mkdirat resumed>) = 0 [pid 6127] <... set_robust_list resumed>) = 0 [pid 6127] chdir("./4" [pid 6093] exit_group(0 [pid 6127] <... chdir resumed>) = 0 [pid 6127] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6127] setpgid(0, 0) = 0 [pid 6127] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6127] write(3, "1000", 4 [pid 6093] <... exit_group resumed>) = ? [pid 6127] <... write resumed>) = 4 [pid 6127] close(3) = 0 [pid 6127] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6093] +++ exited with 0 +++ executing program [pid 6127] write(1, "executing program\n", 18 [pid 5827] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6093, si_uid=0, si_status=0, si_utime=8 /* 0.08 s */, si_stime=37 /* 0.37 s */} --- [pid 6127] <... write resumed>) = 18 [pid 6127] memfd_create("syzkaller", 0 [pid 5827] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5827] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6127] <... memfd_create resumed>) = 3 [pid 5827] <... openat resumed>) = 3 [pid 6127] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5827] newfstatat(3, "", [pid 6127] <... mmap resumed>) = 0x7f3ebac00000 [pid 5827] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5827] getdents64(3, 0x55556439e6f0 /* 4 entries */, 32768) = 112 [pid 5827] umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5827] newfstatat(AT_FDCWD, "./6/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5827] unlink("./6/binderfs") = 0 [ 73.474658][ T6093] syz-executor215 (6093) used greatest stack depth: 17344 bytes left [pid 5827] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6092] <... close resumed>) = 0 [pid 6095] <... close resumed>) = 0 [pid 6095] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [ 73.546947][ T5827] bcachefs (loop0): shutting down [ 73.552021][ T5827] bcachefs (loop0): going read-only [pid 6095] exit_group(0 [pid 6092] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 6095] <... exit_group resumed>) = ? [pid 6092] <... mkdirat resumed>) = 0 [pid 6095] +++ exited with 0 +++ [pid 6092] exit_group(0 [pid 5831] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6095, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=46 /* 0.46 s */} --- [pid 5831] restart_syscall(<... resuming interrupted clone ...> [pid 6092] <... exit_group resumed>) = ? [pid 6092] +++ exited with 0 +++ [pid 5829] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6092, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=40 /* 0.40 s */} --- [pid 5831] <... restart_syscall resumed>) = 0 [pid 5829] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5831] umount2("./7", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5829] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] <... openat resumed>) = 3 [pid 5829] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] newfstatat(3, "", [pid 5829] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5829] <... openat resumed>) = 3 [pid 5831] getdents64(3, [pid 5829] newfstatat(3, "", [pid 5831] <... getdents64 resumed>0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5829] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] umount2("./7/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5829] getdents64(3, [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5829] <... getdents64 resumed>0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5831] newfstatat(AT_FDCWD, "./7/binderfs", [pid 5829] umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5829] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5829] newfstatat(AT_FDCWD, "./5/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5829] unlink("./5/binderfs") = 0 [pid 5829] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] newfstatat(AT_FDCWD, "./5/file0", [pid 5831] unlink("./7/binderfs" [pid 5829] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5829] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] <... unlink resumed>) = 0 [pid 5829] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5829] openat(AT_FDCWD, "./5/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5829] <... openat resumed>) = 4 [pid 5831] newfstatat(AT_FDCWD, "./7/file0", [pid 5829] newfstatat(4, "", [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5829] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5829] getdents64(4, [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5829] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5831] openat(AT_FDCWD, "./7/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5829] getdents64(4, [pid 5831] <... openat resumed>) = 4 [pid 5829] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5831] newfstatat(4, "", [pid 5829] close(4 [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5831] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5831] close(4 [pid 5829] <... close resumed>) = 0 [pid 5831] <... close resumed>) = 0 [pid 5831] rmdir("./7/file0" [pid 5829] rmdir("./5/file0" [pid 5831] <... rmdir resumed>) = 0 [pid 5829] <... rmdir resumed>) = 0 [pid 5831] umount2("./7/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] newfstatat(AT_FDCWD, "./7/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5829] umount2("./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5829] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] umount2("./7/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5829] newfstatat(AT_FDCWD, "./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] openat(AT_FDCWD, "./7/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5831] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5831] getdents64(4, [pid 5829] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5831] close(4) = 0 [pid 5829] umount2("./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] rmdir("./7/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5829] openat(AT_FDCWD, "./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5831] <... rmdir resumed>) = 0 [pid 5831] getdents64(3, [pid 5829] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5829] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5831] <... getdents64 resumed>0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5831] close(3 [pid 5829] getdents64(4, [pid 5831] <... close resumed>) = 0 [pid 5829] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5829] close(4 [pid 5831] rmdir("./7" [pid 5829] <... close resumed>) = 0 [pid 5831] <... rmdir resumed>) = 0 [ 73.588646][ T5827] bcachefs (loop0): finished waiting for writes to stop [ 73.627109][ T5827] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3340 [pid 5829] rmdir("./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5831] mkdir("./8", 0777 [pid 5829] <... rmdir resumed>) = 0 [pid 5831] <... mkdir resumed>) = 0 [pid 5829] getdents64(3, 0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5829] close(3) = 0 [pid 5829] rmdir("./5" [pid 5831] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5829] <... rmdir resumed>) = 0 [pid 5831] <... openat resumed>) = 3 [pid 5831] ioctl(3, LOOP_CLR_FD [pid 5829] mkdir("./6", 0777 [pid 5831] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5829] <... mkdir resumed>) = 0 [pid 5831] close(3 [pid 5829] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5831] <... close resumed>) = 0 [pid 5829] <... openat resumed>) = 3 [pid 5831] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5829] ioctl(3, LOOP_CLR_FD./strace-static-x86_64: Process 6128 attached ) = -1 ENXIO (No such device or address) [pid 5831] <... clone resumed>, child_tidptr=0x55556439d650) = 6128 [pid 5829] close(3) = 0 [pid 5829] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6129 attached [pid 6128] set_robust_list(0x55556439d660, 24) = 0 [pid 6128] chdir("./8" [pid 5829] <... clone resumed>, child_tidptr=0x55556439d650) = 6129 [pid 6128] <... chdir resumed>) = 0 [pid 6129] set_robust_list(0x55556439d660, 24 [pid 6128] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6129] <... set_robust_list resumed>) = 0 [pid 6128] setpgid(0, 0 [pid 6129] chdir("./6" [pid 6128] <... setpgid resumed>) = 0 [pid 6129] <... chdir resumed>) = 0 [pid 6128] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6129] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6128] <... openat resumed>) = 3 [pid 6129] <... prctl resumed>) = 0 [pid 6129] setpgid(0, 0) = 0 [pid 6128] write(3, "1000", 4 [pid 6129] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6128] <... write resumed>) = 4 [pid 6129] <... openat resumed>) = 3 [pid 6128] close(3) = 0 [pid 6128] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6128] write(1, "executing program\n", 18) = 18 [pid 6128] memfd_create("syzkaller", 0) = 3 [pid 6128] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6129] write(3, "1000", 4 [pid 6128] <... mmap resumed>) = 0x7f3ebac00000 [pid 6129] <... write resumed>) = 4 [pid 6094] <... close resumed>) = 0 [pid 6129] close(3) = 0 [pid 6129] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6129] write(1, "executing program\n", 18) = 18 [pid 6129] memfd_create("syzkaller", 0) = 3 [pid 6129] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [pid 6094] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [ 73.693910][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 73.727644][ T35] bcachefs (loop0): fatal error - emergency read only [pid 6094] exit_group(0) = ? [pid 6094] +++ exited with 0 +++ [pid 5828] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6094, si_uid=0, si_status=0, si_utime=9 /* 0.09 s */, si_stime=37 /* 0.37 s */} --- [pid 5828] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5828] umount2("./7", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5828] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] getdents64(3, 0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5828] umount2("./7/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] newfstatat(AT_FDCWD, "./7/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] unlink("./7/binderfs") = 0 [pid 5828] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] newfstatat(AT_FDCWD, "./7/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] openat(AT_FDCWD, "./7/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5828] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5828] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5828] close(4) = 0 [pid 5828] rmdir("./7/file0") = 0 [pid 5828] umount2("./7/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] newfstatat(AT_FDCWD, "./7/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] umount2("./7/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 73.755341][ T5827] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3342 [ 73.777649][ T5827] bcachefs (loop0): unshutdown complete, journal seq 3342 [pid 5828] openat(AT_FDCWD, "./7/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5828] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5828] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5828] close(4) = 0 [pid 5828] rmdir("./7/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5828] getdents64(3, 0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5828] close(3) = 0 [pid 5828] rmdir("./7") = 0 [pid 5828] mkdir("./8", 0777) = 0 [pid 5828] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5828] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5828] close(3) = 0 [pid 5828] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55556439d650) = 6130 ./strace-static-x86_64: Process 6130 attached [pid 6130] set_robust_list(0x55556439d660, 24) = 0 [pid 6130] chdir("./8") = 0 [pid 6130] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6130] setpgid(0, 0) = 0 [pid 6130] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6130] write(3, "1000", 4) = 4 [pid 6130] close(3) = 0 [pid 6130] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 6130] write(1, "executing program\n", 18) = 18 [pid 6130] memfd_create("syzkaller", 0) = 3 [pid 6130] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [ 73.803603][ T5827] bcachefs (loop0): done going read-only, filesystem not clean [ 73.873640][ T5827] bcachefs (loop0): shutdown complete [pid 6127] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6129] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6128] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6130] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6127] <... write resumed>) = 16777216 [pid 6127] munmap(0x7f3ebac00000, 138412032) = 0 [pid 6127] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6127] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6127] close(3) = 0 [pid 6127] close(4) = 0 [pid 6127] mkdir("./file0", 0777) = 0 [ 74.217202][ T6127] loop3: detected capacity change from 0 to 32768 [pid 6127] mount("/dev/loop3", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6129] <... write resumed>) = 16777216 [pid 6129] munmap(0x7f3ebac00000, 138412032) = 0 [pid 6129] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6129] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6129] close(3) = 0 [pid 6129] close(4) = 0 [pid 6129] mkdir("./file0", 0777) = 0 [ 74.304215][ T6129] loop2: detected capacity change from 0 to 32768 [pid 6129] mount("/dev/loop2", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6130] <... write resumed>) = 16777216 [pid 6130] munmap(0x7f3ebac00000, 138412032) = 0 [pid 6130] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6130] ioctl(4, LOOP_SET_FD, 3 [pid 6128] <... write resumed>) = 16777216 [pid 6128] munmap(0x7f3ebac00000, 138412032 [pid 6130] <... ioctl resumed>) = 0 [pid 6130] close(3) = 0 [pid 6130] close(4) = 0 [pid 6130] mkdir("./file0", 0777) = 0 [pid 6128] <... munmap resumed>) = 0 [pid 6130] mount("/dev/loop1", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6128] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [ 74.422726][ T6130] loop1: detected capacity change from 0 to 32768 [pid 6128] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6128] close(3) = 0 [pid 6128] close(4) = 0 [pid 6128] mkdir("./file0", 0777) = 0 [ 74.463327][ T6128] loop4: detected capacity change from 0 to 32768 [ 74.662473][ T6127] bcachefs (loop3): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 74.680826][ T6128] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 74.692840][ T6128] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 74.712896][ T6127] bcachefs (loop3): recovering from clean shutdown, journal seq 3338 [ 74.721174][ T6127] bcachefs (loop3): Version upgrade required: [ 74.721174][ T6127] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 74.721174][ T6127] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 74.721174][ T6127] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 74.748730][ T6130] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 74.826707][ T6127] bcachefs (loop3): dropping and reconstructing all alloc info [ 74.835456][ T6129] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 74.846776][ T6129] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 74.854570][ T6127] bcachefs (loop3): accounting_read... [ 74.856030][ T6130] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 74.862249][ T6128] bcachefs: bch2_fs_get_tree() error: EINVAL [ 74.870663][ T6127] done [ 74.879152][ T6127] bcachefs (loop3): alloc_read... done [ 74.889063][ T6127] bcachefs (loop3): stripes_read... done [ 74.903196][ T6127] bcachefs (loop3): snapshots_read... done [pid 6128] mount("/dev/loop4", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"...) = -1 EINVAL (Invalid argument) [pid 6128] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 6128] ioctl(3, LOOP_CLR_FD) = 0 [ 74.922066][ T6127] bcachefs (loop3): check_allocations... done [ 75.013134][ T6127] bcachefs (loop3): going read-write [ 75.043925][ T6130] bcachefs: bch2_fs_get_tree() error: EINVAL [ 75.050078][ T6127] bcachefs (loop3): done starting filesystem [pid 6128] close(3 [pid 6130] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6130] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 6130] ioctl(3, LOOP_CLR_FD) = 0 [pid 6130] close(3 [pid 6127] <... mount resumed>) = 0 [pid 6129] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6127] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6127] chdir("./file0") = 0 [pid 6127] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6127] ioctl(4, LOOP_CLR_FD) = 0 [pid 6127] close(4) = 0 [pid 6127] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 6129] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6127] <... mkdirat resumed>) = 0 [pid 6129] <... openat resumed>) = 3 [pid 6129] ioctl(3, LOOP_CLR_FD) = 0 [pid 6129] close(3 [pid 6127] exit_group(0) = ? [pid 6127] +++ exited with 0 +++ [pid 5830] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6127, si_uid=0, si_status=0, si_utime=8 /* 0.08 s */, si_stime=32 /* 0.32 s */} --- [ 75.070292][ T6129] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5830] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5830] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5827] <... umount2 resumed>) = 0 [pid 5830] <... openat resumed>) = 3 [pid 5830] newfstatat(3, "", [pid 5827] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6128] <... close resumed>) = 0 [pid 5830] getdents64(3, [pid 5827] newfstatat(AT_FDCWD, "./6/file0", [pid 5830] <... getdents64 resumed>0x55556439e6f0 /* 4 entries */, 32768) = 112 [pid 5827] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5827] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5830] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5827] openat(AT_FDCWD, "./6/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5830] newfstatat(AT_FDCWD, "./4/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5827] <... openat resumed>) = 4 [pid 5830] unlink("./4/binderfs" [pid 5827] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5827] getdents64(4, [pid 6128] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [pid 5830] <... unlink resumed>) = 0 [pid 5827] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5830] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6128] exit_group(0 [pid 5827] getdents64(4, [pid 6128] <... exit_group resumed>) = ? [pid 5827] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 6128] +++ exited with 0 +++ [pid 5827] close(4) = 0 [pid 5831] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6128, si_uid=0, si_status=0, si_utime=11 /* 0.11 s */, si_stime=40 /* 0.40 s */} --- [pid 5827] rmdir("./6/file0" [pid 5831] restart_syscall(<... resuming interrupted clone ...> [pid 5827] <... rmdir resumed>) = 0 [pid 5831] <... restart_syscall resumed>) = 0 [pid 5827] getdents64(3, 0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5827] close(3) = 0 [pid 5827] rmdir("./6") = 0 [pid 5831] umount2("./8", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5827] mkdir("./7", 0777) = 0 [pid 5827] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5827] ioctl(3, LOOP_CLR_FD [pid 6130] <... close resumed>) = 0 [pid 5831] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5827] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5831] <... openat resumed>) = 3 [pid 5827] close(3 [pid 5831] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5827] <... close resumed>) = 0 [pid 5831] getdents64(3, [pid 5827] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6130] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5831] <... getdents64 resumed>0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 6130] <... mkdirat resumed>) = 0 [pid 5831] umount2("./8/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 6162 attached [pid 6130] exit_group(0 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5827] <... clone resumed>, child_tidptr=0x55556439d650) = 6162 [pid 5831] newfstatat(AT_FDCWD, "./8/binderfs", [pid 6130] <... exit_group resumed>) = ? [pid 5831] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 75.244712][ T5830] bcachefs (loop3): shutting down [ 75.249785][ T5830] bcachefs (loop3): going read-only [ 75.281433][ T5830] bcachefs (loop3): finished waiting for writes to stop [pid 6162] set_robust_list(0x55556439d660, 24 [pid 6130] +++ exited with 0 +++ [pid 5831] unlink("./8/binderfs" [pid 6162] <... set_robust_list resumed>) = 0 [pid 5828] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6130, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=36 /* 0.36 s */} --- [pid 6162] chdir("./7" [pid 6129] <... close resumed>) = 0 [pid 5831] <... unlink resumed>) = 0 [pid 5828] restart_syscall(<... resuming interrupted clone ...> [pid 6129] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5831] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] <... restart_syscall resumed>) = 0 [pid 6129] <... mkdirat resumed>) = 0 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] umount2("./8", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6162] <... chdir resumed>) = 0 [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6162] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5828] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6162] <... prctl resumed>) = 0 [pid 5828] <... openat resumed>) = 3 [pid 6162] setpgid(0, 0 [pid 6129] exit_group(0 [pid 5831] newfstatat(AT_FDCWD, "./8/file0", [pid 5828] newfstatat(3, "", [pid 6162] <... setpgid resumed>) = 0 [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] getdents64(3, [pid 6162] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] <... getdents64 resumed>0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5831] openat(AT_FDCWD, "./8/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5828] umount2("./8/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6162] <... openat resumed>) = 3 [pid 5831] <... openat resumed>) = 4 [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6162] write(3, "1000", 4 [pid 6129] <... exit_group resumed>) = ? [pid 6162] <... write resumed>) = 4 [pid 5828] newfstatat(AT_FDCWD, "./8/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6162] close(3) = 0 [pid 6162] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6162] write(1, "executing program\n", 18) = 18 executing program [pid 6162] memfd_create("syzkaller", 0 [pid 6129] +++ exited with 0 +++ [pid 5828] unlink("./8/binderfs" [pid 5829] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6129, si_uid=0, si_status=0, si_utime=10 /* 0.10 s */, si_stime=38 /* 0.38 s */} --- [pid 5829] restart_syscall(<... resuming interrupted clone ...> [pid 6162] <... memfd_create resumed>) = 3 [pid 5828] <... unlink resumed>) = 0 [pid 6162] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [pid 5828] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] newfstatat(4, "", [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] newfstatat(AT_FDCWD, "./8/file0", [pid 5831] getdents64(4, [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] getdents64(4, [pid 5828] openat(AT_FDCWD, "./8/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5831] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5831] close(4 [pid 5828] <... openat resumed>) = 4 [pid 5828] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] getdents64(4, [pid 5831] <... close resumed>) = 0 [pid 5831] rmdir("./8/file0" [pid 5828] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5828] getdents64(4, [pid 5831] <... rmdir resumed>) = 0 [pid 5828] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5828] close(4 [pid 5831] umount2("./8/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5829] <... restart_syscall resumed>) = 0 [pid 5828] <... close resumed>) = 0 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] rmdir("./8/file0" [pid 5829] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] <... rmdir resumed>) = 0 [pid 5829] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5831] newfstatat(AT_FDCWD, "./8/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5829] <... openat resumed>) = 3 [pid 5828] umount2("./8/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 75.319506][ T5830] bcachefs (loop3): flushing journal and stopping allocators, journal seq 3339 [pid 5829] newfstatat(3, "", [pid 5831] umount2("./8/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5829] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5829] getdents64(3, 0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5829] umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] newfstatat(AT_FDCWD, "./6/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5829] unlink("./6/binderfs") = 0 [pid 5829] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] newfstatat(AT_FDCWD, "./6/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5829] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] openat(AT_FDCWD, "./6/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5829] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5829] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5829] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5829] close(4) = 0 [pid 5829] rmdir("./6/file0") = 0 [pid 5829] umount2("./6/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] newfstatat(AT_FDCWD, "./8/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5831] openat(AT_FDCWD, "./8/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5829] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] <... openat resumed>) = 4 [pid 5831] newfstatat(4, "", [pid 5829] newfstatat(AT_FDCWD, "./6/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] getdents64(4, [pid 5829] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5829] umount2("./6/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] umount2("./8/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] getdents64(4, [pid 5828] openat(AT_FDCWD, "./8/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5831] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5829] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] <... openat resumed>) = 4 [pid 5831] close(4 [pid 5829] openat(AT_FDCWD, "./6/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5831] <... close resumed>) = 0 [pid 5828] newfstatat(4, "", [pid 5831] rmdir("./8/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5829] <... openat resumed>) = 4 [pid 5829] newfstatat(4, "", [pid 5831] <... rmdir resumed>) = 0 [pid 5829] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] getdents64(4, [pid 5831] getdents64(3, [pid 5829] getdents64(4, [pid 5828] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5831] <... getdents64 resumed>0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5828] getdents64(4, [pid 5831] close(3 [pid 5829] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5831] <... close resumed>) = 0 [pid 5829] getdents64(4, [pid 5828] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5831] rmdir("./8" [pid 5828] close(4 [pid 5829] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5829] close(4) = 0 [pid 5829] rmdir("./6/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5831] <... rmdir resumed>) = 0 [pid 5828] <... close resumed>) = 0 [pid 5831] mkdir("./9", 0777 [pid 5828] rmdir("./8/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5829] <... rmdir resumed>) = 0 [pid 5829] getdents64(3, [pid 5828] <... rmdir resumed>) = 0 [pid 5829] <... getdents64 resumed>0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5829] close(3) = 0 [pid 5829] rmdir("./6") = 0 [pid 5829] mkdir("./7", 0777) = 0 [pid 5829] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5831] <... mkdir resumed>) = 0 [pid 5828] getdents64(3, [pid 5829] <... openat resumed>) = 3 [pid 5829] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5829] close(3) = 0 [pid 5829] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5831] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5828] <... getdents64 resumed>0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5831] <... openat resumed>) = 3 [pid 5828] close(3 [pid 5831] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5828] <... close resumed>) = 0 [pid 5831] close(3 [pid 5828] rmdir("./8" [pid 5831] <... close resumed>) = 0 [pid 5829] <... clone resumed>, child_tidptr=0x55556439d650) = 6163 [pid 5831] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5828] <... rmdir resumed>) = 0 ./strace-static-x86_64: Process 6163 attached [pid 5828] mkdir("./9", 0777./strace-static-x86_64: Process 6164 attached [pid 6163] set_robust_list(0x55556439d660, 24 [pid 5831] <... clone resumed>, child_tidptr=0x55556439d650) = 6164 [pid 5828] <... mkdir resumed>) = 0 [pid 6164] set_robust_list(0x55556439d660, 24 [pid 6163] <... set_robust_list resumed>) = 0 [pid 5828] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6164] <... set_robust_list resumed>) = 0 [pid 6164] chdir("./9" [pid 5828] <... openat resumed>) = 3 [pid 6163] chdir("./7" [pid 6164] <... chdir resumed>) = 0 [pid 6163] <... chdir resumed>) = 0 [pid 5828] ioctl(3, LOOP_CLR_FD [pid 6163] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5828] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6163] <... prctl resumed>) = 0 [pid 5828] close(3 [pid 6164] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6163] setpgid(0, 0 [pid 5828] <... close resumed>) = 0 [pid 6163] <... setpgid resumed>) = 0 [pid 5828] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6164] <... prctl resumed>) = 0 [pid 6164] setpgid(0, 0 [pid 6163] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6164] <... setpgid resumed>) = 0 ./strace-static-x86_64: Process 6165 attached [pid 6164] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6163] <... openat resumed>) = 3 [pid 6165] set_robust_list(0x55556439d660, 24 [pid 6163] write(3, "1000", 4 [pid 5828] <... clone resumed>, child_tidptr=0x55556439d650) = 6165 [pid 6164] <... openat resumed>) = 3 [pid 6165] <... set_robust_list resumed>) = 0 [pid 6163] <... write resumed>) = 4 [pid 6164] write(3, "1000", 4 [pid 6163] close(3 [pid 6164] <... write resumed>) = 4 [pid 6165] chdir("./9" [pid 6163] <... close resumed>) = 0 [ 75.370660][ T35] bcachefs (loop3): bch2_write_super(): fatal error loop3: Superblock write was silently dropped! (seq 0 expected 53) [ 75.406408][ T35] bcachefs (loop3): fatal error - emergency read only [pid 6165] <... chdir resumed>) = 0 [pid 6163] symlink("/dev/binderfs", "./binderfs" [pid 6165] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6164] close(3) = 0 [pid 6163] <... symlink resumed>) = 0 [pid 6165] <... prctl resumed>) = 0 [pid 6163] write(1, "executing program\n", 18 [pid 6165] setpgid(0, 0 [pid 6164] symlink("/dev/binderfs", "./binderfs"executing program [pid 6163] <... write resumed>) = 18 [pid 6165] <... setpgid resumed>) = 0 [pid 6165] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6164] <... symlink resumed>) = 0 [pid 6163] memfd_create("syzkaller", 0executing program [pid 6164] write(1, "executing program\n", 18) = 18 [pid 6164] memfd_create("syzkaller", 0) = 3 [pid 6164] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6165] <... openat resumed>) = 3 [pid 6164] <... mmap resumed>) = 0x7f3ebac00000 [pid 6165] write(3, "1000", 4 [pid 6163] <... memfd_create resumed>) = 3 [pid 6165] <... write resumed>) = 4 [pid 6163] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6165] close(3) = 0 [pid 6165] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6165] write(1, "executing program\n", 18 [pid 6163] <... mmap resumed>) = 0x7f3ebac00000 executing program [pid 6165] <... write resumed>) = 18 [ 75.438487][ T5830] bcachefs (loop3): flushing journal and stopping allocators complete, journal seq 3340 [ 75.460630][ T5830] bcachefs (loop3): unshutdown complete, journal seq 3340 [pid 6165] memfd_create("syzkaller", 0) = 3 [pid 6165] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [ 75.492200][ T5830] bcachefs (loop3): done going read-only, filesystem not clean [ 75.553911][ T5830] bcachefs (loop3): shutdown complete [pid 6162] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6164] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6163] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6165] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6162] <... write resumed>) = 16777216 [pid 6162] munmap(0x7f3ebac00000, 138412032) = 0 [pid 6162] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6162] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6162] close(3) = 0 [pid 6162] close(4) = 0 [pid 6162] mkdir("./file0", 0777) = 0 [ 75.970613][ T6162] loop0: detected capacity change from 0 to 32768 [pid 6162] mount("/dev/loop0", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6163] <... write resumed>) = 16777216 [pid 6163] munmap(0x7f3ebac00000, 138412032 [pid 6164] <... write resumed>) = 16777216 [pid 6163] <... munmap resumed>) = 0 [pid 6164] munmap(0x7f3ebac00000, 138412032 [pid 6163] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6163] ioctl(4, LOOP_SET_FD, 3 [pid 6164] <... munmap resumed>) = 0 [pid 6164] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6164] ioctl(4, LOOP_SET_FD, 3 [pid 6163] <... ioctl resumed>) = 0 [pid 6163] close(3) = 0 [pid 6163] close(4) = 0 [pid 6163] mkdir("./file0", 0777) = 0 [pid 6163] mount("/dev/loop2", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6165] <... write resumed>) = 16777216 [pid 6164] <... ioctl resumed>) = 0 [pid 6165] munmap(0x7f3ebac00000, 138412032 [pid 6164] close(3) = 0 [pid 6164] close(4) = 0 [ 76.183265][ T6163] loop2: detected capacity change from 0 to 32768 [ 76.192539][ T6164] loop4: detected capacity change from 0 to 32768 [pid 6164] mkdir("./file0", 0777 [pid 6165] <... munmap resumed>) = 0 [pid 6164] <... mkdir resumed>) = 0 [pid 6164] mount("/dev/loop4", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6165] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6165] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6165] close(3) = 0 [pid 6165] close(4) = 0 [pid 6165] mkdir("./file0", 0777) = 0 [ 76.255586][ T6165] loop1: detected capacity change from 0 to 32768 [ 76.553898][ T6162] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 76.554504][ T6164] bcachefs (loop4): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 76.563180][ T6163] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 76.593981][ T6164] bcachefs (loop4): recovering from clean shutdown, journal seq 3338 [ 76.602262][ T6164] bcachefs (loop4): Version upgrade required: [ 76.602262][ T6164] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 76.602262][ T6164] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 76.602262][ T6164] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 76.660109][ T6163] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 76.674125][ T6165] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 76.694438][ T969] cfg80211: failed to load regulatory.db [pid 6165] mount("/dev/loop1", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 5830] <... umount2 resumed>) = 0 [pid 5830] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] newfstatat(AT_FDCWD, "./4/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5830] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] openat(AT_FDCWD, "./4/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5830] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5830] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5830] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5830] close(4) = 0 [pid 5830] rmdir("./4/file0") = 0 [pid 5830] getdents64(3, 0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5830] close(3) = 0 [pid 5830] rmdir("./4") = 0 [pid 5830] mkdir("./5", 0777) = 0 [pid 5830] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5830] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5830] close(3) = 0 [pid 5830] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6195 attached [ 76.712836][ T6165] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 76.715229][ T6162] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 76.737306][ T6164] bcachefs (loop4): dropping and reconstructing all alloc info , child_tidptr=0x55556439d650) = 6195 [pid 6195] set_robust_list(0x55556439d660, 24) = 0 [pid 6195] chdir("./5") = 0 [pid 6195] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6195] setpgid(0, 0) = 0 [pid 6195] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6195] write(3, "1000", 4) = 4 [pid 6195] close(3) = 0 [pid 6195] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6195] write(1, "executing program\n", 18executing program ) = 18 [pid 6195] memfd_create("syzkaller", 0) = 3 [pid 6195] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6165] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6195] <... mmap resumed>) = 0x7f3ebac00000 [pid 6165] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 6165] ioctl(3, LOOP_CLR_FD) = 0 [ 76.790819][ T6164] bcachefs (loop4): accounting_read... [ 76.831271][ T6165] bcachefs: bch2_fs_get_tree() error: EINVAL [ 76.862533][ T6164] done [ 76.865431][ T6164] bcachefs (loop4): alloc_read... done [ 76.870972][ T6164] bcachefs (loop4): stripes_read... done [ 76.892677][ T6164] bcachefs (loop4): snapshots_read... done [pid 6165] close(3 [pid 6162] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6162] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 6162] ioctl(3, LOOP_CLR_FD) = 0 [ 76.898582][ T6164] bcachefs (loop4): check_allocations... done [ 76.950081][ T6162] bcachefs: bch2_fs_get_tree() error: EINVAL [ 76.954023][ T6164] bcachefs (loop4): going read-write [ 76.962111][ T6163] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6162] close(3 [pid 6163] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6163] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 6163] ioctl(3, LOOP_CLR_FD) = 0 [pid 6163] close(3 [pid 6164] <... mount resumed>) = 0 [pid 6164] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6164] chdir("./file0") = 0 [pid 6164] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [ 76.999717][ T6164] bcachefs (loop4): done starting filesystem [pid 6164] ioctl(4, LOOP_CLR_FD) = 0 [pid 6164] close(4) = 0 [pid 6164] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [pid 6164] exit_group(0) = ? [pid 6164] +++ exited with 0 +++ [pid 5831] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6164, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=32 /* 0.32 s */} --- [pid 5831] umount2("./9", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5831] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] getdents64(3, 0x55556439e6f0 /* 4 entries */, 32768) = 112 [pid 5831] umount2("./9/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] newfstatat(AT_FDCWD, "./9/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] unlink("./9/binderfs") = 0 [pid 5831] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6165] <... close resumed>) = 0 [pid 6165] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [pid 6165] exit_group(0) = ? [pid 6165] +++ exited with 0 +++ [pid 5828] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6165, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=38 /* 0.38 s */} --- [pid 5828] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5828] umount2("./9", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5828] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] getdents64(3, 0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5828] umount2("./9/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] newfstatat(AT_FDCWD, "./9/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] unlink("./9/binderfs") = 0 [pid 5828] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] newfstatat(AT_FDCWD, "./9/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] openat(AT_FDCWD, "./9/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5828] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5828] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5828] close(4) = 0 [pid 5828] rmdir("./9/file0") = 0 [pid 6162] <... close resumed>) = 0 [pid 5828] umount2("./9/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] newfstatat(AT_FDCWD, "./9/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] umount2("./9/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] openat(AT_FDCWD, "./9/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5828] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6162] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5828] getdents64(4, [pid 6162] <... mkdirat resumed>) = 0 [pid 5828] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 6162] exit_group(0 [pid 5828] getdents64(4, [pid 6162] <... exit_group resumed>) = ? [pid 5828] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5828] close(4) = 0 [pid 5828] rmdir("./9/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5828] getdents64(3, 0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5828] close(3) = 0 [pid 5828] rmdir("./9" [pid 6162] +++ exited with 0 +++ [pid 5828] <... rmdir resumed>) = 0 [pid 5827] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6162, si_uid=0, si_status=0, si_utime=8 /* 0.08 s */, si_stime=41 /* 0.41 s */} --- [pid 5827] restart_syscall(<... resuming interrupted clone ...> [pid 5828] mkdir("./10", 0777) = 0 [pid 5828] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5827] <... restart_syscall resumed>) = 0 [pid 5828] <... openat resumed>) = 3 [pid 5828] ioctl(3, LOOP_CLR_FD [pid 5827] umount2("./7", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5828] close(3 [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] <... close resumed>) = 0 [pid 5827] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5828] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5827] <... openat resumed>) = 3 [pid 5827] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 ./strace-static-x86_64: Process 6198 attached [pid 5828] <... clone resumed>, child_tidptr=0x55556439d650) = 6198 [pid 5827] getdents64(3, 0x55556439e6f0 /* 5 entries */, 32768) = 384 [ 77.195826][ T5831] bcachefs (loop4): shutting down [ 77.212817][ T5831] bcachefs (loop4): going read-only [ 77.218062][ T5831] bcachefs (loop4): finished waiting for writes to stop [pid 5827] umount2("./7/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 6198] set_robust_list(0x55556439d660, 24 [pid 5827] newfstatat(AT_FDCWD, "./7/binderfs", [pid 6198] <... set_robust_list resumed>) = 0 [pid 6163] <... close resumed>) = 0 [pid 5827] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6198] chdir("./10" [pid 6163] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5827] unlink("./7/binderfs") = 0 [pid 5827] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5827] newfstatat(AT_FDCWD, "./7/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5827] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 6198] <... chdir resumed>) = 0 [pid 5827] openat(AT_FDCWD, "./7/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6198] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5827] <... openat resumed>) = 4 [pid 6198] <... prctl resumed>) = 0 [pid 5827] newfstatat(4, "", [pid 6198] setpgid(0, 0 [pid 5827] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6198] <... setpgid resumed>) = 0 [pid 5827] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5827] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5827] close(4 [pid 6198] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5827] <... close resumed>) = 0 [pid 6163] <... mkdirat resumed>) = 0 [pid 5827] rmdir("./7/file0") = 0 [pid 6198] <... openat resumed>) = 3 [pid 5827] umount2("./7/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6198] write(3, "1000", 4 [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6198] <... write resumed>) = 4 [pid 5827] newfstatat(AT_FDCWD, "./7/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 6198] close(3 [pid 6163] exit_group(0 [pid 5827] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6198] <... close resumed>) = 0 [pid 6163] <... exit_group resumed>) = ? [pid 5827] umount2("./7/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6198] symlink("/dev/binderfs", "./binderfs" [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6198] <... symlink resumed>) = 0 [ 77.274436][ T5831] bcachefs (loop4): flushing journal and stopping allocators, journal seq 3339 executing program [pid 6198] write(1, "executing program\n", 18 [pid 6163] +++ exited with 0 +++ [pid 6198] <... write resumed>) = 18 [pid 6198] memfd_create("syzkaller", 0) = 3 [pid 6198] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [pid 5827] openat(AT_FDCWD, "./7/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5829] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6163, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=34 /* 0.34 s */} --- [pid 6195] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5827] <... openat resumed>) = 4 [pid 5827] newfstatat(4, "", [pid 5829] umount2("./7", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5827] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5829] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 77.337815][ T52] bcachefs (loop4): bch2_write_super(): fatal error loop4: Superblock write was silently dropped! (seq 0 expected 53) [pid 5827] getdents64(4, [pid 5829] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5827] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5829] <... openat resumed>) = 3 [pid 5827] getdents64(4, [pid 5829] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5827] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5829] getdents64(3, [pid 5827] close(4 [pid 5829] <... getdents64 resumed>0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5827] <... close resumed>) = 0 [pid 5829] umount2("./7/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5827] rmdir("./7/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5829] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5827] <... rmdir resumed>) = 0 [pid 5829] newfstatat(AT_FDCWD, "./7/binderfs", [pid 5827] getdents64(3, [pid 5829] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5829] unlink("./7/binderfs" [pid 5827] <... getdents64 resumed>0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5829] <... unlink resumed>) = 0 [pid 5827] close(3 [pid 5829] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5827] <... close resumed>) = 0 [ 77.383183][ T52] bcachefs (loop4): fatal error - emergency read only [ 77.390903][ T5831] bcachefs (loop4): flushing journal and stopping allocators complete, journal seq 3341 [ 77.413764][ T5831] bcachefs (loop4): unshutdown complete, journal seq 3341 [pid 5829] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5827] rmdir("./7" [pid 5829] newfstatat(AT_FDCWD, "./7/file0", [pid 5827] <... rmdir resumed>) = 0 [pid 5829] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5827] mkdir("./8", 0777 [pid 5829] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5827] <... mkdir resumed>) = 0 [pid 5829] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5827] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5829] openat(AT_FDCWD, "./7/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5827] <... openat resumed>) = 3 [pid 5829] <... openat resumed>) = 4 [pid 5827] ioctl(3, LOOP_CLR_FD [pid 5829] newfstatat(4, "", [pid 5827] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5829] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5827] close(3 [pid 5829] getdents64(4, [pid 5827] <... close resumed>) = 0 [pid 5829] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5827] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5829] getdents64(4, ./strace-static-x86_64: Process 6199 attached 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5829] close(4 [pid 6199] set_robust_list(0x55556439d660, 24 [pid 5827] <... clone resumed>, child_tidptr=0x55556439d650) = 6199 [pid 6199] <... set_robust_list resumed>) = 0 [pid 5829] <... close resumed>) = 0 [pid 5829] rmdir("./7/file0" [pid 6199] chdir("./8") = 0 [pid 5829] <... rmdir resumed>) = 0 [pid 6199] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5829] umount2("./7/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6199] <... prctl resumed>) = 0 [pid 5829] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6199] setpgid(0, 0 [pid 5829] newfstatat(AT_FDCWD, "./7/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 6199] <... setpgid resumed>) = 0 [pid 5829] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 77.433860][ T5831] bcachefs (loop4): done going read-only, filesystem not clean [pid 6199] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5829] umount2("./7/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 6199] <... openat resumed>) = 3 [pid 6199] write(3, "1000", 4 [pid 5829] openat(AT_FDCWD, "./7/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6199] <... write resumed>) = 4 [pid 6199] close(3) = 0 [pid 5829] <... openat resumed>) = 4 [pid 6199] symlink("/dev/binderfs", "./binderfs" [pid 5829] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6199] <... symlink resumed>) = 0 [pid 5829] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 executing program [pid 6199] write(1, "executing program\n", 18 [pid 5829] getdents64(4, [pid 6199] <... write resumed>) = 18 [pid 5829] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 6199] memfd_create("syzkaller", 0 [pid 5829] close(4) = 0 [pid 5829] rmdir("./7/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5829] getdents64(3, 0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5829] close(3) = 0 [pid 5829] rmdir("./7" [pid 6199] <... memfd_create resumed>) = 3 [pid 5829] <... rmdir resumed>) = 0 [pid 5829] mkdir("./8", 0777 [pid 6199] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5829] <... mkdir resumed>) = 0 [pid 6199] <... mmap resumed>) = 0x7f3ebac00000 [pid 5829] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5829] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5829] close(3) = 0 [pid 5829] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6200 attached , child_tidptr=0x55556439d650) = 6200 [pid 6200] set_robust_list(0x55556439d660, 24) = 0 [pid 6200] chdir("./8") = 0 [pid 6200] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6200] setpgid(0, 0) = 0 [pid 6200] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6200] write(3, "1000", 4) = 4 [pid 6200] close(3) = 0 [pid 6200] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6200] write(1, "executing program\n", 18) = 18 [ 77.560384][ T5831] bcachefs (loop4): shutdown complete [pid 6200] memfd_create("syzkaller", 0) = 3 [pid 6200] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [pid 6198] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6195] <... write resumed>) = 16777216 [pid 6195] munmap(0x7f3ebac00000, 138412032) = 0 [pid 6195] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6195] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6195] close(3) = 0 [pid 6195] close(4) = 0 [pid 6195] mkdir("./file0", 0777) = 0 [ 77.814120][ T6195] loop3: detected capacity change from 0 to 32768 [pid 6195] mount("/dev/loop3", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6199] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6200] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6198] <... write resumed>) = 16777216 [pid 6198] munmap(0x7f3ebac00000, 138412032) = 0 [pid 6198] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6198] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6198] close(3) = 0 [pid 6198] close(4 [pid 6199] <... write resumed>) = 16777216 [pid 6198] <... close resumed>) = 0 [pid 6198] mkdir("./file0", 0777) = 0 [pid 6198] mount("/dev/loop1", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6199] munmap(0x7f3ebac00000, 138412032) = 0 [pid 6199] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 78.095830][ T6198] loop1: detected capacity change from 0 to 32768 [pid 6199] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6199] close(3) = 0 [pid 6199] close(4) = 0 [pid 6199] mkdir("./file0", 0777) = 0 [ 78.151328][ T6199] loop0: detected capacity change from 0 to 32768 [pid 6199] mount("/dev/loop0", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6200] <... write resumed>) = 16777216 [pid 6200] munmap(0x7f3ebac00000, 138412032) = 0 [pid 6200] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6200] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6200] close(3) = 0 [pid 6200] close(4) = 0 [pid 6200] mkdir("./file0", 0777) = 0 [ 78.245894][ T6200] loop2: detected capacity change from 0 to 32768 [ 78.480142][ T6198] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 78.480438][ T6199] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 78.489599][ T6198] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 78.511943][ T6195] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 78.532069][ T6195] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 78.551845][ T6200] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 78.577067][ T6200] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 78.596460][ T6199] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 78.628926][ T6199] bcachefs (loop0): Version upgrade required: [ 78.628926][ T6199] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 78.628926][ T6199] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 78.628926][ T6199] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [pid 6200] mount("/dev/loop2", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 5831] <... umount2 resumed>) = 0 [pid 6195] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6195] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 6195] ioctl(3, LOOP_CLR_FD) = 0 [pid 6195] close(3 [pid 6198] <... mount resumed>) = -1 EINVAL (Invalid argument) [ 78.777661][ T6199] bcachefs (loop0): dropping and reconstructing all alloc info [ 78.795385][ T6195] bcachefs: bch2_fs_get_tree() error: EINVAL [ 78.815170][ T6198] bcachefs: bch2_fs_get_tree() error: EINVAL [ 78.821195][ T6200] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5831] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 6198] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5831] newfstatat(AT_FDCWD, "./9/file0", [pid 6198] <... openat resumed>) = 3 [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6198] ioctl(3, LOOP_CLR_FD [pid 5831] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6198] <... ioctl resumed>) = 0 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6198] close(3 [pid 5831] openat(AT_FDCWD, "./9/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5831] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5831] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 6200] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5831] close(4) = 0 [pid 5831] rmdir("./9/file0" [pid 6200] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 6200] ioctl(3, LOOP_CLR_FD) = 0 [pid 6200] close(3 [pid 5831] <... rmdir resumed>) = 0 [pid 5831] getdents64(3, 0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5831] close(3) = 0 [pid 5831] rmdir("./9") = 0 [pid 5831] mkdir("./10", 0777) = 0 [pid 5831] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5831] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5831] close(3) = 0 [pid 5831] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6230 attached [pid 6230] set_robust_list(0x55556439d660, 24 [pid 5831] <... clone resumed>, child_tidptr=0x55556439d650) = 6230 [pid 6230] <... set_robust_list resumed>) = 0 [pid 6230] chdir("./10") = 0 [pid 6230] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6230] setpgid(0, 0) = 0 [pid 6230] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [ 78.977752][ T6199] bcachefs (loop0): accounting_read... done [ 79.005379][ T6199] bcachefs (loop0): alloc_read... done [ 79.022734][ T6199] bcachefs (loop0): stripes_read... done [pid 6230] write(3, "1000", 4) = 4 [pid 6230] close(3) = 0 [pid 6230] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6230] write(1, "executing program\n", 18executing program ) = 18 [pid 6230] memfd_create("syzkaller", 0) = 3 [pid 6230] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [ 79.032949][ T6199] bcachefs (loop0): snapshots_read... done [pid 6195] <... close resumed>) = 0 [pid 6195] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [pid 6200] <... close resumed>) = 0 [pid 6198] <... close resumed>) = 0 [pid 6195] exit_group(0 [pid 6198] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 6195] <... exit_group resumed>) = ? [pid 6200] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 6198] <... mkdirat resumed>) = 0 [pid 6200] <... mkdirat resumed>) = 0 [pid 6200] exit_group(0) = ? [pid 6200] +++ exited with 0 +++ [pid 6198] exit_group(0 [pid 6195] +++ exited with 0 +++ [pid 6198] <... exit_group resumed>) = ? [pid 5829] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6200, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=38 /* 0.38 s */} --- [pid 5830] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6195, si_uid=0, si_status=0, si_utime=8 /* 0.08 s */, si_stime=43 /* 0.43 s */} --- [pid 6198] +++ exited with 0 +++ [pid 5829] restart_syscall(<... resuming interrupted clone ...> [pid 5828] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6198, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=40 /* 0.40 s */} --- [pid 5829] <... restart_syscall resumed>) = 0 [ 79.038875][ T6199] bcachefs (loop0): check_allocations... done [ 79.137112][ T6199] bcachefs (loop0): going read-write [pid 5830] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6199] <... mount resumed>) = 0 [pid 5829] umount2("./8", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5830] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5829] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5829] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5830] <... openat resumed>) = 3 [pid 5829] <... openat resumed>) = 3 [pid 5830] newfstatat(3, "", [pid 5829] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5829] getdents64(3, [pid 5830] getdents64(3, [pid 5829] <... getdents64 resumed>0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5828] umount2("./10", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5830] <... getdents64 resumed>0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5829] umount2("./8/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5830] umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5829] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5829] newfstatat(AT_FDCWD, "./8/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] <... openat resumed>) = 3 [pid 5829] unlink("./8/binderfs" [pid 5830] newfstatat(AT_FDCWD, "./5/binderfs", [pid 5829] <... unlink resumed>) = 0 [pid 5830] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5829] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] newfstatat(3, "", [pid 5830] unlink("./5/binderfs" [pid 5829] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5829] newfstatat(AT_FDCWD, "./8/file0", [pid 5830] <... unlink resumed>) = 0 [pid 5829] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5830] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] getdents64(3, [pid 5829] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] <... getdents64 resumed>0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5829] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5829] openat(AT_FDCWD, "./8/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5828] umount2("./10/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5830] newfstatat(AT_FDCWD, "./5/file0", [pid 5829] <... openat resumed>) = 4 [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5829] newfstatat(4, "", [pid 5828] newfstatat(AT_FDCWD, "./10/binderfs", [pid 5829] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5829] getdents64(4, [pid 5828] unlink("./10/binderfs" [pid 5829] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5828] <... unlink resumed>) = 0 [pid 5829] getdents64(4, [pid 5828] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5829] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5829] close(4 [pid 5828] newfstatat(AT_FDCWD, "./10/file0", [pid 5829] <... close resumed>) = 0 [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5829] rmdir("./8/file0") = 0 [pid 5828] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5829] umount2("./8/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5829] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] openat(AT_FDCWD, "./10/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5829] newfstatat(AT_FDCWD, "./8/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5828] <... openat resumed>) = 4 [pid 5829] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] newfstatat(4, "", [pid 5829] umount2("./8/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6199] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 5828] getdents64(4, [pid 5829] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6199] <... openat resumed>) = 3 [pid 5828] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 6199] chdir("./file0" [pid 5829] openat(AT_FDCWD, "./8/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6199] <... chdir resumed>) = 0 [pid 5830] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] getdents64(4, [pid 6199] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5829] <... openat resumed>) = 4 [pid 5828] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 6199] <... openat resumed>) = 4 [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5829] newfstatat(4, "", [pid 5828] close(4 [pid 6199] ioctl(4, LOOP_CLR_FD [pid 5830] openat(AT_FDCWD, "./5/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5829] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] <... close resumed>) = 0 [pid 6199] <... ioctl resumed>) = 0 [pid 5830] <... openat resumed>) = 4 [pid 5829] getdents64(4, [pid 5828] rmdir("./10/file0" [pid 6199] close(4 [pid 5830] newfstatat(4, "", [pid 5829] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5828] <... rmdir resumed>) = 0 [pid 6199] <... close resumed>) = 0 [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5829] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5830] getdents64(4, [ 79.164168][ T6199] bcachefs (loop0): done starting filesystem [pid 6199] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [pid 5830] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5829] close(4 [pid 5828] umount2("./10/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5830] getdents64(4, [pid 5829] <... close resumed>) = 0 [pid 5830] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5830] close(4 [pid 5829] rmdir("./8/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 6199] exit_group(0 [pid 5830] <... close resumed>) = 0 [pid 5829] <... rmdir resumed>) = 0 [pid 5830] rmdir("./5/file0" [pid 5829] getdents64(3, [pid 5828] newfstatat(AT_FDCWD, "./10/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5830] <... rmdir resumed>) = 0 [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5829] <... getdents64 resumed>0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5830] umount2("./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] umount2("./10/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6199] <... exit_group resumed>) = ? [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5829] close(3 [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6199] +++ exited with 0 +++ [pid 5829] <... close resumed>) = 0 [pid 5828] openat(AT_FDCWD, "./10/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5827] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6199, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=37 /* 0.37 s */} --- [pid 5830] newfstatat(AT_FDCWD, "./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5829] rmdir("./8" [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5829] <... rmdir resumed>) = 0 [pid 5830] umount2("./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] <... openat resumed>) = 4 [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5829] mkdir("./9", 0777 [pid 5828] newfstatat(4, "", [pid 5830] openat(AT_FDCWD, "./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5829] <... mkdir resumed>) = 0 [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5830] <... openat resumed>) = 4 [pid 5829] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5828] getdents64(4, [pid 5827] umount2("./8", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5830] newfstatat(4, "", [pid 5829] <... openat resumed>) = 3 [pid 5828] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5829] ioctl(3, LOOP_CLR_FD [pid 5828] getdents64(4, [pid 5827] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5830] getdents64(4, [pid 5829] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5828] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5827] <... openat resumed>) = 3 [pid 5830] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5829] close(3 [pid 5828] close(4 [pid 5827] newfstatat(3, "", [pid 5830] getdents64(4, [pid 5829] <... close resumed>) = 0 [pid 5828] <... close resumed>) = 0 [pid 5827] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5830] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5829] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5828] rmdir("./10/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5827] getdents64(3, [pid 5830] close(4 [pid 5828] <... rmdir resumed>) = 0 [pid 5830] <... close resumed>) = 0 [pid 5827] <... getdents64 resumed>0x55556439e6f0 /* 4 entries */, 32768) = 112 [pid 5830] rmdir("./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5827] umount2("./8/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5829] <... clone resumed>, child_tidptr=0x55556439d650) = 6233 [pid 5828] getdents64(3, [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) ./strace-static-x86_64: Process 6233 attached [pid 5830] getdents64(3, [pid 5828] <... getdents64 resumed>0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5827] newfstatat(AT_FDCWD, "./8/binderfs", [pid 5830] <... getdents64 resumed>0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5827] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5830] close(3 [pid 5828] close(3 [pid 5827] unlink("./8/binderfs" [pid 5830] <... close resumed>) = 0 [pid 5828] <... close resumed>) = 0 [pid 5827] <... unlink resumed>) = 0 [pid 5828] rmdir("./10" [pid 5830] rmdir("./5") = 0 [pid 5828] <... rmdir resumed>) = 0 [pid 5827] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5830] mkdir("./6", 0777) = 0 [pid 5828] mkdir("./11", 0777) = 0 [pid 6233] set_robust_list(0x55556439d660, 24 [pid 5830] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6233] <... set_robust_list resumed>) = 0 [pid 5830] <... openat resumed>) = 3 [pid 5828] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5830] ioctl(3, LOOP_CLR_FD [pid 6233] chdir("./9" [pid 5828] ioctl(3, LOOP_CLR_FD [pid 6233] <... chdir resumed>) = 0 [pid 5830] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5828] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6233] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6230] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5830] close(3 [pid 5828] close(3 [pid 6233] setpgid(0, 0 [pid 5830] <... close resumed>) = 0 [pid 5828] <... close resumed>) = 0 [pid 6233] <... setpgid resumed>) = 0 [pid 6233] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5830] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5828] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6234 attached [pid 6233] <... openat resumed>) = 3 [pid 5828] <... clone resumed>, child_tidptr=0x55556439d650) = 6234 ./strace-static-x86_64: Process 6235 attached [pid 5830] <... clone resumed>, child_tidptr=0x55556439d650) = 6235 [pid 6235] set_robust_list(0x55556439d660, 24) = 0 [pid 6235] chdir("./6") = 0 [pid 6235] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6235] setpgid(0, 0) = 0 [pid 6235] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6235] write(3, "1000", 4) = 4 [pid 6235] close(3 [ 79.287562][ T5827] bcachefs (loop0): shutting down [ 79.293186][ T5827] bcachefs (loop0): going read-only [ 79.303454][ T5827] bcachefs (loop0): finished waiting for writes to stop [pid 6234] set_robust_list(0x55556439d660, 24 [pid 6235] <... close resumed>) = 0 [pid 6235] symlink("/dev/binderfs", "./binderfs" [pid 6234] <... set_robust_list resumed>) = 0 [pid 6233] write(3, "1000", 4 [pid 6235] <... symlink resumed>) = 0 [pid 6234] chdir("./11" [pid 6233] <... write resumed>) = 4 [pid 6233] close(3 [pid 6234] <... chdir resumed>) = 0 [pid 6233] <... close resumed>) = 0 [pid 6234] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6233] symlink("/dev/binderfs", "./binderfs" [pid 6234] <... prctl resumed>) = 0 executing program [pid 6235] write(1, "executing program\n", 18 [pid 6234] setpgid(0, 0 [pid 6233] <... symlink resumed>) = 0 [pid 6235] <... write resumed>) = 18 [pid 6235] memfd_create("syzkaller", 0 [pid 6234] <... setpgid resumed>) = 0 [pid 6233] write(1, "executing program\n", 18executing program [pid 6235] <... memfd_create resumed>) = 3 [pid 6234] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6233] <... write resumed>) = 18 [pid 6235] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [pid 6233] memfd_create("syzkaller", 0) = 3 [pid 6234] <... openat resumed>) = 3 [pid 6233] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6234] write(3, "1000", 4 [pid 6233] <... mmap resumed>) = 0x7f3ebac00000 [pid 6234] <... write resumed>) = 4 executing program [pid 6234] close(3) = 0 [pid 6234] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6234] write(1, "executing program\n", 18) = 18 [pid 6234] memfd_create("syzkaller", 0) = 3 [pid 6234] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [ 79.335858][ T5827] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3340 [ 79.416641][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 79.473290][ T35] bcachefs (loop0): fatal error - emergency read only [ 79.480425][ T5827] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3342 [ 79.532924][ T5827] bcachefs (loop0): unshutdown complete, journal seq 3342 [ 79.541079][ T5827] bcachefs (loop0): done going read-only, filesystem not clean [pid 6230] <... write resumed>) = 16777216 [pid 6235] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6230] munmap(0x7f3ebac00000, 138412032) = 0 [pid 6230] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [ 79.618763][ T5827] bcachefs (loop0): shutdown complete [pid 6230] ioctl(4, LOOP_SET_FD, 3 [pid 6234] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6233] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6230] <... ioctl resumed>) = 0 [pid 6230] close(3) = 0 [pid 6230] close(4) = 0 [pid 6230] mkdir("./file0", 0777) = 0 [ 79.678823][ T6230] loop4: detected capacity change from 0 to 32768 [pid 6230] mount("/dev/loop4", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6235] <... write resumed>) = 16777216 [pid 6235] munmap(0x7f3ebac00000, 138412032) = 0 [pid 6235] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6235] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6233] <... write resumed>) = 16777216 [pid 6235] close(3) = 0 [pid 6233] munmap(0x7f3ebac00000, 138412032 [pid 6235] close(4) = 0 [pid 6235] mkdir("./file0", 0777) = 0 [pid 6233] <... munmap resumed>) = 0 [pid 6235] mount("/dev/loop3", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [ 79.916783][ T6235] loop3: detected capacity change from 0 to 32768 [pid 6233] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6233] ioctl(4, LOOP_SET_FD, 3 [pid 6234] <... write resumed>) = 16777216 [pid 6234] munmap(0x7f3ebac00000, 138412032 [pid 6233] <... ioctl resumed>) = 0 [pid 6234] <... munmap resumed>) = 0 [pid 6233] close(3) = 0 [pid 6233] close(4 [pid 6234] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6233] <... close resumed>) = 0 [pid 6234] <... openat resumed>) = 4 [pid 6234] ioctl(4, LOOP_SET_FD, 3 [ 79.958420][ T6233] loop2: detected capacity change from 0 to 32768 [pid 6233] mkdir("./file0", 0777) = 0 [pid 6233] mount("/dev/loop2", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6234] <... ioctl resumed>) = 0 [pid 6234] close(3) = 0 [pid 6234] close(4) = 0 [pid 6234] mkdir("./file0", 0777) = 0 [ 80.012023][ T6234] loop1: detected capacity change from 0 to 32768 [ 80.286541][ T6230] bcachefs (loop4): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 80.286937][ T6235] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 80.328736][ T6230] bcachefs (loop4): recovering from clean shutdown, journal seq 3338 [ 80.337101][ T6235] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 80.340128][ T6234] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 80.371095][ T6230] bcachefs (loop4): Version upgrade required: [ 80.371095][ T6230] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 80.371095][ T6230] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 80.371095][ T6230] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 80.447860][ T6234] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [pid 6234] mount("/dev/loop1", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6235] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6235] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [ 80.481058][ T6233] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 80.491849][ T6230] bcachefs (loop4): dropping and reconstructing all alloc info [ 80.510533][ T6235] bcachefs: bch2_fs_get_tree() error: EINVAL [ 80.512709][ T6233] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [pid 6235] ioctl(3, LOOP_CLR_FD) = 0 [pid 6235] close(3 [pid 6234] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6234] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 6234] ioctl(3, LOOP_CLR_FD) = 0 [ 80.520378][ T6230] bcachefs (loop4): accounting_read... done [ 80.564683][ T6230] bcachefs (loop4): alloc_read... done [ 80.565115][ T6234] bcachefs: bch2_fs_get_tree() error: EINVAL [ 80.570219][ T6230] bcachefs (loop4): stripes_read... done [ 80.634383][ T6230] bcachefs (loop4): snapshots_read... done [pid 6234] close(3 [pid 5827] <... umount2 resumed>) = 0 [pid 5827] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5827] newfstatat(AT_FDCWD, "./8/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5827] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5827] openat(AT_FDCWD, "./8/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5827] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5827] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5827] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5827] close(4) = 0 [pid 5827] rmdir("./8/file0") = 0 [pid 5827] getdents64(3, 0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5827] close(3) = 0 [pid 5827] rmdir("./8") = 0 [pid 6230] <... mount resumed>) = 0 [pid 5827] mkdir("./9", 0777 [pid 6230] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6230] chdir("./file0" [pid 5827] <... mkdir resumed>) = 0 [pid 5827] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 6230] <... chdir resumed>) = 0 [pid 5827] ioctl(3, LOOP_CLR_FD [pid 6230] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5827] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5827] close(3) = 0 [pid 5827] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6267 attached , child_tidptr=0x55556439d650) = 6267 [pid 6230] <... openat resumed>) = 4 [ 80.643582][ T6230] bcachefs (loop4): check_allocations... done [ 80.713630][ T6230] bcachefs (loop4): going read-write [ 80.732930][ T6230] bcachefs (loop4): done starting filesystem executing program [pid 6267] set_robust_list(0x55556439d660, 24 [pid 6230] ioctl(4, LOOP_CLR_FD [pid 6267] <... set_robust_list resumed>) = 0 [pid 6267] chdir("./9") = 0 [pid 6267] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6267] setpgid(0, 0) = 0 [pid 6267] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6267] write(3, "1000", 4) = 4 [pid 6267] close(3) = 0 [pid 6267] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6267] write(1, "executing program\n", 18) = 18 [pid 6267] memfd_create("syzkaller", 0) = 3 [pid 6267] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [pid 6230] <... ioctl resumed>) = 0 [pid 6230] close(4) = 0 [pid 6233] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6230] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [pid 6233] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 6233] ioctl(3, LOOP_CLR_FD) = 0 [pid 6233] close(3 [pid 6230] exit_group(0) = ? [pid 6230] +++ exited with 0 +++ [pid 5831] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6230, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=31 /* 0.31 s */} --- [pid 5831] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5831] umount2("./10", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5831] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] getdents64(3, 0x55556439e6f0 /* 4 entries */, 32768) = 112 [pid 5831] umount2("./10/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] newfstatat(AT_FDCWD, "./10/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] unlink("./10/binderfs") = 0 [ 80.784181][ T6233] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5831] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6234] <... close resumed>) = 0 [pid 6234] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [pid 6234] exit_group(0) = ? [pid 6234] +++ exited with 0 +++ [pid 5828] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6234, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=43 /* 0.43 s */} --- [pid 5828] umount2("./11", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5828] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] getdents64(3, [pid 6235] <... close resumed>) = 0 [pid 5828] <... getdents64 resumed>0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5828] umount2("./11/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 6235] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5828] newfstatat(AT_FDCWD, "./11/binderfs", [pid 6235] <... mkdirat resumed>) = 0 [pid 5828] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6235] exit_group(0 [pid 5828] unlink("./11/binderfs" [pid 6235] <... exit_group resumed>) = ? [pid 5828] <... unlink resumed>) = 0 [pid 6235] +++ exited with 0 +++ [pid 5828] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6235, si_uid=0, si_status=0, si_utime=8 /* 0.08 s */, si_stime=40 /* 0.40 s */} --- [pid 5830] restart_syscall(<... resuming interrupted clone ...> [pid 5828] newfstatat(AT_FDCWD, "./11/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] openat(AT_FDCWD, "./11/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5828] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5830] <... restart_syscall resumed>) = 0 [pid 5828] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5828] close(4) = 0 [pid 5828] rmdir("./11/file0") = 0 [pid 5828] umount2("./11/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] newfstatat(AT_FDCWD, "./11/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] umount2("./11/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] openat(AT_FDCWD, "./11/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5828] newfstatat(4, "", [pid 5830] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [ 80.903428][ T5831] bcachefs (loop4): shutting down [ 80.908653][ T5831] bcachefs (loop4): going read-only [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] getdents64(4, [pid 5830] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5828] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5830] <... openat resumed>) = 3 [pid 5828] getdents64(4, [pid 5830] newfstatat(3, "", [pid 5828] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] close(4 [pid 5830] getdents64(3, [pid 5828] <... close resumed>) = 0 [pid 5830] <... getdents64 resumed>0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5828] rmdir("./11/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5830] umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] <... rmdir resumed>) = 0 [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5830] newfstatat(AT_FDCWD, "./6/binderfs", [pid 5828] getdents64(3, [pid 6233] <... close resumed>) = 0 [pid 5830] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] <... getdents64 resumed>0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 6233] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [pid 6233] exit_group(0 [pid 5830] unlink("./6/binderfs" [ 80.966800][ T5831] bcachefs (loop4): finished waiting for writes to stop [ 80.985596][ T5831] bcachefs (loop4): flushing journal and stopping allocators, journal seq 3340 [pid 5828] close(3 [pid 5830] <... unlink resumed>) = 0 [pid 5828] <... close resumed>) = 0 [pid 6233] <... exit_group resumed>) = ? [pid 5830] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 6233] +++ exited with 0 +++ [pid 5829] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6233, si_uid=0, si_status=0, si_utime=11 /* 0.11 s */, si_stime=38 /* 0.38 s */} --- [pid 5829] restart_syscall(<... resuming interrupted clone ...> [pid 5830] newfstatat(AT_FDCWD, "./6/file0", [pid 5828] rmdir("./11" [pid 5829] <... restart_syscall resumed>) = 0 [pid 5829] umount2("./9", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5828] <... rmdir resumed>) = 0 [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5829] <... openat resumed>) = 3 [pid 5829] newfstatat(3, "", [pid 5828] mkdir("./12", 0777 [pid 5829] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5829] getdents64(3, 0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5829] umount2("./9/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] newfstatat(AT_FDCWD, "./9/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5829] unlink("./9/binderfs") = 0 [pid 5829] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] newfstatat(AT_FDCWD, "./9/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5829] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] openat(AT_FDCWD, "./9/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5829] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5829] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5829] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5829] close(4 [pid 5830] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5829] <... close resumed>) = 0 [pid 5828] <... mkdir resumed>) = 0 [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5829] rmdir("./9/file0" [pid 5830] openat(AT_FDCWD, "./6/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5829] <... rmdir resumed>) = 0 [pid 5828] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5830] <... openat resumed>) = 4 [pid 5828] ioctl(3, LOOP_CLR_FD [pid 5829] umount2("./9/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5830] newfstatat(4, "", [pid 5828] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5829] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] close(3 [pid 5830] getdents64(4, [pid 5829] newfstatat(AT_FDCWD, "./9/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5829] umount2("./9/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] openat(AT_FDCWD, "./9/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5829] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5829] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5829] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5829] close(4) = 0 [pid 5829] rmdir("./9/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5829] getdents64(3, 0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5829] close(3) = 0 [pid 5829] rmdir("./9" [pid 5830] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5828] <... close resumed>) = 0 [pid 5828] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5830] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5829] <... rmdir resumed>) = 0 [pid 5829] mkdir("./10", 0777./strace-static-x86_64: Process 6268 attached [pid 5830] close(4 [pid 5829] <... mkdir resumed>) = 0 [pid 5830] <... close resumed>) = 0 [pid 5828] <... clone resumed>, child_tidptr=0x55556439d650) = 6268 [pid 5829] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6268] set_robust_list(0x55556439d660, 24 [pid 5830] rmdir("./6/file0" [pid 5829] <... openat resumed>) = 3 [pid 5829] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5829] close(3) = 0 [pid 5830] <... rmdir resumed>) = 0 [pid 5829] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5830] umount2("./6/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5829] <... clone resumed>, child_tidptr=0x55556439d650) = 6269 ./strace-static-x86_64: Process 6269 attached [pid 6269] set_robust_list(0x55556439d660, 24) = 0 [pid 6269] chdir("./10") = 0 [pid 6269] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [ 81.019067][ T11] bcachefs (loop4): bch2_write_super(): fatal error loop4: Superblock write was silently dropped! (seq 0 expected 53) [ 81.035947][ T11] bcachefs (loop4): fatal error - emergency read only [ 81.058065][ T5831] bcachefs (loop4): flushing journal and stopping allocators complete, journal seq 3342 [pid 6269] setpgid(0, 0 [pid 6268] <... set_robust_list resumed>) = 0 [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5830] newfstatat(AT_FDCWD, "./6/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 6268] chdir("./12" [pid 6269] <... setpgid resumed>) = 0 [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6268] <... chdir resumed>) = 0 [pid 5830] umount2("./6/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOWexecuting program [pid 6269] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6268] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6269] <... openat resumed>) = 3 [pid 6269] write(3, "1000", 4) = 4 [pid 6269] close(3) = 0 [pid 6269] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6269] write(1, "executing program\n", 18 [pid 6268] <... prctl resumed>) = 0 [pid 5830] openat(AT_FDCWD, "./6/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6269] <... write resumed>) = 18 [pid 6269] memfd_create("syzkaller", 0 [pid 6268] setpgid(0, 0 [pid 5830] <... openat resumed>) = 4 [pid 6268] <... setpgid resumed>) = 0 [pid 5830] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6269] <... memfd_create resumed>) = 3 [pid 6268] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5830] getdents64(4, [pid 6269] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [pid 5830] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5830] getdents64(4, [pid 6268] <... openat resumed>) = 3 [pid 5830] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 6268] write(3, "1000", 4 [pid 5830] close(4 [pid 6268] <... write resumed>) = 4 [pid 5830] <... close resumed>) = 0 [pid 6268] close(3 [pid 5830] rmdir("./6/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 6268] <... close resumed>) = 0 [pid 6268] symlink("/dev/binderfs", "./binderfs" [pid 5830] <... rmdir resumed>) = 0 [pid 6268] <... symlink resumed>) = 0 [pid 5830] getdents64(3, [pid 6268] write(1, "executing program\n", 18executing program [pid 5830] <... getdents64 resumed>0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 6268] <... write resumed>) = 18 [pid 6268] memfd_create("syzkaller", 0) = 3 [pid 6268] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [pid 5830] close(3) = 0 [pid 5830] rmdir("./6") = 0 [pid 5830] mkdir("./7", 0777) = 0 [pid 5830] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5830] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5830] close(3) = 0 [pid 5830] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6270 attached [pid 6270] set_robust_list(0x55556439d660, 24 [pid 5830] <... clone resumed>, child_tidptr=0x55556439d650) = 6270 [ 81.079010][ T5831] bcachefs (loop4): unshutdown complete, journal seq 3342 [ 81.089734][ T5831] bcachefs (loop4): done going read-only, filesystem not clean [pid 6270] <... set_robust_list resumed>) = 0 [pid 6270] chdir("./7") = 0 [pid 6270] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6270] setpgid(0, 0) = 0 [pid 6270] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 executing program [pid 6270] write(3, "1000", 4) = 4 [pid 6270] close(3) = 0 [pid 6270] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6270] write(1, "executing program\n", 18) = 18 [pid 6270] memfd_create("syzkaller", 0) = 3 [pid 6270] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [ 81.136228][ T5831] bcachefs (loop4): shutdown complete [pid 6267] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6269] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6270] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6268] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6267] <... write resumed>) = 16777216 [pid 6267] munmap(0x7f3ebac00000, 138412032) = 0 [pid 6267] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6267] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6267] close(3) = 0 [pid 6267] close(4) = 0 [ 81.514306][ T6267] loop0: detected capacity change from 0 to 32768 [pid 6267] mkdir("./file0", 0777) = 0 [pid 6267] mount("/dev/loop0", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6269] <... write resumed>) = 16777216 [pid 6269] munmap(0x7f3ebac00000, 138412032) = 0 [pid 6269] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6269] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6269] close(3) = 0 [pid 6269] close(4) = 0 [pid 6269] mkdir("./file0", 0777) = 0 [pid 6269] mount("/dev/loop2", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6270] <... write resumed>) = 16777216 [pid 6270] munmap(0x7f3ebac00000, 138412032) = 0 [pid 6270] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [ 81.709440][ T6269] loop2: detected capacity change from 0 to 32768 [pid 6270] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6270] close(3) = 0 [pid 6270] close(4) = 0 [pid 6270] mkdir("./file0", 0777) = 0 [pid 6268] <... write resumed>) = 16777216 [pid 6270] mount("/dev/loop3", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6268] munmap(0x7f3ebac00000, 138412032) = 0 [ 81.760162][ T6270] loop3: detected capacity change from 0 to 32768 [pid 6268] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6268] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6268] close(3) = 0 [pid 6268] close(4) = 0 [pid 6268] mkdir("./file0", 0777) = 0 [ 81.827248][ T6268] loop1: detected capacity change from 0 to 32768 [ 82.070358][ T6267] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 82.081827][ T6270] bcachefs (loop3): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 82.102920][ T6269] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 82.112029][ T6269] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 82.112069][ T6267] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 82.133438][ T6270] bcachefs (loop3): recovering from clean shutdown, journal seq 3338 [ 82.141717][ T6270] bcachefs (loop3): Version upgrade required: [ 82.141717][ T6270] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 82.141717][ T6270] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 82.141717][ T6270] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 82.213786][ T6270] bcachefs (loop3): dropping and reconstructing all alloc info [ 82.215132][ T6268] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 82.262723][ T6268] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 82.275571][ T6270] bcachefs (loop3): accounting_read... done [pid 6268] mount("/dev/loop1", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6267] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6267] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 6267] ioctl(3, LOOP_CLR_FD) = 0 [ 82.317083][ T6270] bcachefs (loop3): alloc_read... done [ 82.317430][ T6267] bcachefs: bch2_fs_get_tree() error: EINVAL [ 82.336944][ T6270] bcachefs (loop3): stripes_read... done [ 82.352860][ T6270] bcachefs (loop3): snapshots_read... done [ 82.367661][ T6270] bcachefs (loop3): check_allocations... done [ 82.453233][ T6270] bcachefs (loop3): going read-write [ 82.467789][ T6268] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6267] close(3 [pid 6268] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6268] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 6268] ioctl(3, LOOP_CLR_FD) = 0 [pid 6268] close(3 [pid 6269] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6270] <... mount resumed>) = 0 [pid 6270] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 6269] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6270] <... openat resumed>) = 3 [pid 6270] chdir("./file0") = 0 [pid 6270] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6270] ioctl(4, LOOP_CLR_FD) = 0 [pid 6270] close(4) = 0 [pid 6270] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 6269] <... openat resumed>) = 3 [pid 6269] ioctl(3, LOOP_CLR_FD) = 0 [ 82.495140][ T6270] bcachefs (loop3): done starting filesystem [ 82.504371][ T6269] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6269] close(3 [pid 6270] <... mkdirat resumed>) = 0 [pid 6270] exit_group(0) = ? [pid 6270] +++ exited with 0 +++ [pid 5830] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6270, si_uid=0, si_status=0, si_utime=12 /* 0.12 s */, si_stime=27 /* 0.27 s */} --- [pid 5830] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5830] umount2("./7", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5830] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5830] getdents64(3, 0x55556439e6f0 /* 4 entries */, 32768) = 112 [pid 5830] umount2("./7/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] newfstatat(AT_FDCWD, "./7/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5830] unlink("./7/binderfs") = 0 [pid 5830] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] <... umount2 resumed>) = 0 [pid 5831] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] newfstatat(AT_FDCWD, "./10/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] openat(AT_FDCWD, "./10/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5831] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5831] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5831] close(4) = 0 [pid 5831] rmdir("./10/file0") = 0 [pid 5831] getdents64(3, 0x55556439e6f0 /* 0 entries */, 32768) = 0 [ 82.606500][ T5830] bcachefs (loop3): shutting down [ 82.618455][ T5830] bcachefs (loop3): going read-only [pid 6267] <... close resumed>) = 0 [pid 5831] close(3 [pid 6267] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5831] <... close resumed>) = 0 [pid 5831] rmdir("./10" [pid 6267] <... mkdirat resumed>) = 0 [pid 5831] <... rmdir resumed>) = 0 [pid 5831] mkdir("./11", 0777) = 0 [pid 5831] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6267] exit_group(0) = ? [pid 5831] <... openat resumed>) = 3 [pid 6267] +++ exited with 0 +++ [pid 5831] ioctl(3, LOOP_CLR_FD [pid 5827] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6267, si_uid=0, si_status=0, si_utime=8 /* 0.08 s */, si_stime=39 /* 0.39 s */} --- [pid 5831] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5827] restart_syscall(<... resuming interrupted clone ...> [pid 5831] close(3) = 0 [pid 5831] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6302 attached , child_tidptr=0x55556439d650) = 6302 [pid 5827] <... restart_syscall resumed>) = 0 [pid 5827] umount2("./9", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5827] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6302] set_robust_list(0x55556439d660, 24) = 0 [pid 5827] <... openat resumed>) = 3 [pid 5827] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5827] getdents64(3, 0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5827] umount2("./9/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5827] newfstatat(AT_FDCWD, "./9/binderfs", [pid 6302] chdir("./11" [pid 5827] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6302] <... chdir resumed>) = 0 [pid 6302] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5827] unlink("./9/binderfs" [pid 6302] setpgid(0, 0 [pid 5827] <... unlink resumed>) = 0 [pid 5827] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5827] newfstatat(AT_FDCWD, "./9/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5827] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5827] openat(AT_FDCWD, "./9/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5827] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5827] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5827] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5827] close(4) = 0 [pid 5827] rmdir("./9/file0") = 0 [pid 5827] umount2("./9/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6302] <... setpgid resumed>) = 0 [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6302] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5827] newfstatat(AT_FDCWD, "./9/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5827] umount2("./9/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5827] openat(AT_FDCWD, "./9/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5827] newfstatat(4, "", [pid 6302] <... openat resumed>) = 3 [pid 5827] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5827] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5827] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5827] close(4) = 0 [pid 5827] rmdir("./9/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 6302] write(3, "1000", 4 [pid 5827] <... rmdir resumed>) = 0 [pid 6302] <... write resumed>) = 4 [pid 6302] close(3 [pid 5827] getdents64(3, [pid 6302] <... close resumed>) = 0 [pid 6302] symlink("/dev/binderfs", "./binderfs" [pid 5827] <... getdents64 resumed>0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 6302] <... symlink resumed>) = 0 [pid 5827] close(3executing program [pid 6302] write(1, "executing program\n", 18 [pid 5827] <... close resumed>) = 0 [pid 6302] <... write resumed>) = 18 [pid 5827] rmdir("./9" [pid 6302] memfd_create("syzkaller", 0 [pid 5827] <... rmdir resumed>) = 0 [pid 5827] mkdir("./10", 0777 [pid 6302] <... memfd_create resumed>) = 3 [pid 5827] <... mkdir resumed>) = 0 [pid 6302] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [pid 5827] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5827] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5827] close(3) = 0 [ 82.654847][ T5830] bcachefs (loop3): finished waiting for writes to stop [ 82.694911][ T5830] bcachefs (loop3): flushing journal and stopping allocators, journal seq 3340 [pid 5827] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6303 attached , child_tidptr=0x55556439d650) = 6303 [pid 6303] set_robust_list(0x55556439d660, 24) = 0 [pid 6303] chdir("./10") = 0 [pid 6269] <... close resumed>) = 0 [pid 6303] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6269] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [pid 6269] exit_group(0) = ? [pid 6303] <... prctl resumed>) = 0 [pid 6269] +++ exited with 0 +++ [pid 5829] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6269, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=38 /* 0.38 s */} --- [pid 6303] setpgid(0, 0) = 0 [pid 5829] umount2("./10", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 6303] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5829] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 6303] <... openat resumed>) = 3 [pid 5829] newfstatat(3, "", [pid 6303] write(3, "1000", 4 [pid 5829] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6303] <... write resumed>) = 4 [pid 5829] getdents64(3, [pid 6303] close(3) = 0 [pid 5829] <... getdents64 resumed>0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 6303] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6303] write(1, "executing program\n", 18 [pid 5829] umount2("./10/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6303] <... write resumed>) = 18 [pid 5829] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5829] newfstatat(AT_FDCWD, "./10/binderfs", [pid 6303] memfd_create("syzkaller", 0 [pid 5829] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6303] <... memfd_create resumed>) = 3 [pid 6303] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5829] unlink("./10/binderfs" [pid 6303] <... mmap resumed>) = 0x7f3ebac00000 [pid 5829] <... unlink resumed>) = 0 [pid 5829] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] newfstatat(AT_FDCWD, "./10/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5829] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] openat(AT_FDCWD, "./10/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5829] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5829] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5829] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5829] close(4) = 0 [pid 6268] <... close resumed>) = 0 [pid 5829] rmdir("./10/file0") = 0 [pid 5829] umount2("./10/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6268] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5829] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5829] newfstatat(AT_FDCWD, "./10/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5829] umount2("./10/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] openat(AT_FDCWD, "./10/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 6268] <... mkdirat resumed>) = 0 [pid 6268] exit_group(0 [pid 5829] newfstatat(4, "", [pid 6268] <... exit_group resumed>) = ? [pid 5829] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5829] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5829] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5829] close(4) = 0 [ 82.780902][ T1076] bcachefs (loop3): bch2_write_super(): fatal error loop3: Superblock write was silently dropped! (seq 0 expected 53) [ 82.809997][ T1076] bcachefs (loop3): fatal error - emergency read only [pid 5829] rmdir("./10/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5829] getdents64(3, 0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5829] close(3) = 0 [pid 5829] rmdir("./10") = 0 [pid 5829] mkdir("./11", 0777 [pid 6268] +++ exited with 0 +++ [pid 5829] <... mkdir resumed>) = 0 [pid 5828] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6268, si_uid=0, si_status=0, si_utime=11 /* 0.11 s */, si_stime=32 /* 0.32 s */} --- [pid 5828] umount2("./12", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5828] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5829] <... openat resumed>) = 3 [pid 5828] <... openat resumed>) = 3 [pid 5829] ioctl(3, LOOP_CLR_FD [pid 5828] newfstatat(3, "", [pid 5829] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5829] close(3 [pid 5828] getdents64(3, [pid 5829] <... close resumed>) = 0 [pid 5828] <... getdents64 resumed>0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5829] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5828] umount2("./12/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] newfstatat(AT_FDCWD, "./12/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] unlink("./12/binderfs") = 0 [pid 5828] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] newfstatat(AT_FDCWD, "./12/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] openat(AT_FDCWD, "./12/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5829] <... clone resumed>, child_tidptr=0x55556439d650) = 6304 [pid 5828] <... openat resumed>) = 4 [pid 5828] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5828] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5828] close(4) = 0 [pid 5828] rmdir("./12/file0"./strace-static-x86_64: Process 6304 attached ) = 0 [pid 5828] umount2("./12/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6304] set_robust_list(0x55556439d660, 24 [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] newfstatat(AT_FDCWD, "./12/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] umount2("./12/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] openat(AT_FDCWD, "./12/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5828] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5828] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 6304] <... set_robust_list resumed>) = 0 [pid 5828] close(4) = 0 [pid 5828] rmdir("./12/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5828] getdents64(3, [pid 6304] chdir("./11" [pid 5828] <... getdents64 resumed>0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5828] close(3) = 0 [pid 5828] rmdir("./12") = 0 [pid 6304] <... chdir resumed>) = 0 [ 82.851151][ T5830] bcachefs (loop3): flushing journal and stopping allocators complete, journal seq 3342 [ 82.873029][ T5830] bcachefs (loop3): unshutdown complete, journal seq 3342 [pid 5828] mkdir("./13", 0777 [pid 6304] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5828] <... mkdir resumed>) = 0 [pid 5828] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5828] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5828] close(3) = 0 [pid 5828] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6304] <... prctl resumed>) = 0 [pid 6304] setpgid(0, 0) = 0 [pid 6304] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 ./strace-static-x86_64: Process 6305 attached [pid 6304] write(3, "1000", 4 [pid 5828] <... clone resumed>, child_tidptr=0x55556439d650) = 6305 [pid 6304] <... write resumed>) = 4 [pid 6304] close(3 [pid 6305] set_robust_list(0x55556439d660, 24 [pid 6304] <... close resumed>) = 0 [pid 6305] <... set_robust_list resumed>) = 0 [pid 6304] symlink("/dev/binderfs", "./binderfs" [pid 6305] chdir("./13"executing program ) = 0 [pid 6304] <... symlink resumed>) = 0 [pid 6305] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6304] write(1, "executing program\n", 18) = 18 [pid 6305] <... prctl resumed>) = 0 [pid 6305] setpgid(0, 0) = 0 [pid 6305] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6304] memfd_create("syzkaller", 0 [pid 6305] <... openat resumed>) = 3 [pid 6304] <... memfd_create resumed>) = 3 [pid 6304] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [pid 6305] write(3, "1000", 4) = 4 [pid 6305] close(3) = 0 [pid 6305] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 6305] write(1, "executing program\n", 18) = 18 [pid 6305] memfd_create("syzkaller", 0) = 3 [pid 6305] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [ 82.895012][ T5830] bcachefs (loop3): done going read-only, filesystem not clean [ 82.981046][ T5830] bcachefs (loop3): shutdown complete [pid 6302] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6303] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6305] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6304] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6302] <... write resumed>) = 16777216 [pid 6302] munmap(0x7f3ebac00000, 138412032) = 0 [pid 6302] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6302] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6302] close(3) = 0 [pid 6302] close(4) = 0 [pid 6302] mkdir("./file0", 0777) = 0 [pid 6302] mount("/dev/loop4", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6303] <... write resumed>) = 16777216 [ 83.424723][ T6302] loop4: detected capacity change from 0 to 32768 [pid 6303] munmap(0x7f3ebac00000, 138412032 [pid 6305] <... write resumed>) = 16777216 [pid 6305] munmap(0x7f3ebac00000, 138412032 [pid 6303] <... munmap resumed>) = 0 [pid 6303] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6305] <... munmap resumed>) = 0 [pid 6303] <... openat resumed>) = 4 [pid 6305] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6303] ioctl(4, LOOP_SET_FD, 3 [pid 6305] ioctl(4, LOOP_SET_FD, 3 [pid 6303] <... ioctl resumed>) = 0 [pid 6305] <... ioctl resumed>) = 0 [pid 6303] close(3) = 0 [pid 6303] close(4) = 0 [pid 6303] mkdir("./file0", 0777 [pid 6305] close(3 [pid 6303] <... mkdir resumed>) = 0 [pid 6305] <... close resumed>) = 0 [pid 6305] close(4 [pid 6303] mount("/dev/loop0", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6305] <... close resumed>) = 0 [pid 6305] mkdir("./file0", 0777) = 0 [pid 6305] mount("/dev/loop1", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6304] <... write resumed>) = 16777216 [pid 6304] munmap(0x7f3ebac00000, 138412032) = 0 [pid 6304] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [ 83.521575][ T6303] loop0: detected capacity change from 0 to 32768 [ 83.528493][ T6305] loop1: detected capacity change from 0 to 32768 [pid 6304] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6304] close(3) = 0 [pid 6304] close(4) = 0 [pid 6304] mkdir("./file0", 0777) = 0 [ 83.584680][ T6304] loop2: detected capacity change from 0 to 32768 [ 83.854380][ T6302] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 83.854389][ T6303] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 83.854492][ T6303] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 83.873743][ T6302] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 83.884991][ T6305] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 83.916298][ T6303] bcachefs (loop0): Version upgrade required: [ 83.916298][ T6303] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 83.916298][ T6303] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 83.916298][ T6303] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 83.988042][ T6305] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 83.997441][ T6303] bcachefs (loop0): dropping and reconstructing all alloc info [ 83.998704][ T6304] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 84.034752][ T6304] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 84.053397][ T6303] bcachefs (loop0): accounting_read... done [ 84.078910][ T6303] bcachefs (loop0): alloc_read... done [ 84.092930][ T6303] bcachefs (loop0): stripes_read... done [ 84.098646][ T6303] bcachefs (loop0): snapshots_read... done [pid 6304] mount("/dev/loop2", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6305] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6302] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6305] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 6305] ioctl(3, LOOP_CLR_FD [pid 5830] <... umount2 resumed>) = 0 [pid 6305] <... ioctl resumed>) = 0 [pid 6302] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6305] close(3 [pid 6302] <... openat resumed>) = 3 [ 84.126580][ T6303] bcachefs (loop0): check_allocations... [ 84.129133][ T6305] bcachefs: bch2_fs_get_tree() error: EINVAL [ 84.163845][ T6302] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5830] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6302] ioctl(3, LOOP_CLR_FD [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5830] newfstatat(AT_FDCWD, "./7/file0", [pid 6302] <... ioctl resumed>) = 0 [pid 6302] close(3 [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5830] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] openat(AT_FDCWD, "./7/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5830] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5830] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5830] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5830] close(4) = 0 [ 84.255917][ T6303] done [ 84.261208][ T6303] bcachefs (loop0): going read-write [pid 5830] rmdir("./7/file0") = 0 [pid 5830] getdents64(3, 0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5830] close(3) = 0 [pid 5830] rmdir("./7" [pid 6304] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5830] <... rmdir resumed>) = 0 [pid 5830] mkdir("./8", 0777 [pid 6304] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 6303] <... mount resumed>) = 0 [pid 5830] <... mkdir resumed>) = 0 [pid 6304] ioctl(3, LOOP_CLR_FD) = 0 [pid 5830] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6304] close(3 [pid 5830] <... openat resumed>) = 3 [ 84.299513][ T6304] bcachefs: bch2_fs_get_tree() error: EINVAL [ 84.316660][ T6303] bcachefs (loop0): done starting filesystem [pid 5830] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5830] close(3) = 0 [pid 5830] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6337 attached [pid 6303] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 5830] <... clone resumed>, child_tidptr=0x55556439d650) = 6337 [pid 6337] set_robust_list(0x55556439d660, 24) = 0 [pid 6303] <... openat resumed>) = 3 [pid 6303] chdir("./file0" [pid 6337] chdir("./8" [pid 6303] <... chdir resumed>) = 0 [pid 6337] <... chdir resumed>) = 0 [pid 6303] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6337] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6303] <... openat resumed>) = 4 [pid 6337] <... prctl resumed>) = 0 [pid 6303] ioctl(4, LOOP_CLR_FD [pid 6337] setpgid(0, 0 [pid 6303] <... ioctl resumed>) = 0 [pid 6337] <... setpgid resumed>) = 0 [pid 6303] close(4) = 0 [pid 6337] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6303] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 6337] write(3, "1000", 4) = 4 [pid 6337] close(3 [pid 6303] <... mkdirat resumed>) = 0 [pid 6337] <... close resumed>) = 0 [pid 6337] symlink("/dev/binderfs", "./binderfs" [pid 6303] exit_group(0) = ? [pid 6337] <... symlink resumed>) = 0 [pid 6303] +++ exited with 0 +++ [pid 6337] write(1, "executing program\n", 18 [pid 5827] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6303, si_uid=0, si_status=0, si_utime=9 /* 0.09 s */, si_stime=35 /* 0.35 s */} --- [pid 5827] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5827] umount2("./10", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5827] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 executing program [pid 6337] <... write resumed>) = 18 [pid 5827] newfstatat(3, "", [pid 6337] memfd_create("syzkaller", 0 [pid 5827] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5827] getdents64(3, 0x55556439e6f0 /* 4 entries */, 32768) = 112 [pid 5827] umount2("./10/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5827] newfstatat(AT_FDCWD, "./10/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5827] unlink("./10/binderfs") = 0 [pid 5827] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6337] <... memfd_create resumed>) = 3 [pid 6337] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [pid 6302] <... close resumed>) = 0 [pid 6305] <... close resumed>) = 0 [pid 6305] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 6302] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 6305] <... mkdirat resumed>) = 0 [pid 6302] <... mkdirat resumed>) = 0 [pid 6302] exit_group(0) = ? [pid 6305] exit_group(0 [pid 6302] +++ exited with 0 +++ [pid 6305] <... exit_group resumed>) = ? [pid 5831] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6302, si_uid=0, si_status=0, si_utime=10 /* 0.10 s */, si_stime=40 /* 0.40 s */} --- [pid 5831] restart_syscall(<... resuming interrupted clone ...> [pid 6305] +++ exited with 0 +++ [pid 5831] <... restart_syscall resumed>) = 0 [pid 5828] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6305, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=44 /* 0.44 s */} --- [pid 5828] restart_syscall(<... resuming interrupted clone ...> [pid 5831] umount2("./11", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] <... restart_syscall resumed>) = 0 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5828] umount2("./13", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] getdents64(3, [pid 5828] openat(AT_FDCWD, "./13", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5831] <... getdents64 resumed>0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5828] <... openat resumed>) = 3 [pid 5831] umount2("./11/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] newfstatat(3, "", [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] newfstatat(AT_FDCWD, "./11/binderfs", [pid 5828] getdents64(3, [pid 5831] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 84.437455][ T5827] bcachefs (loop0): shutting down [ 84.442528][ T5827] bcachefs (loop0): going read-only [ 84.463672][ T5827] bcachefs (loop0): finished waiting for writes to stop [pid 5828] <... getdents64 resumed>0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5831] unlink("./11/binderfs" [pid 5828] umount2("./13/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] <... unlink resumed>) = 0 [pid 5828] newfstatat(AT_FDCWD, "./13/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] unlink("./13/binderfs" [pid 6304] <... close resumed>) = 0 [pid 5831] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] <... unlink resumed>) = 0 [pid 5828] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] newfstatat(AT_FDCWD, "./13/file0", [pid 5831] newfstatat(AT_FDCWD, "./11/file0", [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] openat(AT_FDCWD, "./13/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5831] openat(AT_FDCWD, "./11/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5828] <... openat resumed>) = 4 [pid 5831] <... openat resumed>) = 4 [pid 5828] newfstatat(4, "", [pid 5831] newfstatat(4, "", [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] getdents64(4, [pid 5831] getdents64(4, [pid 5828] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5831] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5828] getdents64(4, [pid 5831] getdents64(4, [pid 5828] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5831] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5828] close(4 [pid 5831] close(4 [pid 5828] <... close resumed>) = 0 [pid 5831] <... close resumed>) = 0 [pid 5828] rmdir("./13/file0" [pid 5831] rmdir("./11/file0") = 0 [pid 5828] <... rmdir resumed>) = 0 [pid 6304] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5828] umount2("./13/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] umount2("./11/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] newfstatat(AT_FDCWD, "./13/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 6304] <... mkdirat resumed>) = 0 [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] umount2("./13/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] newfstatat(AT_FDCWD, "./11/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5828] openat(AT_FDCWD, "./13/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] <... openat resumed>) = 4 [pid 6304] exit_group(0 [pid 5831] umount2("./11/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] newfstatat(4, "", [pid 6304] <... exit_group resumed>) = ? [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] getdents64(4, [pid 6304] +++ exited with 0 +++ [pid 5831] openat(AT_FDCWD, "./11/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5828] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5829] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6304, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=40 /* 0.40 s */} --- [pid 5831] <... openat resumed>) = 4 [pid 5831] newfstatat(4, "", [pid 5828] getdents64(4, [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [ 84.511019][ T5827] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [pid 5828] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5831] getdents64(4, [pid 5828] close(4 [pid 5831] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5828] <... close resumed>) = 0 [pid 5831] getdents64(4, [pid 5828] rmdir("./13/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5831] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5831] close(4) = 0 [pid 5831] rmdir("./11/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5828] <... rmdir resumed>) = 0 [pid 5831] getdents64(3, [pid 5828] getdents64(3, [pid 5831] <... getdents64 resumed>0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5831] close(3) = 0 [pid 5831] rmdir("./11" [pid 5828] <... getdents64 resumed>0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5831] <... rmdir resumed>) = 0 [pid 5828] close(3 [pid 5831] mkdir("./12", 0777 [pid 5828] <... close resumed>) = 0 [pid 5831] <... mkdir resumed>) = 0 [pid 5828] rmdir("./13" [pid 5831] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5831] ioctl(3, LOOP_CLR_FD [pid 5828] <... rmdir resumed>) = 0 [pid 5829] umount2("./11", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] mkdir("./14", 0777 [pid 5831] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5831] close(3) = 0 [pid 5829] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] <... mkdir resumed>) = 0 [pid 5829] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5828] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5829] <... openat resumed>) = 3 [pid 5828] ioctl(3, LOOP_CLR_FD [pid 5829] newfstatat(3, "", [pid 5828] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5829] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] close(3 [pid 5831] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5828] <... close resumed>) = 0 [pid 5829] getdents64(3, [pid 5828] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6339 attached ./strace-static-x86_64: Process 6338 attached [pid 5829] <... getdents64 resumed>0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 6339] set_robust_list(0x55556439d660, 24 [pid 5829] umount2("./11/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] <... clone resumed>, child_tidptr=0x55556439d650) = 6339 [pid 5829] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6339] <... set_robust_list resumed>) = 0 [pid 5829] newfstatat(AT_FDCWD, "./11/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6339] chdir("./14" [pid 6338] set_robust_list(0x55556439d660, 24 [pid 5831] <... clone resumed>, child_tidptr=0x55556439d650) = 6338 [pid 5829] unlink("./11/binderfs" [pid 6338] <... set_robust_list resumed>) = 0 [pid 6339] <... chdir resumed>) = 0 [pid 6338] chdir("./12" [pid 5829] <... unlink resumed>) = 0 [pid 6338] <... chdir resumed>) = 0 [pid 5829] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6338] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6339] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6338] <... prctl resumed>) = 0 [pid 5829] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6339] <... prctl resumed>) = 0 [pid 5829] newfstatat(AT_FDCWD, "./11/file0", [pid 6338] setpgid(0, 0 [pid 5829] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6339] setpgid(0, 0 [pid 6338] <... setpgid resumed>) = 0 [pid 5829] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6339] <... setpgid resumed>) = 0 [pid 5829] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6339] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5829] openat(AT_FDCWD, "./11/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6339] <... openat resumed>) = 3 [pid 6338] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5829] <... openat resumed>) = 4 executing program [pid 6339] write(3, "1000", 4 [pid 5829] newfstatat(4, "", [pid 6339] <... write resumed>) = 4 [pid 5829] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6339] close(3 [pid 5829] getdents64(4, [pid 6339] <... close resumed>) = 0 [pid 6339] symlink("/dev/binderfs", "./binderfs" [pid 5829] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 6339] <... symlink resumed>) = 0 [pid 6338] <... openat resumed>) = 3 [pid 5829] getdents64(4, [pid 6339] write(1, "executing program\n", 18 [pid 5829] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 6339] <... write resumed>) = 18 [pid 5829] close(4 [pid 6338] write(3, "1000", 4) = 4 [pid 6339] memfd_create("syzkaller", 0 [pid 5829] <... close resumed>) = 0 [pid 6339] <... memfd_create resumed>) = 3 [pid 6338] close(3 [pid 5829] rmdir("./11/file0" [pid 6339] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5829] <... rmdir resumed>) = 0 [pid 5829] umount2("./11/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] newfstatat(AT_FDCWD, "./11/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 6339] <... mmap resumed>) = 0x7f3ebac00000 [pid 6338] <... close resumed>) = 0 executing program [pid 5829] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6338] symlink("/dev/binderfs", "./binderfs" [pid 5829] umount2("./11/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6338] <... symlink resumed>) = 0 [pid 6338] write(1, "executing program\n", 18 [pid 5829] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6338] <... write resumed>) = 18 [pid 5829] openat(AT_FDCWD, "./11/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6338] memfd_create("syzkaller", 0 [pid 5829] <... openat resumed>) = 4 [pid 6338] <... memfd_create resumed>) = 3 [pid 5829] newfstatat(4, "", [pid 6338] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5829] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6338] <... mmap resumed>) = 0x7f3ebac00000 [ 84.614122][ T5827] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3345 [ 84.652026][ T5827] bcachefs (loop0): unshutdown complete, journal seq 3346 [pid 5829] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5829] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5829] close(4) = 0 [pid 5829] rmdir("./11/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5829] getdents64(3, 0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5829] close(3) = 0 [pid 5829] rmdir("./11") = 0 [pid 5829] mkdir("./12", 0777) = 0 [pid 5829] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5829] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5829] close(3) = 0 [pid 5829] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6340 attached [ 84.673808][ T5827] bcachefs (loop0): done going read-only, filesystem not clean , child_tidptr=0x55556439d650) = 6340 [pid 6340] set_robust_list(0x55556439d660, 24) = 0 executing program [pid 6340] chdir("./12") = 0 [pid 6340] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6340] setpgid(0, 0) = 0 [pid 6340] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6340] write(3, "1000", 4) = 4 [pid 6340] close(3) = 0 [pid 6340] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6340] write(1, "executing program\n", 18) = 18 [pid 6340] memfd_create("syzkaller", 0) = 3 [pid 6340] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [ 84.750462][ T5827] bcachefs (loop0): shutdown complete [pid 6337] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6338] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6340] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6339] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6337] <... write resumed>) = 16777216 [pid 6337] munmap(0x7f3ebac00000, 138412032) = 0 [pid 6337] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6337] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6337] close(3) = 0 [pid 6337] close(4) = 0 [pid 6338] <... write resumed>) = 16777216 [pid 6337] mkdir("./file0", 0777 [pid 6338] munmap(0x7f3ebac00000, 138412032 [pid 6337] <... mkdir resumed>) = 0 [pid 6337] mount("/dev/loop3", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6338] <... munmap resumed>) = 0 [pid 6338] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [ 85.134481][ T6337] loop3: detected capacity change from 0 to 32768 [pid 6338] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6338] close(3) = 0 [pid 6338] close(4) = 0 [pid 6338] mkdir("./file0", 0777) = 0 [ 85.191339][ T6338] loop4: detected capacity change from 0 to 32768 [pid 6338] mount("/dev/loop4", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6340] <... write resumed>) = 16777216 [pid 6340] munmap(0x7f3ebac00000, 138412032) = 0 [pid 6340] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6340] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6340] close(3 [pid 6339] <... write resumed>) = 16777216 [pid 6339] munmap(0x7f3ebac00000, 138412032 [pid 6340] <... close resumed>) = 0 [pid 6340] close(4 [pid 6339] <... munmap resumed>) = 0 [pid 6340] <... close resumed>) = 0 [pid 6340] mkdir("./file0", 0777 [pid 6339] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [ 85.313673][ T6340] loop2: detected capacity change from 0 to 32768 [pid 6339] ioctl(4, LOOP_SET_FD, 3 [pid 6340] <... mkdir resumed>) = 0 [pid 6340] mount("/dev/loop2", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6339] <... ioctl resumed>) = 0 [pid 6339] close(3) = 0 [pid 6339] close(4) = 0 [pid 6339] mkdir("./file0", 0777) = 0 [ 85.354046][ T6339] loop1: detected capacity change from 0 to 32768 [ 85.513769][ T6337] bcachefs (loop3): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 85.534971][ T6337] bcachefs (loop3): recovering from clean shutdown, journal seq 3338 [ 85.543451][ T6337] bcachefs (loop3): Version upgrade required: [ 85.543451][ T6337] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 85.543451][ T6337] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 85.543451][ T6337] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 85.601195][ T6338] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 85.624240][ T6340] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 85.624250][ T6338] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [pid 6339] mount("/dev/loop1", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6338] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6338] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 6338] ioctl(3, LOOP_CLR_FD) = 0 [ 85.672602][ T6340] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 85.672779][ T6339] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 85.693558][ T6339] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 85.702216][ T6338] bcachefs: bch2_fs_get_tree() error: EINVAL [ 85.714770][ T6337] bcachefs (loop3): dropping and reconstructing all alloc info [pid 6338] close(3 [pid 6339] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6339] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 6339] ioctl(3, LOOP_CLR_FD) = 0 [ 85.786510][ T6337] bcachefs (loop3): accounting_read... [ 85.819304][ T6339] bcachefs: bch2_fs_get_tree() error: EINVAL [ 85.836163][ T6337] done [ 85.838969][ T6337] bcachefs (loop3): alloc_read... done [ 85.852725][ T6337] bcachefs (loop3): stripes_read... done [pid 6339] close(3 [pid 5827] <... umount2 resumed>) = 0 [pid 5827] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5827] newfstatat(AT_FDCWD, "./10/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5827] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5827] openat(AT_FDCWD, "./10/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5827] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5827] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5827] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5827] close(4) = 0 [pid 5827] rmdir("./10/file0") = 0 [ 85.903228][ T6337] bcachefs (loop3): snapshots_read... done [ 85.909536][ T6337] bcachefs (loop3): check_allocations... [ 85.938053][ T6340] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5827] getdents64(3, [pid 6338] <... close resumed>) = 0 [pid 5827] <... getdents64 resumed>0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5827] close(3) = 0 [pid 5827] rmdir("./10") = 0 [pid 5827] mkdir("./11", 0777) = 0 [pid 5827] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5827] ioctl(3, LOOP_CLR_FD [pid 6340] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5827] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5827] close(3) = 0 [pid 6338] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [pid 6340] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6338] exit_group(0) = ? [pid 6340] <... openat resumed>) = 3 [ 85.958026][ T6337] done [pid 6340] ioctl(3, LOOP_CLR_FD [pid 5827] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6370 attached [pid 6340] <... ioctl resumed>) = 0 [pid 5827] <... clone resumed>, child_tidptr=0x55556439d650) = 6370 [pid 6370] set_robust_list(0x55556439d660, 24) = 0 [pid 6370] chdir("./11" [pid 6340] close(3 [pid 6338] +++ exited with 0 +++ [pid 6370] <... chdir resumed>) = 0 [pid 6370] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5831] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6338, si_uid=0, si_status=0, si_utime=9 /* 0.09 s */, si_stime=40 /* 0.40 s */} --- [pid 6370] <... prctl resumed>) = 0 [pid 6370] setpgid(0, 0) = 0 [pid 6370] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [ 85.992442][ T6337] bcachefs (loop3): going read-write [pid 6370] write(3, "1000", 4executing program ) = 4 [pid 6370] close(3) = 0 [pid 6370] symlink("/dev/binderfs", "./binderfs" [pid 5831] umount2("./12", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6370] <... symlink resumed>) = 0 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6370] write(1, "executing program\n", 18) = 18 [pid 5831] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 6370] memfd_create("syzkaller", 0) = 3 [pid 5831] newfstatat(3, "", [pid 6370] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6370] <... mmap resumed>) = 0x7f3ebac00000 [pid 5831] getdents64(3, 0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5831] umount2("./12/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 6339] <... close resumed>) = 0 [pid 5831] newfstatat(AT_FDCWD, "./12/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] unlink("./12/binderfs") = 0 [pid 5831] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] newfstatat(AT_FDCWD, "./12/file0", [pid 6339] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 6339] <... mkdirat resumed>) = 0 [pid 5831] openat(AT_FDCWD, "./12/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5831] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] getdents64(4, [pid 6337] <... mount resumed>) = 0 [pid 5831] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5831] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 6339] exit_group(0 [pid 5831] close(4) = 0 [pid 6339] <... exit_group resumed>) = ? [pid 5831] rmdir("./12/file0") = 0 [pid 5831] umount2("./12/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] newfstatat(AT_FDCWD, "./12/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 6337] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6339] +++ exited with 0 +++ [pid 6337] <... openat resumed>) = 3 [pid 5831] umount2("./12/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6339, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=44 /* 0.44 s */} --- [pid 5828] restart_syscall(<... resuming interrupted clone ...> [pid 6337] chdir("./file0" [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6337] <... chdir resumed>) = 0 [pid 5831] openat(AT_FDCWD, "./12/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5828] <... restart_syscall resumed>) = 0 [pid 5831] <... openat resumed>) = 4 [pid 5828] umount2("./14", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] openat(AT_FDCWD, "./14", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5831] newfstatat(4, "", [pid 5828] newfstatat(3, "", [pid 6337] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6337] <... openat resumed>) = 4 [pid 5828] getdents64(3, 0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5828] umount2("./14/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 6337] ioctl(4, LOOP_CLR_FD [ 86.036872][ T6337] bcachefs (loop3): done starting filesystem [pid 5828] newfstatat(AT_FDCWD, "./14/binderfs", [pid 6337] <... ioctl resumed>) = 0 [pid 5831] getdents64(4, [pid 5828] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5828] unlink("./14/binderfs" [pid 5831] getdents64(4, [pid 5828] <... unlink resumed>) = 0 [pid 5831] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5828] umount2("./14/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] close(4 [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] <... close resumed>) = 0 [pid 5828] newfstatat(AT_FDCWD, "./14/file0", [pid 5831] rmdir("./12/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] <... rmdir resumed>) = 0 [pid 5828] umount2("./14/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6337] close(4 [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6337] <... close resumed>) = 0 [pid 5828] openat(AT_FDCWD, "./14/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6337] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5831] getdents64(3, [pid 6337] <... mkdirat resumed>) = 0 [pid 5831] <... getdents64 resumed>0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5828] <... openat resumed>) = 4 [pid 5831] close(3 [pid 5828] newfstatat(4, "", [pid 5831] <... close resumed>) = 0 [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] rmdir("./12" [pid 5828] getdents64(4, [pid 5831] <... rmdir resumed>) = 0 [pid 5828] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5828] getdents64(4, [pid 5831] mkdir("./13", 0777 [pid 5828] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5831] <... mkdir resumed>) = 0 [pid 5828] close(4 [pid 6337] exit_group(0 [pid 5831] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5828] <... close resumed>) = 0 [pid 6337] <... exit_group resumed>) = ? [pid 5831] <... openat resumed>) = 3 [pid 5828] rmdir("./14/file0" [pid 6337] +++ exited with 0 +++ [pid 5831] ioctl(3, LOOP_CLR_FD [pid 5828] <... rmdir resumed>) = 0 [pid 5831] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5830] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6337, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=31 /* 0.31 s */} --- [pid 5828] umount2("./14/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] close(3 [pid 5830] restart_syscall(<... resuming interrupted clone ...> [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] <... close resumed>) = 0 [pid 5828] newfstatat(AT_FDCWD, "./14/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5831] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 ./strace-static-x86_64: Process 6373 attached [pid 5828] umount2("./14/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6373] set_robust_list(0x55556439d660, 24 [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] openat(AT_FDCWD, "./14/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6373] <... set_robust_list resumed>) = 0 [pid 5830] <... restart_syscall resumed>) = 0 [pid 5828] <... openat resumed>) = 4 [pid 6373] chdir("./13" [pid 5831] <... clone resumed>, child_tidptr=0x55556439d650) = 6373 [pid 6373] <... chdir resumed>) = 0 [pid 5828] newfstatat(4, "", [pid 6373] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5830] umount2("./8", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6373] <... prctl resumed>) = 0 [pid 5830] <... openat resumed>) = 3 [pid 5828] getdents64(4, [pid 6373] setpgid(0, 0 [pid 5830] newfstatat(3, "", [pid 5828] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 6373] <... setpgid resumed>) = 0 [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6373] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5828] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5828] close(4 [pid 6373] <... openat resumed>) = 3 [pid 5828] <... close resumed>) = 0 [pid 5828] rmdir("./14/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 6373] write(3, "1000", 4 [pid 5828] <... rmdir resumed>) = 0 [pid 6373] <... write resumed>) = 4 [pid 6373] close(3 [pid 5830] getdents64(3, [pid 5828] getdents64(3, [pid 5830] <... getdents64 resumed>0x55556439e6f0 /* 4 entries */, 32768) = 112 [pid 5830] umount2("./8/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] <... getdents64 resumed>0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 6373] <... close resumed>) = 0 [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] close(3 [pid 5830] newfstatat(AT_FDCWD, "./8/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] <... close resumed>) = 0 [pid 5830] unlink("./8/binderfs" [pid 6373] symlink("/dev/binderfs", "./binderfs" [pid 5828] rmdir("./14" [pid 6373] <... symlink resumed>) = 0 [pid 5830] <... unlink resumed>) = 0 [pid 5828] <... rmdir resumed>) = 0 [pid 5830] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW executing program [pid 6373] write(1, "executing program\n", 18 [pid 5828] mkdir("./15", 0777 [pid 6373] <... write resumed>) = 18 [pid 5828] <... mkdir resumed>) = 0 [pid 6373] memfd_create("syzkaller", 0 [pid 5828] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5828] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5828] close(3 [pid 6373] <... memfd_create resumed>) = 3 [pid 6373] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [pid 5828] <... close resumed>) = 0 [pid 5828] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55556439d650) = 6374 ./strace-static-x86_64: Process 6374 attached [ 86.148571][ T5830] bcachefs (loop3): shutting down [pid 6374] set_robust_list(0x55556439d660, 24) = 0 [pid 6374] chdir("./15") = 0 [pid 6374] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6374] setpgid(0, 0) = 0 [pid 6374] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6374] write(3, "1000", 4) = 4 [pid 6374] close(3) = 0 [pid 6374] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6374] write(1, "executing program\n", 18executing program [ 86.176222][ T5830] bcachefs (loop3): going read-only [ 86.181590][ T5830] bcachefs (loop3): finished waiting for writes to stop ) = 18 [pid 6374] memfd_create("syzkaller", 0) = 3 [pid 6374] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [ 86.237283][ T5830] bcachefs (loop3): flushing journal and stopping allocators, journal seq 3340 [pid 6340] <... close resumed>) = 0 [pid 6340] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [pid 6340] exit_group(0) = ? [pid 6340] +++ exited with 0 +++ [pid 5829] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6340, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=41 /* 0.41 s */} --- [pid 5829] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5829] umount2("./12", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5829] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5829] getdents64(3, 0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5829] umount2("./12/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] newfstatat(AT_FDCWD, "./12/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5829] unlink("./12/binderfs") = 0 [pid 5829] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] newfstatat(AT_FDCWD, "./12/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5829] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] openat(AT_FDCWD, "./12/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5829] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5829] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5829] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5829] close(4) = 0 [pid 5829] rmdir("./12/file0") = 0 [pid 5829] umount2("./12/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] newfstatat(AT_FDCWD, "./12/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5829] umount2("./12/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] openat(AT_FDCWD, "./12/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5829] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5829] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5829] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5829] close(4) = 0 [pid 5829] rmdir("./12/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5829] getdents64(3, 0x55556439e6f0 /* 0 entries */, 32768) = 0 [ 86.324536][ T1076] bcachefs (loop3): bch2_write_super(): fatal error loop3: Superblock write was silently dropped! (seq 0 expected 53) [ 86.363106][ T1076] bcachefs (loop3): fatal error - emergency read only [pid 5829] close(3) = 0 [pid 5829] rmdir("./12") = 0 [pid 5829] mkdir("./13", 0777) = 0 [pid 5829] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5829] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5829] close(3) = 0 [pid 5829] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6375 attached , child_tidptr=0x55556439d650) = 6375 [pid 6375] set_robust_list(0x55556439d660, 24) = 0 [pid 6375] chdir("./13") = 0 [pid 6375] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6375] setpgid(0, 0) = 0 [pid 6375] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6375] write(3, "1000", 4) = 4 [pid 6375] close(3) = 0 [pid 6375] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6375] write(1, "executing program\n", 18) = 18 [pid 6375] memfd_create("syzkaller", 0) = 3 [ 86.380681][ T5830] bcachefs (loop3): flushing journal and stopping allocators complete, journal seq 3342 [ 86.413230][ T5830] bcachefs (loop3): unshutdown complete, journal seq 3342 [ 86.421448][ T5830] bcachefs (loop3): done going read-only, filesystem not clean [pid 6375] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [pid 6373] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [ 86.494931][ T5830] bcachefs (loop3): shutdown complete [pid 6370] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6374] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6373] <... write resumed>) = 16777216 [pid 6375] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6373] munmap(0x7f3ebac00000, 138412032) = 0 [pid 6373] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6373] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6373] close(3) = 0 [pid 6373] close(4) = 0 [pid 6373] mkdir("./file0", 0777) = 0 [pid 6373] mount("/dev/loop4", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6370] <... write resumed>) = 16777216 [ 86.817139][ T6373] loop4: detected capacity change from 0 to 32768 [pid 6370] munmap(0x7f3ebac00000, 138412032) = 0 [pid 6374] <... write resumed>) = 16777216 [pid 6374] munmap(0x7f3ebac00000, 138412032 [pid 6370] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6374] <... munmap resumed>) = 0 [pid 6370] <... openat resumed>) = 4 [pid 6374] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6370] ioctl(4, LOOP_SET_FD, 3 [pid 6374] <... openat resumed>) = 4 [pid 6374] ioctl(4, LOOP_SET_FD, 3 [pid 6370] <... ioctl resumed>) = 0 [pid 6374] <... ioctl resumed>) = 0 [pid 6370] close(3 [pid 6374] close(3 [pid 6370] <... close resumed>) = 0 [pid 6370] close(4) = 0 [pid 6370] mkdir("./file0", 0777) = 0 [pid 6374] <... close resumed>) = 0 [pid 6374] close(4) = 0 [pid 6374] mkdir("./file0", 0777) = 0 [pid 6374] mount("/dev/loop1", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6370] mount("/dev/loop0", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6375] <... write resumed>) = 16777216 [ 86.916874][ T6370] loop0: detected capacity change from 0 to 32768 [ 86.924259][ T6374] loop1: detected capacity change from 0 to 32768 [pid 6375] munmap(0x7f3ebac00000, 138412032) = 0 [pid 6375] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6375] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6375] close(3) = 0 [pid 6375] close(4) = 0 [pid 6375] mkdir("./file0", 0777) = 0 [ 86.997882][ T6375] loop2: detected capacity change from 0 to 32768 [ 87.227671][ T6374] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 87.227959][ T6373] bcachefs (loop4): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 87.252743][ T6374] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 87.262409][ T6375] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 87.297624][ T6370] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 87.312972][ T6370] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 87.324941][ T6375] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 87.334123][ T6373] bcachefs (loop4): recovering from clean shutdown, journal seq 3338 [ 87.361214][ T6374] bcachefs: bch2_fs_get_tree() error: EINVAL [ 87.376384][ T6373] bcachefs (loop4): Version upgrade required: [ 87.376384][ T6373] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 87.376384][ T6373] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [pid 6375] mount("/dev/loop2", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6374] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6374] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 6374] ioctl(3, LOOP_CLR_FD) = 0 [ 87.376384][ T6373] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [pid 6374] close(3 [pid 6370] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6370] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 6374] <... close resumed>) = 0 [pid 6370] ioctl(3, LOOP_CLR_FD [pid 6374] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 6370] <... ioctl resumed>) = 0 [pid 6370] close(3 [pid 6374] <... mkdirat resumed>) = 0 [ 87.553929][ T6370] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6374] exit_group(0) = ? [pid 6374] +++ exited with 0 +++ [pid 5828] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6374, si_uid=0, si_status=0, si_utime=13 /* 0.13 s */, si_stime=39 /* 0.39 s */} --- [pid 5828] umount2("./15", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] openat(AT_FDCWD, "./15", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5828] newfstatat(3, "", [pid 5830] <... umount2 resumed>) = 0 [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] getdents64(3, 0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5830] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] umount2("./15/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5830] newfstatat(AT_FDCWD, "./8/file0", [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] newfstatat(AT_FDCWD, "./15/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] unlink("./15/binderfs") = 0 [pid 5828] umount2("./15/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 87.595018][ T6373] bcachefs (loop4): dropping and reconstructing all alloc info [ 87.598682][ T6375] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5828] newfstatat(AT_FDCWD, "./15/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6375] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6375] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5828] umount2("./15/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6375] <... openat resumed>) = 3 [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6375] ioctl(3, LOOP_CLR_FD) = 0 [pid 6375] close(3 [pid 5830] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] openat(AT_FDCWD, "./15/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5830] openat(AT_FDCWD, "./8/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5828] <... openat resumed>) = 4 [pid 5828] newfstatat(4, "", [pid 5830] <... openat resumed>) = 4 [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5828] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5828] close(4) = 0 [pid 5828] rmdir("./15/file0" [pid 5830] newfstatat(4, "", [pid 5828] <... rmdir resumed>) = 0 [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] umount2("./15/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5830] getdents64(4, [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5830] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5828] newfstatat(AT_FDCWD, "./15/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5830] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5828] umount2("./15/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5830] close(4 [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5830] <... close resumed>) = 0 [pid 5828] openat(AT_FDCWD, "./15/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5830] rmdir("./8/file0" [pid 5828] <... openat resumed>) = 4 [pid 5830] <... rmdir resumed>) = 0 [pid 5828] newfstatat(4, "", [pid 5830] getdents64(3, 0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5830] close(3 [pid 5828] getdents64(4, [pid 5830] <... close resumed>) = 0 [pid 5830] rmdir("./8" [pid 5828] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5830] <... rmdir resumed>) = 0 [pid 5830] mkdir("./9", 0777 [pid 5828] getdents64(4, [pid 5830] <... mkdir resumed>) = 0 [pid 5830] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5828] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [ 87.636383][ T6373] bcachefs (loop4): accounting_read... done [ 87.643035][ T6373] bcachefs (loop4): alloc_read... done [ 87.648583][ T6373] bcachefs (loop4): stripes_read... done [ 87.663154][ T6373] bcachefs (loop4): snapshots_read... done [pid 5830] <... openat resumed>) = 3 [pid 5828] close(4 [pid 5830] ioctl(3, LOOP_CLR_FD [pid 5828] <... close resumed>) = 0 [pid 5830] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5828] rmdir("./15/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5830] close(3) = 0 [pid 5828] <... rmdir resumed>) = 0 [pid 5830] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6405 attached [pid 5828] getdents64(3, [pid 5830] <... clone resumed>, child_tidptr=0x55556439d650) = 6405 [pid 6405] set_robust_list(0x55556439d660, 24 [pid 5828] <... getdents64 resumed>0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 6405] <... set_robust_list resumed>) = 0 [pid 6405] chdir("./9" [pid 5828] close(3 [pid 6405] <... chdir resumed>) = 0 [pid 5828] <... close resumed>) = 0 [pid 6405] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5828] rmdir("./15" [pid 6405] <... prctl resumed>) = 0 [pid 6405] setpgid(0, 0 [pid 5828] <... rmdir resumed>) = 0 [pid 6405] <... setpgid resumed>) = 0 [pid 5828] mkdir("./16", 0777 [pid 6405] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5828] <... mkdir resumed>) = 0 [pid 6405] <... openat resumed>) = 3 [pid 5828] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6405] write(3, "1000", 4 [pid 5828] <... openat resumed>) = 3 [pid 5828] ioctl(3, LOOP_CLR_FD [pid 6405] <... write resumed>) = 4 [pid 6370] <... close resumed>) = 0 [pid 5828] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6405] close(3) = 0 [pid 6405] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5828] close(3 [pid 6405] write(1, "executing program\n", 18 [pid 5828] <... close resumed>) = 0 executing program [pid 6405] <... write resumed>) = 18 [pid 5828] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6405] memfd_create("syzkaller", 0./strace-static-x86_64: Process 6408 attached ) = 3 [pid 5828] <... clone resumed>, child_tidptr=0x55556439d650) = 6408 [ 87.682348][ T6373] bcachefs (loop4): check_allocations... done [ 87.763644][ T6373] bcachefs (loop4): going read-write [pid 6405] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6408] set_robust_list(0x55556439d660, 24 [pid 6405] <... mmap resumed>) = 0x7f3ebac00000 [pid 6408] <... set_robust_list resumed>) = 0 [pid 6408] chdir("./16") = 0 [pid 6408] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6370] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 6408] <... prctl resumed>) = 0 [pid 6373] <... mount resumed>) = 0 [pid 6408] setpgid(0, 0 [pid 6370] <... mkdirat resumed>) = 0 [pid 6370] exit_group(0) = ? [pid 6370] +++ exited with 0 +++ [pid 6373] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6373] chdir("./file0") = 0 [pid 6373] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6373] ioctl(4, LOOP_CLR_FD) = 0 [pid 6373] close(4) = 0 [pid 6408] <... setpgid resumed>) = 0 [pid 5827] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6370, si_uid=0, si_status=0, si_utime=9 /* 0.09 s */, si_stime=36 /* 0.36 s */} --- [pid 6373] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 6408] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6373] <... mkdirat resumed>) = 0 [pid 5827] restart_syscall(<... resuming interrupted clone ...> [pid 6408] <... openat resumed>) = 3 [pid 5827] <... restart_syscall resumed>) = 0 [pid 6408] write(3, "1000", 4) = 4 [pid 5827] umount2("./11", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6408] close(3 [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6408] <... close resumed>) = 0 [pid 5827] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6408] symlink("/dev/binderfs", "./binderfs" [pid 5827] <... openat resumed>) = 3 executing program [pid 6408] <... symlink resumed>) = 0 [pid 6373] exit_group(0 [pid 5827] newfstatat(3, "", [pid 6408] write(1, "executing program\n", 18) = 18 [pid 6373] <... exit_group resumed>) = ? [pid 5827] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [ 87.793757][ T6373] bcachefs (loop4): done starting filesystem [pid 6408] memfd_create("syzkaller", 0 [pid 6373] +++ exited with 0 +++ [pid 5827] getdents64(3, [pid 6408] <... memfd_create resumed>) = 3 [pid 5831] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6373, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=36 /* 0.36 s */} --- [pid 6408] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5827] <... getdents64 resumed>0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 6408] <... mmap resumed>) = 0x7f3ebac00000 [pid 5827] umount2("./11/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] umount2("./13", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5827] newfstatat(AT_FDCWD, "./11/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5827] unlink("./11/binderfs") = 0 [pid 5827] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] openat(AT_FDCWD, "./13", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5827] newfstatat(AT_FDCWD, "./11/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] <... openat resumed>) = 3 [pid 5827] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5827] openat(AT_FDCWD, "./11/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5827] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5827] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5827] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5827] close(4) = 0 [pid 5827] rmdir("./11/file0") = 0 [pid 5827] umount2("./11/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5827] newfstatat(AT_FDCWD, "./11/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] getdents64(3, 0x55556439e6f0 /* 4 entries */, 32768) = 112 [pid 5827] umount2("./11/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] umount2("./13/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5827] openat(AT_FDCWD, "./11/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5831] newfstatat(AT_FDCWD, "./13/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5827] newfstatat(4, "", [pid 5831] unlink("./13/binderfs" [pid 5827] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] <... unlink resumed>) = 0 [pid 5827] getdents64(4, [pid 5831] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5827] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5827] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5827] close(4 [pid 6375] <... close resumed>) = 0 [pid 5827] <... close resumed>) = 0 [pid 6375] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [pid 5827] rmdir("./11/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 6375] exit_group(0) = ? [pid 6375] +++ exited with 0 +++ [pid 5827] <... rmdir resumed>) = 0 [pid 5829] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6375, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=42 /* 0.42 s */} --- [pid 5829] restart_syscall(<... resuming interrupted clone ...> [pid 5827] getdents64(3, 0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5829] <... restart_syscall resumed>) = 0 [pid 5829] umount2("./13", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] openat(AT_FDCWD, "./13", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5829] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5829] getdents64(3, 0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5829] umount2("./13/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] newfstatat(AT_FDCWD, "./13/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5829] unlink("./13/binderfs") = 0 [pid 5829] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] newfstatat(AT_FDCWD, "./13/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5829] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] openat(AT_FDCWD, "./13/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5829] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5829] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5829] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5829] close(4) = 0 [pid 5829] rmdir("./13/file0") = 0 [pid 5829] umount2("./13/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] newfstatat(AT_FDCWD, "./13/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5827] close(3 [pid 5829] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5827] <... close resumed>) = 0 [pid 5829] umount2("./13/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] openat(AT_FDCWD, "./13/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5829] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5829] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5829] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5829] close(4) = 0 [pid 5829] rmdir("./13/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5829] getdents64(3, [pid 5827] rmdir("./11" [pid 5829] <... getdents64 resumed>0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5829] close(3) = 0 [pid 5827] <... rmdir resumed>) = 0 [pid 5827] mkdir("./12", 0777 [pid 5829] rmdir("./13" [pid 5827] <... mkdir resumed>) = 0 [pid 5829] <... rmdir resumed>) = 0 [pid 5827] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5829] mkdir("./14", 0777 [pid 5827] ioctl(3, LOOP_CLR_FD [pid 5829] <... mkdir resumed>) = 0 [pid 5827] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5827] close(3) = 0 [pid 5827] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6409 attached [pid 5829] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5827] <... clone resumed>, child_tidptr=0x55556439d650) = 6409 [pid 5829] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5829] close(3 [pid 6409] set_robust_list(0x55556439d660, 24 [pid 5829] <... close resumed>) = 0 [pid 5829] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55556439d650) = 6410 ./strace-static-x86_64: Process 6410 attached [pid 6410] set_robust_list(0x55556439d660, 24) = 0 [ 87.937140][ T5831] bcachefs (loop4): shutting down [ 87.946090][ T5831] bcachefs (loop4): going read-only [ 87.951335][ T5831] bcachefs (loop4): finished waiting for writes to stop [pid 6410] chdir("./14" [pid 6409] <... set_robust_list resumed>) = 0 [pid 6409] chdir("./12") = 0 [pid 6409] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6410] <... chdir resumed>) = 0 [pid 6409] <... prctl resumed>) = 0 [pid 6410] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6409] setpgid(0, 0 [pid 6410] <... prctl resumed>) = 0 [pid 6409] <... setpgid resumed>) = 0 [pid 6410] setpgid(0, 0 [pid 6409] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6410] <... setpgid resumed>) = 0 [pid 6409] <... openat resumed>) = 3 [pid 6410] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6409] write(3, "1000", 4) = 4 [pid 6409] close(3 [pid 6410] <... openat resumed>) = 3 [pid 6409] <... close resumed>) = 0 executing program [pid 6409] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6410] write(3, "1000", 4 [pid 6409] write(1, "executing program\n", 18) = 18 [pid 6410] <... write resumed>) = 4 [pid 6409] memfd_create("syzkaller", 0 [pid 6410] close(3) = 0 [pid 6410] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 6409] <... memfd_create resumed>) = 3 [pid 6410] write(1, "executing program\n", 18 [pid 6409] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6410] <... write resumed>) = 18 [pid 6409] <... mmap resumed>) = 0x7f3ebac00000 [pid 6410] memfd_create("syzkaller", 0) = 3 [pid 6410] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [ 88.036645][ T5831] bcachefs (loop4): flushing journal and stopping allocators, journal seq 3340 [pid 6405] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [ 88.126832][ T11] bcachefs (loop4): bch2_write_super(): fatal error loop4: Superblock write was silently dropped! (seq 0 expected 53) [ 88.166863][ T11] bcachefs (loop4): fatal error - emergency read only [ 88.193264][ T5831] bcachefs (loop4): flushing journal and stopping allocators complete, journal seq 3342 [ 88.243308][ T5831] bcachefs (loop4): unshutdown complete, journal seq 3342 [ 88.283611][ T5831] bcachefs (loop4): done going read-only, filesystem not clean [pid 6408] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6408] munmap(0x7f3ebac00000, 138412032) = 0 [pid 6409] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6408] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6410] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6408] <... openat resumed>) = 4 [ 88.350060][ T5831] bcachefs (loop4): shutdown complete [pid 6408] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6408] close(3) = 0 [pid 6408] close(4) = 0 [pid 6408] mkdir("./file0", 0777) = 0 [ 88.423964][ T6408] loop1: detected capacity change from 0 to 32768 [pid 6408] mount("/dev/loop1", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6405] <... write resumed>) = 16777216 [pid 6405] munmap(0x7f3ebac00000, 138412032) = 0 [pid 6405] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6405] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6405] close(3) = 0 [pid 6405] close(4) = 0 [pid 6405] mkdir("./file0", 0777) = 0 [ 88.561108][ T6405] loop3: detected capacity change from 0 to 32768 [pid 6405] mount("/dev/loop3", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6409] <... write resumed>) = 16777216 [pid 6409] munmap(0x7f3ebac00000, 138412032) = 0 [pid 6409] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6409] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6409] close(3 [pid 6410] <... write resumed>) = 16777216 [pid 6409] <... close resumed>) = 0 [pid 6410] munmap(0x7f3ebac00000, 138412032 [pid 6409] close(4) = 0 [pid 6409] mkdir("./file0", 0777) = 0 [pid 6409] mount("/dev/loop0", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6410] <... munmap resumed>) = 0 [ 88.641477][ T6409] loop0: detected capacity change from 0 to 32768 [pid 6410] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6410] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6410] close(3) = 0 [pid 6410] close(4) = 0 [pid 6410] mkdir("./file0", 0777) = 0 [ 88.691404][ T6410] loop2: detected capacity change from 0 to 32768 [ 89.006232][ T6408] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 89.016084][ T6409] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 89.033765][ T6410] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 89.042334][ T6409] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 89.047953][ T6410] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 89.054571][ T6405] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 89.064739][ T6409] bcachefs (loop0): Version upgrade required: [ 89.064739][ T6409] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 89.064739][ T6409] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 89.064739][ T6409] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 89.076427][ T6405] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 89.142415][ T6408] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 89.165638][ T6409] bcachefs (loop0): dropping and reconstructing all alloc info [ 89.235024][ T6409] bcachefs (loop0): accounting_read... done [ 89.264299][ T6409] bcachefs (loop0): alloc_read... done [ 89.269868][ T6409] bcachefs (loop0): stripes_read... done [ 89.294173][ T6409] bcachefs (loop0): snapshots_read... [ 89.294756][ T6408] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6410] mount("/dev/loop2", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6408] <... mount resumed>) = -1 EINVAL (Invalid argument) [ 89.306304][ T6409] done [pid 6408] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 6408] ioctl(3, LOOP_CLR_FD) = 0 [pid 6408] close(3 [pid 6410] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6410] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 6410] ioctl(3, LOOP_CLR_FD) = 0 [ 89.309083][ T6409] bcachefs (loop0): check_allocations... done [ 89.367145][ T6410] bcachefs: bch2_fs_get_tree() error: EINVAL [ 89.369643][ T6409] bcachefs (loop0): going read-write [pid 6410] close(3 [pid 6405] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6405] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 6405] ioctl(3, LOOP_CLR_FD) = 0 [pid 6405] close(3 [pid 5831] <... umount2 resumed>) = 0 [pid 6409] <... mount resumed>) = 0 [pid 5831] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] newfstatat(AT_FDCWD, "./13/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] openat(AT_FDCWD, "./13/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 6409] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 5831] newfstatat(4, "", [pid 6409] <... openat resumed>) = 3 [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6409] chdir("./file0" [pid 5831] getdents64(4, [pid 6409] <... chdir resumed>) = 0 [pid 5831] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 6409] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5831] getdents64(4, [pid 6409] <... openat resumed>) = 4 [pid 5831] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 6409] ioctl(4, LOOP_CLR_FD [pid 5831] close(4 [pid 6409] <... ioctl resumed>) = 0 [pid 5831] <... close resumed>) = 0 [pid 6409] close(4 [ 89.403276][ T6405] bcachefs: bch2_fs_get_tree() error: EINVAL [ 89.433020][ T6409] bcachefs (loop0): done starting filesystem [pid 5831] rmdir("./13/file0" [pid 6409] <... close resumed>) = 0 [pid 5831] <... rmdir resumed>) = 0 [pid 6409] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5831] getdents64(3, 0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5831] close(3) = 0 [pid 5831] rmdir("./13") = 0 [pid 5831] mkdir("./14", 0777) = 0 [pid 6409] <... mkdirat resumed>) = 0 [pid 5831] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6409] exit_group(0 [pid 5831] <... openat resumed>) = 3 [pid 5831] ioctl(3, LOOP_CLR_FD [pid 6409] <... exit_group resumed>) = ? [pid 5831] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5831] close(3) = 0 [pid 5831] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6442 attached [pid 6409] +++ exited with 0 +++ [pid 5827] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6409, si_uid=0, si_status=0, si_utime=8 /* 0.08 s */, si_stime=35 /* 0.35 s */} --- [pid 5831] <... clone resumed>, child_tidptr=0x55556439d650) = 6442 [pid 6442] set_robust_list(0x55556439d660, 24) = 0 [pid 6442] chdir("./14") = 0 [pid 6442] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6442] setpgid(0, 0) = 0 [pid 6442] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5827] umount2("./12", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6442] write(3, "1000", 4) = 4 [pid 6442] close(3 [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6442] <... close resumed>) = 0 [pid 5827] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6442] symlink("/dev/binderfs", "./binderfs" [pid 5827] <... openat resumed>) = 3 [pid 6408] <... close resumed>) = 0 [pid 5827] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5827] getdents64(3, executing program [pid 6442] <... symlink resumed>) = 0 [pid 5827] <... getdents64 resumed>0x55556439e6f0 /* 4 entries */, 32768) = 112 [pid 6442] write(1, "executing program\n", 18) = 18 [pid 6442] memfd_create("syzkaller", 0) = 3 [pid 6442] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [pid 5827] umount2("./12/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 6408] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [pid 5827] newfstatat(AT_FDCWD, "./12/binderfs", [pid 6408] exit_group(0 [pid 5827] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6408] <... exit_group resumed>) = ? [pid 6408] +++ exited with 0 +++ [pid 5827] unlink("./12/binderfs" [pid 5828] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6408, si_uid=0, si_status=0, si_utime=11 /* 0.11 s */, si_stime=38 /* 0.38 s */} --- [pid 5827] <... unlink resumed>) = 0 [pid 5828] restart_syscall(<... resuming interrupted clone ...> [pid 5827] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] <... restart_syscall resumed>) = 0 [pid 5828] umount2("./16", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] openat(AT_FDCWD, "./16", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5828] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] getdents64(3, 0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5828] umount2("./16/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] newfstatat(AT_FDCWD, "./16/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] unlink("./16/binderfs") = 0 [pid 5828] umount2("./16/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] newfstatat(AT_FDCWD, "./16/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] umount2("./16/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] openat(AT_FDCWD, "./16/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5828] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5828] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5828] close(4) = 0 [pid 5828] rmdir("./16/file0") = 0 [pid 5828] umount2("./16/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] newfstatat(AT_FDCWD, "./16/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] umount2("./16/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] openat(AT_FDCWD, "./16/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 6405] <... close resumed>) = 0 [pid 5828] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5828] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [ 89.638523][ T5827] bcachefs (loop0): shutting down [ 89.651101][ T5827] bcachefs (loop0): going read-only [ 89.676459][ T5827] bcachefs (loop0): finished waiting for writes to stop [pid 6405] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5828] close(4) = 0 [pid 5828] rmdir("./16/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 6410] <... close resumed>) = 0 [pid 5828] <... rmdir resumed>) = 0 [pid 5828] getdents64(3, 0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5828] close(3 [pid 6410] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 6405] <... mkdirat resumed>) = 0 [pid 5828] <... close resumed>) = 0 [pid 6410] <... mkdirat resumed>) = 0 [pid 6405] exit_group(0 [pid 5828] rmdir("./16" [pid 6405] <... exit_group resumed>) = ? [pid 6410] exit_group(0) = ? [pid 5828] <... rmdir resumed>) = 0 [pid 6410] +++ exited with 0 +++ [pid 6405] +++ exited with 0 +++ [pid 5828] mkdir("./17", 0777 [pid 5829] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6410, si_uid=0, si_status=0, si_utime=9 /* 0.09 s */, si_stime=37 /* 0.37 s */} --- [pid 5830] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6405, si_uid=0, si_status=0, si_utime=9 /* 0.09 s */, si_stime=31 /* 0.31 s */} --- [pid 5829] restart_syscall(<... resuming interrupted clone ...> [pid 5828] <... mkdir resumed>) = 0 [pid 5830] restart_syscall(<... resuming interrupted clone ...> [pid 5828] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5829] <... restart_syscall resumed>) = 0 [pid 5830] <... restart_syscall resumed>) = 0 [pid 5828] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5828] close(3 [pid 5829] umount2("./14", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] <... close resumed>) = 0 [pid 5830] umount2("./9", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5829] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5829] openat(AT_FDCWD, "./14", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5830] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5829] <... openat resumed>) = 3 ./strace-static-x86_64: Process 6443 attached [pid 5829] newfstatat(3, "", [pid 5828] <... clone resumed>, child_tidptr=0x55556439d650) = 6443 [pid 5830] <... openat resumed>) = 3 [pid 5829] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5830] newfstatat(3, "", [pid 5829] getdents64(3, [pid 6443] set_robust_list(0x55556439d660, 24) = 0 [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6443] chdir("./17" [pid 5830] getdents64(3, [pid 6443] <... chdir resumed>) = 0 [pid 5829] <... getdents64 resumed>0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5830] <... getdents64 resumed>0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5829] umount2("./14/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5830] umount2("./9/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5829] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5829] newfstatat(AT_FDCWD, "./14/binderfs", [pid 5830] newfstatat(AT_FDCWD, "./9/binderfs", [pid 6443] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5829] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5830] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5829] unlink("./14/binderfs" [pid 6443] <... prctl resumed>) = 0 [pid 5830] unlink("./9/binderfs" [pid 5829] <... unlink resumed>) = 0 [pid 5830] <... unlink resumed>) = 0 [pid 5829] umount2("./14/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5830] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5829] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5829] newfstatat(AT_FDCWD, "./14/file0", [pid 5830] newfstatat(AT_FDCWD, "./9/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5829] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5830] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5829] umount2("./14/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5829] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5830] openat(AT_FDCWD, "./9/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5829] openat(AT_FDCWD, "./14/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5830] <... openat resumed>) = 4 [pid 5829] <... openat resumed>) = 4 [pid 5830] newfstatat(4, "", [pid 5829] newfstatat(4, "", [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5829] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5830] getdents64(4, [pid 5829] getdents64(4, [pid 5830] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5829] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5830] getdents64(4, [pid 5829] getdents64(4, [pid 5830] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5829] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5830] close(4 [pid 5829] close(4 [pid 6443] setpgid(0, 0 [pid 5830] <... close resumed>) = 0 [pid 5829] <... close resumed>) = 0 [pid 6443] <... setpgid resumed>) = 0 [pid 5830] rmdir("./9/file0" [pid 5829] rmdir("./14/file0" [pid 6443] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5829] <... rmdir resumed>) = 0 [pid 6443] <... openat resumed>) = 3 [pid 5829] umount2("./14/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5830] <... rmdir resumed>) = 0 [pid 5829] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5830] umount2("./9/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5829] newfstatat(AT_FDCWD, "./14/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5830] newfstatat(AT_FDCWD, "./9/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5829] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6443] write(3, "1000", 4 [pid 5830] umount2("./9/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6443] <... write resumed>) = 4 [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5829] umount2("./14/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5830] openat(AT_FDCWD, "./9/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5829] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6443] close(3 [pid 5830] <... openat resumed>) = 4 [pid 5829] openat(AT_FDCWD, "./14/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5830] newfstatat(4, "", [pid 6443] <... close resumed>) = 0 [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5829] <... openat resumed>) = 4 [ 89.700653][ T5827] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [pid 5830] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5829] newfstatat(4, "", [pid 5830] getdents64(4, [pid 6443] symlink("/dev/binderfs", "./binderfs" [pid 5830] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5829] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5830] close(4 [pid 5829] getdents64(4, [pid 5830] <... close resumed>) = 0 [pid 5830] rmdir("./9/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"executing program [pid 5829] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 6443] <... symlink resumed>) = 0 [pid 5830] <... rmdir resumed>) = 0 [pid 6443] write(1, "executing program\n", 18) = 18 [pid 6443] memfd_create("syzkaller", 0) = 3 [pid 6443] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [pid 5829] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5829] close(4 [pid 5830] getdents64(3, 0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5829] <... close resumed>) = 0 [pid 5830] close(3) = 0 [pid 5829] rmdir("./14/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5830] rmdir("./9") = 0 [pid 5829] <... rmdir resumed>) = 0 [pid 5830] mkdir("./10", 0777 [pid 5829] getdents64(3, [pid 5830] <... mkdir resumed>) = 0 [pid 5829] <... getdents64 resumed>0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5830] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5829] close(3 [pid 5830] <... openat resumed>) = 3 [pid 5829] <... close resumed>) = 0 [pid 5830] ioctl(3, LOOP_CLR_FD [pid 5829] rmdir("./14" [pid 5830] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5829] <... rmdir resumed>) = 0 [pid 5830] close(3 [pid 5829] mkdir("./15", 0777 [pid 5830] <... close resumed>) = 0 [pid 5829] <... mkdir resumed>) = 0 [pid 5830] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5829] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5830] <... clone resumed>, child_tidptr=0x55556439d650) = 6444 [pid 5829] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) ./strace-static-x86_64: Process 6444 attached [pid 5829] close(3 [pid 6444] set_robust_list(0x55556439d660, 24 [pid 5829] <... close resumed>) = 0 [pid 6444] <... set_robust_list resumed>) = 0 [pid 5829] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6445 attached [pid 6444] chdir("./10") = 0 [pid 5829] <... clone resumed>, child_tidptr=0x55556439d650) = 6445 [pid 6444] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6445] set_robust_list(0x55556439d660, 24 [pid 6444] <... prctl resumed>) = 0 [pid 6445] <... set_robust_list resumed>) = 0 [pid 6445] chdir("./15" [pid 6444] setpgid(0, 0 [pid 6445] <... chdir resumed>) = 0 [pid 6444] <... setpgid resumed>) = 0 [pid 6445] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6444] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6445] <... prctl resumed>) = 0 [pid 6444] <... openat resumed>) = 3 [pid 6445] setpgid(0, 0 [pid 6444] write(3, "1000", 4 [pid 6445] <... setpgid resumed>) = 0 [pid 6444] <... write resumed>) = 4 [pid 6444] close(3) = 0 [pid 6445] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6444] symlink("/dev/binderfs", "./binderfs" [pid 6445] <... openat resumed>) = 3 [pid 6444] <... symlink resumed>) = 0 [pid 6445] write(3, "1000", 4) = 4 [pid 6444] write(1, "executing program\n", 18executing program [pid 6445] close(3 [pid 6444] <... write resumed>) = 18 [pid 6445] <... close resumed>) = 0 [pid 6445] symlink("/dev/binderfs", "./binderfs" [pid 6444] memfd_create("syzkaller", 0) = 3 [pid 6444] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6445] <... symlink resumed>) = 0 [pid 6444] <... mmap resumed>) = 0x7f3ebac00000 [pid 6445] write(1, "executing program\n", 18executing program ) = 18 [ 89.774307][ T5827] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3343 [ 89.788335][ T5827] bcachefs (loop0): unshutdown complete, journal seq 3344 [ 89.797063][ T5827] bcachefs (loop0): done going read-only, filesystem not clean [pid 6445] memfd_create("syzkaller", 0) = 3 [pid 6445] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [ 89.834471][ T5827] bcachefs (loop0): shutdown complete [pid 6442] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6445] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6443] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6444] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6442] <... write resumed>) = 16777216 [pid 6442] munmap(0x7f3ebac00000, 138412032) = 0 [pid 6442] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6442] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6442] close(3) = 0 [pid 6442] close(4) = 0 [pid 6442] mkdir("./file0", 0777) = 0 [ 90.226398][ T6442] loop4: detected capacity change from 0 to 32768 [pid 6442] mount("/dev/loop4", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6445] <... write resumed>) = 16777216 [pid 6445] munmap(0x7f3ebac00000, 138412032) = 0 [pid 6445] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6445] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6443] <... write resumed>) = 16777216 [pid 6445] close(3) = 0 [pid 6443] munmap(0x7f3ebac00000, 138412032 [pid 6445] close(4) = 0 [pid 6444] <... write resumed>) = 16777216 [pid 6445] mkdir("./file0", 0777 [pid 6444] munmap(0x7f3ebac00000, 138412032 [pid 6445] <... mkdir resumed>) = 0 [pid 6445] mount("/dev/loop2", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6444] <... munmap resumed>) = 0 [pid 6444] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6444] ioctl(4, LOOP_SET_FD, 3 [pid 6443] <... munmap resumed>) = 0 [ 90.403894][ T6445] loop2: detected capacity change from 0 to 32768 [pid 6443] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6443] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6443] close(3) = 0 [pid 6443] close(4) = 0 [pid 6443] mkdir("./file0", 0777) = 0 [pid 6443] mount("/dev/loop1", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6444] <... ioctl resumed>) = 0 [pid 6444] close(3) = 0 [pid 6444] close(4) = 0 [pid 6444] mkdir("./file0", 0777) = 0 [ 90.456537][ T6444] loop3: detected capacity change from 0 to 32768 [ 90.460870][ T6443] loop1: detected capacity change from 0 to 32768 [ 90.743641][ T6445] bcachefs (loop2): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 90.764607][ T6442] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 90.764985][ T6442] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 90.773954][ T6445] bcachefs (loop2): recovering from clean shutdown, journal seq 3338 [ 90.774123][ T6445] bcachefs (loop2): Version upgrade required: [ 90.774123][ T6445] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 90.774123][ T6445] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 90.774123][ T6445] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 90.782069][ T6443] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 90.790922][ T6445] bcachefs (loop2): dropping and reconstructing all alloc info [ 90.966869][ T6443] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 90.970764][ T6444] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [pid 6444] mount("/dev/loop3", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6442] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6442] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 6442] ioctl(3, LOOP_CLR_FD) = 0 [ 91.003497][ T6445] bcachefs (loop2): accounting_read... [ 91.015846][ T6442] bcachefs: bch2_fs_get_tree() error: EINVAL [ 91.027645][ T6444] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 91.035947][ T6445] done [ 91.038736][ T6445] bcachefs (loop2): alloc_read... done [ 91.076041][ T6445] bcachefs (loop2): stripes_read... done [ 91.082010][ T6445] bcachefs (loop2): snapshots_read... done [pid 6442] close(3 [pid 5827] <... umount2 resumed>) = 0 [pid 5827] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5827] newfstatat(AT_FDCWD, "./12/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5827] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5827] openat(AT_FDCWD, "./12/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5827] newfstatat(4, "", [pid 6443] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5827] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5827] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5827] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5827] close(4) = 0 [pid 6443] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 6443] ioctl(3, LOOP_CLR_FD) = 0 [pid 6443] close(3 [pid 5827] rmdir("./12/file0") = 0 [pid 5827] getdents64(3, 0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5827] close(3) = 0 [pid 5827] rmdir("./12" [pid 6444] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5827] <... rmdir resumed>) = 0 [pid 5827] mkdir("./13", 0777 [pid 6442] <... close resumed>) = 0 [pid 5827] <... mkdir resumed>) = 0 [ 91.108425][ T6445] bcachefs (loop2): check_allocations... [ 91.168581][ T6443] bcachefs: bch2_fs_get_tree() error: EINVAL [ 91.205045][ T6444] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6444] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6442] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5827] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6444] <... openat resumed>) = 3 [pid 6442] <... mkdirat resumed>) = 0 [pid 5827] <... openat resumed>) = 3 [pid 5827] ioctl(3, LOOP_CLR_FD [pid 6444] ioctl(3, LOOP_CLR_FD) = 0 [pid 6442] exit_group(0 [pid 5827] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5827] close(3 [pid 6444] close(3 [pid 6442] <... exit_group resumed>) = ? [pid 6442] +++ exited with 0 +++ [pid 5827] <... close resumed>) = 0 [pid 5831] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6442, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=37 /* 0.37 s */} --- [pid 5831] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5831] umount2("./14", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] openat(AT_FDCWD, "./14", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5831] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] getdents64(3, 0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5831] umount2("./14/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5827] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] newfstatat(AT_FDCWD, "./14/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] unlink("./14/binderfs"./strace-static-x86_64: Process 6475 attached ) = 0 [pid 5827] <... clone resumed>, child_tidptr=0x55556439d650) = 6475 [pid 5831] umount2("./14/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6475] set_robust_list(0x55556439d660, 24) = 0 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6475] chdir("./13" [ 91.261323][ T6445] done [pid 5831] newfstatat(AT_FDCWD, "./14/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] umount2("./14/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6475] <... chdir resumed>) = 0 [pid 6475] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] openat(AT_FDCWD, "./14/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6475] setpgid(0, 0 [pid 5831] <... openat resumed>) = 4 [pid 6475] <... setpgid resumed>) = 0 [pid 5831] newfstatat(4, "", [pid 6475] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] getdents64(4, [pid 6475] <... openat resumed>) = 3 [pid 6475] write(3, "1000", 4 [pid 5831] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 6475] <... write resumed>) = 4 [pid 6475] close(3 [pid 5831] getdents64(4, [pid 6475] <... close resumed>) = 0 [pid 6475] symlink("/dev/binderfs", "./binderfs" [pid 5831] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5831] close(4executing program [pid 6475] <... symlink resumed>) = 0 [pid 5831] <... close resumed>) = 0 [pid 6475] write(1, "executing program\n", 18 [pid 5831] rmdir("./14/file0") = 0 [pid 6475] <... write resumed>) = 18 [pid 5831] umount2("./14/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 6475] memfd_create("syzkaller", 0 [pid 5831] newfstatat(AT_FDCWD, "./14/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 91.291855][ T6445] bcachefs (loop2): going read-write [pid 5831] umount2("./14/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] openat(AT_FDCWD, "./14/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 6475] <... memfd_create resumed>) = 3 [pid 6445] <... mount resumed>) = 0 [pid 5831] newfstatat(4, "", [pid 6475] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [pid 6445] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6445] <... openat resumed>) = 3 [pid 6445] chdir("./file0" [pid 5831] getdents64(4, [pid 6445] <... chdir resumed>) = 0 [pid 6445] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5831] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 6445] <... openat resumed>) = 4 [pid 5831] getdents64(4, [pid 6445] ioctl(4, LOOP_CLR_FD [pid 5831] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 6445] <... ioctl resumed>) = 0 [pid 5831] close(4 [pid 6445] close(4 [pid 5831] <... close resumed>) = 0 [pid 6445] <... close resumed>) = 0 [pid 5831] rmdir("./14/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 6445] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5831] <... rmdir resumed>) = 0 [pid 5831] getdents64(3, 0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5831] close(3) = 0 [pid 5831] rmdir("./14") = 0 [pid 5831] mkdir("./15", 0777) = 0 [pid 5831] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5831] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5831] close(3) = 0 [pid 5831] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6478 attached [pid 6445] <... mkdirat resumed>) = 0 [pid 6478] set_robust_list(0x55556439d660, 24) = 0 [pid 6478] chdir("./15") = 0 [pid 6445] exit_group(0 [pid 6478] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6478] setpgid(0, 0) = 0 [pid 6478] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6478] write(3, "1000", 4) = 4 [pid 5831] <... clone resumed>, child_tidptr=0x55556439d650) = 6478 [pid 6478] close(3) = 0 [ 91.319459][ T6445] bcachefs (loop2): done starting filesystem [pid 6478] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6445] <... exit_group resumed>) = ? executing program [pid 6478] write(1, "executing program\n", 18) = 18 [pid 6478] memfd_create("syzkaller", 0 [pid 6445] +++ exited with 0 +++ [pid 6478] <... memfd_create resumed>) = 3 [pid 5829] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6445, si_uid=0, si_status=0, si_utime=8 /* 0.08 s */, si_stime=34 /* 0.34 s */} --- [pid 6478] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [pid 5829] umount2("./15", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] openat(AT_FDCWD, "./15", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5829] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5829] getdents64(3, 0x55556439e6f0 /* 4 entries */, 32768) = 112 [pid 5829] umount2("./15/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] newfstatat(AT_FDCWD, "./15/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5829] unlink("./15/binderfs") = 0 [pid 5829] umount2("./15/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6443] <... close resumed>) = 0 [pid 6444] <... close resumed>) = 0 [pid 6443] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [pid 6443] exit_group(0) = ? [ 91.451820][ T5829] bcachefs (loop2): shutting down [pid 6444] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 6443] +++ exited with 0 +++ [pid 5828] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6443, si_uid=0, si_status=0, si_utime=9 /* 0.09 s */, si_stime=45 /* 0.45 s */} --- [pid 5828] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5828] umount2("./17", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6444] <... mkdirat resumed>) = 0 [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] openat(AT_FDCWD, "./17", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5828] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] getdents64(3, 0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5828] umount2("./17/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] newfstatat(AT_FDCWD, "./17/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] unlink("./17/binderfs") = 0 [pid 5828] umount2("./17/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] newfstatat(AT_FDCWD, "./17/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] umount2("./17/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] openat(AT_FDCWD, "./17/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5828] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5828] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5828] close(4) = 0 [pid 5828] rmdir("./17/file0") = 0 [pid 5828] umount2("./17/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] newfstatat(AT_FDCWD, "./17/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] umount2("./17/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] openat(AT_FDCWD, "./17/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6444] exit_group(0 [pid 5828] <... openat resumed>) = 4 [pid 5828] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5828] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5828] close(4) = 0 [pid 5828] rmdir("./17/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5828] getdents64(3, 0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5828] close(3) = 0 [pid 5828] rmdir("./17") = 0 [pid 5828] mkdir("./18", 0777 [pid 6444] <... exit_group resumed>) = ? [pid 5828] <... mkdir resumed>) = 0 [pid 5828] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5828] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5828] close(3) = 0 [pid 5828] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55556439d650) = 6479 ./strace-static-x86_64: Process 6479 attached [pid 6479] set_robust_list(0x55556439d660, 24) = 0 [pid 6444] +++ exited with 0 +++ [pid 5830] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6444, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=36 /* 0.36 s */} --- [pid 6479] chdir("./18") = 0 [pid 6479] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6479] setpgid(0, 0) = 0 [pid 6479] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6479] write(3, "1000", 4) = 4 [pid 6479] close(3) = 0 [pid 6479] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6479] write(1, "executing program\n", 18) = 18 [ 91.489705][ T5829] bcachefs (loop2): going read-only [ 91.495633][ T5829] bcachefs (loop2): finished waiting for writes to stop [pid 6479] memfd_create("syzkaller", 0) = 3 [pid 6479] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [pid 5830] umount2("./10", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5830] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5830] getdents64(3, 0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5830] umount2("./10/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] newfstatat(AT_FDCWD, "./10/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5830] unlink("./10/binderfs") = 0 [pid 5830] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] newfstatat(AT_FDCWD, "./10/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5830] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] openat(AT_FDCWD, "./10/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5830] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5830] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5830] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5830] close(4) = 0 [pid 5830] rmdir("./10/file0") = 0 [pid 5830] umount2("./10/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 91.535667][ T5829] bcachefs (loop2): flushing journal and stopping allocators, journal seq 3340 [pid 5830] newfstatat(AT_FDCWD, "./10/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5830] umount2("./10/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] openat(AT_FDCWD, "./10/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5830] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5830] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5830] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5830] close(4) = 0 [pid 5830] rmdir("./10/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5830] getdents64(3, 0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5830] close(3) = 0 [pid 5830] rmdir("./10") = 0 [pid 5830] mkdir("./11", 0777) = 0 [pid 5830] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5830] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5830] close(3) = 0 [ 91.607123][ T1076] bcachefs (loop2): bch2_write_super(): fatal error loop2: Superblock write was silently dropped! (seq 0 expected 53) [pid 5830] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6480 attached , child_tidptr=0x55556439d650) = 6480 [pid 6480] set_robust_list(0x55556439d660, 24) = 0 [pid 6480] chdir("./11") = 0 [pid 6480] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6480] setpgid(0, 0) = 0 [pid 6480] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6480] write(3, "1000", 4) = 4 [ 91.670814][ T1076] bcachefs (loop2): fatal error - emergency read only [ 91.684553][ T5829] bcachefs (loop2): flushing journal and stopping allocators complete, journal seq 3342 [ 91.705601][ T5829] bcachefs (loop2): unshutdown complete, journal seq 3342 [pid 6480] close(3executing program ) = 0 [pid 6480] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6480] write(1, "executing program\n", 18) = 18 [pid 6480] memfd_create("syzkaller", 0 [pid 6475] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6480] <... memfd_create resumed>) = 3 [pid 6480] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [ 91.723546][ T5829] bcachefs (loop2): done going read-only, filesystem not clean [ 91.788764][ T5829] bcachefs (loop2): shutdown complete [pid 6478] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6479] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6480] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6475] <... write resumed>) = 16777216 [pid 6475] munmap(0x7f3ebac00000, 138412032 [pid 6479] <... write resumed>) = 16777216 [pid 6475] <... munmap resumed>) = 0 [pid 6479] munmap(0x7f3ebac00000, 138412032 [pid 6475] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6479] <... munmap resumed>) = 0 [pid 6478] <... write resumed>) = 16777216 [pid 6479] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6475] <... openat resumed>) = 4 [pid 6479] <... openat resumed>) = 4 [pid 6479] ioctl(4, LOOP_SET_FD, 3 [pid 6478] munmap(0x7f3ebac00000, 138412032 [pid 6475] ioctl(4, LOOP_SET_FD, 3 [pid 6479] <... ioctl resumed>) = 0 [pid 6475] <... ioctl resumed>) = 0 [pid 6479] close(3) = 0 [pid 6479] close(4 [pid 6478] <... munmap resumed>) = 0 [pid 6479] <... close resumed>) = 0 [pid 6479] mkdir("./file0", 0777) = 0 [pid 6479] mount("/dev/loop1", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6478] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6475] close(3 [pid 6478] <... openat resumed>) = 4 [pid 6475] <... close resumed>) = 0 [pid 6478] ioctl(4, LOOP_SET_FD, 3 [pid 6475] close(4) = 0 [pid 6475] mkdir("./file0", 0777) = 0 [pid 6475] mount("/dev/loop0", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6478] <... ioctl resumed>) = 0 [pid 6478] close(3) = 0 [pid 6478] close(4) = 0 [pid 6478] mkdir("./file0", 0777) = 0 [ 92.117460][ T6479] loop1: detected capacity change from 0 to 32768 [ 92.124479][ T6475] loop0: detected capacity change from 0 to 32768 [ 92.148209][ T6478] loop4: detected capacity change from 0 to 32768 [pid 6478] mount("/dev/loop4", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6480] <... write resumed>) = 16777216 [pid 6480] munmap(0x7f3ebac00000, 138412032) = 0 [pid 6480] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6480] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6480] close(3) = 0 [pid 6480] close(4) = 0 [pid 6480] mkdir("./file0", 0777) = 0 [ 92.297461][ T6480] loop3: detected capacity change from 0 to 32768 [ 92.594792][ T6475] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 92.611602][ T6480] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 92.625717][ T6475] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 92.636937][ T6479] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 92.647252][ T6479] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 92.655451][ T6478] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 92.666835][ T6475] bcachefs (loop0): Version upgrade required: [ 92.666835][ T6475] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 92.666835][ T6475] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 92.666835][ T6475] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 92.739575][ T6478] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 92.739595][ T6480] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 92.836891][ T6475] bcachefs (loop0): dropping and reconstructing all alloc info [pid 6480] mount("/dev/loop3", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6479] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6479] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6480] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6479] <... openat resumed>) = 3 [pid 6478] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6480] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6479] ioctl(3, LOOP_CLR_FD [pid 6478] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6480] <... openat resumed>) = 3 [pid 6479] <... ioctl resumed>) = 0 [pid 6478] <... openat resumed>) = 3 [pid 6479] close(3 [pid 6480] ioctl(3, LOOP_CLR_FD [pid 6478] ioctl(3, LOOP_CLR_FD) = 0 [pid 6480] <... ioctl resumed>) = 0 [pid 6478] close(3 [ 92.879817][ T6479] bcachefs: bch2_fs_get_tree() error: EINVAL [ 92.895617][ T6478] bcachefs: bch2_fs_get_tree() error: EINVAL [ 92.898376][ T6480] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6480] close(3 [pid 5829] <... umount2 resumed>) = 0 [pid 5829] umount2("./15/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] newfstatat(AT_FDCWD, "./15/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 93.009825][ T6475] bcachefs (loop0): accounting_read... done [ 93.018756][ T6475] bcachefs (loop0): alloc_read... done [ 93.048769][ T6475] bcachefs (loop0): stripes_read... done [pid 5829] umount2("./15/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] openat(AT_FDCWD, "./15/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5829] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5829] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5829] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5829] close(4) = 0 [pid 5829] rmdir("./15/file0") = 0 [pid 5829] getdents64(3, 0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5829] close(3) = 0 [pid 5829] rmdir("./15") = 0 [pid 5829] mkdir("./16", 0777) = 0 [pid 5829] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5829] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5829] close(3) = 0 [ 93.064003][ T6475] bcachefs (loop0): snapshots_read... done [pid 5829] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6510 attached , child_tidptr=0x55556439d650) = 6510 [pid 6510] set_robust_list(0x55556439d660, 24) = 0 [pid 6510] chdir("./16") = 0 [pid 6510] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6510] setpgid(0, 0) = 0 [pid 6510] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXECexecuting program ) = 3 [pid 6510] write(3, "1000", 4) = 4 [pid 6510] close(3) = 0 [pid 6510] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6510] write(1, "executing program\n", 18) = 18 [pid 6510] memfd_create("syzkaller", 0) = 3 [pid 6510] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [pid 6479] <... close resumed>) = 0 [pid 6479] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [pid 6479] exit_group(0) = ? [pid 6479] +++ exited with 0 +++ [pid 5828] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6479, si_uid=0, si_status=0, si_utime=8 /* 0.08 s */, si_stime=40 /* 0.40 s */} --- [pid 5828] umount2("./18", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] openat(AT_FDCWD, "./18", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5828] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6478] <... close resumed>) = 0 [pid 5828] getdents64(3, 0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5828] umount2("./18/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6478] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] newfstatat(AT_FDCWD, "./18/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6478] <... mkdirat resumed>) = 0 [pid 5828] unlink("./18/binderfs") = 0 [pid 6478] exit_group(0 [pid 5828] umount2("./18/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6478] <... exit_group resumed>) = ? [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6480] <... close resumed>) = 0 [pid 6478] +++ exited with 0 +++ [pid 5828] newfstatat(AT_FDCWD, "./18/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6480] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5831] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6478, si_uid=0, si_status=0, si_utime=10 /* 0.10 s */, si_stime=37 /* 0.37 s */} --- [pid 5828] umount2("./18/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] restart_syscall(<... resuming interrupted clone ...> [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 93.078867][ T6475] bcachefs (loop0): check_allocations... done [ 93.189643][ T6475] bcachefs (loop0): going read-write [pid 6480] <... mkdirat resumed>) = 0 [pid 5831] <... restart_syscall resumed>) = 0 [pid 5828] openat(AT_FDCWD, "./18/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 6480] exit_group(0 [pid 5831] umount2("./15", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] newfstatat(4, "", [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] openat(AT_FDCWD, "./15", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5828] getdents64(4, [pid 5831] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5828] getdents64(4, [pid 5831] getdents64(3, [pid 6480] <... exit_group resumed>) = ? [pid 5828] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5831] <... getdents64 resumed>0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5828] close(4 [pid 5831] umount2("./15/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] <... close resumed>) = 0 [pid 5828] rmdir("./18/file0" [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] <... rmdir resumed>) = 0 [pid 5831] newfstatat(AT_FDCWD, "./15/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] umount2("./18/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6480] +++ exited with 0 +++ [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5830] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6480, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=46 /* 0.46 s */} --- [pid 5828] newfstatat(AT_FDCWD, "./18/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] unlink("./15/binderfs") = 0 [pid 5828] umount2("./18/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 6475] <... mount resumed>) = 0 [pid 5831] umount2("./15/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] openat(AT_FDCWD, "./18/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] newfstatat(AT_FDCWD, "./15/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6475] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 5830] umount2("./11", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] newfstatat(4, "", [pid 5831] umount2("./15/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6475] <... openat resumed>) = 3 [pid 5830] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5830] <... openat resumed>) = 3 [pid 5831] openat(AT_FDCWD, "./15/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5830] newfstatat(3, "", [pid 5828] getdents64(4, [pid 5831] <... openat resumed>) = 4 [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5831] newfstatat(4, "", [pid 5830] getdents64(3, [pid 5828] getdents64(4, [pid 5830] <... getdents64 resumed>0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5828] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5830] umount2("./11/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] close(4 [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] <... close resumed>) = 0 [pid 5831] getdents64(4, [pid 5828] rmdir("./18/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5828] getdents64(3, 0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5828] close(3) = 0 [pid 5828] rmdir("./18") = 0 [pid 6475] chdir("./file0" [pid 5831] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5830] newfstatat(AT_FDCWD, "./11/binderfs", [pid 5828] mkdir("./19", 0777 [pid 6475] <... chdir resumed>) = 0 [pid 5831] getdents64(4, [pid 5828] <... mkdir resumed>) = 0 [pid 6475] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5831] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [ 93.230056][ T6475] bcachefs (loop0): done starting filesystem [pid 5831] close(4 [pid 6475] <... openat resumed>) = 4 [pid 5831] <... close resumed>) = 0 [pid 5830] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6475] ioctl(4, LOOP_CLR_FD [pid 5831] rmdir("./15/file0" [pid 5830] unlink("./11/binderfs" [pid 5828] <... openat resumed>) = 3 [pid 5831] <... rmdir resumed>) = 0 [pid 5830] <... unlink resumed>) = 0 [pid 5831] umount2("./15/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] ioctl(3, LOOP_CLR_FD [pid 5830] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5831] newfstatat(AT_FDCWD, "./15/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5830] newfstatat(AT_FDCWD, "./11/file0", [pid 6475] <... ioctl resumed>) = 0 [pid 5828] close(3 [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] umount2("./15/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] <... close resumed>) = 0 [pid 5830] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6475] close(4) = 0 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6475] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] openat(AT_FDCWD, "./15/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5828] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5831] <... openat resumed>) = 4 [pid 5828] <... clone resumed>, child_tidptr=0x55556439d650) = 6513 [pid 5830] openat(AT_FDCWD, "./11/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY./strace-static-x86_64: Process 6513 attached [pid 5831] newfstatat(4, "", [pid 5830] <... openat resumed>) = 4 [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5830] newfstatat(4, "", [pid 6513] set_robust_list(0x55556439d660, 24) = 0 [pid 6513] chdir("./19") = 0 [pid 6513] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6513] setpgid(0, 0) = 0 [pid 6513] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6513] write(3, "1000", 4 [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6475] <... mkdirat resumed>) = 0 [pid 5831] getdents64(4, [pid 5830] getdents64(4, [pid 6513] <... write resumed>) = 4 [pid 5831] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5830] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 6513] close(3 [pid 6475] exit_group(0 [pid 5831] getdents64(4, [pid 5830] getdents64(4, [pid 6513] <... close resumed>) = 0 [pid 6513] symlink("/dev/binderfs", "./binderfs"executing program [pid 5831] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5830] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 6513] <... symlink resumed>) = 0 [pid 6475] <... exit_group resumed>) = ? [pid 5830] close(4 [pid 6513] write(1, "executing program\n", 18) = 18 [pid 6513] memfd_create("syzkaller", 0 [pid 5830] <... close resumed>) = 0 [pid 6513] <... memfd_create resumed>) = 3 [pid 6513] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [pid 6475] +++ exited with 0 +++ [pid 5831] close(4 [pid 5830] rmdir("./11/file0" [pid 5827] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6475, si_uid=0, si_status=0, si_utime=12 /* 0.12 s */, si_stime=30 /* 0.30 s */} --- [pid 5830] <... rmdir resumed>) = 0 [pid 5831] <... close resumed>) = 0 [pid 5830] umount2("./11/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] rmdir("./15/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] getdents64(3, 0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5830] newfstatat(AT_FDCWD, "./11/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5831] close(3 [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] <... close resumed>) = 0 [pid 5830] umount2("./11/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] rmdir("./15" [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] <... rmdir resumed>) = 0 [pid 5830] openat(AT_FDCWD, "./11/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5831] mkdir("./16", 0777 [pid 5830] <... openat resumed>) = 4 [pid 5831] <... mkdir resumed>) = 0 [pid 5830] newfstatat(4, "", [pid 5831] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] <... openat resumed>) = 3 [pid 5831] ioctl(3, LOOP_CLR_FD [pid 5830] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5831] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5830] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5831] close(3) = 0 [pid 5830] close(4) = 0 [pid 5830] rmdir("./11/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5831] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5827] umount2("./13", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] <... clone resumed>, child_tidptr=0x55556439d650) = 6514 [pid 5830] getdents64(3, [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) ./strace-static-x86_64: Process 6514 attached [pid 5827] openat(AT_FDCWD, "./13", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5830] <... getdents64 resumed>0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5830] close(3) = 0 [pid 5830] rmdir("./11") = 0 [pid 6514] set_robust_list(0x55556439d660, 24 [pid 5827] <... openat resumed>) = 3 [pid 6514] <... set_robust_list resumed>) = 0 [pid 5827] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6514] chdir("./16" [pid 5827] getdents64(3, [pid 5830] mkdir("./12", 0777 [pid 5827] <... getdents64 resumed>0x55556439e6f0 /* 4 entries */, 32768) = 112 [pid 5830] <... mkdir resumed>) = 0 [pid 5827] umount2("./13/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6514] <... chdir resumed>) = 0 [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6514] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5827] newfstatat(AT_FDCWD, "./13/binderfs", [pid 6514] <... prctl resumed>) = 0 [pid 6514] setpgid(0, 0 [pid 5830] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5827] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6514] <... setpgid resumed>) = 0 [pid 5827] unlink("./13/binderfs" [pid 6514] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5827] <... unlink resumed>) = 0 [pid 5830] <... openat resumed>) = 3 [pid 5830] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5830] close(3) = 0 [pid 5830] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55556439d650) = 6515 ./strace-static-x86_64: Process 6515 attached [pid 5827] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6515] set_robust_list(0x55556439d660, 24 [pid 6514] <... openat resumed>) = 3 [pid 6515] <... set_robust_list resumed>) = 0 [pid 6514] write(3, "1000", 4 [pid 6515] chdir("./12") = 0 [pid 6515] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6515] setpgid(0, 0) = 0 [pid 6515] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6514] <... write resumed>) = 4 [pid 6515] <... openat resumed>) = 3 [pid 6514] close(3 [pid 6515] write(3, "1000", 4 [pid 6514] <... close resumed>) = 0 [pid 6515] <... write resumed>) = 4 [pid 6514] symlink("/dev/binderfs", "./binderfs" [pid 6515] close(3) = 0 [pid 6514] <... symlink resumed>) = 0 executing program [pid 6515] symlink("/dev/binderfs", "./binderfs" [pid 6514] write(1, "executing program\n", 18executing program [pid 6515] <... symlink resumed>) = 0 [pid 6514] <... write resumed>) = 18 [pid 6515] write(1, "executing program\n", 18) = 18 [pid 6515] memfd_create("syzkaller", 0 [pid 6514] memfd_create("syzkaller", 0 [pid 6515] <... memfd_create resumed>) = 3 [pid 6515] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6514] <... memfd_create resumed>) = 3 [pid 6515] <... mmap resumed>) = 0x7f3ebac00000 [pid 6514] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [ 93.411921][ T5827] bcachefs (loop0): shutting down [ 93.428470][ T5827] bcachefs (loop0): going read-only [ 93.442758][ T5827] bcachefs (loop0): finished waiting for writes to stop [ 93.461783][ T5827] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [pid 6510] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [ 93.540067][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 93.593373][ T35] bcachefs (loop0): fatal error - emergency read only [ 93.633045][ T5827] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3341 [ 93.643943][ T5827] bcachefs (loop0): unshutdown complete, journal seq 3341 [ 93.652302][ T5827] bcachefs (loop0): done going read-only, filesystem not clean [pid 6514] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [ 93.718700][ T5827] bcachefs (loop0): shutdown complete [pid 6513] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6514] <... write resumed>) = 16777216 [pid 6514] munmap(0x7f3ebac00000, 138412032 [pid 6515] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6514] <... munmap resumed>) = 0 [pid 6510] <... write resumed>) = 16777216 [pid 6510] munmap(0x7f3ebac00000, 138412032 [pid 6514] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6510] <... munmap resumed>) = 0 [pid 6514] <... openat resumed>) = 4 [pid 6514] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6510] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6514] close(3) = 0 [pid 6510] <... openat resumed>) = 4 [pid 6514] close(4 [pid 6510] ioctl(4, LOOP_SET_FD, 3 [pid 6514] <... close resumed>) = 0 [pid 6514] mkdir("./file0", 0777 [pid 6510] <... ioctl resumed>) = 0 [pid 6514] <... mkdir resumed>) = 0 [pid 6510] close(3 [pid 6514] mount("/dev/loop4", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6510] <... close resumed>) = 0 [pid 6510] close(4) = 0 [pid 6510] mkdir("./file0", 0777) = 0 [ 93.882461][ T6514] loop4: detected capacity change from 0 to 32768 [ 93.894943][ T6510] loop2: detected capacity change from 0 to 32768 [pid 6510] mount("/dev/loop2", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6513] <... write resumed>) = 16777216 [pid 6513] munmap(0x7f3ebac00000, 138412032) = 0 [pid 6513] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6513] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6513] close(3) = 0 [pid 6513] close(4) = 0 [pid 6513] mkdir("./file0", 0777 [pid 6515] <... write resumed>) = 16777216 [pid 6513] <... mkdir resumed>) = 0 [pid 6515] munmap(0x7f3ebac00000, 138412032 [pid 6513] mount("/dev/loop1", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6515] <... munmap resumed>) = 0 [pid 6515] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [ 94.036277][ T6513] loop1: detected capacity change from 0 to 32768 [pid 6515] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6515] close(3) = 0 [pid 6515] close(4) = 0 [pid 6515] mkdir("./file0", 0777) = 0 [ 94.091778][ T6515] loop3: detected capacity change from 0 to 32768 [ 94.556735][ T6513] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 94.557018][ T6510] bcachefs (loop2): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 94.582970][ T6513] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 94.587614][ T6510] bcachefs (loop2): recovering from clean shutdown, journal seq 3338 [ 94.595585][ T6515] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 94.613108][ T6510] bcachefs (loop2): Version upgrade required: [ 94.613108][ T6510] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 94.613108][ T6510] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 94.613108][ T6510] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 94.685606][ T6510] bcachefs (loop2): dropping and reconstructing all alloc info [ 94.699110][ T6515] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 94.703105][ T6510] bcachefs (loop2): accounting_read... done [ 94.713832][ T6514] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 94.713905][ T6514] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 94.735339][ T6510] bcachefs (loop2): alloc_read... done [ 94.740893][ T6510] bcachefs (loop2): stripes_read... done [ 94.748399][ T6510] bcachefs (loop2): snapshots_read... done [ 94.768736][ T6510] bcachefs (loop2): check_allocations... done [ 94.814338][ T6510] bcachefs (loop2): going read-write [pid 6515] mount("/dev/loop3", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"...) = -1 EINVAL (Invalid argument) [pid 6515] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 6515] ioctl(3, LOOP_CLR_FD) = 0 [pid 6515] close(3 [pid 6510] <... mount resumed>) = 0 [pid 6513] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6510] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6513] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6510] chdir("./file0") = 0 [pid 6513] <... openat resumed>) = 3 [pid 6510] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6510] ioctl(4, LOOP_CLR_FD) = 0 [pid 6510] close(4) = 0 [pid 6510] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [pid 6510] exit_group(0 [pid 6513] ioctl(3, LOOP_CLR_FD [pid 6510] <... exit_group resumed>) = ? [pid 6513] <... ioctl resumed>) = 0 [pid 6513] close(3 [pid 6510] +++ exited with 0 +++ [ 94.837296][ T6510] bcachefs (loop2): done starting filesystem [ 94.843547][ T6515] bcachefs: bch2_fs_get_tree() error: EINVAL [ 94.873339][ T6513] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5829] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6510, si_uid=0, si_status=0, si_utime=9 /* 0.09 s */, si_stime=34 /* 0.34 s */} --- [pid 5829] umount2("./16", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] openat(AT_FDCWD, "./16", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5829] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5829] getdents64(3, 0x55556439e6f0 /* 4 entries */, 32768) = 112 [pid 5829] umount2("./16/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] newfstatat(AT_FDCWD, "./16/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5829] unlink("./16/binderfs") = 0 [pid 5829] umount2("./16/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6514] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6514] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 6514] ioctl(3, LOOP_CLR_FD) = 0 [pid 6514] close(3 [pid 5827] <... umount2 resumed>) = 0 [ 94.960088][ T6514] bcachefs: bch2_fs_get_tree() error: EINVAL [ 94.998758][ T5829] bcachefs (loop2): shutting down [pid 5827] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5827] newfstatat(AT_FDCWD, "./13/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5827] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5827] openat(AT_FDCWD, "./13/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5827] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5827] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5827] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5827] close(4) = 0 [ 95.014991][ T5829] bcachefs (loop2): going read-only [ 95.020236][ T5829] bcachefs (loop2): finished waiting for writes to stop [pid 5827] rmdir("./13/file0") = 0 [pid 5827] getdents64(3, 0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5827] close(3) = 0 [pid 5827] rmdir("./13") = 0 [pid 5827] mkdir("./14", 0777) = 0 [pid 5827] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5827] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5827] close(3) = 0 [pid 5827] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6547 attached [pid 6547] set_robust_list(0x55556439d660, 24 [pid 5827] <... clone resumed>, child_tidptr=0x55556439d650) = 6547 [pid 6547] <... set_robust_list resumed>) = 0 [pid 6547] chdir("./14") = 0 [pid 6547] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6547] setpgid(0, 0) = 0 [pid 6547] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6547] write(3, "1000", 4) = 4 [pid 6547] close(3) = 0 [ 95.088785][ T5829] bcachefs (loop2): flushing journal and stopping allocators, journal seq 3340 [pid 6547] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6547] write(1, "executing program\n", 18executing program ) = 18 [pid 6547] memfd_create("syzkaller", 0) = 3 [pid 6514] <... close resumed>) = 0 [pid 6547] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6514] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 6547] <... mmap resumed>) = 0x7f3ebac00000 [pid 6514] <... mkdirat resumed>) = 0 [pid 6514] exit_group(0) = ? [pid 6514] +++ exited with 0 +++ [pid 5831] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6514, si_uid=0, si_status=0, si_utime=8 /* 0.08 s */, si_stime=39 /* 0.39 s */} --- [pid 5831] restart_syscall(<... resuming interrupted clone ...> [pid 6513] <... close resumed>) = 0 [pid 5831] <... restart_syscall resumed>) = 0 [pid 5831] umount2("./16", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] openat(AT_FDCWD, "./16", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5831] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] getdents64(3, 0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5831] umount2("./16/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6513] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6513] <... mkdirat resumed>) = 0 [pid 5831] newfstatat(AT_FDCWD, "./16/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] unlink("./16/binderfs") = 0 [pid 6515] <... close resumed>) = 0 [pid 5831] umount2("./16/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6513] exit_group(0 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6513] <... exit_group resumed>) = ? [pid 5831] newfstatat(AT_FDCWD, "./16/file0", [pid 6513] +++ exited with 0 +++ [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6515] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5831] umount2("./16/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6513, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=46 /* 0.46 s */} --- [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] restart_syscall(<... resuming interrupted clone ...> [pid 5831] openat(AT_FDCWD, "./16/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6515] <... mkdirat resumed>) = 0 [pid 5831] <... openat resumed>) = 4 [pid 5831] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5831] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5831] close(4) = 0 [pid 5831] rmdir("./16/file0") = 0 [pid 5831] umount2("./16/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] newfstatat(AT_FDCWD, "./16/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] umount2("./16/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] openat(AT_FDCWD, "./16/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5831] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5831] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5831] close(4) = 0 [pid 5831] rmdir("./16/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5828] <... restart_syscall resumed>) = 0 [pid 6515] exit_group(0 [pid 5828] umount2("./19", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] openat(AT_FDCWD, "./19", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5828] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] getdents64(3, 0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5828] umount2("./19/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] newfstatat(AT_FDCWD, "./19/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] unlink("./19/binderfs") = 0 [pid 5828] umount2("./19/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] newfstatat(AT_FDCWD, "./19/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] umount2("./19/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] openat(AT_FDCWD, "./19/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6515] <... exit_group resumed>) = ? [pid 5828] <... openat resumed>) = 4 [pid 5828] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5828] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5828] close(4) = 0 [pid 5828] rmdir("./19/file0" [pid 6515] +++ exited with 0 +++ [pid 5828] <... rmdir resumed>) = 0 [pid 5828] umount2("./19/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5830] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6515, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=44 /* 0.44 s */} --- [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5830] restart_syscall(<... resuming interrupted clone ...> [pid 5828] newfstatat(AT_FDCWD, "./19/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] getdents64(3, [pid 5828] umount2("./19/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] <... getdents64 resumed>0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] close(3 [pid 5828] openat(AT_FDCWD, "./19/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5831] <... close resumed>) = 0 [pid 5828] <... openat resumed>) = 4 [pid 5831] rmdir("./16" [pid 5830] <... restart_syscall resumed>) = 0 [pid 5828] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] getdents64(4, [pid 5830] umount2("./12", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] getdents64(4, [pid 5830] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5828] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5830] <... openat resumed>) = 3 [pid 5828] close(4 [pid 5830] newfstatat(3, "", [pid 5828] <... close resumed>) = 0 [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] rmdir("./19/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5831] <... rmdir resumed>) = 0 [pid 5830] getdents64(3, [pid 5828] <... rmdir resumed>) = 0 [pid 5831] mkdir("./17", 0777 [pid 5830] <... getdents64 resumed>0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5831] <... mkdir resumed>) = 0 [pid 5830] umount2("./12/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] getdents64(3, [pid 5831] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] <... getdents64 resumed>0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5831] <... openat resumed>) = 3 [pid 5830] newfstatat(AT_FDCWD, "./12/binderfs", [pid 5828] close(3 [pid 5831] ioctl(3, LOOP_CLR_FD [pid 5830] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] <... close resumed>) = 0 [pid 5831] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5830] unlink("./12/binderfs" [pid 5828] rmdir("./19" [pid 5831] close(3 [pid 5830] <... unlink resumed>) = 0 [pid 5828] <... rmdir resumed>) = 0 [pid 5831] <... close resumed>) = 0 [pid 5831] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [ 95.199217][ T62] bcachefs (loop2): bch2_write_super(): fatal error loop2: Superblock write was silently dropped! (seq 0 expected 53) [pid 5830] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] mkdir("./20", 0777 [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] <... clone resumed>, child_tidptr=0x55556439d650) = 6548 [pid 5830] newfstatat(AT_FDCWD, "./12/file0", [pid 5828] <... mkdir resumed>) = 0 [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] openat(AT_FDCWD, "/dev/loop1", O_RDWR./strace-static-x86_64: Process 6548 attached [pid 5830] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] <... openat resumed>) = 3 [pid 6548] set_robust_list(0x55556439d660, 24 [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] ioctl(3, LOOP_CLR_FD [pid 6548] <... set_robust_list resumed>) = 0 [pid 5830] openat(AT_FDCWD, "./12/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5828] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6548] chdir("./17" [pid 5830] <... openat resumed>) = 4 [pid 6548] <... chdir resumed>) = 0 [pid 5830] newfstatat(4, "", [pid 6548] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6548] <... prctl resumed>) = 0 [pid 5830] getdents64(4, [pid 5828] close(3 [pid 6548] setpgid(0, 0 [pid 5830] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5828] <... close resumed>) = 0 [pid 6548] <... setpgid resumed>) = 0 [pid 5830] getdents64(4, [pid 6548] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5828] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6548] <... openat resumed>) = 3 [pid 5830] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 ./strace-static-x86_64: Process 6549 attached [pid 5830] close(4 [pid 6548] write(3, "1000", 4 [pid 5830] <... close resumed>) = 0 [pid 6548] <... write resumed>) = 4 [pid 5830] rmdir("./12/file0" [pid 6548] close(3 [pid 5830] <... rmdir resumed>) = 0 [pid 6548] <... close resumed>) = 0 [pid 5830] umount2("./12/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6548] symlink("/dev/binderfs", "./binderfs" [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6548] <... symlink resumed>) = 0 [pid 5830] newfstatat(AT_FDCWD, "./12/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5828] <... clone resumed>, child_tidptr=0x55556439d650) = 6549 [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 executing program [pid 6548] write(1, "executing program\n", 18 [pid 5830] umount2("./12/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6548] <... write resumed>) = 18 [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6548] memfd_create("syzkaller", 0 [pid 5830] openat(AT_FDCWD, "./12/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6549] set_robust_list(0x55556439d660, 24 [pid 6548] <... memfd_create resumed>) = 3 [pid 5830] <... openat resumed>) = 4 [pid 5830] newfstatat(4, "", [pid 6548] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5830] getdents64(4, [pid 6549] <... set_robust_list resumed>) = 0 [pid 5830] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5830] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5830] close(4) = 0 [pid 6549] chdir("./20" [pid 5830] rmdir("./12/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5830] getdents64(3, 0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5830] close(3) = 0 [pid 5830] rmdir("./12") = 0 [pid 6549] <... chdir resumed>) = 0 [pid 6549] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6549] setpgid(0, 0) = 0 [pid 5830] mkdir("./13", 0777 [pid 6549] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5830] <... mkdir resumed>) = 0 [pid 5830] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6549] <... openat resumed>) = 3 [pid 6549] write(3, "1000", 4) = 4 [pid 6549] close(3 [pid 5830] <... openat resumed>) = 3 [ 95.275367][ T62] bcachefs (loop2): fatal error - emergency read only [ 95.282449][ T5829] bcachefs (loop2): flushing journal and stopping allocators complete, journal seq 3342 [ 95.308272][ T5829] bcachefs (loop2): unshutdown complete, journal seq 3342 [pid 5830] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5830] close(3) = 0 [pid 5830] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6550 attached [pid 6549] <... close resumed>) = 0 [pid 5830] <... clone resumed>, child_tidptr=0x55556439d650) = 6550 [pid 6549] symlink("/dev/binderfs", "./binderfs" [pid 6550] set_robust_list(0x55556439d660, 24) = 0 [pid 6549] <... symlink resumed>) = 0 [pid 6550] chdir("./13") = 0 [pid 6550] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6550] setpgid(0, 0) = 0 [pid 6550] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6550] write(3, "1000", 4 [pid 6549] write(1, "executing program\n", 18 [pid 6550] <... write resumed>) = 4 [pid 6550] close(3) = 0 [pid 6550] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 6550] write(1, "executing program\n", 18) = 18 [pid 6550] memfd_create("syzkaller", 0) = 3 [pid 6550] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0executing program ) = 0x7f3ebac00000 [pid 6549] <... write resumed>) = 18 [pid 6549] memfd_create("syzkaller", 0) = 3 [pid 6549] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [ 95.331195][ T5829] bcachefs (loop2): done going read-only, filesystem not clean [ 95.416277][ T5829] bcachefs (loop2): shutdown complete [pid 6547] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6548] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6550] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6549] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6547] <... write resumed>) = 16777216 [pid 6547] munmap(0x7f3ebac00000, 138412032) = 0 [pid 6547] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6547] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6547] close(3) = 0 [pid 6547] close(4) = 0 [pid 6547] mkdir("./file0", 0777) = 0 [ 95.854769][ T6547] loop0: detected capacity change from 0 to 32768 [pid 6547] mount("/dev/loop0", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6549] <... write resumed>) = 16777216 [pid 6550] <... write resumed>) = 16777216 [pid 6549] munmap(0x7f3ebac00000, 138412032 [pid 6548] <... write resumed>) = 16777216 [pid 6550] munmap(0x7f3ebac00000, 138412032 [pid 6548] munmap(0x7f3ebac00000, 138412032 [pid 6550] <... munmap resumed>) = 0 [pid 6549] <... munmap resumed>) = 0 [pid 6548] <... munmap resumed>) = 0 [pid 6549] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6550] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6549] ioctl(4, LOOP_SET_FD, 3 [pid 6548] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6550] <... openat resumed>) = 4 [pid 6549] <... ioctl resumed>) = 0 [pid 6550] ioctl(4, LOOP_SET_FD, 3 [pid 6549] close(3 [pid 6548] <... openat resumed>) = 4 [pid 6548] ioctl(4, LOOP_SET_FD, 3 [pid 6550] <... ioctl resumed>) = 0 [pid 6549] <... close resumed>) = 0 [pid 6550] close(3 [pid 6549] close(4) = 0 [pid 6548] <... ioctl resumed>) = 0 [pid 6550] <... close resumed>) = 0 [pid 6549] mkdir("./file0", 0777 [pid 6550] close(4 [pid 6549] <... mkdir resumed>) = 0 [pid 6548] close(3 [pid 6550] <... close resumed>) = 0 [pid 6550] mkdir("./file0", 0777 [pid 6548] <... close resumed>) = 0 [pid 6550] <... mkdir resumed>) = 0 [pid 6549] mount("/dev/loop1", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6548] close(4) = 0 [pid 6548] mkdir("./file0", 0777) = 0 [pid 6550] mount("/dev/loop3", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [ 96.003914][ T6549] loop1: detected capacity change from 0 to 32768 [ 96.020463][ T6550] loop3: detected capacity change from 0 to 32768 [ 96.020980][ T6548] loop4: detected capacity change from 0 to 32768 [ 96.314356][ T6548] bcachefs (loop4): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 96.316948][ T6547] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 96.339946][ T6548] bcachefs (loop4): recovering from clean shutdown, journal seq 3338 [ 96.363960][ T6547] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 96.369349][ T6549] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 96.392950][ T6548] bcachefs (loop4): Version upgrade required: [ 96.392950][ T6548] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 96.392950][ T6548] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 96.392950][ T6548] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 96.432812][ T6550] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 96.484319][ T6550] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 96.489326][ T6549] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 96.524469][ T6548] bcachefs (loop4): dropping and reconstructing all alloc info [ 96.559038][ T6548] bcachefs (loop4): accounting_read... done [ 96.596255][ T6548] bcachefs (loop4): alloc_read... done [ 96.605771][ T6548] bcachefs (loop4): stripes_read... done [ 96.611851][ T6548] bcachefs (loop4): snapshots_read... done [pid 6548] mount("/dev/loop4", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6549] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6549] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 6549] ioctl(3, LOOP_CLR_FD) = 0 [ 96.628415][ T6548] bcachefs (loop4): check_allocations... [ 96.633677][ T6549] bcachefs: bch2_fs_get_tree() error: EINVAL [ 96.668939][ T6547] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6549] close(3 [pid 6547] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6550] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6547] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 6547] ioctl(3, LOOP_CLR_FD) = 0 [pid 6550] openat(AT_FDCWD, "/dev/loop3", O_RDWR [ 96.688678][ T6548] done [ 96.693943][ T6550] bcachefs: bch2_fs_get_tree() error: EINVAL [ 96.708651][ T6548] bcachefs (loop4): going read-write [pid 6547] close(3 [pid 6550] <... openat resumed>) = 3 [pid 6550] ioctl(3, LOOP_CLR_FD) = 0 [pid 6550] close(3 [pid 6548] <... mount resumed>) = 0 [pid 6548] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6548] chdir("./file0") = 0 [pid 6548] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6548] ioctl(4, LOOP_CLR_FD) = 0 [pid 6548] close(4) = 0 [pid 6548] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [pid 6548] exit_group(0) = ? [pid 6548] +++ exited with 0 +++ [pid 5831] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6548, si_uid=0, si_status=0, si_utime=8 /* 0.08 s */, si_stime=34 /* 0.34 s */} --- [pid 5831] restart_syscall(<... resuming interrupted clone ...> [pid 5829] <... umount2 resumed>) = 0 [pid 5831] <... restart_syscall resumed>) = 0 [ 96.753180][ T6548] bcachefs (loop4): done starting filesystem [pid 5829] umount2("./16/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] umount2("./17", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5829] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5829] newfstatat(AT_FDCWD, "./16/file0", [pid 5831] openat(AT_FDCWD, "./17", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5829] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] newfstatat(3, "", [pid 5829] umount2("./16/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5829] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] getdents64(3, [pid 5829] openat(AT_FDCWD, "./16/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5829] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5829] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5831] <... getdents64 resumed>0x55556439e6f0 /* 4 entries */, 32768) = 112 [pid 5829] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5829] close(4 [pid 5831] umount2("./17/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5829] <... close resumed>) = 0 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5829] rmdir("./16/file0" [pid 5831] newfstatat(AT_FDCWD, "./17/binderfs", [pid 5829] <... rmdir resumed>) = 0 [pid 5829] getdents64(3, [pid 5831] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5829] <... getdents64 resumed>0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5829] close(3) = 0 [pid 5829] rmdir("./16" [pid 5831] unlink("./17/binderfs" [pid 5829] <... rmdir resumed>) = 0 [pid 5829] mkdir("./17", 0777 [pid 5831] <... unlink resumed>) = 0 [pid 5829] <... mkdir resumed>) = 0 [pid 5829] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5831] umount2("./17/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5829] <... openat resumed>) = 3 [pid 5829] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5829] close(3) = 0 [pid 5829] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6587 attached , child_tidptr=0x55556439d650) = 6587 [pid 6587] set_robust_list(0x55556439d660, 24) = 0 [pid 6587] chdir("./17" [pid 6549] <... close resumed>) = 0 [pid 6549] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 6587] <... chdir resumed>) = 0 [pid 6549] <... mkdirat resumed>) = 0 [pid 6587] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6587] setpgid(0, 0) = 0 [pid 6549] exit_group(0 [pid 6587] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6549] <... exit_group resumed>) = ? [pid 6587] <... openat resumed>) = 3 [pid 6587] write(3, "1000", 4) = 4 [pid 6587] close(3) = 0 [pid 6587] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 6587] write(1, "executing program\n", 18) = 18 [ 96.905319][ T5831] bcachefs (loop4): shutting down [ 96.911173][ T5831] bcachefs (loop4): going read-only [ 96.916694][ T5831] bcachefs (loop4): finished waiting for writes to stop [pid 6587] memfd_create("syzkaller", 0) = 3 [pid 6587] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [pid 6549] +++ exited with 0 +++ [pid 5828] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6549, si_uid=0, si_status=0, si_utime=9 /* 0.09 s */, si_stime=39 /* 0.39 s */} --- [pid 5828] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5828] umount2("./20", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] openat(AT_FDCWD, "./20", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5828] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] getdents64(3, 0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5828] umount2("./20/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] newfstatat(AT_FDCWD, "./20/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] unlink("./20/binderfs") = 0 [pid 5828] umount2("./20/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] newfstatat(AT_FDCWD, "./20/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] umount2("./20/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] openat(AT_FDCWD, "./20/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5828] newfstatat(4, "", [pid 6550] <... close resumed>) = 0 [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] getdents64(4, [pid 6550] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5828] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 6550] <... mkdirat resumed>) = 0 [pid 5828] getdents64(4, [pid 6550] exit_group(0) = ? [pid 5828] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5828] close(4) = 0 [pid 5828] rmdir("./20/file0" [pid 6550] +++ exited with 0 +++ [pid 5828] <... rmdir resumed>) = 0 [pid 5828] umount2("./20/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5830] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6550, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=39 /* 0.39 s */} --- [pid 5830] restart_syscall(<... resuming interrupted clone ...> [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 96.948468][ T5831] bcachefs (loop4): flushing journal and stopping allocators, journal seq 3340 [pid 5828] newfstatat(AT_FDCWD, "./20/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] umount2("./20/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6547] <... close resumed>) = 0 [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] openat(AT_FDCWD, "./20/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5828] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5828] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5828] close(4) = 0 [pid 5828] rmdir("./20/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 6547] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5828] <... rmdir resumed>) = 0 [pid 5828] getdents64(3, [pid 6547] <... mkdirat resumed>) = 0 [pid 5830] <... restart_syscall resumed>) = 0 [pid 6547] exit_group(0 [pid 5830] umount2("./13", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6547] <... exit_group resumed>) = ? [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] <... getdents64 resumed>0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5828] close(3) = 0 [pid 5828] rmdir("./20" [pid 6547] +++ exited with 0 +++ [pid 5830] openat(AT_FDCWD, "./13", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5828] <... rmdir resumed>) = 0 [pid 5830] <... openat resumed>) = 3 [pid 5828] mkdir("./21", 0777 [pid 5830] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] <... mkdir resumed>) = 0 [pid 5827] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6547, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=42 /* 0.42 s */} --- [pid 5830] getdents64(3, 0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5828] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5827] restart_syscall(<... resuming interrupted clone ...> [pid 5830] umount2("./13/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] <... openat resumed>) = 3 [pid 5827] <... restart_syscall resumed>) = 0 [pid 5830] newfstatat(AT_FDCWD, "./13/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] ioctl(3, LOOP_CLR_FD [pid 5827] umount2("./14", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5830] unlink("./13/binderfs" [pid 5828] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5830] <... unlink resumed>) = 0 [pid 5828] close(3 [pid 5827] openat(AT_FDCWD, "./14", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5830] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] <... close resumed>) = 0 [pid 5827] <... openat resumed>) = 3 [pid 5828] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5827] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5827] getdents64(3, 0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5827] umount2("./14/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5827] newfstatat(AT_FDCWD, "./14/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5827] unlink("./14/binderfs") = 0 [pid 5827] umount2("./14/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) ./strace-static-x86_64: Process 6588 attached [pid 5827] newfstatat(AT_FDCWD, "./14/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5827] umount2("./14/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5830] newfstatat(AT_FDCWD, "./13/file0", [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5827] openat(AT_FDCWD, "./14/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6588] set_robust_list(0x55556439d660, 24 [pid 5830] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5827] <... openat resumed>) = 4 [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6588] <... set_robust_list resumed>) = 0 [pid 5827] newfstatat(4, "", [pid 6588] chdir("./21" [pid 5828] <... clone resumed>, child_tidptr=0x55556439d650) = 6588 [pid 5827] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6588] <... chdir resumed>) = 0 [pid 5827] getdents64(4, [pid 6588] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5827] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 6588] <... prctl resumed>) = 0 [pid 5827] getdents64(4, [pid 6588] setpgid(0, 0 [pid 5827] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 6588] <... setpgid resumed>) = 0 [pid 5827] close(4 [pid 6588] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5827] <... close resumed>) = 0 [pid 6588] <... openat resumed>) = 3 [pid 5827] rmdir("./14/file0" [pid 6588] write(3, "1000", 4 [pid 5827] <... rmdir resumed>) = 0 [pid 6588] <... write resumed>) = 4 [pid 5827] umount2("./14/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6588] close(3 [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6588] <... close resumed>) = 0 [pid 5827] newfstatat(AT_FDCWD, "./14/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 6588] symlink("/dev/binderfs", "./binderfs" [pid 5827] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6588] <... symlink resumed>) = 0 [pid 5827] umount2("./14/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) executing program [pid 6588] write(1, "executing program\n", 18 [pid 5830] openat(AT_FDCWD, "./13/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5827] openat(AT_FDCWD, "./14/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6588] <... write resumed>) = 18 [pid 5827] <... openat resumed>) = 4 [pid 6588] memfd_create("syzkaller", 0 [ 97.027532][ T35] bcachefs (loop4): bch2_write_super(): fatal error loop4: Superblock write was silently dropped! (seq 0 expected 53) [pid 5827] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6588] <... memfd_create resumed>) = 3 [pid 5830] <... openat resumed>) = 4 [pid 5830] newfstatat(4, "", [pid 6588] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6588] <... mmap resumed>) = 0x7f3ebac00000 [pid 5830] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5830] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5830] close(4) = 0 [pid 5830] rmdir("./13/file0" [pid 5827] getdents64(4, [pid 5830] <... rmdir resumed>) = 0 [pid 5830] umount2("./13/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] newfstatat(AT_FDCWD, "./13/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5827] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5827] getdents64(4, [pid 5830] umount2("./13/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] openat(AT_FDCWD, "./13/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5827] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5830] <... openat resumed>) = 4 [pid 5830] newfstatat(4, "", [pid 5827] close(4 [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5830] getdents64(4, [pid 5827] <... close resumed>) = 0 [pid 5830] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5827] rmdir("./14/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5830] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5827] <... rmdir resumed>) = 0 [pid 5830] close(4 [pid 5827] getdents64(3, 0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5830] <... close resumed>) = 0 [pid 5827] close(3) = 0 [pid 5827] rmdir("./14" [pid 5830] rmdir("./13/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5827] <... rmdir resumed>) = 0 [pid 5827] mkdir("./15", 0777) = 0 [pid 5827] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5830] <... rmdir resumed>) = 0 [pid 5830] getdents64(3, [pid 5827] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5830] <... getdents64 resumed>0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5827] close(3 [pid 5830] close(3 [pid 5827] <... close resumed>) = 0 [pid 5830] <... close resumed>) = 0 [pid 5830] rmdir("./13" [pid 5827] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6589 attached [ 97.075981][ T35] bcachefs (loop4): fatal error - emergency read only [ 97.116099][ T5831] bcachefs (loop4): flushing journal and stopping allocators complete, journal seq 3342 , child_tidptr=0x55556439d650) = 6589 [pid 6589] set_robust_list(0x55556439d660, 24) = 0 [pid 6589] chdir("./15") = 0 [pid 6589] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6589] setpgid(0, 0) = 0 [pid 6589] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6589] write(3, "1000", 4) = 4 [pid 5830] <... rmdir resumed>) = 0 [pid 6589] close(3) = 0 [pid 6589] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6589] write(1, "executing program\n", 18 [pid 5830] mkdir("./14", 0777 [pid 6589] <... write resumed>) = 18 [pid 6589] memfd_create("syzkaller", 0 [pid 5830] <... mkdir resumed>) = 0 [pid 6589] <... memfd_create resumed>) = 3 [pid 6589] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [pid 5830] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5830] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [ 97.149009][ T5831] bcachefs (loop4): unshutdown complete, journal seq 3342 [ 97.173950][ T5831] bcachefs (loop4): done going read-only, filesystem not clean [pid 5830] close(3) = 0 [pid 5830] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6587] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5830] <... clone resumed>, child_tidptr=0x55556439d650) = 6591 ./strace-static-x86_64: Process 6591 attached [pid 6591] set_robust_list(0x55556439d660, 24) = 0 [pid 6591] chdir("./14") = 0 [pid 6591] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6591] setpgid(0, 0) = 0 [pid 6591] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6591] write(3, "1000", 4) = 4 [pid 6591] close(3) = 0 [pid 6591] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 6591] write(1, "executing program\n", 18) = 18 [pid 6591] memfd_create("syzkaller", 0) = 3 [pid 6591] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [ 97.265119][ T5831] bcachefs (loop4): shutdown complete [pid 6588] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6587] <... write resumed>) = 16777216 [pid 6587] munmap(0x7f3ebac00000, 138412032) = 0 [pid 6587] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6587] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6587] close(3 [pid 6589] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6587] <... close resumed>) = 0 [pid 6587] close(4) = 0 [pid 6587] mkdir("./file0", 0777) = 0 [pid 6587] mount("/dev/loop2", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [ 97.514786][ T6587] loop2: detected capacity change from 0 to 32768 [pid 6591] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6591] munmap(0x7f3ebac00000, 138412032) = 0 [pid 6588] <... write resumed>) = 16777216 [pid 6591] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6588] munmap(0x7f3ebac00000, 138412032) = 0 [pid 6591] <... openat resumed>) = 4 [pid 6589] <... write resumed>) = 16777216 [pid 6588] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6591] ioctl(4, LOOP_SET_FD, 3 [pid 6589] munmap(0x7f3ebac00000, 138412032 [pid 6588] <... openat resumed>) = 4 [pid 6591] <... ioctl resumed>) = 0 [pid 6588] ioctl(4, LOOP_SET_FD, 3 [pid 6591] close(3) = 0 [pid 6591] close(4) = 0 [pid 6591] mkdir("./file0", 0777 [pid 6589] <... munmap resumed>) = 0 [pid 6588] <... ioctl resumed>) = 0 [pid 6591] <... mkdir resumed>) = 0 [pid 6589] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6588] close(3 [pid 6591] mount("/dev/loop3", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6588] <... close resumed>) = 0 [pid 6589] <... openat resumed>) = 4 [pid 6588] close(4 [pid 6589] ioctl(4, LOOP_SET_FD, 3 [pid 6588] <... close resumed>) = 0 [pid 6588] mkdir("./file0", 0777 [pid 6589] <... ioctl resumed>) = 0 [pid 6589] close(3 [pid 6588] <... mkdir resumed>) = 0 [pid 6589] <... close resumed>) = 0 [pid 6588] mount("/dev/loop1", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6589] close(4) = 0 [pid 6589] mkdir("./file0", 0777) = 0 [ 97.810983][ T6591] loop3: detected capacity change from 0 to 32768 [ 97.818323][ T6588] loop1: detected capacity change from 0 to 32768 [ 97.835445][ T6589] loop0: detected capacity change from 0 to 32768 [ 98.023244][ T6587] bcachefs (loop2): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 98.035511][ T6591] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 98.045009][ T6587] bcachefs (loop2): recovering from clean shutdown, journal seq 3338 [ 98.061901][ T6587] bcachefs (loop2): Version upgrade required: [ 98.061901][ T6587] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 98.061901][ T6587] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 98.061901][ T6587] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 98.092739][ T6591] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 98.134705][ T6589] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 98.172736][ T6589] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 98.173271][ T6588] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 98.191412][ T6587] bcachefs (loop2): dropping and reconstructing all alloc info [ 98.247025][ T6588] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [pid 6589] mount("/dev/loop0", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"...) = -1 EINVAL (Invalid argument) [pid 6589] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 6589] ioctl(3, LOOP_CLR_FD) = 0 [ 98.300778][ T6587] bcachefs (loop2): accounting_read... done [ 98.328868][ T6589] bcachefs: bch2_fs_get_tree() error: EINVAL [ 98.340693][ T6587] bcachefs (loop2): alloc_read... done [ 98.358491][ T6591] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6589] close(3 [pid 6591] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6591] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 6591] ioctl(3, LOOP_CLR_FD) = 0 [pid 6591] close(3 [pid 6588] <... mount resumed>) = -1 EINVAL (Invalid argument) [ 98.373295][ T6587] bcachefs (loop2): stripes_read... done [ 98.379037][ T6587] bcachefs (loop2): snapshots_read... done [ 98.410976][ T6587] bcachefs (loop2): check_allocations... [ 98.411307][ T6588] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6588] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 6588] ioctl(3, LOOP_CLR_FD) = 0 [pid 6588] close(3 [pid 5831] <... umount2 resumed>) = 0 [pid 5831] umount2("./17/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] newfstatat(AT_FDCWD, "./17/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] umount2("./17/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] openat(AT_FDCWD, "./17/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5831] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5831] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5831] close(4) = 0 [pid 5831] rmdir("./17/file0") = 0 [pid 5831] getdents64(3, 0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5831] close(3) = 0 [pid 5831] rmdir("./17") = 0 [pid 5831] mkdir("./18", 0777) = 0 [pid 5831] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5831] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5831] close(3) = 0 [pid 5831] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6621 attached , child_tidptr=0x55556439d650) = 6621 [pid 6621] set_robust_list(0x55556439d660, 24) = 0 [pid 6621] chdir("./18") = 0 [pid 6621] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6621] setpgid(0, 0) = 0 [ 98.541273][ T6587] done [pid 6621] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6621] write(3, "1000", 4) = 4 [pid 6621] close(3) = 0 [pid 6621] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6621] write(1, "executing program\n", 18) = 18 [pid 6621] memfd_create("syzkaller", 0) = 3 [pid 6621] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [pid 6589] <... close resumed>) = 0 [ 98.576781][ T6587] bcachefs (loop2): going read-write [pid 6589] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [pid 6589] exit_group(0) = ? [pid 6589] +++ exited with 0 +++ [pid 5827] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6589, si_uid=0, si_status=0, si_utime=8 /* 0.08 s */, si_stime=36 /* 0.36 s */} --- [pid 5827] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5827] umount2("./15", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5827] openat(AT_FDCWD, "./15", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5827] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6587] <... mount resumed>) = 0 [pid 5827] getdents64(3, [pid 6587] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5827] <... getdents64 resumed>0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5827] umount2("./15/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6587] chdir("./file0" [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6587] <... chdir resumed>) = 0 [pid 5827] newfstatat(AT_FDCWD, "./15/binderfs", [pid 6587] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5827] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6587] <... openat resumed>) = 4 [pid 5827] unlink("./15/binderfs" [pid 6587] ioctl(4, LOOP_CLR_FD [pid 5827] <... unlink resumed>) = 0 [pid 6587] <... ioctl resumed>) = 0 [ 98.612918][ T6587] bcachefs (loop2): done starting filesystem [pid 5827] umount2("./15/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6587] close(4 [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6587] <... close resumed>) = 0 [pid 5827] newfstatat(AT_FDCWD, "./15/file0", [pid 6587] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5827] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5827] umount2("./15/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6587] <... mkdirat resumed>) = 0 [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6587] exit_group(0 [pid 5827] openat(AT_FDCWD, "./15/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6591] <... close resumed>) = 0 [pid 6587] <... exit_group resumed>) = ? [pid 5827] <... openat resumed>) = 4 [pid 5827] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5827] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5827] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5827] close(4) = 0 [pid 6587] +++ exited with 0 +++ [pid 5827] rmdir("./15/file0" [pid 5829] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6587, si_uid=0, si_status=0, si_utime=9 /* 0.09 s */, si_stime=42 /* 0.42 s */} --- [pid 5827] <... rmdir resumed>) = 0 [pid 5829] restart_syscall(<... resuming interrupted clone ...> [pid 5827] umount2("./15/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5827] newfstatat(AT_FDCWD, "./15/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5827] umount2("./15/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 6591] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5827] openat(AT_FDCWD, "./15/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5829] <... restart_syscall resumed>) = 0 [pid 5829] umount2("./17", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5827] <... openat resumed>) = 4 [pid 5829] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5829] openat(AT_FDCWD, "./17", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6591] <... mkdirat resumed>) = 0 [pid 5829] <... openat resumed>) = 3 [pid 5827] newfstatat(4, "", [pid 6591] exit_group(0 [pid 5829] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5829] getdents64(3, 0x55556439e6f0 /* 4 entries */, 32768) = 112 [pid 5829] umount2("./17/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] newfstatat(AT_FDCWD, "./17/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5829] unlink("./17/binderfs") = 0 [pid 5829] umount2("./17/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6591] <... exit_group resumed>) = ? [pid 5827] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6591] +++ exited with 0 +++ [pid 5827] getdents64(4, [pid 5830] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6591, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=39 /* 0.39 s */} --- [pid 5830] umount2("./14", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] openat(AT_FDCWD, "./14", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5830] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5830] getdents64(3, 0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5830] umount2("./14/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] newfstatat(AT_FDCWD, "./14/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5830] unlink("./14/binderfs" [pid 6588] <... close resumed>) = 0 [pid 6588] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5830] <... unlink resumed>) = 0 [pid 5827] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5830] umount2("./14/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6588] <... mkdirat resumed>) = 0 [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5827] getdents64(4, [pid 5830] newfstatat(AT_FDCWD, "./14/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6588] exit_group(0 [pid 5827] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 6588] <... exit_group resumed>) = ? [pid 5830] umount2("./14/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5827] close(4 [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5827] <... close resumed>) = 0 [pid 6588] +++ exited with 0 +++ [pid 5830] openat(AT_FDCWD, "./14/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5827] rmdir("./15/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5828] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6588, si_uid=0, si_status=0, si_utime=8 /* 0.08 s */, si_stime=39 /* 0.39 s */} --- [pid 5827] <... rmdir resumed>) = 0 [pid 5828] umount2("./21", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5827] getdents64(3, [pid 5830] <... openat resumed>) = 4 [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] openat(AT_FDCWD, "./21", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5830] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5830] getdents64(4, [pid 5828] getdents64(3, [pid 5830] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5828] <... getdents64 resumed>0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5830] getdents64(4, [pid 5828] umount2("./21/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5830] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5830] close(4 [pid 5828] newfstatat(AT_FDCWD, "./21/binderfs", [pid 5830] <... close resumed>) = 0 [pid 5828] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5830] rmdir("./14/file0" [pid 5828] unlink("./21/binderfs" [pid 5827] <... getdents64 resumed>0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5830] <... rmdir resumed>) = 0 [pid 5828] <... unlink resumed>) = 0 [pid 5830] umount2("./14/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] umount2("./21/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5830] newfstatat(AT_FDCWD, "./14/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5828] newfstatat(AT_FDCWD, "./21/file0", [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5830] umount2("./14/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] umount2("./21/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5827] close(3 [pid 5830] openat(AT_FDCWD, "./14/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5828] openat(AT_FDCWD, "./21/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5830] <... openat resumed>) = 4 [pid 5828] <... openat resumed>) = 4 [pid 5827] <... close resumed>) = 0 [pid 5828] newfstatat(4, "", [pid 5830] newfstatat(4, "", [pid 5828] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5827] rmdir("./15" [pid 5828] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5828] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5828] close(4) = 0 [ 98.732595][ T5829] bcachefs (loop2): shutting down [ 98.753412][ T5829] bcachefs (loop2): going read-only [ 98.773313][ T5829] bcachefs (loop2): finished waiting for writes to stop [pid 5828] rmdir("./21/file0") = 0 [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5827] <... rmdir resumed>) = 0 [pid 5830] getdents64(4, [pid 5828] umount2("./21/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] newfstatat(AT_FDCWD, "./21/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] umount2("./21/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] openat(AT_FDCWD, "./21/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5828] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5828] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5828] close(4) = 0 [pid 5828] rmdir("./21/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5828] getdents64(3, 0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5828] close(3) = 0 [pid 5828] rmdir("./21") = 0 [pid 5830] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5827] mkdir("./16", 0777 [pid 5830] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5827] <... mkdir resumed>) = 0 [pid 5830] close(4 [pid 5827] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5830] <... close resumed>) = 0 [pid 5830] rmdir("./14/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5828] mkdir("./22", 0777 [pid 5827] <... openat resumed>) = 3 [pid 5830] <... rmdir resumed>) = 0 [pid 5828] <... mkdir resumed>) = 0 [pid 5827] ioctl(3, LOOP_CLR_FD [pid 5830] getdents64(3, 0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5828] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5830] close(3 [pid 5827] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5830] <... close resumed>) = 0 [pid 5828] <... openat resumed>) = 3 [pid 5827] close(3 [pid 5830] rmdir("./14" [pid 5827] <... close resumed>) = 0 [pid 5830] <... rmdir resumed>) = 0 [pid 5827] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5828] ioctl(3, LOOP_CLR_FD./strace-static-x86_64: Process 6624 attached [pid 5830] mkdir("./15", 0777 [pid 5828] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5828] close(3) = 0 [pid 5828] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5830] <... mkdir resumed>) = 0 [pid 5827] <... clone resumed>, child_tidptr=0x55556439d650) = 6624 [ 98.785791][ T5829] bcachefs (loop2): flushing journal and stopping allocators, journal seq 3339 ./strace-static-x86_64: Process 6625 attached [pid 5830] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6624] set_robust_list(0x55556439d660, 24 [pid 5830] <... openat resumed>) = 3 [pid 6624] <... set_robust_list resumed>) = 0 [pid 5830] ioctl(3, LOOP_CLR_FD [pid 6625] set_robust_list(0x55556439d660, 24 [pid 6624] chdir("./16" [pid 5830] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6624] <... chdir resumed>) = 0 [pid 5828] <... clone resumed>, child_tidptr=0x55556439d650) = 6625 [pid 6624] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6624] setpgid(0, 0) = 0 [pid 6624] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6624] write(3, "1000", 4) = 4 [pid 6624] close(3) = 0 [pid 6624] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6624] write(1, "executing program\n", 18) = 18 [pid 6624] memfd_create("syzkaller", 0) = 3 [pid 6624] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [pid 5830] close(3 [pid 6625] <... set_robust_list resumed>) = 0 [pid 6625] chdir("./22" [pid 5830] <... close resumed>) = 0 [pid 6625] <... chdir resumed>) = 0 [pid 5830] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6625] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 ./strace-static-x86_64: Process 6626 attached [pid 6625] setpgid(0, 0 [pid 5830] <... clone resumed>, child_tidptr=0x55556439d650) = 6626 [pid 6625] <... setpgid resumed>) = 0 [pid 6625] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6626] set_robust_list(0x55556439d660, 24 [pid 6625] <... openat resumed>) = 3 [pid 6626] <... set_robust_list resumed>) = 0 [pid 6625] write(3, "1000", 4 [pid 6626] chdir("./15" [pid 6625] <... write resumed>) = 4 [pid 6626] <... chdir resumed>) = 0 [pid 6625] close(3 [pid 6626] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6625] <... close resumed>) = 0 [pid 6626] <... prctl resumed>) = 0 [pid 6625] symlink("/dev/binderfs", "./binderfs" [pid 6626] setpgid(0, 0) = 0 [pid 6625] <... symlink resumed>) = 0 [pid 6626] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6625] write(1, "executing program\n", 18executing program [pid 6626] <... openat resumed>) = 3 [pid 6625] <... write resumed>) = 18 [pid 6621] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6625] memfd_create("syzkaller", 0executing program ) = 3 [pid 6625] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6626] write(3, "1000", 4) = 4 [pid 6626] close(3) = 0 [pid 6626] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6626] write(1, "executing program\n", 18) = 18 [pid 6626] memfd_create("syzkaller", 0) = 3 [pid 6625] <... mmap resumed>) = 0x7f3ebac00000 [pid 6626] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [ 98.897277][ T35] bcachefs (loop2): bch2_write_super(): fatal error loop2: Superblock write was silently dropped! (seq 0 expected 53) [ 98.943928][ T35] bcachefs (loop2): fatal error - emergency read only [ 98.952318][ T5829] bcachefs (loop2): flushing journal and stopping allocators complete, journal seq 3342 [ 98.992795][ T5829] bcachefs (loop2): unshutdown complete, journal seq 3342 [ 99.000936][ T5829] bcachefs (loop2): done going read-only, filesystem not clean [pid 6621] <... write resumed>) = 16777216 [pid 6621] munmap(0x7f3ebac00000, 138412032) = 0 [pid 6621] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [ 99.095582][ T5829] bcachefs (loop2): shutdown complete [pid 6621] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6621] close(3) = 0 [pid 6621] close(4) = 0 [pid 6621] mkdir("./file0", 0777) = 0 [pid 6621] mount("/dev/loop4", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [ 99.142918][ T6621] loop4: detected capacity change from 0 to 32768 [pid 6626] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6624] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6625] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6624] <... write resumed>) = 16777216 [pid 6624] munmap(0x7f3ebac00000, 138412032) = 0 [pid 6626] <... write resumed>) = 16777216 [pid 6624] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6626] munmap(0x7f3ebac00000, 138412032 [pid 6624] <... openat resumed>) = 4 [pid 6626] <... munmap resumed>) = 0 [pid 6624] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6626] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6625] <... write resumed>) = 16777216 [pid 6624] close(3 [pid 6625] munmap(0x7f3ebac00000, 138412032 [pid 6626] <... openat resumed>) = 4 [pid 6624] <... close resumed>) = 0 [pid 6626] ioctl(4, LOOP_SET_FD, 3 [pid 6624] close(4 [pid 6625] <... munmap resumed>) = 0 [pid 6626] <... ioctl resumed>) = 0 [pid 6625] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6624] <... close resumed>) = 0 [pid 6625] <... openat resumed>) = 4 [pid 6626] close(3 [pid 6624] mkdir("./file0", 0777 [pid 6626] <... close resumed>) = 0 [pid 6626] close(4 [pid 6625] ioctl(4, LOOP_SET_FD, 3 [pid 6624] <... mkdir resumed>) = 0 [pid 6626] <... close resumed>) = 0 [pid 6626] mkdir("./file0", 0777) = 0 [pid 6624] mount("/dev/loop0", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6626] mount("/dev/loop3", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6625] <... ioctl resumed>) = 0 [pid 6625] close(3) = 0 [pid 6625] close(4) = 0 [pid 6625] mkdir("./file0", 0777) = 0 [ 99.494782][ T6624] loop0: detected capacity change from 0 to 32768 [ 99.514703][ T6626] loop3: detected capacity change from 0 to 32768 [ 99.527342][ T6625] loop1: detected capacity change from 0 to 32768 [ 99.639996][ T6621] bcachefs (loop4): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 99.661248][ T6621] bcachefs (loop4): recovering from clean shutdown, journal seq 3338 [ 99.669562][ T6621] bcachefs (loop4): Version upgrade required: [ 99.669562][ T6621] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 99.669562][ T6621] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 99.669562][ T6621] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 99.715790][ T6624] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 99.751388][ T6624] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 99.759568][ T6625] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 99.773344][ T6621] bcachefs (loop4): dropping and reconstructing all alloc info [ 99.774464][ T6625] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 99.789670][ T6626] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 99.812702][ T6626] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 99.896832][ T6621] bcachefs (loop4): accounting_read... [ 99.907704][ T6625] bcachefs: bch2_fs_get_tree() error: EINVAL [ 99.929860][ T6621] done [pid 6625] mount("/dev/loop1", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"...) = -1 EINVAL (Invalid argument) [pid 6625] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 6625] ioctl(3, LOOP_CLR_FD) = 0 [pid 6625] close(3 [pid 6624] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6624] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 6624] ioctl(3, LOOP_CLR_FD) = 0 [ 99.949076][ T6621] bcachefs (loop4): alloc_read... done [ 99.956386][ T6624] bcachefs: bch2_fs_get_tree() error: EINVAL [ 99.972749][ T6621] bcachefs (loop4): stripes_read... done [ 99.986727][ T6621] bcachefs (loop4): snapshots_read... done [pid 6624] close(3 [pid 6626] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6626] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 6626] ioctl(3, LOOP_CLR_FD) = 0 [ 100.009780][ T6621] bcachefs (loop4): check_allocations... [ 100.016669][ T6626] bcachefs: bch2_fs_get_tree() error: EINVAL [ 100.096952][ T6621] done [pid 6626] close(3 [pid 5829] <... umount2 resumed>) = 0 [pid 5829] umount2("./17/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] newfstatat(AT_FDCWD, "./17/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5829] umount2("./17/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5829] openat(AT_FDCWD, "./17/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5829] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5829] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5829] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5829] close(4) = 0 [pid 5829] rmdir("./17/file0") = 0 [pid 5829] getdents64(3, 0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5829] close(3) = 0 [pid 5829] rmdir("./17") = 0 [ 100.134105][ T6621] bcachefs (loop4): going read-write [pid 5829] mkdir("./18", 0777) = 0 [pid 5829] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5829] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5829] close(3) = 0 [pid 5829] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6657 attached [pid 6657] set_robust_list(0x55556439d660, 24) = 0 [pid 6657] chdir("./18") = 0 [pid 5829] <... clone resumed>, child_tidptr=0x55556439d650) = 6657 [pid 6657] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6657] setpgid(0, 0 [pid 6621] <... mount resumed>) = 0 [pid 6657] <... setpgid resumed>) = 0 [pid 6625] <... close resumed>) = 0 [pid 6657] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6625] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 6621] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 6657] <... openat resumed>) = 3 [pid 6621] <... openat resumed>) = 3 [pid 6657] write(3, "1000", 4 [pid 6625] <... mkdirat resumed>) = 0 [pid 6621] chdir("./file0" [pid 6657] <... write resumed>) = 4 [pid 6657] close(3 [pid 6625] exit_group(0 [pid 6621] <... chdir resumed>) = 0 [pid 6657] <... close resumed>) = 0 executing program [pid 6621] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6657] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6625] <... exit_group resumed>) = ? [pid 6621] <... openat resumed>) = 4 [pid 6657] write(1, "executing program\n", 18) = 18 [pid 6657] memfd_create("syzkaller", 0) = 3 [pid 6657] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [pid 6625] +++ exited with 0 +++ [pid 6621] ioctl(4, LOOP_CLR_FD) = 0 [pid 6621] close(4 [pid 5828] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6625, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=33 /* 0.33 s */} --- [ 100.193364][ T6621] bcachefs (loop4): done starting filesystem [pid 6621] <... close resumed>) = 0 [pid 6621] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 6626] <... close resumed>) = 0 [pid 6626] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 6621] <... mkdirat resumed>) = 0 [pid 5828] umount2("./22", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6626] <... mkdirat resumed>) = 0 [pid 6621] exit_group(0 [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] openat(AT_FDCWD, "./22", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5828] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] getdents64(3, 0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5828] umount2("./22/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] newfstatat(AT_FDCWD, "./22/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] unlink("./22/binderfs") = 0 [pid 5828] umount2("./22/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] newfstatat(AT_FDCWD, "./22/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] umount2("./22/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5828] openat(AT_FDCWD, "./22/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6621] <... exit_group resumed>) = ? [pid 5828] <... openat resumed>) = 4 [pid 5828] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5828] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5828] close(4) = 0 [pid 5828] rmdir("./22/file0" [pid 6626] exit_group(0 [pid 6621] +++ exited with 0 +++ [pid 5828] <... rmdir resumed>) = 0 [pid 5831] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6621, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=35 /* 0.35 s */} --- [pid 5828] umount2("./22/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] restart_syscall(<... resuming interrupted clone ...> [pid 6626] <... exit_group resumed>) = ? [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] <... restart_syscall resumed>) = 0 [pid 5828] newfstatat(AT_FDCWD, "./22/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] umount2("./22/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] umount2("./18", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6624] <... close resumed>) = 0 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] openat(AT_FDCWD, "./22/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5828] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5828] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5828] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 6626] +++ exited with 0 +++ [pid 5831] openat(AT_FDCWD, "./18", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5828] close(4 [pid 5830] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6626, si_uid=0, si_status=0, si_utime=9 /* 0.09 s */, si_stime=39 /* 0.39 s */} --- [pid 5831] <... openat resumed>) = 3 [pid 5830] restart_syscall(<... resuming interrupted clone ...> [pid 5831] newfstatat(3, "", [pid 5828] <... close resumed>) = 0 [pid 5828] rmdir("./22/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 6624] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5828] <... rmdir resumed>) = 0 [pid 6624] <... mkdirat resumed>) = 0 [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6624] exit_group(0 [pid 5828] getdents64(3, 0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 6624] <... exit_group resumed>) = ? [pid 5828] close(3 [pid 6624] +++ exited with 0 +++ [pid 5831] getdents64(3, 0x55556439e6f0 /* 4 entries */, 32768) = 112 [pid 5828] <... close resumed>) = 0 [pid 5827] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6624, si_uid=0, si_status=0, si_utime=9 /* 0.09 s */, si_stime=38 /* 0.38 s */} --- [pid 5831] umount2("./18/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5827] restart_syscall(<... resuming interrupted clone ...> [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] newfstatat(AT_FDCWD, "./18/binderfs", [pid 5830] <... restart_syscall resumed>) = 0 [pid 5827] <... restart_syscall resumed>) = 0 [pid 5830] umount2("./15", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] openat(AT_FDCWD, "./15", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5830] newfstatat(3, "", [pid 5827] umount2("./16", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5830] getdents64(3, [pid 5828] rmdir("./22" [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5830] <... getdents64 resumed>0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5828] <... rmdir resumed>) = 0 [pid 5827] openat(AT_FDCWD, "./16", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5831] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5830] umount2("./15/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] mkdir("./23", 0777 [pid 5831] unlink("./18/binderfs" [pid 5827] <... openat resumed>) = 3 [pid 5831] <... unlink resumed>) = 0 [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] <... mkdir resumed>) = 0 [pid 5827] newfstatat(3, "", [pid 5831] umount2("./18/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5830] newfstatat(AT_FDCWD, "./15/binderfs", [pid 5828] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5830] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5828] <... openat resumed>) = 3 [pid 5827] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5830] unlink("./15/binderfs" [pid 5828] ioctl(3, LOOP_CLR_FD [pid 5830] <... unlink resumed>) = 0 [pid 5828] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5830] umount2("./15/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5828] close(3 [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] <... close resumed>) = 0 [pid 5827] getdents64(3, [pid 5830] newfstatat(AT_FDCWD, "./15/file0", [pid 5828] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5830] umount2("./15/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5827] <... getdents64 resumed>0x55556439e6f0 /* 5 entries */, 32768) = 384 [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5828] <... clone resumed>, child_tidptr=0x55556439d650) = 6659 [pid 5827] umount2("./16/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5830] openat(AT_FDCWD, "./15/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) ./strace-static-x86_64: Process 6659 attached [pid 5830] <... openat resumed>) = 4 [pid 5827] newfstatat(AT_FDCWD, "./16/binderfs", [pid 5830] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5830] getdents64(4, 0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5830] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 5830] close(4) = 0 [pid 6659] set_robust_list(0x55556439d660, 24 [pid 5830] rmdir("./15/file0" [pid 6659] <... set_robust_list resumed>) = 0 [pid 5830] <... rmdir resumed>) = 0 [pid 5827] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6659] chdir("./23" [pid 5830] umount2("./15/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5827] unlink("./16/binderfs" [pid 6659] <... chdir resumed>) = 0 [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6659] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5830] newfstatat(AT_FDCWD, "./15/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5827] <... unlink resumed>) = 0 [pid 6659] <... prctl resumed>) = 0 [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6659] setpgid(0, 0 [pid 5830] umount2("./15/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6659] <... setpgid resumed>) = 0 [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6659] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5830] openat(AT_FDCWD, "./15/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5827] umount2("./16/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5830] <... openat resumed>) = 4 [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5830] newfstatat(4, "", [pid 5827] newfstatat(AT_FDCWD, "./16/file0", executing program [pid 6659] <... openat resumed>) = 3 [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5827] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6659] write(3, "1000", 4 [pid 5830] getdents64(4, [pid 6659] <... write resumed>) = 4 [pid 5830] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 6659] close(3 [pid 5830] getdents64(4, [pid 6659] <... close resumed>) = 0 [pid 5830] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 6659] symlink("/dev/binderfs", "./binderfs" [pid 5830] close(4 [pid 6659] <... symlink resumed>) = 0 [pid 5830] <... close resumed>) = 0 [pid 6659] write(1, "executing program\n", 18 [pid 5830] rmdir("./15/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 6659] <... write resumed>) = 18 [pid 5830] <... rmdir resumed>) = 0 [pid 5827] umount2("./16/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6659] memfd_create("syzkaller", 0 [pid 5830] getdents64(3, 0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5830] close(3) = 0 [pid 6659] <... memfd_create resumed>) = 3 [pid 5830] rmdir("./15" [pid 5827] openat(AT_FDCWD, "./16/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6659] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5830] <... rmdir resumed>) = 0 [pid 5827] <... openat resumed>) = 4 [pid 6659] <... mmap resumed>) = 0x7f3ebac00000 [pid 5827] newfstatat(4, "", [pid 5830] mkdir("./16", 0777 [pid 5827] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5830] <... mkdir resumed>) = 0 [ 100.303827][ T5831] bcachefs (loop4): shutting down [ 100.308902][ T5831] bcachefs (loop4): going read-only [ 100.328745][ T5831] bcachefs (loop4): finished waiting for writes to stop [pid 5827] getdents64(4, [pid 5830] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5827] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 5827] getdents64(4, [pid 5830] <... openat resumed>) = 3 [pid 5830] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5830] close(3) = 0 [pid 5830] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55556439d650) = 6660 [pid 5827] <... getdents64 resumed>0x5555643a6730 /* 0 entries */, 32768) = 0 ./strace-static-x86_64: Process 6660 attached [pid 5827] close(4 [pid 6660] set_robust_list(0x55556439d660, 24 [pid 5827] <... close resumed>) = 0 [pid 6660] <... set_robust_list resumed>) = 0 [pid 5827] rmdir("./16/file0" [pid 6660] chdir("./16" [pid 5827] <... rmdir resumed>) = 0 [pid 6660] <... chdir resumed>) = 0 [pid 5827] umount2("./16/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6660] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6660] <... prctl resumed>) = 0 [pid 5827] newfstatat(AT_FDCWD, "./16/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 6660] setpgid(0, 0 [pid 5827] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6660] <... setpgid resumed>) = 0 [pid 5827] umount2("./16/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6660] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5827] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6660] <... openat resumed>) = 3 [pid 5827] openat(AT_FDCWD, "./16/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6660] write(3, "1000", 4) = 4 [pid 5827] <... openat resumed>) = 4 [pid 6660] close(3 [pid 5827] newfstatat(4, "", [pid 6660] <... close resumed>) = 0 executing program [pid 6660] symlink("/dev/binderfs", "./binderfs" [pid 5827] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5827] getdents64(4, [pid 6660] <... symlink resumed>) = 0 [pid 6660] write(1, "executing program\n", 18 [pid 5827] <... getdents64 resumed>0x5555643a6730 /* 2 entries */, 32768) = 48 [pid 6660] <... write resumed>) = 18 [pid 5827] getdents64(4, 0x5555643a6730 /* 0 entries */, 32768) = 0 [pid 6660] memfd_create("syzkaller", 0 [pid 5827] close(4 [pid 6660] <... memfd_create resumed>) = 3 [pid 5827] <... close resumed>) = 0 [pid 6660] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5827] rmdir("./16/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 6660] <... mmap resumed>) = 0x7f3ebac00000 [pid 5827] getdents64(3, 0x55556439e6f0 /* 0 entries */, 32768) = 0 [pid 5827] close(3) = 0 [ 100.359496][ T5831] bcachefs (loop4): flushing journal and stopping allocators, journal seq 3339 [pid 5827] rmdir("./16") = 0 [pid 5827] mkdir("./17", 0777) = 0 [pid 5827] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5827] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5827] close(3) = 0 [pid 5827] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55556439d650) = 6661 ./strace-static-x86_64: Process 6661 attached [ 100.421934][ T5831] bcachefs (loop4): flushing journal and stopping allocators complete, journal seq 3340 [pid 6661] set_robust_list(0x55556439d660, 24) = 0 [pid 6661] chdir("./17") = 0 [pid 6661] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6661] setpgid(0, 0) = 0 [pid 6661] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6661] write(3, "1000", 4) = 4 [pid 6661] close(3) = 0 [pid 6661] symlink("/dev/binderfs", "./binderfs") = 0 [ 100.474835][ T35] bcachefs (loop4): bch2_write_super(): fatal error loop4: Superblock write was silently dropped! (seq 0 expected 53) [ 100.492838][ T5831] bcachefs (loop4): unshutdown complete, journal seq 3341 [pid 6661] write(1, "executing program\n", 18executing program ) = 18 [pid 6661] memfd_create("syzkaller", 0) = 3 [pid 6661] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3ebac00000 [ 100.525509][ T35] bcachefs (loop4): fatal error - emergency read only [ 100.546568][ T35] ------------[ cut here ]------------ [ 100.552197][ T35] kernel BUG at fs/bcachefs/journal.h:375! [ 100.584376][ T35] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI [ 100.591362][ T35] CPU: 0 UID: 0 PID: 35 Comm: kworker/u8:2 Not tainted 6.12.0-rc6-syzkaller-00279-gde2f378f2b77 #0 [ 100.602039][ T35] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 [ 100.612124][ T35] Workqueue: btree_update btree_interior_update_work [ 100.618834][ T35] RIP: 0010:__bch2_trans_commit+0x9232/0x93c0 [ 100.624927][ T35] Code: fd 90 0f 0b e8 ff 75 78 fd 90 0f 0b e8 f7 75 78 fd 90 0f 0b e8 ef 75 78 fd 90 0f 0b e8 e7 75 78 fd 90 0f 0b e8 df 75 78 fd 90 <0f> 0b e8 d7 75 78 fd 90 0f 0b e8 cf 75 78 fd 90 0f 0b e8 c7 75 78 [ 100.644558][ T35] RSP: 0000:ffffc90000ab76c0 EFLAGS: 00010293 [ 100.650636][ T35] RAX: ffffffff841c6421 RBX: 0000000000000000 RCX: ffff88801daabc00 [ 100.658610][ T35] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 100.666588][ T35] RBP: ffffc90000ab7890 R08: ffffffff841c0758 R09: 1ffff1100d9e94a8 [ 100.674567][ T35] R10: dffffc0000000000 R11: ffffed100d9e94a9 R12: ffff88806cf00000 [ 100.682543][ T35] R13: ffff88806cf4a500 R14: 0000000000000044 R15: ffff8880342e80d0 [ 100.690526][ T35] FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 [ 100.699467][ T35] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 100.706059][ T35] CR2: 00007f3ebb414000 CR3: 0000000034fd8000 CR4: 00000000003526f0 [ 100.714038][ T35] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 100.722010][ T35] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 100.729995][ T35] Call Trace: [pid 6657] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [ 100.733290][ T35] [ 100.736237][ T35] ? __die_body+0x5f/0xb0 [ 100.740573][ T35] ? die+0x9e/0xc0 [ 100.744300][ T35] ? do_trap+0x15a/0x3a0 [ 100.748559][ T35] ? __bch2_trans_commit+0x9232/0x93c0 [ 100.754032][ T35] ? do_error_trap+0x1dc/0x2c0 [ 100.758812][ T35] ? __bch2_trans_commit+0x9232/0x93c0 [ 100.764286][ T35] ? __pfx_do_error_trap+0x10/0x10 [ 100.769413][ T35] ? report_bug+0x3e8/0x500 [ 100.773943][ T35] ? handle_invalid_op+0x34/0x40 [ 100.778899][ T35] ? __bch2_trans_commit+0x9232/0x93c0 [pid 6659] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [ 100.784372][ T35] ? exc_invalid_op+0x38/0x50 [ 100.789151][ T35] ? asm_exc_invalid_op+0x1a/0x20 [ 100.794191][ T35] ? __bch2_trans_commit+0x3568/0x93c0 [ 100.799665][ T35] ? __bch2_trans_commit+0x9231/0x93c0 [ 100.805137][ T35] ? __bch2_trans_commit+0x9232/0x93c0 [ 100.810617][ T35] ? __pfx___bch2_trans_commit+0x10/0x10 [ 100.816259][ T35] ? bch2_dev_btree_bitmap_marked+0x2f/0xda0 [ 100.822254][ T35] ? __bch2_trans_jset_entry_alloc+0x2c7/0x4b0 [ 100.828425][ T35] ? btree_interior_update_work+0x117a/0x2b10 [ 100.834505][ T35] btree_interior_update_work+0x1492/0x2b10 [ 100.840422][ T35] ? __pfx_btree_interior_update_work+0x10/0x10 [ 100.846677][ T35] ? __pfx_lock_acquire+0x10/0x10 [ 100.851711][ T35] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 100.857702][ T35] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 100.864044][ T35] ? process_scheduled_works+0x976/0x1850 [ 100.869779][ T35] process_scheduled_works+0xa63/0x1850 [ 100.875345][ T35] ? __pfx_process_scheduled_works+0x10/0x10 [ 100.881339][ T35] ? assign_work+0x364/0x3d0 [ 100.885940][ T35] worker_thread+0x870/0xd30 [ 100.890542][ T35] ? _raw_spin_unlock_irqrestore+0xdd/0x140 [ 100.896442][ T35] ? __kthread_parkme+0x169/0x1d0 [ 100.901482][ T35] ? __pfx_worker_thread+0x10/0x10 [ 100.906606][ T35] kthread+0x2f0/0x390 [ 100.910678][ T35] ? __pfx_worker_thread+0x10/0x10 [ 100.915804][ T35] ? __pfx_kthread+0x10/0x10 [ 100.920398][ T35] ret_from_fork+0x4b/0x80 [ 100.924824][ T35] ? __pfx_kthread+0x10/0x10 [ 100.929419][ T35] ret_from_fork_asm+0x1a/0x30 [pid 6660] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6657] <... write resumed>) = 16777216 [pid 6657] munmap(0x7f3ebac00000, 138412032) = 0 [pid 6657] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [ 100.934196][ T35] [ 100.937219][ T35] Modules linked in: [ 100.941373][ T35] ---[ end trace 0000000000000000 ]--- [ 100.952019][ T35] RIP: 0010:__bch2_trans_commit+0x9232/0x93c0 [ 100.958261][ T35] Code: fd 90 0f 0b e8 ff 75 78 fd 90 0f 0b e8 f7 75 78 fd 90 0f 0b e8 ef 75 78 fd 90 0f 0b e8 e7 75 78 fd 90 0f 0b e8 df 75 78 fd 90 <0f> 0b e8 d7 75 78 fd 90 0f 0b e8 cf 75 78 fd 90 0f 0b e8 c7 75 78 [ 100.963314][ T6657] loop2: detected capacity change from 0 to 32768 [pid 6657] ioctl(4, LOOP_SET_FD, 3 [pid 6661] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6657] <... ioctl resumed>) = 0 [pid 6657] close(3) = 0 [pid 6657] close(4) = 0 [pid 6657] mkdir("./file0", 0777) = 0 [ 100.979149][ T35] RSP: 0000:ffffc90000ab76c0 EFLAGS: 00010293 [ 100.991317][ T35] RAX: ffffffff841c6421 RBX: 0000000000000000 RCX: ffff88801daabc00 [ 100.999988][ T35] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 101.009197][ T35] RBP: ffffc90000ab7890 R08: ffffffff841c0758 R09: 1ffff1100d9e94a8 [ 101.017468][ T35] R10: dffffc0000000000 R11: ffffed100d9e94a9 R12: ffff88806cf00000 [ 101.026631][ T35] R13: ffff88806cf4a500 R14: 0000000000000044 R15: ffff8880342e80d0 [pid 6657] mount("/dev/loop2", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6659] <... write resumed>) = 16777216 [ 101.040610][ T35] FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 [ 101.053643][ T35] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 101.063098][ T35] CR2: 00007f3ebb414000 CR3: 000000007a902000 CR4: 00000000003526f0 [ 101.071234][ T35] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 101.079322][ T35] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 101.087391][ T35] Kernel panic - not syncing: Fatal exception [ 101.093703][ T35] Kernel Offset: disabled [ 101.098015][ T35] Rebooting in 86400 seconds..