./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor1589154132 <...> Warning: Permanently added '10.128.1.22' (ED25519) to the list of known hosts. execve("./syz-executor1589154132", ["./syz-executor1589154132"], 0x7ffdd5abbaf0 /* 10 vars */) = 0 brk(NULL) = 0x55556b95d000 brk(0x55556b95dd00) = 0x55556b95dd00 arch_prctl(ARCH_SET_FS, 0x55556b95d380) = 0 set_tid_address(0x55556b95d650) = 5834 set_robust_list(0x55556b95d660, 24) = 0 rseq(0x55556b95dca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor1589154132", 4096) = 28 getrandom("\x39\x51\xd9\xda\x3a\x09\x75\xa3", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55556b95dd00 brk(0x55556b97ed00) = 0x55556b97ed00 brk(0x55556b97f000) = 0x55556b97f000 mprotect(0x7fb527914000, 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 5835 attached [pid 5835] set_robust_list(0x55556b95d660, 24 [pid 5834] <... clone resumed>, child_tidptr=0x55556b95d650) = 5835 [pid 5835] <... set_robust_list resumed>) = 0 [pid 5834] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5835] mkdir("./syzkaller.yp6dTg", 0700./strace-static-x86_64: Process 5836 attached [pid 5836] set_robust_list(0x55556b95d660, 24 [pid 5834] <... clone resumed>, child_tidptr=0x55556b95d650) = 5836 [pid 5836] <... set_robust_list resumed>) = 0 [pid 5834] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5835] <... mkdir resumed>) = 0 [pid 5836] mkdir("./syzkaller.3fQSkk", 0700 [pid 5835] chmod("./syzkaller.yp6dTg", 0777) = 0 ./strace-static-x86_64: Process 5837 attached [pid 5836] <... mkdir resumed>) = 0 [pid 5835] chdir("./syzkaller.yp6dTg" [pid 5834] <... clone resumed>, child_tidptr=0x55556b95d650) = 5837 [pid 5836] chmod("./syzkaller.3fQSkk", 0777 [pid 5837] set_robust_list(0x55556b95d660, 24 [pid 5835] <... chdir resumed>) = 0 [pid 5834] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5837] <... set_robust_list resumed>) = 0 [pid 5836] <... chmod resumed>) = 0 [pid 5835] mkdir("./0", 0777 [pid 5837] mkdir("./syzkaller.fdthmA", 0700 [pid 5835] <... mkdir resumed>) = 0 ./strace-static-x86_64: Process 5838 attached [pid 5837] <... mkdir resumed>) = 0 [pid 5836] chdir("./syzkaller.3fQSkk" [pid 5837] chmod("./syzkaller.fdthmA", 0777 [pid 5836] <... chdir resumed>) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5834] <... clone resumed>, child_tidptr=0x55556b95d650) = 5838 [pid 5838] set_robust_list(0x55556b95d660, 24 [pid 5834] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5838] <... set_robust_list resumed>) = 0 [pid 5835] <... openat resumed>) = 3 [pid 5837] <... chmod resumed>) = 0 [pid 5836] mkdir("./0", 0777./strace-static-x86_64: Process 5839 attached [pid 5837] chdir("./syzkaller.fdthmA" [pid 5839] set_robust_list(0x55556b95d660, 24 [pid 5838] mkdir("./syzkaller.aEXXys", 0700 [pid 5837] <... chdir resumed>) = 0 [pid 5835] ioctl(3, LOOP_CLR_FD [pid 5834] <... clone resumed>, child_tidptr=0x55556b95d650) = 5839 [pid 5836] <... mkdir resumed>) = 0 [pid 5839] <... set_robust_list resumed>) = 0 [pid 5838] <... mkdir resumed>) = 0 [pid 5837] mkdir("./0", 0777 [pid 5835] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5834] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5839] mkdir("./syzkaller.LDZDRC", 0700 [pid 5838] chmod("./syzkaller.aEXXys", 0777 [pid 5836] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5835] close(3 [pid 5838] <... chmod resumed>) = 0 [pid 5836] <... openat resumed>) = 3 [pid 5838] chdir("./syzkaller.aEXXys" [pid 5835] <... close resumed>) = 0 [pid 5839] <... mkdir resumed>) = 0 [pid 5838] <... chdir resumed>) = 0 [pid 5837] <... mkdir resumed>) = 0 [pid 5838] mkdir("./0", 0777./strace-static-x86_64: Process 5840 attached [pid 5834] <... clone resumed>, child_tidptr=0x55556b95d650) = 5840 [pid 5839] chmod("./syzkaller.LDZDRC", 0777 [pid 5837] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5836] ioctl(3, LOOP_CLR_FD [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5842 attached [pid 5840] set_robust_list(0x55556b95d660, 24 [pid 5839] <... chmod resumed>) = 0 [pid 5838] <... mkdir resumed>) = 0 [pid 5837] <... openat resumed>) = 3 [pid 5836] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5840] <... set_robust_list resumed>) = 0 [pid 5839] chdir("./syzkaller.LDZDRC" [pid 5836] close(3 [pid 5840] mkdir("./syzkaller.Yteg5E", 0700 [pid 5839] <... chdir resumed>) = 0 [pid 5836] <... close resumed>) = 0 [pid 5839] mkdir("./0", 0777 [pid 5837] ioctl(3, LOOP_CLR_FD [pid 5836] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5842] set_robust_list(0x55556b95d660, 24 [pid 5840] <... mkdir resumed>) = 0 [pid 5839] <... mkdir resumed>) = 0 [pid 5838] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5837] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5835] <... clone resumed>, child_tidptr=0x55556b95d650) = 5842 [pid 5838] <... openat resumed>) = 3 ./strace-static-x86_64: Process 5843 attached [pid 5842] <... set_robust_list resumed>) = 0 [pid 5840] chmod("./syzkaller.Yteg5E", 0777 [pid 5839] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5837] close(3 [pid 5836] <... clone resumed>, child_tidptr=0x55556b95d650) = 5843 [pid 5843] set_robust_list(0x55556b95d660, 24 [pid 5842] chdir("./0" [pid 5838] ioctl(3, LOOP_CLR_FD [pid 5843] <... set_robust_list resumed>) = 0 [pid 5842] <... chdir resumed>) = 0 [pid 5840] <... chmod resumed>) = 0 [pid 5839] <... openat resumed>) = 3 [pid 5838] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5837] <... close resumed>) = 0 [pid 5842] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5838] close(3 [pid 5837] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5843] chdir("./0" [pid 5842] <... prctl resumed>) = 0 [pid 5840] chdir("./syzkaller.Yteg5E" [pid 5839] ioctl(3, LOOP_CLR_FD [pid 5838] <... close resumed>) = 0 [pid 5842] setpgid(0, 0./strace-static-x86_64: Process 5844 attached [pid 5843] <... chdir resumed>) = 0 [pid 5842] <... setpgid resumed>) = 0 [pid 5840] <... chdir resumed>) = 0 [pid 5839] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5838] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5845 attached [pid 5844] set_robust_list(0x55556b95d660, 24 [pid 5843] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5842] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5840] mkdir("./0", 0777 [pid 5839] close(3 [pid 5837] <... clone resumed>, child_tidptr=0x55556b95d650) = 5844 [pid 5844] <... set_robust_list resumed>) = 0 [pid 5843] <... prctl resumed>) = 0 [pid 5842] <... openat resumed>) = 3 [pid 5840] <... mkdir resumed>) = 0 [pid 5842] write(3, "1000", 4) = 4 [pid 5845] set_robust_list(0x55556b95d660, 24 [pid 5843] setpgid(0, 0 [pid 5842] close(3 [pid 5839] <... close resumed>) = 0 [pid 5845] <... set_robust_list resumed>) = 0 [pid 5844] chdir("./0" [pid 5843] <... setpgid resumed>) = 0 [pid 5842] <... close resumed>) = 0 [pid 5840] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5839] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5845] chdir("./0" [pid 5844] <... chdir resumed>) = 0 [pid 5843] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5842] symlink("/dev/binderfs", "./binderfs" [pid 5840] <... openat resumed>) = 3 [pid 5838] <... clone resumed>, child_tidptr=0x55556b95d650) = 5845 [pid 5840] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5840] close(3) = 0 [pid 5839] <... clone resumed>, child_tidptr=0x55556b95d650) = 5846 [pid 5840] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5847 attached ./strace-static-x86_64: Process 5846 attached executing program [pid 5846] set_robust_list(0x55556b95d660, 24 [pid 5845] <... chdir resumed>) = 0 [pid 5844] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5843] <... openat resumed>) = 3 [pid 5842] <... symlink resumed>) = 0 [pid 5846] <... set_robust_list resumed>) = 0 [pid 5845] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5844] <... prctl resumed>) = 0 [pid 5843] write(3, "1000", 4 [pid 5842] write(1, "executing program\n", 18 [pid 5845] <... prctl resumed>) = 0 [pid 5844] setpgid(0, 0 [pid 5843] <... write resumed>) = 4 [pid 5842] <... write resumed>) = 18 [pid 5845] setpgid(0, 0 [pid 5843] close(3 [pid 5847] set_robust_list(0x55556b95d660, 24) = 0 [pid 5845] <... setpgid resumed>) = 0 [pid 5844] <... setpgid resumed>) = 0 [pid 5843] <... close resumed>) = 0 [pid 5842] memfd_create("syzkaller", 0 [pid 5846] chdir("./0" [pid 5847] chdir("./0" [pid 5844] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5843] symlink("/dev/binderfs", "./binderfs" [pid 5840] <... clone resumed>, child_tidptr=0x55556b95d650) = 5847 [pid 5847] <... chdir resumed>) = 0 [pid 5846] <... chdir resumed>) = 0 [pid 5845] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5844] <... openat resumed>) = 3 [pid 5842] <... memfd_create resumed>) = 3 [pid 5847] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5846] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5845] <... openat resumed>) = 3 [pid 5844] write(3, "1000", 4 [pid 5843] <... symlink resumed>) = 0 [pid 5842] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5847] <... prctl resumed>) = 0 executing program [pid 5846] <... prctl resumed>) = 0 [pid 5844] <... write resumed>) = 4 [pid 5843] write(1, "executing program\n", 18 [pid 5842] <... mmap resumed>) = 0x7fb51f400000 [pid 5847] setpgid(0, 0 [pid 5846] setpgid(0, 0 [pid 5843] <... write resumed>) = 18 [pid 5847] <... setpgid resumed>) = 0 [pid 5847] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5846] <... setpgid resumed>) = 0 [pid 5845] write(3, "1000", 4 [pid 5844] close(3 [pid 5843] memfd_create("syzkaller", 0 [pid 5847] write(3, "1000", 4) = 4 [pid 5846] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5845] <... write resumed>) = 4 [pid 5844] <... close resumed>) = 0 [pid 5847] close(3 [pid 5845] close(3 [pid 5847] <... close resumed>) = 0 executing program [pid 5845] <... close resumed>) = 0 [pid 5847] symlink("/dev/binderfs", "./binderfs" [pid 5845] symlink("/dev/binderfs", "./binderfs" [pid 5844] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5846] <... openat resumed>) = 3 [pid 5844] write(1, "executing program\n", 18 [pid 5843] <... memfd_create resumed>) = 3 [pid 5846] write(3, "1000", 4 [pid 5844] <... write resumed>) = 18 [pid 5843] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5846] <... write resumed>) = 4 [pid 5845] <... symlink resumed>) = 0 [pid 5844] memfd_create("syzkaller", 0 [pid 5843] <... mmap resumed>) = 0x7fb51f400000 [pid 5847] <... symlink resumed>) = 0 executing program executing program [pid 5847] write(1, "executing program\n", 18 [pid 5846] close(3 [pid 5845] write(1, "executing program\n", 18 [pid 5844] <... memfd_create resumed>) = 3 [pid 5847] <... write resumed>) = 18 [pid 5845] <... write resumed>) = 18 [pid 5846] <... close resumed>) = 0 [pid 5844] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5846] symlink("/dev/binderfs", "./binderfs" [pid 5844] <... mmap resumed>) = 0x7fb51f400000 [pid 5847] memfd_create("syzkaller", 0) = 3 [pid 5846] <... symlink resumed>) = 0 [pid 5845] memfd_create("syzkaller", 0 [pid 5847] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5846] write(1, "executing program\n", 18 [pid 5845] <... memfd_create resumed>) = 3 [pid 5847] <... mmap resumed>) = 0x7fb51f400000 [pid 5845] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0executing program [pid 5846] <... write resumed>) = 18 [pid 5845] <... mmap resumed>) = 0x7fb51f400000 [pid 5846] memfd_create("syzkaller", 0) = 3 [pid 5846] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb51f400000 [pid 5842] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5847] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5845] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5844] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5843] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5846] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5847] <... write resumed>) = 16777216 [pid 5845] <... write resumed>) = 16777216 [pid 5847] munmap(0x7fb51f400000, 138412032 [pid 5845] munmap(0x7fb51f400000, 138412032 [pid 5843] <... write resumed>) = 16777216 [pid 5842] <... write resumed>) = 16777216 [pid 5847] <... munmap resumed>) = 0 [pid 5845] <... munmap resumed>) = 0 [pid 5843] munmap(0x7fb51f400000, 138412032 [pid 5842] munmap(0x7fb51f400000, 138412032 [pid 5845] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5847] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5845] <... openat resumed>) = 4 [pid 5847] <... openat resumed>) = 4 [pid 5845] ioctl(4, LOOP_SET_FD, 3 [pid 5842] <... munmap resumed>) = 0 [pid 5847] ioctl(4, LOOP_SET_FD, 3 [pid 5846] <... write resumed>) = 16777216 [pid 5845] <... ioctl resumed>) = 0 [pid 5844] <... write resumed>) = 16777216 [pid 5843] <... munmap resumed>) = 0 [pid 5842] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5842] ioctl(4, LOOP_SET_FD, 3 [pid 5847] <... ioctl resumed>) = 0 [pid 5846] munmap(0x7fb51f400000, 138412032 [pid 5845] close(3 [pid 5844] munmap(0x7fb51f400000, 138412032 [pid 5843] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5847] close(3 [pid 5845] <... close resumed>) = 0 [pid 5842] <... ioctl resumed>) = 0 [pid 5845] close(4 [pid 5846] <... munmap resumed>) = 0 [pid 5845] <... close resumed>) = 0 [pid 5842] close(3 [pid 5845] mkdir("./file0", 0777 [pid 5842] <... close resumed>) = 0 [pid 5845] <... mkdir resumed>) = 0 [pid 5842] close(4 [pid 5845] mount("/dev/loop3", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 5847] <... close resumed>) = 0 [pid 5846] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5843] <... openat resumed>) = 4 [pid 5842] <... close resumed>) = 0 [pid 5847] close(4 [pid 5846] <... openat resumed>) = 4 [pid 5843] ioctl(4, LOOP_SET_FD, 3 [pid 5842] mkdir("./file0", 0777 [pid 5847] <... close resumed>) = 0 [pid 5846] ioctl(4, LOOP_SET_FD, 3 [pid 5847] mkdir("./file0", 0777) = 0 [pid 5844] <... munmap resumed>) = 0 [pid 5842] <... mkdir resumed>) = 0 [pid 5847] mount("/dev/loop5", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 5842] mount("/dev/loop0", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 5844] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5843] <... ioctl resumed>) = 0 [pid 5843] close(3) = 0 [pid 5843] close(4) = 0 [pid 5843] mkdir("./file0", 0777 [pid 5844] <... openat resumed>) = 4 [pid 5843] <... mkdir resumed>) = 0 [pid 5843] mount("/dev/loop1", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [ 74.403881][ T5845] loop3: detected capacity change from 0 to 32768 [ 74.415750][ T5847] loop5: detected capacity change from 0 to 32768 [ 74.416754][ T5842] loop0: detected capacity change from 0 to 32768 [ 74.443919][ T5843] loop1: detected capacity change from 0 to 32768 [pid 5844] ioctl(4, LOOP_SET_FD, 3 [pid 5846] <... ioctl resumed>) = 0 [pid 5846] close(3) = 0 [pid 5846] close(4) = 0 [pid 5846] mkdir("./file0", 0777) = 0 [pid 5846] mount("/dev/loop4", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 5844] <... ioctl resumed>) = 0 [ 74.481776][ T5846] loop4: detected capacity change from 0 to 32768 [ 74.499293][ T5844] loop2: detected capacity change from 0 to 32768 [pid 5844] close(3) = 0 [pid 5844] close(4) = 0 [pid 5844] mkdir("./file0", 0777) = 0 [ 74.696641][ T5845] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 74.697478][ T5847] bcachefs (loop5): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,erasure_code,degraded,no_splitbrain_check,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,nocow [ 74.728892][ T5845] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 74.729855][ T5847] bcachefs (loop5): recovering from clean shutdown, journal seq 10 [ 74.748097][ T5847] bcachefs (loop5): Version upgrade required: [ 74.748097][ T5847] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 74.748097][ T5847] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 74.748097][ T5847] 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.825309][ T5842] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 74.831075][ T5847] bcachefs (loop5): dropping and reconstructing all alloc info [ 74.835658][ T5842] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 74.858493][ T5847] bcachefs (loop5): check_topology... done [ 74.864620][ T5847] bcachefs (loop5): accounting_read... done [ 74.876189][ T5847] bcachefs (loop5): alloc_read... done [ 74.881784][ T5847] bcachefs (loop5): stripes_read... done [ 74.887725][ T5847] bcachefs (loop5): snapshots_read... done [ 74.897433][ T5847] bcachefs (loop5): check_allocations... [ 74.915318][ T5846] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 74.937652][ T5843] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 74.947286][ T5844] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 74.947318][ T5843] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 74.981098][ T5844] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 74.990995][ T5846] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [pid 5844] mount("/dev/loop2", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 5843] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5843] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5843] ioctl(3, LOOP_CLR_FD) = 0 [ 75.049176][ T5843] bcachefs: bch2_fs_get_tree() error: EINVAL [ 75.064063][ T5847] done [ 75.073660][ T5847] bcachefs (loop5): going read-write [ 75.081480][ T5842] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5843] close(3 [pid 5847] <... mount resumed>) = 0 [pid 5847] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5847] chdir("./file0") = 0 [pid 5847] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 5845] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5842] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5847] ioctl(4, LOOP_CLR_FD [pid 5842] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5847] <... ioctl resumed>) = 0 [pid 5847] close(4 [pid 5845] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5842] <... openat resumed>) = 3 [pid 5847] <... close resumed>) = 0 [pid 5847] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5842] ioctl(3, LOOP_CLR_FD [pid 5845] <... openat resumed>) = 3 [pid 5845] ioctl(3, LOOP_CLR_FD [pid 5842] <... ioctl resumed>) = 0 [pid 5845] <... ioctl resumed>) = 0 [ 75.100616][ T5847] bcachefs (loop5): done starting filesystem [ 75.138094][ T5845] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5845] close(3 [pid 5842] close(3 [pid 5847] <... openat resumed>) = 4 [pid 5847] exit_group(0) = ? [pid 5847] +++ exited with 0 +++ [pid 5840] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5847, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=40 /* 0.40 s */} --- [pid 5840] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5840] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] getdents64(3, 0x55556b95e6f0 /* 4 entries */, 32768) = 112 [pid 5840] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 75.199701][ T5847] syz-executor158 (5847) used greatest stack depth: 18232 bytes left [pid 5840] newfstatat(AT_FDCWD, "./0/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] unlink("./0/binderfs") = 0 [ 75.252016][ T5844] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5840] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5844] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [ 75.328062][ T5840] bcachefs (loop5): shutting down [pid 5844] ioctl(3, LOOP_CLR_FD) = 0 [pid 5844] close(3 [pid 5842] <... close resumed>) = 0 [pid 5842] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5846] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5846] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [ 75.358819][ T5846] bcachefs: bch2_fs_get_tree() error: EINVAL [ 75.371235][ T5840] bcachefs (loop5): going read-only [ 75.376678][ T5840] bcachefs (loop5): finished waiting for writes to stop [pid 5846] ioctl(3, LOOP_CLR_FD) = 0 [pid 5846] close(3 [pid 5842] <... openat resumed>) = 3 [pid 5842] exit_group(0) = ? [pid 5842] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5842, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=57 /* 0.57 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5835] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./0/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./0/binderfs") = 0 [ 75.455428][ T5840] bcachefs (loop5): flushing journal and stopping allocators, journal seq 12 [pid 5835] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./0/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./0/file0") = 0 [pid 5835] umount2("./0/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./0/cgroup.controllers", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./0/cgroup.controllers") = 0 [pid 5835] getdents64(3, [pid 5845] <... close resumed>) = 0 [pid 5835] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3 [pid 5845] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 3 [pid 5845] exit_group(0) = ? [pid 5845] +++ exited with 0 +++ [pid 5835] <... close resumed>) = 0 [pid 5838] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5845, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=48 /* 0.48 s */} --- [pid 5838] restart_syscall(<... resuming interrupted clone ...> [pid 5835] rmdir("./0" [pid 5838] <... restart_syscall resumed>) = 0 [pid 5835] <... rmdir resumed>) = 0 [pid 5835] mkdir("./1", 0777 [pid 5838] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] <... mkdir resumed>) = 0 [pid 5843] <... close resumed>) = 0 [pid 5838] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5838] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5838] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5838] getdents64(3, 0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5838] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5838] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5838] newfstatat(AT_FDCWD, "./0/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5838] unlink("./0/binderfs" [pid 5843] <... openat resumed>) = 3 [pid 5838] <... unlink resumed>) = 0 [pid 5838] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5838] newfstatat(AT_FDCWD, "./0/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5838] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5838] openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5838] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5838] getdents64(4, 0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5838] getdents64(4, 0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5838] close(4) = 0 [pid 5838] rmdir("./0/file0") = 0 [pid 5838] umount2("./0/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] exit_group(0 [pid 5838] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5838] newfstatat(AT_FDCWD, "./0/cgroup.controllers", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] <... exit_group resumed>) = ? [pid 5838] unlink("./0/cgroup.controllers" [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5838] <... unlink resumed>) = 0 [pid 5838] getdents64(3, [pid 5835] <... openat resumed>) = 3 [pid 5838] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5838] close(3) = 0 [pid 5838] rmdir("./0" [pid 5843] +++ exited with 0 +++ [pid 5838] <... rmdir resumed>) = 0 [pid 5835] ioctl(3, LOOP_CLR_FD [pid 5836] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5843, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=49 /* 0.49 s */} --- [pid 5836] restart_syscall(<... resuming interrupted clone ...> [pid 5838] mkdir("./1", 0777 [pid 5844] <... close resumed>) = 0 [pid 5836] <... restart_syscall resumed>) = 0 [pid 5835] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5836] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5836] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] close(3 [pid 5836] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5836] getdents64(3, 0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5836] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5836] newfstatat(AT_FDCWD, "./0/binderfs", [pid 5838] <... mkdir resumed>) = 0 [pid 5836] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] <... close resumed>) = 0 [pid 5844] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5838] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5836] unlink("./0/binderfs" [pid 5844] <... openat resumed>) = 3 [pid 5838] <... openat resumed>) = 3 [pid 5836] <... unlink resumed>) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5844] exit_group(0 [pid 5838] ioctl(3, LOOP_CLR_FD [pid 5836] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 5897 attached [pid 5844] <... exit_group resumed>) = ? [ 75.621588][ T12] bcachefs (loop5): bch2_write_super(): fatal error loop5: Superblock write was silently dropped! (seq 0 expected 54) [ 75.661711][ T12] bcachefs (loop5): fatal error - emergency read only [pid 5838] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5836] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5897] set_robust_list(0x55556b95d660, 24 [pid 5844] +++ exited with 0 +++ [pid 5838] close(3 [pid 5836] newfstatat(AT_FDCWD, "./0/file0", [pid 5838] <... close resumed>) = 0 [pid 5836] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5838] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5837] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5844, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=56 /* 0.56 s */} --- [pid 5836] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5837] restart_syscall(<... resuming interrupted clone ...> [pid 5836] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5836] openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY./strace-static-x86_64: Process 5898 attached [pid 5897] <... set_robust_list resumed>) = 0 [pid 5838] <... clone resumed>, child_tidptr=0x55556b95d650) = 5898 [pid 5837] <... restart_syscall resumed>) = 0 [pid 5836] <... openat resumed>) = 4 [pid 5835] <... clone resumed>, child_tidptr=0x55556b95d650) = 5897 [pid 5836] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5837] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5836] getdents64(4, [pid 5837] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5836] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5837] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5836] getdents64(4, [pid 5837] <... openat resumed>) = 3 [pid 5836] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5837] newfstatat(3, "", [pid 5836] close(4 [pid 5837] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5836] <... close resumed>) = 0 [pid 5837] getdents64(3, [pid 5836] rmdir("./0/file0" [pid 5837] <... getdents64 resumed>0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5836] <... rmdir resumed>) = 0 [pid 5837] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5836] umount2("./0/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5837] newfstatat(AT_FDCWD, "./0/binderfs", [pid 5836] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5837] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5836] newfstatat(AT_FDCWD, "./0/cgroup.controllers", [pid 5898] set_robust_list(0x55556b95d660, 24 [pid 5897] chdir("./1" [pid 5837] unlink("./0/binderfs" [pid 5836] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5837] <... unlink resumed>) = 0 [pid 5836] unlink("./0/cgroup.controllers" [pid 5837] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5836] <... unlink resumed>) = 0 [pid 5837] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5836] getdents64(3, [pid 5898] <... set_robust_list resumed>) = 0 [pid 5897] <... chdir resumed>) = 0 [pid 5837] newfstatat(AT_FDCWD, "./0/file0", [pid 5836] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5898] chdir("./1" [pid 5897] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5898] <... chdir resumed>) = 0 [pid 5897] <... prctl resumed>) = 0 [pid 5837] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5837] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5837] openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5836] close(3) = 0 [pid 5837] newfstatat(4, "", [pid 5836] rmdir("./0" [pid 5837] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5836] <... rmdir resumed>) = 0 [pid 5837] getdents64(4, [pid 5836] mkdir("./1", 0777 [pid 5837] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5836] <... mkdir resumed>) = 0 [pid 5837] getdents64(4, [pid 5836] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5837] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5836] <... openat resumed>) = 3 [pid 5837] close(4 [pid 5836] ioctl(3, LOOP_CLR_FD [pid 5837] <... close resumed>) = 0 [pid 5836] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5837] rmdir("./0/file0" [pid 5836] close(3 [pid 5837] <... rmdir resumed>) = 0 [pid 5836] <... close resumed>) = 0 [pid 5836] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5899 attached [pid 5898] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5897] setpgid(0, 0 [pid 5837] umount2("./0/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5899] set_robust_list(0x55556b95d660, 24 [pid 5898] <... prctl resumed>) = 0 [pid 5897] <... setpgid resumed>) = 0 [pid 5837] newfstatat(AT_FDCWD, "./0/cgroup.controllers", [pid 5898] setpgid(0, 0 [pid 5897] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5836] <... clone resumed>, child_tidptr=0x55556b95d650) = 5899 [pid 5898] <... setpgid resumed>) = 0 [pid 5837] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5899] <... set_robust_list resumed>) = 0 [pid 5837] unlink("./0/cgroup.controllers" [pid 5899] chdir("./1" [pid 5898] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5897] <... openat resumed>) = 3 [pid 5837] <... unlink resumed>) = 0 [pid 5899] <... chdir resumed>) = 0 [pid 5837] getdents64(3, [pid 5899] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5898] <... openat resumed>) = 3 [pid 5897] write(3, "1000", 4 [pid 5837] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5898] write(3, "1000", 4 [pid 5897] <... write resumed>) = 4 [pid 5898] <... write resumed>) = 4 [pid 5897] close(3executing program executing program executing program [pid 5899] <... prctl resumed>) = 0 [pid 5898] close(3 [pid 5897] <... close resumed>) = 0 [pid 5837] close(3 [pid 5897] symlink("/dev/binderfs", "./binderfs" [pid 5898] <... close resumed>) = 0 [pid 5899] setpgid(0, 0 [pid 5897] <... symlink resumed>) = 0 [pid 5898] symlink("/dev/binderfs", "./binderfs" [pid 5837] <... close resumed>) = 0 [pid 5897] write(1, "executing program\n", 18 [pid 5899] <... setpgid resumed>) = 0 [pid 5897] <... write resumed>) = 18 [pid 5837] rmdir("./0" [pid 5899] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5898] <... symlink resumed>) = 0 [pid 5897] memfd_create("syzkaller", 0 [pid 5837] <... rmdir resumed>) = 0 [pid 5898] write(1, "executing program\n", 18 [pid 5897] <... memfd_create resumed>) = 3 [pid 5898] <... write resumed>) = 18 [pid 5899] <... openat resumed>) = 3 [pid 5897] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5899] write(3, "1000", 4) = 4 [pid 5897] <... mmap resumed>) = 0x7fb51f400000 [pid 5837] mkdir("./1", 0777 [pid 5899] close(3) = 0 [pid 5899] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5837] <... mkdir resumed>) = 0 [pid 5899] write(1, "executing program\n", 18) = 18 [pid 5899] memfd_create("syzkaller", 0 [pid 5837] openat(AT_FDCWD, "/dev/loop2", O_RDWR [ 75.679126][ T5840] bcachefs (loop5): flushing journal and stopping allocators complete, journal seq 14 [ 75.710667][ T5840] bcachefs (loop5): unshutdown complete, journal seq 14 [pid 5898] memfd_create("syzkaller", 0) = 3 [pid 5837] <... openat resumed>) = 3 [pid 5898] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5837] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5898] <... mmap resumed>) = 0x7fb51f400000 [pid 5837] close(3) = 0 [pid 5837] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5899] <... memfd_create resumed>) = 3 [pid 5899] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb51f400000 ./strace-static-x86_64: Process 5900 attached [pid 5900] set_robust_list(0x55556b95d660, 24) = 0 executing program [pid 5900] chdir("./1") = 0 [pid 5900] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5900] setpgid(0, 0) = 0 [pid 5900] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5900] write(3, "1000", 4) = 4 [pid 5900] close(3) = 0 [pid 5900] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5900] write(1, "executing program\n", 18) = 18 [pid 5900] memfd_create("syzkaller", 0) = 3 [pid 5900] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb51f400000 [pid 5846] <... close resumed>) = 0 [pid 5837] <... clone resumed>, child_tidptr=0x55556b95d650) = 5900 [pid 5846] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 3 [pid 5846] exit_group(0) = ? [pid 5846] +++ exited with 0 +++ [pid 5839] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5846, si_uid=0, si_status=0, si_utime=0, si_stime=41 /* 0.41 s */} --- [ 75.755300][ T5840] bcachefs (loop5): done going read-only, filesystem not clean [pid 5839] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5839] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5839] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5839] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5839] getdents64(3, 0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5839] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5839] newfstatat(AT_FDCWD, "./0/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5839] unlink("./0/binderfs") = 0 [pid 5839] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5839] newfstatat(AT_FDCWD, "./0/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5839] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5839] openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5839] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5839] getdents64(4, 0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5839] getdents64(4, 0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5839] close(4) = 0 [pid 5839] rmdir("./0/file0") = 0 [pid 5839] umount2("./0/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5839] newfstatat(AT_FDCWD, "./0/cgroup.controllers", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5839] unlink("./0/cgroup.controllers") = 0 [pid 5839] getdents64(3, 0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5839] close(3) = 0 [pid 5839] rmdir("./0") = 0 [pid 5839] mkdir("./1", 0777) = 0 [pid 5839] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5839] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5839] close(3) = 0 [ 75.908024][ T5840] bcachefs (loop5): shutdown complete [pid 5839] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5901 attached [pid 5901] set_robust_list(0x55556b95d660, 24) = 0 [pid 5901] chdir("./1") = 0 [pid 5901] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5901] setpgid(0, 0) = 0 [pid 5901] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5901] write(3, "1000", 4) = 4 [pid 5901] close(3) = 0 [pid 5901] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5839] <... clone resumed>, child_tidptr=0x55556b95d650) = 5901 [pid 5901] write(1, "executing program\n", 18executing program ) = 18 [pid 5901] memfd_create("syzkaller", 0) = 3 [pid 5901] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb51f400000 [pid 5897] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5899] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5898] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5900] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5901] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5898] <... write resumed>) = 16777216 [pid 5897] <... write resumed>) = 16777216 [pid 5898] munmap(0x7fb51f400000, 138412032 [pid 5897] munmap(0x7fb51f400000, 138412032 [pid 5898] <... munmap resumed>) = 0 [pid 5898] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5897] <... munmap resumed>) = 0 [pid 5897] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5897] ioctl(4, LOOP_SET_FD, 3 [pid 5898] <... openat resumed>) = 4 [pid 5897] <... ioctl resumed>) = 0 [pid 5898] ioctl(4, LOOP_SET_FD, 3 [pid 5899] <... write resumed>) = 16777216 [pid 5898] <... ioctl resumed>) = 0 [pid 5897] close(3 [pid 5899] munmap(0x7fb51f400000, 138412032 [pid 5898] close(3 [pid 5897] <... close resumed>) = 0 [pid 5898] <... close resumed>) = 0 [pid 5897] close(4 [pid 5898] close(4 [pid 5897] <... close resumed>) = 0 [pid 5900] <... write resumed>) = 16777216 [pid 5899] <... munmap resumed>) = 0 [pid 5898] <... close resumed>) = 0 [pid 5897] mkdir("./file0", 0777 [ 76.473209][ T5897] loop0: detected capacity change from 0 to 32768 [ 76.484398][ T5898] loop3: detected capacity change from 0 to 32768 [pid 5900] munmap(0x7fb51f400000, 138412032) = 0 [pid 5899] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5898] mkdir("./file0", 0777 [pid 5897] <... mkdir resumed>) = 0 [pid 5899] <... openat resumed>) = 4 [pid 5899] ioctl(4, LOOP_SET_FD, 3 [pid 5898] <... mkdir resumed>) = 0 [pid 5897] mount("/dev/loop0", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 5898] mount("/dev/loop3", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 5900] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5900] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5899] <... ioctl resumed>) = 0 [pid 5899] close(3) = 0 [pid 5899] close(4) = 0 [pid 5899] mkdir("./file0", 0777 [pid 5900] close(3) = 0 [pid 5900] close(4) = 0 [pid 5900] mkdir("./file0", 0777) = 0 [pid 5899] <... mkdir resumed>) = 0 [pid 5900] mount("/dev/loop2", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [ 76.558043][ T5899] loop1: detected capacity change from 0 to 32768 [ 76.573718][ T5900] loop2: detected capacity change from 0 to 32768 [pid 5899] mount("/dev/loop1", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 5901] <... write resumed>) = 16777216 [pid 5901] munmap(0x7fb51f400000, 138412032) = 0 [pid 5901] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5901] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5901] close(3) = 0 [pid 5901] close(4) = 0 [pid 5901] mkdir("./file0", 0777) = 0 [ 76.698447][ T5901] loop4: detected capacity change from 0 to 32768 [ 77.038034][ T5898] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 77.047958][ T5899] bcachefs (loop1): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,erasure_code,degraded,no_splitbrain_check,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,nocow [ 77.070718][ T5899] bcachefs (loop1): recovering from clean shutdown, journal seq 10 [ 77.079637][ T5899] bcachefs (loop1): Version upgrade required: [ 77.079637][ T5899] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 77.079637][ T5899] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 77.079637][ T5899] 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 [ 77.081552][ T5898] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 77.158997][ T5897] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 77.169453][ T5897] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 77.195303][ T5899] bcachefs (loop1): dropping and reconstructing all alloc info [ 77.200716][ T5900] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 77.251623][ T5900] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 77.257529][ T5899] bcachefs (loop1): check_topology... done [ 77.259960][ T5901] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 77.279008][ T5899] bcachefs (loop1): accounting_read... done [ 77.323593][ T5899] bcachefs (loop1): alloc_read... done [ 77.323921][ T5901] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 77.329158][ T5899] bcachefs (loop1): stripes_read... done [ 77.361232][ T5899] bcachefs (loop1): snapshots_read... [ 77.361722][ T5897] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5901] mount("/dev/loop4", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 5897] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5897] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [ 77.365849][ T5899] done [pid 5897] ioctl(3, LOOP_CLR_FD) = 0 [ 77.409059][ T5899] bcachefs (loop1): check_allocations... [ 77.431303][ T5898] bcachefs: bch2_fs_get_tree() error: EINVAL [ 77.470095][ T5899] done [pid 5897] close(3 [pid 5898] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5898] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5898] ioctl(3, LOOP_CLR_FD) = 0 [ 77.484051][ T5899] bcachefs (loop1): going read-write [pid 5898] close(3 [pid 5900] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5840] <... umount2 resumed>) = 0 [pid 5840] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./0/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5900] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5840] <... openat resumed>) = 4 [pid 5900] <... openat resumed>) = 3 [pid 5900] ioctl(3, LOOP_CLR_FD) = 0 [ 77.511047][ T5899] bcachefs (loop1): done starting filesystem [ 77.532339][ T5900] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5900] close(3 [pid 5899] <... mount resumed>) = 0 [pid 5840] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] getdents64(4, [pid 5899] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5840] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5899] chdir("./file0") = 0 [pid 5840] getdents64(4, [pid 5899] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 5899] ioctl(4, LOOP_CLR_FD) = 0 [pid 5899] close(4) = 0 [pid 5899] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5840] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5840] close(4) = 0 [pid 5840] rmdir("./0/file0" [pid 5899] <... openat resumed>) = 4 [pid 5840] <... rmdir resumed>) = 0 [pid 5899] exit_group(0 [pid 5840] getdents64(3, 0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5899] <... exit_group resumed>) = ? [pid 5840] close(3 [pid 5899] +++ exited with 0 +++ [pid 5840] <... close resumed>) = 0 [pid 5840] rmdir("./0" [pid 5836] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5899, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=42 /* 0.42 s */} --- [pid 5840] <... rmdir resumed>) = 0 [pid 5840] mkdir("./1", 0777) = 0 [pid 5836] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5836] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5901] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5901] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5901] ioctl(3, LOOP_CLR_FD) = 0 [pid 5901] close(3 [pid 5840] openat(AT_FDCWD, "/dev/loop5", O_RDWR [ 77.639291][ T5899] syz-executor158 (5899) used greatest stack depth: 18144 bytes left [ 77.652396][ T5901] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5836] newfstatat(3, "", [pid 5840] <... openat resumed>) = 3 [pid 5836] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5836] getdents64(3, [pid 5840] ioctl(3, LOOP_CLR_FD [pid 5836] <... getdents64 resumed>0x55556b95e6f0 /* 4 entries */, 32768) = 112 [pid 5840] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5836] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] close(3) = 0 [pid 5836] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5836] newfstatat(AT_FDCWD, "./1/binderfs", [pid 5840] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5836] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 ./strace-static-x86_64: Process 5940 attached [pid 5840] <... clone resumed>, child_tidptr=0x55556b95d650) = 5940 [pid 5836] unlink("./1/binderfs" [pid 5940] set_robust_list(0x55556b95d660, 24 [pid 5836] <... unlink resumed>) = 0 [pid 5836] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOWexecuting program [pid 5940] <... set_robust_list resumed>) = 0 [pid 5940] chdir("./1") = 0 [pid 5940] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5940] setpgid(0, 0) = 0 [pid 5940] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5940] write(3, "1000", 4) = 4 [pid 5940] close(3) = 0 [pid 5940] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5940] write(1, "executing program\n", 18) = 18 [pid 5940] memfd_create("syzkaller", 0) = 3 [pid 5940] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb51f400000 [ 77.755116][ T5836] bcachefs (loop1): shutting down [ 77.760216][ T5836] bcachefs (loop1): going read-only [ 77.780316][ T5836] bcachefs (loop1): finished waiting for writes to stop [pid 5897] <... close resumed>) = 0 [pid 5898] <... close resumed>) = 0 [pid 5897] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5898] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 3 [pid 5897] <... openat resumed>) = 3 [pid 5898] exit_group(0) = ? [pid 5897] exit_group(0) = ? [pid 5898] +++ exited with 0 +++ [pid 5897] +++ exited with 0 +++ [pid 5838] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5898, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=47 /* 0.47 s */} --- [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5897, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=46 /* 0.46 s */} --- [pid 5838] restart_syscall(<... resuming interrupted clone ...> [pid 5835] restart_syscall(<... resuming interrupted clone ...> [pid 5838] <... restart_syscall resumed>) = 0 [pid 5838] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] <... restart_syscall resumed>) = 0 [pid 5838] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5835] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5838] <... openat resumed>) = 3 [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5838] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5835] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5838] getdents64(3, 0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5835] <... openat resumed>) = 3 [pid 5838] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(3, "", [pid 5838] newfstatat(AT_FDCWD, "./1/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5838] unlink("./1/binderfs") = 0 [pid 5835] getdents64(3, [pid 5838] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] <... getdents64 resumed>0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5838] newfstatat(AT_FDCWD, "./1/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5838] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5838] openat(AT_FDCWD, "./1/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5835] newfstatat(AT_FDCWD, "./1/binderfs", [pid 5838] <... openat resumed>) = 4 [pid 5838] newfstatat(4, "", [pid 5835] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 77.854250][ T5836] bcachefs (loop1): flushing journal and stopping allocators, journal seq 12 [pid 5838] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5900] <... close resumed>) = 0 [pid 5838] getdents64(4, [pid 5835] unlink("./1/binderfs" [pid 5838] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5838] getdents64(4, 0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5838] close(4) = 0 [pid 5838] rmdir("./1/file0") = 0 [pid 5838] umount2("./1/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5838] newfstatat(AT_FDCWD, "./1/cgroup.controllers", [pid 5900] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5838] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] <... unlink resumed>) = 0 [pid 5838] unlink("./1/cgroup.controllers" [pid 5900] <... openat resumed>) = 3 [pid 5838] <... unlink resumed>) = 0 [pid 5835] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5838] getdents64(3, [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5838] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5835] newfstatat(AT_FDCWD, "./1/file0", [pid 5838] close(3 [pid 5835] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5900] exit_group(0 [pid 5835] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5900] <... exit_group resumed>) = ? [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5838] <... close resumed>) = 0 [pid 5838] rmdir("./1") = 0 [pid 5838] mkdir("./2", 0777 [pid 5900] +++ exited with 0 +++ [pid 5838] <... mkdir resumed>) = 0 [pid 5835] openat(AT_FDCWD, "./1/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5838] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5835] <... openat resumed>) = 4 [pid 5837] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5900, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=38 /* 0.38 s */} --- [pid 5835] newfstatat(4, "", [pid 5837] restart_syscall(<... resuming interrupted clone ...> [pid 5838] <... openat resumed>) = 3 [pid 5835] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5838] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] getdents64(4, [pid 5838] close(3 [pid 5837] <... restart_syscall resumed>) = 0 [pid 5835] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5838] <... close resumed>) = 0 [pid 5835] getdents64(4, 0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5837] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] close(4 [pid 5838] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5837] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] <... close resumed>) = 0 [pid 5837] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5835] rmdir("./1/file0"./strace-static-x86_64: Process 5941 attached [pid 5837] <... openat resumed>) = 3 [pid 5835] <... rmdir resumed>) = 0 [pid 5837] newfstatat(3, "", [pid 5835] umount2("./1/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5838] <... clone resumed>, child_tidptr=0x55556b95d650) = 5941 [pid 5837] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5837] getdents64(3, [pid 5835] newfstatat(AT_FDCWD, "./1/cgroup.controllers", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5941] set_robust_list(0x55556b95d660, 24 [pid 5837] <... getdents64 resumed>0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5835] unlink("./1/cgroup.controllers" [pid 5941] <... set_robust_list resumed>) = 0 [pid 5837] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] <... unlink resumed>) = 0 [pid 5837] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] getdents64(3, [pid 5941] chdir("./2" [pid 5837] newfstatat(AT_FDCWD, "./1/binderfs", [pid 5835] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5837] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] close(3 [pid 5941] <... chdir resumed>) = 0 [pid 5837] unlink("./1/binderfs" [pid 5941] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5835] <... close resumed>) = 0 [pid 5837] <... unlink resumed>) = 0 [pid 5941] <... prctl resumed>) = 0 [pid 5835] rmdir("./1" [pid 5941] setpgid(0, 0 [pid 5835] <... rmdir resumed>) = 0 [pid 5941] <... setpgid resumed>) = 0 [pid 5837] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5941] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5837] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] mkdir("./2", 0777 [pid 5837] newfstatat(AT_FDCWD, "./1/file0", [pid 5835] <... mkdir resumed>) = 0 [pid 5837] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5941] <... openat resumed>) = 3 [pid 5837] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5837] openat(AT_FDCWD, "./1/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5837] newfstatat(4, "", [pid 5941] write(3, "1000", 4 [pid 5837] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5941] <... write resumed>) = 4 [pid 5837] getdents64(4, [pid 5941] close(3 [pid 5835] <... openat resumed>) = 3 [pid 5941] <... close resumed>) = 0 [pid 5837] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5835] ioctl(3, LOOP_CLR_FD [pid 5941] symlink("/dev/binderfs", "./binderfs" [pid 5837] getdents64(4, [pid 5835] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5941] <... symlink resumed>) = 0 [pid 5837] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5835] close(3 [pid 5837] close(4 [pid 5835] <... close resumed>) = 0 [pid 5941] write(1, "executing program\n", 18executing program [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5941] <... write resumed>) = 18 [pid 5837] <... close resumed>) = 0 ./strace-static-x86_64: Process 5942 attached [pid 5941] memfd_create("syzkaller", 0 [pid 5837] rmdir("./1/file0" [pid 5941] <... memfd_create resumed>) = 3 [pid 5837] <... rmdir resumed>) = 0 [pid 5942] set_robust_list(0x55556b95d660, 24 [pid 5941] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5837] umount2("./1/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] <... clone resumed>, child_tidptr=0x55556b95d650) = 5942 [pid 5942] <... set_robust_list resumed>) = 0 [pid 5837] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5942] chdir("./2" [pid 5941] <... mmap resumed>) = 0x7fb51f400000 [pid 5837] newfstatat(AT_FDCWD, "./1/cgroup.controllers", [pid 5942] <... chdir resumed>) = 0 [pid 5837] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5942] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5837] unlink("./1/cgroup.controllers" [pid 5942] <... prctl resumed>) = 0 [pid 5942] setpgid(0, 0 [pid 5837] <... unlink resumed>) = 0 [pid 5942] <... setpgid resumed>) = 0 [pid 5942] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5837] getdents64(3, [pid 5942] write(3, "1000", 4) = 4 [pid 5837] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5837] close(3 [pid 5942] close(3 [pid 5837] <... close resumed>) = 0 [pid 5942] <... close resumed>) = 0 [pid 5837] rmdir("./1" [pid 5942] symlink("/dev/binderfs", "./binderfs" [pid 5837] <... rmdir resumed>) = 0 [pid 5942] <... symlink resumed>) = 0 [pid 5837] mkdir("./2", 0777 [pid 5942] write(1, "executing program\n", 18 [pid 5837] <... mkdir resumed>) = 0 executing program [pid 5942] <... write resumed>) = 18 [pid 5837] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5942] memfd_create("syzkaller", 0 [pid 5837] <... openat resumed>) = 3 [pid 5942] <... memfd_create resumed>) = 3 [pid 5837] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5942] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5837] close(3 [pid 5942] <... mmap resumed>) = 0x7fb51f400000 [pid 5940] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5837] <... close resumed>) = 0 [pid 5837] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5943 attached [pid 5943] set_robust_list(0x55556b95d660, 24 [pid 5901] <... close resumed>) = 0 [pid 5837] <... clone resumed>, child_tidptr=0x55556b95d650) = 5943 [pid 5901] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 3 [pid 5901] exit_group(0) = ? [pid 5943] <... set_robust_list resumed>) = 0 [pid 5943] chdir("./2") = 0 [pid 5943] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5901] +++ exited with 0 +++ [pid 5943] <... prctl resumed>) = 0 [pid 5839] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5901, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=49 /* 0.49 s */} --- [pid 5839] restart_syscall(<... resuming interrupted clone ...> [ 78.051901][ T1146] bcachefs (loop1): bch2_write_super(): fatal error loop1: Superblock write was silently dropped! (seq 0 expected 54) [pid 5943] setpgid(0, 0) = 0 [pid 5943] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5839] <... restart_syscall resumed>) = 0 [pid 5943] <... openat resumed>) = 3 [pid 5839] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5839] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5839] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5839] getdents64(3, 0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5839] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5839] newfstatat(AT_FDCWD, "./1/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5839] unlink("./1/binderfs") = 0 [pid 5839] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5839] newfstatat(AT_FDCWD, "./1/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5839] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5839] openat(AT_FDCWD, "./1/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5839] newfstatat(4, "", [pid 5943] write(3, "1000", 4 [pid 5839] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5839] getdents64(4, [pid 5943] <... write resumed>) = 4 [pid 5943] close(3 [pid 5839] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5943] <... close resumed>) = 0 [pid 5839] getdents64(4, [pid 5943] symlink("/dev/binderfs", "./binderfs" [pid 5839] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5943] <... symlink resumed>) = 0 [pid 5839] close(4 [pid 5943] write(1, "executing program\n", 18 [pid 5839] <... close resumed>) = 0 [pid 5839] rmdir("./1/file0") = 0 [pid 5839] umount2("./1/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) executing program [pid 5943] <... write resumed>) = 18 [pid 5839] newfstatat(AT_FDCWD, "./1/cgroup.controllers", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5839] unlink("./1/cgroup.controllers") = 0 [pid 5839] getdents64(3, 0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5839] close(3) = 0 [pid 5839] rmdir("./1") = 0 [pid 5943] memfd_create("syzkaller", 0 [pid 5839] mkdir("./2", 0777 [pid 5943] <... memfd_create resumed>) = 3 [pid 5839] <... mkdir resumed>) = 0 [pid 5943] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5839] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5943] <... mmap resumed>) = 0x7fb51f400000 [pid 5839] <... openat resumed>) = 3 [pid 5839] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5839] close(3) = 0 [pid 5839] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55556b95d650) = 5944 ./strace-static-x86_64: Process 5944 attached [pid 5944] set_robust_list(0x55556b95d660, 24) = 0 [pid 5944] chdir("./2") = 0 [pid 5944] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5944] setpgid(0, 0) = 0 [pid 5944] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5944] write(3, "1000", 4) = 4 [pid 5944] close(3) = 0 [pid 5944] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 5944] write(1, "executing program\n", 18) = 18 [pid 5944] memfd_create("syzkaller", 0) = 3 [pid 5944] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb51f400000 [ 78.094000][ T1146] bcachefs (loop1): fatal error - emergency read only [ 78.132560][ T5836] bcachefs (loop1): flushing journal and stopping allocators complete, journal seq 13 [ 78.169702][ T5836] bcachefs (loop1): unshutdown complete, journal seq 13 [ 78.194506][ T5836] bcachefs (loop1): done going read-only, filesystem not clean [ 78.249055][ T5836] bcachefs (loop1): shutdown complete [pid 5942] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5941] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5944] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5943] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5940] <... write resumed>) = 16777216 [pid 5940] munmap(0x7fb51f400000, 138412032) = 0 [pid 5940] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 5940] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5940] close(3) = 0 [pid 5940] close(4) = 0 [pid 5940] mkdir("./file0", 0777) = 0 [ 78.586775][ T5940] loop5: detected capacity change from 0 to 32768 [pid 5940] mount("/dev/loop5", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 5942] <... write resumed>) = 16777216 [pid 5942] munmap(0x7fb51f400000, 138412032) = 0 [pid 5942] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5942] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5942] close(3) = 0 [pid 5942] close(4) = 0 [pid 5941] <... write resumed>) = 16777216 [pid 5942] mkdir("./file0", 0777) = 0 [pid 5942] mount("/dev/loop0", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 5941] munmap(0x7fb51f400000, 138412032 [pid 5944] <... write resumed>) = 16777216 [pid 5941] <... munmap resumed>) = 0 [ 78.783559][ T5942] loop0: detected capacity change from 0 to 32768 [pid 5944] munmap(0x7fb51f400000, 138412032 [pid 5941] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5941] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5941] close(3) = 0 [pid 5941] close(4) = 0 [pid 5941] mkdir("./file0", 0777) = 0 [pid 5941] mount("/dev/loop3", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 5944] <... munmap resumed>) = 0 [pid 5944] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5944] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5943] <... write resumed>) = 16777216 [pid 5944] close(3 [pid 5943] munmap(0x7fb51f400000, 138412032 [pid 5944] <... close resumed>) = 0 [pid 5944] close(4) = 0 [pid 5944] mkdir("./file0", 0777 [pid 5943] <... munmap resumed>) = 0 [pid 5944] <... mkdir resumed>) = 0 [pid 5944] mount("/dev/loop4", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 5943] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [ 78.861946][ T5941] loop3: detected capacity change from 0 to 32768 [ 78.885472][ T5944] loop4: detected capacity change from 0 to 32768 [pid 5943] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5943] close(3) = 0 [pid 5943] close(4) = 0 [pid 5943] mkdir("./file0", 0777) = 0 [ 78.921722][ T5943] loop2: detected capacity change from 0 to 32768 [ 79.175561][ T5940] bcachefs (loop5): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,erasure_code,degraded,no_splitbrain_check,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,nocow [ 79.182071][ T5942] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 79.198136][ T5940] bcachefs (loop5): recovering from clean shutdown, journal seq 10 [ 79.207622][ T5942] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 79.215408][ T5941] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 79.226750][ T5940] bcachefs (loop5): Version upgrade required: [ 79.226750][ T5940] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 79.226750][ T5940] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 79.226750][ T5940] 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 [ 79.246236][ T5941] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 79.305783][ T5944] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 79.332073][ T5944] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 79.380416][ T5943] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 79.389685][ T5940] bcachefs (loop5): dropping and reconstructing all alloc info [ 79.432172][ T5943] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [pid 5943] mount("/dev/loop2", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 5941] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5942] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5941] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5941] ioctl(3, LOOP_CLR_FD) = 0 [pid 5941] close(3 [pid 5942] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5942] ioctl(3, LOOP_CLR_FD) = 0 [ 79.553206][ T5940] bcachefs (loop5): check_topology... done [ 79.555986][ T5941] bcachefs: bch2_fs_get_tree() error: EINVAL [ 79.559126][ T5940] bcachefs (loop5): accounting_read... done [ 79.586861][ T5940] bcachefs (loop5): alloc_read... done [ 79.594512][ T5942] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5942] close(3 [pid 5944] <... mount resumed>) = -1 EINVAL (Invalid argument) [ 79.627855][ T5940] bcachefs (loop5): stripes_read... done [ 79.651866][ T5944] bcachefs: bch2_fs_get_tree() error: EINVAL [ 79.661033][ T5940] bcachefs (loop5): snapshots_read... done [pid 5944] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5944] ioctl(3, LOOP_CLR_FD) = 0 [ 79.677049][ T5940] bcachefs (loop5): check_allocations... [ 79.681735][ T5943] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5944] close(3 [pid 5943] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5943] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5943] ioctl(3, LOOP_CLR_FD) = 0 [pid 5943] close(3 [pid 5836] <... umount2 resumed>) = 0 [pid 5836] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5836] newfstatat(AT_FDCWD, "./1/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5836] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5836] openat(AT_FDCWD, "./1/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5836] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5836] getdents64(4, 0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5836] getdents64(4, 0x55556b966730 /* 0 entries */, 32768) = 0 [ 79.808378][ T5940] done [pid 5836] close(4) = 0 [pid 5836] rmdir("./1/file0") = 0 [pid 5836] getdents64(3, 0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5836] close(3) = 0 [ 79.848040][ T5940] bcachefs (loop5): going read-write [pid 5836] rmdir("./1") = 0 [pid 5836] mkdir("./2", 0777) = 0 [pid 5836] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5836] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5836] close(3) = 0 [pid 5836] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5982 attached , child_tidptr=0x55556b95d650) = 5982 [pid 5982] set_robust_list(0x55556b95d660, 24) = 0 [pid 5982] chdir("./2") = 0 [pid 5940] <... mount resumed>) = 0 [pid 5982] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5982] setpgid(0, 0 [pid 5940] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 5982] <... setpgid resumed>) = 0 [pid 5982] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5940] <... openat resumed>) = 3 [pid 5982] <... openat resumed>) = 3 [pid 5940] chdir("./file0" [pid 5982] write(3, "1000", 4 [pid 5940] <... chdir resumed>) = 0 [pid 5982] <... write resumed>) = 4 [pid 5940] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5982] close(3 [pid 5940] <... openat resumed>) = 4 [pid 5982] <... close resumed>) = 0 [pid 5940] ioctl(4, LOOP_CLR_FD [pid 5982] symlink("/dev/binderfs", "./binderfs" [pid 5940] <... ioctl resumed>) = 0 [pid 5982] <... symlink resumed>) = 0 [pid 5940] close(4 [pid 5982] write(1, "executing program\n", 18 [pid 5940] <... close resumed>) = 0 [pid 5940] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000executing program [pid 5982] <... write resumed>) = 18 [ 79.941150][ T5940] bcachefs (loop5): done starting filesystem [pid 5982] memfd_create("syzkaller", 0) = 3 [pid 5940] <... openat resumed>) = 4 [pid 5982] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb51f400000 [pid 5941] <... close resumed>) = 0 [pid 5942] <... close resumed>) = 0 [pid 5941] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5940] exit_group(0 [pid 5941] <... openat resumed>) = 3 [pid 5940] <... exit_group resumed>) = ? [pid 5941] exit_group(0) = ? [pid 5941] +++ exited with 0 +++ [pid 5940] +++ exited with 0 +++ [pid 5840] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5940, si_uid=0, si_status=0, si_utime=0, si_stime=40 /* 0.40 s */} --- [pid 5838] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5941, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=49 /* 0.49 s */} --- [pid 5840] restart_syscall(<... resuming interrupted clone ...> [pid 5838] restart_syscall(<... resuming interrupted clone ...> [pid 5942] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5944] <... close resumed>) = 0 [pid 5840] <... restart_syscall resumed>) = 0 [pid 5838] <... restart_syscall resumed>) = 0 [pid 5942] <... openat resumed>) = 3 [pid 5942] exit_group(0 [pid 5944] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5942] <... exit_group resumed>) = ? [pid 5942] +++ exited with 0 +++ [pid 5840] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5838] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5944] <... openat resumed>) = 3 [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5838] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5838] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5942, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=49 /* 0.49 s */} --- [pid 5840] <... openat resumed>) = 3 [pid 5838] <... openat resumed>) = 3 [pid 5835] restart_syscall(<... resuming interrupted clone ...> [pid 5840] newfstatat(3, "", [pid 5838] newfstatat(3, "", [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5838] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] getdents64(3, [pid 5838] getdents64(3, [pid 5840] <... getdents64 resumed>0x55556b95e6f0 /* 4 entries */, 32768) = 112 [pid 5838] <... getdents64 resumed>0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5840] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5838] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] <... restart_syscall resumed>) = 0 [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5838] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./1/binderfs", [pid 5838] newfstatat(AT_FDCWD, "./2/binderfs", [pid 5840] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5838] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5944] exit_group(0 [pid 5840] unlink("./1/binderfs" [pid 5838] unlink("./2/binderfs" [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5944] <... exit_group resumed>) = ? [pid 5840] <... unlink resumed>) = 0 [pid 5838] <... unlink resumed>) = 0 [pid 5835] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5944] +++ exited with 0 +++ [pid 5840] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5838] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] <... openat resumed>) = 3 [pid 5839] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5944, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=49 /* 0.49 s */} --- [pid 5838] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(3, "", [pid 5839] restart_syscall(<... resuming interrupted clone ...> [pid 5838] newfstatat(AT_FDCWD, "./2/file0", [pid 5835] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5839] <... restart_syscall resumed>) = 0 [pid 5838] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] getdents64(3, [pid 5838] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] <... getdents64 resumed>0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5943] <... close resumed>) = 0 [pid 5838] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5839] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5838] openat(AT_FDCWD, "./2/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5839] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5838] <... openat resumed>) = 4 [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5839] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5838] newfstatat(4, "", [pid 5835] newfstatat(AT_FDCWD, "./2/binderfs", [pid 5839] <... openat resumed>) = 3 [pid 5838] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5839] newfstatat(3, "", [pid 5838] getdents64(4, [pid 5839] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5838] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5839] getdents64(3, [pid 5838] getdents64(4, [pid 5839] <... getdents64 resumed>0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5838] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5839] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5838] close(4 [pid 5943] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5839] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5838] <... close resumed>) = 0 [pid 5835] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5943] <... openat resumed>) = 3 [pid 5839] newfstatat(AT_FDCWD, "./2/binderfs", [pid 5838] rmdir("./2/file0" [pid 5839] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5838] <... rmdir resumed>) = 0 [pid 5838] umount2("./2/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5943] exit_group(0 [pid 5839] unlink("./2/binderfs" [pid 5838] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5943] <... exit_group resumed>) = ? [pid 5839] <... unlink resumed>) = 0 [pid 5838] newfstatat(AT_FDCWD, "./2/cgroup.controllers", [pid 5943] +++ exited with 0 +++ [pid 5839] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5838] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5839] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5838] unlink("./2/cgroup.controllers" [pid 5839] newfstatat(AT_FDCWD, "./2/file0", [pid 5838] <... unlink resumed>) = 0 [pid 5837] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5943, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=37 /* 0.37 s */} --- [pid 5839] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5838] getdents64(3, [pid 5837] restart_syscall(<... resuming interrupted clone ...> [pid 5839] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5838] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5837] <... restart_syscall resumed>) = 0 [pid 5839] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5838] close(3 [pid 5835] unlink("./2/binderfs" [pid 5839] openat(AT_FDCWD, "./2/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5838] <... close resumed>) = 0 [pid 5835] <... unlink resumed>) = 0 [pid 5839] <... openat resumed>) = 4 [pid 5838] rmdir("./2" [pid 5837] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5839] newfstatat(4, "", [pid 5838] <... rmdir resumed>) = 0 [pid 5839] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5838] mkdir("./3", 0777 [pid 5837] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5839] getdents64(4, [pid 5838] <... mkdir resumed>) = 0 [pid 5837] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5839] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5838] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5837] <... openat resumed>) = 3 [pid 5839] getdents64(4, [pid 5838] <... openat resumed>) = 3 [pid 5837] newfstatat(3, "", [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5839] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5838] ioctl(3, LOOP_CLR_FD [pid 5837] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5835] newfstatat(AT_FDCWD, "./2/file0", [pid 5839] close(4 [pid 5838] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5837] getdents64(3, [pid 5835] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5839] <... close resumed>) = 0 [pid 5838] close(3 [pid 5837] <... getdents64 resumed>0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5839] rmdir("./2/file0" [pid 5835] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5839] <... rmdir resumed>) = 0 [pid 5838] <... close resumed>) = 0 [pid 5837] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5839] umount2("./2/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5838] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5837] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./2/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY./strace-static-x86_64: Process 5984 attached [pid 5839] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5837] newfstatat(AT_FDCWD, "./2/binderfs", [pid 5835] <... openat resumed>) = 4 [pid 5984] set_robust_list(0x55556b95d660, 24 [pid 5839] newfstatat(AT_FDCWD, "./2/cgroup.controllers", [pid 5837] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] newfstatat(4, "", [pid 5984] <... set_robust_list resumed>) = 0 [pid 5839] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5838] <... clone resumed>, child_tidptr=0x55556b95d650) = 5984 [pid 5837] unlink("./2/binderfs" [pid 5984] chdir("./3" [pid 5839] unlink("./2/cgroup.controllers" [pid 5837] <... unlink resumed>) = 0 [pid 5835] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5984] <... chdir resumed>) = 0 [pid 5839] <... unlink resumed>) = 0 [pid 5837] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] getdents64(4, [pid 5984] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5839] getdents64(3, [pid 5984] <... prctl resumed>) = 0 [pid 5837] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5984] setpgid(0, 0 [pid 5837] newfstatat(AT_FDCWD, "./2/file0", [pid 5835] getdents64(4, [pid 5839] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5984] <... setpgid resumed>) = 0 [pid 5839] close(3 [pid 5837] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5984] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [ 80.108718][ T5840] bcachefs (loop5): shutting down [ 80.115955][ T5840] bcachefs (loop5): going read-only [ 80.121521][ T5840] bcachefs (loop5): finished waiting for writes to stop [ 80.141360][ T5840] bcachefs (loop5): flushing journal and stopping allocators, journal seq 12 [pid 5984] write(3, "1000", 4 [pid 5839] <... close resumed>) = 0 [pid 5837] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] close(4 [pid 5984] <... write resumed>) = 4 [pid 5984] close(3) = 0 [pid 5839] rmdir("./2" [pid 5837] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] <... close resumed>) = 0 [pid 5984] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5984] write(1, "executing program\n", 18 [pid 5839] <... rmdir resumed>) = 0 [pid 5837] openat(AT_FDCWD, "./2/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORYexecuting program [pid 5835] rmdir("./2/file0" [pid 5984] <... write resumed>) = 18 [pid 5984] memfd_create("syzkaller", 0) = 3 [pid 5984] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb51f400000 [pid 5839] mkdir("./3", 0777 [pid 5837] <... openat resumed>) = 4 [pid 5835] <... rmdir resumed>) = 0 [pid 5837] newfstatat(4, "", [pid 5835] umount2("./2/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5839] <... mkdir resumed>) = 0 [pid 5837] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5839] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5837] getdents64(4, [pid 5982] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] newfstatat(AT_FDCWD, "./2/cgroup.controllers", [pid 5837] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5837] getdents64(4, [pid 5835] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5837] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5835] unlink("./2/cgroup.controllers" [pid 5837] close(4 [pid 5835] <... unlink resumed>) = 0 [pid 5837] <... close resumed>) = 0 [pid 5835] getdents64(3, [pid 5837] rmdir("./2/file0" [pid 5835] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5837] <... rmdir resumed>) = 0 [pid 5837] umount2("./2/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] close(3 [pid 5837] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] <... close resumed>) = 0 [pid 5837] newfstatat(AT_FDCWD, "./2/cgroup.controllers", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 80.202650][ T53] bcachefs (loop5): bch2_write_super(): fatal error loop5: Superblock write was silently dropped! (seq 0 expected 54) [ 80.231695][ T53] bcachefs (loop5): fatal error - emergency read only [pid 5837] unlink("./2/cgroup.controllers") = 0 [pid 5837] getdents64(3, 0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5837] close(3) = 0 [pid 5837] rmdir("./2" [pid 5835] rmdir("./2" [pid 5839] <... openat resumed>) = 3 [pid 5835] <... rmdir resumed>) = 0 [pid 5835] mkdir("./3", 0777 [pid 5839] ioctl(3, LOOP_CLR_FD [pid 5837] <... rmdir resumed>) = 0 [pid 5835] <... mkdir resumed>) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5839] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5837] mkdir("./3", 0777 [pid 5839] close(3 [pid 5837] <... mkdir resumed>) = 0 [pid 5837] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5837] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5837] close(3) = 0 [pid 5835] <... openat resumed>) = 3 [pid 5837] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) ./strace-static-x86_64: Process 5985 attached [pid 5835] close(3 [pid 5985] set_robust_list(0x55556b95d660, 24 [pid 5835] <... close resumed>) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5986 attached [pid 5985] <... set_robust_list resumed>) = 0 [pid 5985] chdir("./3" [pid 5837] <... clone resumed>, child_tidptr=0x55556b95d650) = 5985 [pid 5835] <... clone resumed>, child_tidptr=0x55556b95d650) = 5986 [pid 5985] <... chdir resumed>) = 0 [pid 5985] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [ 80.247805][ T5840] bcachefs (loop5): flushing journal and stopping allocators complete, journal seq 14 [pid 5985] setpgid(0, 0 [pid 5839] <... close resumed>) = 0 [pid 5985] <... setpgid resumed>) = 0 [pid 5839] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5987 attached [pid 5986] set_robust_list(0x55556b95d660, 24 [pid 5985] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5987] set_robust_list(0x55556b95d660, 24 [pid 5985] <... openat resumed>) = 3 [pid 5987] <... set_robust_list resumed>) = 0 [pid 5986] <... set_robust_list resumed>) = 0 [pid 5986] chdir("./3" [pid 5839] <... clone resumed>, child_tidptr=0x55556b95d650) = 5987 [pid 5986] <... chdir resumed>) = 0 [pid 5986] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5986] setpgid(0, 0) = 0 [pid 5986] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5986] write(3, "1000", 4 [pid 5987] chdir("./3" [pid 5985] write(3, "1000", 4 [pid 5987] <... chdir resumed>) = 0 [pid 5986] <... write resumed>) = 4 [pid 5985] <... write resumed>) = 4 [pid 5986] close(3executing program [pid 5987] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5986] <... close resumed>) = 0 [pid 5985] close(3 [pid 5986] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5986] write(1, "executing program\n", 18) = 18 [pid 5986] memfd_create("syzkaller", 0) = 3 [pid 5986] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb51f400000 [pid 5987] <... prctl resumed>) = 0 [pid 5985] <... close resumed>) = 0 [pid 5987] setpgid(0, 0 [pid 5985] symlink("/dev/binderfs", "./binderfs" [pid 5987] <... setpgid resumed>) = 0 [pid 5985] <... symlink resumed>) = 0 [pid 5987] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5985] write(1, "executing program\n", 18executing program ) = 18 [pid 5987] <... openat resumed>) = 3 [pid 5987] write(3, "1000", 4 [pid 5985] memfd_create("syzkaller", 0 [pid 5987] <... write resumed>) = 4 [pid 5985] <... memfd_create resumed>) = 3 [pid 5985] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb51f400000 [pid 5987] close(3) = 0 [pid 5987] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5987] write(1, "executing program\n", 18executing program ) = 18 [ 80.295363][ T5840] bcachefs (loop5): unshutdown complete, journal seq 14 [ 80.322516][ T5840] bcachefs (loop5): done going read-only, filesystem not clean [pid 5987] memfd_create("syzkaller", 0) = 3 [pid 5987] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb51f400000 [ 80.438824][ T5840] bcachefs (loop5): shutdown complete [pid 5984] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 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 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] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5982] <... write resumed>) = 16777216 [pid 5982] munmap(0x7fb51f400000, 138412032) = 0 [pid 5982] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 5982] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5982] close(3) = 0 [pid 5982] close(4) = 0 [pid 5982] mkdir("./file0", 0777) = 0 [ 80.717874][ T5982] loop1: detected capacity change from 0 to 32768 [pid 5982] mount("/dev/loop1", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 5987] <... write resumed>) = 16777216 [pid 5987] munmap(0x7fb51f400000, 138412032 [pid 5984] <... write resumed>) = 16777216 [pid 5987] <... munmap resumed>) = 0 [pid 5984] munmap(0x7fb51f400000, 138412032 [pid 5987] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5987] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5987] close(3) = 0 [pid 5987] close(4) = 0 [pid 5987] mkdir("./file0", 0777) = 0 [pid 5987] mount("/dev/loop4", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 5984] <... munmap resumed>) = 0 [pid 5984] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [ 81.013635][ T5987] loop4: detected capacity change from 0 to 32768 [pid 5984] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5984] close(3) = 0 [pid 5984] close(4 [pid 5986] <... write resumed>) = 16777216 [pid 5984] <... close resumed>) = 0 [pid 5984] mkdir("./file0", 0777 [pid 5986] munmap(0x7fb51f400000, 138412032 [pid 5985] <... write resumed>) = 16777216 [pid 5984] <... mkdir resumed>) = 0 [pid 5985] munmap(0x7fb51f400000, 138412032 [pid 5984] mount("/dev/loop3", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 5985] <... munmap resumed>) = 0 [pid 5986] <... munmap resumed>) = 0 [ 81.057276][ T5984] loop3: detected capacity change from 0 to 32768 [pid 5986] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5986] ioctl(4, LOOP_SET_FD, 3 [pid 5985] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5985] ioctl(4, LOOP_SET_FD, 3 [pid 5986] <... ioctl resumed>) = 0 [pid 5986] close(3) = 0 [pid 5986] close(4) = 0 [pid 5986] mkdir("./file0", 0777) = 0 [pid 5986] mount("/dev/loop0", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 5985] <... ioctl resumed>) = 0 [pid 5985] close(3) = 0 [pid 5985] close(4) = 0 [ 81.121249][ T5986] loop0: detected capacity change from 0 to 32768 [ 81.137450][ T5985] loop2: detected capacity change from 0 to 32768 [pid 5985] mkdir("./file0", 0777) = 0 [ 81.353249][ T5982] bcachefs (loop1): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,erasure_code,degraded,no_splitbrain_check,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,nocow [ 81.404468][ T5985] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 81.418508][ T5982] bcachefs (loop1): recovering from clean shutdown, journal seq 10 [ 81.443485][ T5985] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 81.447625][ T5982] bcachefs (loop1): Version upgrade required: [ 81.447625][ T5982] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 81.447625][ T5982] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 81.447625][ T5982] 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 [ 81.495621][ T5984] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 81.525283][ T5982] bcachefs (loop1): dropping and reconstructing all alloc info [ 81.615756][ T5982] bcachefs (loop1): check_topology... done [ 81.631052][ T5984] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 81.641355][ T5987] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 81.661037][ T5982] bcachefs (loop1): accounting_read... [ 81.661250][ T5987] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 81.681043][ T5986] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 81.700984][ T5982] done [ 81.704135][ T5982] bcachefs (loop1): alloc_read... done [ 81.709715][ T5982] bcachefs (loop1): stripes_read... done [pid 5985] mount("/dev/loop2", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 5840] <... umount2 resumed>) = 0 [pid 5985] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5840] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./1/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./1/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5840] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] getdents64(4, 0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5840] getdents64(4, 0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5840] close(4) = 0 [pid 5840] rmdir("./1/file0") = 0 [pid 5840] getdents64(3, 0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5840] close(3) = 0 [pid 5840] rmdir("./1") = 0 [pid 5840] mkdir("./2", 0777) = 0 [pid 5840] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5985] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5985] ioctl(3, LOOP_CLR_FD) = 0 [pid 5985] close(3 [ 81.719763][ T5986] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 81.739068][ T5982] bcachefs (loop1): snapshots_read... done [ 81.752059][ T5985] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5840] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5840] close(3) = 0 [pid 5840] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6024 attached [pid 6024] set_robust_list(0x55556b95d660, 24) = 0 [pid 6024] chdir("./2" [pid 5840] <... clone resumed>, child_tidptr=0x55556b95d650) = 6024 [pid 6024] <... chdir resumed>) = 0 [pid 6024] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6024] setpgid(0, 0) = 0 [pid 6024] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6024] write(3, "1000", 4) = 4 [pid 6024] close(3) = 0 executing program [pid 6024] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6024] write(1, "executing program\n", 18) = 18 [pid 6024] memfd_create("syzkaller", 0) = 3 [pid 6024] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb51f400000 [pid 5984] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5984] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5984] ioctl(3, LOOP_CLR_FD) = 0 [ 81.761660][ T5982] bcachefs (loop1): check_allocations... [ 81.907903][ T5984] bcachefs: bch2_fs_get_tree() error: EINVAL [ 81.939470][ T5982] done [ 81.951242][ T5987] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5984] close(3 [pid 5987] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5987] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5987] ioctl(3, LOOP_CLR_FD) = 0 [ 82.008721][ T5982] bcachefs (loop1): going read-write [pid 5987] close(3 [pid 5986] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5986] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5986] ioctl(3, LOOP_CLR_FD) = 0 [pid 5986] close(3 [pid 5982] <... mount resumed>) = 0 [ 82.050058][ T5986] bcachefs: bch2_fs_get_tree() error: EINVAL [ 82.082976][ T5982] bcachefs (loop1): done starting filesystem [pid 5982] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5982] chdir("./file0") = 0 [pid 5982] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 5982] ioctl(4, LOOP_CLR_FD) = 0 [pid 5982] close(4) = 0 [pid 5982] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 4 [pid 5982] exit_group(0) = ? [pid 5982] +++ exited with 0 +++ [pid 5836] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5982, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=37 /* 0.37 s */} --- [pid 5836] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5836] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5836] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5836] getdents64(3, 0x55556b95e6f0 /* 4 entries */, 32768) = 112 [pid 5836] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5985] <... close resumed>) = 0 [pid 5836] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5836] newfstatat(AT_FDCWD, "./2/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5836] unlink("./2/binderfs") = 0 [pid 5836] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5985] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 3 [pid 5985] exit_group(0) = ? [pid 5985] +++ exited with 0 +++ [pid 5837] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5985, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=42 /* 0.42 s */} --- [ 82.279652][ T5836] bcachefs (loop1): shutting down [ 82.289607][ T5836] bcachefs (loop1): going read-only [pid 5837] restart_syscall(<... resuming interrupted clone ...>) = 0 [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 5837] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5837] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5837] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5837] getdents64(3, 0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5837] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5837] newfstatat(AT_FDCWD, "./3/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5837] unlink("./3/binderfs" [pid 5984] <... close resumed>) = 0 [pid 5837] <... unlink resumed>) = 0 [pid 5837] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5837] newfstatat(AT_FDCWD, "./3/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5837] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 82.320960][ T5836] bcachefs (loop1): finished waiting for writes to stop [ 82.338979][ T5836] bcachefs (loop1): flushing journal and stopping allocators, journal seq 12 [pid 5837] openat(AT_FDCWD, "./3/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5984] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5837] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5984] <... openat resumed>) = 3 [pid 5837] getdents64(4, [pid 5984] exit_group(0 [pid 5837] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5987] <... close resumed>) = 0 [pid 5984] <... exit_group resumed>) = ? [pid 5837] getdents64(4, [pid 5987] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5984] +++ exited with 0 +++ [pid 5987] <... openat resumed>) = 3 [pid 5987] exit_group(0) = ? [pid 5987] +++ exited with 0 +++ [pid 5837] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5837] close(4 [pid 5839] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5987, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=43 /* 0.43 s */} --- [pid 5838] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5984, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=41 /* 0.41 s */} --- [pid 5837] <... close resumed>) = 0 [pid 5837] rmdir("./3/file0" [pid 5838] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5837] <... rmdir resumed>) = 0 [pid 5838] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5838] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5839] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5837] umount2("./3/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5839] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5838] <... openat resumed>) = 3 [pid 5837] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5839] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5838] newfstatat(3, "", [pid 5837] newfstatat(AT_FDCWD, "./3/cgroup.controllers", [pid 5839] <... openat resumed>) = 3 [pid 5838] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5837] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5838] getdents64(3, [pid 5839] newfstatat(3, "", [pid 5838] <... getdents64 resumed>0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5839] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5838] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5837] unlink("./3/cgroup.controllers" [pid 5839] getdents64(3, [pid 5838] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5839] <... getdents64 resumed>0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5838] newfstatat(AT_FDCWD, "./3/binderfs", [pid 5839] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5838] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5839] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5838] unlink("./3/binderfs" [pid 5839] newfstatat(AT_FDCWD, "./3/binderfs", [pid 5838] <... unlink resumed>) = 0 [pid 5839] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5838] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5839] unlink("./3/binderfs" [pid 5838] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5837] <... unlink resumed>) = 0 [pid 5839] <... unlink resumed>) = 0 [pid 5838] newfstatat(AT_FDCWD, "./3/file0", [pid 5837] getdents64(3, [pid 5838] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5838] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5838] openat(AT_FDCWD, "./3/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5838] newfstatat(4, "", [pid 5837] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 [ 82.410567][ T1146] bcachefs (loop1): bch2_write_super(): fatal error loop1: Superblock write was silently dropped! (seq 0 expected 54) [pid 5837] close(3 [pid 5986] <... close resumed>) = 0 [pid 5839] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5838] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5838] getdents64(4, 0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5838] getdents64(4, 0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5838] close(4) = 0 [pid 5986] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5838] rmdir("./3/file0" [pid 5837] <... close resumed>) = 0 [pid 5986] <... openat resumed>) = 3 [pid 5839] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5838] <... rmdir resumed>) = 0 [pid 5837] rmdir("./3" [pid 5839] newfstatat(AT_FDCWD, "./3/file0", [pid 5838] umount2("./3/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5839] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5838] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5838] newfstatat(AT_FDCWD, "./3/cgroup.controllers", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5839] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5838] unlink("./3/cgroup.controllers" [pid 5839] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5838] <... unlink resumed>) = 0 [pid 5986] exit_group(0 [pid 5839] openat(AT_FDCWD, "./3/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5837] <... rmdir resumed>) = 0 [pid 5839] <... openat resumed>) = 4 [pid 5838] getdents64(3, [pid 5837] mkdir("./4", 0777 [pid 5838] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5838] close(3) = 0 [pid 5838] rmdir("./3" [pid 5839] newfstatat(4, "", [pid 5838] <... rmdir resumed>) = 0 [pid 5839] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5839] getdents64(4, 0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5839] getdents64(4, [pid 5986] <... exit_group resumed>) = ? [pid 5839] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5838] mkdir("./4", 0777 [pid 5837] <... mkdir resumed>) = 0 [pid 5838] <... mkdir resumed>) = 0 [pid 5839] close(4) = 0 [pid 5838] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5839] rmdir("./3/file0") = 0 [pid 5986] +++ exited with 0 +++ [pid 5838] ioctl(3, LOOP_CLR_FD [pid 5837] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5986, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=41 /* 0.41 s */} --- [pid 5837] <... openat resumed>) = 3 [pid 5835] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5837] ioctl(3, LOOP_CLR_FD [pid 5835] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, [pid 5838] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5835] <... getdents64 resumed>0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5839] umount2("./3/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5838] close(3 [pid 5837] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5839] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5838] <... close resumed>) = 0 [pid 5837] close(3 [pid 5835] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5839] newfstatat(AT_FDCWD, "./3/cgroup.controllers", [pid 5838] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5837] <... close resumed>) = 0 [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./3/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./3/binderfs" [pid 5837] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5835] <... unlink resumed>) = 0 [pid 5835] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5839] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) ./strace-static-x86_64: Process 6027 attached [pid 5839] unlink("./3/cgroup.controllers" [pid 5838] <... clone resumed>, child_tidptr=0x55556b95d650) = 6027 [pid 5835] newfstatat(AT_FDCWD, "./3/file0", [pid 5839] <... unlink resumed>) = 0 [pid 5835] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5839] getdents64(3, [pid 5835] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5839] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5839] close(3 [pid 5835] openat(AT_FDCWD, "./3/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5839] <... close resumed>) = 0 [pid 5835] <... openat resumed>) = 4 [pid 5839] rmdir("./3" [pid 5835] newfstatat(4, "", ./strace-static-x86_64: Process 6028 attached [pid 6027] set_robust_list(0x55556b95d660, 24 [pid 5839] <... rmdir resumed>) = 0 [pid 5835] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6028] set_robust_list(0x55556b95d660, 24 [pid 6027] <... set_robust_list resumed>) = 0 [pid 5835] getdents64(4, [pid 6028] <... set_robust_list resumed>) = 0 [pid 6027] chdir("./4" [pid 5837] <... clone resumed>, child_tidptr=0x55556b95d650) = 6028 [pid 5835] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5839] mkdir("./4", 0777 [pid 5835] getdents64(4, [pid 5839] <... mkdir resumed>) = 0 [pid 5835] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./3/file0" [pid 5839] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5835] <... rmdir resumed>) = 0 [pid 6027] <... chdir resumed>) = 0 [pid 5839] <... openat resumed>) = 3 [pid 5835] umount2("./3/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6027] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5839] ioctl(3, LOOP_CLR_FD [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6027] <... prctl resumed>) = 0 [pid 5839] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5835] newfstatat(AT_FDCWD, "./3/cgroup.controllers", [pid 6027] setpgid(0, 0 [pid 5839] close(3 [pid 5835] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6027] <... setpgid resumed>) = 0 [pid 5839] <... close resumed>) = 0 [pid 5835] unlink("./3/cgroup.controllers" [pid 6028] chdir("./4" [pid 6027] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5839] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5835] <... unlink resumed>) = 0 ./strace-static-x86_64: Process 6029 attached [pid 6028] <... chdir resumed>) = 0 [pid 6027] <... openat resumed>) = 3 [pid 5835] getdents64(3, [pid 6028] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6027] write(3, "1000", 4 [pid 5835] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 6028] setpgid(0, 0 [pid 6027] <... write resumed>) = 4 [pid 5839] <... clone resumed>, child_tidptr=0x55556b95d650) = 6029 [ 82.466381][ T1146] bcachefs (loop1): fatal error - emergency read only [ 82.484369][ T5836] bcachefs (loop1): flushing journal and stopping allocators complete, journal seq 14 [ 82.495805][ T5836] bcachefs (loop1): unshutdown complete, journal seq 14 [ 82.507295][ T5836] bcachefs (loop1): done going read-only, filesystem not clean [pid 5835] close(3 [pid 6028] <... setpgid resumed>) = 0 [pid 5835] <... close resumed>) = 0 [pid 5835] rmdir("./3" [pid 6028] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5835] <... rmdir resumed>) = 0 [pid 6027] close(3) = 0 [pid 6029] set_robust_list(0x55556b95d660, 24 [pid 6028] <... openat resumed>) = 3 [pid 6027] symlink("/dev/binderfs", "./binderfs" [pid 6029] <... set_robust_list resumed>) = 0 [pid 6028] write(3, "1000", 4 [pid 6027] <... symlink resumed>) = 0 executing program [pid 6029] chdir("./4" [pid 6028] <... write resumed>) = 4 [pid 6027] write(1, "executing program\n", 18 [pid 5835] mkdir("./4", 0777 [pid 6029] <... chdir resumed>) = 0 [pid 6028] close(3 [pid 6027] <... write resumed>) = 18 [pid 5835] <... mkdir resumed>) = 0 [pid 6029] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6028] <... close resumed>) = 0 [pid 6027] memfd_create("syzkaller", 0 [pid 6029] <... prctl resumed>) = 0 [pid 6029] setpgid(0, 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6029] <... setpgid resumed>) = 0 [pid 6027] <... memfd_create resumed>) = 3 [pid 5835] <... openat resumed>) = 3 [pid 6029] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6028] symlink("/dev/binderfs", "./binderfs" [pid 6027] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 6028] <... symlink resumed>) = 0 [pid 6027] <... mmap resumed>) = 0x7fb51f400000 [pid 5835] close(3 executing program [pid 6028] write(1, "executing program\n", 18 [pid 5835] <... close resumed>) = 0 [pid 6028] <... write resumed>) = 18 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6028] memfd_create("syzkaller", 0./strace-static-x86_64: Process 6030 attached [pid 6029] <... openat resumed>) = 3 [pid 6029] write(3, "1000", 4) = 4 [pid 6029] close(3 [pid 5835] <... clone resumed>, child_tidptr=0x55556b95d650) = 6030 [pid 6029] <... close resumed>) = 0 [pid 6029] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6029] write(1, "executing program\n", 18 [pid 6030] set_robust_list(0x55556b95d660, 24 [pid 6029] <... write resumed>) = 18 [pid 6028] <... memfd_create resumed>) = 3 [pid 6029] memfd_create("syzkaller", 0 [pid 6028] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6030] <... set_robust_list resumed>) = 0 [pid 6029] <... memfd_create resumed>) = 3 [pid 6029] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb51f400000 [pid 6030] chdir("./4" [pid 6028] <... mmap resumed>) = 0x7fb51f400000 [pid 6030] <... chdir resumed>) = 0 [pid 6030] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6030] setpgid(0, 0) = 0 [pid 6030] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6030] write(3, "1000", 4) = 4 [pid 6030] close(3) = 0 [pid 6030] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6030] write(1, "executing program\n", 18) = 18 [pid 6030] memfd_create("syzkaller", 0) = 3 [ 82.576162][ T5836] bcachefs (loop1): shutdown complete [pid 6030] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb51f400000 [pid 6028] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6027] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6030] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6029] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 resumed>) = 16777216 [pid 6024] munmap(0x7fb51f400000, 138412032) = 0 [pid 6024] openat(AT_FDCWD, "/dev/loop5", 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 [ 82.922605][ T6024] loop5: detected capacity change from 0 to 32768 [pid 6024] mount("/dev/loop5", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6028] <... write resumed>) = 16777216 [pid 6028] munmap(0x7fb51f400000, 138412032) = 0 [pid 6028] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6028] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6028] close(3) = 0 [pid 6028] close(4) = 0 [pid 6028] mkdir("./file0", 0777) = 0 [ 83.190621][ T6028] loop2: detected capacity change from 0 to 32768 [pid 6028] mount("/dev/loop2", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6030] <... write resumed>) = 16777216 [pid 6030] munmap(0x7fb51f400000, 138412032 [pid 6027] <... write resumed>) = 16777216 [pid 6030] <... munmap resumed>) = 0 [pid 6027] munmap(0x7fb51f400000, 138412032 [pid 6030] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6030] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6027] <... munmap resumed>) = 0 [pid 6030] close(3 [pid 6029] <... write resumed>) = 16777216 [pid 6030] <... close resumed>) = 0 [pid 6027] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6030] close(4) = 0 [pid 6029] munmap(0x7fb51f400000, 138412032 [pid 6027] <... openat resumed>) = 4 [pid 6030] mkdir("./file0", 0777 [pid 6027] ioctl(4, LOOP_SET_FD, 3 [pid 6030] <... mkdir resumed>) = 0 [pid 6027] <... ioctl resumed>) = 0 [pid 6030] mount("/dev/loop0", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6027] close(3) = 0 [pid 6029] <... munmap resumed>) = 0 [pid 6027] close(4 [pid 6029] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6027] <... close resumed>) = 0 [pid 6029] <... openat resumed>) = 4 [pid 6027] mkdir("./file0", 0777) = 0 [pid 6027] mount("/dev/loop3", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [ 83.332280][ T6030] loop0: detected capacity change from 0 to 32768 [ 83.362078][ T6027] loop3: detected capacity change from 0 to 32768 [pid 6029] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6029] close(3) = 0 [pid 6029] close(4) = 0 [pid 6029] mkdir("./file0", 0777) = 0 [ 83.379954][ T6029] loop4: detected capacity change from 0 to 32768 [ 83.507330][ T6024] bcachefs (loop5): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,erasure_code,degraded,no_splitbrain_check,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,nocow [ 83.529941][ T6024] bcachefs (loop5): recovering from clean shutdown, journal seq 10 [ 83.538274][ T6024] bcachefs (loop5): Version upgrade required: [ 83.538274][ T6024] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 83.538274][ T6024] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 83.538274][ T6024] 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.589883][ T6029] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 83.621824][ T6029] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 83.632773][ T6024] bcachefs (loop5): dropping and reconstructing all alloc info [ 83.651873][ T6028] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 83.667173][ T6024] bcachefs (loop5): check_topology... done [ 83.673196][ T6024] bcachefs (loop5): accounting_read... [ 83.675624][ T6030] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 83.675673][ T6028] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 83.691062][ T6030] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 83.699020][ T6024] done [ 83.708858][ T6027] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 83.709526][ T6024] bcachefs (loop5): alloc_read... done [ 83.736170][ T6027] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 83.741298][ T6024] bcachefs (loop5): stripes_read... done [ 83.791245][ T6024] bcachefs (loop5): snapshots_read... done [pid 6029] mount("/dev/loop4", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"...) = -1 EINVAL (Invalid argument) [pid 6028] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6029] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 6028] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6029] ioctl(3, LOOP_CLR_FD) = 0 [pid 6028] <... openat resumed>) = 3 [pid 6029] close(3 [ 83.844700][ T6024] bcachefs (loop5): check_allocations... [ 83.887621][ T6028] bcachefs: bch2_fs_get_tree() error: EINVAL [ 83.900689][ T6029] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6028] ioctl(3, LOOP_CLR_FD) = 0 [ 83.958951][ T6024] done [pid 6028] close(3 [pid 6027] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6027] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 6027] ioctl(3, LOOP_CLR_FD) = 0 [pid 6027] close(3 [pid 6030] <... mount resumed>) = -1 EINVAL (Invalid argument) [ 83.991944][ T6027] bcachefs: bch2_fs_get_tree() error: EINVAL [ 83.998911][ T6024] bcachefs (loop5): going read-write [ 84.013431][ T6030] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6030] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 6030] ioctl(3, LOOP_CLR_FD [pid 6024] <... mount resumed>) = 0 [pid 6030] <... ioctl resumed>) = 0 [pid 6024] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6024] chdir("./file0") = 0 [pid 6024] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6030] close(3 [pid 6024] <... openat resumed>) = 4 [pid 6024] ioctl(4, LOOP_CLR_FD) = 0 [pid 6024] close(4) = 0 [pid 6024] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 4 [ 84.062429][ T6024] bcachefs (loop5): done starting filesystem [pid 6024] exit_group(0) = ? [pid 6024] +++ exited with 0 +++ [pid 5840] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6024, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=44 /* 0.44 s */} --- [pid 5840] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5840] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] getdents64(3, 0x55556b95e6f0 /* 4 entries */, 32768) = 112 [pid 5840] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./2/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] unlink("./2/binderfs") = 0 [pid 5840] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5836] <... umount2 resumed>) = 0 [pid 5836] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5836] newfstatat(AT_FDCWD, "./2/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5836] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5836] openat(AT_FDCWD, "./2/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5836] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5836] getdents64(4, 0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5836] getdents64(4, 0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5836] close(4) = 0 [pid 5836] rmdir("./2/file0") = 0 [pid 5836] getdents64(3, 0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5836] close(3) = 0 [pid 5836] rmdir("./2") = 0 [pid 5836] mkdir("./3", 0777) = 0 [pid 5836] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [ 84.231150][ T5840] bcachefs (loop5): shutting down [ 84.236235][ T5840] bcachefs (loop5): going read-only [pid 5836] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5836] close(3) = 0 [pid 5836] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6069 attached [pid 6069] set_robust_list(0x55556b95d660, 24 [pid 5836] <... clone resumed>, child_tidptr=0x55556b95d650) = 6069 [pid 6069] <... set_robust_list resumed>) = 0 [pid 6069] chdir("./3") = 0 [pid 6069] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6069] setpgid(0, 0) = 0 [pid 6069] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6069] write(3, "1000", 4) = 4 [pid 6069] close(3) = 0 executing program [pid 6069] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6069] write(1, "executing program\n", 18) = 18 [ 84.305295][ T5840] bcachefs (loop5): finished waiting for writes to stop [pid 6069] memfd_create("syzkaller", 0) = 3 [pid 6069] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb51f400000 [pid 6028] <... close resumed>) = 0 [pid 6029] <... close resumed>) = 0 [pid 6029] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 6028] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 6029] <... openat resumed>) = 3 [pid 6029] exit_group(0 [pid 6028] <... openat resumed>) = 3 [pid 6029] <... exit_group resumed>) = ? [pid 6029] +++ exited with 0 +++ [pid 6028] exit_group(0 [pid 5839] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6029, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=50 /* 0.50 s */} --- [pid 5839] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5839] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5839] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5839] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5839] getdents64(3, [pid 6028] <... exit_group resumed>) = ? [pid 5839] <... getdents64 resumed>0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5839] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5839] newfstatat(AT_FDCWD, "./4/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5839] unlink("./4/binderfs") = 0 [pid 5839] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5839] newfstatat(AT_FDCWD, "./4/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6028] +++ exited with 0 +++ [pid 5839] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5839] openat(AT_FDCWD, "./4/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5839] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5839] getdents64(4, [pid 5837] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6028, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=46 /* 0.46 s */} --- [pid 5837] restart_syscall(<... resuming interrupted clone ...>) = 0 [ 84.354315][ T5840] bcachefs (loop5): flushing journal and stopping allocators, journal seq 12 [pid 5839] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5839] getdents64(4, 0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5837] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5839] close(4) = 0 [pid 5839] rmdir("./4/file0") = 0 [pid 5839] umount2("./4/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5839] newfstatat(AT_FDCWD, "./4/cgroup.controllers", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5839] unlink("./4/cgroup.controllers") = 0 [pid 5837] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5839] getdents64(3, 0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5839] close(3 [pid 5837] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5839] <... close resumed>) = 0 [pid 5837] <... openat resumed>) = 3 [pid 5839] rmdir("./4" [pid 5837] newfstatat(3, "", [pid 5839] <... rmdir resumed>) = 0 [pid 5837] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5837] getdents64(3, 0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5837] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5839] mkdir("./5", 0777 [pid 5837] newfstatat(AT_FDCWD, "./4/binderfs", [pid 5839] <... mkdir resumed>) = 0 [pid 5837] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5837] unlink("./4/binderfs" [pid 5839] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5837] <... unlink resumed>) = 0 [pid 6027] <... close resumed>) = 0 [pid 5837] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5839] ioctl(3, LOOP_CLR_FD [pid 5837] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5839] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5837] newfstatat(AT_FDCWD, "./4/file0", [pid 5839] close(3) = 0 [pid 5839] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55556b95d650) = 6070 [pid 5837] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5837] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5837] openat(AT_FDCWD, "./4/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY./strace-static-x86_64: Process 6070 attached ) = 4 [pid 6070] set_robust_list(0x55556b95d660, 24) = 0 [pid 5837] newfstatat(4, "", [pid 6070] chdir("./5" [pid 5837] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6070] <... chdir resumed>) = 0 [pid 5837] getdents64(4, [pid 6070] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6027] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5837] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 6070] <... prctl resumed>) = 0 [pid 6027] <... openat resumed>) = 3 [pid 5837] getdents64(4, [pid 6070] setpgid(0, 0 [pid 6027] exit_group(0 [pid 5837] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5837] close(4 [pid 6027] <... exit_group resumed>) = ? [pid 6030] <... close resumed>) = 0 [pid 5837] <... close resumed>) = 0 [pid 6027] +++ exited with 0 +++ [pid 5838] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6027, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=44 /* 0.44 s */} --- [pid 5837] rmdir("./4/file0" [pid 6070] <... setpgid resumed>) = 0 [pid 5837] <... rmdir resumed>) = 0 [pid 6070] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5837] umount2("./4/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5838] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5837] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5838] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5837] newfstatat(AT_FDCWD, "./4/cgroup.controllers", [pid 5838] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5837] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 84.442242][ T3913] bcachefs (loop5): bch2_write_super(): fatal error loop5: Superblock write was silently dropped! (seq 0 expected 54) [pid 5837] unlink("./4/cgroup.controllers" [pid 5838] <... openat resumed>) = 3 [pid 5837] <... unlink resumed>) = 0 [pid 5838] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5837] getdents64(3, 0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 6070] <... openat resumed>) = 3 [pid 6030] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5838] getdents64(3, [pid 5837] close(3 [pid 6070] write(3, "1000", 4 [pid 5838] <... getdents64 resumed>0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 6070] <... write resumed>) = 4 [pid 6030] <... openat resumed>) = 3 [pid 5837] <... close resumed>) = 0 [pid 6070] close(3 [pid 5838] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5837] rmdir("./4") = 0 [pid 5837] mkdir("./5", 0777) = 0 [pid 5837] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5837] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5837] close(3) = 0 [pid 5837] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6071 attached [pid 6070] <... close resumed>) = 0 [pid 5837] <... clone resumed>, child_tidptr=0x55556b95d650) = 6071 [pid 6071] set_robust_list(0x55556b95d660, 24) = 0 [pid 6071] chdir("./5") = 0 [pid 6071] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6070] symlink("/dev/binderfs", "./binderfs" [pid 5838] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6071] <... prctl resumed>) = 0 [pid 6071] setpgid(0, 0) = 0 [pid 6071] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6071] write(3, "1000", 4) = 4 [pid 6071] close(3) = 0 [pid 6071] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6071] write(1, "executing program\n", 18) = 18 [pid 5838] newfstatat(AT_FDCWD, "./4/binderfs", [pid 6070] <... symlink resumed>) = 0 [pid 5838] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6070] write(1, "executing program\n", 18executing program [pid 6071] memfd_create("syzkaller", 0 [pid 6070] <... write resumed>) = 18 [pid 6030] exit_group(0 [pid 5838] unlink("./4/binderfs" [pid 6071] <... memfd_create resumed>) = 3 [pid 5838] <... unlink resumed>) = 0 [ 84.496908][ T3913] bcachefs (loop5): fatal error - emergency read only [ 84.516823][ T5840] bcachefs (loop5): flushing journal and stopping allocators complete, journal seq 14 [pid 6071] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6070] memfd_create("syzkaller", 0 [pid 5838] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6030] <... exit_group resumed>) = ? [pid 6071] <... mmap resumed>) = 0x7fb51f400000 [pid 6069] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6070] <... memfd_create resumed>) = 3 [pid 6030] +++ exited with 0 +++ [pid 5838] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6070] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5838] newfstatat(AT_FDCWD, "./4/file0", [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6030, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=44 /* 0.44 s */} --- [pid 6070] <... mmap resumed>) = 0x7fb51f400000 [pid 5838] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5838] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5838] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", [pid 5838] openat(AT_FDCWD, "./4/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5835] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5838] <... openat resumed>) = 4 [pid 5835] getdents64(3, 0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5835] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./4/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./4/binderfs") = 0 [pid 5838] newfstatat(4, "", [pid 5835] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5838] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5838] getdents64(4, [pid 5835] newfstatat(AT_FDCWD, "./4/file0", [pid 5838] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5838] getdents64(4, [pid 5835] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5838] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5838] close(4 [pid 5835] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5838] <... close resumed>) = 0 [pid 5838] rmdir("./4/file0" [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./4/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", [pid 5838] <... rmdir resumed>) = 0 [pid 5838] umount2("./4/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5838] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5838] newfstatat(AT_FDCWD, "./4/cgroup.controllers", [pid 5835] getdents64(4, 0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5838] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5838] unlink("./4/cgroup.controllers" [pid 5835] getdents64(4, [pid 5838] <... unlink resumed>) = 0 [pid 5835] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5838] getdents64(3, [pid 5835] close(4 [pid 5838] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5838] close(3 [pid 5835] <... close resumed>) = 0 [pid 5838] <... close resumed>) = 0 [pid 5835] rmdir("./4/file0" [pid 5838] rmdir("./4" [pid 5835] <... rmdir resumed>) = 0 [pid 5835] umount2("./4/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5838] <... rmdir resumed>) = 0 [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5838] mkdir("./5", 0777 [pid 5835] newfstatat(AT_FDCWD, "./4/cgroup.controllers", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5838] <... mkdir resumed>) = 0 [pid 5835] unlink("./4/cgroup.controllers" [pid 5838] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5835] <... unlink resumed>) = 0 [pid 5838] <... openat resumed>) = 3 [pid 5838] ioctl(3, LOOP_CLR_FD [pid 5835] getdents64(3, [pid 5838] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5835] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5838] close(3) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./4" [pid 5838] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5835] <... rmdir resumed>) = 0 [ 84.555362][ T5840] bcachefs (loop5): unshutdown complete, journal seq 14 [ 84.579731][ T5840] bcachefs (loop5): done going read-only, filesystem not clean ./strace-static-x86_64: Process 6072 attached [pid 5838] <... clone resumed>, child_tidptr=0x55556b95d650) = 6072 [pid 5835] mkdir("./5", 0777 [pid 6072] set_robust_list(0x55556b95d660, 24) = 0 [pid 5835] <... mkdir resumed>) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3 [pid 6072] chdir("./5" [pid 5835] <... close resumed>) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6073 attached , child_tidptr=0x55556b95d650) = 6073 [pid 6073] set_robust_list(0x55556b95d660, 24 [pid 6072] <... chdir resumed>) = 0 [pid 6073] <... set_robust_list resumed>) = 0 [pid 6073] chdir("./5") = 0 [pid 6072] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6073] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6072] <... prctl resumed>) = 0 [pid 6073] <... prctl resumed>) = 0 [pid 6072] setpgid(0, 0 [pid 6073] setpgid(0, 0 [pid 6072] <... setpgid resumed>) = 0 [pid 6073] <... setpgid resumed>) = 0 [pid 6073] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6072] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6073] <... openat resumed>) = 3 [pid 6073] write(3, "1000", 4 [pid 6072] write(3, "1000", 4 [pid 6073] <... write resumed>) = 4 [pid 6072] <... write resumed>) = 4 [pid 6072] close(3 [pid 6073] close(3 [pid 6072] <... close resumed>) = 0 [pid 6072] symlink("/dev/binderfs", "./binderfs" [pid 6073] <... close resumed>) = 0 [pid 6073] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6073] write(1, "executing program\n", 18) = 18 [pid 6073] memfd_create("syzkaller", 0) = 3 [pid 6073] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb51f400000 [pid 6072] <... symlink resumed>) = 0 [pid 6072] write(1, "executing program\n", 18executing program ) = 18 [pid 6072] memfd_create("syzkaller", 0) = 3 [pid 6072] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb51f400000 [ 84.707340][ T5840] bcachefs (loop5): shutdown complete [pid 6071] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6070] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6072] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6073] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6069] <... write resumed>) = 16777216 [pid 6069] munmap(0x7fb51f400000, 138412032) = 0 [pid 6069] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6069] ioctl(4, LOOP_SET_FD, 3) = 0 [ 85.181725][ T6069] loop1: detected capacity change from 0 to 32768 [pid 6069] close(3) = 0 [pid 6069] close(4) = 0 [pid 6069] mkdir("./file0", 0777) = 0 [pid 6069] mount("/dev/loop1", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6073] <... write resumed>) = 16777216 [pid 6073] munmap(0x7fb51f400000, 138412032) = 0 [pid 6073] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6070] <... write resumed>) = 16777216 [pid 6073] ioctl(4, LOOP_SET_FD, 3 [pid 6070] munmap(0x7fb51f400000, 138412032 [pid 6073] <... ioctl resumed>) = 0 [pid 6070] <... munmap resumed>) = 0 [pid 6073] close(3) = 0 [pid 6073] close(4) = 0 [pid 6070] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [ 85.319084][ T6073] loop0: detected capacity change from 0 to 32768 [pid 6070] ioctl(4, LOOP_SET_FD, 3 [pid 6073] mkdir("./file0", 0777) = 0 [pid 6073] mount("/dev/loop0", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6071] <... write resumed>) = 16777216 [pid 6071] munmap(0x7fb51f400000, 138412032 [pid 6072] <... write resumed>) = 16777216 [pid 6070] <... ioctl resumed>) = 0 [pid 6072] munmap(0x7fb51f400000, 138412032 [pid 6070] close(3) = 0 [pid 6070] close(4) = 0 [pid 6070] mkdir("./file0", 0777 [pid 6071] <... munmap resumed>) = 0 [pid 6072] <... munmap resumed>) = 0 [pid 6071] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6070] <... mkdir resumed>) = 0 [pid 6070] mount("/dev/loop4", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [ 85.364935][ T6070] loop4: detected capacity change from 0 to 32768 [pid 6072] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6071] <... openat resumed>) = 4 [pid 6072] <... openat resumed>) = 4 [pid 6071] ioctl(4, LOOP_SET_FD, 3 [pid 6072] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6071] <... ioctl resumed>) = 0 [pid 6071] close(3) = 0 [pid 6071] close(4 [pid 6072] close(3) = 0 [pid 6072] close(4 [pid 6071] <... close resumed>) = 0 [pid 6072] <... close resumed>) = 0 [pid 6071] mkdir("./file0", 0777) = 0 [pid 6072] mkdir("./file0", 0777) = 0 [pid 6071] mount("/dev/loop2", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [ 85.419383][ T6071] loop2: detected capacity change from 0 to 32768 [ 85.428289][ T6072] loop3: detected capacity change from 0 to 32768 [ 85.740071][ T6069] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 85.756809][ T6072] bcachefs (loop3): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,erasure_code,degraded,no_splitbrain_check,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,nocow [ 85.763551][ T6073] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 85.783689][ T6072] bcachefs (loop3): recovering from clean shutdown, journal seq 10 [ 85.789429][ T6073] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 85.796447][ T6072] bcachefs (loop3): Version upgrade required: [ 85.796447][ T6072] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 85.796447][ T6072] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 85.796447][ T6072] 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.804590][ T6071] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 85.886194][ T6070] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 85.899297][ T6069] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 85.907710][ T6071] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 85.916557][ T6070] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [pid 6072] mount("/dev/loop3", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6073] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6073] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 6073] ioctl(3, LOOP_CLR_FD) = 0 [ 85.964540][ T6072] bcachefs (loop3): dropping and reconstructing all alloc info [ 85.994001][ T6073] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6073] close(3 [pid 6071] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6071] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [ 86.103788][ T6071] bcachefs: bch2_fs_get_tree() error: EINVAL [ 86.112137][ T6072] bcachefs (loop3): check_topology... done [ 86.118035][ T6072] bcachefs (loop3): accounting_read... done [ 86.147954][ T6070] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6071] ioctl(3, LOOP_CLR_FD [pid 6070] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6071] <... ioctl resumed>) = 0 [pid 6070] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 6071] close(3 [pid 6070] ioctl(3, LOOP_CLR_FD) = 0 [ 86.151538][ T6069] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6070] close(3 [pid 6069] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6069] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 6069] ioctl(3, LOOP_CLR_FD) = 0 [ 86.198497][ T6072] bcachefs (loop3): alloc_read... done [ 86.216121][ T6072] bcachefs (loop3): stripes_read... done [ 86.235444][ T6072] bcachefs (loop3): snapshots_read... done [pid 6069] close(3 [pid 5840] <... umount2 resumed>) = 0 [ 86.250441][ T1208] cfg80211: failed to load regulatory.db [pid 5840] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./2/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./2/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5840] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] getdents64(4, 0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5840] getdents64(4, 0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5840] close(4) = 0 [pid 5840] rmdir("./2/file0") = 0 [pid 5840] getdents64(3, 0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5840] close(3) = 0 [pid 5840] rmdir("./2") = 0 [pid 5840] mkdir("./3", 0777) = 0 [pid 5840] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5840] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5840] close(3) = 0 [pid 5840] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6110 attached , child_tidptr=0x55556b95d650) = 6110 [pid 6110] set_robust_list(0x55556b95d660, 24) = 0 [pid 6110] chdir("./3") = 0 [pid 6110] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6110] setpgid(0, 0) = 0 [pid 6110] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6110] write(3, "1000", 4) = 4 [pid 6110] close(3) = 0 [pid 6110] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 6110] write(1, "executing program\n", 18) = 18 [pid 6110] memfd_create("syzkaller", 0) = 3 [pid 6110] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb51f400000 [ 86.281481][ T6072] bcachefs (loop3): check_allocations... done [pid 6073] <... close resumed>) = 0 [ 86.475197][ T6072] bcachefs (loop3): going read-write [pid 6071] <... close resumed>) = 0 [pid 6073] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 6071] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 6070] <... close resumed>) = 0 [pid 6073] <... openat resumed>) = 3 [pid 6071] <... openat resumed>) = 3 [pid 6073] exit_group(0 [pid 6071] exit_group(0 [pid 6073] <... exit_group resumed>) = ? [pid 6071] <... exit_group resumed>) = ? [pid 6071] +++ exited with 0 +++ [pid 5837] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6071, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=56 /* 0.56 s */} --- [pid 5837] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6073] +++ exited with 0 +++ [pid 5837] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5837] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6073, si_uid=0, si_status=0, si_utime=0, si_stime=48 /* 0.48 s */} --- [pid 5837] newfstatat(3, "", [pid 5835] restart_syscall(<... resuming interrupted clone ...> [pid 6070] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5837] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5837] getdents64(3, 0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 6072] <... mount resumed>) = 0 [pid 5837] umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5837] newfstatat(AT_FDCWD, "./5/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6072] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 6070] <... openat resumed>) = 3 [pid 5837] unlink("./5/binderfs" [pid 5835] <... restart_syscall resumed>) = 0 [pid 6072] <... openat resumed>) = 3 [pid 6070] exit_group(0 [pid 5837] <... unlink resumed>) = 0 [pid 6072] chdir("./file0" [pid 6070] <... exit_group resumed>) = ? [pid 5837] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6072] <... chdir resumed>) = 0 [pid 5837] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5837] newfstatat(AT_FDCWD, "./5/file0", [pid 5835] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5837] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5837] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6072] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6070] +++ exited with 0 +++ [pid 6069] <... close resumed>) = 0 [pid 5837] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] <... openat resumed>) = 3 [pid 6072] <... openat resumed>) = 4 [pid 6069] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5837] openat(AT_FDCWD, "./5/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6072] ioctl(4, LOOP_CLR_FD [pid 5839] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6070, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=43 /* 0.43 s */} --- [pid 5837] <... openat resumed>) = 4 [pid 5835] newfstatat(3, "", [pid 5839] restart_syscall(<... resuming interrupted clone ...> [pid 5837] newfstatat(4, "", [pid 6069] <... openat resumed>) = 3 [pid 5837] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5835] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6072] <... ioctl resumed>) = 0 [pid 5837] getdents64(4, [pid 5835] getdents64(3, [pid 6072] close(4 [pid 6069] exit_group(0 [pid 5837] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5835] <... getdents64 resumed>0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5837] getdents64(4, [pid 5835] umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5837] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5839] <... restart_syscall resumed>) = 0 [pid 5837] close(4 [pid 5835] newfstatat(AT_FDCWD, "./5/binderfs", [pid 5837] <... close resumed>) = 0 [pid 5835] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6072] <... close resumed>) = 0 [pid 6069] <... exit_group resumed>) = ? [pid 5837] rmdir("./5/file0" [pid 5839] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5837] <... rmdir resumed>) = 0 [pid 5839] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5837] umount2("./5/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5839] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5837] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6072] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 6069] +++ exited with 0 +++ [pid 5839] <... openat resumed>) = 3 [pid 5839] newfstatat(3, "", [pid 5837] newfstatat(AT_FDCWD, "./5/cgroup.controllers", [pid 5839] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5837] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5836] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6069, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=46 /* 0.46 s */} --- [pid 5839] getdents64(3, [pid 5837] unlink("./5/cgroup.controllers" [pid 5836] restart_syscall(<... resuming interrupted clone ...> [pid 5839] <... getdents64 resumed>0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5837] <... unlink resumed>) = 0 [pid 5835] unlink("./5/binderfs" [pid 5839] umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [ 86.561137][ T6072] bcachefs (loop3): done starting filesystem [pid 5837] getdents64(3, [pid 6072] <... openat resumed>) = 4 [pid 5839] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] <... unlink resumed>) = 0 [pid 6072] exit_group(0 [pid 5839] newfstatat(AT_FDCWD, "./5/binderfs", [pid 5837] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 6072] <... exit_group resumed>) = ? [pid 5839] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5837] close(3 [pid 5835] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5839] unlink("./5/binderfs" [pid 5837] <... close resumed>) = 0 [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5839] <... unlink resumed>) = 0 [pid 5837] rmdir("./5" [pid 5835] newfstatat(AT_FDCWD, "./5/file0", [pid 6072] +++ exited with 0 +++ [pid 5839] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5837] <... rmdir resumed>) = 0 [pid 5835] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5839] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5838] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6072, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=42 /* 0.42 s */} --- [pid 5837] mkdir("./6", 0777 [pid 5836] <... restart_syscall resumed>) = 0 [pid 5839] newfstatat(AT_FDCWD, "./5/file0", [pid 5838] restart_syscall(<... resuming interrupted clone ...> [pid 5837] <... mkdir resumed>) = 0 [pid 5835] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5839] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5838] <... restart_syscall resumed>) = 0 [pid 5837] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5839] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5837] <... openat resumed>) = 3 [pid 5839] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5836] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] openat(AT_FDCWD, "./5/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5839] openat(AT_FDCWD, "./5/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5838] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5837] ioctl(3, LOOP_CLR_FD [pid 5836] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5839] <... openat resumed>) = 4 [pid 5838] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5837] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5835] <... openat resumed>) = 4 [pid 5839] newfstatat(4, "", [pid 5838] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5837] close(3 [pid 5836] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5835] newfstatat(4, "", [pid 5839] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5838] <... openat resumed>) = 3 [pid 5837] <... close resumed>) = 0 [pid 5836] <... openat resumed>) = 3 [pid 5835] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5839] getdents64(4, [pid 5838] newfstatat(3, "", [pid 5837] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5836] newfstatat(3, "", ./strace-static-x86_64: Process 6113 attached [pid 5839] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5838] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5836] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, [pid 6113] set_robust_list(0x55556b95d660, 24 [pid 6110] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5839] getdents64(4, [pid 5838] getdents64(3, [pid 5836] getdents64(3, [pid 5835] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5839] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5838] <... getdents64 resumed>0x55556b95e6f0 /* 4 entries */, 32768) = 112 [pid 5836] <... getdents64 resumed>0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5835] getdents64(4, [pid 5839] close(4 [pid 5838] umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5836] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5839] <... close resumed>) = 0 [pid 5838] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5837] <... clone resumed>, child_tidptr=0x55556b95d650) = 6113 [pid 5836] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] close(4 [pid 6113] <... set_robust_list resumed>) = 0 [pid 5839] rmdir("./5/file0" [pid 5838] newfstatat(AT_FDCWD, "./5/binderfs", [pid 5836] newfstatat(AT_FDCWD, "./3/binderfs", [pid 5835] <... close resumed>) = 0 [pid 5839] <... rmdir resumed>) = 0 [pid 5838] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5836] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] rmdir("./5/file0" [pid 5839] umount2("./5/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5838] unlink("./5/binderfs" [pid 5836] unlink("./3/binderfs" [pid 6113] chdir("./6" [pid 5839] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] <... rmdir resumed>) = 0 [pid 5838] <... unlink resumed>) = 0 [pid 5836] <... unlink resumed>) = 0 [pid 5838] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5836] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5836] newfstatat(AT_FDCWD, "./3/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5836] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] umount2("./5/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5839] newfstatat(AT_FDCWD, "./5/cgroup.controllers", [pid 5836] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6113] <... chdir resumed>) = 0 [pid 5839] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5839] unlink("./5/cgroup.controllers" [pid 6113] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5839] <... unlink resumed>) = 0 [pid 5836] openat(AT_FDCWD, "./3/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5835] newfstatat(AT_FDCWD, "./5/cgroup.controllers", [pid 6113] <... prctl resumed>) = 0 [pid 5839] getdents64(3, [pid 5836] <... openat resumed>) = 4 [pid 5835] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6113] setpgid(0, 0 [pid 5839] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5836] newfstatat(4, "", [pid 5835] unlink("./5/cgroup.controllers" [pid 6113] <... setpgid resumed>) = 0 [pid 5839] close(3 [pid 5836] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6113] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5839] <... close resumed>) = 0 [pid 5836] getdents64(4, [pid 5835] <... unlink resumed>) = 0 [pid 6113] <... openat resumed>) = 3 [pid 5839] rmdir("./5" [pid 5836] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(3, [pid 6113] write(3, "1000", 4 [pid 5839] <... rmdir resumed>) = 0 [pid 5836] getdents64(4, [pid 6113] <... write resumed>) = 4 [pid 5836] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5835] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 6113] close(3 [pid 5836] close(4 [pid 6113] <... close resumed>) = 0 [pid 6113] symlink("/dev/binderfs", "./binderfs" [pid 5836] <... close resumed>) = 0 [pid 5836] rmdir("./3/file0" [pid 6113] <... symlink resumed>) = 0 [pid 5836] <... rmdir resumed>) = 0 [pid 6113] write(1, "executing program\n", 18 [pid 5839] mkdir("./6", 0777executing program [pid 5836] umount2("./3/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] close(3 [pid 6113] <... write resumed>) = 18 [pid 6113] memfd_create("syzkaller", 0 [pid 5839] <... mkdir resumed>) = 0 [pid 5836] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] <... close resumed>) = 0 [pid 6113] <... memfd_create resumed>) = 3 [pid 6113] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5836] newfstatat(AT_FDCWD, "./3/cgroup.controllers", [pid 5835] rmdir("./5" [pid 6113] <... mmap resumed>) = 0x7fb51f400000 [pid 5836] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] <... rmdir resumed>) = 0 [pid 5836] unlink("./3/cgroup.controllers" [pid 5835] mkdir("./6", 0777 [pid 5836] <... unlink resumed>) = 0 [pid 5836] getdents64(3, [pid 5835] <... mkdir resumed>) = 0 [pid 5839] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5836] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5839] <... openat resumed>) = 3 [pid 5836] close(3 [pid 5835] <... openat resumed>) = 3 [pid 5839] ioctl(3, LOOP_CLR_FD [pid 5836] <... close resumed>) = 0 [pid 5835] ioctl(3, LOOP_CLR_FD [pid 5836] rmdir("./3" [pid 5835] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5839] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5835] close(3 [pid 5839] close(3 [pid 5836] <... rmdir resumed>) = 0 [pid 5839] <... close resumed>) = 0 [pid 5835] <... close resumed>) = 0 [ 86.671796][ T5838] bcachefs (loop3): shutting down [ 86.690228][ T5838] bcachefs (loop3): going read-only [pid 5839] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6114 attached [pid 5836] mkdir("./4", 0777 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5839] <... clone resumed>, child_tidptr=0x55556b95d650) = 6114 [pid 5836] <... mkdir resumed>) = 0 ./strace-static-x86_64: Process 6115 attached [pid 5836] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6114] set_robust_list(0x55556b95d660, 24 [pid 5836] <... openat resumed>) = 3 [pid 5835] <... clone resumed>, child_tidptr=0x55556b95d650) = 6115 [pid 6115] set_robust_list(0x55556b95d660, 24 [pid 6114] <... set_robust_list resumed>) = 0 [pid 5836] ioctl(3, LOOP_CLR_FD [pid 6115] <... set_robust_list resumed>) = 0 [pid 6114] chdir("./6" [pid 5836] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6115] chdir("./6" [pid 6114] <... chdir resumed>) = 0 [pid 5836] close(3 [pid 6115] <... chdir resumed>) = 0 [pid 6114] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6115] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6114] <... prctl resumed>) = 0 [pid 5836] <... close resumed>) = 0 [pid 6115] <... prctl resumed>) = 0 [pid 5836] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6114] setpgid(0, 0 [pid 6115] setpgid(0, 0 [pid 6114] <... setpgid resumed>) = 0 ./strace-static-x86_64: Process 6116 attached [pid 6114] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6116] set_robust_list(0x55556b95d660, 24) = 0 [pid 6115] <... setpgid resumed>) = 0 [pid 6114] <... openat resumed>) = 3 [pid 5836] <... clone resumed>, child_tidptr=0x55556b95d650) = 6116 [pid 6114] write(3, "1000", 4) = 4 [pid 6116] chdir("./4" [pid 6115] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6114] close(3 [pid 6116] <... chdir resumed>) = 0 [pid 6116] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6114] <... close resumed>) = 0 [pid 6116] <... prctl resumed>) = 0 [pid 6116] setpgid(0, 0 [pid 6114] symlink("/dev/binderfs", "./binderfs" [pid 6116] <... setpgid resumed>) = 0 [pid 6115] <... openat resumed>) = 3 [pid 6114] <... symlink resumed>) = 0 [pid 6116] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6114] write(1, "executing program\n", 18executing program [pid 6116] <... openat resumed>) = 3 [pid 6115] write(3, "1000", 4 [pid 6114] <... write resumed>) = 18 [pid 6116] write(3, "1000", 4 [pid 6115] <... write resumed>) = 4 [pid 6116] <... write resumed>) = 4 [ 86.728169][ T5838] bcachefs (loop3): finished waiting for writes to stop [ 86.745456][ T5838] bcachefs (loop3): flushing journal and stopping allocators, journal seq 12 [pid 6114] memfd_create("syzkaller", 0 [pid 6116] close(3 [pid 6115] close(3 [pid 6114] <... memfd_create resumed>) = 3 [pid 6116] <... close resumed>) = 0 [pid 6115] <... close resumed>) = 0 [pid 6114] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6116] symlink("/dev/binderfs", "./binderfs"executing program executing program [pid 6115] symlink("/dev/binderfs", "./binderfs" [pid 6114] <... mmap resumed>) = 0x7fb51f400000 [pid 6116] <... symlink resumed>) = 0 [pid 6115] <... symlink resumed>) = 0 [pid 6116] write(1, "executing program\n", 18 [pid 6115] write(1, "executing program\n", 18 [pid 6116] <... write resumed>) = 18 [pid 6115] <... write resumed>) = 18 [pid 6116] memfd_create("syzkaller", 0 [pid 6115] memfd_create("syzkaller", 0) = 3 [pid 6116] <... memfd_create resumed>) = 3 [pid 6115] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6116] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6115] <... mmap resumed>) = 0x7fb51f400000 [pid 6116] <... mmap resumed>) = 0x7fb51f400000 [ 86.826726][ T3913] bcachefs (loop3): bch2_write_super(): fatal error loop3: Superblock write was silently dropped! (seq 0 expected 54) [ 86.861826][ T3913] bcachefs (loop3): fatal error - emergency read only [ 86.892040][ T5838] bcachefs (loop3): flushing journal and stopping allocators complete, journal seq 14 [ 86.922151][ T5838] bcachefs (loop3): unshutdown complete, journal seq 14 [ 86.930361][ T5838] bcachefs (loop3): done going read-only, filesystem not clean [pid 6113] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6110] <... write resumed>) = 16777216 [ 87.026408][ T5838] bcachefs (loop3): shutdown complete [pid 6110] munmap(0x7fb51f400000, 138412032) = 0 [pid 6110] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6115] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6114] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6110] <... openat resumed>) = 4 [pid 6110] ioctl(4, LOOP_SET_FD, 3 [pid 6116] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6110] <... ioctl resumed>) = 0 [pid 6110] close(3) = 0 [ 87.121224][ T6110] loop5: detected capacity change from 0 to 32768 [pid 6110] close(4) = 0 [pid 6110] mkdir("./file0", 0777) = 0 [pid 6110] mount("/dev/loop5", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6114] <... write resumed>) = 16777216 [pid 6114] munmap(0x7fb51f400000, 138412032) = 0 [pid 6114] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6114] ioctl(4, LOOP_SET_FD, 3 [pid 6113] <... write resumed>) = 16777216 [pid 6114] <... ioctl resumed>) = 0 [pid 6113] munmap(0x7fb51f400000, 138412032 [pid 6114] close(3 [pid 6113] <... munmap resumed>) = 0 [pid 6114] <... close resumed>) = 0 [pid 6113] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6114] close(4) = 0 [pid 6114] mkdir("./file0", 0777 [pid 6113] <... openat resumed>) = 4 [pid 6114] <... mkdir resumed>) = 0 [pid 6113] ioctl(4, LOOP_SET_FD, 3 [ 87.424287][ T6114] loop4: detected capacity change from 0 to 32768 [pid 6114] mount("/dev/loop4", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6113] <... ioctl resumed>) = 0 [pid 6113] close(3) = 0 [pid 6113] close(4) = 0 [pid 6113] mkdir("./file0", 0777) = 0 [ 87.476549][ T6113] loop2: detected capacity change from 0 to 32768 [pid 6113] mount("/dev/loop2", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6116] <... write resumed>) = 16777216 [pid 6115] <... write resumed>) = 16777216 [pid 6116] munmap(0x7fb51f400000, 138412032 [pid 6115] munmap(0x7fb51f400000, 138412032 [pid 6116] <... munmap resumed>) = 0 [pid 6116] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6116] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6115] <... munmap resumed>) = 0 [pid 6116] close(3 [pid 6115] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6116] <... close resumed>) = 0 [pid 6115] <... openat resumed>) = 4 [pid 6116] close(4 [pid 6115] ioctl(4, LOOP_SET_FD, 3 [pid 6116] <... close resumed>) = 0 [pid 6115] <... ioctl resumed>) = 0 [pid 6116] mkdir("./file0", 0777) = 0 [pid 6116] mount("/dev/loop1", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6115] close(3) = 0 [pid 6115] close(4) = 0 [pid 6115] mkdir("./file0", 0777) = 0 [ 87.603092][ T6116] loop1: detected capacity change from 0 to 32768 [ 87.613471][ T6115] loop0: detected capacity change from 0 to 32768 [ 87.956090][ T6110] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 87.961448][ T6114] bcachefs (loop4): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,erasure_code,degraded,no_splitbrain_check,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,nocow [ 87.965364][ T6110] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 87.996523][ T6113] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 88.020976][ T6113] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 88.058952][ T6116] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 88.085208][ T6114] bcachefs (loop4): recovering from clean shutdown, journal seq 10 [ 88.094903][ T6114] bcachefs (loop4): Version upgrade required: [ 88.094903][ T6114] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 88.094903][ T6114] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 88.094903][ T6114] 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 [ 88.100999][ T6116] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 88.174156][ T6115] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 88.185588][ T6115] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 88.201248][ T6114] bcachefs (loop4): dropping and reconstructing all alloc info [pid 6115] mount("/dev/loop0", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6110] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6110] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [ 88.228352][ T6110] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6110] ioctl(3, LOOP_CLR_FD) = 0 [ 88.303247][ T6114] bcachefs (loop4): check_topology... done [ 88.343187][ T6114] bcachefs (loop4): accounting_read... done [ 88.377101][ T6114] bcachefs (loop4): alloc_read... done [ 88.378244][ T6113] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6110] close(3 [pid 6113] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6113] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 6113] ioctl(3, LOOP_CLR_FD) = 0 [pid 6113] close(3 [pid 5838] <... umount2 resumed>) = 0 [ 88.420943][ T6114] bcachefs (loop4): stripes_read... done [ 88.439814][ T6114] bcachefs (loop4): snapshots_read... done [ 88.446544][ T6116] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6116] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5838] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5838] newfstatat(AT_FDCWD, "./5/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5838] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5838] openat(AT_FDCWD, "./5/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5838] newfstatat(4, "", [pid 6116] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5838] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5838] getdents64(4, 0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5838] getdents64(4, 0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5838] close(4) = 0 [pid 5838] rmdir("./5/file0") = 0 [pid 5838] getdents64(3, 0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5838] close(3) = 0 [pid 5838] rmdir("./5" [pid 6116] <... openat resumed>) = 3 [pid 5838] <... rmdir resumed>) = 0 [pid 6116] ioctl(3, LOOP_CLR_FD [pid 5838] mkdir("./6", 0777 [pid 6116] <... ioctl resumed>) = 0 [pid 5838] <... mkdir resumed>) = 0 [pid 6116] close(3 [pid 5838] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6115] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5838] <... openat resumed>) = 3 [pid 6115] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5838] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 6115] ioctl(3, LOOP_CLR_FD [ 88.463083][ T6114] bcachefs (loop4): check_allocations... [ 88.471908][ T6115] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5838] close(3 [pid 6115] <... ioctl resumed>) = 0 [pid 5838] <... close resumed>) = 0 [pid 6115] close(3 [pid 5838] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55556b95d650) = 6153 ./strace-static-x86_64: Process 6153 attached [pid 6153] set_robust_list(0x55556b95d660, 24) = 0 [pid 6153] chdir("./6") = 0 [pid 6153] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6153] setpgid(0, 0) = 0 [pid 6153] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6153] write(3, "1000", 4) = 4 [pid 6153] close(3) = 0 [pid 6153] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6153] write(1, "executing program\n", 18executing program ) = 18 [pid 6153] memfd_create("syzkaller", 0) = 3 [pid 6153] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb51f400000 [ 88.590749][ T6114] done [pid 6110] <... close resumed>) = 0 [pid 6110] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 3 [pid 6110] exit_group(0) = ? [pid 6110] +++ exited with 0 +++ [pid 5840] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6110, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=44 /* 0.44 s */} --- [ 88.648854][ T6114] bcachefs (loop4): going read-write [pid 5840] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5840] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5840] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] getdents64(3, 0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5840] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./3/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] unlink("./3/binderfs") = 0 [pid 5840] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./3/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./3/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5840] newfstatat(4, "", [pid 6114] <... mount resumed>) = 0 [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] getdents64(4, [pid 6114] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 5840] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5840] getdents64(4, [pid 6114] <... openat resumed>) = 3 [pid 5840] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5840] close(4 [pid 6114] chdir("./file0" [pid 5840] <... close resumed>) = 0 [pid 6114] <... chdir resumed>) = 0 [pid 5840] rmdir("./3/file0" [pid 6114] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5840] <... rmdir resumed>) = 0 [pid 6114] <... openat resumed>) = 4 [pid 6114] ioctl(4, LOOP_CLR_FD [pid 5840] umount2("./3/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./3/cgroup.controllers", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] unlink("./3/cgroup.controllers") = 0 [pid 5840] getdents64(3, 0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5840] close(3) = 0 [pid 5840] rmdir("./3") = 0 [pid 5840] mkdir("./4", 0777 [pid 6114] <... ioctl resumed>) = 0 [pid 5840] <... mkdir resumed>) = 0 [pid 6114] close(4) = 0 [pid 6114] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5840] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5840] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [ 88.715604][ T6114] bcachefs (loop4): done starting filesystem [pid 5840] close(3 [pid 6114] <... openat resumed>) = 4 [pid 5840] <... close resumed>) = 0 [pid 5840] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6156 attached [pid 6114] exit_group(0 [pid 6156] set_robust_list(0x55556b95d660, 24 [pid 6114] <... exit_group resumed>) = ? [pid 6156] <... set_robust_list resumed>) = 0 [pid 6156] chdir("./4") = 0 [pid 6156] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6114] +++ exited with 0 +++ [pid 6156] setpgid(0, 0 [pid 5840] <... clone resumed>, child_tidptr=0x55556b95d650) = 6156 [pid 6156] <... setpgid resumed>) = 0 [pid 5839] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6114, si_uid=0, si_status=0, si_utime=0, si_stime=39 /* 0.39 s */} --- [pid 6156] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5839] restart_syscall(<... resuming interrupted clone ...> [pid 6156] <... openat resumed>) = 3 [pid 6156] write(3, "1000", 4) = 4 [pid 6156] close(3) = 0 [pid 6156] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6156] write(1, "executing program\n", 18 [pid 5839] <... restart_syscall resumed>) = 0 [pid 6156] <... write resumed>) = 18 [pid 6156] memfd_create("syzkaller", 0) = 3 [pid 5839] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6156] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5839] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6156] <... mmap resumed>) = 0x7fb51f400000 [pid 5839] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5839] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6113] <... close resumed>) = 0 [pid 5839] getdents64(3, 0x55556b95e6f0 /* 4 entries */, 32768) = 112 [pid 5839] umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5839] newfstatat(AT_FDCWD, "./6/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5839] unlink("./6/binderfs") = 0 [pid 5839] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6113] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 3 [pid 6113] exit_group(0) = ? [pid 6113] +++ exited with 0 +++ [pid 5837] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6113, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=54 /* 0.54 s */} --- [pid 5837] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 6115] <... close resumed>) = 0 [pid 5837] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5837] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5837] getdents64(3, 0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5837] umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 88.873814][ T5839] bcachefs (loop4): shutting down [pid 5837] newfstatat(AT_FDCWD, "./6/binderfs", [pid 6115] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 3 [pid 6115] exit_group(0) = ? [pid 6115] +++ exited with 0 +++ [pid 5837] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6115, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=47 /* 0.47 s */} --- [pid 5835] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 6116] <... close resumed>) = 0 [pid 5837] unlink("./6/binderfs" [pid 5835] umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5837] <... unlink resumed>) = 0 [pid 5837] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] newfstatat(AT_FDCWD, "./6/binderfs", [pid 5837] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5837] newfstatat(AT_FDCWD, "./6/file0", [pid 5835] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5837] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 88.913828][ T5839] bcachefs (loop4): going read-only [pid 5835] unlink("./6/binderfs" [pid 6156] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5837] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] <... unlink resumed>) = 0 [pid 5837] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5837] openat(AT_FDCWD, "./6/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5835] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5837] <... openat resumed>) = 4 [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5837] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5835] newfstatat(AT_FDCWD, "./6/file0", [pid 5837] getdents64(4, [pid 5835] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5837] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5835] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5837] getdents64(4, [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5837] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5835] openat(AT_FDCWD, "./6/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5837] close(4 [pid 5835] <... openat resumed>) = 4 [pid 5837] <... close resumed>) = 0 [pid 5835] newfstatat(4, "", [pid 5837] rmdir("./6/file0" [pid 5835] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5837] <... rmdir resumed>) = 0 [pid 5835] close(4 [pid 5837] umount2("./6/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] <... close resumed>) = 0 [pid 6116] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 3 [pid 5835] rmdir("./6/file0" [pid 5837] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] <... rmdir resumed>) = 0 [pid 5835] umount2("./6/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./6/cgroup.controllers", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6153] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5837] newfstatat(AT_FDCWD, "./6/cgroup.controllers", [pid 5835] unlink("./6/cgroup.controllers" [pid 6116] exit_group(0 [pid 5837] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] <... unlink resumed>) = 0 [pid 5837] unlink("./6/cgroup.controllers" [pid 6116] <... exit_group resumed>) = ? [pid 5835] getdents64(3, [pid 6116] +++ exited with 0 +++ [pid 5837] <... unlink resumed>) = 0 [pid 5835] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5837] getdents64(3, [pid 5836] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6116, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=41 /* 0.41 s */} --- [pid 5835] close(3 [pid 5837] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5836] restart_syscall(<... resuming interrupted clone ...> [pid 5835] <... close resumed>) = 0 [pid 5837] close(3 [pid 5835] rmdir("./6" [pid 5837] <... close resumed>) = 0 [pid 5836] <... restart_syscall resumed>) = 0 [pid 5835] <... rmdir resumed>) = 0 [pid 5837] rmdir("./6" [pid 5835] mkdir("./7", 0777 [pid 5837] <... rmdir resumed>) = 0 [pid 5836] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] <... mkdir resumed>) = 0 [pid 5837] mkdir("./7", 0777 [pid 5836] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 88.946259][ T5839] bcachefs (loop4): finished waiting for writes to stop [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5837] <... mkdir resumed>) = 0 [pid 5836] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5837] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5836] <... openat resumed>) = 3 [pid 5836] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5836] getdents64(3, 0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5836] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] <... openat resumed>) = 3 [pid 5836] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] ioctl(3, LOOP_CLR_FD [pid 5836] newfstatat(AT_FDCWD, "./4/binderfs", [pid 5835] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5836] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] close(3 [pid 5837] ioctl(3, LOOP_CLR_FD [pid 5836] unlink("./4/binderfs" [pid 5835] <... close resumed>) = 0 [pid 5836] <... unlink resumed>) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6157 attached [pid 5837] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5836] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5837] close(3) = 0 [pid 5836] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] <... clone resumed>, child_tidptr=0x55556b95d650) = 6157 [pid 5837] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5836] newfstatat(AT_FDCWD, "./4/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 ./strace-static-x86_64: Process 6158 attached [pid 5836] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6157] set_robust_list(0x55556b95d660, 24 [pid 5837] <... clone resumed>, child_tidptr=0x55556b95d650) = 6158 [pid 5836] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5836] openat(AT_FDCWD, "./4/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5836] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5836] getdents64(4, 0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5836] getdents64(4, 0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5836] close(4) = 0 [pid 5836] rmdir("./4/file0") = 0 [pid 5836] umount2("./4/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5836] newfstatat(AT_FDCWD, "./4/cgroup.controllers", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5836] unlink("./4/cgroup.controllers") = 0 [pid 5836] getdents64(3, 0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5836] close(3) = 0 [pid 5836] rmdir("./4") = 0 [pid 5836] mkdir("./5", 0777) = 0 [pid 6158] set_robust_list(0x55556b95d660, 24 [pid 6157] <... set_robust_list resumed>) = 0 [pid 5836] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5836] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5836] close(3) = 0 [pid 5836] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6158] <... set_robust_list resumed>) = 0 [pid 6157] chdir("./7"./strace-static-x86_64: Process 6159 attached [pid 6158] chdir("./7" [pid 6157] <... chdir resumed>) = 0 [pid 6158] <... chdir resumed>) = 0 [pid 6157] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6158] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6157] <... prctl resumed>) = 0 [pid 6158] <... prctl resumed>) = 0 [pid 6157] setpgid(0, 0 [pid 6159] set_robust_list(0x55556b95d660, 24 [pid 6158] setpgid(0, 0 [pid 6157] <... setpgid resumed>) = 0 [pid 6158] <... setpgid resumed>) = 0 [ 88.992761][ T5839] bcachefs (loop4): flushing journal and stopping allocators, journal seq 12 [pid 6159] <... set_robust_list resumed>) = 0 [pid 6158] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6157] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5836] <... clone resumed>, child_tidptr=0x55556b95d650) = 6159 [pid 6158] <... openat resumed>) = 3 [pid 6157] <... openat resumed>) = 3 [pid 6158] write(3, "1000", 4 [pid 6157] write(3, "1000", 4 [pid 6158] <... write resumed>) = 4 [pid 6157] <... write resumed>) = 4 [pid 6158] close(3 [pid 6157] close(3executing program executing program [pid 6158] <... close resumed>) = 0 [pid 6159] chdir("./5" [pid 6157] <... close resumed>) = 0 [pid 6158] symlink("/dev/binderfs", "./binderfs" [pid 6157] symlink("/dev/binderfs", "./binderfs" [pid 6159] <... chdir resumed>) = 0 [pid 6159] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6158] <... symlink resumed>) = 0 [pid 6157] <... symlink resumed>) = 0 [pid 6159] <... prctl resumed>) = 0 [pid 6159] setpgid(0, 0 [pid 6158] write(1, "executing program\n", 18 [pid 6157] write(1, "executing program\n", 18 [pid 6159] <... setpgid resumed>) = 0 [pid 6158] <... write resumed>) = 18 [pid 6157] <... write resumed>) = 18 [pid 6159] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6159] write(3, "1000", 4) = 4 [pid 6159] close(3) = 0 [pid 6157] memfd_create("syzkaller", 0 [pid 6159] symlink("/dev/binderfs", "./binderfs" [pid 6158] memfd_create("syzkaller", 0) = 3 [pid 6157] <... memfd_create resumed>) = 3 executing program [pid 6159] <... symlink resumed>) = 0 [pid 6158] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6157] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6158] <... mmap resumed>) = 0x7fb51f400000 [pid 6157] <... mmap resumed>) = 0x7fb51f400000 [pid 6159] write(1, "executing program\n", 18) = 18 [pid 6159] memfd_create("syzkaller", 0) = 3 [pid 6159] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb51f400000 [ 89.087242][ T53] bcachefs (loop4): bch2_write_super(): fatal error loop4: Superblock write was silently dropped! (seq 0 expected 54) [ 89.158374][ T53] bcachefs (loop4): fatal error - emergency read only [ 89.225113][ T5839] bcachefs (loop4): flushing journal and stopping allocators complete, journal seq 14 [ 89.266223][ T5839] bcachefs (loop4): unshutdown complete, journal seq 14 [ 89.300700][ T5839] bcachefs (loop4): done going read-only, filesystem not clean [pid 6157] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6153] <... write resumed>) = 16777216 [ 89.373075][ T5839] bcachefs (loop4): shutdown complete [pid 6153] munmap(0x7fb51f400000, 138412032 [pid 6159] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6158] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6153] <... munmap resumed>) = 0 [pid 6153] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6153] ioctl(4, LOOP_SET_FD, 3 [pid 6156] <... write resumed>) = 16777216 [pid 6153] <... ioctl resumed>) = 0 [pid 6153] close(3) = 0 [pid 6153] close(4) = 0 [pid 6153] mkdir("./file0", 0777) = 0 [pid 6153] mount("/dev/loop3", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [ 89.471761][ T6153] loop3: detected capacity change from 0 to 32768 [pid 6156] munmap(0x7fb51f400000, 138412032) = 0 [pid 6156] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 6156] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6156] close(3) = 0 [pid 6156] close(4) = 0 [pid 6156] mkdir("./file0", 0777) = 0 [ 89.556425][ T6156] loop5: detected capacity change from 0 to 32768 [pid 6156] mount("/dev/loop5", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6157] <... write resumed>) = 16777216 [pid 6159] <... write resumed>) = 16777216 [pid 6157] munmap(0x7fb51f400000, 138412032 [pid 6159] munmap(0x7fb51f400000, 138412032 [pid 6157] <... munmap resumed>) = 0 [pid 6157] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6159] <... munmap resumed>) = 0 [pid 6159] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6157] <... openat resumed>) = 4 [pid 6159] <... openat resumed>) = 4 [pid 6157] ioctl(4, LOOP_SET_FD, 3 [pid 6159] ioctl(4, LOOP_SET_FD, 3 [pid 6157] <... ioctl resumed>) = 0 [pid 6159] <... ioctl resumed>) = 0 [pid 6158] <... write resumed>) = 16777216 [pid 6158] munmap(0x7fb51f400000, 138412032 [pid 6157] close(3 [pid 6159] close(3 [pid 6157] <... close resumed>) = 0 [pid 6159] <... close resumed>) = 0 [pid 6157] close(4 [pid 6159] close(4) = 0 [pid 6159] mkdir("./file0", 0777 [pid 6157] <... close resumed>) = 0 [pid 6157] mkdir("./file0", 0777) = 0 [pid 6157] mount("/dev/loop0", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6159] <... mkdir resumed>) = 0 [ 89.774355][ T6157] loop0: detected capacity change from 0 to 32768 [ 89.782061][ T6159] loop1: detected capacity change from 0 to 32768 [pid 6159] mount("/dev/loop1", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6158] <... munmap resumed>) = 0 [pid 6158] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6158] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6158] close(3) = 0 [pid 6158] close(4) = 0 [pid 6158] mkdir("./file0", 0777) = 0 [ 89.847640][ T6158] loop2: detected capacity change from 0 to 32768 [ 90.168675][ T6153] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 90.178244][ T6156] bcachefs (loop5): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,erasure_code,degraded,no_splitbrain_check,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,nocow [ 90.178395][ T6153] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 90.202666][ T6156] bcachefs (loop5): recovering from clean shutdown, journal seq 10 [ 90.208668][ T6159] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 90.218559][ T6156] bcachefs (loop5): Version upgrade required: [ 90.218559][ T6156] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 90.218559][ T6156] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 90.218559][ T6156] 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.296816][ T6159] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 90.309125][ T6156] bcachefs (loop5): dropping and reconstructing all alloc info [ 90.340190][ T6157] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 90.348968][ T6156] bcachefs (loop5): check_topology... done [ 90.370568][ T6156] bcachefs (loop5): accounting_read... [ 90.381554][ T6157] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 90.395251][ T6158] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 90.405761][ T6158] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 90.456811][ T6156] done [ 90.459640][ T6156] bcachefs (loop5): alloc_read... done [ 90.491614][ T6156] bcachefs (loop5): stripes_read... done [ 90.511768][ T6156] bcachefs (loop5): snapshots_read... done [ 90.515501][ T6159] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6158] mount("/dev/loop2", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6159] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6159] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 6159] ioctl(3, LOOP_CLR_FD) = 0 [ 90.534410][ T6156] bcachefs (loop5): check_allocations... [ 90.563414][ T6153] bcachefs: bch2_fs_get_tree() error: EINVAL [ 90.590168][ T6157] bcachefs: bch2_fs_get_tree() error: EINVAL [ 90.596844][ T6158] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6159] close(3 [pid 6153] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6153] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 6158] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6157] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6153] ioctl(3, LOOP_CLR_FD [pid 6158] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6153] <... ioctl resumed>) = 0 [ 90.615485][ T6156] done [pid 6153] close(3 [pid 6158] <... openat resumed>) = 3 [pid 6157] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 6157] ioctl(3, LOOP_CLR_FD) = 0 [pid 6157] close(3 [pid 6158] ioctl(3, LOOP_CLR_FD) = 0 [ 90.652793][ T6156] bcachefs (loop5): going read-write [pid 6158] close(3 [pid 6156] <... mount resumed>) = 0 [ 90.771181][ T6156] bcachefs (loop5): done starting filesystem [pid 6156] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6156] chdir("./file0") = 0 [pid 6156] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 6156] ioctl(4, LOOP_CLR_FD) = 0 [pid 6156] close(4) = 0 [pid 6156] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 4 [pid 6156] exit_group(0) = ? [pid 6156] +++ exited with 0 +++ [pid 5840] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6156, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=35 /* 0.35 s */} --- [pid 5840] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5840] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] getdents64(3, 0x55556b95e6f0 /* 4 entries */, 32768) = 112 [pid 5840] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./4/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] unlink("./4/binderfs") = 0 [ 90.925242][ T5840] bcachefs (loop5): shutting down [pid 5840] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6153] <... close resumed>) = 0 [ 90.953712][ T5840] bcachefs (loop5): going read-only [ 90.958986][ T5840] bcachefs (loop5): finished waiting for writes to stop [pid 6153] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 3 [pid 6159] <... close resumed>) = 0 [pid 6153] exit_group(0 [pid 5839] <... umount2 resumed>) = 0 [pid 6159] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 6153] <... exit_group resumed>) = ? [pid 5839] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5839] newfstatat(AT_FDCWD, "./6/file0", [pid 6153] +++ exited with 0 +++ [pid 5839] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6159] <... openat resumed>) = 3 [pid 5839] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5838] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6153, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=51 /* 0.51 s */} --- [pid 5838] restart_syscall(<... resuming interrupted clone ...> [pid 5839] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5838] <... restart_syscall resumed>) = 0 [pid 5839] openat(AT_FDCWD, "./6/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5839] newfstatat(4, "", [pid 6159] exit_group(0 [pid 5839] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6159] <... exit_group resumed>) = ? [pid 5839] getdents64(4, [pid 5838] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6159] +++ exited with 0 +++ [pid 5836] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6159, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=55 /* 0.55 s */} --- [pid 5839] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5838] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5836] restart_syscall(<... resuming interrupted clone ...> [pid 5839] getdents64(4, [pid 5838] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5836] <... restart_syscall resumed>) = 0 [pid 5836] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5838] <... openat resumed>) = 3 [pid 5839] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5836] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5839] close(4 [pid 5836] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5839] <... close resumed>) = 0 [pid 5838] newfstatat(3, "", [pid 5839] rmdir("./6/file0" [pid 5836] <... openat resumed>) = 3 [pid 5836] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5836] getdents64(3, 0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5836] umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5836] newfstatat(AT_FDCWD, "./5/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5836] unlink("./5/binderfs") = 0 [pid 5836] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5836] newfstatat(AT_FDCWD, "./5/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5836] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5839] <... rmdir resumed>) = 0 [pid 5839] getdents64(3, [pid 5836] openat(AT_FDCWD, "./5/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5839] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5838] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5836] <... openat resumed>) = 4 [pid 5839] close(3 [pid 5838] getdents64(3, [pid 5836] newfstatat(4, "", [pid 5839] <... close resumed>) = 0 [pid 5838] <... getdents64 resumed>0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5836] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5839] rmdir("./6" [pid 5836] getdents64(4, 0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5836] getdents64(4, [pid 5839] <... rmdir resumed>) = 0 [pid 5838] umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5836] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5839] mkdir("./7", 0777 [pid 5836] close(4) = 0 [ 91.047826][ T5840] bcachefs (loop5): flushing journal and stopping allocators, journal seq 12 [pid 5836] rmdir("./5/file0" [pid 5839] <... mkdir resumed>) = 0 [pid 5838] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5836] <... rmdir resumed>) = 0 [pid 5839] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5836] umount2("./5/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5839] <... openat resumed>) = 3 [pid 5838] newfstatat(AT_FDCWD, "./6/binderfs", [pid 5836] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5839] ioctl(3, LOOP_CLR_FD [pid 5838] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5836] newfstatat(AT_FDCWD, "./5/cgroup.controllers", [pid 5839] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5836] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5839] close(3 [pid 5838] unlink("./6/binderfs" [pid 5836] unlink("./5/cgroup.controllers" [pid 5839] <... close resumed>) = 0 [pid 6157] <... close resumed>) = 0 [pid 5839] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5838] <... unlink resumed>) = 0 [pid 5836] <... unlink resumed>) = 0 [pid 5836] getdents64(3, [pid 5838] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 6199 attached ) = -1 EINVAL (Invalid argument) [pid 5836] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5838] newfstatat(AT_FDCWD, "./6/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5836] close(3 [pid 5839] <... clone resumed>, child_tidptr=0x55556b95d650) = 6199 [pid 5838] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6199] set_robust_list(0x55556b95d660, 24 [pid 5838] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5838] openat(AT_FDCWD, "./6/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5836] <... close resumed>) = 0 [pid 6199] <... set_robust_list resumed>) = 0 [pid 5838] <... openat resumed>) = 4 [pid 5836] rmdir("./5" [pid 6199] chdir("./7" [pid 5838] newfstatat(4, "", [pid 6199] <... chdir resumed>) = 0 [pid 6199] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5838] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5836] <... rmdir resumed>) = 0 [pid 6199] <... prctl resumed>) = 0 [pid 5838] getdents64(4, [pid 5836] mkdir("./6", 0777 [pid 5838] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 6199] setpgid(0, 0 [pid 6158] <... close resumed>) = 0 [pid 6157] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5836] <... mkdir resumed>) = 0 [pid 5838] getdents64(4, 0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5836] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5838] close(4) = 0 [pid 5836] <... openat resumed>) = 3 [pid 5838] rmdir("./6/file0" [pid 5836] ioctl(3, LOOP_CLR_FD [pid 6199] <... setpgid resumed>) = 0 [pid 5838] <... rmdir resumed>) = 0 [pid 5836] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5836] close(3 [pid 5838] umount2("./6/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5836] <... close resumed>) = 0 [pid 6199] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5838] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5836] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6199] <... openat resumed>) = 3 [pid 6157] <... openat resumed>) = 3 ./strace-static-x86_64: Process 6201 attached [pid 6157] exit_group(0) = ? [pid 5836] <... clone resumed>, child_tidptr=0x55556b95d650) = 6201 [pid 6157] +++ exited with 0 +++ [pid 6201] set_robust_list(0x55556b95d660, 24 [pid 6158] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 6199] write(3, "1000", 4 [pid 6158] <... openat resumed>) = 3 [pid 5838] newfstatat(AT_FDCWD, "./6/cgroup.controllers", [pid 6199] <... write resumed>) = 4 [pid 5838] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6199] close(3 [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6157, si_uid=0, si_status=0, si_utime=0, si_stime=45 /* 0.45 s */} --- [pid 6199] <... close resumed>) = 0 [pid 5838] unlink("./6/cgroup.controllers" [pid 6199] symlink("/dev/binderfs", "./binderfs" [pid 6201] <... set_robust_list resumed>) = 0 [pid 6199] <... symlink resumed>) = 0 [pid 6158] exit_group(0executing program [pid 6201] chdir("./6" [pid 6199] write(1, "executing program\n", 18 [pid 6158] <... exit_group resumed>) = ? [pid 5838] <... unlink resumed>) = 0 [pid 5835] umount2("./7", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6201] <... chdir resumed>) = 0 [pid 6199] <... write resumed>) = 18 [pid 6201] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6199] memfd_create("syzkaller", 0 [pid 5838] getdents64(3, [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6201] setpgid(0, 0) = 0 [pid 6201] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6199] <... memfd_create resumed>) = 3 [pid 6158] +++ exited with 0 +++ [pid 5838] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5835] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6199] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5838] close(3 [pid 5837] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6158, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=48 /* 0.48 s */} --- [pid 5835] <... openat resumed>) = 3 [pid 5838] <... close resumed>) = 0 [pid 5835] newfstatat(3, "", [pid 6199] <... mmap resumed>) = 0x7fb51f400000 [pid 5838] rmdir("./6" [pid 5835] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6201] <... openat resumed>) = 3 [pid 5837] umount2("./7", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] getdents64(3, [pid 5838] <... rmdir resumed>) = 0 [pid 6201] write(3, "1000", 4) = 4 [pid 6201] close(3) = 0 [pid 6201] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6201] write(1, "executing program\n", 18) = 18 [pid 6201] memfd_create("syzkaller", 0 [pid 5838] mkdir("./7", 0777 [pid 5837] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] <... getdents64 resumed>0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 6201] <... memfd_create resumed>) = 3 [pid 6201] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb51f400000 [pid 5838] <... mkdir resumed>) = 0 [pid 5837] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5835] umount2("./7/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5838] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5837] <... openat resumed>) = 3 [pid 5838] <... openat resumed>) = 3 [pid 5837] newfstatat(3, "", [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5838] ioctl(3, LOOP_CLR_FD [pid 5837] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5835] newfstatat(AT_FDCWD, "./7/binderfs", [pid 5838] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5837] getdents64(3, [pid 5835] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5838] close(3 [pid 5837] <... getdents64 resumed>0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5835] unlink("./7/binderfs") = 0 [pid 5838] <... close resumed>) = 0 [pid 5837] umount2("./7/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5838] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5837] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) ./strace-static-x86_64: Process 6202 attached [pid 5837] newfstatat(AT_FDCWD, "./7/binderfs", [ 91.148467][ T5840] bcachefs (loop5): flushing journal and stopping allocators complete, journal seq 16 [ 91.173362][ T5840] bcachefs (loop5): unshutdown complete, journal seq 17 [pid 5835] newfstatat(AT_FDCWD, "./7/file0", [pid 6202] set_robust_list(0x55556b95d660, 24 [pid 5838] <... clone resumed>, child_tidptr=0x55556b95d650) = 6202 [pid 5837] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5837] unlink("./7/binderfs" [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6202] <... set_robust_list resumed>) = 0 [pid 5837] <... unlink resumed>) = 0 [pid 5835] openat(AT_FDCWD, "./7/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5837] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] newfstatat(4, "", [pid 6202] chdir("./7" [pid 5835] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6202] <... chdir resumed>) = 0 [pid 5837] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] getdents64(4, [pid 6202] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5837] newfstatat(AT_FDCWD, "./7/file0", [pid 6202] <... prctl resumed>) = 0 [pid 5837] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 6202] setpgid(0, 0 [pid 5837] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] getdents64(4, [pid 5837] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6202] <... setpgid resumed>) = 0 [pid 5835] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5837] openat(AT_FDCWD, "./7/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5835] close(4 [pid 6202] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5837] <... openat resumed>) = 4 [pid 5835] <... close resumed>) = 0 [pid 5835] rmdir("./7/file0" [pid 5837] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5835] <... rmdir resumed>) = 0 [pid 6202] <... openat resumed>) = 3 [pid 5837] getdents64(4, [pid 5835] umount2("./7/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5837] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5837] getdents64(4, [pid 5835] newfstatat(AT_FDCWD, "./7/cgroup.controllers", [pid 6202] write(3, "1000", 4 [pid 5837] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5835] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6202] <... write resumed>) = 4 [pid 5837] close(4 [pid 5835] unlink("./7/cgroup.controllers" [pid 6202] close(3 [pid 5837] <... close resumed>) = 0 [pid 6202] <... close resumed>) = 0 [pid 5837] rmdir("./7/file0" [pid 5835] <... unlink resumed>) = 0 [pid 6202] symlink("/dev/binderfs", "./binderfs" [pid 5837] <... rmdir resumed>) = 0 [pid 5837] umount2("./7/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] getdents64(3, [pid 6202] <... symlink resumed>) = 0 [ 91.222390][ T5840] bcachefs (loop5): done going read-only, filesystem not clean [pid 6202] write(1, "executing program\n", 18 [pid 5837] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 executing program [pid 6202] <... write resumed>) = 18 [pid 5837] newfstatat(AT_FDCWD, "./7/cgroup.controllers", [pid 5835] close(3 [pid 6202] memfd_create("syzkaller", 0 [pid 5835] <... close resumed>) = 0 [pid 6202] <... memfd_create resumed>) = 3 [pid 5837] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] rmdir("./7" [pid 6202] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5837] unlink("./7/cgroup.controllers" [pid 5835] <... rmdir resumed>) = 0 [pid 6202] <... mmap resumed>) = 0x7fb51f400000 [pid 5835] mkdir("./8", 0777 [pid 5837] <... unlink resumed>) = 0 [pid 5837] getdents64(3, [pid 5835] <... mkdir resumed>) = 0 [pid 5837] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5837] close(3) = 0 [pid 5835] <... openat resumed>) = 3 [pid 5837] rmdir("./7" [pid 5835] ioctl(3, LOOP_CLR_FD [pid 5837] <... rmdir resumed>) = 0 [pid 5835] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5837] mkdir("./8", 0777 [pid 5835] close(3 [pid 5837] <... mkdir resumed>) = 0 [pid 5835] <... close resumed>) = 0 [pid 5837] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5837] <... openat resumed>) = 3 ./strace-static-x86_64: Process 6203 attached [pid 5837] ioctl(3, LOOP_CLR_FD [pid 6203] set_robust_list(0x55556b95d660, 24 [pid 5837] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6203] <... set_robust_list resumed>) = 0 [pid 5835] <... clone resumed>, child_tidptr=0x55556b95d650) = 6203 [pid 6203] chdir("./8" [pid 5837] close(3 [pid 6203] <... chdir resumed>) = 0 [pid 5837] <... close resumed>) = 0 [pid 6203] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5837] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6203] <... prctl resumed>) = 0 ./strace-static-x86_64: Process 6204 attached [pid 6203] setpgid(0, 0) = 0 [ 91.301376][ T5840] bcachefs (loop5): shutdown complete [pid 6204] set_robust_list(0x55556b95d660, 24 [pid 6203] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6203] write(3, "1000", 4 [pid 6204] <... set_robust_list resumed>) = 0 [pid 6204] chdir("./8") = 0 [pid 6204] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6204] setpgid(0, 0) = 0 [pid 6204] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5837] <... clone resumed>, child_tidptr=0x55556b95d650) = 6204 [pid 6204] <... openat resumed>) = 3 [pid 6204] write(3, "1000", 4) = 4 executing program [pid 6204] close(3) = 0 [pid 6204] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6204] write(1, "executing program\n", 18 [pid 6203] <... write resumed>) = 4 [pid 6204] <... write resumed>) = 18 [pid 6204] memfd_create("syzkaller", 0 [pid 6203] close(3) = 0 [pid 6204] <... memfd_create resumed>) = 3 [pid 6203] symlink("/dev/binderfs", "./binderfs" [pid 6204] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6203] <... symlink resumed>) = 0 [pid 6204] <... mmap resumed>) = 0x7fb51f400000 [pid 6203] write(1, "executing program\n", 18executing program ) = 18 [pid 6203] memfd_create("syzkaller", 0) = 3 [pid 6203] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb51f400000 [pid 6201] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 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 6202] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6203] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6204] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6201] <... write resumed>) = 16777216 [pid 6201] munmap(0x7fb51f400000, 138412032) = 0 [pid 6201] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6201] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6201] close(3) = 0 [pid 6201] close(4) = 0 [pid 6199] <... write resumed>) = 16777216 [pid 6201] mkdir("./file0", 0777) = 0 [pid 6201] mount("/dev/loop1", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [ 92.117815][ T6201] loop1: detected capacity change from 0 to 32768 [pid 6199] munmap(0x7fb51f400000, 138412032) = 0 [pid 6199] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6199] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6204] <... write resumed>) = 16777216 [pid 6203] <... write resumed>) = 16777216 [pid 6202] <... write resumed>) = 16777216 [pid 6204] munmap(0x7fb51f400000, 138412032 [pid 6199] close(3 [pid 6203] munmap(0x7fb51f400000, 138412032 [pid 6202] munmap(0x7fb51f400000, 138412032 [pid 6199] <... close resumed>) = 0 [pid 6199] close(4) = 0 [pid 6204] <... munmap resumed>) = 0 [pid 6203] <... munmap resumed>) = 0 [pid 6199] mkdir("./file0", 0777 [pid 6204] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6202] <... munmap resumed>) = 0 [pid 6202] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6204] <... openat resumed>) = 4 [pid 6203] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6199] <... mkdir resumed>) = 0 [pid 6202] <... openat resumed>) = 4 [ 92.214763][ T6199] loop4: detected capacity change from 0 to 32768 [pid 6202] ioctl(4, LOOP_SET_FD, 3 [pid 6204] ioctl(4, LOOP_SET_FD, 3 [pid 6203] <... openat resumed>) = 4 [pid 6202] <... ioctl resumed>) = 0 [pid 6199] mount("/dev/loop4", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6203] ioctl(4, LOOP_SET_FD, 3 [pid 6202] close(3 [pid 6204] <... ioctl resumed>) = 0 [pid 6203] <... ioctl resumed>) = 0 [pid 6202] <... close resumed>) = 0 [pid 6204] close(3 [pid 6203] close(3 [pid 6204] <... close resumed>) = 0 [pid 6204] close(4 [pid 6203] <... close resumed>) = 0 [pid 6204] <... close resumed>) = 0 [pid 6203] close(4 [pid 6202] close(4 [pid 6204] mkdir("./file0", 0777 [pid 6203] <... close resumed>) = 0 [pid 6202] <... close resumed>) = 0 [pid 6202] mkdir("./file0", 0777) = 0 [pid 6204] <... mkdir resumed>) = 0 [pid 6203] mkdir("./file0", 0777 [pid 6202] mount("/dev/loop3", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6204] mount("/dev/loop2", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6203] <... mkdir resumed>) = 0 [ 92.273545][ T6202] loop3: detected capacity change from 0 to 32768 [ 92.280550][ T6204] loop2: detected capacity change from 0 to 32768 [ 92.282095][ T6203] loop0: detected capacity change from 0 to 32768 [ 92.616889][ T6199] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 92.640475][ T6201] bcachefs (loop1): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,erasure_code,degraded,no_splitbrain_check,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,nocow [pid 6203] mount("/dev/loop0", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 5840] <... umount2 resumed>) = 0 [ 92.679937][ T6199] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 92.689590][ T6203] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 92.699751][ T6201] bcachefs (loop1): recovering from clean shutdown, journal seq 10 [ 92.708644][ T6201] bcachefs (loop1): Version upgrade required: [ 92.708644][ T6201] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [pid 5840] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 92.708644][ T6201] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 92.708644][ T6201] 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 5840] newfstatat(AT_FDCWD, "./4/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./4/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [ 92.782391][ T6203] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 92.783003][ T6204] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 92.804114][ T6201] bcachefs (loop1): dropping and reconstructing all alloc info [pid 5840] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] getdents64(4, 0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5840] getdents64(4, 0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5840] close(4) = 0 [pid 5840] rmdir("./4/file0") = 0 [pid 5840] getdents64(3, 0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5840] close(3) = 0 [pid 5840] rmdir("./4") = 0 [pid 5840] mkdir("./5", 0777) = 0 [pid 5840] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5840] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5840] close(3) = 0 [pid 5840] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55556b95d650) = 6241 ./strace-static-x86_64: Process 6241 attached [pid 6241] set_robust_list(0x55556b95d660, 24) = 0 [pid 6241] chdir("./5") = 0 [pid 6241] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [ 92.825913][ T6204] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 92.841427][ T6202] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 92.871023][ T6202] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [pid 6241] setpgid(0, 0) = 0 [pid 6241] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6241] write(3, "1000", 4) = 4 [pid 6241] close(3) = 0 [pid 6241] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6241] write(1, "executing program\n", 18executing program ) = 18 [pid 6241] memfd_create("syzkaller", 0) = 3 [ 92.911118][ T6201] bcachefs (loop1): check_topology... done [ 92.934062][ T6201] bcachefs (loop1): accounting_read... done [pid 6241] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb51f400000 [pid 6199] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6199] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 6199] ioctl(3, LOOP_CLR_FD) = 0 [pid 6199] close(3 [pid 6202] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6202] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 6202] ioctl(3, LOOP_CLR_FD) = 0 [ 92.982234][ T6201] bcachefs (loop1): alloc_read... done [ 92.995219][ T6199] bcachefs: bch2_fs_get_tree() error: EINVAL [ 92.997747][ T6201] bcachefs (loop1): stripes_read... done [ 93.019089][ T6202] bcachefs: bch2_fs_get_tree() error: EINVAL [ 93.019089][ T6203] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6202] close(3 [pid 6203] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6203] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 6203] ioctl(3, LOOP_CLR_FD) = 0 [ 93.052221][ T6201] bcachefs (loop1): snapshots_read... done [ 93.058338][ T6201] bcachefs (loop1): check_allocations... [ 93.079306][ T6204] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6203] close(3 [pid 6204] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6204] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [ 93.128955][ T6201] done [pid 6204] ioctl(3, LOOP_CLR_FD) = 0 [ 93.152942][ T6201] bcachefs (loop1): going read-write [pid 6204] close(3 [pid 6201] <... mount resumed>) = 0 [pid 6201] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6201] chdir("./file0") = 0 [ 93.235476][ T6201] bcachefs (loop1): done starting filesystem [pid 6201] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6201] ioctl(4, LOOP_CLR_FD) = 0 [pid 6201] close(4) = 0 [pid 6201] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 4 [pid 6201] exit_group(0) = ? [pid 6201] +++ exited with 0 +++ [pid 5836] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6201, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=36 /* 0.36 s */} --- [pid 5836] restart_syscall(<... resuming interrupted clone ...> [pid 6241] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... restart_syscall resumed>) = 0 [pid 5836] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5836] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5836] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5836] getdents64(3, 0x55556b95e6f0 /* 4 entries */, 32768) = 112 [pid 5836] umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5836] newfstatat(AT_FDCWD, "./6/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5836] unlink("./6/binderfs") = 0 [pid 5836] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6202] <... close resumed>) = 0 [pid 6202] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 3 [ 93.379568][ T5836] bcachefs (loop1): shutting down [ 93.390904][ T5836] bcachefs (loop1): going read-only [ 93.401681][ T5836] bcachefs (loop1): finished waiting for writes to stop [pid 6202] exit_group(0) = ? [pid 6202] +++ exited with 0 +++ [pid 5838] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6202, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=39 /* 0.39 s */} --- [pid 5838] umount2("./7", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5838] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5838] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5838] getdents64(3, 0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5838] umount2("./7/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5838] newfstatat(AT_FDCWD, "./7/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5838] unlink("./7/binderfs" [pid 6203] <... close resumed>) = 0 [pid 5838] <... unlink resumed>) = 0 [pid 6203] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5838] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6199] <... close resumed>) = 0 [pid 5838] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6203] <... openat resumed>) = 3 [pid 6199] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5838] newfstatat(AT_FDCWD, "./7/file0", [pid 6203] exit_group(0 [pid 6199] <... openat resumed>) = 3 [pid 5838] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6203] <... exit_group resumed>) = ? [pid 6199] exit_group(0 [pid 5838] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6199] <... exit_group resumed>) = ? [pid 5838] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6203] +++ exited with 0 +++ [ 93.444217][ T5836] bcachefs (loop1): flushing journal and stopping allocators, journal seq 12 [pid 6199] +++ exited with 0 +++ [pid 5838] openat(AT_FDCWD, "./7/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5839] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6199, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=53 /* 0.53 s */} --- [pid 5838] <... openat resumed>) = 4 [pid 5838] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6203, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=45 /* 0.45 s */} --- [pid 5839] umount2("./7", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5838] getdents64(4, [pid 5839] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5838] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5835] umount2("./8", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5839] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5838] getdents64(4, [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5839] <... openat resumed>) = 3 [pid 5838] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5835] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5839] newfstatat(3, "", [pid 5838] close(4 [pid 5839] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5838] <... close resumed>) = 0 [pid 5835] <... openat resumed>) = 3 [pid 5839] getdents64(3, [pid 5838] rmdir("./7/file0" [pid 5835] newfstatat(3, "", [pid 5839] <... getdents64 resumed>0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5839] umount2("./7/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5838] <... rmdir resumed>) = 0 [pid 5835] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5839] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5839] newfstatat(AT_FDCWD, "./7/binderfs", [pid 5838] umount2("./7/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] getdents64(3, [pid 5839] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5838] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5839] unlink("./7/binderfs" [pid 5838] newfstatat(AT_FDCWD, "./7/cgroup.controllers", [pid 5839] <... unlink resumed>) = 0 [pid 5838] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5839] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5838] unlink("./7/cgroup.controllers" [pid 5839] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5838] <... unlink resumed>) = 0 [pid 5835] <... getdents64 resumed>0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5839] newfstatat(AT_FDCWD, "./7/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5838] getdents64(3, [pid 5839] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5838] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5839] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5838] close(3 [pid 5839] openat(AT_FDCWD, "./7/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5838] <... close resumed>) = 0 [pid 5839] <... openat resumed>) = 4 [pid 5838] rmdir("./7" [pid 5839] newfstatat(4, "", [pid 5838] <... rmdir resumed>) = 0 [pid 5839] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5838] mkdir("./8", 0777 [pid 5835] umount2("./8/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5839] getdents64(4, [pid 5838] <... mkdir resumed>) = 0 [pid 5839] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5838] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5839] getdents64(4, [pid 5838] <... openat resumed>) = 3 [pid 5839] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5835] newfstatat(AT_FDCWD, "./8/binderfs", [pid 5839] close(4) = 0 [pid 5838] ioctl(3, LOOP_CLR_FD [pid 5835] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6204] <... close resumed>) = 0 [pid 5839] rmdir("./7/file0" [pid 5838] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5839] <... rmdir resumed>) = 0 [pid 5835] unlink("./8/binderfs" [pid 5838] close(3) = 0 [pid 5835] <... unlink resumed>) = 0 [pid 5835] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5838] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55556b95d650) = 6244 [pid 5839] umount2("./7/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5839] newfstatat(AT_FDCWD, "./7/cgroup.controllers", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5839] unlink("./7/cgroup.controllers") = 0 [pid 5839] getdents64(3, 0x55556b95e6f0 /* 0 entries */, 32768) = 0 ./strace-static-x86_64: Process 6244 attached [pid 5839] close(3 [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6204] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5839] <... close resumed>) = 0 [pid 5835] newfstatat(AT_FDCWD, "./8/file0", [pid 6204] <... openat resumed>) = 3 [pid 5839] rmdir("./7" [pid 5835] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5839] <... rmdir resumed>) = 0 [pid 5835] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6204] exit_group(0 [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./8/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6204] <... exit_group resumed>) = ? [pid 5839] mkdir("./8", 0777 [pid 5835] <... openat resumed>) = 4 [pid 6244] set_robust_list(0x55556b95d660, 24 [pid 6204] +++ exited with 0 +++ [pid 5839] <... mkdir resumed>) = 0 [pid 5835] newfstatat(4, "", [pid 5837] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6204, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=45 /* 0.45 s */} --- [pid 5835] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, [pid 5837] umount2("./8", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5837] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] getdents64(4, [pid 5837] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5835] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5837] <... openat resumed>) = 3 [pid 5835] close(4 [pid 5837] newfstatat(3, "", [pid 6244] <... set_robust_list resumed>) = 0 [pid 5837] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5835] <... close resumed>) = 0 [ 93.561400][ T1146] bcachefs (loop1): bch2_write_super(): fatal error loop1: Superblock write was silently dropped! (seq 0 expected 54) [pid 6244] chdir("./8" [pid 5839] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5837] getdents64(3, [pid 5835] rmdir("./8/file0" [pid 6244] <... chdir resumed>) = 0 [pid 5839] <... openat resumed>) = 3 [pid 6244] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5839] ioctl(3, LOOP_CLR_FD [pid 6244] <... prctl resumed>) = 0 [pid 5839] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6244] setpgid(0, 0 [pid 5839] close(3 [pid 6244] <... setpgid resumed>) = 0 [pid 5839] <... close resumed>) = 0 [pid 6244] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5839] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6244] <... openat resumed>) = 3 [pid 6244] write(3, "1000", 4 [pid 5839] <... clone resumed>, child_tidptr=0x55556b95d650) = 6245 [pid 6244] <... write resumed>) = 4 [pid 6244] close(3) = 0 [pid 6244] symlink("/dev/binderfs", "./binderfs"./strace-static-x86_64: Process 6245 attached ) = 0 [pid 5837] <... getdents64 resumed>0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5835] <... rmdir resumed>) = 0 executing program [pid 6245] set_robust_list(0x55556b95d660, 24 [pid 6244] write(1, "executing program\n", 18 [pid 5837] umount2("./8/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] umount2("./8/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6245] <... set_robust_list resumed>) = 0 [pid 6244] <... write resumed>) = 18 [pid 5837] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6244] memfd_create("syzkaller", 0 [pid 5837] newfstatat(AT_FDCWD, "./8/binderfs", [pid 5835] newfstatat(AT_FDCWD, "./8/cgroup.controllers", [pid 6245] chdir("./8" [pid 6244] <... memfd_create resumed>) = 3 [pid 6245] <... chdir resumed>) = 0 [pid 6244] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5837] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6245] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5837] unlink("./8/binderfs" [pid 5835] unlink("./8/cgroup.controllers" [pid 6245] <... prctl resumed>) = 0 [pid 6245] setpgid(0, 0 [pid 6244] <... mmap resumed>) = 0x7fb51f400000 [pid 6245] <... setpgid resumed>) = 0 [pid 5837] <... unlink resumed>) = 0 [pid 5835] <... unlink resumed>) = 0 [pid 6245] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5837] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] getdents64(3, [pid 6245] <... openat resumed>) = 3 [pid 5837] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 6245] write(3, "1000", 4 [pid 5837] newfstatat(AT_FDCWD, "./8/file0", [pid 5835] close(3 [pid 6245] <... write resumed>) = 4 [pid 6245] close(3 [pid 5837] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] <... close resumed>) = 0 [pid 6245] <... close resumed>) = 0 [pid 5837] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6245] symlink("/dev/binderfs", "./binderfs" [pid 5835] rmdir("./8" [pid 5837] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6245] <... symlink resumed>) = 0 executing program [pid 5835] <... rmdir resumed>) = 0 [pid 6245] write(1, "executing program\n", 18 [pid 5837] openat(AT_FDCWD, "./8/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5835] mkdir("./9", 0777 [pid 6245] <... write resumed>) = 18 [pid 5837] <... openat resumed>) = 4 [pid 6245] memfd_create("syzkaller", 0 [pid 5837] newfstatat(4, "", [pid 5835] <... mkdir resumed>) = 0 [pid 6245] <... memfd_create resumed>) = 3 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6245] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5837] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6245] <... mmap resumed>) = 0x7fb51f400000 [pid 5837] getdents64(4, [pid 5835] <... openat resumed>) = 3 [pid 5837] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5835] ioctl(3, LOOP_CLR_FD [pid 5837] getdents64(4, [pid 5835] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5837] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5835] close(3 [pid 5837] close(4 [pid 5835] <... close resumed>) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5837] <... close resumed>) = 0 [pid 5837] rmdir("./8/file0"./strace-static-x86_64: Process 6246 attached ) = 0 [pid 5835] <... clone resumed>, child_tidptr=0x55556b95d650) = 6246 [pid 6246] set_robust_list(0x55556b95d660, 24 [ 93.607062][ T1146] bcachefs (loop1): fatal error - emergency read only [ 93.641814][ T5836] bcachefs (loop1): flushing journal and stopping allocators complete, journal seq 14 [pid 5837] umount2("./8/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6246] <... set_robust_list resumed>) = 0 [pid 5837] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6246] chdir("./9" [pid 5837] newfstatat(AT_FDCWD, "./8/cgroup.controllers", [pid 6246] <... chdir resumed>) = 0 [pid 6246] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5837] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6246] <... prctl resumed>) = 0 [pid 5837] unlink("./8/cgroup.controllers" [pid 6246] setpgid(0, 0) = 0 [pid 5837] <... unlink resumed>) = 0 [pid 6246] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5837] getdents64(3, 0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 6246] write(3, "1000", 4) = 4 [pid 5837] close(3 [pid 6246] close(3 [pid 5837] <... close resumed>) = 0 [pid 6246] <... close resumed>) = 0 [pid 5837] rmdir("./8" [pid 6246] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5837] <... rmdir resumed>) = 0 [pid 5837] mkdir("./9", 0777 [pid 6246] write(1, "executing program\n", 18executing program ) = 18 [pid 6246] memfd_create("syzkaller", 0 [pid 5837] <... mkdir resumed>) = 0 [pid 6246] <... memfd_create resumed>) = 3 [pid 5837] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6246] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb51f400000 [pid 5837] <... openat resumed>) = 3 [pid 5837] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5837] close(3) = 0 [pid 5837] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6247 attached [pid 6241] <... write resumed>) = 16777216 [pid 6241] munmap(0x7fb51f400000, 138412032 [pid 5837] <... clone resumed>, child_tidptr=0x55556b95d650) = 6247 [ 93.681065][ T5836] bcachefs (loop1): unshutdown complete, journal seq 14 [ 93.705199][ T5836] bcachefs (loop1): done going read-only, filesystem not clean [pid 6247] set_robust_list(0x55556b95d660, 24) = 0 [pid 6247] chdir("./9") = 0 [pid 6247] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6247] setpgid(0, 0) = 0 [pid 6241] <... munmap resumed>) = 0 [pid 6247] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6241] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6247] <... openat resumed>) = 3 [pid 6241] <... openat resumed>) = 4 [pid 6247] write(3, "1000", 4 [pid 6241] ioctl(4, LOOP_SET_FD, 3 [pid 6247] <... write resumed>) = 4 [pid 6247] close(3 [pid 6241] <... ioctl resumed>) = 0 [pid 6247] <... close resumed>) = 0 [pid 6241] close(3 [pid 6247] symlink("/dev/binderfs", "./binderfs" [pid 6241] <... close resumed>) = 0 [pid 6247] <... symlink resumed>) = 0 [pid 6241] close(4executing program [pid 6247] write(1, "executing program\n", 18 [pid 6245] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6241] <... close resumed>) = 0 [pid 6247] <... write resumed>) = 18 [pid 6241] mkdir("./file0", 0777 [pid 6247] memfd_create("syzkaller", 0 [pid 6241] <... mkdir resumed>) = 0 [pid 6247] <... memfd_create resumed>) = 3 [pid 6241] mount("/dev/loop5", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6247] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb51f400000 [ 93.817349][ T6241] loop5: detected capacity change from 0 to 32768 [ 93.818391][ T5836] bcachefs (loop1): shutdown complete [pid 6244] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6246] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6247] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6246] <... write resumed>) = 16777216 [pid 6246] munmap(0x7fb51f400000, 138412032) = 0 [pid 6246] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6246] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6246] close(3) = 0 [pid 6246] close(4) = 0 [pid 6246] mkdir("./file0", 0777) = 0 [ 94.225465][ T6246] loop0: detected capacity change from 0 to 32768 [pid 6246] mount("/dev/loop0", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6245] <... write resumed>) = 16777216 [pid 6245] munmap(0x7fb51f400000, 138412032) = 0 [pid 6245] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6245] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6245] close(3) = 0 [pid 6245] close(4) = 0 [pid 6245] mkdir("./file0", 0777) = 0 [pid 6245] mount("/dev/loop4", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6244] <... write resumed>) = 16777216 [ 94.348756][ T6245] loop4: detected capacity change from 0 to 32768 [pid 6244] munmap(0x7fb51f400000, 138412032 [pid 6247] <... write resumed>) = 16777216 [pid 6247] munmap(0x7fb51f400000, 138412032 [pid 6244] <... munmap resumed>) = 0 [pid 6244] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6244] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6244] close(3) = 0 [pid 6244] close(4) = 0 [pid 6244] mkdir("./file0", 0777 [pid 6247] <... munmap resumed>) = 0 [pid 6244] <... mkdir resumed>) = 0 [pid 6247] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6244] mount("/dev/loop3", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6247] <... openat resumed>) = 4 [pid 6247] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6247] close(3) = 0 [pid 6247] close(4) = 0 [pid 6247] mkdir("./file0", 0777) = 0 [ 94.432191][ T6244] loop3: detected capacity change from 0 to 32768 [ 94.460617][ T6247] loop2: detected capacity change from 0 to 32768 [ 94.536112][ T6241] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 94.536362][ T6246] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,erasure_code,degraded,no_splitbrain_check,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,nocow [ 94.550548][ T6241] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 94.577877][ T6246] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 94.587308][ T6246] bcachefs (loop0): Version upgrade required: [ 94.587308][ T6246] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 94.587308][ T6246] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 94.587308][ T6246] 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.660520][ T6246] bcachefs (loop0): dropping and reconstructing all alloc info [ 94.679507][ T6246] bcachefs (loop0): check_topology... done [ 94.686464][ T6246] bcachefs (loop0): accounting_read... [ 94.697834][ T6245] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 94.714395][ T6246] done [ 94.718679][ T6246] bcachefs (loop0): alloc_read... done [ 94.722168][ T6245] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 94.724358][ T6246] bcachefs (loop0): stripes_read... done [ 94.738319][ T6244] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 94.741039][ T6246] bcachefs (loop0): snapshots_read... [ 94.767274][ T6244] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 94.782997][ T6246] done [ 94.800941][ T6246] bcachefs (loop0): check_allocations... [ 94.811892][ T6247] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 94.876271][ T6246] done [ 94.898633][ T6247] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 94.902127][ T6246] bcachefs (loop0): going read-write [pid 6247] mount("/dev/loop2", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6246] <... mount resumed>) = 0 [pid 6246] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6244] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6246] chdir("./file0") = 0 [pid 6244] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5836] <... umount2 resumed>) = 0 [pid 6246] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6244] <... openat resumed>) = 3 [pid 6246] <... openat resumed>) = 4 [pid 6244] ioctl(3, LOOP_CLR_FD [pid 6246] ioctl(4, LOOP_CLR_FD [pid 6244] <... ioctl resumed>) = 0 [pid 6246] <... ioctl resumed>) = 0 [pid 6246] close(4 [pid 6244] close(3 [pid 5836] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6246] <... close resumed>) = 0 [pid 6246] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5836] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5836] newfstatat(AT_FDCWD, "./6/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 94.943099][ T6246] bcachefs (loop0): done starting filesystem [ 94.971232][ T6244] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5836] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5836] openat(AT_FDCWD, "./6/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5836] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6246] <... openat resumed>) = 4 [pid 5836] getdents64(4, 0x55556b966730 /* 2 entries */, 32768) = 48 [pid 6246] exit_group(0 [pid 5836] getdents64(4, 0x55556b966730 /* 0 entries */, 32768) = 0 [pid 6245] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6246] <... exit_group resumed>) = ? [pid 6241] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5836] close(4 [pid 6245] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5836] <... close resumed>) = 0 [pid 6245] ioctl(3, LOOP_CLR_FD) = 0 [pid 6245] close(3 [pid 6246] +++ exited with 0 +++ [ 95.035246][ T6245] bcachefs: bch2_fs_get_tree() error: EINVAL [ 95.053337][ T6241] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6241] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5836] rmdir("./6/file0" [pid 6241] <... openat resumed>) = 3 [pid 6241] ioctl(3, LOOP_CLR_FD [pid 5836] <... rmdir resumed>) = 0 [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6246, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=36 /* 0.36 s */} --- [pid 6241] <... ioctl resumed>) = 0 [pid 5836] getdents64(3, [pid 5835] restart_syscall(<... resuming interrupted clone ...> [pid 6241] close(3 [pid 5835] <... restart_syscall resumed>) = 0 [pid 5836] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5835] umount2("./9", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5836] close(3) = 0 [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5836] rmdir("./6") = 0 [pid 5835] <... openat resumed>) = 3 [pid 5836] mkdir("./7", 0777 [pid 5835] newfstatat(3, "", [pid 5836] <... mkdir resumed>) = 0 [pid 5835] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5836] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5835] getdents64(3, [pid 5836] <... openat resumed>) = 3 [pid 5835] <... getdents64 resumed>0x55556b95e6f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./9/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5836] ioctl(3, LOOP_CLR_FD [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5836] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5835] newfstatat(AT_FDCWD, "./9/binderfs", [pid 5836] close(3 [pid 5835] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5836] <... close resumed>) = 0 [pid 5835] unlink("./9/binderfs" [pid 5836] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5835] <... unlink resumed>) = 0 [pid 5835] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 6286 attached [pid 5836] <... clone resumed>, child_tidptr=0x55556b95d650) = 6286 [pid 6286] set_robust_list(0x55556b95d660, 24) = 0 [pid 6286] chdir("./7") = 0 [pid 6286] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6286] setpgid(0, 0) = 0 [pid 6286] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6286] write(3, "1000", 4executing program ) = 4 [pid 6286] close(3) = 0 [pid 6286] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6286] write(1, "executing program\n", 18) = 18 [pid 6286] memfd_create("syzkaller", 0 [pid 6247] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6286] <... memfd_create resumed>) = 3 [pid 6247] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 6247] ioctl(3, LOOP_CLR_FD) = 0 [ 95.183800][ T6247] bcachefs: bch2_fs_get_tree() error: EINVAL [ 95.208912][ T5835] bcachefs (loop0): shutting down [ 95.218845][ T5835] bcachefs (loop0): going read-only [pid 6247] close(3 [pid 6286] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb51f400000 [ 95.261008][ T5835] bcachefs (loop0): finished waiting for writes to stop [pid 6241] <... close resumed>) = 0 [pid 6241] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 3 [pid 6241] exit_group(0) = ? [pid 6245] <... close resumed>) = 0 [pid 6241] +++ exited with 0 +++ [pid 5840] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6241, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=48 /* 0.48 s */} --- [pid 5840] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5840] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] getdents64(3, 0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5840] umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./5/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] unlink("./5/binderfs") = 0 [pid 5840] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./5/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./5/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5840] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] getdents64(4, 0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5840] getdents64(4, 0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5840] close(4) = 0 [pid 5840] rmdir("./5/file0") = 0 [pid 5840] umount2("./5/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./5/cgroup.controllers", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] unlink("./5/cgroup.controllers") = 0 [pid 5840] getdents64(3, 0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5840] close(3) = 0 [pid 5840] rmdir("./5") = 0 [pid 6245] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [ 95.341855][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 12 [pid 5840] mkdir("./6", 0777 [pid 6245] <... openat resumed>) = 3 [pid 6244] <... close resumed>) = 0 [pid 5840] <... mkdir resumed>) = 0 [pid 6244] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 6245] exit_group(0 [pid 6244] <... openat resumed>) = 3 [pid 5840] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 6244] exit_group(0 [pid 6245] <... exit_group resumed>) = ? [pid 5840] ioctl(3, LOOP_CLR_FD [pid 6245] +++ exited with 0 +++ [pid 6244] <... exit_group resumed>) = ? [pid 5840] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6244] +++ exited with 0 +++ [pid 5839] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6245, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=47 /* 0.47 s */} --- [pid 5838] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6244, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=47 /* 0.47 s */} --- [pid 5840] close(3 [pid 5839] umount2("./8", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] <... close resumed>) = 0 [pid 5839] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5839] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5840] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5839] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5839] getdents64(3, 0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5839] umount2("./8/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5839] newfstatat(AT_FDCWD, "./8/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] <... clone resumed>, child_tidptr=0x55556b95d650) = 6287 [pid 5839] unlink("./8/binderfs"./strace-static-x86_64: Process 6287 attached ) = 0 [pid 5839] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5839] newfstatat(AT_FDCWD, "./8/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5839] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6287] set_robust_list(0x55556b95d660, 24 [pid 5839] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6287] <... set_robust_list resumed>) = 0 [pid 5839] openat(AT_FDCWD, "./8/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6287] chdir("./6" [pid 5839] <... openat resumed>) = 4 [pid 6287] <... chdir resumed>) = 0 [pid 5839] newfstatat(4, "", [pid 6287] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5839] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6287] <... prctl resumed>) = 0 [pid 5839] getdents64(4, executing program [pid 6287] setpgid(0, 0 [pid 5839] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 6287] <... setpgid resumed>) = 0 [pid 5839] getdents64(4, [pid 6287] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5839] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 6287] <... openat resumed>) = 3 [pid 5839] close(4 [pid 6287] write(3, "1000", 4 [pid 5839] <... close resumed>) = 0 [pid 6287] <... write resumed>) = 4 [pid 5839] rmdir("./8/file0" [pid 6287] close(3 [pid 5839] <... rmdir resumed>) = 0 [pid 6287] <... close resumed>) = 0 [pid 5839] umount2("./8/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6287] symlink("/dev/binderfs", "./binderfs" [pid 5839] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6287] <... symlink resumed>) = 0 [pid 5839] newfstatat(AT_FDCWD, "./8/cgroup.controllers", [pid 6287] write(1, "executing program\n", 18 [pid 5839] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6287] <... write resumed>) = 18 [pid 5839] unlink("./8/cgroup.controllers") = 0 [pid 5839] getdents64(3, [pid 6287] memfd_create("syzkaller", 0 [pid 5839] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5839] close(3 [pid 6287] <... memfd_create resumed>) = 3 [pid 5839] <... close resumed>) = 0 [pid 6287] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5839] rmdir("./8" [pid 6287] <... mmap resumed>) = 0x7fb51f400000 [pid 5839] <... rmdir resumed>) = 0 [ 95.418367][ T53] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 54) [pid 5838] umount2("./8", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5839] mkdir("./9", 0777 [pid 5838] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5839] <... mkdir resumed>) = 0 [pid 5838] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5839] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5838] <... openat resumed>) = 3 [pid 5839] <... openat resumed>) = 3 [pid 5838] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5838] getdents64(3, [pid 5839] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5839] close(3 [pid 5838] <... getdents64 resumed>0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5839] <... close resumed>) = 0 [pid 5839] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5838] umount2("./8/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5839] <... clone resumed>, child_tidptr=0x55556b95d650) = 6288 [pid 5838] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5838] newfstatat(AT_FDCWD, "./8/binderfs", ./strace-static-x86_64: Process 6288 attached {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5838] unlink("./8/binderfs" [pid 6288] set_robust_list(0x55556b95d660, 24) = 0 [pid 5838] <... unlink resumed>) = 0 [pid 6288] chdir("./9" [pid 5838] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6288] <... chdir resumed>) = 0 [pid 5838] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6288] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5838] newfstatat(AT_FDCWD, "./8/file0", [pid 6288] <... prctl resumed>) = 0 [pid 6288] setpgid(0, 0 [pid 5838] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6288] <... setpgid resumed>) = 0 [pid 5838] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 6288] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5838] openat(AT_FDCWD, "./8/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 6288] <... openat resumed>) = 3 [pid 5838] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5838] getdents64(4, 0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5838] getdents64(4, [pid 6288] write(3, "1000", 4 [pid 5838] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [ 95.484128][ T53] bcachefs (loop0): fatal error - emergency read only [ 95.505023][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [pid 6288] <... write resumed>) = 4 [pid 5838] close(4 [pid 6288] close(3 [pid 5838] <... close resumed>) = 0 [pid 5838] rmdir("./8/file0" [pid 6288] <... close resumed>) = 0 [pid 6288] symlink("/dev/binderfs", "./binderfs" [pid 5838] <... rmdir resumed>) = 0 [pid 6288] <... symlink resumed>) = 0 [pid 5838] umount2("./8/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6288] write(1, "executing program\n", 18 executing program [pid 5838] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6288] <... write resumed>) = 18 [pid 5838] newfstatat(AT_FDCWD, "./8/cgroup.controllers", [pid 6288] memfd_create("syzkaller", 0 [pid 6247] <... close resumed>) = 0 [pid 5838] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5838] unlink("./8/cgroup.controllers") = 0 [pid 6288] <... memfd_create resumed>) = 3 [pid 5838] getdents64(3, [pid 6247] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5838] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 6247] <... openat resumed>) = 3 [pid 5838] close(3 [pid 6288] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5838] <... close resumed>) = 0 [pid 6288] <... mmap resumed>) = 0x7fb51f400000 [pid 5838] rmdir("./8") = 0 [pid 6247] exit_group(0) = ? [ 95.545169][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 95.562069][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [pid 5838] mkdir("./9", 0777 [pid 6247] +++ exited with 0 +++ [pid 5837] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6247, si_uid=0, si_status=0, si_utime=0, si_stime=55 /* 0.55 s */} --- [pid 5838] <... mkdir resumed>) = 0 [pid 5837] umount2("./9", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5837] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5837] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5837] getdents64(3, 0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5837] umount2("./9/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5837] newfstatat(AT_FDCWD, "./9/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5837] unlink("./9/binderfs") = 0 [pid 5837] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5837] newfstatat(AT_FDCWD, "./9/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5837] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5837] openat(AT_FDCWD, "./9/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5837] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5837] getdents64(4, [pid 6286] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5837] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5838] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5837] getdents64(4, 0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5837] close(4) = 0 [pid 5837] rmdir("./9/file0" [pid 5838] <... openat resumed>) = 3 [pid 5837] <... rmdir resumed>) = 0 [pid 5838] ioctl(3, LOOP_CLR_FD [pid 5837] umount2("./9/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5838] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5837] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5838] close(3 [pid 5837] newfstatat(AT_FDCWD, "./9/cgroup.controllers", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5837] unlink("./9/cgroup.controllers") = 0 [pid 5837] getdents64(3, 0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5837] close(3) = 0 [pid 5837] rmdir("./9") = 0 [pid 5837] mkdir("./10", 0777 [pid 5838] <... close resumed>) = 0 [pid 5837] <... mkdir resumed>) = 0 [pid 5838] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5837] openat(AT_FDCWD, "/dev/loop2", O_RDWR./strace-static-x86_64: Process 6289 attached ) = 3 [pid 5837] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5837] close(3) = 0 [pid 5837] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6289] set_robust_list(0x55556b95d660, 24 [pid 5838] <... clone resumed>, child_tidptr=0x55556b95d650) = 6289 [pid 6289] <... set_robust_list resumed>) = 0 [pid 5837] <... clone resumed>, child_tidptr=0x55556b95d650) = 6290 ./strace-static-x86_64: Process 6290 attached [pid 6289] chdir("./9" [pid 6290] set_robust_list(0x55556b95d660, 24 [pid 6289] <... chdir resumed>) = 0 [pid 6289] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6289] setpgid(0, 0 [pid 6290] <... set_robust_list resumed>) = 0 [pid 6290] chdir("./10" [pid 6289] <... setpgid resumed>) = 0 [pid 6290] <... chdir resumed>) = 0 [pid 6289] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6290] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6289] <... openat resumed>) = 3 [pid 6290] setpgid(0, 0 [pid 6289] write(3, "1000", 4 [pid 6290] <... setpgid resumed>) = 0 [pid 6289] <... write resumed>) = 4 [pid 6290] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6289] close(3) = 0 [pid 6289] symlink("/dev/binderfs", "./binderfs" [pid 6290] <... openat resumed>) = 3 [pid 6290] write(3, "1000", 4 [pid 6289] <... symlink resumed>) = 0 [pid 6290] <... write resumed>) = 4 [pid 6290] close(3 [ 95.630402][ T5835] bcachefs (loop0): shutdown complete [pid 6289] write(1, "executing program\n", 18executing program ) = 18 [pid 6290] <... close resumed>) = 0 [pid 6289] memfd_create("syzkaller", 0 [pid 6290] symlink("/dev/binderfs", "./binderfs" [pid 6289] <... memfd_create resumed>) = 3 [pid 6289] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6290] <... symlink resumed>) = 0 executing program [pid 6289] <... mmap resumed>) = 0x7fb51f400000 [pid 6290] write(1, "executing program\n", 18) = 18 [pid 6290] memfd_create("syzkaller", 0) = 3 [pid 6290] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb51f400000 [pid 6287] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6288] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6290] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6289] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6286] <... write resumed>) = 16777216 [pid 6286] munmap(0x7fb51f400000, 138412032) = 0 [pid 6286] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6286] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6286] close(3) = 0 [pid 6286] close(4) = 0 [pid 6286] mkdir("./file0", 0777) = 0 [ 96.115332][ T6286] loop1: detected capacity change from 0 to 32768 [pid 6286] mount("/dev/loop1", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6287] <... write resumed>) = 16777216 [pid 6287] munmap(0x7fb51f400000, 138412032 [pid 6288] <... write resumed>) = 16777216 [pid 6287] <... munmap resumed>) = 0 [pid 6288] munmap(0x7fb51f400000, 138412032 [pid 6287] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 6287] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6287] close(3 [pid 6288] <... munmap resumed>) = 0 [pid 6287] <... close resumed>) = 0 [pid 6288] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6287] close(4 [pid 6288] <... openat resumed>) = 4 [pid 6287] <... close resumed>) = 0 [pid 6288] ioctl(4, LOOP_SET_FD, 3 [pid 6287] mkdir("./file0", 0777) = 0 [pid 6287] mount("/dev/loop5", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6288] <... ioctl resumed>) = 0 [pid 6288] close(3) = 0 [pid 6288] close(4) = 0 [pid 6288] mkdir("./file0", 0777) = 0 [ 96.295854][ T6287] loop5: detected capacity change from 0 to 32768 [ 96.320050][ T6288] loop4: detected capacity change from 0 to 32768 [pid 6288] mount("/dev/loop4", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6290] <... write resumed>) = 16777216 [pid 6289] <... write resumed>) = 16777216 [pid 6290] munmap(0x7fb51f400000, 138412032 [pid 6289] munmap(0x7fb51f400000, 138412032) = 0 [pid 6289] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6289] ioctl(4, LOOP_SET_FD, 3 [pid 6290] <... munmap resumed>) = 0 [pid 6289] <... ioctl resumed>) = 0 [pid 6290] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6289] close(3 [pid 6290] <... openat resumed>) = 4 [pid 6289] <... close resumed>) = 0 [pid 6290] ioctl(4, LOOP_SET_FD, 3 [pid 6289] close(4) = 0 [pid 6289] mkdir("./file0", 0777 [pid 6290] <... ioctl resumed>) = 0 [pid 6289] <... mkdir resumed>) = 0 [pid 6289] mount("/dev/loop3", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6290] close(3) = 0 [pid 6290] close(4) = 0 [pid 6290] mkdir("./file0", 0777) = 0 [ 96.444174][ T6289] loop3: detected capacity change from 0 to 32768 [ 96.454349][ T6290] loop2: detected capacity change from 0 to 32768 [ 96.633714][ T6288] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 96.635500][ T6289] bcachefs (loop3): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,erasure_code,degraded,no_splitbrain_check,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,nocow [ 96.665292][ T6288] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 96.667568][ T6286] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 96.674691][ T6289] bcachefs (loop3): recovering from clean shutdown, journal seq 10 [ 96.691239][ T6286] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 96.691444][ T6287] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 96.709270][ T6289] bcachefs (loop3): Version upgrade required: [ 96.709270][ T6289] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 96.709270][ T6289] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 96.709270][ T6289] 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.741545][ T6290] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 96.781872][ T6289] bcachefs (loop3): dropping and reconstructing all alloc info [ 96.806254][ T6289] bcachefs (loop3): check_topology... done [ 96.812515][ T6289] bcachefs (loop3): accounting_read... [ 96.812747][ T6290] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 96.821219][ T6287] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 96.865420][ T6289] done [ 96.868270][ T6289] bcachefs (loop3): alloc_read... done [ 96.915041][ T6289] bcachefs (loop3): stripes_read... done [ 96.941484][ T6289] bcachefs (loop3): snapshots_read... done [ 96.947766][ T6289] bcachefs (loop3): check_allocations... [ 96.956725][ T6288] bcachefs: bch2_fs_get_tree() error: EINVAL [ 96.979817][ T6286] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6290] mount("/dev/loop2", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6288] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6286] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6288] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 6288] ioctl(3, LOOP_CLR_FD) = 0 [pid 6290] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6288] close(3 [pid 6287] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6286] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 6286] ioctl(3, LOOP_CLR_FD) = 0 [pid 6290] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6287] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6286] close(3 [pid 6290] <... openat resumed>) = 3 [ 97.023989][ T6287] bcachefs: bch2_fs_get_tree() error: EINVAL [ 97.024583][ T6290] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6290] ioctl(3, LOOP_CLR_FD [pid 6287] <... openat resumed>) = 3 [pid 6290] <... ioctl resumed>) = 0 [pid 6287] ioctl(3, LOOP_CLR_FD [pid 6290] close(3 [pid 6287] <... ioctl resumed>) = 0 [ 97.136337][ T6289] done [ 97.240488][ T6289] bcachefs (loop3): going read-write [pid 6287] close(3 [pid 5835] <... umount2 resumed>) = 0 [pid 5835] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./9/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./9/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./9/file0") = 0 [pid 5835] getdents64(3, 0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./9") = 0 [pid 5835] mkdir("./10", 0777 [pid 6289] <... mount resumed>) = 0 [pid 5835] <... mkdir resumed>) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6329 attached [pid 6289] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 5835] <... clone resumed>, child_tidptr=0x55556b95d650) = 6329 [pid 6289] <... openat resumed>) = 3 [pid 6289] chdir("./file0" [pid 6329] set_robust_list(0x55556b95d660, 24 [pid 6289] <... chdir resumed>) = 0 [pid 6329] <... set_robust_list resumed>) = 0 [pid 6329] chdir("./10") = 0 [pid 6329] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6329] setpgid(0, 0) = 0 [ 97.340945][ T6289] bcachefs (loop3): done starting filesystem [pid 6329] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6289] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6329] <... openat resumed>) = 3 [pid 6329] write(3, "1000", 4) = 4 [pid 6329] close(3) = 0 [pid 6329] symlink("/dev/binderfs", "./binderfs" [pid 6289] <... openat resumed>) = 4 [pid 6329] <... symlink resumed>) = 0 [pid 6289] ioctl(4, LOOP_CLR_FD) = 0 [pid 6289] close(4 [pid 6329] write(1, "executing program\n", 18 [pid 6289] <... close resumed>) = 0 executing program [pid 6329] <... write resumed>) = 18 [pid 6329] memfd_create("syzkaller", 0 [pid 6289] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 6329] <... memfd_create resumed>) = 3 [pid 6329] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6289] <... openat resumed>) = 4 [pid 6289] exit_group(0 [pid 6329] <... mmap resumed>) = 0x7fb51f400000 [pid 6289] <... exit_group resumed>) = ? [pid 6289] +++ exited with 0 +++ [pid 5838] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6289, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=39 /* 0.39 s */} --- [pid 5838] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5838] umount2("./9", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5838] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5838] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5838] getdents64(3, 0x55556b95e6f0 /* 4 entries */, 32768) = 112 [pid 5838] umount2("./9/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5838] newfstatat(AT_FDCWD, "./9/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5838] unlink("./9/binderfs") = 0 [pid 5838] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6288] <... close resumed>) = 0 [pid 6288] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 6286] <... close resumed>) = 0 [pid 6290] <... close resumed>) = 0 [pid 6287] <... close resumed>) = 0 [pid 6286] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 6287] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 3 [pid 6286] <... openat resumed>) = 3 [pid 6287] exit_group(0 [pid 6286] exit_group(0 [pid 6287] <... exit_group resumed>) = ? [pid 6290] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 6288] <... openat resumed>) = 3 [pid 6287] +++ exited with 0 +++ [pid 6286] <... exit_group resumed>) = ? [pid 5840] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6287, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=52 /* 0.52 s */} --- [pid 5840] restart_syscall(<... resuming interrupted clone ...> [pid 6290] <... openat resumed>) = 3 [pid 6288] exit_group(0 [pid 6286] +++ exited with 0 +++ [pid 5840] <... restart_syscall resumed>) = 0 [pid 6288] <... exit_group resumed>) = ? [pid 5836] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6286, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=46 /* 0.46 s */} --- [pid 5840] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 97.490755][ T5838] bcachefs (loop3): shutting down [ 97.501805][ T5838] bcachefs (loop3): going read-only [ 97.512793][ T5838] bcachefs (loop3): finished waiting for writes to stop [pid 5840] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5836] umount2("./7", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5836] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] getdents64(3, 0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5836] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5840] umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./6/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] unlink("./6/binderfs") = 0 [pid 5840] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./6/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./6/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5840] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] getdents64(4, 0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5840] getdents64(4, 0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5840] close(4) = 0 [pid 5840] rmdir("./6/file0") = 0 [pid 5840] umount2("./6/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./6/cgroup.controllers", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] unlink("./6/cgroup.controllers") = 0 [pid 5840] getdents64(3, 0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5840] close(3) = 0 [pid 5840] rmdir("./6") = 0 [pid 5836] <... openat resumed>) = 3 [pid 5836] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5836] getdents64(3, [pid 5840] mkdir("./7", 0777 [pid 6290] exit_group(0 [pid 6288] +++ exited with 0 +++ [pid 5840] <... mkdir resumed>) = 0 [pid 5836] <... getdents64 resumed>0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5840] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5839] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6288, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=43 /* 0.43 s */} --- [pid 5836] umount2("./7/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6290] <... exit_group resumed>) = ? [pid 5839] restart_syscall(<... resuming interrupted clone ...> [pid 5836] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6290] +++ exited with 0 +++ [pid 5839] <... restart_syscall resumed>) = 0 [pid 5836] newfstatat(AT_FDCWD, "./7/binderfs", [pid 5837] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6290, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=46 /* 0.46 s */} --- [pid 5836] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] <... openat resumed>) = 3 [pid 5836] unlink("./7/binderfs" [pid 5840] ioctl(3, LOOP_CLR_FD [pid 5839] umount2("./9", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5839] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5836] <... unlink resumed>) = 0 [pid 5840] close(3 [pid 5839] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5837] umount2("./10", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5836] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5839] <... openat resumed>) = 3 [pid 5837] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] <... close resumed>) = 0 [pid 5837] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5839] newfstatat(3, "", [pid 5836] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5837] <... openat resumed>) = 3 [pid 5837] newfstatat(3, "", [pid 5836] newfstatat(AT_FDCWD, "./7/file0", [pid 5839] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5837] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5839] getdents64(3, [pid 5837] getdents64(3, [pid 5836] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5837] <... getdents64 resumed>0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5837] umount2("./10/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5837] newfstatat(AT_FDCWD, "./10/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5837] unlink("./10/binderfs") = 0 [pid 5837] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5837] newfstatat(AT_FDCWD, "./10/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5837] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5839] <... getdents64 resumed>0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5837] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5836] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5839] umount2("./9/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5837] openat(AT_FDCWD, "./10/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5839] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5837] <... openat resumed>) = 4 [pid 5836] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5839] newfstatat(AT_FDCWD, "./9/binderfs", [pid 5837] newfstatat(4, "", [pid 5836] openat(AT_FDCWD, "./7/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5839] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5837] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5839] unlink("./9/binderfs" [pid 5837] getdents64(4, [pid 5836] <... openat resumed>) = 4 [pid 5837] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5837] getdents64(4, [pid 5839] <... unlink resumed>) = 0 [pid 5837] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5836] newfstatat(4, "", [pid 5839] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5837] close(4 [pid 5839] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5837] <... close resumed>) = 0 [pid 5836] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5839] newfstatat(AT_FDCWD, "./9/file0", [pid 5837] rmdir("./10/file0" [pid 5839] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5837] <... rmdir resumed>) = 0 [pid 5836] getdents64(4, [pid 5839] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5837] umount2("./10/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5836] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5839] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5837] newfstatat(AT_FDCWD, "./10/cgroup.controllers", [pid 5836] getdents64(4, [pid 5840] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5839] openat(AT_FDCWD, "./9/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5837] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5836] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5837] unlink("./10/cgroup.controllers" [pid 5839] <... openat resumed>) = 4 [pid 5837] <... unlink resumed>) = 0 [pid 5836] close(4 [pid 5839] newfstatat(4, "", [pid 5837] getdents64(3, [pid 5836] <... close resumed>) = 0 [pid 5839] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5837] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5836] rmdir("./7/file0" [pid 5839] getdents64(4, [pid 5837] close(3) = 0 [ 97.544000][ T5838] bcachefs (loop3): flushing journal and stopping allocators, journal seq 12 [pid 5837] rmdir("./10"./strace-static-x86_64: Process 6330 attached [pid 5839] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5836] <... rmdir resumed>) = 0 [pid 5837] <... rmdir resumed>) = 0 [pid 5837] mkdir("./11", 0777) = 0 [pid 5837] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5839] getdents64(4, [pid 5837] <... openat resumed>) = 3 [pid 5836] umount2("./7/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] <... clone resumed>, child_tidptr=0x55556b95d650) = 6330 [pid 5839] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 6330] set_robust_list(0x55556b95d660, 24 [pid 5839] close(4 [pid 5836] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5837] ioctl(3, LOOP_CLR_FD [pid 5836] newfstatat(AT_FDCWD, "./7/cgroup.controllers", [pid 5839] <... close resumed>) = 0 [pid 5839] rmdir("./9/file0" [pid 5837] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5836] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5837] close(3) = 0 [pid 5837] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5836] unlink("./7/cgroup.controllers"./strace-static-x86_64: Process 6331 attached [pid 5839] <... rmdir resumed>) = 0 [pid 5836] <... unlink resumed>) = 0 [pid 6330] <... set_robust_list resumed>) = 0 [pid 5839] umount2("./9/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5836] getdents64(3, [pid 5837] <... clone resumed>, child_tidptr=0x55556b95d650) = 6331 [pid 6331] set_robust_list(0x55556b95d660, 24 [pid 5836] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5839] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5836] close(3 [pid 6331] <... set_robust_list resumed>) = 0 [pid 6331] chdir("./11" [pid 6330] chdir("./7" [pid 5839] newfstatat(AT_FDCWD, "./9/cgroup.controllers", [pid 5836] <... close resumed>) = 0 [pid 6331] <... chdir resumed>) = 0 [pid 6331] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6331] setpgid(0, 0) = 0 [pid 6331] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXECexecuting program ) = 3 [pid 6330] <... chdir resumed>) = 0 [pid 5839] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5836] rmdir("./7" [pid 6330] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5839] unlink("./9/cgroup.controllers" [pid 6331] write(3, "1000", 4 [pid 5839] <... unlink resumed>) = 0 [pid 5836] <... rmdir resumed>) = 0 [pid 5836] mkdir("./8", 0777 [pid 5839] getdents64(3, [pid 6331] <... write resumed>) = 4 [pid 6331] close(3) = 0 [pid 6331] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6331] write(1, "executing program\n", 18) = 18 [pid 6331] memfd_create("syzkaller", 0) = 3 [pid 6331] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb51f400000 [pid 5836] <... mkdir resumed>) = 0 [pid 5839] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 6330] <... prctl resumed>) = 0 [pid 5839] close(3 [pid 5836] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6330] setpgid(0, 0 [pid 5839] <... close resumed>) = 0 [pid 5836] <... openat resumed>) = 3 [pid 5839] rmdir("./9" [pid 6330] <... setpgid resumed>) = 0 [pid 5836] ioctl(3, LOOP_CLR_FD [pid 6330] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5839] <... rmdir resumed>) = 0 [pid 5836] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5839] mkdir("./10", 0777 [pid 6330] <... openat resumed>) = 3 [pid 5836] close(3 [pid 5839] <... mkdir resumed>) = 0 [pid 6330] write(3, "1000", 4 [pid 6329] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5839] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5836] <... close resumed>) = 0 [pid 6330] <... write resumed>) = 4 [pid 5839] <... openat resumed>) = 3 [pid 5836] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [ 97.618449][ T53] bcachefs (loop3): bch2_write_super(): fatal error loop3: Superblock write was silently dropped! (seq 0 expected 54) [pid 6330] close(3executing program ./strace-static-x86_64: Process 6332 attached ) = 0 [pid 5839] ioctl(3, LOOP_CLR_FD [pid 6330] symlink("/dev/binderfs", "./binderfs" [pid 5836] <... clone resumed>, child_tidptr=0x55556b95d650) = 6332 [pid 5839] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6330] <... symlink resumed>) = 0 [pid 5839] close(3 [pid 6330] write(1, "executing program\n", 18) = 18 [pid 5839] <... close resumed>) = 0 [pid 6332] set_robust_list(0x55556b95d660, 24) = 0 [pid 6332] chdir("./8" [pid 6330] memfd_create("syzkaller", 0 [pid 5839] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6333 attached [pid 6332] <... chdir resumed>) = 0 [pid 5839] <... clone resumed>, child_tidptr=0x55556b95d650) = 6333 [pid 6332] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6333] set_robust_list(0x55556b95d660, 24 [pid 6330] <... memfd_create resumed>) = 3 [pid 6333] <... set_robust_list resumed>) = 0 [pid 6330] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6333] chdir("./10" [pid 6330] <... mmap resumed>) = 0x7fb51f400000 [pid 6333] <... chdir resumed>) = 0 [pid 6332] setpgid(0, 0 [pid 6333] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6333] setpgid(0, 0) = 0 [pid 6332] <... setpgid resumed>) = 0 [pid 6333] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6332] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6332] write(3, "1000", 4) = 4 [pid 6332] close(3 [pid 6333] <... openat resumed>) = 3 [pid 6332] <... close resumed>) = 0 [pid 6332] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 6333] write(3, "1000", 4) = 4 [pid 6332] write(1, "executing program\n", 18) = 18 [pid 6332] memfd_create("syzkaller", 0) = 3 [pid 6332] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb51f400000 [pid 6333] close(3) = 0 [pid 6333] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 6333] write(1, "executing program\n", 18) = 18 [ 97.699334][ T53] bcachefs (loop3): fatal error - emergency read only [ 97.731977][ T5838] bcachefs (loop3): flushing journal and stopping allocators complete, journal seq 14 [pid 6333] memfd_create("syzkaller", 0) = 3 [pid 6333] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb51f400000 [ 97.763359][ T5838] bcachefs (loop3): unshutdown complete, journal seq 14 [ 97.777097][ T5838] bcachefs (loop3): done going read-only, filesystem not clean [ 97.884338][ T5838] bcachefs (loop3): shutdown complete [pid 6330] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6331] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6332] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6333] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6329] <... write resumed>) = 16777216 [pid 6329] munmap(0x7fb51f400000, 138412032) = 0 [pid 6329] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6329] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6329] close(3) = 0 [pid 6329] close(4) = 0 [pid 6329] mkdir("./file0", 0777) = 0 [ 98.280297][ T6329] loop0: detected capacity change from 0 to 32768 [pid 6329] mount("/dev/loop0", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6332] <... write resumed>) = 16777216 [pid 6332] munmap(0x7fb51f400000, 138412032 [pid 6330] <... write resumed>) = 16777216 [pid 6332] <... munmap resumed>) = 0 [pid 6331] <... write resumed>) = 16777216 [pid 6330] munmap(0x7fb51f400000, 138412032 [pid 6332] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6331] munmap(0x7fb51f400000, 138412032 [pid 6333] <... write resumed>) = 16777216 [pid 6332] <... openat resumed>) = 4 [pid 6332] ioctl(4, LOOP_SET_FD, 3 [pid 6333] munmap(0x7fb51f400000, 138412032 [pid 6330] <... munmap resumed>) = 0 [pid 6332] <... ioctl resumed>) = 0 [pid 6330] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6333] <... munmap resumed>) = 0 [pid 6332] close(3 [pid 6331] <... munmap resumed>) = 0 [pid 6330] <... openat resumed>) = 4 [pid 6333] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6332] <... close resumed>) = 0 [pid 6333] <... openat resumed>) = 4 [pid 6332] close(4 [pid 6331] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6330] ioctl(4, LOOP_SET_FD, 3 [pid 6333] ioctl(4, LOOP_SET_FD, 3 [pid 6331] <... openat resumed>) = 4 [pid 6332] <... close resumed>) = 0 [pid 6331] ioctl(4, LOOP_SET_FD, 3 [pid 6332] mkdir("./file0", 0777) = 0 [pid 6332] mount("/dev/loop1", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6333] <... ioctl resumed>) = 0 [pid 6333] close(3) = 0 [pid 6333] close(4) = 0 [pid 6333] mkdir("./file0", 0777) = 0 [pid 6333] mount("/dev/loop4", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6330] <... ioctl resumed>) = 0 [pid 6331] <... ioctl resumed>) = 0 [pid 6331] close(3) = 0 [pid 6331] close(4) = 0 [pid 6331] mkdir("./file0", 0777 [pid 6330] close(3 [pid 6331] <... mkdir resumed>) = 0 [pid 6330] <... close resumed>) = 0 [pid 6330] close(4) = 0 [pid 6330] mkdir("./file0", 0777) = 0 [pid 6330] mount("/dev/loop5", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [ 98.457025][ T6332] loop1: detected capacity change from 0 to 32768 [ 98.476918][ T6333] loop4: detected capacity change from 0 to 32768 [ 98.485276][ T6330] loop5: detected capacity change from 0 to 32768 [ 98.492347][ T6331] loop2: detected capacity change from 0 to 32768 [ 98.797727][ T6331] bcachefs (loop2): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,erasure_code,degraded,no_splitbrain_check,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,nocow [ 98.801532][ T6333] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 98.820779][ T6331] bcachefs (loop2): recovering from clean shutdown, journal seq 10 [ 98.841504][ T6331] bcachefs (loop2): Version upgrade required: [ 98.841504][ T6331] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 98.841504][ T6331] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 98.841504][ T6331] 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.860944][ T6332] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 98.923527][ T6331] bcachefs (loop2): dropping and reconstructing all alloc info [ 98.933170][ T6332] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 98.934950][ T6329] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 98.954565][ T6330] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 98.964322][ T6333] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 98.970270][ T6331] bcachefs (loop2): check_topology... done [ 98.978276][ T6329] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 98.985109][ T6331] bcachefs (loop2): accounting_read... [ 98.988264][ T6330] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 99.025630][ T6331] done [ 99.028453][ T6331] bcachefs (loop2): alloc_read... done [ 99.046302][ T6331] bcachefs (loop2): stripes_read... done [ 99.071457][ T6331] bcachefs (loop2): snapshots_read... done [ 99.080633][ T6331] bcachefs (loop2): check_allocations... done [ 99.114673][ T6331] bcachefs (loop2): going read-write [pid 6331] mount("/dev/loop2", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"...) = 0 [pid 6331] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6331] chdir("./file0") = 0 [pid 6331] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6331] ioctl(4, LOOP_CLR_FD) = 0 [pid 6331] close(4) = 0 [ 99.154736][ T6331] bcachefs (loop2): done starting filesystem [pid 6331] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 4 [pid 6331] exit_group(0) = ? [pid 6332] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6331] +++ exited with 0 +++ [pid 5837] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6331, si_uid=0, si_status=0, si_utime=0, si_stime=47 /* 0.47 s */} --- [pid 5837] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5837] umount2("./11", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5837] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5837] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5837] getdents64(3, 0x55556b95e6f0 /* 4 entries */, 32768) = 112 [pid 5837] umount2("./11/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5837] newfstatat(AT_FDCWD, "./11/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5837] unlink("./11/binderfs") = 0 [pid 5837] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6329] <... mount resumed>) = -1 EINVAL (Invalid argument) [ 99.198441][ T6332] bcachefs: bch2_fs_get_tree() error: EINVAL [ 99.229690][ T6329] bcachefs: bch2_fs_get_tree() error: EINVAL [ 99.241795][ T6333] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6332] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6333] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6333] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6332] <... openat resumed>) = 3 [pid 6333] <... openat resumed>) = 3 [pid 6333] ioctl(3, LOOP_CLR_FD [pid 6332] ioctl(3, LOOP_CLR_FD [pid 6333] <... ioctl resumed>) = 0 [pid 6332] <... ioctl resumed>) = 0 [pid 6329] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6333] close(3 [pid 6332] close(3 [pid 6329] <... openat resumed>) = 3 [pid 6329] ioctl(3, LOOP_CLR_FD) = 0 [pid 6330] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6329] close(3 [pid 5838] <... umount2 resumed>) = 0 [pid 6330] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5838] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5838] newfstatat(AT_FDCWD, "./9/file0", [pid 6330] <... openat resumed>) = 3 [ 99.266868][ T5837] bcachefs (loop2): shutting down [ 99.279447][ T5837] bcachefs (loop2): going read-only [ 99.293616][ T6330] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6330] ioctl(3, LOOP_CLR_FD [pid 5838] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6330] <... ioctl resumed>) = 0 [pid 5838] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6330] close(3 [pid 5838] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5838] openat(AT_FDCWD, "./9/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5838] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5838] getdents64(4, 0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5838] getdents64(4, 0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5838] close(4) = 0 [pid 5838] rmdir("./9/file0") = 0 [pid 5838] getdents64(3, 0x55556b95e6f0 /* 0 entries */, 32768) = 0 [ 99.308156][ T5837] bcachefs (loop2): finished waiting for writes to stop [pid 5838] close(3) = 0 [pid 5838] rmdir("./9") = 0 [pid 5838] mkdir("./10", 0777) = 0 [pid 5838] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5838] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [ 99.385280][ T5837] bcachefs (loop2): flushing journal and stopping allocators, journal seq 12 [pid 5838] close(3) = 0 [pid 5838] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6372 attached [pid 6372] set_robust_list(0x55556b95d660, 24) = 0 [pid 6372] chdir("./10") = 0 [pid 6372] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6372] setpgid(0, 0) = 0 [pid 6372] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6372] write(3, "1000", 4) = 4 [pid 6372] close(3 [pid 5838] <... clone resumed>, child_tidptr=0x55556b95d650) = 6372 [pid 6372] <... close resumed>) = 0 [pid 6372] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6372] write(1, "executing program\n", 18) = 18 [pid 6372] memfd_create("syzkaller", 0) = 3 [pid 6372] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb51f400000 [ 99.519834][ T1146] bcachefs (loop2): bch2_write_super(): fatal error loop2: Superblock write was silently dropped! (seq 0 expected 54) [pid 6332] <... close resumed>) = 0 [pid 6332] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 3 [pid 6332] exit_group(0) = ? [pid 6332] +++ exited with 0 +++ [pid 5836] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6332, si_uid=0, si_status=0, si_utime=0, si_stime=47 /* 0.47 s */} --- [pid 5836] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5836] umount2("./8", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5836] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5836] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5836] getdents64(3, 0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5836] umount2("./8/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5836] newfstatat(AT_FDCWD, "./8/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5836] unlink("./8/binderfs") = 0 [pid 5836] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5836] newfstatat(AT_FDCWD, "./8/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5836] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5836] openat(AT_FDCWD, "./8/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5836] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5836] getdents64(4, 0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5836] getdents64(4, 0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5836] close(4) = 0 [pid 5836] rmdir("./8/file0") = 0 [pid 5836] umount2("./8/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5836] newfstatat(AT_FDCWD, "./8/cgroup.controllers", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5836] unlink("./8/cgroup.controllers" [pid 6330] <... close resumed>) = 0 [pid 5836] <... unlink resumed>) = 0 [pid 5836] getdents64(3, 0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5836] close(3) = 0 [pid 5836] rmdir("./8") = 0 [pid 5836] mkdir("./9", 0777) = 0 [pid 5836] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6330] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5836] <... openat resumed>) = 3 [pid 5836] ioctl(3, LOOP_CLR_FD [pid 6330] <... openat resumed>) = 3 [pid 5836] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5836] close(3 [pid 6330] exit_group(0) = ? [pid 5836] <... close resumed>) = 0 [pid 6330] +++ exited with 0 +++ [pid 5840] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6330, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=49 /* 0.49 s */} --- [pid 5840] restart_syscall(<... resuming interrupted clone ...> [pid 5836] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55556b95d650) = 6373 ./strace-static-x86_64: Process 6373 attached [ 99.585017][ T1146] bcachefs (loop2): fatal error - emergency read only [ 99.624379][ T5837] bcachefs (loop2): flushing journal and stopping allocators complete, journal seq 14 [pid 6373] set_robust_list(0x55556b95d660, 24) = 0 [pid 5840] <... restart_syscall resumed>) = 0 [pid 5840] umount2("./7", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6373] chdir("./9") = 0 [pid 5840] <... openat resumed>) = 3 [pid 5840] newfstatat(3, "", [pid 6373] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6373] <... prctl resumed>) = 0 [pid 6373] setpgid(0, 0 [pid 5840] getdents64(3, [pid 6373] <... setpgid resumed>) = 0 [pid 5840] <... getdents64 resumed>0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5840] umount2("./7/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6373] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./7/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] unlink("./7/binderfs") = 0 [pid 6373] <... openat resumed>) = 3 [pid 5840] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6373] write(3, "1000", 4 [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6373] <... write resumed>) = 4 [pid 5840] newfstatat(AT_FDCWD, "./7/file0", [pid 6373] close(3 [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6373] <... close resumed>) = 0 [pid 5840] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6373] symlink("/dev/binderfs", "./binderfs" [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./7/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5840] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] getdents64(4, 0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5840] getdents64(4, 0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5840] close(4) = 0 [pid 5840] rmdir("./7/file0") = 0 [pid 5840] umount2("./7/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./7/cgroup.controllers", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 99.665461][ T5837] bcachefs (loop2): unshutdown complete, journal seq 14 executing program [pid 6373] <... symlink resumed>) = 0 [pid 5840] unlink("./7/cgroup.controllers" [pid 6373] write(1, "executing program\n", 18 [pid 5840] <... unlink resumed>) = 0 [pid 5840] getdents64(3, 0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5840] close(3) = 0 [pid 5840] rmdir("./7") = 0 [pid 5840] mkdir("./8", 0777) = 0 [pid 5840] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5840] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5840] close(3 [pid 6373] <... write resumed>) = 18 [pid 5840] <... close resumed>) = 0 [pid 5840] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6373] memfd_create("syzkaller", 0 [pid 5840] <... clone resumed>, child_tidptr=0x55556b95d650) = 6374 [pid 6373] <... memfd_create resumed>) = 3 ./strace-static-x86_64: Process 6374 attached [pid 6373] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6329] <... close resumed>) = 0 [pid 6373] <... mmap resumed>) = 0x7fb51f400000 [pid 6374] set_robust_list(0x55556b95d660, 24 [pid 6333] <... close resumed>) = 0 [pid 6329] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 6374] <... set_robust_list resumed>) = 0 [pid 6374] chdir("./8" [pid 6333] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 6329] <... openat resumed>) = 3 [pid 6374] <... chdir resumed>) = 0 [pid 6374] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6374] setpgid(0, 0 [pid 6333] <... openat resumed>) = 3 [ 99.712006][ T5837] bcachefs (loop2): done going read-only, filesystem not clean [pid 6329] exit_group(0 [pid 6333] exit_group(0 [pid 6329] <... exit_group resumed>) = ? [pid 6374] <... setpgid resumed>) = 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 [pid 6333] <... exit_group resumed>) = ? executing program [pid 6374] <... close resumed>) = 0 [pid 6374] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6374] write(1, "executing program\n", 18) = 18 [pid 6374] memfd_create("syzkaller", 0 [pid 6329] +++ exited with 0 +++ [pid 6374] <... memfd_create resumed>) = 3 [pid 6374] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6329, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=49 /* 0.49 s */} --- [pid 6374] <... mmap resumed>) = 0x7fb51f400000 [pid 5835] restart_syscall(<... resuming interrupted clone ...> [pid 6333] +++ exited with 0 +++ [pid 5835] <... restart_syscall resumed>) = 0 [pid 5839] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6333, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=46 /* 0.46 s */} --- [pid 5839] umount2("./10", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] umount2("./10", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5839] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5839] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5835] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5839] <... openat resumed>) = 3 [pid 5835] <... openat resumed>) = 3 [pid 5839] newfstatat(3, "", [pid 5835] newfstatat(3, "", [pid 5839] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5835] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5839] getdents64(3, 0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5835] getdents64(3, [pid 5839] umount2("./10/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] <... getdents64 resumed>0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5839] newfstatat(AT_FDCWD, "./10/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./10/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./10/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./10/binderfs") = 0 [pid 5839] unlink("./10/binderfs" [pid 5835] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5839] <... unlink resumed>) = 0 [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5839] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] newfstatat(AT_FDCWD, "./10/file0", [pid 5839] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5839] newfstatat(AT_FDCWD, "./10/file0", [pid 5835] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5839] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5839] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] openat(AT_FDCWD, "./10/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5839] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] <... openat resumed>) = 4 [pid 5839] openat(AT_FDCWD, "./10/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5835] newfstatat(4, "", [pid 5839] <... openat resumed>) = 4 [pid 5835] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5839] newfstatat(4, "", [pid 5835] getdents64(4, [pid 5839] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5835] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5839] getdents64(4, [pid 5835] getdents64(4, [pid 5839] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5835] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./10/file0" [pid 5839] getdents64(4, [pid 5835] <... rmdir resumed>) = 0 [pid 5839] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5839] close(4) = 0 [ 99.763901][ T5837] bcachefs (loop2): shutdown complete [pid 5835] umount2("./10/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5839] rmdir("./10/file0" [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5839] <... rmdir resumed>) = 0 [pid 5835] newfstatat(AT_FDCWD, "./10/cgroup.controllers", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./10/cgroup.controllers") = 0 [pid 5835] getdents64(3, 0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5839] umount2("./10/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] close(3 [pid 5839] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] <... close resumed>) = 0 [pid 5839] newfstatat(AT_FDCWD, "./10/cgroup.controllers", [pid 5835] rmdir("./10" [pid 5839] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] <... rmdir resumed>) = 0 [pid 5839] unlink("./10/cgroup.controllers" [pid 5835] mkdir("./11", 0777 [pid 5839] <... unlink resumed>) = 0 [pid 5835] <... mkdir resumed>) = 0 [pid 5839] getdents64(3, 0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5839] close(3) = 0 [pid 5839] rmdir("./10" [pid 5835] <... openat resumed>) = 3 [pid 5839] <... rmdir resumed>) = 0 [pid 5839] mkdir("./11", 0777 [pid 5835] ioctl(3, LOOP_CLR_FD [pid 5839] <... mkdir resumed>) = 0 [pid 5835] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5835] close(3 [pid 5839] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5835] <... close resumed>) = 0 [pid 5839] <... openat resumed>) = 3 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5839] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) ./strace-static-x86_64: Process 6375 attached [pid 5839] close(3 [pid 5835] <... clone resumed>, child_tidptr=0x55556b95d650) = 6375 [pid 5839] <... close resumed>) = 0 [pid 5839] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6376 attached [pid 6375] set_robust_list(0x55556b95d660, 24) = 0 [pid 5839] <... clone resumed>, child_tidptr=0x55556b95d650) = 6376 [pid 6375] chdir("./11") = 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 6376] set_robust_list(0x55556b95d660, 24) = 0 [pid 6375] write(3, "1000", 4 [pid 6376] chdir("./11" [pid 6375] <... write resumed>) = 4 executing program [pid 6376] <... chdir resumed>) = 0 [pid 6375] close(3) = 0 [pid 6375] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6375] write(1, "executing program\n", 18) = 18 [pid 6375] memfd_create("syzkaller", 0) = 3 [pid 6375] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb51f400000 [pid 6376] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6376] setpgid(0, 0) = 0 [pid 6376] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6376] write(3, "1000", 4 [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 [pid 6372] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6376] <... write resumed>) = 4 [pid 6376] close(3) = 0 [pid 6376] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 6376] write(1, "executing program\n", 18) = 18 [pid 6376] memfd_create("syzkaller", 0) = 3 [pid 6376] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb51f400000 [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 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 6376] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6373] munmap(0x7fb51f400000, 138412032 [pid 6372] <... write resumed>) = 16777216 [pid 6372] munmap(0x7fb51f400000, 138412032 [pid 6373] <... munmap resumed>) = 0 [pid 6372] <... munmap resumed>) = 0 [pid 6372] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6372] ioctl(4, LOOP_SET_FD, 3 [pid 6373] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6373] ioctl(4, LOOP_SET_FD, 3 [pid 6374] <... write resumed>) = 16777216 [pid 6374] munmap(0x7fb51f400000, 138412032 [pid 6372] <... ioctl resumed>) = 0 [pid 6372] close(3) = 0 [pid 6372] close(4) = 0 [pid 6372] mkdir("./file0", 0777) = 0 [pid 6373] <... ioctl resumed>) = 0 [pid 6373] close(3) = 0 [pid 6373] close(4 [pid 6372] mount("/dev/loop3", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6373] <... close resumed>) = 0 [pid 6373] mkdir("./file0", 0777) = 0 [pid 6373] mount("/dev/loop1", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6374] <... munmap resumed>) = 0 [pid 6374] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [ 100.468293][ T6372] loop3: detected capacity change from 0 to 32768 [ 100.468926][ T6373] loop1: detected capacity change from 0 to 32768 [pid 6374] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6374] close(3) = 0 [pid 6374] close(4) = 0 [pid 6374] mkdir("./file0", 0777) = 0 [ 100.519998][ T6374] loop5: detected capacity change from 0 to 32768 [pid 6374] mount("/dev/loop5", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6375] <... write resumed>) = 16777216 [pid 6375] munmap(0x7fb51f400000, 138412032) = 0 [pid 6375] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6376] <... write resumed>) = 16777216 [pid 6375] ioctl(4, LOOP_SET_FD, 3 [pid 6376] munmap(0x7fb51f400000, 138412032) = 0 [pid 6375] <... ioctl resumed>) = 0 [pid 6376] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6375] close(3) = 0 [pid 6376] <... openat resumed>) = 4 [pid 6375] close(4 [pid 6376] ioctl(4, LOOP_SET_FD, 3 [pid 6375] <... close resumed>) = 0 [pid 6375] mkdir("./file0", 0777 [pid 6376] <... ioctl resumed>) = 0 [pid 6375] <... mkdir resumed>) = 0 [pid 6375] mount("/dev/loop0", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6376] close(3) = 0 [pid 6376] close(4) = 0 [pid 6376] mkdir("./file0", 0777) = 0 [ 100.626642][ T6375] loop0: detected capacity change from 0 to 32768 [ 100.656195][ T6376] loop4: detected capacity change from 0 to 32768 [ 100.877157][ T6374] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 100.877412][ T6373] bcachefs (loop1): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,erasure_code,degraded,no_splitbrain_check,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,nocow [ 100.886440][ T6374] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 100.928380][ T6375] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 100.931474][ T6373] bcachefs (loop1): recovering from clean shutdown, journal seq 10 [ 100.941893][ T6375] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 100.961851][ T6373] bcachefs (loop1): Version upgrade required: [ 100.961851][ T6373] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 100.961851][ T6373] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 100.961851][ 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 [ 101.035222][ T6376] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 101.066787][ T6376] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 101.109136][ T6373] bcachefs (loop1): dropping and reconstructing all alloc info [ 101.130534][ T6372] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 101.161056][ T6372] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 101.185898][ T6374] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6376] mount("/dev/loop4", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6374] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6374] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 6374] ioctl(3, LOOP_CLR_FD [pid 6376] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6374] <... ioctl resumed>) = 0 [ 101.233931][ T6373] bcachefs (loop1): check_topology... done [ 101.247211][ T6376] bcachefs: bch2_fs_get_tree() error: EINVAL [ 101.268247][ T6373] bcachefs (loop1): accounting_read... [ 101.270063][ T6375] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6376] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6374] close(3 [pid 6376] <... openat resumed>) = 3 [pid 6375] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6375] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 6375] ioctl(3, LOOP_CLR_FD) = 0 [ 101.282412][ T6373] done [ 101.289641][ T6373] bcachefs (loop1): alloc_read... done [pid 6375] close(3 [pid 6376] ioctl(3, LOOP_CLR_FD) = 0 [ 101.325512][ T6373] bcachefs (loop1): stripes_read... done [ 101.350965][ T6373] bcachefs (loop1): snapshots_read... done [ 101.357379][ T6373] bcachefs (loop1): check_allocations... [ 101.401975][ T6372] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6376] close(3 [pid 6372] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6372] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 6372] ioctl(3, LOOP_CLR_FD) = 0 [pid 6372] close(3 [pid 5837] <... umount2 resumed>) = 0 [pid 5837] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5837] newfstatat(AT_FDCWD, "./11/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5837] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5837] openat(AT_FDCWD, "./11/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5837] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5837] getdents64(4, 0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5837] getdents64(4, 0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5837] close(4) = 0 [pid 5837] rmdir("./11/file0") = 0 [pid 5837] getdents64(3, 0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5837] close(3) = 0 [pid 5837] rmdir("./11") = 0 [pid 5837] mkdir("./12", 0777) = 0 [pid 5837] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5837] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5837] close(3) = 0 [pid 5837] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55556b95d650) = 6413 ./strace-static-x86_64: Process 6413 attached [pid 6413] set_robust_list(0x55556b95d660, 24) = 0 [pid 6413] chdir("./12") = 0 [pid 6413] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6413] setpgid(0, 0) = 0 [pid 6413] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6413] write(3, "1000", 4) = 4 [pid 6413] close(3) = 0 [pid 6413] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6413] write(1, "executing program\n", 18executing program [ 101.534328][ T6373] done ) = 18 [pid 6413] memfd_create("syzkaller", 0) = 3 [pid 6413] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb51f400000 [ 101.557892][ T6373] bcachefs (loop1): going read-write [pid 6373] <... mount resumed>) = 0 [pid 6373] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6373] chdir("./file0") = 0 [pid 6373] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6373] ioctl(4, LOOP_CLR_FD) = 0 [pid 6373] close(4) = 0 [ 101.611448][ T6373] bcachefs (loop1): done starting filesystem [pid 6373] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 4 [pid 6373] exit_group(0) = ? [pid 6376] <... close resumed>) = 0 [pid 6373] +++ exited with 0 +++ [pid 5836] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6373, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=35 /* 0.35 s */} --- [pid 6376] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5836] restart_syscall(<... resuming interrupted clone ...> [pid 6376] <... openat resumed>) = 3 [pid 5836] <... restart_syscall resumed>) = 0 [pid 5836] umount2("./9", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 6376] exit_group(0 [pid 5836] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5836] newfstatat(3, "", [pid 6376] <... exit_group resumed>) = ? [pid 5836] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5836] getdents64(3, 0x55556b95e6f0 /* 4 entries */, 32768) = 112 [pid 5836] umount2("./9/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6376] +++ exited with 0 +++ [pid 6375] <... close resumed>) = 0 [pid 5836] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5836] newfstatat(AT_FDCWD, "./9/binderfs", [pid 5839] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6376, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=51 /* 0.51 s */} --- [pid 5836] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5836] unlink("./9/binderfs" [pid 5839] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5836] <... unlink resumed>) = 0 [pid 6375] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5839] umount2("./11", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5836] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6375] <... openat resumed>) = 3 [pid 6375] exit_group(0) = ? [pid 6375] +++ exited with 0 +++ [pid 5839] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5839] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6375, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=47 /* 0.47 s */} --- [pid 5835] umount2("./11", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5839] newfstatat(3, "", [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6374] <... close resumed>) = 0 [pid 5839] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5835] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6374] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5839] getdents64(3, [pid 5835] <... openat resumed>) = 3 [pid 6374] <... openat resumed>) = 3 [pid 5839] <... getdents64 resumed>0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5835] newfstatat(3, "", [pid 6374] exit_group(0 [pid 5839] umount2("./11/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6374] <... exit_group resumed>) = ? [pid 5839] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] getdents64(3, [pid 5839] newfstatat(AT_FDCWD, "./11/binderfs", [pid 5835] <... getdents64 resumed>0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 6374] +++ exited with 0 +++ [pid 5839] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./11/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5839] unlink("./11/binderfs" [pid 5840] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6374, si_uid=0, si_status=0, si_utime=0, si_stime=56 /* 0.56 s */} --- [pid 5840] restart_syscall(<... resuming interrupted clone ...> [pid 5839] <... unlink resumed>) = 0 [pid 5839] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] newfstatat(AT_FDCWD, "./11/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5839] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] unlink("./11/binderfs" [pid 5840] <... restart_syscall resumed>) = 0 [pid 5840] umount2("./8", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5840] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] getdents64(3, 0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5840] umount2("./8/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./8/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] <... unlink resumed>) = 0 [pid 5839] newfstatat(AT_FDCWD, "./11/file0", [pid 5840] unlink("./8/binderfs" [pid 5839] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] <... unlink resumed>) = 0 [pid 5839] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] newfstatat(AT_FDCWD, "./11/file0", [pid 5839] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5839] openat(AT_FDCWD, "./11/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5835] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] newfstatat(AT_FDCWD, "./8/file0", [pid 5839] <... openat resumed>) = 4 [pid 5835] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5839] newfstatat(4, "", [pid 5835] openat(AT_FDCWD, "./11/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5839] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [ 101.742814][ T5836] bcachefs (loop1): shutting down [ 101.753145][ T5836] bcachefs (loop1): going read-only [ 101.758584][ T5836] bcachefs (loop1): finished waiting for writes to stop [pid 5840] openat(AT_FDCWD, "./8/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5835] <... openat resumed>) = 4 [pid 5840] <... openat resumed>) = 4 [pid 5840] newfstatat(4, "", [pid 5835] newfstatat(4, "", [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5839] getdents64(4, [pid 5840] getdents64(4, [pid 5835] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5839] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5840] getdents64(4, [pid 5835] getdents64(4, [pid 5839] getdents64(4, [pid 5840] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5840] close(4 [pid 5839] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5835] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5840] <... close resumed>) = 0 [pid 5839] close(4 [pid 5835] getdents64(4, [pid 5840] rmdir("./8/file0") = 0 [pid 5839] <... close resumed>) = 0 [pid 5835] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5840] umount2("./8/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5839] rmdir("./11/file0" [pid 5835] close(4 [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./8/cgroup.controllers", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5839] <... rmdir resumed>) = 0 [pid 5835] <... close resumed>) = 0 [pid 5840] unlink("./8/cgroup.controllers") = 0 [pid 5840] getdents64(3, 0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5839] umount2("./11/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] rmdir("./11/file0" [pid 5840] close(3) = 0 [pid 5840] rmdir("./8" [pid 5835] <... rmdir resumed>) = 0 [pid 5839] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] umount2("./11/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] <... rmdir resumed>) = 0 [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] mkdir("./9", 0777 [pid 5835] newfstatat(AT_FDCWD, "./11/cgroup.controllers", [pid 5840] <... mkdir resumed>) = 0 [pid 5835] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5835] unlink("./11/cgroup.controllers" [pid 5840] <... openat resumed>) = 3 [pid 5840] ioctl(3, LOOP_CLR_FD [pid 5835] <... unlink resumed>) = 0 [pid 5840] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5835] getdents64(3, [pid 5840] close(3) = 0 [pid 5840] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55556b95d650) = 6416 ./strace-static-x86_64: Process 6416 attached [pid 5839] newfstatat(AT_FDCWD, "./11/cgroup.controllers", [pid 5835] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 6416] set_robust_list(0x55556b95d660, 24) = 0 [pid 6416] chdir("./9") = 0 [pid 6416] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6416] setpgid(0, 0) = 0 [pid 6416] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5839] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] close(3 [pid 5839] unlink("./11/cgroup.controllers" [pid 5835] <... close resumed>) = 0 [pid 6372] <... close resumed>) = 0 [pid 5839] <... unlink resumed>) = 0 [pid 5835] rmdir("./11" [pid 6416] <... openat resumed>) = 3 [pid 6416] write(3, "1000", 4) = 4 [pid 6416] close(3) = 0 [pid 6416] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6416] write(1, "executing program\n", 18executing program ) = 18 [pid 6416] memfd_create("syzkaller", 0) = 3 [pid 6416] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5839] getdents64(3, [pid 5835] <... rmdir resumed>) = 0 [pid 6372] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5839] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 6372] <... openat resumed>) = 3 [pid 5839] close(3 [pid 5835] mkdir("./12", 0777 [pid 6416] <... mmap resumed>) = 0x7fb51f400000 [pid 6372] exit_group(0 [pid 5839] <... close resumed>) = 0 [pid 5835] <... mkdir resumed>) = 0 [pid 6372] <... exit_group resumed>) = ? [pid 5839] rmdir("./11" [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5839] <... rmdir resumed>) = 0 [pid 6372] +++ exited with 0 +++ [pid 5838] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6372, si_uid=0, si_status=0, si_utime=0, si_stime=45 /* 0.45 s */} --- [pid 5839] mkdir("./12", 0777 [pid 5838] restart_syscall(<... resuming interrupted clone ...> [pid 5835] <... openat resumed>) = 3 [pid 5839] <... mkdir resumed>) = 0 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5839] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5835] close(3 [pid 5839] <... openat resumed>) = 3 [pid 5839] ioctl(3, LOOP_CLR_FD [pid 5838] <... restart_syscall resumed>) = 0 [pid 5835] <... close resumed>) = 0 [pid 5839] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5838] umount2("./10", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5838] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5838] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5838] getdents64(3, 0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5838] umount2("./10/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5838] newfstatat(AT_FDCWD, "./10/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5838] unlink("./10/binderfs") = 0 [pid 5838] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5838] newfstatat(AT_FDCWD, "./10/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5838] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5838] openat(AT_FDCWD, "./10/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5838] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 ./strace-static-x86_64: Process 6417 attached [pid 5839] close(3 [pid 5838] getdents64(4, [pid 5839] <... close resumed>) = 0 [pid 5838] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5839] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5838] getdents64(4, [pid 5835] <... clone resumed>, child_tidptr=0x55556b95d650) = 6417 [pid 5838] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [ 101.830685][ T5836] bcachefs (loop1): flushing journal and stopping allocators, journal seq 12 [pid 5838] close(4./strace-static-x86_64: Process 6418 attached [pid 6417] set_robust_list(0x55556b95d660, 24 [pid 5838] <... close resumed>) = 0 [pid 5839] <... clone resumed>, child_tidptr=0x55556b95d650) = 6418 [pid 5838] rmdir("./10/file0" [pid 6418] set_robust_list(0x55556b95d660, 24 [pid 5838] <... rmdir resumed>) = 0 [pid 6418] <... set_robust_list resumed>) = 0 [pid 6418] chdir("./12" [pid 6417] <... set_robust_list resumed>) = 0 [pid 6417] chdir("./12" [pid 5838] umount2("./10/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5838] newfstatat(AT_FDCWD, "./10/cgroup.controllers", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6417] <... chdir resumed>) = 0 [pid 6417] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5838] unlink("./10/cgroup.controllers" [pid 6417] <... prctl resumed>) = 0 [pid 5838] <... unlink resumed>) = 0 [pid 6417] setpgid(0, 0) = 0 [pid 6417] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6418] <... chdir resumed>) = 0 [pid 5838] getdents64(3, 0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 6417] <... openat resumed>) = 3 [pid 5838] close(3 [pid 6418] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6413] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5838] <... close resumed>) = 0 [pid 6418] <... prctl resumed>) = 0 [pid 6417] write(3, "1000", 4 [pid 6418] setpgid(0, 0) = 0 [pid 6417] <... write resumed>) = 4 [pid 5838] rmdir("./10" [pid 6418] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6417] close(3 [pid 5838] <... rmdir resumed>) = 0 [pid 6417] <... close resumed>) = 0 [pid 5838] mkdir("./11", 0777 [pid 6418] <... openat resumed>) = 3 [pid 5838] <... mkdir resumed>) = 0 [pid 5838] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6418] write(3, "1000", 4 [pid 6417] symlink("/dev/binderfs", "./binderfs" [pid 6418] <... write resumed>) = 4 executing program [pid 6418] close(3 [pid 5838] <... openat resumed>) = 3 [pid 6418] <... close resumed>) = 0 [pid 6417] <... symlink resumed>) = 0 [pid 5838] ioctl(3, LOOP_CLR_FD [pid 6417] write(1, "executing program\n", 18 [pid 5838] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6417] <... write resumed>) = 18 [pid 5838] close(3 [pid 6417] memfd_create("syzkaller", 0 [pid 5838] <... close resumed>) = 0 [pid 5838] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6417] <... memfd_create resumed>) = 3 [pid 6417] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5838] <... clone resumed>, child_tidptr=0x55556b95d650) = 6419 [pid 6417] <... mmap resumed>) = 0x7fb51f400000 ./strace-static-x86_64: Process 6419 attached [pid 6418] symlink("/dev/binderfs", "./binderfs" [pid 6419] set_robust_list(0x55556b95d660, 24 [pid 6418] <... symlink resumed>) = 0 [pid 6419] <... set_robust_list resumed>) = 0 executing program [pid 6419] chdir("./11" [pid 6418] write(1, "executing program\n", 18 [pid 6419] <... chdir resumed>) = 0 [pid 6418] <... write resumed>) = 18 [pid 6418] memfd_create("syzkaller", 0 [pid 6419] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6418] <... memfd_create resumed>) = 3 [ 101.914654][ T5836] bcachefs (loop1): flushing journal and stopping allocators complete, journal seq 16 [pid 6419] setpgid(0, 0 [pid 6418] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6419] <... setpgid resumed>) = 0 [pid 6418] <... mmap resumed>) = 0x7fb51f400000 [pid 6419] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6419] write(3, "1000", 4) = 4 [pid 6419] close(3) = 0 [pid 6419] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6419] write(1, "executing program\n", 18executing program ) = 18 [pid 6419] memfd_create("syzkaller", 0) = 3 [pid 6419] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb51f400000 [ 101.962953][ T5836] bcachefs (loop1): unshutdown complete, journal seq 17 [ 102.002087][ T5836] bcachefs (loop1): done going read-only, filesystem not clean [pid 6416] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 [ 102.117605][ T5836] bcachefs (loop1): shutdown complete [pid 6417] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6418] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6419] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6413] <... write resumed>) = 16777216 [pid 6413] munmap(0x7fb51f400000, 138412032) = 0 [pid 6413] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6413] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6413] close(3) = 0 [pid 6413] close(4) = 0 [pid 6413] mkdir("./file0", 0777) = 0 [pid 6413] mount("/dev/loop2", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6416] <... write resumed>) = 16777216 [ 102.532688][ T6413] loop2: detected capacity change from 0 to 32768 [pid 6416] munmap(0x7fb51f400000, 138412032 [pid 6417] <... write resumed>) = 16777216 [pid 6417] munmap(0x7fb51f400000, 138412032 [pid 6416] <... munmap resumed>) = 0 [pid 6416] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 6416] ioctl(4, LOOP_SET_FD, 3 [pid 6417] <... munmap resumed>) = 0 [pid 6416] <... ioctl resumed>) = 0 [pid 6416] close(3 [pid 6417] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6416] <... close resumed>) = 0 [pid 6416] close(4 [pid 6417] <... openat resumed>) = 4 [pid 6417] ioctl(4, LOOP_SET_FD, 3 [pid 6416] <... close resumed>) = 0 [ 102.622987][ T6416] loop5: detected capacity change from 0 to 32768 [pid 6416] mkdir("./file0", 0777 [pid 6417] <... ioctl resumed>) = 0 [pid 6416] <... mkdir resumed>) = 0 [pid 6416] mount("/dev/loop5", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6417] close(3) = 0 [pid 6417] close(4) = 0 [pid 6417] mkdir("./file0", 0777) = 0 [pid 6418] <... write resumed>) = 16777216 [pid 6417] mount("/dev/loop0", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [ 102.664073][ T6417] loop0: detected capacity change from 0 to 32768 [pid 6418] munmap(0x7fb51f400000, 138412032) = 0 [pid 6418] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6418] ioctl(4, LOOP_SET_FD, 3 [pid 6419] <... write resumed>) = 16777216 [pid 6418] <... ioctl resumed>) = 0 [pid 6419] munmap(0x7fb51f400000, 138412032 [pid 6418] close(3) = 0 [pid 6418] close(4 [pid 6419] <... munmap resumed>) = 0 [pid 6419] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6418] <... close resumed>) = 0 [pid 6419] <... openat resumed>) = 4 [ 102.731530][ T6418] loop4: detected capacity change from 0 to 32768 [pid 6419] ioctl(4, LOOP_SET_FD, 3 [pid 6418] mkdir("./file0", 0777 [pid 6419] <... ioctl resumed>) = 0 [pid 6418] <... mkdir resumed>) = 0 [pid 6419] close(3 [pid 6418] mount("/dev/loop4", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6419] <... close resumed>) = 0 [pid 6419] close(4) = 0 [pid 6419] mkdir("./file0", 0777) = 0 [ 102.782017][ T6419] loop3: detected capacity change from 0 to 32768 [ 102.956465][ T6413] bcachefs (loop2): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,erasure_code,degraded,no_splitbrain_check,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,nocow [ 102.957231][ T6417] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 102.978923][ T6413] bcachefs (loop2): recovering from clean shutdown, journal seq 10 [ 102.996916][ T6413] bcachefs (loop2): Version upgrade required: [ 102.996916][ T6413] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 102.996916][ T6413] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 102.996916][ T6413] 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 [ 103.030991][ T6417] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 103.068191][ T6416] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 103.087275][ T6416] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 103.105870][ T6418] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 103.119846][ T6413] bcachefs (loop2): dropping and reconstructing all alloc info [ 103.127705][ T6418] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 103.171840][ T6413] bcachefs (loop2): check_topology... done [ 103.177757][ T6413] bcachefs (loop2): accounting_read... [ 103.180517][ T6419] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 103.195882][ T6419] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 103.215793][ T6413] done [pid 6419] mount("/dev/loop3", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6416] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6416] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [ 103.218603][ T6413] bcachefs (loop2): alloc_read... done [ 103.228217][ T6416] bcachefs: bch2_fs_get_tree() error: EINVAL [ 103.247211][ T6413] bcachefs (loop2): stripes_read... done [pid 6416] ioctl(3, LOOP_CLR_FD) = 0 [ 103.271412][ T6413] bcachefs (loop2): snapshots_read... done [ 103.309151][ T6413] bcachefs (loop2): check_allocations... [ 103.329398][ T6417] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6416] close(3 [pid 6417] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6417] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 6417] ioctl(3, LOOP_CLR_FD) = 0 [ 103.374159][ T6413] done [pid 6417] close(3 [pid 6418] <... mount resumed>) = -1 EINVAL (Invalid argument) [ 103.407491][ T6413] bcachefs (loop2): going read-write [ 103.407577][ T6419] bcachefs: bch2_fs_get_tree() error: EINVAL [ 103.441364][ T6418] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6419] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6419] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 6419] ioctl(3, LOOP_CLR_FD) = 0 [pid 6419] close(3 [pid 6418] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6413] <... mount resumed>) = 0 [pid 6418] <... openat resumed>) = 3 [pid 6413] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 6418] ioctl(3, LOOP_CLR_FD [pid 6413] <... openat resumed>) = 3 [pid 6418] <... ioctl resumed>) = 0 [pid 6413] chdir("./file0" [pid 6418] close(3 [pid 6413] <... chdir resumed>) = 0 [pid 6413] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [ 103.460014][ T6413] bcachefs (loop2): done starting filesystem [pid 6413] ioctl(4, LOOP_CLR_FD) = 0 [pid 6413] close(4) = 0 [pid 6413] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 4 [pid 5836] <... umount2 resumed>) = 0 [pid 6413] exit_group(0) = ? [pid 5836] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5836] newfstatat(AT_FDCWD, "./9/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5836] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5836] openat(AT_FDCWD, "./9/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 6413] +++ exited with 0 +++ [pid 5836] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5837] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6413, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=38 /* 0.38 s */} --- [pid 5836] getdents64(4, [pid 5837] restart_syscall(<... resuming interrupted clone ...> [pid 5836] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5837] <... restart_syscall resumed>) = 0 [pid 5836] getdents64(4, 0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5837] umount2("./12", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5836] close(4 [pid 5837] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5836] <... close resumed>) = 0 [pid 5837] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5836] rmdir("./9/file0" [pid 5837] <... openat resumed>) = 3 [pid 5836] <... rmdir resumed>) = 0 [pid 5837] newfstatat(3, "", [pid 5836] getdents64(3, [pid 5837] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5836] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5837] getdents64(3, [pid 5836] close(3 [pid 5837] <... getdents64 resumed>0x55556b95e6f0 /* 4 entries */, 32768) = 112 [pid 5836] <... close resumed>) = 0 [pid 5837] umount2("./12/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5836] rmdir("./9" [pid 5837] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5836] <... rmdir resumed>) = 0 [pid 5837] newfstatat(AT_FDCWD, "./12/binderfs", [pid 5836] mkdir("./10", 0777 [pid 5837] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5836] <... mkdir resumed>) = 0 [pid 5837] unlink("./12/binderfs" [pid 5836] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5837] <... unlink resumed>) = 0 [pid 5837] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5836] <... openat resumed>) = 3 [pid 5836] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5836] close(3) = 0 [pid 5836] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6458 attached [pid 6458] set_robust_list(0x55556b95d660, 24) = 0 [pid 5836] <... clone resumed>, child_tidptr=0x55556b95d650) = 6458 [pid 6458] chdir("./10") = 0 [pid 6458] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [ 103.637871][ T5837] bcachefs (loop2): shutting down [pid 6458] setpgid(0, 0) = 0 [pid 6458] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6458] write(3, "1000", 4) = 4 [pid 6458] close(3) = 0 [pid 6458] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6458] write(1, "executing program\n", 18) = 18 [pid 6458] memfd_create("syzkaller", 0) = 3 [ 103.669355][ T5837] bcachefs (loop2): going read-only [pid 6458] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb51f400000 [pid 6416] <... close resumed>) = 0 [ 103.696246][ T5837] bcachefs (loop2): finished waiting for writes to stop [pid 6416] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 3 [pid 6416] exit_group(0) = ? [pid 6416] +++ exited with 0 +++ [pid 5840] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6416, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=42 /* 0.42 s */} --- [pid 5840] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5840] umount2("./9", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5840] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] getdents64(3, 0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5840] umount2("./9/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./9/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] unlink("./9/binderfs") = 0 [pid 5840] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./9/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./9/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5840] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] getdents64(4, 0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5840] getdents64(4, [pid 6418] <... close resumed>) = 0 [pid 6417] <... close resumed>) = 0 [pid 5840] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 6418] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 6417] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5840] close(4 [pid 6418] <... openat resumed>) = 3 [pid 5840] <... close resumed>) = 0 [pid 5840] rmdir("./9/file0") = 0 [pid 6417] <... openat resumed>) = 3 [pid 5840] umount2("./9/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./9/cgroup.controllers", [pid 6418] exit_group(0 [pid 6417] exit_group(0 [pid 5840] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6418] <... exit_group resumed>) = ? [pid 6417] <... exit_group resumed>) = ? [pid 5840] unlink("./9/cgroup.controllers") = 0 [pid 5840] getdents64(3, 0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5840] close(3) = 0 [pid 5840] rmdir("./9" [pid 6417] +++ exited with 0 +++ [pid 5840] <... rmdir resumed>) = 0 [pid 5840] mkdir("./10", 0777) = 0 [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6417, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=49 /* 0.49 s */} --- [pid 5840] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5835] restart_syscall(<... resuming interrupted clone ...> [pid 5840] <... openat resumed>) = 3 [pid 5835] <... restart_syscall resumed>) = 0 [pid 6418] +++ exited with 0 +++ [pid 5835] umount2("./12", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5839] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6418, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=50 /* 0.50 s */} --- [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] ioctl(3, LOOP_CLR_FD [pid 5839] restart_syscall(<... resuming interrupted clone ...> [pid 5835] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5840] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5839] <... restart_syscall resumed>) = 0 [pid 5835] <... openat resumed>) = 3 [pid 5840] close(3 [pid 5835] newfstatat(3, "", [pid 5840] <... close resumed>) = 0 [pid 5835] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5839] umount2("./12", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] getdents64(3, [pid 5839] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] <... getdents64 resumed>0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5840] <... clone resumed>, child_tidptr=0x55556b95d650) = 6459 [pid 5839] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5835] umount2("./12/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5839] <... openat resumed>) = 3 [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5839] newfstatat(3, "", [ 103.769541][ T5837] bcachefs (loop2): flushing journal and stopping allocators, journal seq 12 [pid 5835] newfstatat(AT_FDCWD, "./12/binderfs", ./strace-static-x86_64: Process 6459 attached [pid 5839] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6459] set_robust_list(0x55556b95d660, 24 [pid 5839] getdents64(3, [pid 5835] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6459] <... set_robust_list resumed>) = 0 [pid 5839] <... getdents64 resumed>0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5835] unlink("./12/binderfs" [pid 6459] chdir("./10" [pid 5839] umount2("./12/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] <... unlink resumed>) = 0 [pid 5839] newfstatat(AT_FDCWD, "./12/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5839] unlink("./12/binderfs" [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5839] <... unlink resumed>) = 0 [pid 5835] newfstatat(AT_FDCWD, "./12/file0", [pid 5839] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5839] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5839] newfstatat(AT_FDCWD, "./12/file0", [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5839] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] openat(AT_FDCWD, "./12/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5839] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] <... openat resumed>) = 4 [pid 5839] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(4, "", [pid 5839] openat(AT_FDCWD, "./12/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5835] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5839] <... openat resumed>) = 4 [pid 5835] getdents64(4, [pid 5839] newfstatat(4, "", [pid 6459] <... chdir resumed>) = 0 [pid 5835] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5839] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, [pid 6459] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5839] getdents64(4, [pid 6459] <... prctl resumed>) = 0 [pid 6459] setpgid(0, 0 [pid 5839] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 6459] <... setpgid resumed>) = 0 [pid 5839] getdents64(4, 0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5839] close(4) = 0 [pid 5839] rmdir("./12/file0" [pid 6459] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5839] <... rmdir resumed>) = 0 [pid 5839] umount2("./12/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5839] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] close(4 [pid 5839] newfstatat(AT_FDCWD, "./12/cgroup.controllers", [pid 5835] <... close resumed>) = 0 [pid 5839] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] rmdir("./12/file0" [pid 6459] <... openat resumed>) = 3 [pid 5839] unlink("./12/cgroup.controllers" [pid 5835] <... rmdir resumed>) = 0 [pid 5839] <... unlink resumed>) = 0 [pid 5839] getdents64(3, 0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5839] close(3) = 0 [pid 5835] umount2("./12/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5839] rmdir("./12" [pid 5835] newfstatat(AT_FDCWD, "./12/cgroup.controllers", [pid 5839] <... rmdir resumed>) = 0 [pid 5835] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./12/cgroup.controllers") = 0 [pid 5835] getdents64(3, 0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3 [pid 6459] write(3, "1000", 4) = 4 [pid 5835] <... close resumed>) = 0 [pid 6459] close(3 [pid 5835] rmdir("./12") = 0 [pid 5835] mkdir("./13", 0777) = 0 [pid 5839] mkdir("./13", 0777 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5839] <... mkdir resumed>) = 0 [pid 5835] <... openat resumed>) = 3 [pid 5839] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5835] ioctl(3, LOOP_CLR_FD [pid 5839] <... openat resumed>) = 3 [pid 5835] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5839] ioctl(3, LOOP_CLR_FD [pid 5835] close(3 [pid 5839] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5835] <... close resumed>) = 0 [pid 5839] close(3 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6460 attached [pid 6459] <... close resumed>) = 0 [pid 6459] symlink("/dev/binderfs", "./binderfs" [pid 5839] <... close resumed>) = 0 [pid 5835] <... clone resumed>, child_tidptr=0x55556b95d650) = 6460 [pid 6460] set_robust_list(0x55556b95d660, 24 [pid 6459] <... symlink resumed>) = 0 [pid 6419] <... close resumed>) = 0 [pid 5839] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6460] <... set_robust_list resumed>) = 0 executing program [pid 6460] chdir("./13" [pid 6459] write(1, "executing program\n", 18) = 18 [pid 6460] <... chdir resumed>) = 0 [pid 6460] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6459] memfd_create("syzkaller", 0 [pid 5839] <... clone resumed>, child_tidptr=0x55556b95d650) = 6461 ./strace-static-x86_64: Process 6461 attached [ 103.852552][ T1146] bcachefs (loop2): bch2_write_super(): fatal error loop2: Superblock write was silently dropped! (seq 0 expected 54) [ 103.871428][ T1146] bcachefs (loop2): fatal error - emergency read only executing program [pid 6460] setpgid(0, 0 [pid 6459] <... memfd_create resumed>) = 3 [pid 6461] set_robust_list(0x55556b95d660, 24 [pid 6460] <... setpgid resumed>) = 0 [pid 6460] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6460] write(3, "1000", 4) = 4 [pid 6461] <... set_robust_list resumed>) = 0 [pid 6459] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6460] close(3) = 0 [pid 6459] <... mmap resumed>) = 0x7fb51f400000 [pid 6460] symlink("/dev/binderfs", "./binderfs" [pid 6419] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 6461] chdir("./13" [pid 6460] <... symlink resumed>) = 0 [pid 6419] <... openat resumed>) = 3 [pid 6460] write(1, "executing program\n", 18) = 18 [pid 6460] memfd_create("syzkaller", 0) = 3 [pid 6419] exit_group(0 [pid 6460] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6419] <... exit_group resumed>) = ? [pid 6460] <... mmap resumed>) = 0x7fb51f400000 [pid 6419] +++ exited with 0 +++ [pid 6461] <... chdir resumed>) = 0 [pid 5838] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6419, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=44 /* 0.44 s */} --- [pid 6461] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5838] umount2("./11", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6461] setpgid(0, 0 [pid 5838] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6461] <... setpgid resumed>) = 0 [pid 5838] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6461] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5838] <... openat resumed>) = 3 [pid 6461] <... openat resumed>) = 3 [pid 5838] newfstatat(3, "", [pid 6461] write(3, "1000", 4 [pid 5838] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5838] getdents64(3, [pid 6461] <... write resumed>) = 4 [pid 6461] close(3 [pid 5838] <... getdents64 resumed>0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 6461] <... close resumed>) = 0 [pid 5838] umount2("./11/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6461] symlink("/dev/binderfs", "./binderfs" [pid 5838] <... umount2 resumed>) = -1 EINVAL (Invalid argument) executing program [pid 6461] <... symlink resumed>) = 0 [pid 5838] newfstatat(AT_FDCWD, "./11/binderfs", [pid 6461] write(1, "executing program\n", 18 [pid 5838] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6461] <... write resumed>) = 18 [pid 6461] memfd_create("syzkaller", 0 [pid 5838] unlink("./11/binderfs" [pid 6461] <... memfd_create resumed>) = 3 [pid 5838] <... unlink resumed>) = 0 [pid 6461] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5838] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6461] <... mmap resumed>) = 0x7fb51f400000 [pid 5838] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5838] newfstatat(AT_FDCWD, "./11/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5838] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5838] openat(AT_FDCWD, "./11/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5838] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [ 103.921360][ T5837] bcachefs (loop2): flushing journal and stopping allocators complete, journal seq 13 [ 103.941336][ T5837] bcachefs (loop2): unshutdown complete, journal seq 13 [ 103.962108][ T5837] bcachefs (loop2): done going read-only, filesystem not clean [pid 5838] getdents64(4, [pid 6458] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5838] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5838] getdents64(4, 0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5838] close(4) = 0 [pid 5838] rmdir("./11/file0") = 0 [pid 5838] umount2("./11/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5838] newfstatat(AT_FDCWD, "./11/cgroup.controllers", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5838] unlink("./11/cgroup.controllers") = 0 [pid 5838] getdents64(3, 0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5838] close(3) = 0 [pid 5838] rmdir("./11") = 0 [pid 5838] mkdir("./12", 0777) = 0 [pid 5838] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5838] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5838] close(3) = 0 [pid 5838] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6462 attached , child_tidptr=0x55556b95d650) = 6462 [pid 6462] set_robust_list(0x55556b95d660, 24) = 0 [ 104.039679][ T5837] bcachefs (loop2): shutdown complete [pid 6462] chdir("./12") = 0 [pid 6462] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6462] setpgid(0, 0) = 0 [pid 6462] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6462] write(3, "1000", 4) = 4 [pid 6462] close(3) = 0 [pid 6462] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6462] write(1, "executing program\n", 18executing program ) = 18 [pid 6462] memfd_create("syzkaller", 0) = 3 [pid 6462] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb51f400000 [pid 6460] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6459] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6461] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6462] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6458] <... write resumed>) = 16777216 [pid 6458] munmap(0x7fb51f400000, 138412032) = 0 [pid 6458] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6458] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6458] close(3) = 0 [pid 6458] close(4) = 0 [pid 6458] mkdir("./file0", 0777) = 0 [ 104.498006][ T6458] loop1: detected capacity change from 0 to 32768 [pid 6458] mount("/dev/loop1", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6460] <... write resumed>) = 16777216 [pid 6460] munmap(0x7fb51f400000, 138412032 [pid 6459] <... write resumed>) = 16777216 [pid 6460] <... munmap resumed>) = 0 [pid 6459] munmap(0x7fb51f400000, 138412032 [pid 6462] <... write resumed>) = 16777216 [pid 6462] munmap(0x7fb51f400000, 138412032 [pid 6460] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6460] ioctl(4, LOOP_SET_FD, 3 [pid 6461] <... write resumed>) = 16777216 [pid 6462] <... munmap resumed>) = 0 [pid 6461] munmap(0x7fb51f400000, 138412032 [pid 6462] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6459] <... munmap resumed>) = 0 [pid 6462] <... openat resumed>) = 4 [pid 6459] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6462] ioctl(4, LOOP_SET_FD, 3 [pid 6459] <... openat resumed>) = 4 [pid 6459] ioctl(4, LOOP_SET_FD, 3 [pid 6460] <... ioctl resumed>) = 0 [pid 6462] <... ioctl resumed>) = 0 [pid 6461] <... munmap resumed>) = 0 [pid 6459] <... ioctl resumed>) = 0 [pid 6462] close(3) = 0 [pid 6459] close(3 [pid 6462] close(4 [pid 6459] <... close resumed>) = 0 [pid 6462] <... close resumed>) = 0 [pid 6461] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6460] close(3 [pid 6459] close(4 [pid 6462] mkdir("./file0", 0777) = 0 [pid 6461] <... openat resumed>) = 4 [pid 6460] <... close resumed>) = 0 [pid 6459] <... close resumed>) = 0 [pid 6460] close(4) = 0 [pid 6461] ioctl(4, LOOP_SET_FD, 3 [pid 6460] mkdir("./file0", 0777 [ 104.729811][ T6460] loop0: detected capacity change from 0 to 32768 [ 104.751526][ T6462] loop3: detected capacity change from 0 to 32768 [ 104.752867][ T6459] loop5: detected capacity change from 0 to 32768 [pid 6459] mkdir("./file0", 0777 [pid 6460] <... mkdir resumed>) = 0 [pid 6462] mount("/dev/loop3", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6459] <... mkdir resumed>) = 0 [pid 6459] mount("/dev/loop5", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6461] <... ioctl resumed>) = 0 [pid 6460] mount("/dev/loop0", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6461] close(3) = 0 [pid 6461] close(4) = 0 [pid 6461] mkdir("./file0", 0777) = 0 [ 104.780636][ T6461] loop4: detected capacity change from 0 to 32768 [ 105.080511][ T6461] bcachefs (loop4): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,erasure_code,degraded,no_splitbrain_check,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,nocow [ 105.081657][ T6459] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 105.106044][ T6461] bcachefs (loop4): recovering from clean shutdown, journal seq 10 [ 105.112793][ T6459] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 105.128475][ T6458] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 105.137704][ T6458] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 105.145258][ T6461] bcachefs (loop4): Version upgrade required: [ 105.145258][ T6461] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 105.145258][ T6461] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 105.145258][ T6461] 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 [ 105.197388][ T6460] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 105.276616][ T6460] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 105.276839][ T6462] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 105.294938][ T6461] bcachefs (loop4): dropping and reconstructing all alloc info [pid 6461] mount("/dev/loop4", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6459] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6459] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6458] <... mount resumed>) = -1 EINVAL (Invalid argument) [ 105.326233][ T6458] bcachefs: bch2_fs_get_tree() error: EINVAL [ 105.336545][ T6462] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 105.352642][ T6459] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6459] <... openat resumed>) = 3 [pid 6459] ioctl(3, LOOP_CLR_FD) = 0 [pid 6459] close(3 [pid 6458] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 6458] ioctl(3, LOOP_CLR_FD) = 0 [ 105.376966][ T6461] bcachefs (loop4): check_topology... done [ 105.384648][ T6461] bcachefs (loop4): accounting_read... done [ 105.428253][ T6461] bcachefs (loop4): alloc_read... done [ 105.506551][ T6461] bcachefs (loop4): stripes_read... done [ 105.541130][ T6461] bcachefs (loop4): snapshots_read... done [pid 6458] close(3) = 0 [pid 6458] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 3 [pid 6458] exit_group(0) = ? [pid 6460] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6458] +++ exited with 0 +++ [pid 6460] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5836] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6458, si_uid=0, si_status=0, si_utime=0, si_stime=45 /* 0.45 s */} --- [pid 5836] restart_syscall(<... resuming interrupted clone ...> [pid 6460] <... openat resumed>) = 3 [pid 5836] <... restart_syscall resumed>) = 0 [pid 6460] ioctl(3, LOOP_CLR_FD) = 0 [pid 5836] umount2("./10", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6460] close(3 [pid 5836] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 105.547418][ T6461] bcachefs (loop4): check_allocations... [ 105.586182][ T6460] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5836] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5837] <... umount2 resumed>) = 0 [pid 5836] <... openat resumed>) = 3 [pid 5837] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5836] newfstatat(3, "", [pid 5837] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5836] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5837] newfstatat(AT_FDCWD, "./12/file0", [pid 5836] getdents64(3, [pid 5837] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5836] <... getdents64 resumed>0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5837] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5836] umount2("./10/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5837] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5836] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5836] newfstatat(AT_FDCWD, "./10/binderfs", [pid 5837] openat(AT_FDCWD, "./12/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5836] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5837] newfstatat(4, "", [pid 5836] unlink("./10/binderfs" [pid 5837] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [ 105.668728][ T6461] done [pid 5837] getdents64(4, [pid 5836] <... unlink resumed>) = 0 [pid 5837] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5836] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5836] newfstatat(AT_FDCWD, "./10/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5836] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5837] getdents64(4, [pid 5836] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5837] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5836] openat(AT_FDCWD, "./10/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5837] close(4 [pid 6462] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5837] <... close resumed>) = 0 [pid 5836] <... openat resumed>) = 4 [pid 5837] rmdir("./12/file0") = 0 [pid 6462] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5837] getdents64(3, [pid 5836] newfstatat(4, "", [pid 6462] <... openat resumed>) = 3 [pid 5837] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5836] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5837] close(3 [pid 6462] ioctl(3, LOOP_CLR_FD) = 0 [pid 5837] <... close resumed>) = 0 [pid 5836] getdents64(4, [pid 5837] rmdir("./12" [pid 6462] close(3 [pid 5837] <... rmdir resumed>) = 0 [pid 5836] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5837] mkdir("./13", 0777 [pid 5836] getdents64(4, 0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5837] <... mkdir resumed>) = 0 [pid 5836] close(4 [pid 5837] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5836] <... close resumed>) = 0 [ 105.713593][ T6461] bcachefs (loop4): going read-write [ 105.721234][ T6462] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5837] <... openat resumed>) = 3 [pid 5836] rmdir("./10/file0" [pid 5837] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5836] <... rmdir resumed>) = 0 [pid 5837] close(3 [pid 5836] umount2("./10/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5837] <... close resumed>) = 0 [pid 5836] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5837] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5836] newfstatat(AT_FDCWD, "./10/cgroup.controllers", ./strace-static-x86_64: Process 6501 attached {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5837] <... clone resumed>, child_tidptr=0x55556b95d650) = 6501 [pid 6501] set_robust_list(0x55556b95d660, 24 [pid 5836] unlink("./10/cgroup.controllers") = 0 [pid 6501] <... set_robust_list resumed>) = 0 [pid 5836] getdents64(3, [pid 6501] chdir("./13" [pid 6461] <... mount resumed>) = 0 [pid 5836] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 6501] <... chdir resumed>) = 0 [pid 5836] close(3 [pid 6501] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5836] <... close resumed>) = 0 [pid 6501] <... prctl resumed>) = 0 [pid 5836] rmdir("./10" [pid 6501] setpgid(0, 0 [pid 5836] <... rmdir resumed>) = 0 [pid 6461] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6461] chdir("./file0") = 0 [pid 6461] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6461] ioctl(4, LOOP_CLR_FD) = 0 [pid 6461] close(4) = 0 [pid 6461] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5836] mkdir("./11", 0777 [pid 6501] <... setpgid resumed>) = 0 [pid 6461] <... openat resumed>) = 4 [pid 5836] <... mkdir resumed>) = 0 [pid 6461] exit_group(0 [pid 6501] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6459] <... close resumed>) = 0 [pid 5836] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6461] <... exit_group resumed>) = ? [ 105.778652][ T6461] bcachefs (loop4): done starting filesystem [pid 6501] <... openat resumed>) = 3 [pid 6461] +++ exited with 0 +++ [pid 5836] <... openat resumed>) = 3 [pid 5836] ioctl(3, LOOP_CLR_FD [pid 6459] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5836] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6459] <... openat resumed>) = 3 [pid 6459] exit_group(0 [pid 5836] close(3 [pid 6501] write(3, "1000", 4 [pid 5836] <... close resumed>) = 0 [pid 6459] <... exit_group resumed>) = ? [pid 5836] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6459] +++ exited with 0 +++ [pid 5839] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6461, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=40 /* 0.40 s */} --- [pid 6501] <... write resumed>) = 4 [pid 5836] <... clone resumed>, child_tidptr=0x55556b95d650) = 6502 [pid 6501] close(3 [pid 5840] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6459, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=46 /* 0.46 s */} --- [pid 5840] restart_syscall(<... resuming interrupted clone ...> [pid 6501] <... close resumed>) = 0 [pid 5839] umount2("./13", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6501] symlink("/dev/binderfs", "./binderfs" [pid 5839] <... umount2 resumed>) = -1 EINVAL (Invalid argument) ./strace-static-x86_64: Process 6502 attached [pid 6501] <... symlink resumed>) = 0 [pid 5840] <... restart_syscall resumed>) = 0 [pid 5839] openat(AT_FDCWD, "./13", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6502] set_robust_list(0x55556b95d660, 24) = 0 [pid 6502] chdir("./11") = 0 [pid 6502] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5839] <... openat resumed>) = 3 [pid 6501] write(1, "executing program\n", 18 [pid 5840] umount2("./10", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6502] setpgid(0, 0executing program ) = 0 [pid 6501] <... write resumed>) = 18 [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5839] newfstatat(3, "", [pid 6502] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6501] memfd_create("syzkaller", 0 [pid 5840] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5839] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6502] <... openat resumed>) = 3 [pid 6501] <... memfd_create resumed>) = 3 [pid 5840] <... openat resumed>) = 3 [pid 5839] getdents64(3, [pid 6502] write(3, "1000", 4) = 4 [pid 6502] close(3) = 0 [pid 6502] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5839] <... getdents64 resumed>0x55556b95e6f0 /* 4 entries */, 32768) = 112 [pid 6502] write(1, "executing program\n", 18) = 18 [pid 6501] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5840] newfstatat(3, "", [pid 6502] memfd_create("syzkaller", 0 [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6502] <... memfd_create resumed>) = 3 [pid 5840] getdents64(3, [pid 6502] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6501] <... mmap resumed>) = 0x7fb51f400000 [pid 6502] <... mmap resumed>) = 0x7fb51f400000 [pid 5840] <... getdents64 resumed>0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5840] umount2("./10/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./10/binderfs", [pid 5839] umount2("./13/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6460] <... close resumed>) = 0 [pid 5840] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5839] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] unlink("./10/binderfs" [pid 5839] newfstatat(AT_FDCWD, "./13/binderfs", [pid 5840] <... unlink resumed>) = 0 [pid 5839] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6460] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5839] unlink("./13/binderfs" [pid 5840] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 6460] <... openat resumed>) = 3 [pid 5840] newfstatat(AT_FDCWD, "./10/file0", [pid 5839] <... unlink resumed>) = 0 [pid 6460] exit_group(0 [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5839] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6460] <... exit_group resumed>) = ? [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6460] +++ exited with 0 +++ [pid 5840] openat(AT_FDCWD, "./10/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6460, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=49 /* 0.49 s */} --- [pid 5840] <... openat resumed>) = 4 [pid 5835] umount2("./13", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./13", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5835] umount2("./13/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./13/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./13/binderfs" [pid 5840] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5835] <... unlink resumed>) = 0 [pid 5840] getdents64(4, [pid 5835] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] getdents64(4, [pid 5835] newfstatat(AT_FDCWD, "./13/file0", [pid 5840] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5835] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] close(4 [pid 5835] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] <... close resumed>) = 0 [pid 5840] rmdir("./10/file0" [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] <... rmdir resumed>) = 0 [pid 5835] openat(AT_FDCWD, "./13/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5840] umount2("./10/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] <... openat resumed>) = 4 [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(4, "", [pid 5840] newfstatat(AT_FDCWD, "./10/cgroup.controllers", [pid 5835] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] getdents64(4, [pid 5840] unlink("./10/cgroup.controllers" [pid 5835] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5840] <... unlink resumed>) = 0 [pid 5835] getdents64(4, [pid 5840] getdents64(3, 0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5835] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5840] close(3 [pid 5835] close(4 [pid 5840] <... close resumed>) = 0 [pid 5835] <... close resumed>) = 0 [pid 5840] rmdir("./10" [pid 5835] rmdir("./13/file0" [pid 5840] <... rmdir resumed>) = 0 [pid 5835] <... rmdir resumed>) = 0 [ 105.937422][ T5839] bcachefs (loop4): shutting down [pid 5840] mkdir("./11", 0777 [pid 5835] umount2("./13/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./13/cgroup.controllers", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./13/cgroup.controllers") = 0 [pid 5840] <... mkdir resumed>) = 0 [pid 5835] getdents64(3, 0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5840] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5835] rmdir("./13" [pid 5840] ioctl(3, LOOP_CLR_FD [pid 5835] <... rmdir resumed>) = 0 [pid 5840] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5840] close(3) = 0 [pid 5840] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5835] mkdir("./14", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ./strace-static-x86_64: Process 6503 attached [pid 6462] <... close resumed>) = 0 [pid 5840] <... clone resumed>, child_tidptr=0x55556b95d650) = 6503 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [ 105.971026][ T5839] bcachefs (loop4): going read-only [ 105.976312][ T5839] bcachefs (loop4): finished waiting for writes to stop [pid 6503] set_robust_list(0x55556b95d660, 24 [pid 6462] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55556b95d650) = 6504 [pid 6503] <... set_robust_list resumed>) = 0 [pid 6462] <... openat resumed>) = 3 ./strace-static-x86_64: Process 6504 attached [pid 6504] set_robust_list(0x55556b95d660, 24) = 0 [pid 6503] chdir("./11" [pid 6504] chdir("./14" [pid 6503] <... chdir resumed>) = 0 [pid 6462] exit_group(0 [pid 6504] <... chdir resumed>) = 0 [pid 6504] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6504] setpgid(0, 0) = 0 [pid 6504] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6504] write(3, "1000", 4) = 4 [pid 6504] close(3) = 0 [pid 6504] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6503] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6462] <... exit_group resumed>) = ? [pid 6504] write(1, "executing program\n", 18executing program [pid 6503] <... prctl resumed>) = 0 [pid 6504] <... write resumed>) = 18 [pid 6504] memfd_create("syzkaller", 0) = 3 [pid 6504] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb51f400000 [pid 6503] setpgid(0, 0 [pid 6462] +++ exited with 0 +++ [pid 6503] <... setpgid resumed>) = 0 [pid 5838] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6462, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=37 /* 0.37 s */} --- [pid 5838] restart_syscall(<... resuming interrupted clone ...> [pid 6503] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5838] <... restart_syscall resumed>) = 0 [pid 6503] write(3, "1000", 4 [pid 5838] umount2("./12", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 6503] <... write resumed>) = 4 [pid 6503] close(3 [pid 5838] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6503] <... close resumed>) = 0 [pid 6503] symlink("/dev/binderfs", "./binderfs" [pid 5838] <... openat resumed>) = 3 [pid 5838] newfstatat(3, "", [pid 6503] <... symlink resumed>) = 0 [pid 6503] write(1, "executing program\n", 18 [pid 5838] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 executing program [pid 6503] <... write resumed>) = 18 [pid 5838] getdents64(3, 0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 6503] memfd_create("syzkaller", 0 [pid 5838] umount2("./12/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 6503] <... memfd_create resumed>) = 3 [ 106.023268][ T5839] bcachefs (loop4): flushing journal and stopping allocators, journal seq 11 [pid 5838] newfstatat(AT_FDCWD, "./12/binderfs", [pid 6503] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5838] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5838] unlink("./12/binderfs" [pid 6503] <... mmap resumed>) = 0x7fb51f400000 [pid 5838] <... unlink resumed>) = 0 [pid 5838] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5838] newfstatat(AT_FDCWD, "./12/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5838] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5838] openat(AT_FDCWD, "./12/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5838] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5838] getdents64(4, 0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5838] getdents64(4, 0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5838] close(4) = 0 [pid 5838] rmdir("./12/file0") = 0 [pid 5838] umount2("./12/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5838] newfstatat(AT_FDCWD, "./12/cgroup.controllers", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5838] unlink("./12/cgroup.controllers") = 0 [pid 5838] getdents64(3, 0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5838] close(3) = 0 [pid 5838] rmdir("./12") = 0 [pid 5838] mkdir("./13", 0777) = 0 [pid 5838] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 6502] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5838] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5838] close(3) = 0 [pid 5838] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6505 attached , child_tidptr=0x55556b95d650) = 6505 [pid 6505] set_robust_list(0x55556b95d660, 24) = 0 [pid 6505] chdir("./13") = 0 [pid 6505] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [ 106.113660][ T81] bcachefs (loop4): bch2_write_super(): fatal error loop4: Superblock write was silently dropped! (seq 0 expected 54) [pid 6505] setpgid(0, 0) = 0 [pid 6505] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6501] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6505] <... openat resumed>) = 3 [pid 6505] write(3, "1000", 4) = 4 [pid 6505] close(3) = 0 [pid 6505] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6505] write(1, "executing program\n", 18) = 18 [pid 6505] memfd_create("syzkaller", 0) = 3 [pid 6505] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb51f400000 [ 106.171024][ T81] bcachefs (loop4): fatal error - emergency read only [ 106.212138][ T5839] bcachefs (loop4): flushing journal and stopping allocators complete, journal seq 13 [ 106.231196][ T5839] bcachefs (loop4): unshutdown complete, journal seq 13 [ 106.239139][ T5839] bcachefs (loop4): done going read-only, filesystem not clean [ 106.323628][ T5839] bcachefs (loop4): shutdown complete [pid 6504] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6503] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6505] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6501] <... write resumed>) = 16777216 [pid 6501] munmap(0x7fb51f400000, 138412032) = 0 [pid 6501] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6501] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6502] <... write resumed>) = 16777216 [pid 6501] close(3 [pid 6502] munmap(0x7fb51f400000, 138412032 [pid 6501] <... close resumed>) = 0 [pid 6501] close(4) = 0 [pid 6502] <... munmap resumed>) = 0 [pid 6501] mkdir("./file0", 0777 [pid 6502] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6501] <... mkdir resumed>) = 0 [pid 6502] <... openat resumed>) = 4 [ 106.665108][ T6501] loop2: detected capacity change from 0 to 32768 [pid 6501] mount("/dev/loop2", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6502] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6502] close(3) = 0 [pid 6502] close(4) = 0 [pid 6502] mkdir("./file0", 0777) = 0 [ 106.719446][ T6502] loop1: detected capacity change from 0 to 32768 [pid 6502] mount("/dev/loop1", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6505] <... write resumed>) = 16777216 [pid 6505] munmap(0x7fb51f400000, 138412032 [pid 6504] <... write resumed>) = 16777216 [pid 6505] <... munmap resumed>) = 0 [pid 6503] <... write resumed>) = 16777216 [pid 6505] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6504] munmap(0x7fb51f400000, 138412032 [pid 6503] munmap(0x7fb51f400000, 138412032 [pid 6505] <... openat resumed>) = 4 [pid 6505] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6504] <... munmap resumed>) = 0 [pid 6505] close(3 [pid 6503] <... munmap resumed>) = 0 [pid 6505] <... close resumed>) = 0 [pid 6504] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6503] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6505] close(4) = 0 [pid 6505] mkdir("./file0", 0777 [pid 6504] <... openat resumed>) = 4 [pid 6503] <... openat resumed>) = 4 [pid 6505] <... mkdir resumed>) = 0 [pid 6504] ioctl(4, LOOP_SET_FD, 3 [pid 6503] ioctl(4, LOOP_SET_FD, 3 [pid 6505] mount("/dev/loop3", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6504] <... ioctl resumed>) = 0 [pid 6503] <... ioctl resumed>) = 0 [pid 6504] close(3 [pid 6503] close(3 [pid 6504] <... close resumed>) = 0 [pid 6503] <... close resumed>) = 0 [pid 6504] close(4 [pid 6503] close(4 [pid 6504] <... close resumed>) = 0 [pid 6503] <... close resumed>) = 0 [pid 6504] mkdir("./file0", 0777 [pid 6503] mkdir("./file0", 0777 [pid 6504] <... mkdir resumed>) = 0 [pid 6503] <... mkdir resumed>) = 0 [pid 6503] mount("/dev/loop5", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [ 106.872742][ T6505] loop3: detected capacity change from 0 to 32768 [ 106.895004][ T6504] loop0: detected capacity change from 0 to 32768 [ 106.896974][ T6503] loop5: detected capacity change from 0 to 32768 [ 107.232225][ T6505] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 107.232486][ T6501] bcachefs (loop2): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,erasure_code,degraded,no_splitbrain_check,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,nocow [ 107.266637][ T6505] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 107.275889][ T6502] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 107.285318][ T6501] bcachefs (loop2): recovering from clean shutdown, journal seq 10 [ 107.293564][ T6501] bcachefs (loop2): Version upgrade required: [ 107.293564][ T6501] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 107.293564][ T6501] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 107.293564][ T6501] 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 [ 107.391468][ T6502] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 107.404673][ T6504] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 107.421987][ T6501] bcachefs (loop2): dropping and reconstructing all alloc info [ 107.439539][ T6504] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 107.450978][ T6503] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 107.505585][ T6503] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [pid 6504] mount("/dev/loop0", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6505] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6505] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 6505] ioctl(3, LOOP_CLR_FD) = 0 [ 107.556224][ T6501] bcachefs (loop2): check_topology... done [ 107.568828][ T6505] bcachefs: bch2_fs_get_tree() error: EINVAL [ 107.590907][ T6501] bcachefs (loop2): accounting_read... done [ 107.611280][ T6501] bcachefs (loop2): alloc_read... done [ 107.630997][ T6501] bcachefs (loop2): stripes_read... done [ 107.636790][ T6501] bcachefs (loop2): snapshots_read... done [pid 6505] close(3 [pid 5839] <... umount2 resumed>) = 0 [pid 5839] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5839] newfstatat(AT_FDCWD, "./13/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5839] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5839] openat(AT_FDCWD, "./13/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5839] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5839] getdents64(4, 0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5839] getdents64(4, 0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5839] close(4) = 0 [pid 5839] rmdir("./13/file0") = 0 [pid 5839] getdents64(3, 0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5839] close(3) = 0 [pid 5839] rmdir("./13") = 0 [pid 5839] mkdir("./14", 0777) = 0 [pid 5839] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5839] ioctl(3, LOOP_CLR_FD [pid 6502] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5839] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5839] close(3) = 0 [pid 5839] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6544 attached , child_tidptr=0x55556b95d650) = 6544 [pid 6544] set_robust_list(0x55556b95d660, 24 [pid 6502] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 6544] <... set_robust_list resumed>) = 0 [pid 6544] chdir("./14" [pid 6502] ioctl(3, LOOP_CLR_FD [pid 6544] <... chdir resumed>) = 0 [pid 6502] <... ioctl resumed>) = 0 [pid 6544] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6502] close(3 [pid 6544] <... prctl resumed>) = 0 [pid 6544] setpgid(0, 0) = 0 [ 107.675174][ T6502] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6544] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6544] write(3, "1000", 4) = 4 [pid 6544] close(3) = 0 [pid 6544] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 6544] write(1, "executing program\n", 18) = 18 [pid 6544] memfd_create("syzkaller", 0) = 3 [ 107.680921][ T6501] bcachefs (loop2): check_allocations... [ 107.724876][ T6504] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6544] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb51f400000 [pid 6504] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6504] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6503] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6504] <... openat resumed>) = 3 [pid 6503] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6504] ioctl(3, LOOP_CLR_FD) = 0 [pid 6503] <... openat resumed>) = 3 [ 107.770026][ T6503] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6504] close(3 [pid 6503] ioctl(3, LOOP_CLR_FD) = 0 [ 107.857594][ T6501] done [pid 6503] close(3 [pid 6501] <... mount resumed>) = 0 [ 107.902372][ T6501] bcachefs (loop2): going read-write [ 107.939335][ T6501] bcachefs (loop2): done starting filesystem [pid 6501] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6501] chdir("./file0") = 0 [pid 6501] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6501] ioctl(4, LOOP_CLR_FD) = 0 [pid 6501] close(4) = 0 [pid 6501] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 6505] <... close resumed>) = 0 [pid 6505] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 6501] <... openat resumed>) = 4 [pid 6505] <... openat resumed>) = 3 [pid 6501] exit_group(0) = ? [pid 6501] +++ exited with 0 +++ [pid 6505] exit_group(0 [pid 5837] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6501, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=39 /* 0.39 s */} --- [pid 6505] <... exit_group resumed>) = ? [pid 6505] +++ exited with 0 +++ [pid 5837] restart_syscall(<... resuming interrupted clone ...> [pid 5838] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6505, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=55 /* 0.55 s */} --- [pid 5837] <... restart_syscall resumed>) = 0 [pid 5837] umount2("./13", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6502] <... close resumed>) = 0 [pid 5838] restart_syscall(<... resuming interrupted clone ...> [pid 5837] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5837] openat(AT_FDCWD, "./13", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5838] <... restart_syscall resumed>) = 0 [pid 6502] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5837] <... openat resumed>) = 3 [pid 5837] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5838] umount2("./13", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5837] getdents64(3, 0x55556b95e6f0 /* 4 entries */, 32768) = 112 [pid 5838] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5837] umount2("./13/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5838] openat(AT_FDCWD, "./13", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5837] newfstatat(AT_FDCWD, "./13/binderfs", [pid 5838] <... openat resumed>) = 3 [pid 5837] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5838] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5837] unlink("./13/binderfs" [pid 5838] getdents64(3, [pid 5837] <... unlink resumed>) = 0 [pid 6502] <... openat resumed>) = 3 [pid 5838] <... getdents64 resumed>0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5837] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5838] umount2("./13/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6502] exit_group(0 [pid 5838] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6502] <... exit_group resumed>) = ? [pid 5838] newfstatat(AT_FDCWD, "./13/binderfs", [pid 6502] +++ exited with 0 +++ [pid 5838] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5838] unlink("./13/binderfs" [pid 5836] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6502, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=53 /* 0.53 s */} --- [pid 5838] <... unlink resumed>) = 0 [pid 5838] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5836] umount2("./11", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5838] newfstatat(AT_FDCWD, "./13/file0", [pid 5836] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5838] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5836] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5838] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5836] <... openat resumed>) = 3 [pid 5838] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5836] newfstatat(3, "", [pid 6544] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5838] openat(AT_FDCWD, "./13/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5836] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5836] getdents64(3, [pid 5838] newfstatat(4, "", [pid 5836] <... getdents64 resumed>0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5838] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5836] umount2("./11/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5838] getdents64(4, [pid 5836] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5838] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5836] newfstatat(AT_FDCWD, "./11/binderfs", [pid 5838] getdents64(4, [pid 5836] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5838] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5836] unlink("./11/binderfs" [pid 5838] close(4 [pid 5836] <... unlink resumed>) = 0 [pid 5838] <... close resumed>) = 0 [pid 5836] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5838] rmdir("./13/file0" [pid 5836] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5838] <... rmdir resumed>) = 0 [pid 5836] newfstatat(AT_FDCWD, "./11/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5838] umount2("./13/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5836] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5838] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5836] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6504] <... close resumed>) = 0 [pid 5838] newfstatat(AT_FDCWD, "./13/cgroup.controllers", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5836] openat(AT_FDCWD, "./11/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5838] unlink("./13/cgroup.controllers") = 0 [pid 5836] <... openat resumed>) = 4 [pid 6504] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5836] newfstatat(4, "", [pid 6504] <... openat resumed>) = 3 [pid 5836] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6504] exit_group(0 [pid 5836] getdents64(4, 0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5836] getdents64(4, 0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5838] getdents64(3, [pid 5836] close(4 [pid 5838] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5836] <... close resumed>) = 0 [pid 5838] close(3 [pid 5836] rmdir("./11/file0" [pid 5838] <... close resumed>) = 0 [pid 5836] <... rmdir resumed>) = 0 [pid 5838] rmdir("./13" [pid 5836] umount2("./11/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6504] <... exit_group resumed>) = ? [pid 5838] <... rmdir resumed>) = 0 [pid 5836] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6504] +++ exited with 0 +++ [pid 5838] mkdir("./14", 0777 [pid 5836] newfstatat(AT_FDCWD, "./11/cgroup.controllers", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5836] unlink("./11/cgroup.controllers" [pid 5838] <... mkdir resumed>) = 0 [pid 5836] <... unlink resumed>) = 0 [pid 5838] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5836] getdents64(3, [pid 5838] <... openat resumed>) = 3 [pid 5836] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6504, si_uid=0, si_status=0, si_utime=0, si_stime=44 /* 0.44 s */} --- [pid 5838] ioctl(3, LOOP_CLR_FD [pid 5836] close(3 [pid 5838] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5836] <... close resumed>) = 0 [pid 5838] close(3 [pid 5836] rmdir("./11" [pid 5835] umount2("./14", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6503] <... close resumed>) = 0 [pid 5838] <... close resumed>) = 0 [pid 5836] <... rmdir resumed>) = 0 [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6503] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5835] openat(AT_FDCWD, "./14", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6503] <... openat resumed>) = 3 [ 108.122566][ T5837] bcachefs (loop2): shutting down [ 108.132531][ T5837] bcachefs (loop2): going read-only [ 108.148527][ T5837] bcachefs (loop2): finished waiting for writes to stop [ 108.161215][ T5837] bcachefs (loop2): flushing journal and stopping allocators, journal seq 11 [pid 5838] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5835] <... openat resumed>) = 3 [pid 6503] exit_group(0 [pid 5836] mkdir("./12", 0777 [pid 5835] newfstatat(3, "", ./strace-static-x86_64: Process 6548 attached [pid 6503] <... exit_group resumed>) = ? [pid 5836] <... mkdir resumed>) = 0 [pid 6548] set_robust_list(0x55556b95d660, 24 [pid 5835] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, [pid 5838] <... clone resumed>, child_tidptr=0x55556b95d650) = 6548 [pid 6548] <... set_robust_list resumed>) = 0 [pid 6503] +++ exited with 0 +++ [pid 5835] <... getdents64 resumed>0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 6548] chdir("./14" [pid 5835] umount2("./14/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6548] <... chdir resumed>) = 0 [pid 5840] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6503, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=42 /* 0.42 s */} --- [pid 5840] restart_syscall(<... resuming interrupted clone ...> [pid 6548] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6548] <... prctl resumed>) = 0 [pid 5835] newfstatat(AT_FDCWD, "./14/binderfs", [pid 5836] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6548] setpgid(0, 0 [pid 5836] <... openat resumed>) = 3 [pid 5835] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6548] <... setpgid resumed>) = 0 [pid 5835] unlink("./14/binderfs" [pid 5836] ioctl(3, LOOP_CLR_FD [pid 5835] <... unlink resumed>) = 0 [pid 5836] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5840] <... restart_syscall resumed>) = 0 [pid 5836] close(3) = 0 [pid 5840] umount2("./11", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5836] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 ./strace-static-x86_64: Process 6549 attached [pid 6548] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5840] newfstatat(3, "", [pid 5836] <... clone resumed>, child_tidptr=0x55556b95d650) = 6549 [pid 5835] umount2("./14/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] getdents64(3, 0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5840] umount2("./11/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./11/binderfs", [pid 6549] set_robust_list(0x55556b95d660, 24 [pid 5840] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6549] <... set_robust_list resumed>) = 0 [pid 6548] <... openat resumed>) = 3 [pid 5840] unlink("./11/binderfs" [pid 5835] newfstatat(AT_FDCWD, "./14/file0", [pid 6549] chdir("./12" [pid 5840] <... unlink resumed>) = 0 [pid 6549] <... chdir resumed>) = 0 [pid 6548] write(3, "1000", 4 [pid 5840] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6549] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6548] <... write resumed>) = 4 [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6549] <... prctl resumed>) = 0 [pid 6548] close(3 [pid 5840] newfstatat(AT_FDCWD, "./11/file0", [pid 5835] umount2("./14/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6549] setpgid(0, 0 [pid 6548] <... close resumed>) = 0 [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./11/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 6548] symlink("/dev/binderfs", "./binderfs" [pid 6549] <... setpgid resumed>) = 0 [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(4, "", [pid 6549] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6548] <... symlink resumed>) = 0 [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5835] openat(AT_FDCWD, "./14/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5840] getdents64(4, 0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5840] getdents64(4, 0x55556b966730 /* 0 entries */, 32768) = 0 executing program [pid 6549] <... openat resumed>) = 3 [pid 6548] write(1, "executing program\n", 18 [pid 5840] close(4 [pid 5835] <... openat resumed>) = 4 [pid 6549] write(3, "1000", 4 [pid 6548] <... write resumed>) = 18 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6549] <... write resumed>) = 4 [pid 6548] memfd_create("syzkaller", 0 [pid 5840] <... close resumed>) = 0 [pid 5835] getdents64(4, [pid 6549] close(3 [pid 5835] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 6549] <... close resumed>) = 0 [pid 6548] <... memfd_create resumed>) = 3 [ 108.221588][ T53] bcachefs (loop2): bch2_write_super(): fatal error loop2: Superblock write was silently dropped! (seq 0 expected 54) [ 108.252392][ T53] bcachefs (loop2): fatal error - emergency read only [pid 5835] getdents64(4, executing program [pid 6549] symlink("/dev/binderfs", "./binderfs" [pid 6548] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5835] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5840] rmdir("./11/file0" [pid 6549] <... symlink resumed>) = 0 [pid 5835] close(4 [pid 6549] write(1, "executing program\n", 18 [pid 6548] <... mmap resumed>) = 0x7fb51f400000 [pid 6549] <... write resumed>) = 18 [pid 5835] <... close resumed>) = 0 [pid 5840] <... rmdir resumed>) = 0 [pid 5840] umount2("./11/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./11/cgroup.controllers", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] unlink("./11/cgroup.controllers") = 0 [pid 5840] getdents64(3, 0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5840] close(3) = 0 [pid 5840] rmdir("./11") = 0 [pid 5840] mkdir("./12", 0777) = 0 [pid 5840] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5835] rmdir("./14/file0") = 0 [pid 6549] memfd_create("syzkaller", 0 [pid 5835] umount2("./14/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6549] <... memfd_create resumed>) = 3 [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6549] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5840] <... openat resumed>) = 3 [pid 5835] newfstatat(AT_FDCWD, "./14/cgroup.controllers", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./14/cgroup.controllers") = 0 [pid 5835] getdents64(3, [pid 6549] <... mmap resumed>) = 0x7fb51f400000 [pid 5835] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5840] ioctl(3, LOOP_CLR_FD [pid 5835] rmdir("./14" [pid 5840] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5835] <... rmdir resumed>) = 0 [pid 5840] close(3 [pid 5835] mkdir("./15", 0777 [pid 5840] <... close resumed>) = 0 [pid 5835] <... mkdir resumed>) = 0 [pid 5840] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55556b95d650) = 6550 ./strace-static-x86_64: Process 6551 attached [pid 6551] set_robust_list(0x55556b95d660, 24 [pid 5840] <... clone resumed>, child_tidptr=0x55556b95d650) = 6551 [pid 6551] <... set_robust_list resumed>) = 0 [pid 6551] chdir("./12") = 0 [pid 6551] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [ 108.279495][ T5837] bcachefs (loop2): flushing journal and stopping allocators complete, journal seq 14 [pid 6551] setpgid(0, 0./strace-static-x86_64: Process 6550 attached ) = 0 [pid 6551] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6551] write(3, "1000", 4) = 4 [pid 6551] close(3 [pid 6550] set_robust_list(0x55556b95d660, 24executing program [pid 6551] <... close resumed>) = 0 [pid 6551] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6551] write(1, "executing program\n", 18) = 18 [pid 6551] memfd_create("syzkaller", 0 [pid 6550] <... set_robust_list resumed>) = 0 [pid 6551] <... memfd_create resumed>) = 3 [pid 6550] chdir("./15" [pid 6551] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6550] <... chdir resumed>) = 0 [pid 6551] <... mmap resumed>) = 0x7fb51f400000 [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 [ 108.325239][ T5837] bcachefs (loop2): unshutdown complete, journal seq 14 [ 108.361949][ T5837] bcachefs (loop2): done going read-only, filesystem not clean [pid 6550] write(3, "1000", 4) = 4 [pid 6550] close(3) = 0 [pid 6550] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6550] write(1, "executing program\n", 18executing program ) = 18 [pid 6550] memfd_create("syzkaller", 0) = 3 [pid 6550] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb51f400000 [ 108.450138][ T5837] bcachefs (loop2): shutdown complete [pid 6551] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 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 6544] <... write resumed>) = 16777216 [pid 6544] munmap(0x7fb51f400000, 138412032 [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 6544] <... munmap resumed>) = 0 [pid 6544] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6544] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6544] close(3) = 0 [pid 6544] close(4) = 0 [pid 6544] mkdir("./file0", 0777) = 0 [ 108.713252][ T6544] loop4: detected capacity change from 0 to 32768 [pid 6544] mount("/dev/loop4", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6549] <... write resumed>) = 16777216 [pid 6551] <... write resumed>) = 16777216 [pid 6549] munmap(0x7fb51f400000, 138412032 [pid 6551] munmap(0x7fb51f400000, 138412032) = 0 [pid 6549] <... munmap resumed>) = 0 [pid 6549] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6549] ioctl(4, LOOP_SET_FD, 3 [pid 6551] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 6551] ioctl(4, LOOP_SET_FD, 3 [pid 6549] <... ioctl resumed>) = 0 [pid 6551] <... ioctl resumed>) = 0 [pid 6548] <... write resumed>) = 16777216 [pid 6551] close(3 [pid 6549] close(3 [pid 6548] munmap(0x7fb51f400000, 138412032 [pid 6551] <... close resumed>) = 0 [pid 6549] <... close resumed>) = 0 [pid 6551] close(4 [pid 6549] close(4 [pid 6551] <... close resumed>) = 0 [pid 6549] <... close resumed>) = 0 [pid 6551] mkdir("./file0", 0777 [pid 6549] mkdir("./file0", 0777 [pid 6551] <... mkdir resumed>) = 0 [pid 6549] <... mkdir resumed>) = 0 [pid 6551] mount("/dev/loop5", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [ 109.016412][ T6549] loop1: detected capacity change from 0 to 32768 [ 109.026431][ T6551] loop5: detected capacity change from 0 to 32768 [pid 6549] mount("/dev/loop1", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6548] <... munmap resumed>) = 0 [pid 6550] <... write resumed>) = 16777216 [pid 6548] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6548] ioctl(4, LOOP_SET_FD, 3 [pid 6550] munmap(0x7fb51f400000, 138412032 [pid 6548] <... ioctl resumed>) = 0 [pid 6548] close(3) = 0 [pid 6548] close(4) = 0 [pid 6548] mkdir("./file0", 0777) = 0 [pid 6548] mount("/dev/loop3", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6550] <... munmap resumed>) = 0 [pid 6550] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 109.096914][ T6548] loop3: detected capacity change from 0 to 32768 [pid 6550] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6550] close(3) = 0 [pid 6550] close(4) = 0 [pid 6550] mkdir("./file0", 0777) = 0 [ 109.150720][ T6550] loop0: detected capacity change from 0 to 32768 [ 109.349864][ T6544] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 109.350122][ T6551] bcachefs (loop5): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,erasure_code,degraded,no_splitbrain_check,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc,nocow [ 109.360376][ T6544] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 109.384144][ T6551] bcachefs (loop5): recovering from clean shutdown, journal seq 10 [ 109.398107][ T6551] bcachefs (loop5): Version upgrade required: [ 109.398107][ T6551] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 109.398107][ T6551] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 109.398107][ T6551] 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 [ 109.430712][ T6550] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 109.478584][ T6550] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 109.487508][ T6549] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 109.499520][ T6549] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 109.507866][ T6548] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 109.520582][ T6548] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 109.610947][ T6551] bcachefs (loop5): dropping and reconstructing all alloc info [pid 6550] mount("/dev/loop0", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [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 [ 109.683975][ T6549] bcachefs: bch2_fs_get_tree() error: EINVAL [ 109.698824][ T6544] bcachefs: bch2_fs_get_tree() error: EINVAL [ 109.707510][ T6551] bcachefs (loop5): check_topology... done [pid 6549] close(3 [pid 6544] <... mount resumed>) = -1 EINVAL (Invalid argument) [ 109.727615][ T6551] bcachefs (loop5): accounting_read... done [pid 6544] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 6544] ioctl(3, LOOP_CLR_FD) = 0 [pid 6544] close(3 [pid 6548] <... mount resumed>) = -1 EINVAL (Invalid argument) [ 109.767231][ T6551] bcachefs (loop5): alloc_read... done [ 109.779159][ T6548] bcachefs: bch2_fs_get_tree() error: EINVAL [ 109.791375][ T6551] bcachefs (loop5): stripes_read... done [ 109.805633][ T6550] bcachefs: bch2_fs_get_tree() error: EINVAL [ 109.811834][ T6551] bcachefs (loop5): snapshots_read... done [pid 6548] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 6548] ioctl(3, LOOP_CLR_FD) = 0 [pid 6550] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6548] close(3 [pid 6550] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 6550] ioctl(3, LOOP_CLR_FD) = 0 [ 109.825546][ T6551] bcachefs (loop5): check_allocations... done [ 109.979045][ T6551] bcachefs (loop5): going read-write [pid 6550] close(3 [pid 6551] <... mount resumed>) = 0 [pid 6551] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6551] chdir("./file0") = 0 [pid 5837] <... umount2 resumed>) = 0 [pid 6551] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [ 110.071021][ T6551] bcachefs (loop5): done starting filesystem [pid 6551] ioctl(4, LOOP_CLR_FD) = 0 [pid 6544] <... close resumed>) = 0 [pid 5837] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6551] close(4) = 0 [pid 6551] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 6544] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5837] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5837] newfstatat(AT_FDCWD, "./13/file0", [pid 6544] <... openat resumed>) = 3 [pid 5837] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6551] <... openat resumed>) = 4 [pid 6544] exit_group(0 [pid 5837] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6544] <... exit_group resumed>) = ? [pid 5837] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5837] openat(AT_FDCWD, "./13/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5837] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5837] getdents64(4, [pid 6551] exit_group(0 [pid 6549] <... close resumed>) = 0 [pid 6544] +++ exited with 0 +++ [pid 5837] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5839] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6544, si_uid=0, si_status=0, si_utime=0, si_stime=43 /* 0.43 s */} --- [pid 5839] umount2("./14", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5839] openat(AT_FDCWD, "./14", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5837] getdents64(4, [pid 6551] <... exit_group resumed>) = ? [pid 6549] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5839] <... openat resumed>) = 3 [pid 5839] newfstatat(3, "", [pid 5837] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5839] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5839] getdents64(3, 0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5839] umount2("./14/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5839] newfstatat(AT_FDCWD, "./14/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5839] unlink("./14/binderfs") = 0 [pid 6551] +++ exited with 0 +++ [pid 5839] umount2("./14/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5837] close(4 [pid 6549] <... openat resumed>) = 3 [pid 5840] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6551, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=39 /* 0.39 s */} --- [pid 5839] newfstatat(AT_FDCWD, "./14/file0", [pid 5840] umount2("./12", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5839] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5837] <... close resumed>) = 0 [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5839] umount2("./14/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5837] rmdir("./13/file0" [pid 5840] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5839] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5839] openat(AT_FDCWD, "./14/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5839] newfstatat(4, "", [pid 5840] <... openat resumed>) = 3 [pid 5839] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5837] <... rmdir resumed>) = 0 [pid 5840] newfstatat(3, "", [pid 5839] getdents64(4, [pid 5837] getdents64(3, [pid 5839] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5839] getdents64(4, 0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5839] close(4) = 0 [pid 5839] rmdir("./14/file0" [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5839] <... rmdir resumed>) = 0 [pid 5840] getdents64(3, [pid 5839] umount2("./14/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5837] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5839] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5837] close(3 [pid 5840] <... getdents64 resumed>0x55556b95e6f0 /* 4 entries */, 32768) = 112 [pid 6549] exit_group(0 [pid 5840] umount2("./12/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5839] newfstatat(AT_FDCWD, "./14/cgroup.controllers", [pid 5837] <... close resumed>) = 0 [pid 6549] <... exit_group resumed>) = ? [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5839] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5837] rmdir("./13" [pid 5840] newfstatat(AT_FDCWD, "./12/binderfs", [pid 5839] unlink("./14/cgroup.controllers") = 0 [pid 5837] <... rmdir resumed>) = 0 [pid 5840] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5839] getdents64(3, [pid 5837] mkdir("./14", 0777 [pid 6550] <... close resumed>) = 0 [pid 5840] unlink("./12/binderfs" [pid 6550] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 6549] +++ exited with 0 +++ [pid 6548] <... close resumed>) = 0 [pid 5840] <... unlink resumed>) = 0 [pid 5837] <... mkdir resumed>) = 0 [pid 5840] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5837] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5839] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5837] <... openat resumed>) = 3 [pid 5839] close(3 [pid 5837] ioctl(3, LOOP_CLR_FD [pid 5839] <... close resumed>) = 0 [pid 5837] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5839] rmdir("./14" [pid 5837] close(3 [pid 5839] <... rmdir resumed>) = 0 [pid 5837] <... close resumed>) = 0 [pid 5836] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6549, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=44 /* 0.44 s */} --- [pid 5837] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6593 attached [pid 6550] <... openat resumed>) = 3 [pid 6548] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5839] mkdir("./15", 0777 [pid 6550] exit_group(0 [pid 6548] <... openat resumed>) = 3 [pid 5839] <... mkdir resumed>) = 0 [pid 5836] umount2("./12", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6550] <... exit_group resumed>) = ? [pid 6548] exit_group(0 [pid 5837] <... clone resumed>, child_tidptr=0x55556b95d650) = 6593 [pid 5836] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6593] set_robust_list(0x55556b95d660, 24 [pid 6550] +++ exited with 0 +++ [pid 6548] <... exit_group resumed>) = ? [pid 5836] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6548] +++ exited with 0 +++ [pid 5839] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5836] <... openat resumed>) = 3 [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6550, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=49 /* 0.49 s */} --- [pid 5839] <... openat resumed>) = 3 [pid 5838] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6548, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=51 /* 0.51 s */} --- [pid 5836] newfstatat(3, "", [pid 5835] restart_syscall(<... resuming interrupted clone ...> [pid 6593] <... set_robust_list resumed>) = 0 [pid 5839] ioctl(3, LOOP_CLR_FD [pid 5836] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5839] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5836] getdents64(3, [pid 6593] chdir("./14" [pid 5839] close(3 [pid 5838] umount2("./14", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5836] <... getdents64 resumed>0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5839] <... close resumed>) = 0 [pid 5838] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5836] umount2("./12/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5839] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5838] openat(AT_FDCWD, "./14", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5836] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] <... restart_syscall resumed>) = 0 [pid 6593] <... chdir resumed>) = 0 [pid 5838] <... openat resumed>) = 3 [pid 5836] newfstatat(AT_FDCWD, "./12/binderfs", [pid 5838] newfstatat(3, "", [pid 5836] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5838] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5836] unlink("./12/binderfs" [pid 5835] umount2("./15", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5838] getdents64(3, [pid 5836] <... unlink resumed>) = 0 [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6593] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5838] <... getdents64 resumed>0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5836] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] openat(AT_FDCWD, "./15", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5838] umount2("./14/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5836] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] <... openat resumed>) = 3 [pid 5838] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5836] newfstatat(AT_FDCWD, "./12/file0", [pid 5835] newfstatat(3, "", [pid 5838] newfstatat(AT_FDCWD, "./14/binderfs", [pid 5836] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5838] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5836] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] getdents64(3, [pid 5838] unlink("./14/binderfs" [pid 5836] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] <... getdents64 resumed>0x55556b95e6f0 /* 5 entries */, 32768) = 152 [pid 5838] <... unlink resumed>) = 0 [pid 5836] openat(AT_FDCWD, "./12/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5835] umount2("./15/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5838] umount2("./14/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5836] <... openat resumed>) = 4 [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5838] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5836] newfstatat(4, "", [pid 5835] newfstatat(AT_FDCWD, "./15/binderfs", [pid 6593] <... prctl resumed>) = 0 [pid 5838] newfstatat(AT_FDCWD, "./14/file0", [pid 5836] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5835] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5838] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5836] getdents64(4, [pid 5835] unlink("./15/binderfs" [pid 5838] umount2("./14/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5836] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5835] <... unlink resumed>) = 0 [pid 5838] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5836] getdents64(4, [pid 5835] umount2("./15/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5838] openat(AT_FDCWD, "./14/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5836] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5838] <... openat resumed>) = 4 [pid 5836] close(4 [pid 5835] newfstatat(AT_FDCWD, "./15/file0", [pid 5838] newfstatat(4, "", [pid 5836] <... close resumed>) = 0 [pid 5835] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5838] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5836] rmdir("./12/file0" [pid 6593] setpgid(0, 0 [pid 5835] umount2("./15/file0", MNT_FORCE|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 6594 attached [pid 6593] <... setpgid resumed>) = 0 [pid 5839] <... clone resumed>, child_tidptr=0x55556b95d650) = 6594 [pid 5838] getdents64(4, [pid 5836] <... rmdir resumed>) = 0 [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5838] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5836] umount2("./12/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] openat(AT_FDCWD, "./15/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6593] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5838] getdents64(4, [pid 5836] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] <... openat resumed>) = 4 [pid 6593] <... openat resumed>) = 3 [pid 5838] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5836] newfstatat(AT_FDCWD, "./12/cgroup.controllers", [pid 5835] newfstatat(4, "", [pid 5838] close(4 [pid 5836] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5838] <... close resumed>) = 0 [pid 5836] unlink("./12/cgroup.controllers" [pid 5835] getdents64(4, [pid 5838] rmdir("./14/file0" [pid 5836] <... unlink resumed>) = 0 [pid 5835] <... getdents64 resumed>0x55556b966730 /* 2 entries */, 32768) = 48 [pid 5838] <... rmdir resumed>) = 0 [pid 5836] getdents64(3, [pid 5835] getdents64(4, [pid 5838] umount2("./14/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5836] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5835] <... getdents64 resumed>0x55556b966730 /* 0 entries */, 32768) = 0 [pid 5838] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5836] close(3 [pid 5835] close(4 [pid 5838] newfstatat(AT_FDCWD, "./14/cgroup.controllers", [pid 5836] <... close resumed>) = 0 [pid 5835] <... close resumed>) = 0 [pid 5838] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5836] rmdir("./12" [ 110.212977][ T5840] bcachefs (loop5): shutting down [ 110.219345][ T5840] bcachefs (loop5): going read-only [pid 5835] rmdir("./15/file0" [pid 6593] write(3, "1000", 4 [pid 5838] unlink("./14/cgroup.controllers" [pid 5836] <... rmdir resumed>) = 0 [pid 5835] <... rmdir resumed>) = 0 [pid 6594] set_robust_list(0x55556b95d660, 24 [pid 6593] <... write resumed>) = 4 [pid 5838] <... unlink resumed>) = 0 [pid 5836] mkdir("./13", 0777 [pid 5835] umount2("./15/cgroup.controllers", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5838] getdents64(3, [pid 5836] <... mkdir resumed>) = 0 [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5838] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 5835] newfstatat(AT_FDCWD, "./15/cgroup.controllers", [pid 5838] close(3 [pid 5835] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5838] <... close resumed>) = 0 [pid 5836] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5835] unlink("./15/cgroup.controllers" [pid 6594] <... set_robust_list resumed>) = 0 [pid 6593] close(3 [pid 5838] rmdir("./14" [pid 5835] <... unlink resumed>) = 0 [pid 5836] <... openat resumed>) = 3 [pid 5836] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5836] close(3 [pid 6594] chdir("./15" [pid 6593] <... close resumed>) = 0 [pid 5838] <... rmdir resumed>) = 0 [pid 5836] <... close resumed>) = 0 [pid 6594] <... chdir resumed>) = 0 [pid 6593] symlink("/dev/binderfs", "./binderfs" [pid 5835] getdents64(3, [pid 5836] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5835] <... getdents64 resumed>0x55556b95e6f0 /* 0 entries */, 32768) = 0 [pid 6594] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6593] <... symlink resumed>) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./15") = 0 ./strace-static-x86_64: Process 6595 attached [pid 5835] mkdir("./16", 0777) = 0 [pid 5836] <... clone resumed>, child_tidptr=0x55556b95d650) = 6595 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6595] set_robust_list(0x55556b95d660, 24 [pid 5835] <... openat resumed>) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD [pid 6594] <... prctl resumed>) = 0 [pid 6593] write(1, "executing program\n", 18 [pid 5835] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6595] <... set_robust_list resumed>) = 0 [pid 5835] close(3 [pid 6595] chdir("./13" [pid 5835] <... close resumed>) = 0 [pid 6595] <... chdir resumed>) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLDexecuting program [pid 6595] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6594] setpgid(0, 0 [pid 6593] <... write resumed>) = 18 [pid 5838] mkdir("./15", 0777 [pid 6594] <... setpgid resumed>) = 0 [pid 6595] <... prctl resumed>) = 0 [pid 6593] memfd_create("syzkaller", 0 [pid 5838] <... mkdir resumed>) = 0 ./strace-static-x86_64: Process 6596 attached [pid 6595] setpgid(0, 0 [pid 6594] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6595] <... setpgid resumed>) = 0 [pid 6595] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5838] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5835] <... clone resumed>, child_tidptr=0x55556b95d650) = 6596 [pid 6595] <... openat resumed>) = 3 [pid 5838] <... openat resumed>) = 3 [pid 5838] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 6595] write(3, "1000", 4 [pid 5838] close(3 [pid 6595] <... write resumed>) = 4 [pid 5838] <... close resumed>) = 0 [pid 6595] close(3) = 0 [pid 5838] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLDexecuting program [pid 6596] set_robust_list(0x55556b95d660, 24 [pid 6593] <... memfd_create resumed>) = 3 [pid 6594] <... openat resumed>) = 3 [pid 6596] <... set_robust_list resumed>) = 0 [pid 6593] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0./strace-static-x86_64: Process 6597 attached [pid 6595] symlink("/dev/binderfs", "./binderfs" [pid 6597] set_robust_list(0x55556b95d660, 24 [pid 6595] <... symlink resumed>) = 0 [pid 6597] <... set_robust_list resumed>) = 0 [pid 6595] write(1, "executing program\n", 18 [pid 6597] chdir("./15" [pid 6595] <... write resumed>) = 18 [pid 6597] <... chdir resumed>) = 0 [pid 6595] memfd_create("syzkaller", 0 [pid 5838] <... clone resumed>, child_tidptr=0x55556b95d650) = 6597 [pid 6597] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6597] setpgid(0, 0) = 0 [pid 6595] <... memfd_create resumed>) = 3 [pid 6596] chdir("./16" [pid 6597] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6596] <... chdir resumed>) = 0 [pid 6595] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6593] <... mmap resumed>) = 0x7fb51f400000 [pid 6595] <... mmap resumed>) = 0x7fb51f400000 [pid 6597] <... openat resumed>) = 3 [pid 6596] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6594] write(3, "1000", 4 [pid 6596] <... prctl resumed>) = 0 [pid 6596] setpgid(0, 0) = 0 [pid 6597] write(3, "1000", 4) = 4 [pid 6594] <... write resumed>) = 4 [pid 6597] close(3 [pid 6594] close(3 [pid 6596] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6597] <... close resumed>) = 0 [pid 6594] <... close resumed>) = 0 [pid 6597] symlink("/dev/binderfs", "./binderfs" [pid 6594] symlink("/dev/binderfs", "./binderfs" [pid 6597] <... symlink resumed>) = 0 [pid 6594] <... symlink resumed>) = 0 executing program executing program [pid 6597] write(1, "executing program\n", 18 [pid 6594] write(1, "executing program\n", 18 [pid 6597] <... write resumed>) = 18 [pid 6594] <... write resumed>) = 18 [pid 6597] memfd_create("syzkaller", 0 [pid 6594] memfd_create("syzkaller", 0 [pid 6597] <... memfd_create resumed>) = 3 [pid 6596] <... openat resumed>) = 3 [pid 6597] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6594] <... memfd_create resumed>) = 3 [pid 6597] <... mmap resumed>) = 0x7fb51f400000 [ 110.254084][ T5840] bcachefs (loop5): finished waiting for writes to stop [ 110.290412][ T5840] bcachefs (loop5): flushing journal and stopping allocators, journal seq 12 [pid 6594] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6596] write(3, "1000", 4 [pid 6594] <... mmap resumed>) = 0x7fb51f400000 [pid 6596] <... write resumed>) = 4 [pid 6596] close(3) = 0 [pid 6596] symlink("/dev/binderfs", "./binderfs") = 0 [ 110.338526][ T5840] bcachefs (loop5): flushing journal and stopping allocators complete, journal seq 13 [pid 6596] write(1, "executing program\n", 18executing program ) = 18 [pid 6596] memfd_create("syzkaller", 0) = 3 [pid 6596] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb51f400000 [ 110.412541][ T81] bcachefs (loop5): bch2_write_super(): fatal error loop5: Superblock write was silently dropped! (seq 0 expected 54) [ 110.426427][ T5840] bcachefs (loop5): unshutdown complete, journal seq 14 [ 110.481912][ T81] bcachefs (loop5): fatal error - emergency read only [ 110.520693][ T81] ------------[ cut here ]------------ [ 110.526597][ T81] kernel BUG at fs/bcachefs/journal.h:375! [ 110.550937][ T81] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI [ 110.558145][ T81] CPU: 1 UID: 0 PID: 81 Comm: kworker/u8:5 Not tainted 6.12.0-rc7-syzkaller-00042-gf1b785f4c787 #0 [ 110.568852][ T81] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 [pid 6596] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6595] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 [ 110.578930][ T81] Workqueue: btree_update btree_interior_update_work [ 110.585677][ T81] RIP: 0010:__bch2_trans_commit+0x9232/0x93c0 [ 110.591775][ T81] Code: fd 90 0f 0b e8 ff 41 75 fd 90 0f 0b e8 f7 41 75 fd 90 0f 0b e8 ef 41 75 fd 90 0f 0b e8 e7 41 75 fd 90 0f 0b e8 df 41 75 fd 90 <0f> 0b e8 d7 41 75 fd 90 0f 0b e8 cf 41 75 fd 90 0f 0b e8 c7 41 75 [ 110.611422][ T81] RSP: 0018:ffffc900020df6c0 EFLAGS: 00010293 [ 110.617542][ T81] RAX: ffffffff841fa831 RBX: 0000000000000000 RCX: ffff88801cb21e00 [pid 6593] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 [ 110.625528][ T81] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 110.633522][ T81] RBP: ffffc900020df890 R08: ffffffff841f4b68 R09: 1ffff1100d4694a8 [ 110.641522][ T81] R10: dffffc0000000000 R11: ffffed100d4694a9 R12: ffff88806a300000 [ 110.649519][ T81] R13: ffff88806a34a500 R14: 0000000000000044 R15: ffff88807c0680d0 [ 110.657609][ T81] FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 [ 110.666570][ T81] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 110.673180][ T81] CR2: 00007fb5203ff000 CR3: 00000000327ac000 CR4: 0000000000350ef0 [ 110.681216][ T81] Call Trace: [ 110.684519][ T81] [ 110.687466][ T81] ? __die_body+0x5f/0xb0 [ 110.691822][ T81] ? die+0x9e/0xc0 [ 110.695576][ T81] ? do_trap+0x15a/0x3a0 [ 110.699853][ T81] ? __bch2_trans_commit+0x9232/0x93c0 [ 110.705340][ T81] ? do_error_trap+0x1dc/0x2c0 [ 110.710136][ T81] ? __bch2_trans_commit+0x9232/0x93c0 [ 110.715640][ T81] ? __pfx_do_error_trap+0x10/0x10 [ 110.720772][ T81] ? report_bug+0x3e8/0x500 [ 110.725300][ T81] ? srso_alias_return_thunk+0x5/0xfbef5 [ 110.730947][ T81] ? handle_invalid_op+0x34/0x40 [ 110.735899][ T81] ? __bch2_trans_commit+0x9232/0x93c0 [ 110.741369][ T81] ? exc_invalid_op+0x38/0x50 [ 110.746112][ T81] ? asm_exc_invalid_op+0x1a/0x20 [ 110.751156][ T81] ? __bch2_trans_commit+0x3568/0x93c0 [ 110.756639][ T81] ? __bch2_trans_commit+0x9231/0x93c0 [ 110.762133][ T81] ? __bch2_trans_commit+0x9232/0x93c0 [ 110.767611][ T81] ? srso_alias_return_thunk+0x5/0xfbef5 [ 110.773348][ T81] ? __pfx___bch2_trans_commit+0x10/0x10 [ 110.778988][ T81] ? bch2_dev_btree_bitmap_marked+0x2f/0xda0 [ 110.784982][ T81] ? __bch2_trans_jset_entry_alloc+0x2c7/0x4b0 [ 110.791147][ T81] ? btree_interior_update_work+0x117a/0x2b10 [ 110.797236][ T81] btree_interior_update_work+0x1492/0x2b10 [ 110.803163][ T81] ? __pfx_btree_interior_update_work+0x10/0x10 [ 110.809432][ T81] ? __pfx_lock_acquire+0x10/0x10 [ 110.814470][ T81] ? srso_alias_return_thunk+0x5/0xfbef5 [ 110.820115][ T81] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 110.826146][ T81] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 110.832499][ T81] ? process_scheduled_works+0x976/0x1850 [ 110.838230][ T81] process_scheduled_works+0xa65/0x1850 [ 110.843800][ T81] ? __pfx_process_scheduled_works+0x10/0x10 [ 110.849795][ T81] ? assign_work+0x364/0x3d0 [ 110.854397][ T81] worker_thread+0x870/0xd30 [ 110.859005][ T81] ? __kthread_parkme+0x169/0x1d0 [ 110.864046][ T81] ? __pfx_worker_thread+0x10/0x10 [ 110.869175][ T81] kthread+0x2f2/0x390 [ 110.873246][ T81] ? __pfx_worker_thread+0x10/0x10 [ 110.878365][ T81] ? __pfx_kthread+0x10/0x10 [pid 6597] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 [ 110.882960][ T81] ret_from_fork+0x4d/0x80 [ 110.887389][ T81] ? __pfx_kthread+0x10/0x10 [ 110.891982][ T81] ret_from_fork_asm+0x1a/0x30 [ 110.896765][ T81] [ 110.899776][ T81] Modules linked in: [ 110.903835][ T81] ---[ end trace 0000000000000000 ]--- [ 111.000662][ T81] RIP: 0010:__bch2_trans_commit+0x9232/0x93c0 [ 111.006893][ T81] Code: fd 90 0f 0b e8 ff 41 75 fd 90 0f 0b e8 f7 41 75 fd 90 0f 0b e8 ef 41 75 fd 90 0f 0b e8 e7 41 75 fd 90 0f 0b e8 df 41 75 fd 90 <0f> 0b e8 d7 41 75 fd 90 0f 0b e8 cf 41 75 fd 90 0f 0b e8 c7 41 75 [pid 6594] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6596] <... write resumed>) = 16777216 [pid 6596] munmap(0x7fb51f400000, 138412032) = 0 [pid 6596] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6596] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6596] close(3) = 0 [pid 6596] close(4) = 0 [pid 6596] mkdir("./file0", 0777) = 0 [ 111.060880][ T81] RSP: 0018:ffffc900020df6c0 EFLAGS: 00010293 [ 111.080909][ T81] RAX: ffffffff841fa831 RBX: 0000000000000000 RCX: ffff88801cb21e00 [ 111.091476][ T6596] loop0: detected capacity change from 0 to 32768 [ 111.114213][ T81] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 111.131264][ T81] RBP: ffffc900020df890 R08: ffffffff841f4b68 R09: 1ffff1100d4694a8 [pid 6596] mount("/dev/loop0", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6595] <... write resumed>) = 16777216 [pid 6593] <... write resumed>) = 16777216 [ 111.162270][ T6596] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 111.172438][ T81] R10: dffffc0000000000 R11: ffffed100d4694a9 R12: ffff88806a300000 [pid 6595] munmap(0x7fb51f400000, 138412032) = 0 [pid 6593] munmap(0x7fb51f400000, 138412032 [pid 6595] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6595] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6593] <... munmap resumed>) = 0 [pid 6595] close(3) = 0 [pid 6595] close(4) = 0 [pid 6595] mkdir("./file0", 0777) = 0 [pid 6595] mount("/dev/loop1", "./file0", "bcachefs", MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6593] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6594] <... write resumed>) = 16777216 [pid 6593] <... openat resumed>) = 4 [ 111.204050][ T6596] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 111.212552][ T81] R13: ffff88806a34a500 R14: 0000000000000044 R15: ffff88807c0680d0 [ 111.220579][ T81] FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 [ 111.241251][ T6595] loop1: detected capacity change from 0 to 32768 [pid 6594] munmap(0x7fb51f400000, 138412032 [pid 6593] ioctl(4, LOOP_SET_FD, 3 [pid 6597] <... write resumed>) = 16777216 [pid 6593] <... ioctl resumed>) = 0 [ 111.259913][ T81] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 111.266854][ T81] CR2: 00007fb5203ff000 CR3: 0000000062ed4000 CR4: 0000000000350ef0 [ 111.275150][ T6593] loop2: detected capacity change from 0 to 32768 [ 111.282105][ T81] Kernel panic - not syncing: Fatal exception [ 111.288513][ T81] Kernel Offset: disabled [ 111.292836][ T81] Rebooting in 86400 seconds..