./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3980654845 <...> Warning: Permanently added '10.128.1.4' (ED25519) to the list of known hosts. execve("./syz-executor3980654845", ["./syz-executor3980654845"], 0x7ffd2f2cdf60 /* 10 vars */) = 0 brk(NULL) = 0x55558491f000 brk(0x55558491fd00) = 0x55558491fd00 arch_prctl(ARCH_SET_FS, 0x55558491f380) = 0 set_tid_address(0x55558491f650) = 5838 set_robust_list(0x55558491f660, 24) = 0 rseq(0x55558491fca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor3980654845", 4096) = 28 getrandom("\xd5\x0a\x8b\x66\x37\x17\x3f\x38", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55558491fd00 brk(0x555584940d00) = 0x555584940d00 brk(0x555584941000) = 0x555584941000 mprotect(0x7f5e36127000, 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 5839 attached , child_tidptr=0x55558491f650) = 5839 [pid 5838] openat(AT_FDCWD, "/sys/kernel/debug/x86/nmi_longest_ns", O_WRONLY|O_CLOEXEC [pid 5839] set_robust_list(0x55558491f660, 24) = 0 [pid 5838] <... openat resumed>) = 3 [pid 5838] write(3, "10000000000", 11) = 11 [pid 5838] close(3) = 0 [pid 5838] openat(AT_FDCWD, "/proc/sys/kernel/hung_task_check_interval_secs", O_WRONLY|O_CLOEXEC) = 3 [pid 5838] write(3, "20", 2) = 2 [pid 5838] close(3) = 0 [pid 5838] openat(AT_FDCWD, "/proc/sys/net/core/bpf_jit_kallsyms", O_WRONLY|O_CLOEXEC) = 3 [pid 5838] write(3, "1", 1) = 1 [pid 5838] close(3) = 0 [pid 5838] openat(AT_FDCWD, "/proc/sys/net/core/bpf_jit_harden", O_WRONLY|O_CLOEXEC) = 3 [pid 5838] write(3, "0", 1) = 1 [pid 5838] close(3) = 0 [pid 5838] openat(AT_FDCWD, "/proc/sys/kernel/kptr_restrict", O_WRONLY|O_CLOEXEC) = 3 [pid 5838] write(3, "0", 1) = 1 [pid 5838] close(3) = 0 [pid 5838] openat(AT_FDCWD, "/proc/sys/kernel/softlockup_all_cpu_backtrace", O_WRONLY|O_CLOEXEC) = 3 [pid 5838] write(3, "1", 1) = 1 [pid 5838] close(3) = 0 [pid 5838] openat(AT_FDCWD, "/proc/sys/fs/mount-max", O_WRONLY|O_CLOEXEC) = 3 [pid 5838] write(3, "100", 3) = 3 [pid 5838] close(3) = 0 [pid 5838] openat(AT_FDCWD, "/proc/sys/vm/oom_dump_tasks", O_WRONLY|O_CLOEXEC) = 3 [pid 5838] write(3, "0", 1) = 1 [pid 5838] close(3) = 0 [pid 5838] openat(AT_FDCWD, "/proc/sys/debug/exception-trace", O_WRONLY|O_CLOEXEC) = 3 [pid 5838] write(3, "0", 1) = 1 [pid 5838] close(3) = 0 [pid 5838] openat(AT_FDCWD, "/proc/sys/kernel/printk", O_WRONLY|O_CLOEXEC) = 3 [pid 5838] write(3, "7 4 1 3", 7) = 7 [pid 5838] close(3) = 0 [pid 5838] openat(AT_FDCWD, "/proc/sys/kernel/keys/gc_delay", O_WRONLY|O_CLOEXEC) = 3 [pid 5838] write(3, "1", 1) = 1 [pid 5838] close(3) = 0 [pid 5838] openat(AT_FDCWD, "/proc/sys/vm/oom_kill_allocating_task", O_WRONLY|O_CLOEXEC) = 3 [pid 5838] write(3, "1", 1) = 1 [pid 5838] close(3) = 0 [pid 5838] openat(AT_FDCWD, "/proc/sys/kernel/ctrl-alt-del", O_WRONLY|O_CLOEXEC) = 3 [pid 5838] write(3, "0", 1) = 1 [pid 5838] close(3) = 0 [pid 5838] openat(AT_FDCWD, "/proc/sys/kernel/cad_pid", O_WRONLY|O_CLOEXEC) = 3 [pid 5838] write(3, "5839", 4) = 4 [pid 5838] close(3) = 0 [pid 5838] kill(5839, SIGKILL) = 0 [pid 5839] +++ killed by SIGKILL +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=5839, si_uid=0, si_status=SIGKILL, si_utime=0, si_stime=0} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5840 attached , child_tidptr=0x55558491f650) = 5840 [pid 5840] set_robust_list(0x55558491f660, 24) = 0 [pid 5838] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5840] mkdir("./syzkaller.sycZmA", 0700./strace-static-x86_64: Process 5841 attached [pid 5838] <... clone resumed>, child_tidptr=0x55558491f650) = 5841 [pid 5841] set_robust_list(0x55558491f660, 24 [pid 5838] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5841] <... set_robust_list resumed>) = 0 ./strace-static-x86_64: Process 5842 attached [pid 5840] <... mkdir resumed>) = 0 [pid 5838] <... clone resumed>, child_tidptr=0x55558491f650) = 5842 [pid 5838] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5843 attached , child_tidptr=0x55558491f650) = 5843 [pid 5842] set_robust_list(0x55558491f660, 24 [pid 5841] mkdir("./syzkaller.Ige4EE", 0700 [pid 5840] chmod("./syzkaller.sycZmA", 0777 [pid 5843] set_robust_list(0x55558491f660, 24 [pid 5840] <... chmod resumed>) = 0 [pid 5843] <... set_robust_list resumed>) = 0 [pid 5838] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5842] <... set_robust_list resumed>) = 0 [pid 5843] mkdir("./syzkaller.SLwcGG", 0700 [pid 5842] getrandom( [pid 5840] chdir("./syzkaller.sycZmA") = 0 [pid 5840] mkdir("./0", 0777./strace-static-x86_64: Process 5844 attached [pid 5843] <... mkdir resumed>) = 0 [pid 5842] <... getrandom resumed>"\x4f\x21\x17\x68\x15\xdf\x04\xab", 8, GRND_NONBLOCK) = 8 [pid 5841] <... mkdir resumed>) = 0 [pid 5840] <... mkdir resumed>) = 0 [pid 5838] <... clone resumed>, child_tidptr=0x55558491f650) = 5844 [pid 5841] chmod("./syzkaller.Ige4EE", 0777 [pid 5838] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5843] chmod("./syzkaller.SLwcGG", 0777 [pid 5842] mkdir("./syzkaller.L9ldJJ", 0700./strace-static-x86_64: Process 5845 attached [pid 5844] set_robust_list(0x55558491f660, 24 [pid 5843] <... chmod resumed>) = 0 [pid 5842] <... mkdir resumed>) = 0 [pid 5841] <... chmod resumed>) = 0 [pid 5840] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5838] <... clone resumed>, child_tidptr=0x55558491f650) = 5845 [pid 5845] set_robust_list(0x55558491f660, 24 [pid 5844] <... set_robust_list resumed>) = 0 [pid 5841] chdir("./syzkaller.Ige4EE" [pid 5843] chdir("./syzkaller.SLwcGG" [pid 5842] chmod("./syzkaller.L9ldJJ", 0777 [pid 5840] <... openat resumed>) = 3 [pid 5843] <... chdir resumed>) = 0 [pid 5845] <... set_robust_list resumed>) = 0 [pid 5844] mkdir("./syzkaller.W68SEx", 0700 [pid 5841] <... chdir resumed>) = 0 [pid 5840] ioctl(3, LOOP_CLR_FD [pid 5843] mkdir("./0", 0777 [pid 5842] <... chmod resumed>) = 0 [pid 5845] mkdir("./syzkaller.QJThnI", 0700 [pid 5842] chdir("./syzkaller.L9ldJJ" [pid 5843] <... mkdir resumed>) = 0 [pid 5842] <... chdir resumed>) = 0 [pid 5841] mkdir("./0", 0777 [pid 5840] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5842] mkdir("./0", 0777 [pid 5845] <... mkdir resumed>) = 0 [pid 5844] <... mkdir resumed>) = 0 [pid 5843] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5841] <... mkdir resumed>) = 0 [pid 5840] close(3 [pid 5844] chmod("./syzkaller.W68SEx", 0777 [pid 5842] <... mkdir resumed>) = 0 [pid 5845] chmod("./syzkaller.QJThnI", 0777 [pid 5844] <... chmod resumed>) = 0 [pid 5840] <... close resumed>) = 0 [pid 5845] <... chmod resumed>) = 0 [pid 5843] <... openat resumed>) = 3 [pid 5842] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5841] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5845] chdir("./syzkaller.QJThnI") = 0 [pid 5840] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5845] mkdir("./0", 0777 [pid 5841] ioctl(3, LOOP_CLR_FD [pid 5844] chdir("./syzkaller.W68SEx"./strace-static-x86_64: Process 5846 attached [pid 5845] <... mkdir resumed>) = 0 [pid 5844] <... chdir resumed>) = 0 [pid 5843] ioctl(3, LOOP_CLR_FD [pid 5842] <... openat resumed>) = 3 [pid 5841] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5846] set_robust_list(0x55558491f660, 24 [pid 5844] mkdir("./0", 0777 [pid 5843] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5842] ioctl(3, LOOP_CLR_FD [pid 5841] close(3 [pid 5840] <... clone resumed>, child_tidptr=0x55558491f650) = 5846 [pid 5846] <... set_robust_list resumed>) = 0 [pid 5845] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5844] <... mkdir resumed>) = 0 [pid 5843] close(3 [pid 5842] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5846] chdir("./0" [pid 5845] <... openat resumed>) = 3 [pid 5844] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5843] <... close resumed>) = 0 [pid 5841] <... close resumed>) = 0 [pid 5845] ioctl(3, LOOP_CLR_FD [pid 5844] <... openat resumed>) = 3 [pid 5843] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5842] close(3 [pid 5841] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5848 attached [pid 5846] <... chdir resumed>) = 0 [pid 5845] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5844] ioctl(3, LOOP_CLR_FD [pid 5842] <... close resumed>) = 0 ./strace-static-x86_64: Process 5849 attached [pid 5848] set_robust_list(0x55558491f660, 24 [pid 5846] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5845] close(3 [pid 5844] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5842] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5843] <... clone resumed>, child_tidptr=0x55558491f650) = 5848 [pid 5841] <... clone resumed>, child_tidptr=0x55558491f650) = 5849 [pid 5845] <... close resumed>) = 0 [pid 5849] set_robust_list(0x55558491f660, 24 [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5846] <... prctl resumed>) = 0 [pid 5846] setpgid(0, 0) = 0 ./strace-static-x86_64: Process 5851 attached ./strace-static-x86_64: Process 5850 attached [pid 5849] <... set_robust_list resumed>) = 0 [pid 5846] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5844] close(3 [pid 5849] chdir("./0" [pid 5848] <... set_robust_list resumed>) = 0 [pid 5844] <... close resumed>) = 0 [pid 5842] <... clone resumed>, child_tidptr=0x55558491f650) = 5850 [pid 5851] set_robust_list(0x55558491f660, 24 [pid 5850] set_robust_list(0x55558491f660, 24 [pid 5849] <... chdir resumed>) = 0 [pid 5848] chdir("./0" [pid 5846] <... openat resumed>) = 3 [pid 5845] <... clone resumed>, child_tidptr=0x55558491f650) = 5851 [pid 5844] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5852 attached [pid 5851] <... set_robust_list resumed>) = 0 [pid 5850] <... set_robust_list resumed>) = 0 [pid 5849] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5848] <... chdir resumed>) = 0 [pid 5846] write(3, "1000", 4 [pid 5852] set_robust_list(0x55558491f660, 24 [pid 5851] chdir("./0" [pid 5848] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5846] <... write resumed>) = 4 [pid 5852] <... set_robust_list resumed>) = 0 [pid 5851] <... chdir resumed>) = 0 [pid 5850] chdir("./0" [pid 5848] <... prctl resumed>) = 0 [pid 5846] close(3 [pid 5849] <... prctl resumed>) = 0 [pid 5844] <... clone resumed>, child_tidptr=0x55558491f650) = 5852 [pid 5852] chdir("./0" [pid 5851] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5850] <... chdir resumed>) = 0 [pid 5848] setpgid(0, 0 [pid 5846] <... close resumed>) = 0 [pid 5850] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5849] setpgid(0, 0 [pid 5850] <... prctl resumed>) = 0 [pid 5849] <... setpgid resumed>) = 0 [pid 5851] <... prctl resumed>) = 0 [pid 5850] setpgid(0, 0 [pid 5848] <... setpgid resumed>) = 0 [pid 5846] symlink("/dev/binderfs", "./binderfs" [pid 5852] <... chdir resumed>) = 0 [pid 5851] setpgid(0, 0 [pid 5849] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5848] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5846] <... symlink resumed>) = 0 [pid 5852] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5851] <... setpgid resumed>) = 0 [pid 5850] <... setpgid resumed>) = 0 [pid 5852] <... prctl resumed>) = 0 executing program [pid 5851] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5850] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5849] <... openat resumed>) = 3 [pid 5848] <... openat resumed>) = 3 [pid 5846] write(1, "executing program\n", 18 [pid 5852] setpgid(0, 0 [pid 5846] <... write resumed>) = 18 [pid 5852] <... setpgid resumed>) = 0 [pid 5851] <... openat resumed>) = 3 [pid 5849] write(3, "1000", 4 [pid 5848] write(3, "1000", 4 [pid 5846] memfd_create("syzkaller", 0 [pid 5852] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5851] write(3, "1000", 4 executing program executing program executing program [pid 5850] <... openat resumed>) = 3 [pid 5848] <... write resumed>) = 4 [pid 5851] <... write resumed>) = 4 [pid 5852] <... openat resumed>) = 3 [pid 5851] close(3 [pid 5850] write(3, "1000", 4 [pid 5848] close(3 [pid 5846] <... memfd_create resumed>) = 3 [pid 5851] <... close resumed>) = 0 [pid 5849] <... write resumed>) = 4 [pid 5850] <... write resumed>) = 4 [pid 5848] <... close resumed>) = 0 [pid 5852] write(3, "1000", 4 [pid 5851] symlink("/dev/binderfs", "./binderfs" [pid 5848] symlink("/dev/binderfs", "./binderfs" [pid 5846] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5852] <... write resumed>) = 4 [pid 5851] <... symlink resumed>) = 0 [pid 5848] <... symlink resumed>) = 0 [pid 5846] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5852] close(3) = 0 [pid 5852] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5848] write(1, "executing program\n", 18 [pid 5852] write(1, "executing program\n", 18 [pid 5851] write(1, "executing program\n", 18 [pid 5848] <... write resumed>) = 18 [pid 5852] <... write resumed>) = 18 [pid 5848] memfd_create("syzkaller", 0 [pid 5851] <... write resumed>) = 18 [pid 5852] memfd_create("syzkaller", 0 [pid 5851] memfd_create("syzkaller", 0 [pid 5850] close(3 [pid 5849] close(3 [pid 5848] <... memfd_create resumed>) = 3 [pid 5849] <... close resumed>) = 0 [pid 5850] <... close resumed>) = 0 [pid 5851] <... memfd_create resumed>) = 3 [pid 5848] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5852] <... memfd_create resumed>) = 3 [pid 5851] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5850] symlink("/dev/binderfs", "./binderfs" [pid 5849] symlink("/dev/binderfs", "./binderfs" [pid 5848] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5852] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5850] <... symlink resumed>) = 0 [pid 5849] <... symlink resumed>) = 0 [pid 5849] write(1, "executing program\n", 18executing program executing program [pid 5850] write(1, "executing program\n", 18) = 18 [pid 5849] <... write resumed>) = 18 [pid 5851] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5850] memfd_create("syzkaller", 0 [pid 5852] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5849] memfd_create("syzkaller", 0 [pid 5850] <... memfd_create resumed>) = 3 [pid 5850] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5849] <... memfd_create resumed>) = 3 [pid 5850] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5849] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 5850] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5849] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5852] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5851] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5848] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5849] <... write resumed>) = 16777216 [pid 5850] <... write resumed>) = 16777216 [pid 5849] munmap(0x7f5e2dc00000, 138412032 [pid 5846] <... write resumed>) = 16777216 [pid 5850] munmap(0x7f5e2dc00000, 138412032 [pid 5846] munmap(0x7f5e2dc00000, 138412032 [pid 5852] <... write resumed>) = 16777216 [pid 5851] <... write resumed>) = 16777216 [pid 5850] <... munmap resumed>) = 0 [pid 5846] <... munmap resumed>) = 0 [pid 5850] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5846] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5850] <... openat resumed>) = 4 [pid 5846] <... openat resumed>) = 4 [pid 5852] munmap(0x7f5e2dc00000, 138412032 [pid 5846] ioctl(4, LOOP_SET_FD, 3 [pid 5850] ioctl(4, LOOP_SET_FD, 3 [pid 5848] <... write resumed>) = 16777216 [pid 5851] munmap(0x7f5e2dc00000, 138412032 [pid 5850] <... ioctl resumed>) = 0 [pid 5849] <... munmap resumed>) = 0 [pid 5848] munmap(0x7f5e2dc00000, 138412032 [pid 5846] <... ioctl resumed>) = 0 [pid 5850] close(3 [pid 5849] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 5852] <... munmap resumed>) = 0 [pid 5851] <... munmap resumed>) = 0 [pid 5850] <... close resumed>) = 0 [pid 5849] ioctl(4, LOOP_SET_FD, 3 [pid 5848] <... munmap resumed>) = 0 [pid 5846] close(3 [pid 5852] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5851] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5850] close(4 [pid 5848] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5846] <... close resumed>) = 0 [pid 5852] <... openat resumed>) = 4 [pid 5851] <... openat resumed>) = 4 [pid 5846] close(4 [pid 5852] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5851] ioctl(4, LOOP_SET_FD, 3 [pid 5846] <... close resumed>) = 0 [pid 5848] <... openat resumed>) = 4 [pid 5850] <... close resumed>) = 0 [pid 5848] ioctl(4, LOOP_SET_FD, 3 [ 75.902534][ T5846] loop0: detected capacity change from 0 to 32768 [ 75.903327][ T5850] loop2: detected capacity change from 0 to 32768 [ 75.938170][ T5849] loop1: detected capacity change from 0 to 32768 [ 75.943875][ T5852] loop4: detected capacity change from 0 to 32768 [pid 5850] mkdir("./file0", 0777 [pid 5851] <... ioctl resumed>) = 0 [pid 5852] close(3 [pid 5850] <... mkdir resumed>) = 0 [pid 5849] <... ioctl resumed>) = 0 [pid 5846] mkdir("./file0", 0777 [pid 5850] mount("/dev/loop2", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 5846] <... mkdir resumed>) = 0 [pid 5846] mount("/dev/loop0", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 5852] <... close resumed>) = 0 [pid 5851] close(3 [pid 5849] close(3 [pid 5852] close(4 [pid 5851] <... close resumed>) = 0 [pid 5849] <... close resumed>) = 0 [pid 5852] <... close resumed>) = 0 [pid 5851] close(4 [pid 5849] close(4 [pid 5852] mkdir("./file0", 0777 [pid 5851] <... close resumed>) = 0 [pid 5849] <... close resumed>) = 0 [pid 5852] <... mkdir resumed>) = 0 [pid 5851] mkdir("./file0", 0777 [pid 5849] mkdir("./file0", 0777 [pid 5851] <... mkdir resumed>) = 0 [pid 5849] <... mkdir resumed>) = 0 [pid 5851] mount("/dev/loop5", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 5849] mount("/dev/loop1", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [ 75.954546][ T5851] loop5: detected capacity change from 0 to 32768 [ 75.954674][ T5848] loop3: detected capacity change from 0 to 32768 [ 75.974155][ T5850] ======================================================= [ 75.974155][ T5850] WARNING: The mand mount option has been deprecated and [ 75.974155][ T5850] and is ignored by this kernel. Remove the mand [ 75.974155][ T5850] option from the mount to silence this warning. [pid 5852] mount("/dev/loop4", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 5848] <... ioctl resumed>) = 0 [pid 5848] close(3) = 0 [pid 5848] close(4) = 0 [pid 5848] mkdir("./file0", 0777) = 0 [ 75.974155][ T5850] ======================================================= [ 76.247001][ T5852] 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 [ 76.247770][ T5850] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 76.278697][ T5849] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 76.279302][ T5852] bcachefs (loop4): recovering from clean shutdown, journal seq 10 [ 76.287935][ T5849] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 76.290218][ T5851] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 76.297046][ T5852] bcachefs (loop4): Version upgrade required: [ 76.297046][ T5852] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 76.297046][ T5852] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 76.297046][ T5852] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 76.308065][ T5851] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 76.385094][ T5848] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 76.410743][ T5848] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 76.412735][ T5852] bcachefs (loop4): dropping and reconstructing all alloc info [ 76.420274][ T5846] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 76.459621][ T5852] bcachefs (loop4): check_topology... done [ 76.470771][ T5852] bcachefs (loop4): accounting_read... done [ 76.488147][ T5846] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 76.488201][ T5850] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 76.498737][ T5852] bcachefs (loop4): alloc_read... done [pid 5848] mount("/dev/loop3", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 5849] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5849] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5849] ioctl(3, LOOP_CLR_FD) = 0 [ 76.533812][ T5849] bcachefs: bch2_fs_get_tree() error: EINVAL [ 76.542266][ T5852] bcachefs (loop4): stripes_read... done [ 76.549869][ T5852] bcachefs (loop4): snapshots_read... done [ 76.583810][ T5852] bcachefs (loop4): check_allocations... [ 76.653461][ T5851] bcachefs: bch2_fs_get_tree() error: EINVAL [ 76.677823][ T5848] bcachefs: bch2_fs_get_tree() error: EINVAL [ 76.684687][ T5846] bcachefs: bch2_fs_get_tree() error: EINVAL [ 76.693396][ T5852] done [pid 5849] close(3 [pid 5851] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5848] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5846] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5851] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5846] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5851] ioctl(3, LOOP_CLR_FD [pid 5848] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5846] <... openat resumed>) = 3 [pid 5851] <... ioctl resumed>) = 0 [pid 5848] <... openat resumed>) = 3 [pid 5846] ioctl(3, LOOP_CLR_FD [pid 5851] close(3 [pid 5848] ioctl(3, LOOP_CLR_FD [pid 5846] <... ioctl resumed>) = 0 [pid 5848] <... ioctl resumed>) = 0 [pid 5846] close(3 [ 76.702416][ T5852] bcachefs (loop4): going read-write [pid 5848] close(3 [pid 5852] <... mount resumed>) = 0 [pid 5852] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5852] chdir("./file0" [pid 5850] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5850] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5852] <... chdir resumed>) = 0 [pid 5850] <... openat resumed>) = 3 [pid 5850] ioctl(3, LOOP_CLR_FD [pid 5852] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5850] <... ioctl resumed>) = 0 [pid 5850] close(3 [pid 5852] <... openat resumed>) = 4 [pid 5852] ioctl(4, LOOP_CLR_FD) = 0 [pid 5852] close(4) = 0 [ 76.788565][ T5852] bcachefs (loop4): done starting filesystem [ 76.813133][ T5850] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5852] unlinkat(AT_FDCWD, "./file1", 0) = 0 [pid 5852] exit_group(0) = ? [pid 5852] +++ exited with 0 +++ [pid 5849] <... close resumed>) = 0 [pid 5844] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5852, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=42 /* 0.42 s */} --- [pid 5849] unlinkat(AT_FDCWD, "./file1", 0) = -1 ENOENT (No such file or directory) [pid 5844] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5849] exit_group(0 [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5849] <... exit_group resumed>) = ? [pid 5844] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5849] +++ exited with 0 +++ [pid 5844] newfstatat(3, "", [pid 5841] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5849, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=40 /* 0.40 s */} --- [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] restart_syscall(<... resuming interrupted clone ...> [pid 5844] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [ 76.894897][ T5852] syz-executor398 (5852) used greatest stack depth: 18296 bytes left [pid 5844] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] <... restart_syscall resumed>) = 0 [pid 5841] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5841] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5841] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5841] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5841] newfstatat(AT_FDCWD, "./0/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] unlink("./0/binderfs" [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] <... unlink resumed>) = 0 [pid 5841] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] newfstatat(AT_FDCWD, "./0/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] unlink("./0/binderfs" [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] newfstatat(AT_FDCWD, "./0/file0", [pid 5844] <... unlink resumed>) = 0 [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5841] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5841] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5841] close(4) = 0 [pid 5841] rmdir("./0/file0") = 0 [pid 5841] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5841] close(3) = 0 [pid 5841] rmdir("./0") = 0 [pid 5841] mkdir("./1", 0777) = 0 [pid 5841] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5841] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5841] close(3) = 0 [pid 5841] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5903 attached , child_tidptr=0x55558491f650) = 5903 [pid 5903] set_robust_list(0x55558491f660, 24) = 0 [pid 5903] chdir("./1") = 0 [pid 5903] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5903] setpgid(0, 0) = 0 [pid 5903] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [ 77.067881][ T5844] bcachefs (loop4): shutting down [pid 5903] write(3, "1000", 4) = 4 [pid 5903] close(3) = 0 [pid 5851] <... close resumed>) = 0 [pid 5903] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5851] unlinkat(AT_FDCWD, "./file1", 0) = -1 ENOENT (No such file or directory) executing program [pid 5903] write(1, "executing program\n", 18 [pid 5851] exit_group(0) = ? [pid 5903] <... write resumed>) = 18 [pid 5851] +++ exited with 0 +++ [pid 5903] memfd_create("syzkaller", 0 [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5851, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=50 /* 0.50 s */} --- [pid 5903] <... memfd_create resumed>) = 3 [pid 5845] restart_syscall(<... resuming interrupted clone ...> [pid 5903] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 5845] <... restart_syscall resumed>) = 0 [pid 5845] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5850] <... close resumed>) = 0 [pid 5846] <... close resumed>) = 0 [pid 5845] <... openat resumed>) = 3 [ 77.113278][ T5844] bcachefs (loop4): going read-only [ 77.118906][ T5844] bcachefs (loop4): finished waiting for writes to stop [pid 5845] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5848] <... close resumed>) = 0 [pid 5845] getdents64(3, [pid 5846] unlinkat(AT_FDCWD, "./file1", 0 [pid 5850] unlinkat(AT_FDCWD, "./file1", 0 [pid 5846] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5845] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5850] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5850] exit_group(0) = ? [pid 5846] exit_group(0 [pid 5845] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5846] <... exit_group resumed>) = ? [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5850] +++ exited with 0 +++ [pid 5842] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5850, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=47 /* 0.47 s */} --- [pid 5842] restart_syscall(<... resuming interrupted clone ...> [pid 5848] unlinkat(AT_FDCWD, "./file1", 0 [pid 5846] +++ exited with 0 +++ [pid 5845] newfstatat(AT_FDCWD, "./0/binderfs", [pid 5842] <... restart_syscall resumed>) = 0 [pid 5840] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5846, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=49 /* 0.49 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 5845] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] getdents64(3, [pid 5842] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5845] unlink("./0/binderfs" [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] <... openat resumed>) = 3 [pid 5840] newfstatat(AT_FDCWD, "./0/binderfs", [pid 5842] newfstatat(3, "", [pid 5840] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] unlink("./0/binderfs" [pid 5842] getdents64(3, [pid 5840] <... unlink resumed>) = 0 [pid 5845] <... unlink resumed>) = 0 [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5840] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./0/file0", [pid 5842] newfstatat(AT_FDCWD, "./0/binderfs", [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5848] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5842] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5848] exit_group(0 [pid 5842] unlink("./0/binderfs" [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5848] <... exit_group resumed>) = ? [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] <... unlink resumed>) = 0 [pid 5840] openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5845] newfstatat(AT_FDCWD, "./0/file0", [pid 5842] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] <... openat resumed>) = 4 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] newfstatat(AT_FDCWD, "./0/file0", [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] newfstatat(4, "", [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5848] +++ exited with 0 +++ [pid 5842] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] getdents64(4, [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5842] openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5840] getdents64(4, [pid 5842] <... openat resumed>) = 4 [pid 5840] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5842] newfstatat(4, "", [pid 5840] close(4 [pid 5845] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5848, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=38 /* 0.38 s */} --- [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] <... close resumed>) = 0 [pid 5845] openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5843] restart_syscall(<... resuming interrupted clone ...> [pid 5842] getdents64(4, [pid 5840] rmdir("./0/file0" [pid 5845] <... openat resumed>) = 4 [pid 5842] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5840] <... rmdir resumed>) = 0 [pid 5845] newfstatat(4, "", [pid 5842] getdents64(4, [pid 5840] getdents64(3, [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5840] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5845] getdents64(4, [pid 5842] close(4) = 0 [pid 5840] close(3 [pid 5842] rmdir("./0/file0" [pid 5840] <... close resumed>) = 0 [pid 5845] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5842] <... rmdir resumed>) = 0 [pid 5840] rmdir("./0" [pid 5845] getdents64(4, [pid 5842] getdents64(3, [pid 5840] <... rmdir resumed>) = 0 [pid 5845] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5845] close(4 [pid 5842] close(3 [pid 5840] mkdir("./1", 0777 [pid 5842] <... close resumed>) = 0 [pid 5845] <... close resumed>) = 0 [pid 5843] <... restart_syscall resumed>) = 0 [pid 5842] rmdir("./0" [pid 5840] <... mkdir resumed>) = 0 [pid 5845] rmdir("./0/file0" [pid 5842] <... rmdir resumed>) = 0 [pid 5842] mkdir("./1", 0777 [pid 5840] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5845] <... rmdir resumed>) = 0 [pid 5842] <... mkdir resumed>) = 0 [pid 5843] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5840] <... openat resumed>) = 3 [pid 5845] getdents64(3, [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] <... openat resumed>) = 3 [pid 5840] ioctl(3, LOOP_CLR_FD [pid 5845] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5843] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5840] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5843] <... openat resumed>) = 3 [pid 5842] ioctl(3, LOOP_CLR_FD [pid 5840] close(3 [pid 5843] newfstatat(3, "", [pid 5842] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5840] <... close resumed>) = 0 [pid 5842] close(3 [pid 5840] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5904 attached [pid 5842] <... close resumed>) = 0 [pid 5842] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5840] <... clone resumed>, child_tidptr=0x55558491f650) = 5904 ./strace-static-x86_64: Process 5905 attached [pid 5904] set_robust_list(0x55558491f660, 24 [pid 5842] <... clone resumed>, child_tidptr=0x55558491f650) = 5905 [pid 5905] set_robust_list(0x55558491f660, 24 [pid 5904] <... set_robust_list resumed>) = 0 [pid 5905] <... set_robust_list resumed>) = 0 [pid 5904] chdir("./1" [pid 5905] chdir("./1" [pid 5904] <... chdir resumed>) = 0 [pid 5904] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5905] <... chdir resumed>) = 0 [pid 5904] setpgid(0, 0 [pid 5905] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5904] <... setpgid resumed>) = 0 [ 77.190424][ T5844] bcachefs (loop4): flushing journal and stopping allocators, journal seq 12 [pid 5905] setpgid(0, 0 [pid 5904] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] close(3 [pid 5905] <... setpgid resumed>) = 0 [pid 5843] getdents64(3, [pid 5845] <... close resumed>) = 0 [pid 5905] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5905] write(3, "1000", 4 [pid 5904] <... openat resumed>) = 3 [pid 5905] <... write resumed>) = 4 [pid 5904] write(3, "1000", 4 [pid 5905] close(3 [pid 5904] <... write resumed>) = 4 [pid 5905] <... close resumed>) = 0 [pid 5904] close(3 [pid 5905] symlink("/dev/binderfs", "./binderfs" [pid 5904] <... close resumed>) = 0 [pid 5905] <... symlink resumed>) = 0 [pid 5904] symlink("/dev/binderfs", "./binderfs"executing program executing program [pid 5845] rmdir("./0" [pid 5843] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5904] <... symlink resumed>) = 0 [pid 5905] write(1, "executing program\n", 18 [pid 5904] write(1, "executing program\n", 18 [pid 5905] <... write resumed>) = 18 [pid 5904] <... write resumed>) = 18 [pid 5845] <... rmdir resumed>) = 0 [pid 5843] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5905] memfd_create("syzkaller", 0 [pid 5904] memfd_create("syzkaller", 0 [pid 5845] mkdir("./1", 0777 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5905] <... memfd_create resumed>) = 3 [pid 5843] newfstatat(AT_FDCWD, "./0/binderfs", [pid 5905] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 5845] <... mkdir resumed>) = 0 [pid 5843] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5904] <... memfd_create resumed>) = 3 [pid 5904] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 5845] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5843] unlink("./0/binderfs") = 0 [pid 5845] <... openat resumed>) = 3 [pid 5843] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] ioctl(3, LOOP_CLR_FD [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5843] newfstatat(AT_FDCWD, "./0/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] close(3 [pid 5843] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] <... close resumed>) = 0 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5907 attached [pid 5843] openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5843] newfstatat(4, "", [pid 5845] <... clone resumed>, child_tidptr=0x55558491f650) = 5907 [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5907] set_robust_list(0x55558491f660, 24 [pid 5843] getdents64(4, [pid 5907] <... set_robust_list resumed>) = 0 [pid 5907] chdir("./1" [pid 5843] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5907] <... chdir resumed>) = 0 [pid 5907] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5843] getdents64(4, [pid 5907] <... prctl resumed>) = 0 [pid 5843] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5843] close(4 [pid 5907] setpgid(0, 0 [pid 5843] <... close resumed>) = 0 [pid 5907] <... setpgid resumed>) = 0 [pid 5843] rmdir("./0/file0" [pid 5907] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5843] <... rmdir resumed>) = 0 [pid 5843] getdents64(3, [pid 5907] <... openat resumed>) = 3 [pid 5843] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5907] write(3, "1000", 4 [pid 5843] close(3) = 0 [pid 5843] rmdir("./0" [pid 5907] <... write resumed>) = 4 [pid 5907] close(3 [pid 5843] <... rmdir resumed>) = 0 [pid 5907] <... close resumed>) = 0 [pid 5843] mkdir("./1", 0777 [pid 5907] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5907] write(1, "executing program\n", 18 [pid 5843] <... mkdir resumed>) = 0 [pid 5907] <... write resumed>) = 18 [pid 5843] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5907] memfd_create("syzkaller", 0) = 3 [pid 5843] <... openat resumed>) = 3 [pid 5907] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 5843] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5843] close(3) = 0 [ 77.324239][ T11] bcachefs (loop4): bch2_write_super(): fatal error loop4: Superblock write was silently dropped! (seq 0 expected 54) [pid 5843] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5908 attached , child_tidptr=0x55558491f650) = 5908 [pid 5908] set_robust_list(0x55558491f660, 24) = 0 [pid 5908] chdir("./1") = 0 [pid 5908] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5908] setpgid(0, 0) = 0 [pid 5908] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5908] write(3, "1000", 4) = 4 [pid 5908] close(3) = 0 [pid 5908] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5908] write(1, "executing program\n", 18executing program ) = 18 [pid 5908] memfd_create("syzkaller", 0) = 3 [pid 5908] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5903] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5908] <... mmap resumed>) = 0x7f5e2dc00000 [ 77.380387][ T11] bcachefs (loop4): fatal error - emergency read only [ 77.413479][ T5844] bcachefs (loop4): flushing journal and stopping allocators complete, journal seq 14 [pid 5905] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [ 77.457474][ T5844] bcachefs (loop4): unshutdown complete, journal seq 14 [ 77.494073][ T5844] bcachefs (loop4): done going read-only, filesystem not clean [pid 5904] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [ 77.613913][ T5844] bcachefs (loop4): shutdown complete [pid 5907] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5908] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5903] <... write resumed>) = 16777216 [pid 5903] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 5903] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 5903] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5903] close(3) = 0 [pid 5903] close(4) = 0 [pid 5903] mkdir("./file0", 0777) = 0 [pid 5903] mount("/dev/loop1", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 5905] <... write resumed>) = 16777216 [pid 5905] munmap(0x7f5e2dc00000, 138412032 [pid 5904] <... write resumed>) = 16777216 [ 77.973436][ T5903] loop1: detected capacity change from 0 to 32768 [pid 5904] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 5905] <... munmap resumed>) = 0 [pid 5904] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5905] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5905] ioctl(4, LOOP_SET_FD, 3 [pid 5904] <... openat resumed>) = 4 [pid 5904] ioctl(4, LOOP_SET_FD, 3 [pid 5905] <... ioctl resumed>) = 0 [pid 5904] <... ioctl resumed>) = 0 [pid 5905] close(3 [pid 5904] close(3 [pid 5905] <... close resumed>) = 0 [pid 5904] <... close resumed>) = 0 [pid 5905] close(4 [pid 5904] close(4) = 0 [pid 5904] mkdir("./file0", 0777) = 0 [pid 5904] mount("/dev/loop0", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 5905] <... close resumed>) = 0 [pid 5905] mkdir("./file0", 0777) = 0 [ 78.050706][ T5905] loop2: detected capacity change from 0 to 32768 [ 78.058289][ T5904] loop0: detected capacity change from 0 to 32768 [pid 5905] mount("/dev/loop2", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 5907] <... write resumed>) = 16777216 [pid 5907] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 5907] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 5907] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5907] close(3) = 0 [pid 5907] close(4 [pid 5908] <... write resumed>) = 16777216 [pid 5907] <... close resumed>) = 0 [pid 5908] munmap(0x7f5e2dc00000, 138412032 [pid 5907] mkdir("./file0", 0777) = 0 [pid 5907] mount("/dev/loop5", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 5908] <... munmap resumed>) = 0 [ 78.145427][ T5907] loop5: detected capacity change from 0 to 32768 [pid 5908] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5908] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5908] close(3) = 0 [pid 5908] close(4) = 0 [pid 5908] mkdir("./file0", 0777) = 0 [ 78.213571][ T5908] loop3: detected capacity change from 0 to 32768 [ 78.545717][ T5903] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 78.546281][ T5907] 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 [ 78.573139][ T5903] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 78.578405][ T5907] bcachefs (loop5): recovering from clean shutdown, journal seq 10 [ 78.585620][ T5904] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 78.593636][ T5907] bcachefs (loop5): Version upgrade required: [ 78.593636][ T5907] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 78.593636][ T5907] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 78.593636][ T5907] 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 [ 78.674586][ T5907] bcachefs (loop5): dropping and reconstructing all alloc info [ 78.682895][ T5905] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 78.682938][ T5904] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 78.692143][ T5908] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 78.716654][ T5905] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 78.737759][ T5908] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 78.748793][ T5907] bcachefs (loop5): check_topology... done [ 78.754750][ T5907] bcachefs (loop5): accounting_read... done [ 78.789410][ T5907] bcachefs (loop5): alloc_read... done [ 78.801377][ T5907] bcachefs (loop5): stripes_read... done [ 78.827003][ T5907] bcachefs (loop5): snapshots_read... done [pid 5908] mount("/dev/loop3", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 5904] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5904] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5904] ioctl(3, LOOP_CLR_FD) = 0 [pid 5903] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5904] close(3 [pid 5903] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5903] ioctl(3, LOOP_CLR_FD) = 0 [ 78.851467][ T5907] bcachefs (loop5): check_allocations... [ 78.863912][ T5903] bcachefs: bch2_fs_get_tree() error: EINVAL [ 78.881144][ T5904] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5903] close(3 [pid 5908] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5908] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5905] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5908] <... openat resumed>) = 3 [pid 5905] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5908] ioctl(3, LOOP_CLR_FD [pid 5905] <... openat resumed>) = 3 [pid 5908] <... ioctl resumed>) = 0 [pid 5905] ioctl(3, LOOP_CLR_FD) = 0 [pid 5908] close(3 [ 78.973673][ T5908] bcachefs: bch2_fs_get_tree() error: EINVAL [ 78.973704][ T5907] done [ 78.985400][ T5905] bcachefs: bch2_fs_get_tree() error: EINVAL [ 78.994108][ T5907] bcachefs (loop5): going read-write [pid 5905] close(3 [pid 5907] <... mount resumed>) = 0 [pid 5907] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5907] chdir("./file0") = 0 [pid 5907] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 5907] ioctl(4, LOOP_CLR_FD) = 0 [pid 5907] close(4) = 0 [pid 5907] unlinkat(AT_FDCWD, "./file1", 0 [pid 5844] <... umount2 resumed>) = 0 [pid 5907] <... unlinkat resumed>) = 0 [ 79.052719][ T5907] bcachefs (loop5): done starting filesystem [pid 5844] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] newfstatat(AT_FDCWD, "./0/file0", [pid 5907] exit_group(0 [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5907] <... exit_group resumed>) = ? [pid 5907] +++ exited with 0 +++ [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5907, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=41 /* 0.41 s */} --- [pid 5844] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5844] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5844] getdents64(4, [pid 5845] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] close(4) = 0 [pid 5845] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5844] rmdir("./0/file0" [pid 5845] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] <... rmdir resumed>) = 0 [pid 5845] getdents64(3, [pid 5844] getdents64(3, [pid 5845] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5844] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5844] close(3) = 0 [pid 5845] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] rmdir("./0" [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] <... rmdir resumed>) = 0 [pid 5845] newfstatat(AT_FDCWD, "./1/binderfs", [pid 5844] mkdir("./1", 0777 [pid 5845] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] <... mkdir resumed>) = 0 [pid 5844] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5845] unlink("./1/binderfs" [pid 5844] <... openat resumed>) = 3 [pid 5845] <... unlink resumed>) = 0 [pid 5844] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5844] close(3) = 0 [pid 5844] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5947 attached [pid 5947] set_robust_list(0x55558491f660, 24) = 0 [pid 5947] chdir("./1") = 0 [pid 5947] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5947] setpgid(0, 0) = 0 [pid 5947] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5845] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] <... clone resumed>, child_tidptr=0x55558491f650) = 5947 [pid 5947] <... openat resumed>) = 3 [pid 5947] write(3, "1000", 4) = 4 [pid 5947] close(3) = 0 [pid 5947] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5947] write(1, "executing program\n", 18 [pid 5904] <... close resumed>) = 0 executing program [pid 5947] <... write resumed>) = 18 [pid 5947] memfd_create("syzkaller", 0) = 3 [pid 5947] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 5903] <... close resumed>) = 0 [pid 5903] unlinkat(AT_FDCWD, "./file1", 0) = -1 ENOENT (No such file or directory) [pid 5904] unlinkat(AT_FDCWD, "./file1", 0 [ 79.299504][ T5845] bcachefs (loop5): shutting down [pid 5903] exit_group(0 [pid 5904] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5903] <... exit_group resumed>) = ? [pid 5904] exit_group(0 [pid 5903] +++ exited with 0 +++ [pid 5904] <... exit_group resumed>) = ? [pid 5904] +++ exited with 0 +++ [pid 5840] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5904, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=49 /* 0.49 s */} --- [pid 5841] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5903, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=44 /* 0.44 s */} --- [pid 5840] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5841] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] openat(AT_FDCWD, "./1", 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, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5840] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 79.320076][ T5845] bcachefs (loop5): going read-only [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./1/binderfs", [pid 5841] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5840] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] newfstatat(3, "", [pid 5840] unlink("./1/binderfs" [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] <... unlink resumed>) = 0 [pid 5841] getdents64(3, [pid 5840] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] newfstatat(AT_FDCWD, "./1/file0", [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] newfstatat(AT_FDCWD, "./1/binderfs", [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] unlink("./1/binderfs" [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] <... unlink resumed>) = 0 [pid 5840] openat(AT_FDCWD, "./1/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5841] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] <... openat resumed>) = 4 [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(4, "", [pid 5841] newfstatat(AT_FDCWD, "./1/file0", [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] getdents64(4, [pid 5841] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] getdents64(4, [pid 5841] openat(AT_FDCWD, "./1/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5840] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5841] <... openat resumed>) = 4 [pid 5840] close(4 [pid 5841] newfstatat(4, "", [pid 5840] <... close resumed>) = 0 [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] rmdir("./1/file0" [pid 5841] getdents64(4, [pid 5905] <... close resumed>) = 0 [pid 5841] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5840] <... rmdir resumed>) = 0 [pid 5840] getdents64(3, [pid 5841] getdents64(4, [pid 5840] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5841] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [ 79.346466][ T5845] bcachefs (loop5): finished waiting for writes to stop [pid 5908] <... close resumed>) = 0 [pid 5905] unlinkat(AT_FDCWD, "./file1", 0 [pid 5841] close(4 [pid 5840] close(3 [pid 5908] unlinkat(AT_FDCWD, "./file1", 0 [pid 5841] <... close resumed>) = 0 [pid 5905] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5841] rmdir("./1/file0" [pid 5840] <... close resumed>) = 0 [pid 5840] rmdir("./1") = 0 [pid 5841] <... rmdir resumed>) = 0 [pid 5840] mkdir("./2", 0777 [pid 5841] getdents64(3, [pid 5905] exit_group(0 [pid 5840] <... mkdir resumed>) = 0 [pid 5908] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5905] <... exit_group resumed>) = ? [pid 5841] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5840] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5905] +++ exited with 0 +++ [pid 5841] close(3 [pid 5840] <... openat resumed>) = 3 [pid 5842] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5905, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=42 /* 0.42 s */} --- [pid 5841] <... close resumed>) = 0 [pid 5840] ioctl(3, LOOP_CLR_FD [pid 5908] exit_group(0 [pid 5841] rmdir("./1" [pid 5908] <... exit_group resumed>) = ? [pid 5842] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5841] <... rmdir resumed>) = 0 [pid 5840] close(3 [pid 5842] <... openat resumed>) = 3 [pid 5908] +++ exited with 0 +++ [pid 5842] newfstatat(3, "", [pid 5841] mkdir("./2", 0777 [pid 5840] <... close resumed>) = 0 [pid 5843] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5908, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=44 /* 0.44 s */} --- [pid 5840] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5843] restart_syscall(<... resuming interrupted clone ...> [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5842] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] newfstatat(AT_FDCWD, "./1/binderfs", ./strace-static-x86_64: Process 5948 attached [pid 5843] <... restart_syscall resumed>) = 0 [pid 5842] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] <... clone resumed>, child_tidptr=0x55558491f650) = 5948 [pid 5948] set_robust_list(0x55558491f660, 24 [pid 5842] unlink("./1/binderfs" [pid 5841] <... mkdir resumed>) = 0 [pid 5948] <... set_robust_list resumed>) = 0 [pid 5842] <... unlink resumed>) = 0 [pid 5948] chdir("./2" [pid 5843] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5948] <... chdir resumed>) = 0 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5948] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5843] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5842] newfstatat(AT_FDCWD, "./1/file0", [pid 5841] <... openat resumed>) = 3 [pid 5948] <... prctl resumed>) = 0 [pid 5843] <... openat resumed>) = 3 [pid 5841] ioctl(3, LOOP_CLR_FD [pid 5948] setpgid(0, 0 [pid 5843] newfstatat(3, "", [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5948] <... setpgid resumed>) = 0 [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] close(3 [pid 5843] getdents64(3, [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] openat(AT_FDCWD, "./1/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5841] <... close resumed>) = 0 [pid 5843] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5842] <... openat resumed>) = 4 [pid 5841] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5948] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5843] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [ 79.390840][ T5845] bcachefs (loop5): flushing journal and stopping allocators, journal seq 12 [pid 5842] newfstatat(4, "", ./strace-static-x86_64: Process 5949 attached [pid 5948] <... openat resumed>) = 3 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5949] set_robust_list(0x55558491f660, 24 [pid 5948] write(3, "1000", 4 [pid 5843] newfstatat(AT_FDCWD, "./1/binderfs", [pid 5842] getdents64(4, [pid 5841] <... clone resumed>, child_tidptr=0x55558491f650) = 5949 [pid 5949] <... set_robust_list resumed>) = 0 [pid 5948] <... write resumed>) = 4 [pid 5843] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5949] chdir("./2" [pid 5948] close(3 [pid 5843] unlink("./1/binderfs" [pid 5842] getdents64(4, [pid 5949] <... chdir resumed>) = 0 executing program [pid 5949] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5843] <... unlink resumed>) = 0 [pid 5842] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5948] <... close resumed>) = 0 [pid 5949] <... prctl resumed>) = 0 [pid 5843] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5948] symlink("/dev/binderfs", "./binderfs" [pid 5949] setpgid(0, 0 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] close(4) = 0 [pid 5949] <... setpgid resumed>) = 0 [pid 5948] <... symlink resumed>) = 0 [pid 5843] newfstatat(AT_FDCWD, "./1/file0", [pid 5842] rmdir("./1/file0" [pid 5949] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5948] write(1, "executing program\n", 18 [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] <... rmdir resumed>) = 0 [pid 5948] <... write resumed>) = 18 [pid 5843] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5948] memfd_create("syzkaller", 0 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] openat(AT_FDCWD, "./1/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5948] <... memfd_create resumed>) = 3 [pid 5843] <... openat resumed>) = 4 [pid 5842] close(3 [pid 5949] <... openat resumed>) = 3 [pid 5948] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5843] newfstatat(4, "", [pid 5842] <... close resumed>) = 0 [pid 5949] write(3, "1000", 4 [pid 5948] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] rmdir("./1") = 0 [pid 5842] mkdir("./2", 0777 [pid 5843] getdents64(4, [pid 5842] <... mkdir resumed>) = 0 [pid 5842] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5842] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5842] close(3) = 0 [pid 5842] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5843] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5949] <... write resumed>) = 4 [pid 5843] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5949] close(3 [pid 5843] close(4 [pid 5842] <... clone resumed>, child_tidptr=0x55558491f650) = 5950 [pid 5949] <... close resumed>) = 0 [pid 5843] <... close resumed>) = 0 ./strace-static-x86_64: Process 5950 attached [pid 5949] symlink("/dev/binderfs", "./binderfs" [pid 5843] rmdir("./1/file0" [pid 5949] <... symlink resumed>) = 0 [pid 5843] <... rmdir resumed>) = 0 [pid 5950] set_robust_list(0x55558491f660, 24 [pid 5949] write(1, "executing program\n", 18executing program [pid 5843] getdents64(3, [pid 5950] <... set_robust_list resumed>) = 0 [pid 5949] <... write resumed>) = 18 [pid 5843] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [ 79.473471][ T81] bcachefs (loop5): bch2_write_super(): fatal error loop5: Superblock write was silently dropped! (seq 0 expected 54) [pid 5950] chdir("./2") = 0 [pid 5949] memfd_create("syzkaller", 0 [pid 5843] close(3 [pid 5950] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5949] <... memfd_create resumed>) = 3 [pid 5843] <... close resumed>) = 0 [pid 5950] <... prctl resumed>) = 0 [pid 5949] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5843] rmdir("./1" [pid 5949] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5843] <... rmdir resumed>) = 0 [pid 5950] setpgid(0, 0 [pid 5843] mkdir("./2", 0777 [pid 5950] <... setpgid resumed>) = 0 [pid 5843] <... mkdir resumed>) = 0 [pid 5843] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5950] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5843] <... openat resumed>) = 3 [pid 5843] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5843] close(3) = 0 [pid 5843] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5951 attached , child_tidptr=0x55558491f650) = 5951 [pid 5951] set_robust_list(0x55558491f660, 24 [pid 5950] <... openat resumed>) = 3 [pid 5951] <... set_robust_list resumed>) = 0 [pid 5950] write(3, "1000", 4 [pid 5951] chdir("./2" [pid 5950] <... write resumed>) = 4 [pid 5947] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5950] close(3 [pid 5951] <... chdir resumed>) = 0 [pid 5950] <... close resumed>) = 0 [pid 5951] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5951] setpgid(0, 0) = 0 [pid 5951] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5951] write(3, "1000", 4) = 4 [pid 5950] symlink("/dev/binderfs", "./binderfs" [pid 5951] close(3 [pid 5950] <... symlink resumed>) = 0 executing program [pid 5950] write(1, "executing program\n", 18) = 18 [pid 5951] <... close resumed>) = 0 [pid 5950] memfd_create("syzkaller", 0 [pid 5951] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5950] <... memfd_create resumed>) = 3 executing program [pid 5951] write(1, "executing program\n", 18) = 18 [pid 5951] memfd_create("syzkaller", 0) = 3 [pid 5951] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5950] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5951] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5950] <... mmap resumed>) = 0x7f5e2dc00000 [ 79.519893][ T81] bcachefs (loop5): fatal error - emergency read only [ 79.559742][ T5845] bcachefs (loop5): flushing journal and stopping allocators complete, journal seq 13 [ 79.595990][ T5845] bcachefs (loop5): unshutdown complete, journal seq 13 [ 79.614081][ T5845] bcachefs (loop5): done going read-only, filesystem not clean [ 79.679819][ T5845] bcachefs (loop5): shutdown complete [pid 5949] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5948] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5951] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5950] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5947] <... write resumed>) = 16777216 [pid 5947] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 5947] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5947] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5947] close(3) = 0 [pid 5947] close(4) = 0 [pid 5947] mkdir("./file0", 0777) = 0 [ 80.135168][ T5947] loop4: detected capacity change from 0 to 32768 [pid 5947] mount("/dev/loop4", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 5949] <... write resumed>) = 16777216 [pid 5949] munmap(0x7f5e2dc00000, 138412032 [pid 5951] <... write resumed>) = 16777216 [pid 5948] <... write resumed>) = 16777216 [pid 5951] munmap(0x7f5e2dc00000, 138412032 [pid 5948] munmap(0x7f5e2dc00000, 138412032 [pid 5949] <... munmap resumed>) = 0 [pid 5949] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5948] <... munmap resumed>) = 0 [pid 5949] <... openat resumed>) = 4 [pid 5949] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5948] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5951] <... munmap resumed>) = 0 [pid 5950] <... write resumed>) = 16777216 [pid 5949] close(3 [pid 5950] munmap(0x7f5e2dc00000, 138412032 [pid 5949] <... close resumed>) = 0 [pid 5948] <... openat resumed>) = 4 [pid 5948] ioctl(4, LOOP_SET_FD, 3 [pid 5949] close(4 [pid 5948] <... ioctl resumed>) = 0 [pid 5951] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5950] <... munmap resumed>) = 0 [pid 5949] <... close resumed>) = 0 [pid 5948] close(3 [ 80.273977][ T5949] loop1: detected capacity change from 0 to 32768 [ 80.304531][ T5948] loop0: detected capacity change from 0 to 32768 [pid 5951] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5950] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5949] mkdir("./file0", 0777 [pid 5948] <... close resumed>) = 0 [pid 5948] close(4 [pid 5950] <... openat resumed>) = 4 [pid 5948] <... close resumed>) = 0 [pid 5948] mkdir("./file0", 0777 [pid 5950] ioctl(4, LOOP_SET_FD, 3 [pid 5949] <... mkdir resumed>) = 0 [pid 5948] <... mkdir resumed>) = 0 [pid 5951] close(3 [pid 5950] <... ioctl resumed>) = 0 [pid 5949] mount("/dev/loop1", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 5951] <... close resumed>) = 0 [pid 5951] close(4) = 0 [pid 5951] mkdir("./file0", 0777) = 0 [pid 5950] close(3 [pid 5951] mount("/dev/loop3", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 5950] <... close resumed>) = 0 [pid 5948] mount("/dev/loop0", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 5950] close(4) = 0 [pid 5950] mkdir("./file0", 0777) = 0 [ 80.323041][ T5951] loop3: detected capacity change from 0 to 32768 [ 80.332580][ T5950] loop2: detected capacity change from 0 to 32768 [ 80.602004][ T5947] 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 [ 80.626959][ T5947] bcachefs (loop4): recovering from clean shutdown, journal seq 10 [ 80.636347][ T5950] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 80.645845][ T5950] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 80.676414][ T5947] bcachefs (loop4): Version upgrade required: [ 80.676414][ T5947] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 80.676414][ T5947] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 80.676414][ T5947] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 80.763588][ T5949] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 80.772719][ T5949] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 80.776183][ T5951] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 80.793950][ T5951] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 80.802372][ T5948] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 80.812995][ T5948] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 80.830978][ T5947] bcachefs (loop4): dropping and reconstructing all alloc info [ 80.857726][ T5950] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5950] mount("/dev/loop2", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"...) = -1 EINVAL (Invalid argument) [pid 5950] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5950] ioctl(3, LOOP_CLR_FD) = 0 [ 80.914082][ T5947] bcachefs (loop4): check_topology... done [ 80.920006][ T5947] bcachefs (loop4): accounting_read... done [ 80.997300][ T5949] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5950] close(3 [pid 5949] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5949] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5949] ioctl(3, LOOP_CLR_FD) = 0 [pid 5949] close(3 [pid 5948] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5951] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5948] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5948] ioctl(3, LOOP_CLR_FD) = 0 [ 81.042672][ T5947] bcachefs (loop4): alloc_read... done [ 81.060530][ T5948] bcachefs: bch2_fs_get_tree() error: EINVAL [ 81.064931][ T5947] bcachefs (loop4): stripes_read... done [ 81.076726][ T5947] bcachefs (loop4): snapshots_read... [ 81.076800][ T5951] bcachefs: bch2_fs_get_tree() error: EINVAL [ 81.076863][ T5947] done [pid 5948] close(3 [pid 5951] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5951] ioctl(3, LOOP_CLR_FD) = 0 [ 81.131262][ T5947] bcachefs (loop4): check_allocations... done [pid 5951] close(3 [pid 5845] <... umount2 resumed>) = 0 [pid 5845] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 81.264549][ T5947] bcachefs (loop4): going read-write [pid 5845] newfstatat(AT_FDCWD, "./1/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./1/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5845] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5947] <... mount resumed>) = 0 [pid 5845] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5845] close(4) = 0 [pid 5845] rmdir("./1/file0") = 0 [pid 5845] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5845] close(3) = 0 [pid 5845] rmdir("./1") = 0 [pid 5947] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 5845] mkdir("./2", 0777 [pid 5947] <... openat resumed>) = 3 [pid 5845] <... mkdir resumed>) = 0 [pid 5947] chdir("./file0") = 0 [pid 5845] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5947] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5845] <... openat resumed>) = 3 [pid 5947] <... openat resumed>) = 4 [pid 5845] ioctl(3, LOOP_CLR_FD [pid 5947] ioctl(4, LOOP_CLR_FD [pid 5845] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5947] <... ioctl resumed>) = 0 [pid 5845] close(3 [pid 5947] close(4 [pid 5845] <... close resumed>) = 0 [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5990 attached [pid 5947] <... close resumed>) = 0 [pid 5947] unlinkat(AT_FDCWD, "./file1", 0 [ 81.318827][ T5947] bcachefs (loop4): done starting filesystem [pid 5990] set_robust_list(0x55558491f660, 24) = 0 [pid 5845] <... clone resumed>, child_tidptr=0x55558491f650) = 5990 [pid 5990] chdir("./2" [pid 5947] <... unlinkat resumed>) = 0 [pid 5990] <... chdir resumed>) = 0 [pid 5990] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5947] exit_group(0 [pid 5990] setpgid(0, 0 [pid 5947] <... exit_group resumed>) = ? [pid 5990] <... setpgid resumed>) = 0 [pid 5947] +++ exited with 0 +++ [pid 5844] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5947, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=36 /* 0.36 s */} --- [pid 5844] restart_syscall(<... resuming interrupted clone ...> [pid 5990] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5844] <... restart_syscall resumed>) = 0 [pid 5990] <... openat resumed>) = 3 [pid 5844] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5844] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5844] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] newfstatat(AT_FDCWD, "./1/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] unlink("./1/binderfs") = 0 [pid 5844] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5990] write(3, "1000", 4 [pid 5950] <... close resumed>) = 0 [pid 5990] <... write resumed>) = 4 [pid 5990] close(3) = 0 [pid 5990] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 5990] write(1, "executing program\n", 18) = 18 [pid 5950] unlinkat(AT_FDCWD, "./file1", 0) = -1 ENOENT (No such file or directory) [pid 5950] exit_group(0) = ? [pid 5990] memfd_create("syzkaller", 0) = 3 [pid 5990] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 5950] +++ exited with 0 +++ [pid 5842] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5950, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=37 /* 0.37 s */} --- [pid 5842] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5842] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5842] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5842] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] newfstatat(AT_FDCWD, "./2/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] unlink("./2/binderfs") = 0 [pid 5842] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] newfstatat(AT_FDCWD, "./2/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] openat(AT_FDCWD, "./2/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5842] newfstatat(4, "", [pid 5949] <... close resumed>) = 0 [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5949] unlinkat(AT_FDCWD, "./file1", 0) = -1 ENOENT (No such file or directory) [pid 5949] exit_group(0) = ? [pid 5842] getdents64(4, [pid 5949] +++ exited with 0 +++ [pid 5842] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5842] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5842] close(4) = 0 [pid 5841] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5949, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=49 /* 0.49 s */} --- [pid 5841] restart_syscall(<... resuming interrupted clone ...> [pid 5842] rmdir("./2/file0" [pid 5841] <... restart_syscall resumed>) = 0 [pid 5841] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5841] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5841] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5841] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5841] newfstatat(AT_FDCWD, "./2/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] unlink("./2/binderfs") = 0 [pid 5841] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5841] newfstatat(AT_FDCWD, "./2/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5841] openat(AT_FDCWD, "./2/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5841] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] getdents64(4, [pid 5842] <... rmdir resumed>) = 0 [pid 5841] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5841] getdents64(4, [pid 5842] getdents64(3, [pid 5841] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5841] close(4) = 0 [pid 5841] rmdir("./2/file0") = 0 [pid 5841] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5841] close(3) = 0 [pid 5841] rmdir("./2") = 0 [pid 5841] mkdir("./3", 0777 [pid 5948] <... close resumed>) = 0 [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5841] <... mkdir resumed>) = 0 [pid 5841] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5842] close(3 [pid 5841] <... openat resumed>) = 3 [pid 5841] ioctl(3, LOOP_CLR_FD [pid 5842] <... close resumed>) = 0 [pid 5841] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5842] rmdir("./2" [pid 5841] close(3 [pid 5842] <... rmdir resumed>) = 0 [pid 5841] <... close resumed>) = 0 [pid 5842] mkdir("./3", 0777 [pid 5841] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55558491f650) = 5991 [ 81.446187][ T5844] bcachefs (loop4): shutting down [ 81.451277][ T5844] bcachefs (loop4): going read-only [ 81.483039][ T5844] bcachefs (loop4): finished waiting for writes to stop ./strace-static-x86_64: Process 5991 attached [pid 5842] <... mkdir resumed>) = 0 [pid 5842] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5842] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5991] set_robust_list(0x55558491f660, 24 [pid 5842] close(3 [pid 5991] <... set_robust_list resumed>) = 0 [pid 5842] <... close resumed>) = 0 [pid 5991] chdir("./3") = 0 [pid 5991] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5991] setpgid(0, 0 [pid 5842] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5991] <... setpgid resumed>) = 0 executing program [pid 5991] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC./strace-static-x86_64: Process 5992 attached ) = 3 [pid 5992] set_robust_list(0x55558491f660, 24 [pid 5991] write(3, "1000", 4 [pid 5842] <... clone resumed>, child_tidptr=0x55558491f650) = 5992 [pid 5991] <... write resumed>) = 4 [pid 5991] close(3) = 0 [pid 5991] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5991] write(1, "executing program\n", 18) = 18 [pid 5991] memfd_create("syzkaller", 0 [pid 5992] <... set_robust_list resumed>) = 0 [pid 5951] <... close resumed>) = 0 [pid 5948] unlinkat(AT_FDCWD, "./file1", 0 [pid 5992] chdir("./3" [pid 5948] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5992] <... chdir resumed>) = 0 [pid 5992] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5991] <... memfd_create resumed>) = 3 [pid 5948] exit_group(0 [pid 5991] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5992] <... prctl resumed>) = 0 [pid 5991] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5948] <... exit_group resumed>) = ? [pid 5992] setpgid(0, 0 [pid 5948] +++ exited with 0 +++ [pid 5992] <... setpgid resumed>) = 0 [pid 5840] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5948, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=39 /* 0.39 s */} --- [pid 5992] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5840] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5951] unlinkat(AT_FDCWD, "./file1", 0 [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5951] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5840] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5951] exit_group(0 [pid 5840] <... openat resumed>) = 3 [pid 5951] <... exit_group resumed>) = ? [pid 5840] newfstatat(3, "", [pid 5992] <... openat resumed>) = 3 [pid 5951] +++ exited with 0 +++ [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] getdents64(3, [pid 5843] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5951, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=50 /* 0.50 s */} --- [pid 5840] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5843] restart_syscall(<... resuming interrupted clone ...> [pid 5840] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5992] write(3, "1000", 4 [pid 5840] <... umount2 resumed>) = -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" [pid 5992] <... write resumed>) = 4 [pid 5840] <... unlink resumed>) = 0 [pid 5840] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5992] close(3 [pid 5843] <... restart_syscall resumed>) = 0 [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5992] <... close resumed>) = 0 [pid 5992] symlink("/dev/binderfs", "./binderfs" [pid 5843] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] newfstatat(AT_FDCWD, "./2/file0", [pid 5992] <... symlink resumed>) = 0 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) executing program [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5992] write(1, "executing program\n", 18 [pid 5843] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5992] <... write resumed>) = 18 [pid 5843] <... openat resumed>) = 3 [pid 5840] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5992] memfd_create("syzkaller", 0 [pid 5843] newfstatat(3, "", [pid 5992] <... memfd_create resumed>) = 3 [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [ 81.548349][ T5844] bcachefs (loop4): flushing journal and stopping allocators, journal seq 12 [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5992] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5843] getdents64(3, [pid 5840] openat(AT_FDCWD, "./2/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5992] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5843] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5840] <... openat resumed>) = 4 [pid 5843] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(4, "", [pid 5843] newfstatat(AT_FDCWD, "./2/binderfs", [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] getdents64(4, [pid 5843] unlink("./2/binderfs" [pid 5840] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5843] <... unlink resumed>) = 0 [pid 5843] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] getdents64(4, [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5843] newfstatat(AT_FDCWD, "./2/file0", [pid 5840] close(4 [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] <... close resumed>) = 0 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] rmdir("./2/file0" [pid 5843] openat(AT_FDCWD, "./2/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5840] <... rmdir resumed>) = 0 [pid 5843] <... openat resumed>) = 4 [pid 5840] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5840] close(3) = 0 [pid 5840] rmdir("./2") = 0 [pid 5840] mkdir("./3", 0777) = 0 [pid 5843] newfstatat(4, "", [pid 5840] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] <... openat resumed>) = 3 [pid 5843] getdents64(4, [pid 5840] ioctl(3, LOOP_CLR_FD [pid 5843] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [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./strace-static-x86_64: Process 5993 attached [pid 5993] set_robust_list(0x55558491f660, 24 [pid 5843] getdents64(4, [pid 5993] <... set_robust_list resumed>) = 0 [pid 5843] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5840] <... clone resumed>, child_tidptr=0x55558491f650) = 5993 [pid 5843] close(4) = 0 [pid 5993] chdir("./3" [pid 5843] rmdir("./2/file0" [pid 5993] <... chdir resumed>) = 0 [pid 5843] <... rmdir resumed>) = 0 [pid 5993] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5843] getdents64(3, [pid 5993] <... prctl resumed>) = 0 [pid 5843] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5993] setpgid(0, 0 [pid 5843] close(3 [pid 5993] <... setpgid resumed>) = 0 [pid 5843] <... close resumed>) = 0 [pid 5993] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5843] rmdir("./2" [pid 5993] <... openat resumed>) = 3 [pid 5843] <... rmdir resumed>) = 0 [pid 5993] write(3, "1000", 4 [pid 5843] mkdir("./3", 0777 [pid 5993] <... write resumed>) = 4 [pid 5843] <... mkdir resumed>) = 0 [pid 5843] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5993] close(3) = 0 executing program [pid 5993] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5993] write(1, "executing program\n", 18) = 18 [pid 5993] memfd_create("syzkaller", 0) = 3 [pid 5993] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 5843] <... openat resumed>) = 3 [pid 5843] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5843] close(3) = 0 [pid 5843] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5994 attached , child_tidptr=0x55558491f650) = 5994 [pid 5994] set_robust_list(0x55558491f660, 24) = 0 [pid 5994] chdir("./3") = 0 [pid 5994] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [ 81.631541][ T2890] bcachefs (loop4): bch2_write_super(): fatal error loop4: Superblock write was silently dropped! (seq 0 expected 54) [pid 5994] setpgid(0, 0) = 0 [pid 5994] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5994] write(3, "1000", 4) = 4 [pid 5994] close(3) = 0 [pid 5994] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 5994] write(1, "executing program\n", 18) = 18 [pid 5994] memfd_create("syzkaller", 0) = 3 [pid 5994] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [ 81.731696][ T2890] bcachefs (loop4): fatal error - emergency read only [ 81.802961][ T5844] bcachefs (loop4): flushing journal and stopping allocators complete, journal seq 14 [ 81.829522][ T5844] bcachefs (loop4): unshutdown complete, journal seq 14 [ 81.859625][ T5844] bcachefs (loop4): done going read-only, filesystem not clean [pid 5990] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5991] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5993] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 [ 82.004222][ T5844] bcachefs (loop4): shutdown complete [pid 5994] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5992] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5991] <... write resumed>) = 16777216 [pid 5991] munmap(0x7f5e2dc00000, 138412032 [pid 5990] <... write resumed>) = 16777216 [pid 5990] munmap(0x7f5e2dc00000, 138412032 [pid 5991] <... munmap resumed>) = 0 [pid 5991] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5990] <... munmap resumed>) = 0 [pid 5991] <... openat resumed>) = 4 [pid 5991] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5990] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [ 82.445419][ T5991] loop1: detected capacity change from 0 to 32768 [ 82.455617][ T5990] loop5: detected capacity change from 0 to 32768 [pid 5990] ioctl(4, LOOP_SET_FD, 3 [pid 5991] close(3 [pid 5990] <... ioctl resumed>) = 0 [pid 5990] close(3 [pid 5991] <... close resumed>) = 0 [pid 5990] <... close resumed>) = 0 [pid 5990] close(4) = 0 [pid 5990] mkdir("./file0", 0777 [pid 5991] close(4 [pid 5990] <... mkdir resumed>) = 0 [pid 5991] <... close resumed>) = 0 [pid 5993] <... write resumed>) = 16777216 [pid 5990] mount("/dev/loop5", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 5991] mkdir("./file0", 0777) = 0 [pid 5993] munmap(0x7f5e2dc00000, 138412032 [pid 5991] mount("/dev/loop1", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 5994] <... write resumed>) = 16777216 [pid 5994] munmap(0x7f5e2dc00000, 138412032 [pid 5993] <... munmap resumed>) = 0 [pid 5992] <... write resumed>) = 16777216 [pid 5993] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5993] ioctl(4, LOOP_SET_FD, 3 [pid 5994] <... munmap resumed>) = 0 [pid 5992] munmap(0x7f5e2dc00000, 138412032 [pid 5994] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5994] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5993] <... ioctl resumed>) = 0 [pid 5992] <... munmap resumed>) = 0 [pid 5994] close(3 [pid 5993] close(3 [pid 5994] <... close resumed>) = 0 [pid 5993] <... close resumed>) = 0 [pid 5992] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5994] close(4 [pid 5993] close(4 [pid 5992] <... openat resumed>) = 4 [pid 5994] <... close resumed>) = 0 [pid 5993] <... close resumed>) = 0 [pid 5994] mkdir("./file0", 0777 [pid 5993] mkdir("./file0", 0777 [pid 5994] <... mkdir resumed>) = 0 [pid 5993] <... mkdir resumed>) = 0 [pid 5992] ioctl(4, LOOP_SET_FD, 3 [pid 5994] mount("/dev/loop3", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 5993] mount("/dev/loop0", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 5992] <... ioctl resumed>) = 0 [pid 5992] close(3) = 0 [pid 5992] close(4) = 0 [pid 5992] mkdir("./file0", 0777) = 0 [ 82.600890][ T5993] loop0: detected capacity change from 0 to 32768 [ 82.607894][ T5994] loop3: detected capacity change from 0 to 32768 [ 82.629614][ T5992] loop2: detected capacity change from 0 to 32768 [ 82.950665][ T5992] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 82.969084][ T5991] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 82.973238][ T5990] 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 [ 82.992918][ T5991] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 83.001961][ T5990] bcachefs (loop5): recovering from clean shutdown, journal seq 10 [ 83.008433][ T5994] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 83.026037][ T5990] bcachefs (loop5): Version upgrade required: [ 83.026037][ T5990] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 83.026037][ T5990] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 83.026037][ T5990] 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.097776][ T5994] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 83.108740][ T5990] bcachefs (loop5): dropping and reconstructing all alloc info [ 83.138315][ T5992] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 83.142054][ T5993] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 83.194679][ T5990] bcachefs (loop5): check_topology... done [ 83.200898][ T5993] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [pid 5992] mount("/dev/loop2", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 5994] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5991] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5994] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5991] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5991] ioctl(3, LOOP_CLR_FD) = 0 [pid 5991] close(3 [pid 5994] <... openat resumed>) = 3 [pid 5994] ioctl(3, LOOP_CLR_FD) = 0 [ 83.223639][ T5990] bcachefs (loop5): accounting_read... done [ 83.251003][ T5990] bcachefs (loop5): alloc_read... done [ 83.258302][ T5994] bcachefs: bch2_fs_get_tree() error: EINVAL [ 83.278992][ T5990] bcachefs (loop5): stripes_read... [ 83.279020][ T5991] bcachefs: bch2_fs_get_tree() error: EINVAL [ 83.279054][ T5990] done [ 83.342854][ T5990] bcachefs (loop5): snapshots_read... done [ 83.367202][ T5990] bcachefs (loop5): check_allocations... [ 83.393239][ T5992] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5994] close(3 [pid 5992] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5992] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5992] ioctl(3, LOOP_CLR_FD) = 0 [pid 5992] close(3 [pid 5993] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5844] <... umount2 resumed>) = 0 [pid 5993] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [ 83.434224][ T5993] bcachefs: bch2_fs_get_tree() error: EINVAL [ 83.452115][ T5990] done [pid 5993] ioctl(3, LOOP_CLR_FD) = 0 [pid 5844] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5993] close(3 [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] newfstatat(AT_FDCWD, "./1/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] openat(AT_FDCWD, "./1/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5844] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5844] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5844] close(4) = 0 [pid 5844] rmdir("./1/file0") = 0 [pid 5844] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5844] close(3) = 0 [pid 5844] rmdir("./1") = 0 [ 83.503750][ T5990] bcachefs (loop5): going read-write [pid 5844] mkdir("./2", 0777) = 0 [pid 5844] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5844] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5844] close(3) = 0 [pid 5844] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55558491f650) = 6032 ./strace-static-x86_64: Process 6032 attached [pid 6032] set_robust_list(0x55558491f660, 24 [pid 5990] <... mount resumed>) = 0 [pid 6032] <... set_robust_list resumed>) = 0 [pid 6032] chdir("./2") = 0 [pid 6032] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6032] setpgid(0, 0) = 0 [pid 6032] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6032] write(3, "1000", 4 [pid 5990] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 6032] <... write resumed>) = 4 [pid 5990] <... openat resumed>) = 3 [pid 5990] chdir("./file0") = 0 [ 83.573094][ T5990] bcachefs (loop5): done starting filesystem [pid 6032] close(3executing program ) = 0 [pid 6032] symlink("/dev/binderfs", "./binderfs" [pid 5990] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6032] <... symlink resumed>) = 0 [pid 5990] <... openat resumed>) = 4 [pid 5990] ioctl(4, LOOP_CLR_FD) = 0 [pid 5990] close(4 [pid 6032] write(1, "executing program\n", 18 [pid 5990] <... close resumed>) = 0 [pid 6032] <... write resumed>) = 18 [pid 5990] unlinkat(AT_FDCWD, "./file1", 0 [pid 6032] memfd_create("syzkaller", 0) = 3 [pid 6032] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 5990] <... unlinkat resumed>) = 0 [pid 5990] exit_group(0) = ? [pid 5990] +++ exited with 0 +++ [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5990, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=42 /* 0.42 s */} --- [pid 5845] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5845] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5845] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5845] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./2/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] unlink("./2/binderfs" [pid 5991] <... close resumed>) = 0 [pid 5845] <... unlink resumed>) = 0 [pid 5991] unlinkat(AT_FDCWD, "./file1", 0) = -1 ENOENT (No such file or directory) [pid 5991] exit_group(0) = ? [pid 5845] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5991] +++ exited with 0 +++ [pid 5841] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5991, si_uid=0, si_status=0, si_utime=0, si_stime=44 /* 0.44 s */} --- [pid 5841] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5841] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5841] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5841] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5841] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5993] <... close resumed>) = 0 [pid 5841] newfstatat(AT_FDCWD, "./3/binderfs", [pid 5993] unlinkat(AT_FDCWD, "./file1", 0) = -1 ENOENT (No such file or directory) [pid 5841] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5994] <... close resumed>) = 0 [ 83.723784][ T5845] bcachefs (loop5): shutting down [ 83.742224][ T5845] bcachefs (loop5): going read-only [ 83.749536][ T5845] bcachefs (loop5): finished waiting for writes to stop [pid 5993] exit_group(0 [pid 5841] unlink("./3/binderfs" [pid 5993] <... exit_group resumed>) = ? [pid 5994] unlinkat(AT_FDCWD, "./file1", 0 [pid 5993] +++ exited with 0 +++ [pid 5994] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5994] exit_group(0) = ? [pid 5840] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5993, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=47 /* 0.47 s */} --- [pid 5994] +++ exited with 0 +++ [pid 5841] <... unlink resumed>) = 0 [pid 5843] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5994, si_uid=0, si_status=0, si_utime=0, si_stime=46 /* 0.46 s */} --- [pid 5843] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5841] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5843] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] newfstatat(3, "", [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5843] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5843] newfstatat(AT_FDCWD, "./3/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] unlink("./3/binderfs") = 0 [pid 5841] newfstatat(AT_FDCWD, "./3/file0", [pid 5840] <... openat resumed>) = 3 [pid 5843] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] newfstatat(3, "", [pid 5843] newfstatat(AT_FDCWD, "./3/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] getdents64(3, [pid 5843] openat(AT_FDCWD, "./3/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5841] openat(AT_FDCWD, "./3/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5840] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5843] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] getdents64(4, [pid 5841] <... openat resumed>) = 4 [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5843] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5840] newfstatat(AT_FDCWD, "./3/binderfs", [pid 5841] newfstatat(4, "", [pid 5843] close(4 [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] <... close resumed>) = 0 [pid 5841] getdents64(4, [ 83.766163][ T5845] bcachefs (loop5): flushing journal and stopping allocators, journal seq 12 [pid 5840] unlink("./3/binderfs" [pid 5843] rmdir("./3/file0" [pid 5841] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5840] <... unlink resumed>) = 0 [pid 5843] <... rmdir resumed>) = 0 [pid 5843] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5841] getdents64(4, [pid 5840] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] close(3) = 0 [pid 5841] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] rmdir("./3") = 0 [pid 5841] close(4 [pid 5840] newfstatat(AT_FDCWD, "./3/file0", [pid 5841] <... close resumed>) = 0 [pid 5843] mkdir("./4", 0777 [pid 5841] rmdir("./3/file0" [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] <... mkdir resumed>) = 0 [pid 5841] <... rmdir resumed>) = 0 [pid 5840] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] getdents64(3, [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5840] openat(AT_FDCWD, "./3/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5841] close(3 [pid 5843] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5841] <... close resumed>) = 0 [pid 5840] <... openat resumed>) = 4 [pid 5843] ioctl(3, LOOP_CLR_FD [pid 5841] rmdir("./3" [pid 5840] newfstatat(4, "", [pid 5843] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5843] close(3 [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] <... close resumed>) = 0 [pid 5841] <... rmdir resumed>) = 0 [pid 5840] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5843] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5840] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5843] <... clone resumed>, child_tidptr=0x55558491f650) = 6034 ./strace-static-x86_64: Process 6034 attached [pid 5992] <... close resumed>) = 0 [pid 5841] mkdir("./4", 0777 [pid 5840] close(4) = 0 [pid 5841] <... mkdir resumed>) = 0 [pid 5840] rmdir("./3/file0" [pid 6034] set_robust_list(0x55558491f660, 24) = 0 executing program [pid 6034] chdir("./4" [pid 5992] unlinkat(AT_FDCWD, "./file1", 0 [pid 5841] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5840] <... rmdir resumed>) = 0 [pid 6034] <... chdir resumed>) = 0 [pid 5992] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 6034] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5992] exit_group(0 [pid 6034] <... prctl resumed>) = 0 [pid 5992] <... exit_group resumed>) = ? [pid 6034] setpgid(0, 0 [pid 5992] +++ exited with 0 +++ [pid 6034] <... setpgid resumed>) = 0 [pid 5842] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5992, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=53 /* 0.53 s */} --- [pid 6034] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5842] restart_syscall(<... resuming interrupted clone ...> [pid 6034] <... openat resumed>) = 3 [pid 6034] write(3, "1000", 4) = 4 [pid 6034] close(3) = 0 [pid 6034] symlink("/dev/binderfs", "./binderfs" [pid 5840] getdents64(3, [pid 6034] <... symlink resumed>) = 0 [pid 5840] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 6034] write(1, "executing program\n", 18 [pid 5841] <... openat resumed>) = 3 [pid 5840] close(3 [pid 6034] <... write resumed>) = 18 [pid 5842] <... restart_syscall resumed>) = 0 [pid 5841] ioctl(3, LOOP_CLR_FD [pid 5840] <... close resumed>) = 0 [ 83.852967][ T80] bcachefs (loop5): bch2_write_super(): fatal error loop5: Superblock write was silently dropped! (seq 0 expected 54) [ 83.882550][ T80] bcachefs (loop5): fatal error - emergency read only [pid 5841] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5840] rmdir("./3" [pid 5842] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5842] newfstatat(3, "", [pid 5841] close(3 [pid 5840] <... rmdir resumed>) = 0 [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5842] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] newfstatat(AT_FDCWD, "./3/binderfs", [pid 6034] memfd_create("syzkaller", 0 [pid 5842] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] unlink("./3/binderfs") = 0 [pid 5842] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] newfstatat(AT_FDCWD, "./3/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] openat(AT_FDCWD, "./3/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6034] <... memfd_create resumed>) = 3 [pid 5842] <... openat resumed>) = 4 [pid 6034] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5842] newfstatat(4, "", [pid 6034] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6032] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5842] getdents64(4, [pid 5841] <... close resumed>) = 0 [pid 5840] mkdir("./4", 0777 [pid 5841] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5840] <... mkdir resumed>) = 0 [pid 5840] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5841] <... clone resumed>, child_tidptr=0x55558491f650) = 6035 [pid 5840] <... openat resumed>) = 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=0x55558491f650) = 6036 ./strace-static-x86_64: Process 6036 attached ./strace-static-x86_64: Process 6035 attached [pid 5842] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 6035] set_robust_list(0x55558491f660, 24 [pid 5842] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 6035] <... set_robust_list resumed>) = 0 [pid 6035] chdir("./4" [pid 5842] close(4 [pid 6036] set_robust_list(0x55558491f660, 24 [pid 6035] <... chdir resumed>) = 0 [pid 5842] <... close resumed>) = 0 [pid 6035] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5842] rmdir("./3/file0" [pid 6036] <... set_robust_list resumed>) = 0 [pid 6035] <... prctl resumed>) = 0 [pid 6035] setpgid(0, 0) = 0 [pid 5842] <... rmdir resumed>) = 0 [pid 6035] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5842] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5842] close(3 [pid 6036] chdir("./4" [pid 5842] <... close resumed>) = 0 [pid 6036] <... chdir resumed>) = 0 [pid 6035] <... openat resumed>) = 3 [pid 5842] rmdir("./3" [pid 6036] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6035] write(3, "1000", 4 [pid 6036] <... prctl resumed>) = 0 [pid 6035] <... write resumed>) = 4 [pid 5842] <... rmdir resumed>) = 0 [pid 6036] setpgid(0, 0 [pid 6035] close(3 [pid 6036] <... setpgid resumed>) = 0 [pid 6035] <... close resumed>) = 0 executing program [pid 5842] mkdir("./4", 0777 [pid 6036] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6035] symlink("/dev/binderfs", "./binderfs" [pid 6036] <... openat resumed>) = 3 [pid 6035] <... symlink resumed>) = 0 [pid 5842] <... mkdir resumed>) = 0 [pid 6035] write(1, "executing program\n", 18) = 18 [pid 5842] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6036] write(3, "1000", 4 [pid 6035] memfd_create("syzkaller", 0 [pid 5842] <... openat resumed>) = 3 [pid 5842] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5842] close(3) = 0 [pid 6036] <... write resumed>) = 4 [pid 6035] <... memfd_create resumed>) = 3 [ 83.897044][ T5845] bcachefs (loop5): flushing journal and stopping allocators complete, journal seq 14 [ 83.908279][ T5845] bcachefs (loop5): unshutdown complete, journal seq 14 [ 83.916849][ T5845] bcachefs (loop5): done going read-only, filesystem not clean [pid 5842] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6036] close(3 [pid 6035] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6036] <... close resumed>) = 0 [pid 6035] <... mmap resumed>) = 0x7f5e2dc00000 ./strace-static-x86_64: Process 6037 attached [pid 6036] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 6036] write(1, "executing program\n", 18) = 18 [pid 6036] memfd_create("syzkaller", 0) = 3 [pid 5842] <... clone resumed>, child_tidptr=0x55558491f650) = 6037 [pid 6037] set_robust_list(0x55558491f660, 24) = 0 [pid 6037] chdir("./4" [pid 6036] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6037] <... chdir resumed>) = 0 [pid 6036] <... mmap resumed>) = 0x7f5e2dc00000 [pid 6037] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6037] setpgid(0, 0) = 0 [pid 6037] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6037] write(3, "1000", 4) = 4 [pid 6037] close(3) = 0 [pid 6037] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6037] write(1, "executing program\n", 18) = 18 [pid 6037] memfd_create("syzkaller", 0) = 3 [ 84.007426][ T5845] bcachefs (loop5): shutdown complete [pid 6037] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 6034] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6036] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6035] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6037] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6032] <... write resumed>) = 16777216 [pid 6032] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 6032] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6032] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6032] close(3) = 0 [pid 6032] close(4) = 0 [pid 6032] mkdir("./file0", 0777 [pid 6034] <... write resumed>) = 16777216 [pid 6032] <... mkdir resumed>) = 0 [pid 6034] munmap(0x7f5e2dc00000, 138412032 [ 84.510234][ T6032] loop4: detected capacity change from 0 to 32768 [pid 6032] mount("/dev/loop4", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6034] <... munmap resumed>) = 0 [pid 6034] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6034] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6034] close(3) = 0 [pid 6034] close(4) = 0 [pid 6034] mkdir("./file0", 0777) = 0 [ 84.581813][ T6034] loop3: detected capacity change from 0 to 32768 [pid 6034] mount("/dev/loop3", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6035] <... write resumed>) = 16777216 [pid 6035] munmap(0x7f5e2dc00000, 138412032 [pid 6036] <... write resumed>) = 16777216 [pid 6036] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 6035] <... munmap resumed>) = 0 [pid 6035] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6036] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6035] <... openat resumed>) = 4 [pid 6035] ioctl(4, LOOP_SET_FD, 3 [pid 6036] ioctl(4, LOOP_SET_FD, 3 [pid 6035] <... ioctl resumed>) = 0 [pid 6036] <... ioctl resumed>) = 0 [pid 6035] close(3 [pid 6036] close(3) = 0 [pid 6035] <... close resumed>) = 0 [pid 6036] close(4 [pid 6035] close(4 [pid 6036] <... close resumed>) = 0 [pid 6035] <... close resumed>) = 0 [pid 6036] mkdir("./file0", 0777 [pid 6035] mkdir("./file0", 0777 [pid 6036] <... mkdir resumed>) = 0 [pid 6035] <... mkdir resumed>) = 0 [pid 6036] mount("/dev/loop0", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6035] mount("/dev/loop1", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6037] <... write resumed>) = 16777216 [pid 6037] munmap(0x7f5e2dc00000, 138412032) = 0 [ 84.714470][ T6035] loop1: detected capacity change from 0 to 32768 [ 84.714969][ T6036] loop0: detected capacity change from 0 to 32768 [pid 6037] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6037] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6037] close(3) = 0 [pid 6037] close(4) = 0 [pid 6037] mkdir("./file0", 0777) = 0 [ 84.789152][ T6037] loop2: detected capacity change from 0 to 32768 [ 84.976438][ T6032] 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 [ 85.000441][ T6032] bcachefs (loop4): recovering from clean shutdown, journal seq 10 [ 85.000901][ T6035] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 85.008611][ T6032] bcachefs (loop4): Version upgrade required: [ 85.008611][ T6032] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 85.008611][ T6032] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 85.008611][ T6032] 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.046320][ T6036] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 85.126673][ T6036] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 85.127355][ T6034] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 85.138304][ T6032] bcachefs (loop4): dropping and reconstructing all alloc info [ 85.151840][ T6034] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 85.151891][ T6035] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 85.171455][ T6032] bcachefs (loop4): check_topology... done [ 85.173518][ T6037] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 85.192600][ T6032] bcachefs (loop4): accounting_read... [ 85.196101][ T6037] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 85.252869][ T6032] done [ 85.256162][ T6032] bcachefs (loop4): alloc_read... done [ 85.261722][ T6032] bcachefs (loop4): stripes_read... done [pid 6037] mount("/dev/loop2", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6036] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6034] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6036] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 6036] ioctl(3, LOOP_CLR_FD) = 0 [pid 6036] close(3 [pid 6034] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 6034] ioctl(3, LOOP_CLR_FD) = 0 [pid 6034] close(3 [pid 6035] <... mount resumed>) = -1 EINVAL (Invalid argument) [ 85.293171][ T6032] bcachefs (loop4): snapshots_read... done [ 85.299168][ T6032] bcachefs (loop4): check_allocations... [ 85.314553][ T6036] bcachefs: bch2_fs_get_tree() error: EINVAL [ 85.326737][ T6034] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6035] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [ 85.424713][ T6032] done [ 85.429123][ T6035] bcachefs: bch2_fs_get_tree() error: EINVAL [ 85.451733][ T6032] bcachefs (loop4): going read-write [pid 6035] ioctl(3, LOOP_CLR_FD) = 0 [pid 6035] close(3 [pid 6037] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6037] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 6037] ioctl(3, LOOP_CLR_FD) = 0 [pid 6037] close(3 [pid 6032] <... mount resumed>) = 0 [pid 6032] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6032] chdir("./file0") = 0 [pid 6032] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6032] ioctl(4, LOOP_CLR_FD) = 0 [pid 6032] close(4) = 0 [ 85.475959][ T6037] bcachefs: bch2_fs_get_tree() error: EINVAL [ 85.507622][ T6032] bcachefs (loop4): done starting filesystem [pid 6032] unlinkat(AT_FDCWD, "./file1", 0) = 0 [pid 6032] exit_group(0) = ? [pid 6032] +++ exited with 0 +++ [pid 5844] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6032, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=42 /* 0.42 s */} --- [pid 5844] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5844] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5844] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5844] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] <... umount2 resumed>) = 0 [pid 5845] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./2/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./2/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5845] newfstatat(4, "", [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] newfstatat(AT_FDCWD, "./2/binderfs", [pid 5845] getdents64(4, [pid 5844] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5844] unlink("./2/binderfs") = 0 [pid 5845] getdents64(4, [pid 5844] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5845] close(4) = 0 [pid 5845] rmdir("./2/file0") = 0 [pid 5845] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5845] close(3) = 0 [pid 5845] rmdir("./2") = 0 [pid 5845] mkdir("./3", 0777) = 0 [pid 5845] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5845] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5845] close(3) = 0 [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55558491f650) = 6076 ./strace-static-x86_64: Process 6076 attached [pid 6076] set_robust_list(0x55558491f660, 24) = 0 executing program [pid 6076] chdir("./3") = 0 [pid 6076] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6076] setpgid(0, 0) = 0 [pid 6076] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6076] write(3, "1000", 4) = 4 [pid 6076] close(3) = 0 [pid 6076] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6076] write(1, "executing program\n", 18) = 18 [ 85.707719][ T5844] bcachefs (loop4): shutting down [ 85.719661][ T5844] bcachefs (loop4): going read-only [pid 6076] memfd_create("syzkaller", 0 [pid 6036] <... close resumed>) = 0 [pid 6076] <... memfd_create resumed>) = 3 [pid 6076] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 6037] <... close resumed>) = 0 [pid 6036] unlinkat(AT_FDCWD, "./file1", 0 [pid 6034] <... close resumed>) = 0 [pid 6037] unlinkat(AT_FDCWD, "./file1", 0) = -1 ENOENT (No such file or directory) [pid 6037] exit_group(0) = ? [pid 6036] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 6034] unlinkat(AT_FDCWD, "./file1", 0 [pid 6037] +++ exited with 0 +++ [pid 6036] exit_group(0 [pid 5842] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6037, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=47 /* 0.47 s */} --- [pid 6034] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 6036] <... exit_group resumed>) = ? [pid 5842] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 6034] exit_group(0 [pid 5842] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6036] +++ exited with 0 +++ [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6035] <... close resumed>) = 0 [pid 6034] <... exit_group resumed>) = ? [pid 5842] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5840] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6036, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=48 /* 0.48 s */} --- [pid 6035] unlinkat(AT_FDCWD, "./file1", 0) = -1 ENOENT (No such file or directory) [pid 6035] exit_group(0 [pid 5840] restart_syscall(<... resuming interrupted clone ...> [pid 6035] <... exit_group resumed>) = ? [pid 5840] <... restart_syscall resumed>) = 0 [pid 6034] +++ exited with 0 +++ [pid 5842] <... openat resumed>) = 3 [pid 5843] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6034, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=46 /* 0.46 s */} --- [pid 5842] newfstatat(3, "", [pid 5840] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] restart_syscall(<... resuming interrupted clone ...> [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] getdents64(3, [pid 5840] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5840] <... openat resumed>) = 3 [pid 5842] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] newfstatat(3, "", [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] newfstatat(AT_FDCWD, "./4/binderfs", [pid 5840] getdents64(3, [pid 5842] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5842] unlink("./4/binderfs" [pid 5840] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] <... restart_syscall resumed>) = 0 [pid 5842] <... unlink resumed>) = 0 [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] newfstatat(AT_FDCWD, "./4/binderfs", [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] newfstatat(AT_FDCWD, "./4/file0", [ 85.768915][ T5844] bcachefs (loop4): finished waiting for writes to stop [ 85.802718][ T5844] bcachefs (loop4): flushing journal and stopping allocators, journal seq 12 [pid 5840] unlink("./4/binderfs" [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] <... unlink resumed>) = 0 [pid 5843] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5842] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6035] +++ exited with 0 +++ [pid 5843] <... openat resumed>) = 3 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] newfstatat(3, "", [pid 5842] openat(AT_FDCWD, "./4/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5841] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6035, si_uid=0, si_status=0, si_utime=0, si_stime=45 /* 0.45 s */} --- [pid 5840] newfstatat(AT_FDCWD, "./4/file0", [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] <... openat resumed>) = 4 [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] getdents64(3, [pid 5842] newfstatat(4, "", [pid 5840] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] getdents64(4, [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5840] openat(AT_FDCWD, "./4/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5843] newfstatat(AT_FDCWD, "./4/binderfs", [pid 5842] getdents64(4, [pid 5840] <... openat resumed>) = 4 [pid 5843] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5840] newfstatat(4, "", [pid 5843] unlink("./4/binderfs" [pid 5842] close(4 [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] <... unlink resumed>) = 0 [pid 5842] <... close resumed>) = 0 [pid 5840] getdents64(4, [pid 5843] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] rmdir("./4/file0" [pid 5840] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] <... rmdir resumed>) = 0 [pid 5843] newfstatat(AT_FDCWD, "./4/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] getdents64(4, [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] openat(AT_FDCWD, "./4/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5841] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5843] <... openat resumed>) = 4 [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] close(4 [pid 5843] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] getdents64(3, [pid 5841] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5840] <... close resumed>) = 0 [pid 5843] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5841] <... openat resumed>) = 3 [pid 5840] rmdir("./4/file0" [pid 5843] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5842] close(3 [pid 5841] newfstatat(3, "", [pid 5840] <... rmdir resumed>) = 0 [pid 5843] close(4) = 0 [pid 5842] <... close resumed>) = 0 [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] getdents64(3, [pid 5843] rmdir("./4/file0" [pid 5842] rmdir("./4" [pid 5841] getdents64(3, [pid 5840] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5843] <... rmdir resumed>) = 0 [pid 5843] getdents64(3, [pid 5842] <... rmdir resumed>) = 0 [pid 5841] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5840] close(3 [pid 5843] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5843] close(3 [pid 5842] mkdir("./5", 0777 [pid 5841] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] <... close resumed>) = 0 [pid 5843] <... close resumed>) = 0 [pid 5843] rmdir("./4" [pid 5842] <... mkdir resumed>) = 0 [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] rmdir("./4" [pid 5843] <... rmdir resumed>) = 0 [pid 5842] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5841] newfstatat(AT_FDCWD, "./4/binderfs", [pid 5840] <... rmdir resumed>) = 0 [pid 5843] mkdir("./5", 0777 [pid 5842] <... openat resumed>) = 3 [pid 5841] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] ioctl(3, LOOP_CLR_FD [pid 5841] unlink("./4/binderfs" [pid 5842] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5841] <... unlink resumed>) = 0 [pid 5840] mkdir("./5", 0777 [pid 5842] close(3 [pid 5841] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] <... mkdir resumed>) = 0 [pid 5842] <... close resumed>) = 0 [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5842] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5841] newfstatat(AT_FDCWD, "./4/file0", [pid 5840] <... openat resumed>) = 3 [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 ./strace-static-x86_64: Process 6077 attached [pid 5843] <... mkdir resumed>) = 0 [pid 5842] <... clone resumed>, child_tidptr=0x55558491f650) = 6077 [pid 5841] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] ioctl(3, LOOP_CLR_FD [pid 5843] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6077] set_robust_list(0x55558491f660, 24 [pid 5843] <... openat resumed>) = 3 [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5841] openat(AT_FDCWD, "./4/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5840] close(3 [pid 5841] <... openat resumed>) = 4 [pid 5840] <... close resumed>) = 0 [pid 5841] newfstatat(4, "", [pid 5840] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6078 attached [pid 6077] <... set_robust_list resumed>) = 0 [pid 5843] ioctl(3, LOOP_CLR_FD [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6078] set_robust_list(0x55558491f660, 24 [pid 6077] chdir("./5" [pid 5843] close(3 [pid 5841] getdents64(4, [pid 5840] <... clone resumed>, child_tidptr=0x55558491f650) = 6078 [pid 6078] <... set_robust_list resumed>) = 0 [pid 6077] <... chdir resumed>) = 0 [pid 5843] <... close resumed>) = 0 [pid 6077] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5843] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6077] <... prctl resumed>) = 0 [pid 5841] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 ./strace-static-x86_64: Process 6079 attached [pid 6078] chdir("./5" [pid 6077] setpgid(0, 0 [pid 5841] getdents64(4, [pid 6077] <... setpgid resumed>) = 0 [pid 5841] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 6076] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... clone resumed>, child_tidptr=0x55558491f650) = 6079 [pid 5841] close(4) = 0 [pid 5841] rmdir("./4/file0") = 0 [ 85.875425][ T11] bcachefs (loop4): bch2_write_super(): fatal error loop4: Superblock write was silently dropped! (seq 0 expected 54) [pid 5841] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 6077] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6079] set_robust_list(0x55558491f660, 24 [pid 6078] <... chdir resumed>) = 0 [pid 6077] <... openat resumed>) = 3 [pid 6079] <... set_robust_list resumed>) = 0 [pid 6078] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6077] write(3, "1000", 4 [pid 5841] close(3 [pid 6079] chdir("./5" [pid 6078] <... prctl resumed>) = 0 [pid 6077] <... write resumed>) = 4 [pid 5841] <... close resumed>) = 0 [pid 6079] <... chdir resumed>) = 0 [pid 6078] setpgid(0, 0 [pid 6077] close(3 [pid 6079] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6078] <... setpgid resumed>) = 0 [pid 6079] <... prctl resumed>) = 0 [pid 6077] <... close resumed>) = 0 [pid 5841] rmdir("./4" [pid 6077] symlink("/dev/binderfs", "./binderfs" [pid 6079] setpgid(0, 0 [pid 6078] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6077] <... symlink resumed>) = 0 [pid 5841] <... rmdir resumed>) = 0 executing program [pid 6079] <... setpgid resumed>) = 0 [pid 6078] <... openat resumed>) = 3 [pid 6077] write(1, "executing program\n", 18 [pid 5841] mkdir("./5", 0777 [pid 6077] <... write resumed>) = 18 [pid 6079] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6077] memfd_create("syzkaller", 0 [pid 5841] <... mkdir resumed>) = 0 [pid 6078] write(3, "1000", 4 [pid 6077] <... memfd_create resumed>) = 3 [pid 6078] <... write resumed>) = 4 [pid 6077] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5841] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6079] <... openat resumed>) = 3 [pid 6078] close(3 [pid 6077] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5841] <... openat resumed>) = 3 [pid 6079] write(3, "1000", 4 [pid 6078] <... close resumed>) = 0 [pid 5841] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5841] close(3) = 0 [pid 5841] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6080 attached [pid 6079] <... write resumed>) = 4 [pid 6078] symlink("/dev/binderfs", "./binderfs" [pid 6079] close(3 [pid 6078] <... symlink resumed>) = 0 [pid 6079] <... close resumed>) = 0 [pid 6079] symlink("/dev/binderfs", "./binderfs" [pid 6078] write(1, "executing program\n", 18executing program [pid 6079] <... symlink resumed>) = 0 [pid 6078] <... write resumed>) = 18 [pid 5841] <... clone resumed>, child_tidptr=0x55558491f650) = 6080 [pid 6080] set_robust_list(0x55558491f660, 24 [pid 6079] write(1, "executing program\n", 18 [pid 6080] <... set_robust_list resumed>) = 0 [ 85.941555][ T11] bcachefs (loop4): fatal error - emergency read only [ 85.955698][ T5844] bcachefs (loop4): flushing journal and stopping allocators complete, journal seq 14 [pid 6078] memfd_create("syzkaller", 0 [pid 6080] chdir("./5") = 0 [pid 6080] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6080] setpgid(0, 0) = 0 [pid 6080] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXECexecuting program ) = 3 [pid 6079] <... write resumed>) = 18 [pid 6078] <... memfd_create resumed>) = 3 [pid 6080] write(3, "1000", 4) = 4 [pid 6080] close(3) = 0 [pid 6080] symlink("/dev/binderfs", "./binderfs" [pid 6079] memfd_create("syzkaller", 0 [pid 6078] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6080] <... symlink resumed>) = 0 executing program [pid 6080] write(1, "executing program\n", 18) = 18 [pid 6080] memfd_create("syzkaller", 0) = 3 [pid 6078] <... mmap resumed>) = 0x7f5e2dc00000 [pid 6080] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 6079] <... memfd_create resumed>) = 3 [pid 6079] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [ 85.983719][ T5844] bcachefs (loop4): unshutdown complete, journal seq 14 [ 86.021549][ T5844] bcachefs (loop4): done going read-only, filesystem not clean [ 86.154406][ T5844] bcachefs (loop4): shutdown complete [pid 6077] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6080] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6079] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [ 86.325159][ T8] cfg80211: failed to load regulatory.db [pid 6078] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6076] <... write resumed>) = 16777216 [pid 6076] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 6076] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 6076] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6076] close(3) = 0 [pid 6076] close(4) = 0 [pid 6076] mkdir("./file0", 0777) = 0 [ 86.503879][ T6076] loop5: detected capacity change from 0 to 32768 [pid 6076] mount("/dev/loop5", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6080] <... write resumed>) = 16777216 [pid 6080] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 6080] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6080] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6080] close(3) = 0 [pid 6080] close(4) = 0 [pid 6079] <... write resumed>) = 16777216 [pid 6080] mkdir("./file0", 0777) = 0 [pid 6079] munmap(0x7f5e2dc00000, 138412032 [pid 6080] mount("/dev/loop1", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6079] <... munmap resumed>) = 0 [pid 6077] <... write resumed>) = 16777216 [pid 6079] openat(AT_FDCWD, "/dev/loop3", O_RDWR [ 86.675911][ T6080] loop1: detected capacity change from 0 to 32768 [pid 6077] munmap(0x7f5e2dc00000, 138412032 [pid 6079] <... openat resumed>) = 4 [pid 6077] <... munmap resumed>) = 0 [pid 6079] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6079] close(3 [pid 6078] <... write resumed>) = 16777216 [pid 6077] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6079] <... close resumed>) = 0 [pid 6078] munmap(0x7f5e2dc00000, 138412032 [pid 6077] <... openat resumed>) = 4 [pid 6079] close(4 [pid 6077] ioctl(4, LOOP_SET_FD, 3 [pid 6079] <... close resumed>) = 0 [pid 6078] <... munmap resumed>) = 0 [pid 6079] mkdir("./file0", 0777 [pid 6077] <... ioctl resumed>) = 0 [pid 6079] <... mkdir resumed>) = 0 [pid 6079] mount("/dev/loop3", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6078] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6077] close(3 [pid 6078] <... openat resumed>) = 4 [pid 6077] <... close resumed>) = 0 [pid 6078] ioctl(4, LOOP_SET_FD, 3 [ 86.763890][ T6079] loop3: detected capacity change from 0 to 32768 [ 86.793300][ T6077] loop2: detected capacity change from 0 to 32768 [pid 6077] close(4) = 0 [pid 6077] mkdir("./file0", 0777) = 0 [pid 6077] mount("/dev/loop2", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6078] <... ioctl resumed>) = 0 [pid 6078] close(3) = 0 [pid 6078] close(4) = 0 [pid 6078] mkdir("./file0", 0777) = 0 [ 86.837079][ T6078] loop0: detected capacity change from 0 to 32768 [ 87.088677][ T6076] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 87.088756][ T6080] 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 [ 87.104465][ T6076] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 87.122161][ T6080] bcachefs (loop1): recovering from clean shutdown, journal seq 10 [ 87.136535][ T6077] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 87.148089][ T6077] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 87.162921][ T6079] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 87.163112][ T6080] bcachefs (loop1): Version upgrade required: [ 87.163112][ T6080] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 87.163112][ T6080] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 87.163112][ T6080] 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 [ 87.203538][ T6079] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 87.251640][ T6078] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 87.285251][ T6078] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 87.293641][ T6080] bcachefs (loop1): dropping and reconstructing all alloc info [ 87.361108][ T6080] bcachefs (loop1): check_topology... done [ 87.382842][ T6080] bcachefs (loop1): accounting_read... done [ 87.443600][ T6080] bcachefs (loop1): alloc_read... done [ 87.456178][ T6077] bcachefs: bch2_fs_get_tree() error: EINVAL [ 87.461072][ T6080] bcachefs (loop1): stripes_read... done [ 87.469207][ T6076] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6078] mount("/dev/loop0", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6076] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6077] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6077] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 6077] ioctl(3, LOOP_CLR_FD) = 0 [pid 6077] close(3 [pid 6076] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6078] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6076] <... openat resumed>) = 3 [pid 6078] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6076] ioctl(3, LOOP_CLR_FD [pid 6078] <... openat resumed>) = 3 [pid 6076] <... ioctl resumed>) = 0 [pid 6078] ioctl(3, LOOP_CLR_FD [pid 6076] close(3 [pid 6078] <... ioctl resumed>) = 0 [pid 6078] close(3 [pid 6079] <... mount resumed>) = -1 EINVAL (Invalid argument) [ 87.482731][ T6080] bcachefs (loop1): snapshots_read... done [ 87.489502][ T6080] bcachefs (loop1): check_allocations... [ 87.494443][ T6078] bcachefs: bch2_fs_get_tree() error: EINVAL [ 87.517712][ T6079] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6079] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 6079] ioctl(3, LOOP_CLR_FD) = 0 [ 87.585931][ T6080] done [ 87.618926][ T6080] bcachefs (loop1): going read-write [pid 6079] close(3 [pid 5844] <... umount2 resumed>) = 0 [pid 6080] <... mount resumed>) = 0 [pid 5844] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6080] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6080] <... openat resumed>) = 3 [pid 6080] chdir("./file0") = 0 [pid 5844] newfstatat(AT_FDCWD, "./2/file0", [pid 6080] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6080] <... openat resumed>) = 4 [pid 5844] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6080] ioctl(4, LOOP_CLR_FD [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6080] <... ioctl resumed>) = 0 [pid 5844] openat(AT_FDCWD, "./2/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6080] close(4 [pid 5844] <... openat resumed>) = 4 [pid 6080] <... close resumed>) = 0 [ 87.663868][ T6080] bcachefs (loop1): done starting filesystem [pid 5844] newfstatat(4, "", [pid 6080] unlinkat(AT_FDCWD, "./file1", 0 [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6080] <... unlinkat resumed>) = 0 [pid 5844] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 6080] exit_group(0) = ? [pid 6080] +++ exited with 0 +++ [pid 5841] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6080, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=42 /* 0.42 s */} --- [pid 5841] restart_syscall(<... resuming interrupted clone ...> [pid 5844] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5844] close(4 [pid 5841] <... restart_syscall resumed>) = 0 [pid 5844] <... close resumed>) = 0 [pid 5844] rmdir("./2/file0" [pid 5841] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] <... rmdir resumed>) = 0 [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] getdents64(3, [pid 5841] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5844] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5841] newfstatat(3, "", [pid 5844] close(3 [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] <... close resumed>) = 0 [pid 5841] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5841] umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5841] newfstatat(AT_FDCWD, "./5/binderfs", [pid 5844] rmdir("./2" [pid 5841] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] unlink("./5/binderfs" [pid 5844] <... rmdir resumed>) = 0 [pid 5841] <... unlink resumed>) = 0 [pid 5841] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] mkdir("./3", 0777) = 0 [pid 5844] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5844] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5844] close(3) = 0 [pid 5844] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6119 attached [pid 6119] set_robust_list(0x55558491f660, 24 [pid 5844] <... clone resumed>, child_tidptr=0x55558491f650) = 6119 [pid 6119] <... set_robust_list resumed>) = 0 [pid 6119] chdir("./3") = 0 [pid 6119] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [ 87.800150][ T5841] bcachefs (loop1): shutting down [ 87.805421][ T5841] bcachefs (loop1): going read-only [pid 6119] setpgid(0, 0) = 0 [pid 6119] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6119] write(3, "1000", 4) = 4 [pid 6119] close(3) = 0 [pid 6077] <... close resumed>) = 0 [pid 6119] symlink("/dev/binderfs", "./binderfs" [pid 6077] unlinkat(AT_FDCWD, "./file1", 0 [pid 6119] <... symlink resumed>) = 0 [ 87.841199][ T5841] bcachefs (loop1): finished waiting for writes to stop [pid 6119] write(1, "executing program\n", 18 [pid 6077] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 6079] <... close resumed>) = 0 [pid 6076] <... close resumed>) = 0 executing program [pid 6119] <... write resumed>) = 18 [pid 6077] exit_group(0 [pid 6079] unlinkat(AT_FDCWD, "./file1", 0 [pid 6119] memfd_create("syzkaller", 0) = 3 [pid 6079] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 6077] <... exit_group resumed>) = ? [pid 6076] unlinkat(AT_FDCWD, "./file1", 0 [pid 6119] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 6076] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 6076] exit_group(0) = ? [pid 6077] +++ exited with 0 +++ [pid 6076] +++ exited with 0 +++ [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6076, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=43 /* 0.43 s */} --- [pid 5842] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6077, si_uid=0, si_status=0, si_utime=0, si_stime=44 /* 0.44 s */} --- [pid 5845] restart_syscall(<... resuming interrupted clone ...> [pid 5842] restart_syscall(<... resuming interrupted clone ...> [pid 6079] exit_group(0 [pid 5845] <... restart_syscall resumed>) = 0 [pid 5842] <... restart_syscall resumed>) = 0 [pid 5845] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6079] <... exit_group resumed>) = ? [pid 5845] <... openat resumed>) = 3 [pid 5842] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5845] newfstatat(3, "", [pid 5842] <... openat resumed>) = 3 [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] newfstatat(3, "", [pid 6079] +++ exited with 0 +++ [pid 5845] getdents64(3, [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5843] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6079, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=41 /* 0.41 s */} --- [pid 5842] getdents64(3, [pid 5845] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] restart_syscall(<... resuming interrupted clone ...> [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] newfstatat(AT_FDCWD, "./3/binderfs", [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] newfstatat(AT_FDCWD, "./5/binderfs", [pid 5845] unlink("./3/binderfs" [pid 5842] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] <... unlink resumed>) = 0 [pid 5843] <... restart_syscall resumed>) = 0 [pid 5842] unlink("./5/binderfs" [pid 5845] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] <... unlink resumed>) = 0 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./3/file0", [pid 5843] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] <... openat resumed>) = 3 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./3/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5843] newfstatat(3, "", [pid 5845] <... openat resumed>) = 4 [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] newfstatat(AT_FDCWD, "./5/file0", [pid 5845] newfstatat(4, "", [pid 5843] getdents64(3, [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] getdents64(4, [pid 5843] umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] getdents64(4, [pid 5843] newfstatat(AT_FDCWD, "./5/binderfs", [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5843] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] openat(AT_FDCWD, "./5/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5845] close(4 [pid 5842] <... openat resumed>) = 4 [pid 5845] <... close resumed>) = 0 [pid 5843] unlink("./5/binderfs" [pid 5842] newfstatat(4, "", [pid 5845] rmdir("./3/file0" [pid 5843] <... unlink resumed>) = 0 [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] <... rmdir resumed>) = 0 [pid 5843] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] getdents64(4, [ 87.901547][ T5841] bcachefs (loop1): flushing journal and stopping allocators, journal seq 12 [pid 5845] getdents64(3, [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 6078] <... close resumed>) = 0 [pid 5845] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5843] newfstatat(AT_FDCWD, "./5/file0", [pid 5842] getdents64(4, [pid 5845] close(3 [pid 5842] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5845] <... close resumed>) = 0 [pid 5842] close(4 [pid 5845] rmdir("./3" [pid 5842] <... close resumed>) = 0 [pid 5845] <... rmdir resumed>) = 0 [pid 5842] rmdir("./5/file0" [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] <... rmdir resumed>) = 0 [pid 5845] mkdir("./4", 0777 [pid 5843] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] getdents64(3, [pid 6078] unlinkat(AT_FDCWD, "./file1", 0 [pid 5845] <... mkdir resumed>) = 0 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 6078] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5845] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5843] openat(AT_FDCWD, "./5/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5842] close(3 [pid 6078] exit_group(0 [pid 5845] <... openat resumed>) = 3 [pid 5843] <... openat resumed>) = 4 [pid 5842] <... close resumed>) = 0 [pid 6078] <... exit_group resumed>) = ? [pid 5845] ioctl(3, LOOP_CLR_FD [pid 5843] newfstatat(4, "", [pid 5842] rmdir("./5" [pid 5845] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] close(3 [pid 5843] getdents64(4, [pid 5845] <... close resumed>) = 0 [pid 5843] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5842] <... rmdir resumed>) = 0 [pid 5843] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5842] mkdir("./6", 0777 [pid 5843] close(4 [pid 6078] +++ exited with 0 +++ [pid 5843] <... close resumed>) = 0 [pid 5842] <... mkdir resumed>) = 0 [pid 5843] rmdir("./5/file0" [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5842] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5843] <... rmdir resumed>) = 0 [pid 5842] <... openat resumed>) = 3 [pid 5840] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6078, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=44 /* 0.44 s */} --- [pid 5842] ioctl(3, LOOP_CLR_FD [pid 5840] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] <... clone resumed>, child_tidptr=0x55558491f650) = 6120 [pid 5842] close(3 [pid 5840] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5842] <... close resumed>) = 0 [pid 5840] <... openat resumed>) = 3 [pid 5842] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5840] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] <... clone resumed>, child_tidptr=0x55558491f650) = 6121 [pid 5840] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5840] umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./5/binderfs", [pid 5843] getdents64(3, [pid 5840] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 ./strace-static-x86_64: Process 6121 attached ./strace-static-x86_64: Process 6120 attached [pid 5843] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5840] unlink("./5/binderfs" [pid 6121] set_robust_list(0x55558491f660, 24 [pid 6120] set_robust_list(0x55558491f660, 24 [pid 5843] close(3 [pid 5840] <... unlink resumed>) = 0 [pid 6121] <... set_robust_list resumed>) = 0 [pid 6120] <... set_robust_list resumed>) = 0 [pid 5843] <... close resumed>) = 0 [pid 6121] chdir("./6" [pid 6120] chdir("./4" [pid 5843] rmdir("./5" [pid 5840] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6121] <... chdir resumed>) = 0 [pid 6120] <... chdir resumed>) = 0 [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6121] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6120] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5843] <... rmdir resumed>) = 0 [ 87.978599][ T11] bcachefs (loop1): bch2_write_super(): fatal error loop1: Superblock write was silently dropped! (seq 0 expected 54) [ 87.994338][ T11] bcachefs (loop1): fatal error - emergency read only [ 88.009714][ T5841] bcachefs (loop1): flushing journal and stopping allocators complete, journal seq 13 [pid 5840] newfstatat(AT_FDCWD, "./5/file0", [pid 6121] <... prctl resumed>) = 0 [pid 6120] <... prctl resumed>) = 0 [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6120] setpgid(0, 0 [pid 5840] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6120] <... setpgid resumed>) = 0 [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6121] setpgid(0, 0 [pid 6120] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5843] mkdir("./6", 0777 [pid 5840] openat(AT_FDCWD, "./5/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6121] <... setpgid resumed>) = 0 [pid 5843] <... mkdir resumed>) = 0 [pid 5840] <... openat resumed>) = 4 [pid 5840] newfstatat(4, "", [pid 6121] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5843] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] getdents64(4, [pid 6121] <... openat resumed>) = 3 [pid 5840] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5843] <... openat resumed>) = 3 [pid 5840] getdents64(4, [pid 6121] write(3, "1000", 4 [pid 6120] <... openat resumed>) = 3 [pid 5843] ioctl(3, LOOP_CLR_FD [pid 5840] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 6121] <... write resumed>) = 4 [pid 6120] write(3, "1000", 4 [pid 5843] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5840] close(4 [pid 6121] close(3 [pid 6120] <... write resumed>) = 4 [pid 5843] close(3 [pid 5840] <... close resumed>) = 0 [pid 6121] <... close resumed>) = 0 [pid 6120] close(3 [pid 5843] <... close resumed>) = 0 [pid 5840] rmdir("./5/file0" [pid 6121] symlink("/dev/binderfs", "./binderfs" [pid 6120] <... close resumed>) = 0 executing program [pid 5843] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5840] <... rmdir resumed>) = 0 [pid 6121] <... symlink resumed>) = 0 [pid 6120] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5840] getdents64(3, [pid 6120] write(1, "executing program\n", 18 [pid 5840] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 6120] <... write resumed>) = 18 [pid 6120] memfd_create("syzkaller", 0 [pid 5840] close(3) = 0 [pid 5840] rmdir("./5") = 0 [pid 6120] <... memfd_create resumed>) = 3 [pid 6120] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 5840] mkdir("./6", 0777executing program ./strace-static-x86_64: Process 6122 attached [pid 6121] write(1, "executing program\n", 18 [pid 5840] <... mkdir resumed>) = 0 [pid 6122] set_robust_list(0x55558491f660, 24 [pid 6121] <... write resumed>) = 18 [pid 5843] <... clone resumed>, child_tidptr=0x55558491f650) = 6122 [pid 6122] <... set_robust_list resumed>) = 0 [pid 6121] memfd_create("syzkaller", 0) = 3 [pid 6122] chdir("./6" [pid 6121] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6122] <... chdir resumed>) = 0 [pid 6121] <... mmap resumed>) = 0x7f5e2dc00000 [pid 6122] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5840] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 6122] <... prctl resumed>) = 0 [pid 5840] ioctl(3, LOOP_CLR_FD [pid 6122] setpgid(0, 0 [pid 5840] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6122] <... setpgid resumed>) = 0 [pid 5840] close(3) = 0 [pid 6122] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5840] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55558491f650) = 6123 [ 88.029819][ T5841] bcachefs (loop1): unshutdown complete, journal seq 13 [ 88.060032][ T5841] bcachefs (loop1): done going read-only, filesystem not clean ./strace-static-x86_64: Process 6123 attached [pid 6122] <... openat resumed>) = 3 [pid 6122] write(3, "1000", 4 [pid 6123] set_robust_list(0x55558491f660, 24) = 0 [pid 6123] chdir("./6") = 0 [pid 6123] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6122] <... write resumed>) = 4 [pid 6123] setpgid(0, 0 [pid 6122] close(3 [pid 6123] <... setpgid resumed>) = 0 [pid 6122] <... close resumed>) = 0 [pid 6123] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6122] symlink("/dev/binderfs", "./binderfs" [pid 6123] <... openat resumed>) = 3 [pid 6122] <... symlink resumed>) = 0 executing program [pid 6123] write(3, "1000", 4 [pid 6122] write(1, "executing program\n", 18 [pid 6123] <... write resumed>) = 4 [pid 6122] <... write resumed>) = 18 [pid 6123] close(3) = 0 [pid 6123] symlink("/dev/binderfs", "./binderfs" [pid 6122] memfd_create("syzkaller", 0 [pid 6123] <... symlink resumed>) = 0 [pid 6122] <... memfd_create resumed>) = 3 executing program [pid 6123] write(1, "executing program\n", 18 [pid 6122] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6123] <... write resumed>) = 18 [pid 6122] <... mmap resumed>) = 0x7f5e2dc00000 [pid 6123] memfd_create("syzkaller", 0) = 3 [pid 6123] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [ 88.159987][ T5841] bcachefs (loop1): shutdown complete [pid 6119] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6121] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6123] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6120] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6122] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6119] <... write resumed>) = 16777216 [pid 6119] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 6119] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6119] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6119] close(3) = 0 [pid 6119] close(4) = 0 [pid 6119] mkdir("./file0", 0777) = 0 [pid 6119] mount("/dev/loop4", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6121] <... write resumed>) = 16777216 [pid 6123] <... write resumed>) = 16777216 [ 88.753733][ T6119] loop4: detected capacity change from 0 to 32768 [pid 6123] munmap(0x7f5e2dc00000, 138412032 [pid 6121] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 6120] <... write resumed>) = 16777216 [pid 6120] munmap(0x7f5e2dc00000, 138412032 [pid 6123] <... munmap resumed>) = 0 [pid 6122] <... write resumed>) = 16777216 [pid 6121] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6120] <... munmap resumed>) = 0 [pid 6123] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6122] munmap(0x7f5e2dc00000, 138412032 [pid 6121] <... openat resumed>) = 4 [pid 6120] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6123] <... openat resumed>) = 4 [pid 6121] ioctl(4, LOOP_SET_FD, 3 [pid 6120] <... openat resumed>) = 4 [pid 6123] ioctl(4, LOOP_SET_FD, 3 [pid 6120] ioctl(4, LOOP_SET_FD, 3 [pid 6121] <... ioctl resumed>) = 0 [pid 6122] <... munmap resumed>) = 0 [pid 6123] <... ioctl resumed>) = 0 [pid 6120] <... ioctl resumed>) = 0 [pid 6120] close(3 [pid 6123] close(3 [pid 6122] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6121] close(3 [pid 6120] <... close resumed>) = 0 [pid 6123] <... close resumed>) = 0 [pid 6122] <... openat resumed>) = 4 [pid 6121] <... close resumed>) = 0 [pid 6120] close(4 [pid 6123] close(4 [pid 6122] ioctl(4, LOOP_SET_FD, 3 [pid 6121] close(4 [pid 6123] <... close resumed>) = 0 [pid 6121] <... close resumed>) = 0 [pid 6120] <... close resumed>) = 0 [pid 6123] mkdir("./file0", 0777 [pid 6121] mkdir("./file0", 0777 [pid 6120] mkdir("./file0", 0777 [pid 6123] <... mkdir resumed>) = 0 [pid 6121] <... mkdir resumed>) = 0 [pid 6120] <... mkdir resumed>) = 0 [pid 6120] mount("/dev/loop5", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6121] mount("/dev/loop2", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6123] mount("/dev/loop0", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6122] <... ioctl resumed>) = 0 [pid 6122] close(3) = 0 [pid 6122] close(4) = 0 [pid 6122] mkdir("./file0", 0777) = 0 [ 88.864606][ T6121] loop2: detected capacity change from 0 to 32768 [ 88.871433][ T6120] loop5: detected capacity change from 0 to 32768 [ 88.878328][ T6123] loop0: detected capacity change from 0 to 32768 [ 88.898894][ T6122] loop3: detected capacity change from 0 to 32768 [ 89.187524][ T6119] 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 [ 89.193011][ T6121] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 89.219139][ T6123] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 89.229053][ T6123] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 89.230140][ T6120] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 89.237744][ T6119] bcachefs (loop4): recovering from clean shutdown, journal seq 10 [ 89.254758][ T6119] bcachefs (loop4): Version upgrade required: [ 89.254758][ T6119] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 89.254758][ T6119] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 89.254758][ T6119] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 89.271932][ T6122] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 89.336282][ T6119] bcachefs (loop4): dropping and reconstructing all alloc info [ 89.360138][ T6121] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 89.361981][ T6120] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 89.368356][ T6122] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 89.399923][ T6119] bcachefs (loop4): check_topology... done [ 89.428920][ T6119] bcachefs (loop4): accounting_read... done [ 89.492845][ T6119] bcachefs (loop4): alloc_read... done [ 89.508663][ T6119] bcachefs (loop4): stripes_read... done [ 89.527646][ T6119] bcachefs (loop4): snapshots_read... done [ 89.552166][ T6119] bcachefs (loop4): check_allocations... [ 89.557450][ T6123] bcachefs: bch2_fs_get_tree() error: EINVAL [ 89.571046][ T6122] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6122] mount("/dev/loop3", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6123] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6123] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 6123] ioctl(3, LOOP_CLR_FD) = 0 [pid 6122] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6123] close(3 [pid 6122] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 6122] ioctl(3, LOOP_CLR_FD) = 0 [pid 6122] close(3 [pid 6120] <... mount resumed>) = -1 EINVAL (Invalid argument) [ 89.602335][ T6120] bcachefs: bch2_fs_get_tree() error: EINVAL [ 89.623143][ T6119] done [pid 6120] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 6120] ioctl(3, LOOP_CLR_FD) = 0 [pid 6120] close(3 [pid 5841] <... umount2 resumed>) = 0 [pid 5841] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5841] newfstatat(AT_FDCWD, "./5/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 89.652461][ T6119] bcachefs (loop4): going read-write [ 89.659021][ T6121] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6121] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5841] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6121] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6121] ioctl(3, LOOP_CLR_FD [pid 5841] openat(AT_FDCWD, "./5/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6121] <... ioctl resumed>) = 0 [pid 5841] <... openat resumed>) = 4 [pid 6121] close(3 [pid 6119] <... mount resumed>) = 0 [pid 5841] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5841] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5841] close(4) = 0 [pid 5841] rmdir("./5/file0") = 0 [pid 5841] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5841] close(3) = 0 [pid 5841] rmdir("./5") = 0 [pid 5841] mkdir("./6", 0777) = 0 [pid 5841] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5841] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5841] close(3) = 0 [pid 5841] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6162 attached , child_tidptr=0x55558491f650) = 6162 [pid 6162] set_robust_list(0x55558491f660, 24) = 0 [pid 6162] chdir("./6") = 0 [pid 6162] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6162] setpgid(0, 0) = 0 [pid 6162] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [ 89.704366][ T6119] bcachefs (loop4): done starting filesystem [pid 6119] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6119] chdir("./file0" [pid 6162] write(3, "1000", 4 [pid 6119] <... chdir resumed>) = 0 [pid 6162] <... write resumed>) = 4 [pid 6119] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6162] close(3 [pid 6119] <... openat resumed>) = 4 [pid 6162] <... close resumed>) = 0 [pid 6162] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6162] write(1, "executing program\n", 18) = 18 [pid 6162] memfd_create("syzkaller", 0 [pid 6119] ioctl(4, LOOP_CLR_FD [pid 6162] <... memfd_create resumed>) = 3 [pid 6162] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 6119] <... ioctl resumed>) = 0 [pid 6119] close(4) = 0 [pid 6119] unlinkat(AT_FDCWD, "./file1", 0) = 0 [pid 6119] exit_group(0) = ? [pid 6119] +++ exited with 0 +++ [pid 5844] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6119, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=34 /* 0.34 s */} --- [pid 5844] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5844] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5844] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5844] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] newfstatat(AT_FDCWD, "./3/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] unlink("./3/binderfs") = 0 [pid 5844] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6123] <... close resumed>) = 0 [pid 6123] unlinkat(AT_FDCWD, "./file1", 0) = -1 ENOENT (No such file or directory) [pid 6123] exit_group(0) = ? [pid 6123] +++ exited with 0 +++ [pid 5840] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6123, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=36 /* 0.36 s */} --- [pid 5840] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5840] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./6", 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, 0x5555849206f0 /* 4 entries */, 32768) = 112 [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, 0x555584928730 /* 2 entries */, 32768) = 48 [ 89.956525][ T5844] bcachefs (loop4): shutting down [ 89.972482][ T5844] bcachefs (loop4): going read-only [pid 5840] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5840] close(4) = 0 [pid 5840] rmdir("./6/file0") = 0 [pid 5840] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5840] close(3) = 0 [pid 5840] rmdir("./6") = 0 [pid 5840] mkdir("./7", 0777) = 0 [pid 5840] openat(AT_FDCWD, "/dev/loop0", 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=0x55558491f650) = 6164 ./strace-static-x86_64: Process 6164 attached [pid 6164] set_robust_list(0x55558491f660, 24) = 0 [pid 6164] chdir("./7") = 0 [pid 6164] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6164] setpgid(0, 0) = 0 [pid 6164] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6164] write(3, "1000", 4) = 4 [pid 6164] close(3) = 0 [pid 6164] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6164] write(1, "executing program\n", 18) = 18 [pid 6164] memfd_create("syzkaller", 0 [pid 6120] <... close resumed>) = 0 [pid 6164] <... memfd_create resumed>) = 3 [pid 6122] <... close resumed>) = 0 [pid 6164] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6120] unlinkat(AT_FDCWD, "./file1", 0 [pid 6164] <... mmap resumed>) = 0x7f5e2dc00000 [pid 6120] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 6120] exit_group(0) = ? [ 90.025621][ T5844] bcachefs (loop4): finished waiting for writes to stop [ 90.061653][ T5844] bcachefs (loop4): flushing journal and stopping allocators, journal seq 12 [pid 6122] unlinkat(AT_FDCWD, "./file1", 0 [pid 6120] +++ exited with 0 +++ [pid 6122] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 6122] exit_group(0 [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6120, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=52 /* 0.52 s */} --- [pid 6122] <... exit_group resumed>) = ? [pid 6122] +++ exited with 0 +++ [pid 5843] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6122, si_uid=0, si_status=0, si_utime=0, si_stime=55 /* 0.55 s */} --- [pid 5843] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5843] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5843] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5843] newfstatat(3, "", [pid 5845] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] getdents64(3, [pid 5845] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5843] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5845] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] newfstatat(AT_FDCWD, "./6/binderfs", [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./4/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] unlink("./4/binderfs") = 0 [pid 5845] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./4/file0", [pid 5843] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] unlink("./6/binderfs" [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./4/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6121] <... close resumed>) = 0 [pid 5845] <... openat resumed>) = 4 [pid 6121] unlinkat(AT_FDCWD, "./file1", 0 [pid 6162] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5845] newfstatat(4, "", [pid 5843] <... unlink resumed>) = 0 [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] getdents64(4, [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6121] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5845] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5843] newfstatat(AT_FDCWD, "./6/file0", [pid 5845] getdents64(4, [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5843] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] close(4 [pid 6121] exit_group(0 [pid 5845] <... close resumed>) = 0 [pid 5845] rmdir("./4/file0" [pid 6121] <... exit_group resumed>) = ? [pid 6121] +++ exited with 0 +++ [pid 5845] <... rmdir resumed>) = 0 [pid 5845] getdents64(3, [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5843] openat(AT_FDCWD, "./6/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5845] close(3) = 0 [pid 5843] <... openat resumed>) = 4 [pid 5842] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6121, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=42 /* 0.42 s */} --- [pid 5845] rmdir("./4" [pid 5843] newfstatat(4, "", [pid 5842] restart_syscall(<... resuming interrupted clone ...> [pid 5845] <... rmdir resumed>) = 0 [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] mkdir("./5", 0777 [pid 5843] getdents64(4, [pid 5845] <... mkdir resumed>) = 0 [pid 5843] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5845] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5843] getdents64(4, [pid 5845] <... openat resumed>) = 3 [pid 5843] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5845] ioctl(3, LOOP_CLR_FD [pid 5843] close(4 [pid 5845] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5843] <... close resumed>) = 0 [pid 5845] close(3 [pid 5843] rmdir("./6/file0" [pid 5845] <... close resumed>) = 0 [pid 5843] <... rmdir resumed>) = 0 [pid 5842] <... restart_syscall resumed>) = 0 [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6165 attached [pid 6165] set_robust_list(0x55558491f660, 24 [pid 5845] <... clone resumed>, child_tidptr=0x55558491f650) = 6165 [pid 5843] getdents64(3, [pid 6165] <... set_robust_list resumed>) = 0 [pid 6165] chdir("./5" [pid 5843] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5842] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6165] <... chdir resumed>) = 0 [pid 5843] close(3 [ 90.148345][ T11] bcachefs (loop4): bch2_write_super(): fatal error loop4: Superblock write was silently dropped! (seq 0 expected 54) [ 90.185202][ T11] bcachefs (loop4): fatal error - emergency read only [pid 6165] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5843] <... close resumed>) = 0 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5843] rmdir("./6" [pid 6165] setpgid(0, 0 [pid 5843] <... rmdir resumed>) = 0 [pid 5842] <... openat resumed>) = 3 [pid 6165] <... setpgid resumed>) = 0 [pid 5843] mkdir("./7", 0777 [pid 5842] newfstatat(3, "", [pid 5843] <... mkdir resumed>) = 0 [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6165] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5843] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6165] <... openat resumed>) = 3 [pid 5843] <... openat resumed>) = 3 [pid 5842] getdents64(3, [pid 6165] write(3, "1000", 4 [pid 5843] ioctl(3, LOOP_CLR_FD [pid 6165] <... write resumed>) = 4 [pid 5843] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6165] close(3 [pid 5843] close(3 [pid 6165] <... close resumed>) = 0 [pid 6165] symlink("/dev/binderfs", "./binderfs" [pid 5843] <... close resumed>) = 0 [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 6165] <... symlink resumed>) = 0 [pid 5843] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5842] umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6165] write(1, "executing program\n", 18executing program ./strace-static-x86_64: Process 6166 attached ) = 18 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] <... clone resumed>, child_tidptr=0x55558491f650) = 6166 [pid 5842] newfstatat(AT_FDCWD, "./6/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6166] set_robust_list(0x55558491f660, 24 [pid 6165] memfd_create("syzkaller", 0 [pid 5842] unlink("./6/binderfs") = 0 [pid 5842] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] newfstatat(AT_FDCWD, "./6/file0", [pid 6166] <... set_robust_list resumed>) = 0 [pid 6165] <... memfd_create resumed>) = 3 [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] openat(AT_FDCWD, "./6/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5842] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5842] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5842] close(4) = 0 [pid 5842] rmdir("./6/file0" [pid 6165] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6166] chdir("./7" [pid 5842] <... rmdir resumed>) = 0 [pid 5842] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [ 90.249919][ T5844] bcachefs (loop4): flushing journal and stopping allocators complete, journal seq 14 [pid 6166] <... chdir resumed>) = 0 [pid 6165] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5842] close(3) = 0 [pid 6166] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5842] rmdir("./6") = 0 [pid 5842] mkdir("./7", 0777) = 0 [pid 6166] <... prctl resumed>) = 0 [pid 6166] setpgid(0, 0) = 0 [pid 6166] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5842] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6166] <... openat resumed>) = 3 [pid 5842] <... openat resumed>) = 3 [pid 6166] write(3, "1000", 4 [pid 5842] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5842] close(3) = 0 [pid 5842] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6167 attached [pid 6166] <... write resumed>) = 4 [pid 5842] <... clone resumed>, child_tidptr=0x55558491f650) = 6167 [pid 6166] close(3 [pid 6167] set_robust_list(0x55558491f660, 24 [pid 6166] <... close resumed>) = 0 [pid 6167] <... set_robust_list resumed>) = 0 [pid 6166] symlink("/dev/binderfs", "./binderfs" [pid 6167] chdir("./7" executing program [pid 6166] <... symlink resumed>) = 0 [pid 6166] write(1, "executing program\n", 18 [pid 6167] <... chdir resumed>) = 0 [pid 6166] <... write resumed>) = 18 [pid 6167] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6166] memfd_create("syzkaller", 0 [pid 6167] <... prctl resumed>) = 0 [pid 6167] setpgid(0, 0 [pid 6166] <... memfd_create resumed>) = 3 [pid 6167] <... setpgid resumed>) = 0 [pid 6166] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 6167] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6167] write(3, "1000", 4) = 4 [pid 6167] close(3) = 0 [pid 6167] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 6167] write(1, "executing program\n", 18) = 18 [pid 6167] memfd_create("syzkaller", 0) = 3 [pid 6167] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [ 90.314804][ T5844] bcachefs (loop4): unshutdown complete, journal seq 14 [ 90.351296][ T5844] bcachefs (loop4): done going read-only, filesystem not clean [ 90.469164][ T5844] bcachefs (loop4): shutdown complete [pid 6164] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6165] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6166] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6167] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6162] <... write resumed>) = 16777216 [pid 6162] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 6162] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6162] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6162] close(3) = 0 [pid 6162] close(4) = 0 [pid 6162] mkdir("./file0", 0777) = 0 [ 90.797191][ T6162] loop1: detected capacity change from 0 to 32768 [pid 6162] mount("/dev/loop1", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6164] <... write resumed>) = 16777216 [pid 6164] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 6164] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6164] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6164] close(3) = 0 [pid 6166] <... write resumed>) = 16777216 [pid 6164] close(4 [pid 6166] munmap(0x7f5e2dc00000, 138412032 [pid 6164] <... close resumed>) = 0 [pid 6164] mkdir("./file0", 0777) = 0 [pid 6164] mount("/dev/loop0", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6166] <... munmap resumed>) = 0 [pid 6166] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [ 90.984141][ T6164] loop0: detected capacity change from 0 to 32768 [pid 6166] ioctl(4, LOOP_SET_FD, 3 [pid 6165] <... write resumed>) = 16777216 [pid 6166] <... ioctl resumed>) = 0 [pid 6166] close(3 [pid 6165] munmap(0x7f5e2dc00000, 138412032 [pid 6166] <... close resumed>) = 0 [pid 6166] close(4) = 0 [pid 6166] mkdir("./file0", 0777) = 0 [pid 6166] mount("/dev/loop3", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6165] <... munmap resumed>) = 0 [ 91.043618][ T6166] loop3: detected capacity change from 0 to 32768 [pid 6165] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 6165] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6165] close(3) = 0 [pid 6165] close(4) = 0 [pid 6165] mkdir("./file0", 0777) = 0 [pid 6165] mount("/dev/loop5", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6167] <... write resumed>) = 16777216 [pid 6167] munmap(0x7f5e2dc00000, 138412032) = 0 [ 91.116038][ T6165] loop5: detected capacity change from 0 to 32768 [pid 6167] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6167] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6167] close(3) = 0 [pid 6167] close(4) = 0 [pid 6167] mkdir("./file0", 0777) = 0 [ 91.182305][ T6167] loop2: detected capacity change from 0 to 32768 [ 91.393169][ T6166] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 91.402746][ T6162] 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 [ 91.423093][ T6166] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 91.426156][ T6164] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 91.436225][ T6162] bcachefs (loop1): recovering from clean shutdown, journal seq 10 [ 91.443694][ T6164] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 91.451683][ T6162] bcachefs (loop1): Version upgrade required: [ 91.451683][ T6162] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 91.451683][ T6162] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 91.451683][ T6162] 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 [ 91.489332][ T6165] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 91.546567][ T6165] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 91.572145][ T6162] bcachefs (loop1): dropping and reconstructing all alloc info [ 91.582375][ T6167] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 91.592049][ T6167] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [pid 6167] mount("/dev/loop2", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6164] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6164] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [ 91.654307][ T6162] bcachefs (loop1): check_topology... done [ 91.662354][ T6164] bcachefs: bch2_fs_get_tree() error: EINVAL [ 91.676566][ T6162] bcachefs (loop1): accounting_read... done [pid 6164] ioctl(3, LOOP_CLR_FD) = 0 [ 91.682731][ T6162] bcachefs (loop1): alloc_read... done [ 91.709728][ T6162] bcachefs (loop1): stripes_read... done [ 91.737202][ T6162] bcachefs (loop1): snapshots_read... done [pid 6164] close(3 [pid 6167] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6167] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 6167] ioctl(3, LOOP_CLR_FD) = 0 [ 91.752352][ T6162] bcachefs (loop1): check_allocations... [ 91.773868][ T6167] bcachefs: bch2_fs_get_tree() error: EINVAL [ 91.774012][ T6166] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6167] close(3 [pid 6166] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6166] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 6166] ioctl(3, LOOP_CLR_FD) = 0 [pid 6166] close(3 [pid 6165] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6165] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 6165] ioctl(3, LOOP_CLR_FD) = 0 [ 91.854682][ T6165] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6165] close(3 [pid 5844] <... umount2 resumed>) = 0 [ 91.921980][ T6162] done [pid 5844] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] newfstatat(AT_FDCWD, "./3/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] openat(AT_FDCWD, "./3/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [ 91.963502][ T6162] bcachefs (loop1): going read-write [pid 5844] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5844] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5844] close(4) = 0 [pid 6162] <... mount resumed>) = 0 [pid 5844] rmdir("./3/file0") = 0 [pid 5844] getdents64(3, [pid 6162] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 5844] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 6162] <... openat resumed>) = 3 [pid 5844] close(3 [pid 6162] chdir("./file0" [pid 5844] <... close resumed>) = 0 [pid 6162] <... chdir resumed>) = 0 [pid 5844] rmdir("./3" [pid 6162] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 5844] <... rmdir resumed>) = 0 [pid 6162] ioctl(4, LOOP_CLR_FD [pid 5844] mkdir("./4", 0777 [pid 6162] <... ioctl resumed>) = 0 [pid 5844] <... mkdir resumed>) = 0 [pid 6162] close(4) = 0 [pid 6162] unlinkat(AT_FDCWD, "./file1", 0 [ 92.012392][ T6162] bcachefs (loop1): done starting filesystem [pid 5844] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6162] <... unlinkat resumed>) = 0 [pid 5844] <... openat resumed>) = 3 [pid 5844] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5844] close(3 [pid 6162] exit_group(0) = ? [pid 5844] <... close resumed>) = 0 executing program [pid 6162] +++ exited with 0 +++ [pid 5844] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5841] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6162, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=43 /* 0.43 s */} --- [pid 5841] restart_syscall(<... resuming interrupted clone ...>) = 0 ./strace-static-x86_64: Process 6206 attached [pid 5844] <... clone resumed>, child_tidptr=0x55558491f650) = 6206 [pid 5841] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6206] set_robust_list(0x55558491f660, 24 [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6206] <... set_robust_list resumed>) = 0 [pid 5841] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6206] chdir("./4") = 0 [pid 5841] <... openat resumed>) = 3 [pid 6206] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5841] newfstatat(3, "", [pid 6206] setpgid(0, 0) = 0 [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6206] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5841] getdents64(3, [pid 6206] <... openat resumed>) = 3 [pid 5841] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 6206] write(3, "1000", 4 [pid 5841] umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6206] <... write resumed>) = 4 [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6206] close(3) = 0 [pid 5841] newfstatat(AT_FDCWD, "./6/binderfs", [pid 6206] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5841] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6206] write(1, "executing program\n", 18 [pid 5841] unlink("./6/binderfs" [pid 6206] <... write resumed>) = 18 [pid 6206] memfd_create("syzkaller", 0 [pid 5841] <... unlink resumed>) = 0 [pid 6206] <... memfd_create resumed>) = 3 [pid 5841] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6206] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 6166] <... close resumed>) = 0 [pid 6166] unlinkat(AT_FDCWD, "./file1", 0 [pid 6164] <... close resumed>) = 0 [pid 6166] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 6164] unlinkat(AT_FDCWD, "./file1", 0 [pid 6166] exit_group(0) = ? [pid 6164] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 6166] +++ exited with 0 +++ [pid 6164] exit_group(0) = ? [pid 5843] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6166, si_uid=0, si_status=0, si_utime=0, si_stime=49 /* 0.49 s */} --- [pid 5843] restart_syscall(<... resuming interrupted clone ...> [pid 6164] +++ exited with 0 +++ [pid 5843] <... restart_syscall resumed>) = 0 [pid 5840] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6164, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=42 /* 0.42 s */} --- [pid 5843] umount2("./7", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5843] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5840] umount2("./7", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] <... openat resumed>) = 3 [pid 5843] newfstatat(3, "", [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] getdents64(3, [pid 5840] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5843] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5843] umount2("./7/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] <... openat resumed>) = 3 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] newfstatat(AT_FDCWD, "./7/binderfs", [pid 5840] newfstatat(3, "", [pid 5843] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] unlink("./7/binderfs" [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] <... unlink resumed>) = 0 [pid 5843] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5843] newfstatat(AT_FDCWD, "./7/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] getdents64(3, [pid 5843] openat(AT_FDCWD, "./7/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5840] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5843] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [ 92.146674][ T5841] bcachefs (loop1): shutting down [ 92.158960][ T5841] bcachefs (loop1): going read-only [ 92.177488][ T5841] bcachefs (loop1): finished waiting for writes to stop [pid 5840] umount2("./7/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5843] close(4) = 0 [pid 5843] rmdir("./7/file0") = 0 [pid 5843] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5843] close(3) = 0 [pid 5843] rmdir("./7") = 0 [pid 5840] newfstatat(AT_FDCWD, "./7/binderfs", [pid 5843] mkdir("./8", 0777 [pid 6167] <... close resumed>) = 0 [pid 5840] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6167] unlinkat(AT_FDCWD, "./file1", 0 [pid 5843] <... mkdir resumed>) = 0 [pid 5840] unlink("./7/binderfs" [pid 5843] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5840] <... unlink resumed>) = 0 [pid 6167] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5843] <... openat resumed>) = 3 [pid 5840] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] ioctl(3, LOOP_CLR_FD [pid 6167] exit_group(0 [pid 5843] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] close(3 [pid 5840] newfstatat(AT_FDCWD, "./7/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] <... close resumed>) = 0 [pid 5843] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5840] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 6207 attached ) = -1 EINVAL (Invalid argument) [pid 5843] <... clone resumed>, child_tidptr=0x55558491f650) = 6207 [pid 5840] openat(AT_FDCWD, "./7/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6207] set_robust_list(0x55558491f660, 24 [pid 5840] <... openat resumed>) = 4 [pid 5840] newfstatat(4, "", [pid 6207] <... set_robust_list resumed>) = 0 [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6207] chdir("./8" [pid 5840] getdents64(4, [pid 6207] <... chdir resumed>) = 0 [pid 6207] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6167] <... exit_group resumed>) = ? [pid 5840] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 6207] <... prctl resumed>) = 0 [pid 5840] getdents64(4, [pid 6207] setpgid(0, 0 [pid 5840] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5840] close(4 [pid 6207] <... setpgid resumed>) = 0 [pid 5840] <... close resumed>) = 0 [pid 6207] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5840] rmdir("./7/file0" [pid 6167] +++ exited with 0 +++ [pid 6207] <... openat resumed>) = 3 [pid 5842] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6167, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=46 /* 0.46 s */} --- [pid 5840] <... rmdir resumed>) = 0 [pid 5842] restart_syscall(<... resuming interrupted clone ...> [pid 5840] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 6207] write(3, "1000", 4) = 4 [pid 5840] close(3 [pid 6207] close(3) = 0 [pid 5840] <... close resumed>) = 0 [pid 6207] symlink("/dev/binderfs", "./binderfs" [pid 5842] <... restart_syscall resumed>) = 0 [ 92.197163][ T5841] bcachefs (loop1): flushing journal and stopping allocators, journal seq 12 [pid 5840] rmdir("./7"executing program [pid 6207] <... symlink resumed>) = 0 [pid 5842] umount2("./7", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] <... rmdir resumed>) = 0 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5840] mkdir("./8", 0777 [pid 5842] <... openat resumed>) = 3 [pid 6207] write(1, "executing program\n", 18 [pid 5842] newfstatat(3, "", [pid 6207] <... write resumed>) = 18 [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] <... mkdir resumed>) = 0 [pid 6207] memfd_create("syzkaller", 0 [pid 5840] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5842] getdents64(3, [pid 5840] <... openat resumed>) = 3 [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 6207] <... memfd_create resumed>) = 3 [pid 5842] umount2("./7/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] ioctl(3, LOOP_CLR_FD [pid 6207] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6207] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5842] newfstatat(AT_FDCWD, "./7/binderfs", [pid 5840] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5842] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] close(3 [pid 5842] unlink("./7/binderfs") = 0 [pid 5840] <... close resumed>) = 0 [pid 5842] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6208 attached [pid 5842] newfstatat(AT_FDCWD, "./7/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] <... clone resumed>, child_tidptr=0x55558491f650) = 6208 [pid 5842] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6208] set_robust_list(0x55558491f660, 24) = 0 [pid 6208] chdir("./8" [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6208] <... chdir resumed>) = 0 [pid 6165] <... close resumed>) = 0 [pid 5842] openat(AT_FDCWD, "./7/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6208] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6165] unlinkat(AT_FDCWD, "./file1", 0 [pid 5842] <... openat resumed>) = 4 [pid 6208] <... prctl resumed>) = 0 [pid 5842] newfstatat(4, "", [pid 6208] setpgid(0, 0 [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6208] <... setpgid resumed>) = 0 [pid 5842] getdents64(4, [pid 6208] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5842] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 6208] <... openat resumed>) = 3 [pid 5842] getdents64(4, [pid 6208] write(3, "1000", 4 [pid 5842] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 6208] <... write resumed>) = 4 [pid 5842] close(4 [pid 6208] close(3 [pid 5842] <... close resumed>) = 0 [pid 6208] <... close resumed>) = 0 [pid 5842] rmdir("./7/file0" [pid 6208] symlink("/dev/binderfs", "./binderfs" [pid 5842] <... rmdir resumed>) = 0 [pid 6208] <... symlink resumed>) = 0 [pid 6165] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5842] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5842] close(3) = 0 [pid 6165] exit_group(0 [pid 5842] rmdir("./7" [pid 6165] <... exit_group resumed>) = ? executing program [pid 6208] write(1, "executing program\n", 18 [pid 5842] <... rmdir resumed>) = 0 [pid 6208] <... write resumed>) = 18 [pid 6165] +++ exited with 0 +++ [pid 6208] memfd_create("syzkaller", 0 [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6165, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=42 /* 0.42 s */} --- [ 92.278270][ T2890] bcachefs (loop1): bch2_write_super(): fatal error loop1: Superblock write was silently dropped! (seq 0 expected 54) [ 92.308481][ T2890] bcachefs (loop1): fatal error - emergency read only [pid 5845] restart_syscall(<... resuming interrupted clone ...> [pid 6208] <... memfd_create resumed>) = 3 [pid 6208] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5845] <... restart_syscall resumed>) = 0 [pid 5842] mkdir("./8", 0777) = 0 [pid 5845] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6208] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] <... openat resumed>) = 3 [pid 5845] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5842] ioctl(3, LOOP_CLR_FD [pid 5845] <... openat resumed>) = 3 [pid 5842] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5842] close(3) = 0 [pid 5842] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5845] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] getdents64(3, [pid 5842] <... clone resumed>, child_tidptr=0x55558491f650) = 6209 [pid 5845] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5845] umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./5/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 ./strace-static-x86_64: Process 6209 attached [pid 5845] unlink("./5/binderfs" [pid 6209] set_robust_list(0x55558491f660, 24 [pid 5845] <... unlink resumed>) = 0 [pid 5845] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6209] <... set_robust_list resumed>) = 0 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./5/file0", [pid 6209] chdir("./8") = 0 [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6209] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5845] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6209] <... prctl resumed>) = 0 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6209] setpgid(0, 0 [pid 5845] openat(AT_FDCWD, "./5/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6209] <... setpgid resumed>) = 0 [pid 5845] <... openat resumed>) = 4 [ 92.322390][ T5841] bcachefs (loop1): flushing journal and stopping allocators complete, journal seq 13 [ 92.332723][ T5841] bcachefs (loop1): unshutdown complete, journal seq 13 [ 92.342316][ T5841] bcachefs (loop1): done going read-only, filesystem not clean [pid 5845] newfstatat(4, "", [pid 6209] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5845] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 6209] <... openat resumed>) = 3 [pid 5845] close(4 [pid 6209] write(3, "1000", 4 [pid 5845] <... close resumed>) = 0 [pid 6209] <... write resumed>) = 4 [pid 5845] rmdir("./5/file0" [pid 6209] close(3executing program ) = 0 [pid 5845] <... rmdir resumed>) = 0 [pid 6209] symlink("/dev/binderfs", "./binderfs" [pid 5845] getdents64(3, [pid 6209] <... symlink resumed>) = 0 [pid 5845] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 6209] write(1, "executing program\n", 18 [pid 5845] close(3 [pid 6209] <... write resumed>) = 18 [pid 5845] <... close resumed>) = 0 [pid 6209] memfd_create("syzkaller", 0 [pid 5845] rmdir("./5" [pid 6209] <... memfd_create resumed>) = 3 [pid 6209] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5845] <... rmdir resumed>) = 0 [pid 6209] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5845] mkdir("./6", 0777) = 0 [pid 5845] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5845] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5845] close(3) = 0 [ 92.404588][ T5841] bcachefs (loop1): shutdown complete [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6210 attached , child_tidptr=0x55558491f650) = 6210 [pid 6210] set_robust_list(0x55558491f660, 24 [pid 6206] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6210] <... set_robust_list resumed>) = 0 [pid 6210] chdir("./6") = 0 [pid 6210] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6210] setpgid(0, 0) = 0 [pid 6210] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6210] write(3, "1000", 4 [pid 6207] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6210] <... write resumed>) = 4 [pid 6210] close(3) = 0 [pid 6210] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 6208] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6210] write(1, "executing program\n", 18) = 18 [pid 6210] memfd_create("syzkaller", 0) = 3 [pid 6210] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 6209] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6210] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6206] <... write resumed>) = 16777216 [pid 6206] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 6206] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6206] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6206] close(3) = 0 [pid 6206] close(4) = 0 [pid 6206] mkdir("./file0", 0777) = 0 [ 92.938591][ T6206] loop4: detected capacity change from 0 to 32768 [pid 6206] mount("/dev/loop4", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6207] <... write resumed>) = 16777216 [pid 6207] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 6207] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6208] <... write resumed>) = 16777216 [pid 6207] ioctl(4, LOOP_SET_FD, 3 [pid 6208] munmap(0x7f5e2dc00000, 138412032 [pid 6207] <... ioctl resumed>) = 0 [pid 6207] close(3) = 0 [pid 6207] close(4) = 0 [pid 6207] mkdir("./file0", 0777) = 0 [pid 6207] mount("/dev/loop3", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6208] <... munmap resumed>) = 0 [pid 6208] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6208] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6208] close(3) = 0 [pid 6208] close(4) = 0 [pid 6208] mkdir("./file0", 0777) = 0 [ 93.044785][ T6207] loop3: detected capacity change from 0 to 32768 [ 93.084193][ T6208] loop0: detected capacity change from 0 to 32768 [pid 6208] mount("/dev/loop0", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6209] <... write resumed>) = 16777216 [pid 6209] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 6209] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6209] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6209] close(3) = 0 [pid 6209] close(4 [pid 6210] <... write resumed>) = 16777216 [pid 6209] <... close resumed>) = 0 [pid 6210] munmap(0x7f5e2dc00000, 138412032 [pid 6209] mkdir("./file0", 0777) = 0 [pid 6209] mount("/dev/loop2", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6210] <... munmap resumed>) = 0 [ 93.168454][ T6209] loop2: detected capacity change from 0 to 32768 [pid 6210] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 6210] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6210] close(3) = 0 [pid 6210] close(4) = 0 [pid 6210] mkdir("./file0", 0777) = 0 [ 93.237136][ T6210] loop5: detected capacity change from 0 to 32768 [ 93.391576][ T6209] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 93.391908][ T6208] 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 [ 93.400770][ T6209] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 93.425425][ T6208] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 93.440807][ T6210] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 93.454857][ T6207] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 93.464057][ T6206] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 93.473296][ T6210] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 93.481529][ T6207] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 93.486182][ T6208] bcachefs (loop0): Version upgrade required: [ 93.486182][ T6208] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 93.486182][ T6208] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 93.486182][ T6208] 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 [ 93.489966][ T6206] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [pid 6210] mount("/dev/loop5", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6209] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6209] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 6209] ioctl(3, LOOP_CLR_FD) = 0 [ 93.645100][ T6208] bcachefs (loop0): dropping and reconstructing all alloc info [ 93.663212][ T6209] bcachefs: bch2_fs_get_tree() error: EINVAL [ 93.737412][ T6208] bcachefs (loop0): check_topology... done [ 93.757425][ T6208] bcachefs (loop0): accounting_read... done [ 93.787649][ T6208] bcachefs (loop0): alloc_read... done [ 93.806464][ T6208] bcachefs (loop0): stripes_read... done [ 93.818001][ T6207] bcachefs: bch2_fs_get_tree() error: EINVAL [ 93.818347][ T6208] bcachefs (loop0): snapshots_read... [pid 6209] close(3 [pid 6210] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6207] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6210] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 6210] ioctl(3, LOOP_CLR_FD) = 0 [pid 6210] close(3 [pid 6207] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 6207] ioctl(3, LOOP_CLR_FD) = 0 [ 93.828086][ T6206] bcachefs: bch2_fs_get_tree() error: EINVAL [ 93.833463][ T6210] bcachefs: bch2_fs_get_tree() error: EINVAL [ 93.853996][ T6208] done [pid 6207] close(3 [pid 6206] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6206] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 6206] ioctl(3, LOOP_CLR_FD) = 0 [ 93.856785][ T6208] bcachefs (loop0): check_allocations... done [ 93.982349][ T6208] bcachefs (loop0): going read-write [pid 6206] close(3 [pid 6208] <... mount resumed>) = 0 [pid 5841] <... umount2 resumed>) = 0 [pid 6208] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 5841] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6208] <... openat resumed>) = 3 [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6208] chdir("./file0" [pid 5841] newfstatat(AT_FDCWD, "./6/file0", [pid 6208] <... chdir resumed>) = 0 [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6208] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5841] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6208] <... openat resumed>) = 4 [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6208] ioctl(4, LOOP_CLR_FD [pid 5841] openat(AT_FDCWD, "./6/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6208] <... ioctl resumed>) = 0 [pid 6208] close(4 [pid 5841] <... openat resumed>) = 4 [pid 6208] <... close resumed>) = 0 [pid 5841] newfstatat(4, "", [pid 6208] unlinkat(AT_FDCWD, "./file1", 0 [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [ 94.043601][ T6208] bcachefs (loop0): done starting filesystem [pid 5841] getdents64(4, [pid 6209] <... close resumed>) = 0 [pid 6208] <... unlinkat resumed>) = 0 [pid 5841] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5841] getdents64(4, [pid 6208] exit_group(0 [pid 5841] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 6208] <... exit_group resumed>) = ? [pid 5841] close(4 [pid 6208] +++ exited with 0 +++ [pid 5841] <... close resumed>) = 0 [pid 5841] rmdir("./6/file0" [pid 5840] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6208, 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 ...> [pid 6209] unlinkat(AT_FDCWD, "./file1", 0 [pid 5841] <... rmdir resumed>) = 0 [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, "", [pid 5841] getdents64(3, [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [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 5840] unlink("./8/binderfs") = 0 [pid 5840] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6209] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 6209] exit_group(0) = ? [pid 5841] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 6209] +++ exited with 0 +++ [pid 5841] close(3 [pid 5842] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6209, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=38 /* 0.38 s */} --- [pid 5842] restart_syscall(<... resuming interrupted clone ...> [pid 5841] <... close resumed>) = 0 [pid 5841] rmdir("./6") = 0 [pid 5841] mkdir("./7", 0777 [pid 5842] <... restart_syscall resumed>) = 0 [pid 5841] <... mkdir resumed>) = 0 [pid 5841] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5841] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5841] close(3) = 0 [pid 5841] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6249 attached [pid 5842] umount2("./8", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6249] set_robust_list(0x55558491f660, 24 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6249] <... set_robust_list resumed>) = 0 [pid 5842] <... openat resumed>) = 3 [pid 5842] newfstatat(3, "", [pid 6249] chdir("./7" [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6249] <... chdir resumed>) = 0 [pid 6249] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5842] getdents64(3, [pid 6249] <... prctl resumed>) = 0 [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 6249] setpgid(0, 0 [pid 5842] umount2("./8/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6249] <... setpgid resumed>) = 0 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] newfstatat(AT_FDCWD, "./8/binderfs", [pid 5841] <... clone resumed>, child_tidptr=0x55558491f650) = 6249 [pid 6249] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5842] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] unlink("./8/binderfs" [pid 6249] <... openat resumed>) = 3 [pid 6207] <... close resumed>) = 0 [pid 5842] <... unlink resumed>) = 0 [pid 6249] write(3, "1000", 4 [pid 6207] unlinkat(AT_FDCWD, "./file1", 0 [pid 5842] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6249] <... write resumed>) = 4 [pid 6207] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6249] close(3 [pid 5842] newfstatat(AT_FDCWD, "./8/file0", [pid 6249] <... close resumed>) = 0 [pid 6249] symlink("/dev/binderfs", "./binderfs" [pid 6207] exit_group(0 [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6249] <... symlink resumed>) = 0 [pid 6207] <... exit_group resumed>) = ? [ 94.147589][ T5840] bcachefs (loop0): shutting down [ 94.152685][ T5840] bcachefs (loop0): going read-only [ 94.158265][ T5840] bcachefs (loop0): finished waiting for writes to stop [pid 5842] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 6207] +++ exited with 0 +++ executing program [pid 6249] write(1, "executing program\n", 18 [pid 5843] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6207, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=48 /* 0.48 s */} --- [pid 5842] openat(AT_FDCWD, "./8/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6249] <... write resumed>) = 18 [pid 5842] <... openat resumed>) = 4 [pid 5842] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6249] memfd_create("syzkaller", 0 [pid 5842] getdents64(4, [pid 6249] <... memfd_create resumed>) = 3 [pid 6210] <... close resumed>) = 0 [pid 5842] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 6249] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6210] unlinkat(AT_FDCWD, "./file1", 0 [pid 5842] getdents64(4, [pid 6249] <... mmap resumed>) = 0x7f5e2dc00000 [pid 6210] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5842] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5843] umount2("./8", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] close(4 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] <... close resumed>) = 0 [pid 5843] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5842] rmdir("./8/file0" [pid 5843] <... openat resumed>) = 3 [pid 5842] <... rmdir resumed>) = 0 [pid 5843] newfstatat(3, "", [ 94.195639][ T5840] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [pid 5842] getdents64(3, [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5843] getdents64(3, [pid 5842] close(3 [pid 5843] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5842] <... close resumed>) = 0 [pid 5843] umount2("./8/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] rmdir("./8" [pid 6210] exit_group(0 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] <... rmdir resumed>) = 0 [pid 6210] <... exit_group resumed>) = ? [pid 5843] newfstatat(AT_FDCWD, "./8/binderfs", [pid 5842] mkdir("./9", 0777 [pid 6210] +++ exited with 0 +++ [pid 5843] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] <... mkdir resumed>) = 0 [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6210, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=49 /* 0.49 s */} --- [pid 5843] unlink("./8/binderfs" [pid 5842] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5843] <... unlink resumed>) = 0 [pid 5842] <... openat resumed>) = 3 [pid 5843] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] ioctl(3, LOOP_CLR_FD [pid 5845] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] newfstatat(AT_FDCWD, "./8/file0", [pid 5842] close(3 [pid 5845] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] <... close resumed>) = 0 [pid 5845] <... openat resumed>) = 3 [pid 5845] newfstatat(3, "", [pid 5843] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5843] openat(AT_FDCWD, "./8/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5842] <... clone resumed>, child_tidptr=0x55558491f650) = 6250 ./strace-static-x86_64: Process 6250 attached [pid 5845] umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6250] set_robust_list(0x55558491f660, 24 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] <... openat resumed>) = 4 [pid 5845] newfstatat(AT_FDCWD, "./6/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] newfstatat(4, "", [pid 5845] unlink("./6/binderfs" [pid 6250] <... set_robust_list resumed>) = 0 [pid 5845] <... unlink resumed>) = 0 [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] getdents64(4, [pid 6250] chdir("./9") = 0 [pid 5843] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 6250] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5843] getdents64(4, [pid 6250] setpgid(0, 0 [pid 5843] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 6250] <... setpgid resumed>) = 0 [pid 5843] close(4) = 0 [pid 5843] rmdir("./8/file0" [pid 6250] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5843] <... rmdir resumed>) = 0 [pid 6250] <... openat resumed>) = 3 [pid 5843] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 6250] write(3, "1000", 4 [pid 5843] close(3 [pid 5845] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] <... close resumed>) = 0 [pid 5843] rmdir("./8" [pid 6250] <... write resumed>) = 4 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] <... rmdir resumed>) = 0 [pid 5843] mkdir("./9", 0777) = 0 [pid 5843] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5843] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5843] close(3) = 0 [pid 5843] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55558491f650) = 6251 ./strace-static-x86_64: Process 6251 attached [pid 6251] set_robust_list(0x55558491f660, 24 [pid 6250] close(3 [pid 5845] newfstatat(AT_FDCWD, "./6/file0", [pid 6251] <... set_robust_list resumed>) = 0 [pid 6251] chdir("./9") = 0 [pid 6251] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6251] setpgid(0, 0) = 0 [ 94.271423][ T80] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 54) [pid 6251] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXECexecuting program ) = 3 [pid 6250] <... close resumed>) = 0 [pid 6206] <... close resumed>) = 0 [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6251] write(3, "1000", 4) = 4 [pid 6251] close(3) = 0 [pid 6251] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6251] write(1, "executing program\n", 18) = 18 [pid 6251] memfd_create("syzkaller", 0) = 3 [pid 6250] symlink("/dev/binderfs", "./binderfs" [pid 6206] unlinkat(AT_FDCWD, "./file1", 0 [pid 5845] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6251] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6250] <... symlink resumed>) = 0 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) executing program [pid 5845] openat(AT_FDCWD, "./6/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6250] write(1, "executing program\n", 18 [pid 6206] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 6251] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5845] <... openat resumed>) = 4 [pid 6250] <... write resumed>) = 18 [pid 6206] exit_group(0 [pid 5845] newfstatat(4, "", [pid 6250] memfd_create("syzkaller", 0 [pid 6206] <... exit_group resumed>) = ? [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6206] +++ exited with 0 +++ [pid 5845] getdents64(4, [pid 5844] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6206, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=44 /* 0.44 s */} --- [pid 5845] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5844] restart_syscall(<... resuming interrupted clone ...> [pid 5845] getdents64(4, [pid 6250] <... memfd_create resumed>) = 3 [pid 5845] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 6250] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5845] close(4 [pid 6250] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5845] <... close resumed>) = 0 [ 94.315853][ T80] bcachefs (loop0): fatal error - emergency read only [ 94.327098][ T5840] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 13 [ 94.347169][ T5840] bcachefs (loop0): unshutdown complete, journal seq 13 [pid 5845] rmdir("./6/file0" [pid 5844] <... restart_syscall resumed>) = 0 [pid 5844] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5844] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5844] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] newfstatat(AT_FDCWD, "./4/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] unlink("./4/binderfs") = 0 [pid 5844] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] newfstatat(AT_FDCWD, "./4/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] openat(AT_FDCWD, "./4/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5844] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5844] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5844] close(4 [pid 5845] <... rmdir resumed>) = 0 [pid 5844] <... close resumed>) = 0 [pid 5845] getdents64(3, [pid 5844] rmdir("./4/file0" [pid 5845] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5844] <... rmdir resumed>) = 0 [pid 5844] getdents64(3, [pid 5845] close(3 [pid 5844] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5845] <... close resumed>) = 0 [pid 5844] close(3 [pid 5845] rmdir("./6" [pid 5844] <... close resumed>) = 0 [pid 5844] rmdir("./4" [pid 5845] <... rmdir resumed>) = 0 [pid 5844] <... rmdir resumed>) = 0 [pid 5845] mkdir("./7", 0777 [pid 5844] mkdir("./5", 0777 [pid 5845] <... mkdir resumed>) = 0 [pid 5844] <... mkdir resumed>) = 0 [pid 5845] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5844] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5845] <... openat resumed>) = 3 [pid 5845] ioctl(3, LOOP_CLR_FD [pid 5844] <... openat resumed>) = 3 [pid 5845] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5844] ioctl(3, LOOP_CLR_FD [pid 5845] close(3) = 0 [pid 5844] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5844] close(3./strace-static-x86_64: Process 6252 attached ) = 0 [pid 5845] <... clone resumed>, child_tidptr=0x55558491f650) = 6252 [pid 6252] set_robust_list(0x55558491f660, 24) = 0 [pid 6252] chdir("./7") = 0 [pid 5844] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6252] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5844] <... clone resumed>, child_tidptr=0x55558491f650) = 6253 [pid 6252] <... prctl resumed>) = 0 [pid 6252] setpgid(0, 0) = 0 [pid 6252] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC./strace-static-x86_64: Process 6253 attached ) = 3 [pid 6252] write(3, "1000", 4) = 4 [pid 6252] close(3) = 0 [pid 6252] symlink("/dev/binderfs", "./binderfs" [pid 6253] set_robust_list(0x55558491f660, 24 [pid 6252] <... symlink resumed>) = 0 executing program [pid 6253] <... set_robust_list resumed>) = 0 [pid 6252] write(1, "executing program\n", 18 [pid 6253] chdir("./5" [pid 6252] <... write resumed>) = 18 [pid 6253] <... chdir resumed>) = 0 [pid 6253] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6253] setpgid(0, 0 [ 94.363997][ T5840] bcachefs (loop0): done going read-only, filesystem not clean [pid 6252] memfd_create("syzkaller", 0) = 3 [pid 6252] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0executing program [pid 6253] <... setpgid resumed>) = 0 [pid 6252] <... mmap resumed>) = 0x7f5e2dc00000 [pid 6253] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6253] write(3, "1000", 4) = 4 [pid 6253] close(3) = 0 [pid 6253] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6253] write(1, "executing program\n", 18) = 18 [pid 6253] memfd_create("syzkaller", 0) = 3 [pid 6253] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [ 94.434512][ T5840] bcachefs (loop0): shutdown complete [pid 6249] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6250] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6251] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6252] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6253] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6249] <... write resumed>) = 16777216 [pid 6249] munmap(0x7f5e2dc00000, 138412032 [pid 6250] <... write resumed>) = 16777216 [pid 6249] <... munmap resumed>) = 0 [pid 6249] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6249] ioctl(4, LOOP_SET_FD, 3 [pid 6250] munmap(0x7f5e2dc00000, 138412032 [pid 6251] <... write resumed>) = 16777216 [pid 6249] <... ioctl resumed>) = 0 [ 95.050581][ T6249] loop1: detected capacity change from 0 to 32768 [pid 6250] <... munmap resumed>) = 0 [pid 6251] munmap(0x7f5e2dc00000, 138412032 [pid 6249] close(3 [pid 6250] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6250] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6249] <... close resumed>) = 0 [pid 6249] close(4) = 0 [pid 6250] close(3 [pid 6253] <... write resumed>) = 16777216 [pid 6252] <... write resumed>) = 16777216 [pid 6251] <... munmap resumed>) = 0 [pid 6249] mkdir("./file0", 0777 [pid 6253] munmap(0x7f5e2dc00000, 138412032 [pid 6251] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6249] <... mkdir resumed>) = 0 [pid 6252] munmap(0x7f5e2dc00000, 138412032 [pid 6250] <... close resumed>) = 0 [pid 6249] mount("/dev/loop1", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6250] close(4) = 0 [pid 6250] mkdir("./file0", 0777 [pid 6251] <... openat resumed>) = 4 [pid 6250] <... mkdir resumed>) = 0 [pid 6252] <... munmap resumed>) = 0 [pid 6251] ioctl(4, LOOP_SET_FD, 3 [pid 6252] openat(AT_FDCWD, "/dev/loop5", O_RDWR [ 95.105085][ T6250] loop2: detected capacity change from 0 to 32768 [pid 6250] mount("/dev/loop2", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6252] <... openat resumed>) = 4 [pid 6252] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6251] <... ioctl resumed>) = 0 [pid 6252] close(3) = 0 [pid 6251] close(3 [pid 6252] close(4 [pid 6251] <... close resumed>) = 0 [pid 6252] <... close resumed>) = 0 [pid 6251] close(4 [pid 6252] mkdir("./file0", 0777 [pid 6251] <... close resumed>) = 0 [pid 6251] mkdir("./file0", 0777) = 0 [pid 6251] mount("/dev/loop3", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6252] <... mkdir resumed>) = 0 [pid 6252] mount("/dev/loop5", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6253] <... munmap resumed>) = 0 [pid 6253] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6253] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6253] close(3) = 0 [pid 6253] close(4) = 0 [pid 6253] mkdir("./file0", 0777) = 0 [ 95.149779][ T6252] loop5: detected capacity change from 0 to 32768 [ 95.153099][ T6251] loop3: detected capacity change from 0 to 32768 [ 95.179076][ T6253] loop4: detected capacity change from 0 to 32768 [ 95.432774][ T6251] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 95.433095][ T6249] 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 [ 95.465342][ T6249] bcachefs (loop1): recovering from clean shutdown, journal seq 10 [ 95.473872][ T6249] bcachefs (loop1): Version upgrade required: [ 95.473872][ T6249] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 95.473872][ T6249] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 95.473872][ T6249] 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 [ 95.482646][ T6251] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 95.556319][ T6249] bcachefs (loop1): dropping and reconstructing all alloc info [ 95.567338][ T6250] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 95.584875][ T6249] bcachefs (loop1): check_topology... done [ 95.600994][ T6253] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 95.607903][ T6249] bcachefs (loop1): accounting_read... done [ 95.612194][ T6253] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 95.622923][ T6249] bcachefs (loop1): alloc_read... done [ 95.626087][ T6252] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 95.631545][ T6249] bcachefs (loop1): stripes_read... done [ 95.662976][ T6249] bcachefs (loop1): snapshots_read... done [ 95.667101][ T6252] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 95.682858][ T6249] bcachefs (loop1): check_allocations... [ 95.693321][ T6250] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [pid 6253] mount("/dev/loop4", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6251] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6251] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 6251] ioctl(3, LOOP_CLR_FD) = 0 [ 95.755535][ T6251] bcachefs: bch2_fs_get_tree() error: EINVAL [ 95.814613][ T6249] done [ 95.834781][ T6249] bcachefs (loop1): going read-write [ 95.861992][ T6249] bcachefs (loop1): done starting filesystem [pid 6251] close(3 [pid 6249] <... mount resumed>) = 0 [pid 6249] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6249] chdir("./file0") = 0 [pid 6249] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6249] ioctl(4, LOOP_CLR_FD) = 0 [pid 6249] close(4) = 0 [pid 6249] unlinkat(AT_FDCWD, "./file1", 0) = 0 [ 95.930399][ T6252] bcachefs: bch2_fs_get_tree() error: EINVAL [ 95.969922][ T6253] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6249] exit_group(0) = ? [pid 6252] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6249] +++ exited with 0 +++ [pid 5841] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6249, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=36 /* 0.36 s */} --- [pid 5841] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5841] umount2("./7", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6252] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6253] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5841] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6252] <... openat resumed>) = 3 [pid 5841] <... openat resumed>) = 3 [pid 6252] ioctl(3, LOOP_CLR_FD) = 0 [pid 5841] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 6252] close(3 [pid 5841] umount2("./7/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6250] <... mount resumed>) = -1 EINVAL (Invalid argument) [ 95.979817][ T6250] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6253] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6250] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] newfstatat(AT_FDCWD, "./7/binderfs", [pid 6250] <... openat resumed>) = 3 [pid 5841] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6250] ioctl(3, LOOP_CLR_FD [pid 6253] <... openat resumed>) = 3 [pid 6253] ioctl(3, LOOP_CLR_FD [pid 6250] <... ioctl resumed>) = 0 [pid 5841] unlink("./7/binderfs" [pid 6253] <... ioctl resumed>) = 0 [pid 6253] close(3 [pid 6250] close(3 [pid 5841] <... unlink resumed>) = 0 [ 96.081743][ T5841] bcachefs (loop1): shutting down [ 96.087771][ T5841] bcachefs (loop1): going read-only [ 96.139309][ T5841] bcachefs (loop1): finished waiting for writes to stop [pid 5841] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] <... umount2 resumed>) = 0 [pid 5840] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./8/file0", [pid 6251] <... close resumed>) = 0 [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6251] unlinkat(AT_FDCWD, "./file1", 0 [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6251] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5840] openat(AT_FDCWD, "./8/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6251] exit_group(0 [pid 5840] <... openat resumed>) = 4 [pid 6251] <... exit_group resumed>) = ? [ 96.205067][ T5841] bcachefs (loop1): flushing journal and stopping allocators, journal seq 12 [pid 5840] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6251] +++ exited with 0 +++ [pid 5843] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6251, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=49 /* 0.49 s */} --- [pid 5840] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5843] umount2("./9", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] getdents64(4, [pid 5843] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5843] newfstatat(3, "", [pid 5840] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] close(4 [pid 5843] getdents64(3, [pid 5840] <... close resumed>) = 0 [pid 5843] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5840] rmdir("./8/file0" [pid 5843] umount2("./9/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5843] newfstatat(AT_FDCWD, "./9/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] unlink("./9/binderfs") = 0 [pid 5843] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5843] newfstatat(AT_FDCWD, "./9/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5843] openat(AT_FDCWD, "./9/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5843] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5843] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5843] close(4) = 0 [pid 5843] rmdir("./9/file0") = 0 [pid 5843] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 6252] <... close resumed>) = 0 [pid 5843] close(3 [pid 5840] <... rmdir resumed>) = 0 [pid 5840] getdents64(3, [pid 6252] unlinkat(AT_FDCWD, "./file1", 0 [pid 5840] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 6252] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5843] <... close resumed>) = 0 [pid 5840] close(3 [pid 5843] rmdir("./9" [pid 5840] <... close resumed>) = 0 [pid 6252] exit_group(0 [pid 5840] rmdir("./8" [pid 6252] <... exit_group resumed>) = ? [pid 5843] <... rmdir resumed>) = 0 [pid 5840] <... rmdir resumed>) = 0 [pid 5843] mkdir("./10", 0777) = 0 [pid 5843] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5843] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5843] close(3 [pid 6252] +++ exited with 0 +++ [pid 5843] <... close resumed>) = 0 [pid 5840] mkdir("./9", 0777 [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6252, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=53 /* 0.53 s */} --- [pid 5843] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5845] restart_syscall(<... resuming interrupted clone ...>./strace-static-x86_64: Process 6292 attached [pid 5843] <... clone resumed>, child_tidptr=0x55558491f650) = 6292 [pid 5840] <... mkdir resumed>) = 0 [pid 5845] <... restart_syscall resumed>) = 0 [pid 5840] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6292] set_robust_list(0x55558491f660, 24 [pid 5840] <... openat resumed>) = 3 [pid 5840] ioctl(3, LOOP_CLR_FD [pid 5845] umount2("./7", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] close(3 [pid 5845] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5840] <... close resumed>) = 0 [pid 5845] <... openat resumed>) = 3 [pid 5840] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5845] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5845] umount2("./7/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) ./strace-static-x86_64: Process 6293 attached [pid 5840] <... clone resumed>, child_tidptr=0x55558491f650) = 6293 [pid 6292] <... set_robust_list resumed>) = 0 [pid 5845] newfstatat(AT_FDCWD, "./7/binderfs", [pid 6292] chdir("./10" [pid 5845] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] unlink("./7/binderfs") = 0 [pid 5845] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./7/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./7/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5845] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5845] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5845] close(4) = 0 [pid 5845] rmdir("./7/file0") = 0 [pid 5845] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5845] close(3) = 0 [pid 5845] rmdir("./7" [pid 6293] set_robust_list(0x55558491f660, 24 [pid 6292] <... chdir resumed>) = 0 [pid 5845] <... rmdir resumed>) = 0 [pid 6293] <... set_robust_list resumed>) = 0 [pid 6292] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6293] chdir("./9" [pid 6292] <... prctl resumed>) = 0 [ 96.299846][ T2890] bcachefs (loop1): bch2_write_super(): fatal error loop1: Superblock write was silently dropped! (seq 0 expected 54) [pid 5845] mkdir("./8", 0777 [pid 6293] <... chdir resumed>) = 0 [pid 6292] setpgid(0, 0 [pid 5845] <... mkdir resumed>) = 0 [pid 6293] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5845] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6293] <... prctl resumed>) = 0 [pid 5845] <... openat resumed>) = 3 [pid 6292] <... setpgid resumed>) = 0 [pid 6293] setpgid(0, 0 [pid 5845] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5845] close(3) = 0 [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6294 attached [pid 6293] <... setpgid resumed>) = 0 [pid 6292] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6293] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6292] write(3, "1000", 4 [pid 6293] <... openat resumed>) = 3 [pid 6292] <... write resumed>) = 4 [pid 6250] <... close resumed>) = 0 [pid 5845] <... clone resumed>, child_tidptr=0x55558491f650) = 6294 [pid 6294] set_robust_list(0x55558491f660, 24 [pid 6293] write(3, "1000", 4 [pid 6292] close(3 [pid 6250] unlinkat(AT_FDCWD, "./file1", 0 [pid 6294] <... set_robust_list resumed>) = 0 [pid 6292] <... close resumed>) = 0 [pid 6250] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 6293] <... write resumed>) = 4 [pid 6293] close(3 [pid 6294] chdir("./8" [pid 6293] <... close resumed>) = 0 [pid 6292] symlink("/dev/binderfs", "./binderfs" [pid 6250] exit_group(0 executing program [pid 6293] symlink("/dev/binderfs", "./binderfs" [pid 6294] <... chdir resumed>) = 0 [pid 6294] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6293] <... symlink resumed>) = 0 [pid 6294] setpgid(0, 0 [pid 6293] write(1, "executing program\n", 18 [pid 6292] <... symlink resumed>) = 0 [pid 6293] <... write resumed>) = 18 [pid 6294] <... setpgid resumed>) = 0 [pid 6293] memfd_create("syzkaller", 0 [pid 6292] write(1, "executing program\n", 18 [pid 6250] <... exit_group resumed>) = ? [pid 6294] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 executing program [pid 6294] write(3, "1000", 4) = 4 [pid 6292] <... write resumed>) = 18 [ 96.352987][ T2890] bcachefs (loop1): fatal error - emergency read only [ 96.370564][ T5841] bcachefs (loop1): flushing journal and stopping allocators complete, journal seq 13 [pid 6294] close(3) = 0 [pid 6293] <... memfd_create resumed>) = 3 [pid 6292] memfd_create("syzkaller", 0 [pid 6250] +++ exited with 0 +++ [pid 6294] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6294] write(1, "executing program\n", 18executing program [pid 5842] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6250, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=44 /* 0.44 s */} --- [pid 6294] <... write resumed>) = 18 [pid 6293] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6294] memfd_create("syzkaller", 0 [pid 6293] <... mmap resumed>) = 0x7f5e2dc00000 [pid 6292] <... memfd_create resumed>) = 3 [pid 6294] <... memfd_create resumed>) = 3 [pid 6294] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5842] umount2("./9", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6294] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6292] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5842] <... openat resumed>) = 3 [pid 6292] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5842] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5842] umount2("./9/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] newfstatat(AT_FDCWD, "./9/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] unlink("./9/binderfs") = 0 [pid 5842] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] newfstatat(AT_FDCWD, "./9/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] openat(AT_FDCWD, "./9/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5842] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5842] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5842] close(4) = 0 [pid 5842] rmdir("./9/file0") = 0 [pid 5842] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5842] close(3) = 0 [pid 5842] rmdir("./9") = 0 [pid 5842] mkdir("./10", 0777) = 0 [pid 5842] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5842] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5842] close(3) = 0 [pid 5842] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6295 attached [pid 6253] <... close resumed>) = 0 [pid 6295] set_robust_list(0x55558491f660, 24) = 0 [pid 6295] chdir("./10" [pid 5842] <... clone resumed>, child_tidptr=0x55558491f650) = 6295 [pid 6295] <... chdir resumed>) = 0 [pid 6295] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6295] setpgid(0, 0) = 0 [pid 6295] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6253] unlinkat(AT_FDCWD, "./file1", 0) = -1 ENOENT (No such file or directory) [pid 6295] <... openat resumed>) = 3 [pid 6253] exit_group(0 [pid 6295] write(3, "1000", 4 [pid 6253] <... exit_group resumed>) = ? [pid 6295] <... write resumed>) = 4 [pid 6295] close(3 [pid 6253] +++ exited with 0 +++ [pid 6295] <... close resumed>) = 0 [pid 5844] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6253, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=43 /* 0.43 s */} --- [pid 6295] symlink("/dev/binderfs", "./binderfs" [pid 5844] restart_syscall(<... resuming interrupted clone ...> [pid 6295] <... symlink resumed>) = 0 executing program [pid 6295] write(1, "executing program\n", 18) = 18 [pid 6295] memfd_create("syzkaller", 0 [pid 5844] <... restart_syscall resumed>) = 0 [pid 6295] <... memfd_create resumed>) = 3 [pid 6295] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5844] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6295] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5844] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [ 96.406761][ T5841] bcachefs (loop1): unshutdown complete, journal seq 13 [ 96.433201][ T5841] bcachefs (loop1): done going read-only, filesystem not clean [pid 5844] umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] newfstatat(AT_FDCWD, "./5/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] unlink("./5/binderfs") = 0 [pid 5844] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] newfstatat(AT_FDCWD, "./5/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] openat(AT_FDCWD, "./5/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5844] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5844] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5844] close(4) = 0 [pid 5844] rmdir("./5/file0") = 0 [pid 5844] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5844] close(3) = 0 [pid 5844] rmdir("./5") = 0 [pid 5844] mkdir("./6", 0777) = 0 [pid 5844] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [ 96.524140][ T5841] bcachefs (loop1): shutdown complete [pid 5844] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5844] close(3) = 0 [pid 5844] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6296 attached [pid 6296] set_robust_list(0x55558491f660, 24) = 0 [pid 6296] chdir("./6" [pid 5844] <... clone resumed>, child_tidptr=0x55558491f650) = 6296 [pid 6296] <... chdir resumed>) = 0 [pid 6296] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6296] setpgid(0, 0) = 0 [pid 6296] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6296] write(3, "1000", 4) = 4 [pid 6296] close(3) = 0 [pid 6296] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6296] write(1, "executing program\n", 18executing program ) = 18 [pid 6296] memfd_create("syzkaller", 0) = 3 [pid 6296] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6293] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6296] <... mmap resumed>) = 0x7f5e2dc00000 [pid 6294] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6292] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6295] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6296] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6294] <... write resumed>) = 16777216 [pid 6294] munmap(0x7f5e2dc00000, 138412032 [pid 6293] <... write resumed>) = 16777216 [pid 6293] munmap(0x7f5e2dc00000, 138412032 [pid 6295] <... write resumed>) = 16777216 [pid 6295] munmap(0x7f5e2dc00000, 138412032 [pid 6294] <... munmap resumed>) = 0 [pid 6292] <... write resumed>) = 16777216 [pid 6294] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6292] munmap(0x7f5e2dc00000, 138412032 [pid 6293] <... munmap resumed>) = 0 [pid 6294] <... openat resumed>) = 4 [pid 6294] ioctl(4, LOOP_SET_FD, 3 [pid 6293] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6293] ioctl(4, LOOP_SET_FD, 3 [pid 6295] <... munmap resumed>) = 0 [pid 6293] <... ioctl resumed>) = 0 [pid 6293] close(3) = 0 [pid 6293] close(4) = 0 [pid 6293] mkdir("./file0", 0777) = 0 [pid 6293] mount("/dev/loop0", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6294] <... ioctl resumed>) = 0 [pid 6294] close(3 [pid 6292] <... munmap resumed>) = 0 [pid 6294] <... close resumed>) = 0 [pid 6294] close(4 [pid 6292] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6294] <... close resumed>) = 0 [pid 6295] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6294] mkdir("./file0", 0777 [pid 6292] <... openat resumed>) = 4 [pid 6295] <... openat resumed>) = 4 [pid 6294] <... mkdir resumed>) = 0 [pid 6292] ioctl(4, LOOP_SET_FD, 3 [pid 6295] ioctl(4, LOOP_SET_FD, 3 [ 97.187218][ T6294] loop5: detected capacity change from 0 to 32768 [ 97.188879][ T6293] loop0: detected capacity change from 0 to 32768 [ 97.223595][ T6292] loop3: detected capacity change from 0 to 32768 [pid 6294] mount("/dev/loop5", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6295] <... ioctl resumed>) = 0 [pid 6295] close(3 [pid 6292] <... ioctl resumed>) = 0 [pid 6292] close(3 [pid 6295] <... close resumed>) = 0 [pid 6292] <... close resumed>) = 0 [pid 6295] close(4 [pid 6292] close(4) = 0 [pid 6292] mkdir("./file0", 0777) = 0 [pid 6292] mount("/dev/loop3", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6295] <... close resumed>) = 0 [ 97.234035][ T6295] loop2: detected capacity change from 0 to 32768 [pid 6295] mkdir("./file0", 0777) = 0 [pid 6295] mount("/dev/loop2", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6296] <... write resumed>) = 16777216 [pid 6296] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 6296] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6296] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6296] close(3) = 0 [pid 6296] close(4) = 0 [pid 6296] mkdir("./file0", 0777) = 0 [ 97.325219][ T6296] loop4: detected capacity change from 0 to 32768 [ 97.558872][ T6294] 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 [ 97.577698][ T6292] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 97.587289][ T6294] bcachefs (loop5): recovering from clean shutdown, journal seq 10 [ 97.591142][ T6292] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 97.603967][ T6295] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 97.622622][ T6295] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 97.635693][ T6293] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 97.649523][ T6294] bcachefs (loop5): Version upgrade required: [ 97.649523][ T6294] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 97.649523][ T6294] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 97.649523][ T6294] 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 [ 97.728241][ T6293] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 97.745409][ T6296] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 97.758797][ T6296] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 97.819424][ T6294] bcachefs (loop5): dropping and reconstructing all alloc info [ 97.842558][ T6292] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6296] mount("/dev/loop4", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6292] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6292] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 6292] ioctl(3, LOOP_CLR_FD) = 0 [ 97.865339][ T6294] bcachefs (loop5): check_topology... done [pid 6292] close(3 [pid 5841] <... umount2 resumed>) = 0 [pid 5841] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 97.871227][ T6294] bcachefs (loop5): accounting_read... [ 97.894646][ T6293] bcachefs: bch2_fs_get_tree() error: EINVAL [ 97.918075][ T6294] done [ 97.920994][ T6294] bcachefs (loop5): alloc_read... done [ 97.928153][ T6294] bcachefs (loop5): stripes_read... done [pid 5841] newfstatat(AT_FDCWD, "./7/file0", [pid 6293] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5841] openat(AT_FDCWD, "./7/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5841] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6293] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5841] getdents64(4, [pid 6293] <... openat resumed>) = 3 [pid 5841] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5841] getdents64(4, [pid 6293] ioctl(3, LOOP_CLR_FD) = 0 [pid 6293] close(3 [pid 5841] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 6295] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5841] close(4 [pid 6295] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5841] <... close resumed>) = 0 [pid 5841] rmdir("./7/file0") = 0 [pid 5841] getdents64(3, [pid 6295] <... openat resumed>) = 3 [pid 5841] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5841] close(3 [pid 6295] ioctl(3, LOOP_CLR_FD [pid 5841] <... close resumed>) = 0 [pid 5841] rmdir("./7" [pid 6295] <... ioctl resumed>) = 0 [ 97.947792][ T6294] bcachefs (loop5): snapshots_read... done [ 97.964911][ T6295] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6295] close(3 [pid 5841] <... rmdir resumed>) = 0 [pid 5841] mkdir("./8", 0777) = 0 [pid 5841] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5841] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5841] close(3) = 0 [pid 5841] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55558491f650) = 6333 ./strace-static-x86_64: Process 6333 attached [pid 6333] set_robust_list(0x55558491f660, 24) = 0 [pid 6333] chdir("./8") = 0 [pid 6333] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6333] setpgid(0, 0) = 0 [pid 6333] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6333] write(3, "1000", 4) = 4 [pid 6333] close(3) = 0 [pid 6296] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6333] symlink("/dev/binderfs", "./binderfs" [pid 6296] openat(AT_FDCWD, "/dev/loop4", O_RDWRexecuting program [pid 6333] <... symlink resumed>) = 0 [pid 6296] <... openat resumed>) = 3 [pid 6333] write(1, "executing program\n", 18 [pid 6296] ioctl(3, LOOP_CLR_FD [pid 6333] <... write resumed>) = 18 [pid 6296] <... ioctl resumed>) = 0 [ 97.971275][ T6294] bcachefs (loop5): check_allocations... [ 98.111231][ T6296] bcachefs: bch2_fs_get_tree() error: EINVAL [ 98.113152][ T6294] done [pid 6296] close(3 [ 98.163837][ T6294] bcachefs (loop5): going read-write [pid 6333] memfd_create("syzkaller", 0) = 3 [pid 6333] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6294] <... mount resumed>) = 0 [pid 6333] <... mmap resumed>) = 0x7f5e2dc00000 [pid 6294] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6294] chdir("./file0") = 0 [pid 6294] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 6294] ioctl(4, LOOP_CLR_FD) = 0 [pid 6294] close(4) = 0 [pid 6294] unlinkat(AT_FDCWD, "./file1", 0) = 0 [pid 6294] exit_group(0) = ? [ 98.186132][ T6294] bcachefs (loop5): done starting filesystem [pid 6294] +++ exited with 0 +++ [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6294, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=45 /* 0.45 s */} --- [pid 5845] umount2("./8", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5845] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5845] umount2("./8/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./8/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] unlink("./8/binderfs") = 0 [pid 5845] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6292] <... close resumed>) = 0 [pid 6293] <... close resumed>) = 0 [pid 6292] unlinkat(AT_FDCWD, "./file1", 0 [pid 6293] unlinkat(AT_FDCWD, "./file1", 0 [pid 6292] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 6292] exit_group(0) = ? [pid 6292] +++ exited with 0 +++ [pid 6293] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5843] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6292, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=42 /* 0.42 s */} --- [pid 6293] exit_group(0) = ? [pid 6293] +++ exited with 0 +++ [pid 5840] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6293, si_uid=0, si_status=0, si_utime=0, si_stime=46 /* 0.46 s */} --- [pid 5840] restart_syscall(<... resuming interrupted clone ...> [pid 5843] umount2("./10", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5843] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5843] newfstatat(3, "", [pid 5840] <... restart_syscall resumed>) = 0 [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 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, 0x5555849206f0 /* 4 entries */, 32768) = 112 [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" [pid 5843] getdents64(3, [pid 5840] <... unlink resumed>) = 0 [ 98.306732][ T5845] bcachefs (loop5): shutting down [ 98.317708][ T5845] bcachefs (loop5): going read-only [ 98.325144][ T5845] bcachefs (loop5): finished waiting for writes to stop [pid 5843] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5840] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] umount2("./10/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./9/file0", [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] newfstatat(AT_FDCWD, "./10/binderfs", [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] openat(AT_FDCWD, "./9/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5843] unlink("./10/binderfs") = 0 [pid 5840] <... openat resumed>) = 4 [pid 5843] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5840] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5840] close(4) = 0 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] rmdir("./9/file0") = 0 [pid 5840] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5840] close(3) = 0 [pid 5840] rmdir("./9" [pid 5843] newfstatat(AT_FDCWD, "./10/file0", [pid 5840] <... rmdir resumed>) = 0 [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] mkdir("./10", 0777 [pid 5843] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] <... mkdir resumed>) = 0 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5843] openat(AT_FDCWD, "./10/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5840] <... openat resumed>) = 3 [pid 6295] <... close resumed>) = 0 [pid 5843] <... openat resumed>) = 4 [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=0x55558491f650) = 6336 [pid 5843] newfstatat(4, "", ./strace-static-x86_64: Process 6336 attached {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6336] set_robust_list(0x55558491f660, 24) = 0 [pid 6295] unlinkat(AT_FDCWD, "./file1", 0 [pid 5843] getdents64(4, [pid 6336] chdir("./10") = 0 [pid 6295] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5843] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 6336] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5843] getdents64(4, [pid 6295] exit_group(0 [pid 5843] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [ 98.354556][ T5845] bcachefs (loop5): flushing journal and stopping allocators, journal seq 12 [pid 6336] setpgid(0, 0) = 0 [pid 5843] close(4 [pid 6336] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5843] <... close resumed>) = 0 [pid 6336] <... openat resumed>) = 3 [pid 6295] <... exit_group resumed>) = ? [pid 5843] rmdir("./10/file0") = 0 [pid 6336] write(3, "1000", 4) = 4 [pid 6295] +++ exited with 0 +++ [pid 5843] getdents64(3, [pid 6336] close(3 [pid 5843] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5842] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6295, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=39 /* 0.39 s */} --- [pid 6336] <... close resumed>) = 0 [pid 5843] close(3 [pid 5842] restart_syscall(<... resuming interrupted clone ...> [pid 6336] symlink("/dev/binderfs", "./binderfs" [pid 5842] <... restart_syscall resumed>) = 0 [pid 5843] <... close resumed>) = 0 [pid 6336] <... symlink resumed>) = 0 [pid 5843] rmdir("./10" [pid 6336] write(1, "executing program\n", 18 [pid 5843] <... rmdir resumed>) = 0 [pid 5842] umount2("./10", MNT_FORCE|UMOUNT_NOFOLLOWexecuting program [pid 6336] <... write resumed>) = 18 [pid 5843] mkdir("./11", 0777 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6336] memfd_create("syzkaller", 0 [pid 5843] <... mkdir resumed>) = 0 [pid 5842] <... openat resumed>) = 3 [pid 5842] newfstatat(3, "", [pid 5843] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] getdents64(3, [pid 5843] <... openat resumed>) = 3 [pid 6336] <... memfd_create resumed>) = 3 [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 6336] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5843] ioctl(3, LOOP_CLR_FD [pid 5842] umount2("./10/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6336] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5843] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] close(3 [pid 5842] newfstatat(AT_FDCWD, "./10/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] unlink("./10/binderfs") = 0 [pid 5842] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] <... close resumed>) = 0 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5842] newfstatat(AT_FDCWD, "./10/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] openat(AT_FDCWD, "./10/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY./strace-static-x86_64: Process 6337 attached [pid 6296] <... close resumed>) = 0 [pid 5842] <... openat resumed>) = 4 [pid 6296] unlinkat(AT_FDCWD, "./file1", 0) = -1 ENOENT (No such file or directory) [pid 6296] exit_group(0) = ? [pid 6296] +++ exited with 0 +++ [pid 5842] newfstatat(4, "", [pid 5844] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6296, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=50 /* 0.50 s */} --- [ 98.445240][ T2890] bcachefs (loop5): bch2_write_super(): fatal error loop5: Superblock write was silently dropped! (seq 0 expected 54) [ 98.481606][ T2890] bcachefs (loop5): fatal error - emergency read only [pid 5844] restart_syscall(<... resuming interrupted clone ...> [pid 6337] set_robust_list(0x55558491f660, 24 [pid 5844] <... restart_syscall resumed>) = 0 [pid 5843] <... clone resumed>, child_tidptr=0x55558491f650) = 6337 [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6337] <... set_robust_list resumed>) = 0 [pid 5842] getdents64(4, [pid 6337] chdir("./11" [pid 5842] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5842] getdents64(4, [pid 5844] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 6337] <... chdir resumed>) = 0 [pid 5844] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5842] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 6337] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5844] <... openat resumed>) = 3 [pid 5842] close(4 [pid 6337] <... prctl resumed>) = 0 [pid 5844] newfstatat(3, "", [pid 5842] <... close resumed>) = 0 [pid 6337] setpgid(0, 0 [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] rmdir("./10/file0" [pid 6337] <... setpgid resumed>) = 0 [pid 5844] getdents64(3, [pid 5842] <... rmdir resumed>) = 0 [pid 5844] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 6337] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5842] getdents64(3, [pid 6337] <... openat resumed>) = 3 [pid 5844] umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 6337] write(3, "1000", 4 [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] close(3 [pid 6337] <... write resumed>) = 4 [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 6337] close(3 [pid 5842] <... close resumed>) = 0 [pid 6337] <... close resumed>) = 0 [pid 5842] rmdir("./10" [pid 6337] symlink("/dev/binderfs", "./binderfs" [pid 5844] newfstatat(AT_FDCWD, "./6/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] <... rmdir resumed>) = 0 [pid 6337] <... symlink resumed>) = 0 [pid 5844] unlink("./6/binderfs" [pid 5842] mkdir("./11", 0777 [pid 6337] write(1, "executing program\n", 18executing program ) = 18 [pid 5844] <... unlink resumed>) = 0 [pid 5842] <... mkdir resumed>) = 0 [pid 5844] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] newfstatat(AT_FDCWD, "./6/file0", [pid 5842] <... openat resumed>) = 3 [pid 6337] memfd_create("syzkaller", 0 [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] ioctl(3, LOOP_CLR_FD [pid 6337] <... memfd_create resumed>) = 3 [pid 5844] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6337] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] close(3 [pid 6337] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5844] openat(AT_FDCWD, "./6/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5842] <... close resumed>) = 0 [pid 5844] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5844] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5844] close(4) = 0 [pid 5844] rmdir("./6/file0") = 0 [pid 5844] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5842] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5844] close(3) = 0 [pid 5844] rmdir("./6") = 0 ./strace-static-x86_64: Process 6338 attached [pid 5842] <... clone resumed>, child_tidptr=0x55558491f650) = 6338 [pid 5844] mkdir("./7", 0777) = 0 [pid 5844] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5844] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5844] close(3 [pid 6338] set_robust_list(0x55558491f660, 24 [pid 5844] <... close resumed>) = 0 [pid 6338] <... set_robust_list resumed>) = 0 [pid 5844] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6338] chdir("./11") = 0 ./strace-static-x86_64: Process 6339 attached [pid 5844] <... clone resumed>, child_tidptr=0x55558491f650) = 6339 [ 98.500474][ T5845] bcachefs (loop5): flushing journal and stopping allocators complete, journal seq 14 [ 98.536315][ T5845] bcachefs (loop5): unshutdown complete, journal seq 14 [pid 6339] set_robust_list(0x55558491f660, 24 [pid 6338] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6339] <... set_robust_list resumed>) = 0 [pid 6339] chdir("./7") = 0 [pid 6339] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6339] setpgid(0, 0) = 0 [pid 6339] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6339] write(3, "1000", 4) = 4 [pid 6339] close(3) = 0 [pid 6338] setpgid(0, 0) = 0 [pid 6339] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6339] write(1, "executing program\n", 18) = 18 [pid 6339] memfd_create("syzkaller", 0) = 3 [pid 6338] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6339] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 6338] <... openat resumed>) = 3 [pid 6338] write(3, "1000", 4) = 4 [pid 6338] close(3) = 0 [pid 6338] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6338] write(1, "executing program\n", 18) = 18 [pid 6338] memfd_create("syzkaller", 0) = 3 [ 98.569837][ T5845] bcachefs (loop5): done going read-only, filesystem not clean [pid 6338] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [ 98.673942][ T5845] bcachefs (loop5): shutdown complete [pid 6339] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6336] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6337] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6338] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6333] <... write resumed>) = 16777216 [pid 6333] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 6333] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6333] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6333] close(3) = 0 [pid 6333] close(4) = 0 [pid 6333] mkdir("./file0", 0777) = 0 [ 99.081215][ T6333] loop1: detected capacity change from 0 to 32768 [pid 6333] mount("/dev/loop1", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6339] <... write resumed>) = 16777216 [pid 6336] <... write resumed>) = 16777216 [pid 6339] munmap(0x7f5e2dc00000, 138412032 [pid 6336] munmap(0x7f5e2dc00000, 138412032 [pid 6339] <... munmap resumed>) = 0 [pid 6337] <... write resumed>) = 16777216 [pid 6339] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6336] <... munmap resumed>) = 0 [pid 6337] munmap(0x7f5e2dc00000, 138412032 [pid 6339] <... openat resumed>) = 4 [pid 6336] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6339] ioctl(4, LOOP_SET_FD, 3 [pid 6336] <... openat resumed>) = 4 [pid 6336] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6339] <... ioctl resumed>) = 0 [pid 6339] close(3) = 0 [pid 6339] close(4) = 0 [pid 6339] mkdir("./file0", 0777) = 0 [pid 6337] <... munmap resumed>) = 0 [pid 6339] mount("/dev/loop4", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6336] close(3 [pid 6338] <... write resumed>) = 16777216 [pid 6337] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6336] <... close resumed>) = 0 [pid 6338] munmap(0x7f5e2dc00000, 138412032 [pid 6337] <... openat resumed>) = 4 [pid 6337] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6336] close(4) = 0 [pid 6336] mkdir("./file0", 0777 [pid 6338] <... munmap resumed>) = 0 [pid 6337] close(3 [pid 6336] <... mkdir resumed>) = 0 [pid 6338] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6337] <... close resumed>) = 0 [ 99.266824][ T6339] loop4: detected capacity change from 0 to 32768 [ 99.275306][ T6336] loop0: detected capacity change from 0 to 32768 [ 99.305656][ T6337] loop3: detected capacity change from 0 to 32768 [pid 6336] mount("/dev/loop0", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6338] <... openat resumed>) = 4 [pid 6337] close(4 [pid 6338] ioctl(4, LOOP_SET_FD, 3 [pid 6337] <... close resumed>) = 0 [pid 6337] mkdir("./file0", 0777) = 0 [pid 6337] mount("/dev/loop3", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6338] <... ioctl resumed>) = 0 [pid 6338] close(3) = 0 [pid 6338] close(4) = 0 [pid 6338] mkdir("./file0", 0777) = 0 [ 99.343199][ T6338] loop2: detected capacity change from 0 to 32768 [ 99.620128][ T6339] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 99.630430][ T6333] 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 [ 99.653013][ T6339] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 99.653192][ T6333] bcachefs (loop1): recovering from clean shutdown, journal seq 10 [ 99.669600][ T6333] bcachefs (loop1): Version upgrade required: [ 99.669600][ T6333] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 99.669600][ T6333] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 99.669600][ T6333] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 99.674171][ T6337] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 99.782360][ T6333] bcachefs (loop1): dropping and reconstructing all alloc info [ 99.800501][ T6337] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 99.809044][ T6336] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 99.823700][ T6336] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 99.825430][ T6338] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 99.866295][ T6338] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 99.883119][ T6333] bcachefs (loop1): check_topology... done [ 99.889026][ T6333] bcachefs (loop1): accounting_read... done [ 99.909835][ T6333] bcachefs (loop1): alloc_read... done [pid 6338] mount("/dev/loop2", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6339] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6339] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 6339] ioctl(3, LOOP_CLR_FD) = 0 [ 99.939660][ T6339] bcachefs: bch2_fs_get_tree() error: EINVAL [ 99.942861][ T6333] bcachefs (loop1): stripes_read... done [ 99.962910][ T6333] bcachefs (loop1): snapshots_read... done [ 99.968891][ T6333] bcachefs (loop1): check_allocations... [ 100.003318][ T6337] bcachefs: bch2_fs_get_tree() error: EINVAL [ 100.043247][ T6336] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6339] close(3 [pid 6336] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6337] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6337] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6336] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 6336] ioctl(3, LOOP_CLR_FD) = 0 [pid 6336] close(3 [pid 6337] <... openat resumed>) = 3 [ 100.059743][ T6333] done [pid 6337] ioctl(3, LOOP_CLR_FD) = 0 [ 100.093958][ T6333] bcachefs (loop1): going read-write [pid 6337] close(3 [pid 6338] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6333] <... mount resumed>) = 0 [pid 6338] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 6333] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 6338] ioctl(3, LOOP_CLR_FD [pid 6333] <... openat resumed>) = 3 [pid 6338] <... ioctl resumed>) = 0 [pid 6333] chdir("./file0" [pid 6338] close(3 [pid 6333] <... chdir resumed>) = 0 [pid 6333] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6333] ioctl(4, LOOP_CLR_FD) = 0 [ 100.134134][ T6338] bcachefs: bch2_fs_get_tree() error: EINVAL [ 100.154143][ T6333] bcachefs (loop1): done starting filesystem [pid 6333] close(4) = 0 [pid 6333] unlinkat(AT_FDCWD, "./file1", 0) = 0 [pid 5845] <... umount2 resumed>) = 0 [pid 6333] exit_group(0) = ? [pid 5845] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6333] +++ exited with 0 +++ [pid 5841] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6333, si_uid=0, si_status=0, si_utime=0, si_stime=33 /* 0.33 s */} --- [pid 5841] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5841] umount2("./8", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./8/file0", [pid 5841] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] <... openat resumed>) = 3 [pid 5845] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] newfstatat(3, "", [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./8/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] <... openat resumed>) = 4 [pid 5845] newfstatat(4, "", [pid 5841] getdents64(3, [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] getdents64(4, [pid 5841] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5841] umount2("./8/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5841] newfstatat(AT_FDCWD, "./8/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] unlink("./8/binderfs" [pid 5845] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5841] <... unlink resumed>) = 0 [pid 5845] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5841] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] close(4) = 0 [pid 5845] rmdir("./8/file0") = 0 [pid 5845] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5845] close(3) = 0 [pid 5845] rmdir("./8") = 0 [pid 5845] mkdir("./9", 0777) = 0 [pid 5845] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5845] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5845] close(3) = 0 [ 100.302558][ T5841] bcachefs (loop1): shutting down [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55558491f650) = 6378 ./strace-static-x86_64: Process 6378 attached [ 100.333816][ T5841] bcachefs (loop1): going read-only [pid 6378] set_robust_list(0x55558491f660, 24) = 0 [pid 6339] <... close resumed>) = 0 [pid 6339] unlinkat(AT_FDCWD, "./file1", 0 [pid 6378] chdir("./9" [pid 6339] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 6378] <... chdir resumed>) = 0 [pid 6378] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6339] exit_group(0) = ? [pid 6378] <... prctl resumed>) = 0 [pid 6378] setpgid(0, 0) = 0 [pid 6378] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6339] +++ exited with 0 +++ [pid 6378] <... openat resumed>) = 3 [pid 5844] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6339, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=41 /* 0.41 s */} --- [pid 6378] write(3, "1000", 4 [pid 5844] restart_syscall(<... resuming interrupted clone ...> [pid 6378] <... write resumed>) = 4 [pid 6378] close(3) = 0 [pid 6378] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6378] write(1, "executing program\n", 18 [pid 6336] <... close resumed>) = 0 [pid 5844] <... restart_syscall resumed>) = 0 [pid 6378] <... write resumed>) = 18 [pid 6336] unlinkat(AT_FDCWD, "./file1", 0 [pid 6378] memfd_create("syzkaller", 0 [pid 6336] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 6378] <... memfd_create resumed>) = 3 [pid 5844] umount2("./7", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6378] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6378] <... mmap resumed>) = 0x7f5e2dc00000 [pid 6336] exit_group(0 [pid 5844] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6336] <... exit_group resumed>) = ? [pid 5844] <... openat resumed>) = 3 [pid 5844] newfstatat(3, "", [pid 6336] +++ exited with 0 +++ [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6336, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=47 /* 0.47 s */} --- [ 100.357268][ T5841] bcachefs (loop1): finished waiting for writes to stop [ 100.374294][ T5841] bcachefs (loop1): flushing journal and stopping allocators, journal seq 12 [pid 5844] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5844] umount2("./7/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] umount2("./10", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] newfstatat(AT_FDCWD, "./7/binderfs", [pid 5840] openat(AT_FDCWD, "./10", 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 5844] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] getdents64(3, [pid 5844] unlink("./7/binderfs") = 0 [pid 5840] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5844] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] umount2("./10/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] newfstatat(AT_FDCWD, "./7/file0", [pid 5840] newfstatat(AT_FDCWD, "./10/binderfs", [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] unlink("./10/binderfs" [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] <... unlink resumed>) = 0 [pid 5844] openat(AT_FDCWD, "./7/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5840] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] <... openat resumed>) = 4 [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] newfstatat(4, "", [pid 5840] newfstatat(AT_FDCWD, "./10/file0", [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] getdents64(4, [pid 5840] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5840] openat(AT_FDCWD, "./10/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5844] getdents64(4, [pid 5840] <... openat resumed>) = 4 [pid 5844] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5840] newfstatat(4, "", [pid 5844] close(4 [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] <... close resumed>) = 0 [pid 5840] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5840] getdents64(4, [pid 6338] <... close resumed>) = 0 [pid 5844] rmdir("./7/file0" [pid 5840] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 6338] unlinkat(AT_FDCWD, "./file1", 0 [pid 5844] <... rmdir resumed>) = 0 [pid 6338] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5844] getdents64(3, [pid 5840] close(4 [pid 6338] exit_group(0 [pid 6337] <... close resumed>) = 0 [pid 5844] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 6338] <... exit_group resumed>) = ? [pid 5844] close(3) = 0 [pid 5840] <... close resumed>) = 0 [pid 5840] rmdir("./10/file0" [pid 6338] +++ exited with 0 +++ [pid 5844] rmdir("./7" [pid 5840] <... rmdir resumed>) = 0 [pid 5842] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6338, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=50 /* 0.50 s */} --- [pid 5840] getdents64(3, [pid 5842] restart_syscall(<... resuming interrupted clone ...> [pid 5840] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5840] close(3) = 0 [pid 5840] rmdir("./10") = 0 [pid 5840] mkdir("./11", 0777) = 0 [pid 5840] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5840] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5842] <... restart_syscall resumed>) = 0 [pid 5840] close(3) = 0 [pid 5840] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5842] umount2("./11", MNT_FORCE|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 6379 attached ) = -1 EINVAL (Invalid argument) [pid 5842] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5840] <... clone resumed>, child_tidptr=0x55558491f650) = 6379 [pid 6379] set_robust_list(0x55558491f660, 24 [pid 5842] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6379] <... set_robust_list resumed>) = 0 [pid 5844] <... rmdir resumed>) = 0 [pid 5842] getdents64(3, [pid 6379] chdir("./11" [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5842] umount2("./11/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6379] <... chdir resumed>) = 0 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] newfstatat(AT_FDCWD, "./11/binderfs", [pid 6379] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5842] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6379] <... prctl resumed>) = 0 [pid 5844] mkdir("./8", 0777 [pid 5842] unlink("./11/binderfs" [pid 6379] setpgid(0, 0 [pid 5842] <... unlink resumed>) = 0 [pid 6379] <... setpgid resumed>) = 0 [pid 5842] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 6379] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5842] newfstatat(AT_FDCWD, "./11/file0", [pid 5844] <... mkdir resumed>) = 0 [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6379] <... openat resumed>) = 3 [pid 5842] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] openat(AT_FDCWD, "./11/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6379] write(3, "1000", 4 [pid 5842] <... openat resumed>) = 4 [pid 6379] <... write resumed>) = 4 [pid 5842] newfstatat(4, "", [pid 6379] close(3 [pid 5844] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6379] <... close resumed>) = 0 [pid 5842] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 6379] symlink("/dev/binderfs", "./binderfs" [pid 5842] getdents64(4, [pid 6379] <... symlink resumed>) = 0 [pid 5842] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5842] close(4) = 0 [pid 5842] rmdir("./11/file0") = 0 executing program [pid 5842] getdents64(3, [pid 6379] write(1, "executing program\n", 18 [pid 5844] <... openat resumed>) = 3 [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 6379] <... write resumed>) = 18 [pid 5842] close(3 [pid 6379] memfd_create("syzkaller", 0 [pid 5842] <... close resumed>) = 0 [pid 5844] ioctl(3, LOOP_CLR_FD [pid 6337] unlinkat(AT_FDCWD, "./file1", 0 [pid 5844] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5842] rmdir("./11" [pid 6379] <... memfd_create resumed>) = 3 [pid 6337] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5844] close(3 [pid 5842] <... rmdir resumed>) = 0 [pid 6379] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 6337] exit_group(0 [pid 5844] <... close resumed>) = 0 [pid 5842] mkdir("./12", 0777 [pid 6337] <... exit_group resumed>) = ? [pid 5844] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5842] <... mkdir resumed>) = 0 [pid 5844] <... clone resumed>, child_tidptr=0x55558491f650) = 6380 ./strace-static-x86_64: Process 6380 attached [pid 5842] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6380] set_robust_list(0x55558491f660, 24 [pid 5842] <... openat resumed>) = 3 [ 100.496236][ T11] bcachefs (loop1): bch2_write_super(): fatal error loop1: Superblock write was silently dropped! (seq 0 expected 54) [pid 5842] ioctl(3, LOOP_CLR_FD [pid 6380] <... set_robust_list resumed>) = 0 [pid 6337] +++ exited with 0 +++ [pid 5842] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6380] chdir("./8" [pid 5843] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6337, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=44 /* 0.44 s */} --- [pid 5843] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5843] umount2("./11", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5843] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6380] <... chdir resumed>) = 0 [pid 5843] <... openat resumed>) = 3 [pid 5842] close(3 [pid 6380] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5843] newfstatat(3, "", [pid 6380] <... prctl resumed>) = 0 [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] <... close resumed>) = 0 [pid 6380] setpgid(0, 0 [pid 5843] getdents64(3, [pid 6380] <... setpgid resumed>) = 0 [pid 5843] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5842] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6380] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5843] umount2("./11/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6380] <... openat resumed>) = 3 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6380] write(3, "1000", 4 [pid 5843] newfstatat(AT_FDCWD, "./11/binderfs", executing program [pid 6380] <... write resumed>) = 4 [pid 5843] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6380] close(3 [pid 5843] unlink("./11/binderfs" [pid 6380] <... close resumed>) = 0 [pid 5843] <... unlink resumed>) = 0 [pid 6380] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5843] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6380] write(1, "executing program\n", 18 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6380] <... write resumed>) = 18 [pid 5843] newfstatat(AT_FDCWD, "./11/file0", [pid 5842] <... clone resumed>, child_tidptr=0x55558491f650) = 6381 [pid 6380] memfd_create("syzkaller", 0 [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6380] <... memfd_create resumed>) = 3 [pid 5843] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 6380] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5843] openat(AT_FDCWD, "./11/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 6380] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5843] newfstatat(4, "", ./strace-static-x86_64: Process 6381 attached {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 6381] set_robust_list(0x55558491f660, 24 [pid 5843] getdents64(4, [pid 6381] <... set_robust_list resumed>) = 0 [pid 6381] chdir("./12" [pid 5843] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5843] close(4) = 0 [pid 5843] rmdir("./11/file0") = 0 [pid 5843] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5843] close(3) = 0 [pid 6381] <... chdir resumed>) = 0 [ 100.547468][ T11] bcachefs (loop1): fatal error - emergency read only [pid 5843] rmdir("./11") = 0 [pid 5843] mkdir("./12", 0777) = 0 [pid 6381] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5843] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6381] <... prctl resumed>) = 0 [pid 6381] setpgid(0, 0) = 0 [pid 6381] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5843] <... openat resumed>) = 3 [pid 6381] <... openat resumed>) = 3 [pid 5843] ioctl(3, LOOP_CLR_FD [pid 6381] write(3, "1000", 4 [pid 5843] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5843] close(3) = 0 [pid 5843] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6382 attached [pid 6381] <... write resumed>) = 4 [pid 5843] <... clone resumed>, child_tidptr=0x55558491f650) = 6382 [pid 6382] set_robust_list(0x55558491f660, 24 [pid 6381] close(3) = 0 [pid 6382] <... set_robust_list resumed>) = 0 [pid 6381] symlink("/dev/binderfs", "./binderfs" [ 100.589154][ T5841] bcachefs (loop1): flushing journal and stopping allocators complete, journal seq 14 [pid 6382] chdir("./12"executing program ) = 0 [pid 6381] <... symlink resumed>) = 0 [pid 6381] write(1, "executing program\n", 18 [pid 6382] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6382] setpgid(0, 0 [pid 6381] <... write resumed>) = 18 [pid 6382] <... setpgid resumed>) = 0 [pid 6382] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6381] memfd_create("syzkaller", 0 [pid 6382] write(3, "1000", 4) = 4 [pid 6382] close(3) = 0 [pid 6382] symlink("/dev/binderfs", "./binderfs" [pid 6381] <... memfd_create resumed>) = 3 [pid 6378] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6382] <... symlink resumed>) = 0 [pid 6381] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 6382] write(1, "executing program\n", 18executing program ) = 18 [ 100.643959][ T5841] bcachefs (loop1): unshutdown complete, journal seq 14 [ 100.651893][ T5841] bcachefs (loop1): done going read-only, filesystem not clean [pid 6382] memfd_create("syzkaller", 0) = 3 [pid 6382] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [ 100.754318][ T5841] bcachefs (loop1): shutdown complete [pid 6380] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6379] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6381] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6382] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6378] <... write resumed>) = 16777216 [pid 6378] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 6378] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 6378] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6378] close(3) = 0 [ 101.224078][ T6378] loop5: detected capacity change from 0 to 32768 [pid 6378] close(4) = 0 [pid 6378] mkdir("./file0", 0777) = 0 [pid 6378] mount("/dev/loop5", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6379] <... write resumed>) = 16777216 [pid 6379] munmap(0x7f5e2dc00000, 138412032 [pid 6380] <... write resumed>) = 16777216 [pid 6380] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 6380] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6379] <... munmap resumed>) = 0 [pid 6380] <... openat resumed>) = 4 [pid 6379] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6380] ioctl(4, LOOP_SET_FD, 3 [pid 6379] <... openat resumed>) = 4 [pid 6380] <... ioctl resumed>) = 0 [pid 6379] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6381] <... write resumed>) = 16777216 [pid 6381] munmap(0x7f5e2dc00000, 138412032 [pid 6382] <... write resumed>) = 16777216 [pid 6381] <... munmap resumed>) = 0 [pid 6380] close(3 [pid 6379] close(3 [pid 6382] munmap(0x7f5e2dc00000, 138412032 [pid 6381] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6380] <... close resumed>) = 0 [pid 6379] <... close resumed>) = 0 [pid 6381] <... openat resumed>) = 4 [pid 6380] close(4 [pid 6379] close(4 [pid 6381] ioctl(4, LOOP_SET_FD, 3 [pid 6382] <... munmap resumed>) = 0 [pid 6380] <... close resumed>) = 0 [pid 6379] <... close resumed>) = 0 [pid 6382] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6380] mkdir("./file0", 0777 [pid 6379] mkdir("./file0", 0777 [pid 6382] <... openat resumed>) = 4 [pid 6380] <... mkdir resumed>) = 0 [pid 6379] <... mkdir resumed>) = 0 [ 101.356085][ T6380] loop4: detected capacity change from 0 to 32768 [ 101.363351][ T6379] loop0: detected capacity change from 0 to 32768 [ 101.393248][ T6381] loop2: detected capacity change from 0 to 32768 [pid 6382] ioctl(4, LOOP_SET_FD, 3 [pid 6381] <... ioctl resumed>) = 0 [pid 6380] mount("/dev/loop4", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6379] mount("/dev/loop0", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6381] close(3) = 0 [pid 6381] close(4) = 0 [pid 6382] <... ioctl resumed>) = 0 [pid 6381] mkdir("./file0", 0777) = 0 [pid 6381] mount("/dev/loop2", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6382] close(3) = 0 [pid 6382] close(4) = 0 [pid 6382] mkdir("./file0", 0777) = 0 [ 101.400524][ T6382] loop3: detected capacity change from 0 to 32768 [ 101.685210][ T6378] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 101.696585][ T6380] 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 [ 101.714640][ T6378] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 101.731265][ T6380] bcachefs (loop4): recovering from clean shutdown, journal seq 10 [ 101.741006][ T6382] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 101.747394][ T6380] bcachefs (loop4): Version upgrade required: [ 101.747394][ T6380] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 101.747394][ T6380] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 101.747394][ T6380] 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.757560][ T6379] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 101.830842][ T6381] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 101.840324][ T6381] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 101.844901][ T6382] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 101.867294][ T6379] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 101.890729][ T6380] bcachefs (loop4): dropping and reconstructing all alloc info [ 101.935261][ T6380] bcachefs (loop4): check_topology... done [ 101.962914][ T6380] bcachefs (loop4): accounting_read... done [ 102.022100][ T6380] bcachefs (loop4): alloc_read... done [ 102.033886][ T6378] bcachefs: bch2_fs_get_tree() error: EINVAL [ 102.036400][ T6380] bcachefs (loop4): stripes_read... [pid 6382] mount("/dev/loop3", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"...) = -1 EINVAL (Invalid argument) [pid 6378] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6382] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 6378] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6382] ioctl(3, LOOP_CLR_FD [pid 6378] <... openat resumed>) = 3 [pid 6382] <... ioctl resumed>) = 0 [pid 6382] close(3 [pid 6378] ioctl(3, LOOP_CLR_FD) = 0 [ 102.040897][ T6382] bcachefs: bch2_fs_get_tree() error: EINVAL [ 102.063339][ T6380] done [ 102.071819][ T6380] bcachefs (loop4): snapshots_read... done [pid 6378] close(3 [pid 5841] <... umount2 resumed>) = 0 [pid 6379] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6379] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5841] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5841] newfstatat(AT_FDCWD, "./8/file0", [pid 6379] <... openat resumed>) = 3 [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 102.105441][ T6380] bcachefs (loop4): check_allocations... [ 102.143353][ T6379] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5841] openat(AT_FDCWD, "./8/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6379] ioctl(3, LOOP_CLR_FD [pid 5841] <... openat resumed>) = 4 [pid 6379] <... ioctl resumed>) = 0 [pid 5841] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5841] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5841] close(4) = 0 [pid 5841] rmdir("./8/file0" [pid 6379] close(3 [pid 5841] <... rmdir resumed>) = 0 [pid 5841] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5841] close(3) = 0 [pid 5841] rmdir("./8") = 0 [pid 5841] mkdir("./9", 0777) = 0 [pid 5841] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5841] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5841] close(3) = 0 [pid 5841] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6419 attached [ 102.190064][ T6381] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6381] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6419] set_robust_list(0x55558491f660, 24 [pid 6381] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5841] <... clone resumed>, child_tidptr=0x55558491f650) = 6419 [pid 6419] <... set_robust_list resumed>) = 0 [pid 6381] <... openat resumed>) = 3 [pid 6419] chdir("./9" [pid 6381] ioctl(3, LOOP_CLR_FD) = 0 [pid 6381] close(3 [pid 6419] <... chdir resumed>) = 0 [pid 6419] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6419] setpgid(0, 0) = 0 [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) = 0x7f5e2dc00000 [ 102.271207][ T6380] done [ 102.310024][ T6380] bcachefs (loop4): going read-write [pid 6380] <... mount resumed>) = 0 [pid 6380] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6380] chdir("./file0") = 0 [pid 6380] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6380] ioctl(4, LOOP_CLR_FD) = 0 [pid 6380] close(4) = 0 [ 102.392316][ T6380] bcachefs (loop4): done starting filesystem [pid 6380] unlinkat(AT_FDCWD, "./file1", 0) = 0 [pid 6380] exit_group(0) = ? [pid 6380] +++ exited with 0 +++ [pid 5844] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6380, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=36 /* 0.36 s */} --- [pid 5844] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5844] umount2("./8", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5844] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5844] umount2("./8/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] newfstatat(AT_FDCWD, "./8/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] unlink("./8/binderfs" [pid 6382] <... close resumed>) = 0 [pid 5844] <... unlink resumed>) = 0 [pid 6382] unlinkat(AT_FDCWD, "./file1", 0) = -1 ENOENT (No such file or directory) [pid 5844] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6382] exit_group(0) = ? [pid 6382] +++ exited with 0 +++ [pid 5843] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6382, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=50 /* 0.50 s */} --- [pid 5843] umount2("./12", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5843] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5843] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5843] umount2("./12/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5843] newfstatat(AT_FDCWD, "./12/binderfs", [pid 6378] <... close resumed>) = 0 [pid 5843] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6378] unlinkat(AT_FDCWD, "./file1", 0 [pid 5843] unlink("./12/binderfs" [pid 6378] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5843] <... unlink resumed>) = 0 [pid 5843] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6378] exit_group(0) = ? [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] newfstatat(AT_FDCWD, "./12/file0", [pid 6378] +++ exited with 0 +++ [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6378, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=46 /* 0.46 s */} --- [pid 5843] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5843] openat(AT_FDCWD, "./12/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5845] umount2("./9", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] <... openat resumed>) = 4 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] newfstatat(4, "", [pid 5845] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5845] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5843] getdents64(4, [pid 5845] umount2("./9/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./9/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] unlink("./9/binderfs" [pid 5843] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5845] <... unlink resumed>) = 0 [pid 5843] getdents64(4, [pid 5845] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] close(4 [pid 5845] newfstatat(AT_FDCWD, "./9/file0", [pid 5843] <... close resumed>) = 0 [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 102.530738][ T5844] bcachefs (loop4): shutting down [pid 5843] rmdir("./12/file0" [pid 5845] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./9/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5843] <... rmdir resumed>) = 0 [pid 5845] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5843] close(3) = 0 [pid 5843] rmdir("./12" [pid 5845] getdents64(4, [pid 5843] <... rmdir resumed>) = 0 [pid 5845] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5845] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5845] close(4) = 0 [pid 5845] rmdir("./9/file0") = 0 [pid 5843] mkdir("./13", 0777 [pid 5845] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5845] close(3) = 0 [pid 5845] rmdir("./9") = 0 [pid 5843] <... mkdir resumed>) = 0 [pid 5843] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [ 102.559315][ T5844] bcachefs (loop4): going read-only [pid 5843] ioctl(3, LOOP_CLR_FD [pid 5845] mkdir("./10", 0777 [pid 5843] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5843] close(3) = 0 [pid 5843] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6422 attached [pid 6381] <... close resumed>) = 0 [pid 6422] set_robust_list(0x55558491f660, 24 [pid 5845] <... mkdir resumed>) = 0 [pid 5843] <... clone resumed>, child_tidptr=0x55558491f650) = 6422 [pid 5845] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5845] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5845] close(3) = 0 [pid 6422] <... set_robust_list resumed>) = 0 [pid 6381] unlinkat(AT_FDCWD, "./file1", 0 [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6423 attached [pid 6422] chdir("./13" [pid 6381] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 6422] <... chdir resumed>) = 0 [pid 6381] exit_group(0 [pid 6423] set_robust_list(0x55558491f660, 24 [pid 6422] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6381] <... exit_group resumed>) = ? [pid 5845] <... clone resumed>, child_tidptr=0x55558491f650) = 6423 [pid 6423] <... set_robust_list resumed>) = 0 [pid 6423] chdir("./10") = 0 [pid 6423] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6423] setpgid(0, 0) = 0 [pid 6422] <... prctl resumed>) = 0 [pid 6381] +++ exited with 0 +++ [pid 6423] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5842] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6381, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=47 /* 0.47 s */} --- [pid 5842] umount2("./12", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5842] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 6423] <... openat resumed>) = 3 [pid 6379] <... close resumed>) = 0 [pid 6422] setpgid(0, 0 [pid 5842] umount2("./12/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6422] <... setpgid resumed>) = 0 [pid 6423] write(3, "1000", 4 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6422] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6423] <... write resumed>) = 4 [pid 5842] newfstatat(AT_FDCWD, "./12/binderfs", [pid 6423] close(3 [pid 6422] <... openat resumed>) = 3 [pid 5842] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6423] <... close resumed>) = 0 [pid 6422] write(3, "1000", 4 [ 102.583475][ T5844] bcachefs (loop4): finished waiting for writes to stop [pid 5842] unlink("./12/binderfs" [pid 6423] symlink("/dev/binderfs", "./binderfs" [pid 6422] <... write resumed>) = 4 [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 5842] <... unlink resumed>) = 0 [pid 6422] close(3) = 0 [pid 6422] symlink("/dev/binderfs", "./binderfs" [pid 6423] <... symlink resumed>) = 0 [pid 5842] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOWexecuting program [pid 6423] write(1, "executing program\n", 18 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6423] <... write resumed>) = 18 [pid 5842] newfstatat(AT_FDCWD, "./12/file0", [pid 6423] memfd_create("syzkaller", 0 [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 executing program [pid 5842] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6423] <... memfd_create resumed>) = 3 [pid 6422] <... symlink resumed>) = 0 [pid 6379] unlinkat(AT_FDCWD, "./file1", 0 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6422] write(1, "executing program\n", 18) = 18 [pid 5842] openat(AT_FDCWD, "./12/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 6422] memfd_create("syzkaller", 0) = 3 [pid 5842] newfstatat(4, "", [pid 6422] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6423] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6422] <... mmap resumed>) = 0x7f5e2dc00000 [pid 6379] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6423] <... mmap resumed>) = 0x7f5e2dc00000 [pid 6379] exit_group(0 [pid 5842] getdents64(4, [pid 6379] <... exit_group resumed>) = ? [pid 5842] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5842] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5842] close(4) = 0 [pid 5842] rmdir("./12/file0") = 0 [pid 6379] +++ exited with 0 +++ [pid 5840] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6379, si_uid=0, si_status=0, si_utime=0, si_stime=47 /* 0.47 s */} --- [pid 5842] getdents64(3, [pid 5840] restart_syscall(<... resuming interrupted clone ...> [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5842] close(3) = 0 [pid 5842] rmdir("./12") = 0 [pid 5842] mkdir("./13", 0777) = 0 [pid 5840] <... restart_syscall resumed>) = 0 [pid 5840] umount2("./11", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./11", 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, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5840] umount2("./11/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5840] newfstatat(AT_FDCWD, "./11/binderfs", [pid 5842] <... openat resumed>) = 3 [pid 5840] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] ioctl(3, LOOP_CLR_FD [pid 5840] unlink("./11/binderfs") = 0 [pid 5840] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 102.637251][ T5844] bcachefs (loop4): flushing journal and stopping allocators, journal seq 12 [pid 5842] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5840] newfstatat(AT_FDCWD, "./11/file0", [pid 5842] close(3 [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] <... close resumed>) = 0 [pid 5840] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) ./strace-static-x86_64: Process 6424 attached [pid 5840] openat(AT_FDCWD, "./11/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5840] newfstatat(4, "", [pid 6424] set_robust_list(0x55558491f660, 24 [pid 5842] <... clone resumed>, child_tidptr=0x55558491f650) = 6424 [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6424] <... set_robust_list resumed>) = 0 [pid 5840] getdents64(4, [pid 6424] chdir("./13") = 0 [pid 5840] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 6424] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5840] getdents64(4, [pid 6424] <... prctl resumed>) = 0 [pid 6424] setpgid(0, 0) = 0 [pid 5840] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 6424] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5840] close(4 [pid 6424] write(3, "1000", 4 [pid 5840] <... close resumed>) = 0 [pid 6424] <... write resumed>) = 4 [pid 5840] rmdir("./11/file0" [pid 6424] close(3 [pid 5840] <... rmdir resumed>) = 0 [pid 6424] <... close resumed>) = 0 [pid 6424] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5840] getdents64(3, executing program [pid 6424] write(1, "executing program\n", 18) = 18 [pid 6424] memfd_create("syzkaller", 0) = 3 [pid 5840] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 6424] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5840] close(3) = 0 [pid 6424] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5840] rmdir("./11") = 0 [pid 5840] mkdir("./12", 0777) = 0 [pid 5840] openat(AT_FDCWD, "/dev/loop0", 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 6425 attached , child_tidptr=0x55558491f650) = 6425 [pid 6425] set_robust_list(0x55558491f660, 24) = 0 [pid 6425] chdir("./12") = 0 [pid 6425] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [ 102.743970][ T2890] bcachefs (loop4): bch2_write_super(): fatal error loop4: Superblock write was silently dropped! (seq 0 expected 54) [pid 6425] setpgid(0, 0) = 0 [pid 6425] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6425] write(3, "1000", 4) = 4 [pid 6425] close(3) = 0 [pid 6425] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 6425] write(1, "executing program\n", 18) = 18 [pid 6425] memfd_create("syzkaller", 0) = 3 [pid 6425] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [ 102.795622][ T2890] bcachefs (loop4): fatal error - emergency read only [ 102.834987][ T5844] bcachefs (loop4): flushing journal and stopping allocators complete, journal seq 13 [ 102.879400][ T5844] bcachefs (loop4): unshutdown complete, journal seq 13 [ 102.905089][ T5844] bcachefs (loop4): done going read-only, filesystem not clean [pid 6423] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6422] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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.990480][ T5844] bcachefs (loop4): shutdown complete [pid 6424] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 resumed>) = 16777216 [pid 6419] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 6419] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6419] ioctl(4, LOOP_SET_FD, 3 [pid 6425] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... ioctl resumed>) = 0 [pid 6419] close(3) = 0 [pid 6419] close(4) = 0 [pid 6419] mkdir("./file0", 0777) = 0 [ 103.089681][ T6419] loop1: detected capacity change from 0 to 32768 [pid 6419] mount("/dev/loop1", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6422] <... write resumed>) = 16777216 [pid 6425] <... write resumed>) = 16777216 [pid 6422] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 6425] munmap(0x7f5e2dc00000, 138412032 [pid 6422] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6422] ioctl(4, LOOP_SET_FD, 3 [pid 6424] <... write resumed>) = 16777216 [pid 6425] <... munmap resumed>) = 0 [pid 6424] munmap(0x7f5e2dc00000, 138412032 [pid 6422] <... ioctl resumed>) = 0 [pid 6425] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6424] <... munmap resumed>) = 0 [pid 6423] <... write resumed>) = 16777216 [pid 6425] <... openat resumed>) = 4 [pid 6422] close(3) = 0 [pid 6424] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6422] close(4 [pid 6425] ioctl(4, LOOP_SET_FD, 3 [pid 6424] <... openat resumed>) = 4 [pid 6422] <... close resumed>) = 0 [pid 6423] munmap(0x7f5e2dc00000, 138412032 [pid 6424] ioctl(4, LOOP_SET_FD, 3 [pid 6422] mkdir("./file0", 0777 [pid 6425] <... ioctl resumed>) = 0 [pid 6424] <... ioctl resumed>) = 0 [pid 6423] <... munmap resumed>) = 0 [pid 6422] <... mkdir resumed>) = 0 [pid 6422] mount("/dev/loop3", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6424] close(3 [pid 6425] close(3 [pid 6424] <... close resumed>) = 0 [pid 6425] <... close resumed>) = 0 [pid 6424] close(4 [pid 6425] close(4) = 0 [pid 6425] mkdir("./file0", 0777) = 0 [pid 6424] <... close resumed>) = 0 [pid 6423] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6424] mkdir("./file0", 0777 [pid 6423] <... openat resumed>) = 4 [pid 6425] mount("/dev/loop0", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [ 103.444570][ T6422] loop3: detected capacity change from 0 to 32768 [ 103.467169][ T6425] loop0: detected capacity change from 0 to 32768 [ 103.482561][ T6424] loop2: detected capacity change from 0 to 32768 [pid 6423] ioctl(4, LOOP_SET_FD, 3 [pid 6424] <... mkdir resumed>) = 0 [pid 6423] <... ioctl resumed>) = 0 [pid 6423] close(3) = 0 [pid 6423] close(4) = 0 [pid 6423] mkdir("./file0", 0777 [pid 6424] mount("/dev/loop2", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6423] <... mkdir resumed>) = 0 [ 103.506966][ T6423] loop5: detected capacity change from 0 to 32768 [ 103.748871][ T6422] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 103.758461][ T6419] 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 [ 103.788275][ T6422] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 103.793909][ T6419] bcachefs (loop1): recovering from clean shutdown, journal seq 10 [ 103.805136][ T6419] bcachefs (loop1): Version upgrade required: [ 103.805136][ T6419] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 103.805136][ T6419] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 103.805136][ T6419] 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.817428][ T6423] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 103.877647][ T6419] bcachefs (loop1): dropping and reconstructing all alloc info [ 103.914516][ T6423] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 103.915321][ T6424] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 103.963119][ T6424] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 103.965007][ T6419] bcachefs (loop1): check_topology... done [ 103.989501][ T6425] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 103.998955][ T6419] bcachefs (loop1): accounting_read... [ 104.015408][ T6425] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 104.030570][ T6419] done [ 104.034666][ T6419] bcachefs (loop1): alloc_read... done [ 104.040214][ T6419] bcachefs (loop1): stripes_read... done [pid 6423] mount("/dev/loop5", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"...) = -1 EINVAL (Invalid argument) [ 104.071087][ T6419] bcachefs (loop1): snapshots_read... done [ 104.079305][ T6423] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6423] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 6423] ioctl(3, LOOP_CLR_FD) = 0 [ 104.090195][ T6419] bcachefs (loop1): check_allocations... [ 104.123957][ T6422] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6423] close(3 [pid 6422] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6422] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 6422] ioctl(3, LOOP_CLR_FD) = 0 [pid 6422] close(3 [pid 5844] <... umount2 resumed>) = 0 [pid 6424] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6419] <... mount resumed>) = 0 [pid 6424] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 6424] ioctl(3, LOOP_CLR_FD) = 0 [pid 6424] close(3 [pid 6419] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 5844] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6419] <... openat resumed>) = 3 [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6419] chdir("./file0" [pid 5844] newfstatat(AT_FDCWD, "./8/file0", [pid 6419] <... chdir resumed>) = 0 [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6419] openat(AT_FDCWD, "/dev/loop1", O_RDWR [ 104.208257][ T6419] done [ 104.209113][ T6424] bcachefs: bch2_fs_get_tree() error: EINVAL [ 104.212692][ T6419] bcachefs (loop1): going read-write [ 104.247993][ T6419] bcachefs (loop1): done starting filesystem [pid 5844] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6419] <... openat resumed>) = 4 [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6419] ioctl(4, LOOP_CLR_FD [pid 5844] openat(AT_FDCWD, "./8/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6419] <... ioctl resumed>) = 0 [pid 5844] <... openat resumed>) = 4 [pid 6419] close(4 [pid 5844] newfstatat(4, "", [pid 6419] <... close resumed>) = 0 [pid 6419] unlinkat(AT_FDCWD, "./file1", 0 [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5844] getdents64(4, [pid 6419] <... unlinkat resumed>) = 0 [pid 5844] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5844] close(4) = 0 [pid 6419] exit_group(0) = ? [pid 5844] rmdir("./8/file0") = 0 [pid 5844] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5844] close(3) = 0 [pid 6419] +++ exited with 0 +++ [pid 5844] rmdir("./8" [pid 5841] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6419, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=35 /* 0.35 s */} --- [pid 5844] <... rmdir resumed>) = 0 [pid 5841] restart_syscall(<... resuming interrupted clone ...> [pid 5844] mkdir("./9", 0777 [pid 5841] <... restart_syscall resumed>) = 0 [pid 5844] <... mkdir resumed>) = 0 [pid 5844] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5841] umount2("./9", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] <... openat resumed>) = 3 [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5844] ioctl(3, LOOP_CLR_FD [pid 5841] <... openat resumed>) = 3 [pid 5844] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5844] close(3 [pid 5841] newfstatat(3, "", [pid 5844] <... close resumed>) = 0 [pid 5844] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5841] umount2("./9/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5841] newfstatat(AT_FDCWD, "./9/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] unlink("./9/binderfs") = 0 [pid 5841] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] <... clone resumed>, child_tidptr=0x55558491f650) = 6464 ./strace-static-x86_64: Process 6464 attached [pid 6464] set_robust_list(0x55558491f660, 24) = 0 [pid 6464] chdir("./9") = 0 [pid 6464] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6425] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6425] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 6425] ioctl(3, LOOP_CLR_FD [pid 6464] <... prctl resumed>) = 0 [pid 6425] <... ioctl resumed>) = 0 [pid 6425] close(3 [pid 6464] setpgid(0, 0) = 0 [pid 6464] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [ 104.399917][ T6425] bcachefs: bch2_fs_get_tree() error: EINVAL [ 104.422736][ T5841] bcachefs (loop1): shutting down [pid 6464] write(3, "1000", 4) = 4 [pid 6464] close(3) = 0 [ 104.449716][ T5841] bcachefs (loop1): going read-only [pid 6464] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6464] write(1, "executing program\n", 18executing program ) = 18 [pid 6464] memfd_create("syzkaller", 0) = 3 [pid 6464] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [ 104.473074][ T5841] bcachefs (loop1): finished waiting for writes to stop [pid 6423] <... close resumed>) = 0 [pid 6424] <... close resumed>) = 0 [ 104.527910][ T5841] bcachefs (loop1): flushing journal and stopping allocators, journal seq 12 [pid 6423] unlinkat(AT_FDCWD, "./file1", 0) = -1 ENOENT (No such file or directory) [pid 6423] exit_group(0) = ? [pid 6422] <... close resumed>) = 0 [pid 6424] unlinkat(AT_FDCWD, "./file1", 0 [pid 6423] +++ exited with 0 +++ [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6423, si_uid=0, si_status=0, si_utime=0, si_stime=53 /* 0.53 s */} --- [pid 6424] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 6424] exit_group(0 [pid 6422] unlinkat(AT_FDCWD, "./file1", 0 [pid 5845] umount2("./10", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6424] <... exit_group resumed>) = ? [pid 6424] +++ exited with 0 +++ [pid 6422] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6422] exit_group(0 [pid 5845] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6422] <... exit_group resumed>) = ? [pid 5845] <... openat resumed>) = 3 [pid 6422] +++ exited with 0 +++ [pid 5845] newfstatat(3, "", [pid 5842] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6424, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=34 /* 0.34 s */} --- [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5845] umount2("./10/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./10/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] unlink("./10/binderfs") = 0 [pid 5845] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./10/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./10/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5845] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5845] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5845] close(4) = 0 [pid 5845] rmdir("./10/file0") = 0 [pid 5845] getdents64(3, [pid 5843] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6422, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=49 /* 0.49 s */} --- [pid 5845] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5845] close(3 [pid 5843] umount2("./13", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] <... close resumed>) = 0 [pid 5845] rmdir("./10") = 0 [pid 5845] mkdir("./11", 0777) = 0 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] umount2("./13", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5843] openat(AT_FDCWD, "./13", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] <... openat resumed>) = 3 [pid 5845] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5845] close(3) = 0 [pid 5843] <... openat resumed>) = 3 [pid 5842] openat(AT_FDCWD, "./13", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5842] <... openat resumed>) = 3 [pid 5843] newfstatat(3, "", [pid 5842] newfstatat(3, "", [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] getdents64(3, ./strace-static-x86_64: Process 6465 attached [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] <... clone resumed>, child_tidptr=0x55558491f650) = 6465 [pid 5843] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5842] getdents64(3, [pid 6465] set_robust_list(0x55558491f660, 24 [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5843] umount2("./13/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6465] <... set_robust_list resumed>) = 0 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] umount2("./13/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6465] chdir("./11" [pid 5843] newfstatat(AT_FDCWD, "./13/binderfs", [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] newfstatat(AT_FDCWD, "./13/binderfs", [pid 5843] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6465] <... chdir resumed>) = 0 [pid 5843] unlink("./13/binderfs" [pid 5842] unlink("./13/binderfs") = 0 [pid 5843] <... unlink resumed>) = 0 [pid 5842] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 104.593664][ T5841] bcachefs (loop1): flushing journal and stopping allocators complete, journal seq 15 [ 104.608690][ T5841] bcachefs (loop1): unshutdown complete, journal seq 16 [ 104.623181][ T5841] bcachefs (loop1): done going read-only, filesystem not clean [pid 5842] newfstatat(AT_FDCWD, "./13/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6465] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5843] newfstatat(AT_FDCWD, "./13/file0", [pid 5842] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6465] <... prctl resumed>) = 0 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] openat(AT_FDCWD, "./13/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6465] setpgid(0, 0 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] openat(AT_FDCWD, "./13/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5842] <... openat resumed>) = 4 [pid 6465] <... setpgid resumed>) = 0 [pid 5842] newfstatat(4, "", [pid 5843] <... openat resumed>) = 4 [pid 6465] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5843] newfstatat(4, "", [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] getdents64(4, [pid 5843] getdents64(4, [pid 6465] <... openat resumed>) = 3 [pid 5843] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5842] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5843] getdents64(4, [pid 5842] close(4 [pid 5843] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5842] <... close resumed>) = 0 [pid 5843] close(4 [pid 5842] rmdir("./13/file0" [pid 5843] <... close resumed>) = 0 [pid 5842] <... rmdir resumed>) = 0 [pid 5843] rmdir("./13/file0" [pid 5842] getdents64(3, [pid 5843] <... rmdir resumed>) = 0 [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5843] getdents64(3, [pid 5842] close(3 [pid 5843] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 6465] write(3, "1000", 4 [pid 5843] close(3 [pid 5842] <... close resumed>) = 0 [pid 5843] <... close resumed>) = 0 [pid 5842] rmdir("./13" [pid 6465] <... write resumed>) = 4 [pid 5843] rmdir("./13") = 0 [pid 5842] <... rmdir resumed>) = 0 [pid 5843] mkdir("./14", 0777 [pid 6465] close(3 [pid 5842] mkdir("./14", 0777 [pid 5843] <... mkdir resumed>) = 0 [pid 5842] <... mkdir resumed>) = 0 [pid 6465] <... close resumed>) = 0 [pid 5843] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6465] symlink("/dev/binderfs", "./binderfs" [pid 5842] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5843] <... openat resumed>) = 3 [pid 5843] ioctl(3, LOOP_CLR_FD [pid 5842] <... openat resumed>) = 3 [pid 5843] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5842] ioctl(3, LOOP_CLR_FD [pid 5843] close(3 [pid 5842] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5843] <... close resumed>) = 0 [pid 5842] close(3 [pid 5843] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5842] <... close resumed>) = 0 [pid 5842] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6467 attached ./strace-static-x86_64: Process 6466 attached [pid 6466] set_robust_list(0x55558491f660, 24) = 0 [pid 6466] chdir("./14") = 0 [pid 6466] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6466] setpgid(0, 0) = 0 [pid 6466] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6467] set_robust_list(0x55558491f660, 24 [pid 6466] <... openat resumed>) = 3 [pid 6465] <... symlink resumed>) = 0 [pid 5843] <... clone resumed>, child_tidptr=0x55558491f650) = 6466 [pid 5842] <... clone resumed>, child_tidptr=0x55558491f650) = 6467 [pid 6467] <... set_robust_list resumed>) = 0 [pid 6466] write(3, "1000", 4) = 4 [pid 6466] close(3executing program ) = 0 [pid 6466] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6466] write(1, "executing program\n", 18) = 18 [pid 6467] chdir("./14"executing program [pid 6466] memfd_create("syzkaller", 0 [pid 6465] write(1, "executing program\n", 18 [pid 6466] <... memfd_create resumed>) = 3 [pid 6465] <... write resumed>) = 18 [pid 6467] <... chdir resumed>) = 0 [pid 6466] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 6467] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6465] memfd_create("syzkaller", 0 [pid 6467] setpgid(0, 0 [pid 6465] <... memfd_create resumed>) = 3 [pid 6467] <... setpgid resumed>) = 0 [pid 6465] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6467] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6465] <... mmap resumed>) = 0x7f5e2dc00000 [pid 6467] <... openat resumed>) = 3 [pid 6467] write(3, "1000", 4) = 4 [pid 6467] close(3) = 0 [pid 6467] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 6467] write(1, "executing program\n", 18) = 18 [pid 6467] memfd_create("syzkaller", 0) = 3 [pid 6467] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [ 104.734389][ T5841] bcachefs (loop1): shutdown complete [pid 6425] <... close resumed>) = 0 [pid 6464] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6425] unlinkat(AT_FDCWD, "./file1", 0) = -1 ENOENT (No such file or directory) [pid 6425] exit_group(0) = ? [pid 6425] +++ exited with 0 +++ [pid 5840] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6425, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=36 /* 0.36 s */} --- [pid 5840] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5840] umount2("./12", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./12", 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, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5840] umount2("./12/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./12/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] unlink("./12/binderfs") = 0 [pid 5840] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./12/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./12/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, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5840] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5840] close(4) = 0 [pid 5840] rmdir("./12/file0") = 0 [pid 5840] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5840] close(3) = 0 [pid 5840] rmdir("./12") = 0 [pid 5840] mkdir("./13", 0777) = 0 [pid 5840] openat(AT_FDCWD, "/dev/loop0", 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=0x55558491f650) = 6468 ./strace-static-x86_64: Process 6468 attached [pid 6468] set_robust_list(0x55558491f660, 24) = 0 [pid 6468] chdir("./13") = 0 [pid 6468] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6468] setpgid(0, 0) = 0 [pid 6468] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 executing program [pid 6468] write(3, "1000", 4) = 4 [pid 6468] close(3) = 0 [pid 6468] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6468] write(1, "executing program\n", 18) = 18 [pid 6468] memfd_create("syzkaller", 0) = 3 [pid 6468] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 6465] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6466] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6467] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6468] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6464] <... write resumed>) = 16777216 [pid 6464] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 6464] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6464] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6464] close(3) = 0 [pid 6464] close(4) = 0 [pid 6464] mkdir("./file0", 0777) = 0 [ 105.387374][ T6464] loop4: detected capacity change from 0 to 32768 [pid 6464] mount("/dev/loop4", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6465] <... write resumed>) = 16777216 [pid 6465] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 6466] <... write resumed>) = 16777216 [pid 6466] munmap(0x7f5e2dc00000, 138412032 [pid 6465] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 6467] <... write resumed>) = 16777216 [pid 6466] <... munmap resumed>) = 0 [pid 6467] munmap(0x7f5e2dc00000, 138412032 [pid 6466] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6465] ioctl(4, LOOP_SET_FD, 3 [pid 6466] ioctl(4, LOOP_SET_FD, 3 [pid 6465] <... ioctl resumed>) = 0 [pid 6465] close(3 [pid 6466] <... ioctl resumed>) = 0 [pid 6465] <... close resumed>) = 0 [pid 6465] close(4) = 0 [pid 6465] mkdir("./file0", 0777) = 0 [pid 6465] mount("/dev/loop5", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6466] close(3 [pid 6467] <... munmap resumed>) = 0 [pid 6467] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6466] <... close resumed>) = 0 [pid 6467] <... openat resumed>) = 4 [pid 6466] close(4 [pid 6467] ioctl(4, LOOP_SET_FD, 3 [pid 6466] <... close resumed>) = 0 [pid 6466] mkdir("./file0", 0777) = 0 [pid 6466] mount("/dev/loop3", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6468] <... write resumed>) = 16777216 [pid 6467] <... ioctl resumed>) = 0 [pid 6467] close(3 [ 105.535280][ T6465] loop5: detected capacity change from 0 to 32768 [ 105.542957][ T6466] loop3: detected capacity change from 0 to 32768 [ 105.567650][ T6467] loop2: detected capacity change from 0 to 32768 [pid 6468] munmap(0x7f5e2dc00000, 138412032 [pid 6467] <... close resumed>) = 0 [pid 6467] close(4) = 0 [pid 6467] mkdir("./file0", 0777) = 0 [pid 6467] mount("/dev/loop2", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6468] <... munmap resumed>) = 0 [pid 6468] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6468] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6468] close(3) = 0 [pid 6468] close(4) = 0 [pid 6468] mkdir("./file0", 0777) = 0 [ 105.653996][ T6468] loop0: detected capacity change from 0 to 32768 [ 105.799705][ T6464] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 105.810008][ T6466] 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 [ 105.834245][ T6464] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 105.842637][ T6467] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 105.849584][ T6466] bcachefs (loop3): recovering from clean shutdown, journal seq 10 [ 105.859174][ T6467] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 105.869533][ T6465] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 105.883979][ T6466] bcachefs (loop3): Version upgrade required: [ 105.883979][ T6466] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 105.883979][ T6466] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 105.883979][ T6466] 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.934623][ T6468] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 105.964493][ T6468] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 105.972916][ T6465] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 105.984418][ T6466] bcachefs (loop3): dropping and reconstructing all alloc info [ 105.999775][ T6464] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6468] mount("/dev/loop0", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6464] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6464] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 6464] ioctl(3, LOOP_CLR_FD) = 0 [ 106.049996][ T6466] bcachefs (loop3): check_topology... done [ 106.072880][ T6466] bcachefs (loop3): accounting_read... [ 106.085915][ T6465] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6464] close(3 [pid 6465] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6465] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 6465] ioctl(3, LOOP_CLR_FD) = 0 [ 106.108694][ T6466] done [ 106.111492][ T6466] bcachefs (loop3): alloc_read... done [ 106.129809][ T6466] bcachefs (loop3): stripes_read... done [ 106.143190][ T6466] bcachefs (loop3): snapshots_read... done [ 106.149864][ T6467] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6465] close(3 [pid 6467] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6467] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 6467] ioctl(3, LOOP_CLR_FD) = 0 [pid 6467] close(3 [pid 6468] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6468] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 6468] ioctl(3, LOOP_CLR_FD) = 0 [ 106.172318][ T6466] bcachefs (loop3): check_allocations... done [ 106.297358][ T6468] bcachefs: bch2_fs_get_tree() error: EINVAL [ 106.298144][ T6466] bcachefs (loop3): going read-write [pid 6468] close(3 [pid 6466] <... mount resumed>) = 0 [pid 6466] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [ 106.383813][ T6466] bcachefs (loop3): done starting filesystem [pid 6466] chdir("./file0") = 0 [pid 6466] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6466] ioctl(4, LOOP_CLR_FD) = 0 [pid 6466] close(4) = 0 [pid 6466] unlinkat(AT_FDCWD, "./file1", 0) = 0 [pid 6465] <... close resumed>) = 0 [pid 6466] exit_group(0) = ? [pid 6466] +++ exited with 0 +++ [pid 6465] unlinkat(AT_FDCWD, "./file1", 0 [pid 5843] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6466, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=36 /* 0.36 s */} --- [pid 6465] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5843] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 6465] exit_group(0) = ? [pid 5843] umount2("./14", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6465] +++ exited with 0 +++ [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] <... umount2 resumed>) = 0 [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6465, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=46 /* 0.46 s */} --- [pid 5843] openat(AT_FDCWD, "./14", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5843] newfstatat(3, "", [pid 5845] umount2("./11", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5843] getdents64(3, [pid 5845] <... openat resumed>) = 3 [pid 5845] newfstatat(3, "", [pid 5843] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] umount2("./14/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] getdents64(3, [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] newfstatat(AT_FDCWD, "./14/binderfs", [pid 5845] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5843] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] umount2("./11/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] unlink("./14/binderfs" [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] newfstatat(AT_FDCWD, "./9/file0", [pid 5845] newfstatat(AT_FDCWD, "./11/binderfs", [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] <... unlink resumed>) = 0 [pid 5841] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] unlink("./11/binderfs" [pid 5843] umount2("./14/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] <... unlink resumed>) = 0 [pid 5845] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] openat(AT_FDCWD, "./9/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./11/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./11/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5845] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] <... openat resumed>) = 4 [pid 5845] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5841] newfstatat(4, "", [pid 5845] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] close(4) = 0 [pid 5841] getdents64(4, [pid 5845] rmdir("./11/file0") = 0 [pid 5841] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5845] getdents64(3, [pid 5841] getdents64(4, [pid 5845] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5841] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5845] close(3 [pid 5841] close(4 [pid 5845] <... close resumed>) = 0 [pid 5841] <... close resumed>) = 0 [pid 5845] rmdir("./11" [pid 5841] rmdir("./9/file0" [pid 5845] <... rmdir resumed>) = 0 [pid 5841] <... rmdir resumed>) = 0 [pid 5845] mkdir("./12", 0777 [pid 5841] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5841] close(3) = 0 [pid 5841] rmdir("./9" [pid 6467] <... close resumed>) = 0 [pid 5841] <... rmdir resumed>) = 0 [pid 5845] <... mkdir resumed>) = 0 [pid 5841] mkdir("./10", 0777) = 0 [pid 5841] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5841] ioctl(3, LOOP_CLR_FD [pid 5845] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5841] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5845] <... openat resumed>) = 3 [pid 5841] close(3) = 0 [pid 5841] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6467] unlinkat(AT_FDCWD, "./file1", 0 [pid 5841] <... clone resumed>, child_tidptr=0x55558491f650) = 6510 ./strace-static-x86_64: Process 6510 attached [pid 6467] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5845] ioctl(3, LOOP_CLR_FD [pid 6510] set_robust_list(0x55558491f660, 24 [pid 6467] exit_group(0 [pid 5845] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6467] <... exit_group resumed>) = ? [pid 5845] close(3 [pid 6510] <... set_robust_list resumed>) = 0 [pid 5845] <... close resumed>) = 0 [pid 6510] chdir("./10" [pid 6467] +++ exited with 0 +++ [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5842] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6467, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=47 /* 0.47 s */} --- [pid 5842] restart_syscall(<... resuming interrupted clone ...>./strace-static-x86_64: Process 6511 attached [pid 6510] <... chdir resumed>) = 0 [pid 5842] <... restart_syscall resumed>) = 0 [pid 6511] set_robust_list(0x55558491f660, 24 [pid 6510] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5845] <... clone resumed>, child_tidptr=0x55558491f650) = 6511 [pid 5842] umount2("./14", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6510] <... prctl resumed>) = 0 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6511] <... set_robust_list resumed>) = 0 [pid 6510] setpgid(0, 0 [pid 6464] <... close resumed>) = 0 [pid 5842] openat(AT_FDCWD, "./14", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6510] <... setpgid resumed>) = 0 [pid 6511] chdir("./12" [pid 6510] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6464] unlinkat(AT_FDCWD, "./file1", 0 [pid 5842] <... openat resumed>) = 3 [pid 5842] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] getdents64(3, [pid 6464] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 6510] <... openat resumed>) = 3 [pid 6464] exit_group(0 [pid 6510] write(3, "1000", 4 [pid 5842] umount2("./14/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] newfstatat(AT_FDCWD, "./14/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] unlink("./14/binderfs" [pid 6464] <... exit_group resumed>) = ? [pid 6510] <... write resumed>) = 4 [pid 5842] <... unlink resumed>) = 0 [pid 5842] umount2("./14/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] newfstatat(AT_FDCWD, "./14/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] umount2("./14/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] openat(AT_FDCWD, "./14/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6464] +++ exited with 0 +++ [pid 6510] close(3 [pid 5842] <... openat resumed>) = 4 [pid 6510] <... close resumed>) = 0 [pid 5844] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6464, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=45 /* 0.45 s */} --- [pid 6511] <... chdir resumed>) = 0 [pid 6510] symlink("/dev/binderfs", "./binderfs" [pid 5844] restart_syscall(<... resuming interrupted clone ...> [pid 5842] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] getdents64(4, [pid 6511] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6510] <... symlink resumed>) = 0 [pid 5842] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5842] getdents64(4, executing program [pid 6510] write(1, "executing program\n", 18 [pid 5842] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 6511] <... prctl resumed>) = 0 [pid 6510] <... write resumed>) = 18 [pid 5842] close(4 [pid 6511] setpgid(0, 0 [pid 6510] memfd_create("syzkaller", 0 [pid 5844] <... restart_syscall resumed>) = 0 [pid 5842] <... close resumed>) = 0 [pid 5842] rmdir("./14/file0" [pid 6511] <... setpgid resumed>) = 0 [pid 6510] <... memfd_create resumed>) = 3 [pid 5842] <... rmdir resumed>) = 0 [pid 6510] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [ 106.523652][ T5843] bcachefs (loop3): shutting down [ 106.528728][ T5843] bcachefs (loop3): going read-only [ 106.535194][ T5843] bcachefs (loop3): finished waiting for writes to stop [ 106.562762][ T5843] bcachefs (loop3): flushing journal and stopping allocators, journal seq 11 [pid 5844] umount2("./9", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] getdents64(3, [pid 6511] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6510] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5844] <... openat resumed>) = 3 [pid 5844] newfstatat(3, "", [pid 5842] close(3 [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] <... close resumed>) = 0 [pid 5844] getdents64(3, [pid 5842] rmdir("./14" [pid 5844] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5842] <... rmdir resumed>) = 0 [pid 5844] umount2("./9/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] mkdir("./15", 0777 [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] <... mkdir resumed>) = 0 [pid 5844] newfstatat(AT_FDCWD, "./9/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] unlink("./9/binderfs") = 0 [pid 5844] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] newfstatat(AT_FDCWD, "./9/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] openat(AT_FDCWD, "./9/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5842] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5844] <... openat resumed>) = 4 [pid 5842] <... openat resumed>) = 3 [pid 5844] newfstatat(4, "", [pid 6511] <... openat resumed>) = 3 [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] getdents64(4, [pid 5842] ioctl(3, LOOP_CLR_FD [pid 5844] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5842] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5844] getdents64(4, [pid 5842] close(3 [pid 6511] write(3, "1000", 4 [pid 5844] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5842] <... close resumed>) = 0 [pid 5842] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5844] close(4) = 0 [pid 5842] <... clone resumed>, child_tidptr=0x55558491f650) = 6512 [pid 5844] rmdir("./9/file0"./strace-static-x86_64: Process 6512 attached ) = 0 [pid 6512] set_robust_list(0x55558491f660, 24 [pid 5844] getdents64(3, [pid 6512] <... set_robust_list resumed>) = 0 [pid 5844] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 6512] chdir("./15" [pid 5844] close(3 [pid 6512] <... chdir resumed>) = 0 [pid 5844] <... close resumed>) = 0 [pid 6512] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5844] rmdir("./9" [pid 6512] <... prctl resumed>) = 0 [pid 5844] <... rmdir resumed>) = 0 [pid 6512] setpgid(0, 0 [pid 5844] mkdir("./10", 0777 [pid 6512] <... setpgid resumed>) = 0 [pid 5844] <... mkdir resumed>) = 0 [pid 6512] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5844] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6512] <... openat resumed>) = 3 [pid 5844] <... openat resumed>) = 3 [pid 6512] write(3, "1000", 4 [pid 5844] ioctl(3, LOOP_CLR_FD [pid 6512] <... write resumed>) = 4 [pid 5844] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6512] close(3 [pid 5844] close(3 [pid 6512] <... close resumed>) = 0 [pid 5844] <... close resumed>) = 0 [pid 6512] symlink("/dev/binderfs", "./binderfs" [pid 5844] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6513 attached [pid 6511] <... write resumed>) = 4 [pid 6512] <... symlink resumed>) = 0 [pid 6511] close(3) = 0 [pid 6511] symlink("/dev/binderfs", "./binderfs" [pid 5844] <... clone resumed>, child_tidptr=0x55558491f650) = 6513 executing program executing program [pid 6513] set_robust_list(0x55558491f660, 24 [pid 6512] write(1, "executing program\n", 18 [pid 6511] <... symlink resumed>) = 0 [pid 6513] <... set_robust_list resumed>) = 0 [pid 6512] <... write resumed>) = 18 [pid 6511] write(1, "executing program\n", 18 [pid 6513] chdir("./10" [pid 6512] memfd_create("syzkaller", 0 [pid 6511] <... write resumed>) = 18 [pid 6513] <... chdir resumed>) = 0 [pid 6512] <... memfd_create resumed>) = 3 [pid 6513] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6512] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6513] <... prctl resumed>) = 0 [pid 6512] <... mmap resumed>) = 0x7f5e2dc00000 [pid 6513] setpgid(0, 0 [pid 6511] memfd_create("syzkaller", 0 [pid 6513] <... setpgid resumed>) = 0 [pid 6511] <... memfd_create resumed>) = 3 [pid 6513] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6511] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 6513] <... openat resumed>) = 3 executing program [pid 6513] write(3, "1000", 4) = 4 [pid 6513] close(3) = 0 [pid 6513] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6513] write(1, "executing program\n", 18) = 18 [pid 6513] memfd_create("syzkaller", 0) = 3 [pid 6513] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [ 106.687412][ T11] bcachefs (loop3): bch2_write_super(): fatal error loop3: Superblock write was silently dropped! (seq 0 expected 54) [pid 6468] <... close resumed>) = 0 [pid 6468] unlinkat(AT_FDCWD, "./file1", 0) = -1 ENOENT (No such file or directory) [pid 6468] exit_group(0) = ? [pid 6468] +++ exited with 0 +++ [pid 5840] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6468, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=43 /* 0.43 s */} --- [pid 5840] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5840] umount2("./13", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./13", 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, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5840] umount2("./13/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./13/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] unlink("./13/binderfs") = 0 [pid 5840] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./13/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./13/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, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5840] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5840] close(4) = 0 [pid 5840] rmdir("./13/file0") = 0 [pid 5840] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5840] close(3) = 0 [ 106.763819][ T11] bcachefs (loop3): fatal error - emergency read only [ 106.787239][ T5843] bcachefs (loop3): flushing journal and stopping allocators complete, journal seq 14 [pid 5840] rmdir("./13") = 0 [pid 5840] mkdir("./14", 0777) = 0 [pid 5840] openat(AT_FDCWD, "/dev/loop0", 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=0x55558491f650) = 6514 ./strace-static-x86_64: Process 6514 attached [pid 6514] set_robust_list(0x55558491f660, 24) = 0 [pid 6514] chdir("./14") = 0 [pid 6514] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6514] setpgid(0, 0) = 0 [pid 6514] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 executing program [pid 6513] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6514] write(3, "1000", 4) = 4 [pid 6514] close(3) = 0 [pid 6514] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6514] write(1, "executing program\n", 18) = 18 [pid 6514] memfd_create("syzkaller", 0) = 3 [pid 6514] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [ 106.834224][ T5843] bcachefs (loop3): unshutdown complete, journal seq 14 [ 106.855164][ T5843] bcachefs (loop3): done going read-only, filesystem not clean [pid 6510] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6511] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 [ 106.986944][ T5843] bcachefs (loop3): shutdown complete [pid 6512] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6514] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6510] <... write resumed>) = 16777216 [pid 6513] <... write resumed>) = 16777216 [pid 6511] <... write resumed>) = 16777216 [pid 6510] munmap(0x7f5e2dc00000, 138412032 [pid 6512] <... write resumed>) = 16777216 [pid 6513] munmap(0x7f5e2dc00000, 138412032 [pid 6512] munmap(0x7f5e2dc00000, 138412032 [pid 6511] munmap(0x7f5e2dc00000, 138412032 [pid 6510] <... munmap resumed>) = 0 [pid 6510] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6510] ioctl(4, LOOP_SET_FD, 3 [pid 6513] <... munmap resumed>) = 0 [pid 6510] <... ioctl resumed>) = 0 [pid 6511] <... munmap resumed>) = 0 [pid 6513] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6512] <... munmap resumed>) = 0 [pid 6511] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6510] close(3 [pid 6513] <... openat resumed>) = 4 [pid 6512] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6511] <... openat resumed>) = 4 [pid 6513] ioctl(4, LOOP_SET_FD, 3 [pid 6512] <... openat resumed>) = 4 [pid 6511] ioctl(4, LOOP_SET_FD, 3 [pid 6510] <... close resumed>) = 0 [pid 6513] <... ioctl resumed>) = 0 [pid 6512] ioctl(4, LOOP_SET_FD, 3 [pid 6511] <... ioctl resumed>) = 0 [pid 6510] close(4) = 0 [pid 6513] close(3 [pid 6512] <... ioctl resumed>) = 0 [pid 6510] mkdir("./file0", 0777 [pid 6513] <... close resumed>) = 0 [pid 6512] close(3 [pid 6510] <... mkdir resumed>) = 0 [pid 6513] close(4 [pid 6510] mount("/dev/loop1", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6513] <... close resumed>) = 0 [pid 6512] <... close resumed>) = 0 [pid 6513] mkdir("./file0", 0777) = 0 [pid 6512] close(4 [pid 6513] mount("/dev/loop4", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6512] <... close resumed>) = 0 [pid 6512] mkdir("./file0", 0777 [pid 6511] close(3) = 0 [pid 6511] close(4 [pid 6512] <... mkdir resumed>) = 0 [pid 6511] <... close resumed>) = 0 [pid 6511] mkdir("./file0", 0777) = 0 [ 107.456071][ T6510] loop1: detected capacity change from 0 to 32768 [ 107.478345][ T6513] loop4: detected capacity change from 0 to 32768 [ 107.485467][ T6511] loop5: detected capacity change from 0 to 32768 [ 107.492534][ T6512] loop2: detected capacity change from 0 to 32768 [pid 6512] mount("/dev/loop2", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6511] mount("/dev/loop5", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6514] <... write resumed>) = 16777216 [pid 6514] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 6514] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6514] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6514] close(3) = 0 [pid 6514] close(4) = 0 [pid 6514] mkdir("./file0", 0777) = 0 [ 107.588511][ T6514] loop0: detected capacity change from 0 to 32768 [ 107.793387][ T6510] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 107.793661][ T6513] 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 [ 107.813604][ T6510] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 107.825645][ T6513] bcachefs (loop4): recovering from clean shutdown, journal seq 10 [ 107.846326][ T6512] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 107.861099][ T6512] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 107.861872][ T6511] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 107.894918][ T6513] bcachefs (loop4): Version upgrade required: [ 107.894918][ T6513] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 107.894918][ T6513] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 107.894918][ T6513] 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.913056][ T6511] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 107.966996][ T6513] bcachefs (loop4): dropping and reconstructing all alloc info [ 107.974202][ T6514] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 108.004653][ T6513] bcachefs (loop4): check_topology... done [ 108.014594][ T6513] bcachefs (loop4): accounting_read... [ 108.023216][ T6514] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 108.063252][ T6513] done [ 108.066048][ T6513] bcachefs (loop4): alloc_read... done [pid 6514] mount("/dev/loop0", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6511] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6510] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6511] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6510] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6511] <... openat resumed>) = 3 [pid 6510] <... openat resumed>) = 3 [pid 6511] ioctl(3, LOOP_CLR_FD [pid 6510] ioctl(3, LOOP_CLR_FD [pid 6511] <... ioctl resumed>) = 0 [pid 6511] close(3 [pid 6510] <... ioctl resumed>) = 0 [ 108.121331][ T6513] bcachefs (loop4): stripes_read... done [ 108.130290][ T6511] bcachefs: bch2_fs_get_tree() error: EINVAL [ 108.136990][ T6510] bcachefs: bch2_fs_get_tree() error: EINVAL [ 108.143197][ T6513] bcachefs (loop4): snapshots_read... done [ 108.149156][ T6513] bcachefs (loop4): check_allocations... [ 108.189485][ T6512] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6510] close(3 [pid 6512] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6512] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 6512] ioctl(3, LOOP_CLR_FD) = 0 [ 108.277611][ T6513] done [ 108.307170][ T6513] bcachefs (loop4): going read-write [ 108.332905][ T6514] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6512] close(3 [pid 6514] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6514] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 6514] ioctl(3, LOOP_CLR_FD) = 0 [pid 6514] close(3 [pid 6513] <... mount resumed>) = 0 [pid 5843] <... umount2 resumed>) = 0 [pid 6513] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6513] chdir("./file0") = 0 [pid 6513] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6513] ioctl(4, LOOP_CLR_FD) = 0 [pid 6513] close(4 [pid 5843] umount2("./14/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6513] <... close resumed>) = 0 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 108.383896][ T6513] bcachefs (loop4): done starting filesystem [pid 5843] newfstatat(AT_FDCWD, "./14/file0", [pid 6513] unlinkat(AT_FDCWD, "./file1", 0 [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] umount2("./14/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6513] <... unlinkat resumed>) = 0 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] openat(AT_FDCWD, "./14/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6513] exit_group(0 [pid 5843] <... openat resumed>) = 4 [pid 5843] newfstatat(4, "", [pid 6513] <... exit_group resumed>) = ? [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6513] +++ exited with 0 +++ [pid 5843] getdents64(4, [pid 5844] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6513, si_uid=0, si_status=0, si_utime=0, si_stime=41 /* 0.41 s */} --- [pid 5844] restart_syscall(<... resuming interrupted clone ...> [pid 5843] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5843] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 6510] <... close resumed>) = 0 [pid 5844] <... restart_syscall resumed>) = 0 [pid 5843] close(4) = 0 [pid 6510] unlinkat(AT_FDCWD, "./file1", 0) = -1 ENOENT (No such file or directory) [pid 6510] exit_group(0) = ? [pid 5843] rmdir("./14/file0" [pid 5844] umount2("./10", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5843] <... rmdir resumed>) = 0 [pid 5844] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5843] getdents64(3, [pid 6510] +++ exited with 0 +++ [pid 5844] <... openat resumed>) = 3 [pid 5843] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5844] newfstatat(3, "", [pid 5843] close(3 [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] <... close resumed>) = 0 [pid 5841] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6510, si_uid=0, si_status=0, si_utime=0, si_stime=40 /* 0.40 s */} --- [pid 5844] getdents64(3, [pid 5843] rmdir("./14" [pid 5841] restart_syscall(<... resuming interrupted clone ...> [pid 5844] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5843] <... rmdir resumed>) = 0 [pid 5844] umount2("./10/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] mkdir("./15", 0777 [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] <... mkdir resumed>) = 0 [pid 5844] newfstatat(AT_FDCWD, "./10/binderfs", [pid 5841] <... restart_syscall resumed>) = 0 [pid 5844] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] unlink("./10/binderfs" [pid 5841] umount2("./10", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] <... unlink resumed>) = 0 [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5843] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5841] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5844] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] close(3 [pid 5841] <... openat resumed>) = 3 [pid 5843] <... close resumed>) = 0 [pid 5843] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55558491f650) = 6556 [pid 5841] newfstatat(3, "", ./strace-static-x86_64: Process 6556 attached {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6556] set_robust_list(0x55558491f660, 24 [pid 5841] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 6556] <... set_robust_list resumed>) = 0 [pid 5841] umount2("./10/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6556] chdir("./15" [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 108.532287][ T5844] bcachefs (loop4): shutting down [pid 6556] <... chdir resumed>) = 0 [pid 5841] newfstatat(AT_FDCWD, "./10/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] unlink("./10/binderfs") = 0 [pid 5841] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6556] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6556] <... prctl resumed>) = 0 [pid 5841] newfstatat(AT_FDCWD, "./10/file0", [pid 6556] setpgid(0, 0 [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6556] <... setpgid resumed>) = 0 [pid 5841] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW [ 108.559171][ T5844] bcachefs (loop4): going read-only [pid 6556] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6514] <... close resumed>) = 0 [pid 6556] <... openat resumed>) = 3 executing program [pid 6511] <... close resumed>) = 0 [pid 5841] openat(AT_FDCWD, "./10/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6556] write(3, "1000", 4 [pid 5841] <... openat resumed>) = 4 [pid 6556] <... write resumed>) = 4 [pid 5841] newfstatat(4, "", [pid 6556] close(3 [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6556] <... close resumed>) = 0 [pid 5841] getdents64(4, [pid 6556] symlink("/dev/binderfs", "./binderfs" [pid 5841] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 6556] <... symlink resumed>) = 0 [pid 5841] getdents64(4, [pid 6556] write(1, "executing program\n", 18 [pid 5841] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 6556] <... write resumed>) = 18 [pid 5841] close(4 [pid 6556] memfd_create("syzkaller", 0 [pid 5841] <... close resumed>) = 0 [pid 6556] <... memfd_create resumed>) = 3 [pid 6511] unlinkat(AT_FDCWD, "./file1", 0 [pid 5841] rmdir("./10/file0" [pid 6556] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6511] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5841] <... rmdir resumed>) = 0 [pid 6556] <... mmap resumed>) = 0x7f5e2dc00000 [pid 6511] exit_group(0 [pid 5841] getdents64(3, [pid 6514] unlinkat(AT_FDCWD, "./file1", 0 [pid 6511] <... exit_group resumed>) = ? [pid 5841] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 6514] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5841] close(3) = 0 [pid 6514] exit_group(0) = ? [pid 5841] rmdir("./10") = 0 [pid 6514] +++ exited with 0 +++ [pid 6511] +++ exited with 0 +++ [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6511, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=48 /* 0.48 s */} --- [pid 5840] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6514, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=42 /* 0.42 s */} --- [pid 5845] restart_syscall(<... resuming interrupted clone ...> [pid 5840] restart_syscall(<... resuming interrupted clone ...> [pid 5841] mkdir("./11", 0777) = 0 [pid 5841] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5841] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5841] close(3 [pid 5845] <... restart_syscall resumed>) = 0 [pid 5841] <... close resumed>) = 0 [pid 5840] <... restart_syscall resumed>) = 0 [pid 5845] umount2("./12", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] umount2("./14", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5840] openat(AT_FDCWD, "./14", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5845] <... openat resumed>) = 3 [pid 5840] <... openat resumed>) = 3 [pid 5845] newfstatat(3, "", [pid 5841] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5840] newfstatat(3, "", [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] getdents64(3, [pid 5840] getdents64(3, [pid 5845] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5840] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5845] umount2("./12/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] umount2("./14/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 6557 attached [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./12/binderfs", [pid 5841] <... clone resumed>, child_tidptr=0x55558491f650) = 6557 [pid 5840] newfstatat(AT_FDCWD, "./14/binderfs", [pid 5845] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] unlink("./12/binderfs" [ 108.579674][ T5844] bcachefs (loop4): finished waiting for writes to stop [ 108.602364][ T5844] bcachefs (loop4): flushing journal and stopping allocators, journal seq 12 [pid 5840] unlink("./14/binderfs" [pid 5845] <... unlink resumed>) = 0 [pid 5840] <... unlink resumed>) = 0 [pid 6557] set_robust_list(0x55558491f660, 24 [pid 5845] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] umount2("./14/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./12/file0", [pid 5840] newfstatat(AT_FDCWD, "./14/file0", [pid 6512] <... close resumed>) = 0 [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] umount2("./14/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6512] unlinkat(AT_FDCWD, "./file1", 0 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6557] <... set_robust_list resumed>) = 0 [pid 6512] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5845] openat(AT_FDCWD, "./12/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5840] openat(AT_FDCWD, "./14/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6557] chdir("./11" [pid 5845] <... openat resumed>) = 4 [pid 5840] <... openat resumed>) = 4 [pid 6557] <... chdir resumed>) = 0 [pid 5845] newfstatat(4, "", [pid 5840] newfstatat(4, "", [pid 6557] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6557] <... prctl resumed>) = 0 [pid 6512] exit_group(0 [pid 5845] getdents64(4, [pid 5840] getdents64(4, [pid 6557] setpgid(0, 0 [pid 5845] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5840] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 6557] <... setpgid resumed>) = 0 [pid 6512] <... exit_group resumed>) = ? [pid 5845] getdents64(4, [pid 6557] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5845] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5840] getdents64(4, [pid 5845] close(4 [pid 5840] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 6557] <... openat resumed>) = 3 [pid 6512] +++ exited with 0 +++ [pid 5845] <... close resumed>) = 0 [pid 5840] close(4 [pid 5845] rmdir("./12/file0") = 0 [pid 5842] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6512, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=42 /* 0.42 s */} --- [pid 5840] <... close resumed>) = 0 [pid 5845] getdents64(3, [pid 5842] restart_syscall(<... resuming interrupted clone ...> [pid 5840] rmdir("./14/file0" [pid 5845] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5840] <... rmdir resumed>) = 0 [pid 6557] write(3, "1000", 4 [pid 5845] close(3 [pid 5840] getdents64(3, [pid 6557] <... write resumed>) = 4 executing program [pid 5845] <... close resumed>) = 0 [pid 5840] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 6557] close(3) = 0 [pid 5845] rmdir("./12" [pid 5840] close(3 [pid 6557] symlink("/dev/binderfs", "./binderfs" [pid 5845] <... rmdir resumed>) = 0 [pid 5842] <... restart_syscall resumed>) = 0 [pid 5840] <... close resumed>) = 0 [pid 6557] <... symlink resumed>) = 0 [pid 5845] mkdir("./13", 0777 [pid 5840] rmdir("./14" [pid 6557] write(1, "executing program\n", 18 [pid 5845] <... mkdir resumed>) = 0 [pid 5840] <... rmdir resumed>) = 0 [pid 6557] <... write resumed>) = 18 [pid 5845] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5842] umount2("./15", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] mkdir("./15", 0777 [pid 6557] memfd_create("syzkaller", 0 [pid 5845] <... openat resumed>) = 3 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] <... mkdir resumed>) = 0 [pid 6557] <... memfd_create resumed>) = 3 [pid 5845] ioctl(3, LOOP_CLR_FD [pid 5842] openat(AT_FDCWD, "./15", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5840] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6557] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5845] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5842] <... openat resumed>) = 3 [pid 5840] <... openat resumed>) = 3 [pid 6557] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5842] newfstatat(3, "", [pid 5840] ioctl(3, LOOP_CLR_FD [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5842] getdents64(3, [pid 5840] close(3 [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5840] <... close resumed>) = 0 [pid 5842] umount2("./15/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5845] close(3 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) ./strace-static-x86_64: Process 6558 attached [pid 5845] <... close resumed>) = 0 [pid 6558] set_robust_list(0x55558491f660, 24 [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5842] newfstatat(AT_FDCWD, "./15/binderfs", [pid 5840] <... clone resumed>, child_tidptr=0x55558491f650) = 6558 [pid 5842] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] unlink("./15/binderfs") = 0 [pid 5842] umount2("./15/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 108.686563][ T2890] bcachefs (loop4): bch2_write_super(): fatal error loop4: Superblock write was silently dropped! (seq 0 expected 54) [ 108.699992][ T2890] bcachefs (loop4): fatal error - emergency read only [ 108.722054][ T5844] bcachefs (loop4): flushing journal and stopping allocators complete, journal seq 13 ./strace-static-x86_64: Process 6559 attached [pid 6558] <... set_robust_list resumed>) = 0 [pid 5845] <... clone resumed>, child_tidptr=0x55558491f650) = 6559 [pid 5842] newfstatat(AT_FDCWD, "./15/file0", [pid 6558] chdir("./15" [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6558] <... chdir resumed>) = 0 [pid 5842] umount2("./15/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6558] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6558] <... prctl resumed>) = 0 [pid 5842] openat(AT_FDCWD, "./15/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6558] setpgid(0, 0 [pid 5842] <... openat resumed>) = 4 [pid 6558] <... setpgid resumed>) = 0 [pid 5842] newfstatat(4, "", [pid 6558] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6559] set_robust_list(0x55558491f660, 24 [pid 6558] <... openat resumed>) = 3 [pid 5842] getdents64(4, [pid 6559] <... set_robust_list resumed>) = 0 [pid 5842] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 6558] write(3, "1000", 4 [pid 5842] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5842] close(4) = 0 [pid 5842] rmdir("./15/file0") = 0 [pid 5842] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5842] close(3) = 0 [pid 6558] <... write resumed>) = 4 [pid 5842] rmdir("./15" [pid 6559] chdir("./13" [pid 6558] close(3 [pid 6559] <... chdir resumed>) = 0 [pid 6558] <... close resumed>) = 0 [pid 5842] <... rmdir resumed>) = 0 [ 108.732373][ T5844] bcachefs (loop4): unshutdown complete, journal seq 13 [pid 6559] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6558] symlink("/dev/binderfs", "./binderfs" [pid 5842] mkdir("./16", 0777 [pid 6559] <... prctl resumed>) = 0 [pid 6558] <... symlink resumed>) = 0 [pid 5842] <... mkdir resumed>) = 0 executing program [pid 6559] setpgid(0, 0 [pid 6558] write(1, "executing program\n", 18 [pid 5842] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6559] <... setpgid resumed>) = 0 [pid 6558] <... write resumed>) = 18 [pid 5842] <... openat resumed>) = 3 [pid 6559] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6558] memfd_create("syzkaller", 0 [pid 5842] ioctl(3, LOOP_CLR_FD [pid 6559] <... openat resumed>) = 3 [pid 6558] <... memfd_create resumed>) = 3 [pid 5842] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6559] write(3, "1000", 4 [pid 6558] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5842] close(3 [pid 6559] <... write resumed>) = 4 [pid 6558] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5842] <... close resumed>) = 0 [pid 6559] close(3 [pid 5842] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6559] <... close resumed>) = 0 [pid 6559] symlink("/dev/binderfs", "./binderfs" [pid 5842] <... clone resumed>, child_tidptr=0x55558491f650) = 6560 [pid 6559] <... symlink resumed>) = 0 executing program ./strace-static-x86_64: Process 6560 attached [pid 6559] write(1, "executing program\n", 18) = 18 [pid 6559] memfd_create("syzkaller", 0 [pid 6560] set_robust_list(0x55558491f660, 24 [pid 6559] <... memfd_create resumed>) = 3 [pid 6559] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 6560] <... set_robust_list resumed>) = 0 [pid 6560] chdir("./16") = 0 [pid 6560] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6560] setpgid(0, 0) = 0 [pid 6560] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6560] write(3, "1000", 4) = 4 [pid 6560] close(3) = 0 [pid 6560] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6560] write(1, "executing program\n", 18) = 18 [pid 6560] memfd_create("syzkaller", 0) = 3 [ 108.763872][ T5844] bcachefs (loop4): done going read-only, filesystem not clean [pid 6560] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [ 108.910255][ T5844] bcachefs (loop4): shutdown complete [pid 6556] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6559] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6560] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6557] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6558] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6556] <... write resumed>) = 16777216 [pid 6556] munmap(0x7f5e2dc00000, 138412032 [pid 6559] <... write resumed>) = 16777216 [pid 6556] <... munmap resumed>) = 0 [pid 6559] munmap(0x7f5e2dc00000, 138412032 [pid 6556] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6557] <... write resumed>) = 16777216 [pid 6556] <... openat resumed>) = 4 [pid 6560] <... write resumed>) = 16777216 [pid 6557] munmap(0x7f5e2dc00000, 138412032 [pid 6556] ioctl(4, LOOP_SET_FD, 3 [pid 6559] <... munmap resumed>) = 0 [pid 6560] munmap(0x7f5e2dc00000, 138412032 [pid 6556] <... ioctl resumed>) = 0 [pid 6559] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6556] close(3 [pid 6559] <... openat resumed>) = 4 [pid 6557] <... munmap resumed>) = 0 [pid 6556] <... close resumed>) = 0 [pid 6559] ioctl(4, LOOP_SET_FD, 3 [pid 6558] <... write resumed>) = 16777216 [pid 6556] close(4 [pid 6558] munmap(0x7f5e2dc00000, 138412032 [pid 6557] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6556] <... close resumed>) = 0 [pid 6557] <... openat resumed>) = 4 [pid 6557] ioctl(4, LOOP_SET_FD, 3 [pid 6560] <... munmap resumed>) = 0 [pid 6559] <... ioctl resumed>) = 0 [pid 6558] <... munmap resumed>) = 0 [pid 6556] mkdir("./file0", 0777 [pid 6557] <... ioctl resumed>) = 0 [pid 6560] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6559] close(3 [pid 6558] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6556] <... mkdir resumed>) = 0 [pid 6556] mount("/dev/loop3", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6557] close(3 [pid 6560] <... openat resumed>) = 4 [pid 6557] <... close resumed>) = 0 [pid 6560] ioctl(4, LOOP_SET_FD, 3 [pid 6559] <... close resumed>) = 0 [pid 6558] <... openat resumed>) = 4 [ 109.509602][ T6556] loop3: detected capacity change from 0 to 32768 [ 109.526819][ T6559] loop5: detected capacity change from 0 to 32768 [ 109.546043][ T6557] loop1: detected capacity change from 0 to 32768 [pid 6560] <... ioctl resumed>) = 0 [pid 6559] close(4 [pid 6558] ioctl(4, LOOP_SET_FD, 3 [pid 6557] close(4 [pid 6559] <... close resumed>) = 0 [pid 6560] close(3) = 0 [pid 6559] mkdir("./file0", 0777 [pid 6560] close(4) = 0 [pid 6560] mkdir("./file0", 0777 [pid 6559] <... mkdir resumed>) = 0 [pid 6557] <... close resumed>) = 0 [pid 6560] <... mkdir resumed>) = 0 [pid 6559] mount("/dev/loop5", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6557] mkdir("./file0", 0777) = 0 [pid 6560] mount("/dev/loop2", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6557] mount("/dev/loop1", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6558] <... ioctl resumed>) = 0 [pid 6558] close(3) = 0 [pid 6558] close(4) = 0 [pid 6558] mkdir("./file0", 0777) = 0 [ 109.568192][ T6560] loop2: detected capacity change from 0 to 32768 [ 109.578285][ T6558] loop0: detected capacity change from 0 to 32768 [ 109.926358][ T6557] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 109.935845][ T6559] 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.958202][ T6557] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 109.966650][ T6556] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 109.980808][ T6559] bcachefs (loop5): recovering from clean shutdown, journal seq 10 [ 109.999866][ T6556] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 110.008470][ T6560] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 110.018204][ T6559] bcachefs (loop5): Version upgrade required: [ 110.018204][ T6559] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 110.018204][ T6559] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 110.018204][ T6559] 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 [ 110.096439][ T6560] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 110.123449][ T6558] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 110.153511][ T6558] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 110.193189][ T6559] bcachefs (loop5): dropping and reconstructing all alloc info [pid 6558] mount("/dev/loop0", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6556] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6556] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 6556] ioctl(3, LOOP_CLR_FD) = 0 [ 110.238156][ T6556] bcachefs: bch2_fs_get_tree() error: EINVAL [ 110.249773][ T6559] bcachefs (loop5): check_topology... done [pid 6556] close(3 [pid 6557] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6557] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 6557] ioctl(3, LOOP_CLR_FD) = 0 [ 110.262685][ T6559] bcachefs (loop5): accounting_read... [ 110.304351][ T6557] bcachefs: bch2_fs_get_tree() error: EINVAL [ 110.318116][ T6559] done [ 110.320918][ T6559] bcachefs (loop5): alloc_read... done [pid 6557] close(3 [pid 6560] <... mount resumed>) = -1 EINVAL (Invalid argument) [ 110.366578][ T6559] bcachefs (loop5): stripes_read... done [ 110.373476][ T6560] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6560] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 6560] ioctl(3, LOOP_CLR_FD) = 0 [ 110.413128][ T6559] bcachefs (loop5): snapshots_read... done [ 110.419241][ T6559] bcachefs (loop5): check_allocations... [ 110.445016][ T6558] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6560] close(3 [pid 6558] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6558] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 6558] ioctl(3, LOOP_CLR_FD) = 0 [ 110.499359][ T6559] done [pid 6558] close(3 [pid 5844] <... umount2 resumed>) = 0 [pid 5844] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] newfstatat(AT_FDCWD, "./10/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] openat(AT_FDCWD, "./10/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5844] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [ 110.558428][ T6559] bcachefs (loop5): going read-write [pid 5844] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 6559] <... mount resumed>) = 0 [pid 5844] getdents64(4, [pid 6559] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 5844] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 6559] <... openat resumed>) = 3 [pid 5844] close(4) = 0 [pid 6559] chdir("./file0" [pid 5844] rmdir("./10/file0" [pid 6559] <... chdir resumed>) = 0 [pid 6559] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5844] <... rmdir resumed>) = 0 [pid 6559] <... openat resumed>) = 4 [pid 5844] getdents64(3, [pid 6559] ioctl(4, LOOP_CLR_FD [pid 5844] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5844] close(3 [pid 6559] <... ioctl resumed>) = 0 [pid 6559] close(4 [pid 5844] <... close resumed>) = 0 [pid 6559] <... close resumed>) = 0 [ 110.593988][ T6559] bcachefs (loop5): done starting filesystem [pid 5844] rmdir("./10" [pid 6559] unlinkat(AT_FDCWD, "./file1", 0 [pid 5844] <... rmdir resumed>) = 0 [pid 5844] mkdir("./11", 0777 [pid 6559] <... unlinkat resumed>) = 0 [pid 6559] exit_group(0 [pid 5844] <... mkdir resumed>) = 0 [pid 6559] <... exit_group resumed>) = ? [pid 5844] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6559] +++ exited with 0 +++ [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6559, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=34 /* 0.34 s */} --- [pid 5844] <... openat resumed>) = 3 [pid 5845] restart_syscall(<... resuming interrupted clone ...> [pid 5844] ioctl(3, LOOP_CLR_FD [pid 5845] <... restart_syscall resumed>) = 0 [pid 5844] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5844] close(3) = 0 [pid 5845] umount2("./13", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./13", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5845] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] getdents64(3, [pid 5844] <... clone resumed>, child_tidptr=0x55558491f650) = 6599 [pid 5845] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5845] umount2("./13/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) ./strace-static-x86_64: Process 6599 attached [pid 5845] newfstatat(AT_FDCWD, "./13/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] unlink("./13/binderfs") = 0 [pid 5845] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6599] set_robust_list(0x55558491f660, 24) = 0 [pid 6599] chdir("./11") = 0 [pid 6599] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6599] setpgid(0, 0) = 0 [pid 6556] <... close resumed>) = 0 [pid 6599] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6556] unlinkat(AT_FDCWD, "./file1", 0 [pid 6599] write(3, "1000", 4 [pid 6556] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 6599] <... write resumed>) = 4 [pid 6556] exit_group(0 [pid 6599] close(3 [pid 6556] <... exit_group resumed>) = ? [pid 6599] <... close resumed>) = 0 [pid 6556] +++ exited with 0 +++ [pid 5843] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6556, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=49 /* 0.49 s */} --- executing program [pid 5843] umount2("./15", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5843] openat(AT_FDCWD, "./15", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6599] symlink("/dev/binderfs", "./binderfs" [pid 5843] <... openat resumed>) = 3 [pid 6599] <... symlink resumed>) = 0 [pid 5843] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6599] write(1, "executing program\n", 18 [pid 5843] getdents64(3, [pid 6599] <... write resumed>) = 18 [pid 5843] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 6599] memfd_create("syzkaller", 0 [pid 5843] umount2("./15/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6599] <... memfd_create resumed>) = 3 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] newfstatat(AT_FDCWD, "./15/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] unlink("./15/binderfs") = 0 [pid 5843] umount2("./15/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6599] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6599] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5843] newfstatat(AT_FDCWD, "./15/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] umount2("./15/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5843] openat(AT_FDCWD, "./15/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5843] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5843] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5843] close(4) = 0 [pid 5843] rmdir("./15/file0") = 0 [pid 5843] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5843] close(3 [pid 6557] <... close resumed>) = 0 [pid 5843] <... close resumed>) = 0 [pid 6560] <... close resumed>) = 0 [pid 6557] unlinkat(AT_FDCWD, "./file1", 0 [pid 5843] rmdir("./15" [pid 6560] unlinkat(AT_FDCWD, "./file1", 0 [pid 6557] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5843] <... rmdir resumed>) = 0 [ 110.705349][ T5845] bcachefs (loop5): shutting down [ 110.710599][ T5845] bcachefs (loop5): going read-only [ 110.721815][ T5845] bcachefs (loop5): finished waiting for writes to stop [pid 6560] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 6557] exit_group(0) = ? [pid 5843] mkdir("./16", 0777 [pid 6560] exit_group(0 [pid 6557] +++ exited with 0 +++ [pid 5843] <... mkdir resumed>) = 0 [pid 5843] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5841] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6557, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=46 /* 0.46 s */} --- [pid 5841] restart_syscall(<... resuming interrupted clone ...> [pid 5843] <... openat resumed>) = 3 [pid 5843] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5843] close(3 [pid 6560] <... exit_group resumed>) = ? [pid 5843] <... close resumed>) = 0 [pid 5841] <... restart_syscall resumed>) = 0 [pid 5841] umount2("./11", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 6560] +++ exited with 0 +++ [pid 5841] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5842] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6560, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=46 /* 0.46 s */} --- [pid 5841] <... openat resumed>) = 3 [pid 5843] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5841] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] <... clone resumed>, child_tidptr=0x55558491f650) = 6600 [pid 5842] umount2("./16", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] getdents64(3, [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5842] openat(AT_FDCWD, "./16", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5841] umount2("./11/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 6600 attached [pid 5842] <... openat resumed>) = 3 [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] newfstatat(3, "", [pid 5841] newfstatat(AT_FDCWD, "./11/binderfs", [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] getdents64(3, [pid 5841] unlink("./11/binderfs" [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5841] <... unlink resumed>) = 0 [pid 6600] set_robust_list(0x55558491f660, 24 [pid 5842] umount2("./16/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6600] <... set_robust_list resumed>) = 0 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6600] chdir("./16" [pid 5842] newfstatat(AT_FDCWD, "./16/binderfs", [pid 5841] newfstatat(AT_FDCWD, "./11/file0", [pid 5842] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6600] <... chdir resumed>) = 0 [pid 5842] unlink("./16/binderfs" [pid 5841] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] <... unlink resumed>) = 0 [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] openat(AT_FDCWD, "./11/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6600] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5842] umount2("./16/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] <... openat resumed>) = 4 [pid 6600] <... prctl resumed>) = 0 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] newfstatat(4, "", [pid 6600] setpgid(0, 0 [pid 5842] newfstatat(AT_FDCWD, "./16/file0", [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6600] <... setpgid resumed>) = 0 [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] getdents64(4, [pid 6600] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [ 110.764657][ T5845] bcachefs (loop5): flushing journal and stopping allocators, journal seq 11 [pid 5842] umount2("./16/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6600] <... openat resumed>) = 3 [pid 5842] openat(AT_FDCWD, "./16/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5841] getdents64(4, [pid 5842] <... openat resumed>) = 4 [pid 5841] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5842] newfstatat(4, "", [pid 5841] close(4 [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] <... close resumed>) = 0 [pid 5842] getdents64(4, [pid 5841] rmdir("./11/file0" [pid 5842] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5841] <... rmdir resumed>) = 0 [pid 6600] write(3, "1000", 4 [pid 5842] getdents64(4, [pid 6600] <... write resumed>) = 4 executing program [pid 6600] close(3) = 0 [pid 6600] symlink("/dev/binderfs", "./binderfs" [pid 5842] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 6600] <... symlink resumed>) = 0 [pid 5842] close(4 [pid 6600] write(1, "executing program\n", 18 [pid 5842] <... close resumed>) = 0 [pid 6600] <... write resumed>) = 18 [pid 5842] rmdir("./16/file0" [pid 5841] getdents64(3, [pid 6600] memfd_create("syzkaller", 0 [pid 5842] <... rmdir resumed>) = 0 [pid 5841] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5842] getdents64(3, [pid 5841] close(3 [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5841] <... close resumed>) = 0 [pid 6600] <... memfd_create resumed>) = 3 [pid 5842] close(3 [pid 5841] rmdir("./11") = 0 [pid 5842] <... close resumed>) = 0 [pid 5841] mkdir("./12", 0777 [pid 6600] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5841] <... mkdir resumed>) = 0 [pid 6600] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5842] rmdir("./16" [pid 5841] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5842] <... rmdir resumed>) = 0 [pid 5841] <... openat resumed>) = 3 [pid 5841] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5841] close(3) = 0 [pid 5841] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5842] mkdir("./17", 0777 [pid 5841] <... clone resumed>, child_tidptr=0x55558491f650) = 6602 [pid 5842] <... mkdir resumed>) = 0 ./strace-static-x86_64: Process 6602 attached [pid 6602] set_robust_list(0x55558491f660, 24 [pid 5842] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5842] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5842] close(3) = 0 [pid 5842] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55558491f650) = 6603 ./strace-static-x86_64: Process 6603 attached [pid 6602] <... set_robust_list resumed>) = 0 [pid 6602] chdir("./12") = 0 [ 110.842740][ T5845] bcachefs (loop5): flushing journal and stopping allocators complete, journal seq 17 [pid 6602] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6603] set_robust_list(0x55558491f660, 24 [pid 6602] setpgid(0, 0 [pid 6603] <... set_robust_list resumed>) = 0 [pid 6603] chdir("./17" [pid 6602] <... setpgid resumed>) = 0 [pid 6602] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6599] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6603] <... chdir resumed>) = 0 [pid 6602] <... openat resumed>) = 3 [pid 6603] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6602] write(3, "1000", 4) = 4 [pid 6603] <... prctl resumed>) = 0 [pid 6602] close(3 [pid 6558] <... close resumed>) = 0 [pid 6602] <... close resumed>) = 0 [pid 6603] setpgid(0, 0 [pid 6602] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 6603] <... setpgid resumed>) = 0 [pid 6602] write(1, "executing program\n", 18 [pid 6603] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6602] <... write resumed>) = 18 [pid 6602] memfd_create("syzkaller", 0 [pid 6603] <... openat resumed>) = 3 [pid 6602] <... memfd_create resumed>) = 3 [pid 6558] unlinkat(AT_FDCWD, "./file1", 0 [pid 6602] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6603] write(3, "1000", 4 [pid 6602] <... mmap resumed>) = 0x7f5e2dc00000 [pid 6558] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 6603] <... write resumed>) = 4 [pid 6558] exit_group(0) = ? [ 110.902907][ T5845] bcachefs (loop5): unshutdown complete, journal seq 18 [ 110.938533][ T5845] bcachefs (loop5): done going read-only, filesystem not clean [pid 6603] close(3) = 0 [pid 6558] +++ exited with 0 +++ [pid 5840] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6558, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=49 /* 0.49 s */} --- [pid 5840] restart_syscall(<... resuming interrupted clone ...> [pid 6603] symlink("/dev/binderfs", "./binderfs" [pid 5840] <... restart_syscall resumed>) = 0 [pid 6603] <... symlink resumed>) = 0 executing program [pid 6603] write(1, "executing program\n", 18) = 18 [pid 5840] umount2("./15", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./15", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 6603] memfd_create("syzkaller", 0 [pid 5840] newfstatat(3, "", [pid 6603] <... memfd_create resumed>) = 3 [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6603] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5840] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5840] umount2("./15/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6603] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./15/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] unlink("./15/binderfs") = 0 [pid 5840] umount2("./15/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./15/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] umount2("./15/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./15/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, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5840] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5840] close(4) = 0 [pid 5840] rmdir("./15/file0") = 0 [pid 5840] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5840] close(3) = 0 [pid 5840] rmdir("./15") = 0 [pid 5840] mkdir("./16", 0777) = 0 [pid 5840] openat(AT_FDCWD, "/dev/loop0", 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 6604 attached [pid 6604] set_robust_list(0x55558491f660, 24 [pid 5840] <... clone resumed>, child_tidptr=0x55558491f650) = 6604 [pid 6604] <... set_robust_list resumed>) = 0 [pid 6604] chdir("./16") = 0 [pid 6604] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6604] setpgid(0, 0) = 0 [pid 6604] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6604] write(3, "1000", 4) = 4 [pid 6604] close(3) = 0 [pid 6604] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6604] write(1, "executing program\n", 18) = 18 [pid 6604] memfd_create("syzkaller", 0) = 3 [pid 6604] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [ 111.071412][ T5845] bcachefs (loop5): shutdown complete [pid 6600] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6602] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6603] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6604] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6599] <... write resumed>) = 16777216 [pid 6599] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 6599] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6599] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6599] close(3) = 0 [ 111.456033][ T6599] loop4: detected capacity change from 0 to 32768 [pid 6599] close(4) = 0 [pid 6599] mkdir("./file0", 0777) = 0 [pid 6599] mount("/dev/loop4", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6600] <... write resumed>) = 16777216 [pid 6600] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 6603] <... write resumed>) = 16777216 [pid 6600] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6603] munmap(0x7f5e2dc00000, 138412032 [pid 6600] <... openat resumed>) = 4 [pid 6600] ioctl(4, LOOP_SET_FD, 3 [pid 6602] <... write resumed>) = 16777216 [pid 6600] <... ioctl resumed>) = 0 [pid 6600] close(3 [pid 6603] <... munmap resumed>) = 0 [pid 6600] <... close resumed>) = 0 [pid 6602] munmap(0x7f5e2dc00000, 138412032 [pid 6603] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6600] close(4 [pid 6603] <... openat resumed>) = 4 [pid 6600] <... close resumed>) = 0 [pid 6600] mkdir("./file0", 0777 [pid 6603] ioctl(4, LOOP_SET_FD, 3 [pid 6602] <... munmap resumed>) = 0 [pid 6600] <... mkdir resumed>) = 0 [ 111.638468][ T6600] loop3: detected capacity change from 0 to 32768 [pid 6602] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6604] <... write resumed>) = 16777216 [pid 6603] <... ioctl resumed>) = 0 [pid 6600] mount("/dev/loop3", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6604] munmap(0x7f5e2dc00000, 138412032 [pid 6602] <... openat resumed>) = 4 [pid 6602] ioctl(4, LOOP_SET_FD, 3 [pid 6603] close(3) = 0 [pid 6603] close(4) = 0 [pid 6603] mkdir("./file0", 0777) = 0 [pid 6603] mount("/dev/loop2", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6602] <... ioctl resumed>) = 0 [pid 6602] close(3) = 0 [pid 6602] close(4) = 0 [pid 6602] mkdir("./file0", 0777) = 0 [pid 6604] <... munmap resumed>) = 0 [ 111.684720][ T6603] loop2: detected capacity change from 0 to 32768 [ 111.703321][ T6602] loop1: detected capacity change from 0 to 32768 [pid 6602] mount("/dev/loop1", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6604] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6604] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6604] close(3) = 0 [pid 6604] close(4) = 0 [pid 6604] mkdir("./file0", 0777) = 0 [ 111.754492][ T6604] loop0: detected capacity change from 0 to 32768 [ 112.052515][ T6602] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 112.052629][ T6599] 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 [ 112.062177][ T6602] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 112.093016][ T6600] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 112.094529][ T6599] bcachefs (loop4): recovering from clean shutdown, journal seq 10 [ 112.102296][ T6600] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 112.110314][ T6603] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 112.120596][ T6599] bcachefs (loop4): Version upgrade required: [ 112.120596][ T6599] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 112.120596][ T6599] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 112.120596][ T6599] 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 [ 112.209655][ T6604] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 112.209689][ T6603] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 112.231314][ T6604] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 112.266447][ T6599] bcachefs (loop4): dropping and reconstructing all alloc info [ 112.337288][ T6599] bcachefs (loop4): check_topology... done [ 112.363279][ T6599] bcachefs (loop4): accounting_read... [ 112.383815][ T6602] bcachefs: bch2_fs_get_tree() error: EINVAL [ 112.413708][ T6599] done [ 112.416494][ T6599] bcachefs (loop4): alloc_read... done [pid 6604] mount("/dev/loop0", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6602] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6602] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 6602] ioctl(3, LOOP_CLR_FD) = 0 [pid 6602] close(3 [pid 6600] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6600] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 6600] ioctl(3, LOOP_CLR_FD) = 0 [ 112.429915][ T6599] bcachefs (loop4): stripes_read... done [ 112.439375][ T6600] bcachefs: bch2_fs_get_tree() error: EINVAL [ 112.443983][ T6599] bcachefs (loop4): snapshots_read... done [pid 6600] close(3 [pid 6604] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6604] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 6604] ioctl(3, LOOP_CLR_FD) = 0 [pid 6604] close(3 [pid 6603] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6603] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [ 112.486118][ T6599] bcachefs (loop4): check_allocations... [ 112.489168][ T6604] bcachefs: bch2_fs_get_tree() error: EINVAL [ 112.522536][ T6603] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6603] ioctl(3, LOOP_CLR_FD) = 0 [ 112.582654][ T6599] done [ 112.623924][ T6599] bcachefs (loop4): going read-write [pid 6603] close(3 [pid 5845] <... umount2 resumed>) = 0 [pid 5845] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./13/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./13/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5845] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5845] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5845] close(4) = 0 [pid 5845] rmdir("./13/file0") = 0 [pid 5845] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5845] close(3) = 0 [pid 5845] rmdir("./13") = 0 [pid 5845] mkdir("./14", 0777) = 0 [pid 5845] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5845] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5845] close(3) = 0 [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6643 attached , child_tidptr=0x55558491f650) = 6643 [pid 6643] set_robust_list(0x55558491f660, 24) = 0 [pid 6643] chdir("./14") = 0 [pid 6643] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6643] setpgid(0, 0) = 0 [pid 6643] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6599] <... mount resumed>) = 0 [pid 6643] write(3, "1000", 4) = 4 [pid 6643] close(3) = 0 [pid 6643] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6643] write(1, "executing program\n", 18executing program ) = 18 [pid 6643] memfd_create("syzkaller", 0 [pid 6599] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 6643] <... memfd_create resumed>) = 3 [pid 6643] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6599] <... openat resumed>) = 3 [pid 6643] <... mmap resumed>) = 0x7f5e2dc00000 [pid 6599] chdir("./file0") = 0 [ 112.696137][ T6599] bcachefs (loop4): done starting filesystem [pid 6599] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6599] ioctl(4, LOOP_CLR_FD) = 0 [pid 6599] close(4) = 0 [pid 6599] unlinkat(AT_FDCWD, "./file1", 0) = 0 [pid 6599] exit_group(0) = ? [pid 6599] +++ exited with 0 +++ [pid 5844] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6599, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=37 /* 0.37 s */} --- [pid 6604] <... close resumed>) = 0 [pid 6603] <... close resumed>) = 0 [pid 6602] <... close resumed>) = 0 [pid 5844] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 6603] unlinkat(AT_FDCWD, "./file1", 0 [pid 6604] unlinkat(AT_FDCWD, "./file1", 0 [pid 6603] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 6603] exit_group(0 [pid 6604] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 6603] <... exit_group resumed>) = ? [pid 6604] exit_group(0 [pid 6603] +++ exited with 0 +++ [pid 5844] umount2("./11", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6603, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=48 /* 0.48 s */} --- [pid 6604] <... exit_group resumed>) = ? [pid 6604] +++ exited with 0 +++ [pid 6602] unlinkat(AT_FDCWD, "./file1", 0 [pid 6600] <... close resumed>) = 0 [pid 5844] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5842] restart_syscall(<... resuming interrupted clone ...> [pid 5840] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6604, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=42 /* 0.42 s */} --- [pid 5842] <... restart_syscall resumed>) = 0 [pid 6602] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 6600] unlinkat(AT_FDCWD, "./file1", 0 [pid 5844] <... openat resumed>) = 3 [pid 5844] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6602] exit_group(0 [pid 6600] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5844] getdents64(3, [pid 5842] umount2("./17", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 6602] <... exit_group resumed>) = ? [pid 6600] exit_group(0 [pid 5844] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5842] openat(AT_FDCWD, "./17", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6602] +++ exited with 0 +++ [pid 6600] <... exit_group resumed>) = ? [pid 5844] umount2("./11/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] <... openat resumed>) = 3 [pid 6600] +++ exited with 0 +++ [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] newfstatat(3, "", [pid 5841] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6602, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=39 /* 0.39 s */} --- [pid 5844] newfstatat(AT_FDCWD, "./11/binderfs", [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6600, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=47 /* 0.47 s */} --- [pid 5842] getdents64(3, [pid 5840] umount2("./16", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] unlink("./11/binderfs" [pid 5843] umount2("./16", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] umount2("./12", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./16", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5843] openat(AT_FDCWD, "./16", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5841] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5840] <... openat resumed>) = 3 [pid 5844] <... unlink resumed>) = 0 [pid 5843] <... openat resumed>) = 3 [pid 5841] <... openat resumed>) = 3 [pid 5840] newfstatat(3, "", [pid 5843] newfstatat(3, "", [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5841] newfstatat(3, "", [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] umount2("./17/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] getdents64(3, [pid 5843] getdents64(3, [pid 5841] getdents64(3, [pid 5840] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5843] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5841] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5840] umount2("./16/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] umount2("./16/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] umount2("./12/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] newfstatat(AT_FDCWD, "./17/binderfs", [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./16/binderfs", [pid 5843] newfstatat(AT_FDCWD, "./16/binderfs", [pid 5842] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] newfstatat(AT_FDCWD, "./12/binderfs", [pid 5840] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] unlink("./17/binderfs" [pid 5841] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] unlink("./16/binderfs" [pid 5843] unlink("./16/binderfs" [pid 5842] <... unlink resumed>) = 0 [pid 5841] unlink("./12/binderfs" [pid 5840] <... unlink resumed>) = 0 [pid 5843] <... unlink resumed>) = 0 [pid 5842] umount2("./17/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] <... unlink resumed>) = 0 [pid 5840] umount2("./16/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] umount2("./16/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] newfstatat(AT_FDCWD, "./17/file0", [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./16/file0", [pid 5843] newfstatat(AT_FDCWD, "./16/file0", [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] newfstatat(AT_FDCWD, "./12/file0", [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] umount2("./17/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] umount2("./16/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] umount2("./16/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 112.932657][ T5844] bcachefs (loop4): shutting down [pid 5841] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6643] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] openat(AT_FDCWD, "./17/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./16/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5843] openat(AT_FDCWD, "./16/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5842] <... openat resumed>) = 4 [pid 5841] openat(AT_FDCWD, "./12/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5840] <... openat resumed>) = 4 [pid 5840] newfstatat(4, "", [pid 5842] newfstatat(4, "", [pid 5841] <... openat resumed>) = 4 [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] <... openat resumed>) = 4 [pid 5840] getdents64(4, [pid 5843] newfstatat(4, "", [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] newfstatat(4, "", [pid 5840] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] getdents64(4, [pid 5840] getdents64(4, [pid 5843] getdents64(4, [pid 5842] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5841] getdents64(4, [pid 5840] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5843] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5842] getdents64(4, [pid 5841] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5840] close(4 [pid 5843] getdents64(4, [pid 5842] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5841] getdents64(4, [pid 5843] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5840] <... close resumed>) = 0 [pid 5840] rmdir("./16/file0" [pid 5843] close(4 [pid 5840] <... rmdir resumed>) = 0 [pid 5843] <... close resumed>) = 0 [pid 5843] rmdir("./16/file0" [pid 5842] close(4 [pid 5841] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5840] getdents64(3, [pid 5843] <... rmdir resumed>) = 0 [pid 5841] close(4 [pid 5840] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5842] <... close resumed>) = 0 [pid 5841] <... close resumed>) = 0 [pid 5842] rmdir("./17/file0" [pid 5840] close(3 [pid 5841] rmdir("./12/file0" [pid 5843] getdents64(3, [pid 5842] <... rmdir resumed>) = 0 [pid 5843] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5841] <... rmdir resumed>) = 0 [pid 5843] close(3 [pid 5842] getdents64(3, [pid 5841] getdents64(3, [pid 5840] <... close resumed>) = 0 [pid 5843] <... close resumed>) = 0 [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5841] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5840] rmdir("./16" [pid 5842] close(3 [pid 5840] <... rmdir resumed>) = 0 [pid 5843] rmdir("./16" [pid 5842] <... close resumed>) = 0 [pid 5841] close(3 [pid 5843] <... rmdir resumed>) = 0 [pid 5842] rmdir("./17" [pid 5840] mkdir("./17", 0777 [pid 5841] <... close resumed>) = 0 [pid 5842] <... rmdir resumed>) = 0 [pid 5840] <... mkdir resumed>) = 0 [pid 5842] mkdir("./18", 0777 [pid 5843] mkdir("./17", 0777 [pid 5841] rmdir("./12" [pid 5840] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5842] <... mkdir resumed>) = 0 [pid 5842] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5840] <... openat resumed>) = 3 [pid 5843] <... mkdir resumed>) = 0 [pid 5840] ioctl(3, LOOP_CLR_FD [pid 5842] <... openat resumed>) = 3 [pid 5840] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5841] <... rmdir resumed>) = 0 [pid 5840] close(3 [pid 5843] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5842] ioctl(3, LOOP_CLR_FD [pid 5841] mkdir("./13", 0777 [pid 5840] <... close resumed>) = 0 [ 112.955479][ T5844] bcachefs (loop4): going read-only [ 112.961644][ T5844] bcachefs (loop4): finished waiting for writes to stop [ 112.972229][ T5844] bcachefs (loop4): flushing journal and stopping allocators, journal seq 11 [pid 5843] <... openat resumed>) = 3 [pid 5842] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5841] <... mkdir resumed>) = 0 [pid 5840] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5842] close(3 [pid 5841] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5842] <... close resumed>) = 0 [pid 5840] <... clone resumed>, child_tidptr=0x55558491f650) = 6645 [pid 5841] <... openat resumed>) = 3 [pid 5842] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5841] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) ./strace-static-x86_64: Process 6645 attached [pid 5842] <... clone resumed>, child_tidptr=0x55558491f650) = 6646 [pid 5841] close(3 [pid 6645] set_robust_list(0x55558491f660, 24 [pid 5841] <... close resumed>) = 0 [pid 6645] <... set_robust_list resumed>) = 0 [pid 5843] ioctl(3, LOOP_CLR_FD [pid 5841] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6646 attached [pid 6645] chdir("./17" [pid 5843] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6646] set_robust_list(0x55558491f660, 24) = 0 [pid 6646] chdir("./18" [pid 6645] <... chdir resumed>) = 0 [pid 5843] close(3 [pid 6646] <... chdir resumed>) = 0 [pid 6646] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6645] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5843] <... close resumed>) = 0 [pid 6646] <... prctl resumed>) = 0 [pid 5843] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6646] setpgid(0, 0) = 0 [pid 6646] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 ./strace-static-x86_64: Process 6648 attached [pid 6646] write(3, "1000", 4 [pid 6645] <... prctl resumed>) = 0 ./strace-static-x86_64: Process 6647 attached [pid 5841] <... clone resumed>, child_tidptr=0x55558491f650) = 6647 [pid 6646] <... write resumed>) = 4 [pid 6645] setpgid(0, 0 [pid 5843] <... clone resumed>, child_tidptr=0x55558491f650) = 6648 [pid 6645] <... setpgid resumed>) = 0 [pid 6648] set_robust_list(0x55558491f660, 24 [pid 6646] close(3 [pid 6645] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6646] <... close resumed>) = 0 [pid 6645] <... openat resumed>) = 3 [pid 6646] symlink("/dev/binderfs", "./binderfs" [pid 6648] <... set_robust_list resumed>) = 0 [pid 6647] set_robust_list(0x55558491f660, 24 [pid 6645] write(3, "1000", 4executing program [pid 6646] <... symlink resumed>) = 0 [pid 6646] write(1, "executing program\n", 18) = 18 [pid 6646] memfd_create("syzkaller", 0 [pid 6645] <... write resumed>) = 4 [pid 6648] chdir("./17" [pid 6645] close(3 [pid 6647] <... set_robust_list resumed>) = 0 [pid 6647] chdir("./13" [pid 6645] <... close resumed>) = 0 [pid 6648] <... chdir resumed>) = 0 [pid 6647] <... chdir resumed>) = 0 [pid 6648] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6646] <... memfd_create resumed>) = 3 [pid 6645] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6645] write(1, "executing program\n", 18 [pid 6648] <... prctl resumed>) = 0 [pid 6647] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6646] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 executing program [pid 6648] setpgid(0, 0 [pid 6647] <... prctl resumed>) = 0 [pid 6645] <... write resumed>) = 18 [ 113.015882][ T2890] bcachefs (loop4): bch2_write_super(): fatal error loop4: Superblock write was silently dropped! (seq 0 expected 54) [ 113.032039][ T2890] bcachefs (loop4): fatal error - emergency read only [ 113.053108][ T5844] bcachefs (loop4): flushing journal and stopping allocators complete, journal seq 13 [pid 6648] <... setpgid resumed>) = 0 [pid 6647] setpgid(0, 0 [pid 6645] memfd_create("syzkaller", 0 [pid 6647] <... setpgid resumed>) = 0 [pid 6648] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6647] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6648] <... openat resumed>) = 3 [pid 6645] <... memfd_create resumed>) = 3 [pid 6648] write(3, "1000", 4 [pid 6645] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6647] <... openat resumed>) = 3 [pid 6645] <... mmap resumed>) = 0x7f5e2dc00000 [pid 6648] <... write resumed>) = 4 [pid 6647] write(3, "1000", 4 [pid 6648] close(3 [pid 6647] <... write resumed>) = 4 [pid 6648] <... close resumed>) = 0 [pid 6647] close(3 [pid 6648] symlink("/dev/binderfs", "./binderfs" [pid 6647] <... close resumed>) = 0 [pid 6648] <... symlink resumed>) = 0 [pid 6647] symlink("/dev/binderfs", "./binderfs" [pid 6648] write(1, "executing program\n", 18 [pid 6647] <... symlink resumed>) = 0 executing program executing program [pid 6648] <... write resumed>) = 18 [pid 6647] write(1, "executing program\n", 18) = 18 [pid 6648] memfd_create("syzkaller", 0) = 3 [pid 6647] memfd_create("syzkaller", 0 [pid 6648] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 6647] <... memfd_create resumed>) = 3 [pid 6647] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [ 113.074263][ T5844] bcachefs (loop4): unshutdown complete, journal seq 13 [ 113.093166][ T5844] bcachefs (loop4): done going read-only, filesystem not clean [ 113.191235][ T5844] bcachefs (loop4): shutdown complete [pid 6646] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6645] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6648] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6647] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6643] <... write resumed>) = 16777216 [pid 6643] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 6643] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 6643] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6643] close(3) = 0 [pid 6643] close(4) = 0 [ 113.527347][ T6643] loop5: detected capacity change from 0 to 32768 [pid 6643] mkdir("./file0", 0777) = 0 [pid 6643] mount("/dev/loop5", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6646] <... write resumed>) = 16777216 [pid 6646] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 6646] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6646] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6646] close(3 [pid 6645] <... write resumed>) = 16777216 [pid 6646] <... close resumed>) = 0 [pid 6646] close(4 [pid 6645] munmap(0x7f5e2dc00000, 138412032 [pid 6646] <... close resumed>) = 0 [pid 6646] mkdir("./file0", 0777 [pid 6645] <... munmap resumed>) = 0 [pid 6645] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 113.730440][ T6646] loop2: detected capacity change from 0 to 32768 [pid 6645] ioctl(4, LOOP_SET_FD, 3 [pid 6646] <... mkdir resumed>) = 0 [pid 6646] mount("/dev/loop2", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6645] <... ioctl resumed>) = 0 [pid 6645] close(3) = 0 [pid 6645] close(4) = 0 [pid 6645] mkdir("./file0", 0777) = 0 [pid 6645] mount("/dev/loop0", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6647] <... write resumed>) = 16777216 [pid 6648] <... write resumed>) = 16777216 [pid 6647] munmap(0x7f5e2dc00000, 138412032 [ 113.776839][ T6645] loop0: detected capacity change from 0 to 32768 [pid 6648] munmap(0x7f5e2dc00000, 138412032 [pid 6647] <... munmap resumed>) = 0 [pid 6648] <... munmap resumed>) = 0 [pid 6648] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6647] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6648] <... openat resumed>) = 4 [pid 6647] ioctl(4, LOOP_SET_FD, 3 [pid 6648] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6648] close(3) = 0 [pid 6648] close(4) = 0 [pid 6648] mkdir("./file0", 0777) = 0 [pid 6648] mount("/dev/loop3", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6647] <... ioctl resumed>) = 0 [pid 6647] close(3) = 0 [pid 6647] close(4) = 0 [pid 6647] mkdir("./file0", 0777) = 0 [ 113.855684][ T6647] loop1: detected capacity change from 0 to 32768 [ 113.855702][ T6648] loop3: detected capacity change from 0 to 32768 [ 114.026391][ T6645] 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 [ 114.049423][ T6646] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 114.068677][ T6645] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 114.074481][ T6646] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 114.076982][ T6643] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 114.088750][ T6645] bcachefs (loop0): Version upgrade required: [ 114.088750][ T6645] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 114.088750][ T6645] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 114.088750][ T6645] 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 [ 114.165015][ T6643] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 114.167150][ T6648] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 114.196362][ T6645] bcachefs (loop0): dropping and reconstructing all alloc info [ 114.246155][ T6648] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 114.258492][ T6647] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 114.282683][ T6646] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6647] mount("/dev/loop1", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6646] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6643] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6646] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 6646] ioctl(3, LOOP_CLR_FD [pid 6643] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6646] <... ioctl resumed>) = 0 [pid 6646] close(3 [pid 6643] <... openat resumed>) = 3 [pid 6643] ioctl(3, LOOP_CLR_FD) = 0 [ 114.293511][ T6647] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 114.313285][ T6643] bcachefs: bch2_fs_get_tree() error: EINVAL [ 114.315702][ T6645] bcachefs (loop0): check_topology... done [ 114.335219][ T6645] bcachefs (loop0): accounting_read... done [ 114.446196][ T6645] bcachefs (loop0): alloc_read... done [ 114.451784][ T6645] bcachefs (loop0): stripes_read... done [pid 6643] close(3 [pid 6648] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6648] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [ 114.485449][ T6648] bcachefs: bch2_fs_get_tree() error: EINVAL [ 114.502844][ T6645] bcachefs (loop0): snapshots_read... done [pid 6648] ioctl(3, LOOP_CLR_FD) = 0 [pid 6648] close(3 [pid 5844] <... umount2 resumed>) = 0 [ 114.517135][ T6645] bcachefs (loop0): check_allocations... done [pid 6647] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5844] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] newfstatat(AT_FDCWD, "./11/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6647] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] openat(AT_FDCWD, "./11/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6647] <... openat resumed>) = 3 [pid 6647] ioctl(3, LOOP_CLR_FD [pid 5844] <... openat resumed>) = 4 [pid 6647] <... ioctl resumed>) = 0 [pid 5844] newfstatat(4, "", [pid 6647] close(3 [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [ 114.627077][ T6647] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5844] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 6646] <... close resumed>) = 0 [pid 5844] close(4 [pid 6646] unlinkat(AT_FDCWD, "./file1", 0 [pid 5844] <... close resumed>) = 0 [pid 6646] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5844] rmdir("./11/file0" [ 114.675833][ T6645] bcachefs (loop0): going read-write [pid 6646] exit_group(0) = ? [pid 5844] <... rmdir resumed>) = 0 [pid 5844] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 6646] +++ exited with 0 +++ [pid 5844] close(3 [pid 5842] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6646, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=45 /* 0.45 s */} --- [pid 5844] <... close resumed>) = 0 [pid 6643] <... close resumed>) = 0 [pid 5844] rmdir("./11" [pid 6643] unlinkat(AT_FDCWD, "./file1", 0 [pid 5844] <... rmdir resumed>) = 0 [pid 5842] umount2("./18", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] mkdir("./12", 0777 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6643] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5842] openat(AT_FDCWD, "./18", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6643] exit_group(0) = ? [pid 5844] <... mkdir resumed>) = 0 [pid 5842] <... openat resumed>) = 3 [pid 6643] +++ exited with 0 +++ [pid 5842] newfstatat(3, "", [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6643, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=43 /* 0.43 s */} --- [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] restart_syscall(<... resuming interrupted clone ...> [pid 5844] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5845] <... restart_syscall resumed>) = 0 [pid 5844] <... openat resumed>) = 3 [pid 5842] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5844] ioctl(3, LOOP_CLR_FD [pid 5845] umount2("./14", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5842] umount2("./18/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] close(3 [pid 5845] openat(AT_FDCWD, "./14", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] <... close resumed>) = 0 [pid 6645] <... mount resumed>) = 0 [pid 5845] <... openat resumed>) = 3 [pid 5844] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5842] newfstatat(AT_FDCWD, "./18/binderfs", [pid 6645] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 5845] newfstatat(3, "", [pid 5842] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] unlink("./18/binderfs" [pid 6645] <... openat resumed>) = 3 [pid 5842] <... unlink resumed>) = 0 ./strace-static-x86_64: Process 6687 attached [pid 6645] chdir("./file0" [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] <... clone resumed>, child_tidptr=0x55558491f650) = 6687 [pid 5842] umount2("./18/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6645] <... chdir resumed>) = 0 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] newfstatat(AT_FDCWD, "./18/file0", [pid 6687] set_robust_list(0x55558491f660, 24 [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6687] <... set_robust_list resumed>) = 0 [pid 5845] getdents64(3, [pid 5842] umount2("./18/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6687] chdir("./12" [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6645] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5845] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5842] openat(AT_FDCWD, "./18/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5845] umount2("./14/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] <... openat resumed>) = 4 [pid 6687] <... chdir resumed>) = 0 [pid 5842] newfstatat(4, "", [pid 6687] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6687] <... prctl resumed>) = 0 [pid 5845] newfstatat(AT_FDCWD, "./14/binderfs", [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6687] setpgid(0, 0 [pid 6645] <... openat resumed>) = 4 [pid 5842] getdents64(4, [pid 5845] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6687] <... setpgid resumed>) = 0 [pid 5845] unlink("./14/binderfs" [pid 5842] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 6687] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6645] ioctl(4, LOOP_CLR_FD [pid 5845] <... unlink resumed>) = 0 [pid 5842] getdents64(4, [pid 6645] <... ioctl resumed>) = 0 [pid 5842] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 6687] <... openat resumed>) = 3 [pid 5842] close(4 [pid 6645] close(4 [pid 5845] umount2("./14/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6687] write(3, "1000", 4 [pid 6645] <... close resumed>) = 0 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] <... close resumed>) = 0 [pid 6645] unlinkat(AT_FDCWD, "./file1", 0 [pid 5845] newfstatat(AT_FDCWD, "./14/file0", [pid 5842] rmdir("./18/file0" [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 114.750745][ T6645] bcachefs (loop0): done starting filesystem [pid 5845] umount2("./14/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] <... rmdir resumed>) = 0 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./14/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6687] <... write resumed>) = 4 [pid 6687] close(3 [pid 5845] <... openat resumed>) = 4 [pid 6687] <... close resumed>) = 0 [pid 5845] newfstatat(4, "", [pid 6687] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] getdents64(3, executing program [pid 6687] write(1, "executing program\n", 18 [pid 6645] <... unlinkat resumed>) = 0 [pid 5845] getdents64(4, [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5845] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5842] close(3) = 0 [pid 6687] <... write resumed>) = 18 [pid 6645] exit_group(0 [pid 5845] getdents64(4, [pid 5842] rmdir("./18" [pid 5845] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 6687] memfd_create("syzkaller", 0 [pid 5845] close(4 [pid 6687] <... memfd_create resumed>) = 3 [pid 6645] <... exit_group resumed>) = ? [pid 5845] <... close resumed>) = 0 [pid 5842] <... rmdir resumed>) = 0 [pid 6687] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5845] rmdir("./14/file0" [pid 5842] mkdir("./19", 0777 [pid 6687] <... mmap resumed>) = 0x7f5e2dc00000 [pid 6645] +++ exited with 0 +++ [pid 5845] <... rmdir resumed>) = 0 [pid 5842] <... mkdir resumed>) = 0 [pid 5845] getdents64(3, [pid 5842] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5840] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6645, si_uid=0, si_status=0, si_utime=0, si_stime=39 /* 0.39 s */} --- [pid 5845] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5842] <... openat resumed>) = 3 [pid 5845] close(3 [pid 5842] ioctl(3, LOOP_CLR_FD [pid 5845] <... close resumed>) = 0 [pid 5840] umount2("./17", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] rmdir("./14" [pid 5842] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./17", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5845] <... rmdir resumed>) = 0 [pid 5842] close(3 [pid 5840] <... openat resumed>) = 3 [pid 5845] mkdir("./15", 0777 [pid 5842] <... close resumed>) = 0 [pid 5840] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] getdents64(3, [pid 5845] <... mkdir resumed>) = 0 [pid 5842] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5840] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5840] umount2("./17/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./17/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] unlink("./17/binderfs"./strace-static-x86_64: Process 6688 attached ) = 0 [pid 5840] umount2("./17/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6688] set_robust_list(0x55558491f660, 24 [pid 5842] <... clone resumed>, child_tidptr=0x55558491f650) = 6688 [pid 5845] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5845] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 6688] <... set_robust_list resumed>) = 0 [pid 5845] close(3) = 0 [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6688] chdir("./19"./strace-static-x86_64: Process 6689 attached ) = 0 [pid 5845] <... clone resumed>, child_tidptr=0x55558491f650) = 6689 [pid 6688] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6689] set_robust_list(0x55558491f660, 24 [pid 6648] <... close resumed>) = 0 [pid 6689] <... set_robust_list resumed>) = 0 [pid 6689] chdir("./15") = 0 [pid 6689] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6689] setpgid(0, 0) = 0 [pid 6689] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6689] write(3, "1000", 4) = 4 [pid 6689] close(3) = 0 [pid 6688] <... prctl resumed>) = 0 [pid 6648] unlinkat(AT_FDCWD, "./file1", 0 [pid 6689] symlink("/dev/binderfs", "./binderfs" [pid 6688] setpgid(0, 0 [pid 6648] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 6689] <... symlink resumed>) = 0 [pid 6688] <... setpgid resumed>) = 0 [pid 6648] exit_group(0executing program [pid 6689] write(1, "executing program\n", 18) = 18 [pid 6688] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6648] <... exit_group resumed>) = ? [pid 6689] memfd_create("syzkaller", 0) = 3 [pid 6689] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6648] +++ exited with 0 +++ [pid 6689] <... mmap resumed>) = 0x7f5e2dc00000 [pid 6647] <... close resumed>) = 0 [pid 5843] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6648, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=47 /* 0.47 s */} --- [pid 5843] restart_syscall(<... resuming interrupted clone ...> [pid 6688] <... openat resumed>) = 3 [pid 6688] write(3, "1000", 4 [pid 5843] <... restart_syscall resumed>) = 0 [pid 6688] <... write resumed>) = 4 [pid 6688] close(3) = 0 [pid 6688] symlink("/dev/binderfs", "./binderfs"executing program [pid 5843] umount2("./17", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6688] <... symlink resumed>) = 0 [pid 6647] unlinkat(AT_FDCWD, "./file1", 0 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6688] write(1, "executing program\n", 18 [pid 5843] openat(AT_FDCWD, "./17", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6688] <... write resumed>) = 18 [pid 6647] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 6688] memfd_create("syzkaller", 0 [pid 6647] exit_group(0 [pid 5843] <... openat resumed>) = 3 [pid 5843] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 6688] <... memfd_create resumed>) = 3 [pid 5843] umount2("./17/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6647] <... exit_group resumed>) = ? [pid 6688] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6688] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5843] newfstatat(AT_FDCWD, "./17/binderfs", [pid 6647] +++ exited with 0 +++ [pid 5843] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] unlink("./17/binderfs" [pid 5841] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6647, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=44 /* 0.44 s */} --- [pid 5843] <... unlink resumed>) = 0 [pid 5843] umount2("./17/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5843] newfstatat(AT_FDCWD, "./17/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] umount2("./17/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] umount2("./13", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] openat(AT_FDCWD, "./17/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] <... openat resumed>) = 4 [ 114.907349][ T5840] bcachefs (loop0): shutting down [ 114.920480][ T5840] bcachefs (loop0): going read-only [ 114.926599][ T5840] bcachefs (loop0): finished waiting for writes to stop [pid 5841] openat(AT_FDCWD, "./13", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5843] newfstatat(4, "", [pid 5841] <... openat resumed>) = 3 [pid 5841] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] getdents64(3, [pid 5843] getdents64(4, [pid 5841] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5843] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5841] umount2("./13/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] getdents64(4, [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5841] newfstatat(AT_FDCWD, "./13/binderfs", [pid 5843] close(4 [pid 5841] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] <... close resumed>) = 0 [pid 5841] unlink("./13/binderfs" [pid 5843] rmdir("./17/file0") = 0 [pid 5841] <... unlink resumed>) = 0 [pid 5843] getdents64(3, [pid 5841] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] close(3 [pid 5841] newfstatat(AT_FDCWD, "./13/file0", [pid 5843] <... close resumed>) = 0 [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] rmdir("./17" [pid 5841] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] <... rmdir resumed>) = 0 [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] mkdir("./18", 0777 [pid 5841] openat(AT_FDCWD, "./13/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5843] <... mkdir resumed>) = 0 [pid 5841] <... openat resumed>) = 4 [pid 5841] newfstatat(4, "", [pid 5843] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] <... openat resumed>) = 3 [pid 5841] getdents64(4, [pid 5843] ioctl(3, LOOP_CLR_FD [pid 5841] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5843] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5841] getdents64(4, [pid 5843] close(3 [pid 5841] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5843] <... close resumed>) = 0 [pid 5841] close(4 [pid 5843] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5841] <... close resumed>) = 0 [pid 5841] rmdir("./13/file0" [pid 5843] <... clone resumed>, child_tidptr=0x55558491f650) = 6690 [pid 5841] <... rmdir resumed>) = 0 ./strace-static-x86_64: Process 6690 attached [pid 5841] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 6690] set_robust_list(0x55558491f660, 24 [pid 5841] close(3 [pid 6690] <... set_robust_list resumed>) = 0 [pid 5841] <... close resumed>) = 0 [pid 6690] chdir("./18" [pid 5841] rmdir("./13" [pid 6690] <... chdir resumed>) = 0 [pid 5841] <... rmdir resumed>) = 0 [pid 6690] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5841] mkdir("./14", 0777 [pid 6690] <... prctl resumed>) = 0 [pid 5841] <... mkdir resumed>) = 0 [pid 6690] setpgid(0, 0 [pid 5841] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 6690] <... setpgid resumed>) = 0 [pid 5841] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 6690] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5841] close(3 [pid 6690] <... openat resumed>) = 3 [pid 5841] <... close resumed>) = 0 [pid 6690] write(3, "1000", 4 [pid 5841] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6690] <... write resumed>) = 4 ./strace-static-x86_64: Process 6691 attached [pid 6690] close(3 [pid 5841] <... clone resumed>, child_tidptr=0x55558491f650) = 6691 [pid 6690] <... close resumed>) = 0 [pid 6691] set_robust_list(0x55558491f660, 24 [ 114.963164][ T5840] bcachefs (loop0): flushing journal and stopping allocators, journal seq 12 [pid 6690] symlink("/dev/binderfs", "./binderfs"executing program [pid 6691] <... set_robust_list resumed>) = 0 [pid 6690] <... symlink resumed>) = 0 [pid 6690] write(1, "executing program\n", 18) = 18 [pid 6691] chdir("./14") = 0 [pid 6690] memfd_create("syzkaller", 0 [pid 6691] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6690] <... memfd_create resumed>) = 3 [pid 6691] <... prctl resumed>) = 0 [pid 6690] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6691] setpgid(0, 0 [pid 6690] <... mmap resumed>) = 0x7f5e2dc00000 [pid 6691] <... setpgid resumed>) = 0 [pid 6691] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6691] write(3, "1000", 4) = 4 [pid 6691] close(3 [pid 6687] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6691] <... close resumed>) = 0 [pid 6691] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6691] write(1, "executing program\n", 18executing program ) = 18 [pid 6691] memfd_create("syzkaller", 0) = 3 [pid 6691] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [ 115.056581][ T2890] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 54) [ 115.109794][ T2890] bcachefs (loop0): fatal error - emergency read only [ 115.162952][ T5840] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 115.213290][ T5840] bcachefs (loop0): unshutdown complete, journal seq 14 [ 115.221746][ T5840] bcachefs (loop0): done going read-only, filesystem not clean [pid 6689] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6690] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 [ 115.295951][ T5840] bcachefs (loop0): shutdown complete [pid 6688] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6691] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6687] <... write resumed>) = 16777216 [pid 6687] munmap(0x7f5e2dc00000, 138412032 [pid 6689] <... write resumed>) = 16777216 [pid 6689] munmap(0x7f5e2dc00000, 138412032 [pid 6687] <... munmap resumed>) = 0 [pid 6687] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6687] ioctl(4, LOOP_SET_FD, 3 [pid 6689] <... munmap resumed>) = 0 [pid 6687] <... ioctl resumed>) = 0 [pid 6689] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 6689] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6689] close(3 [pid 6687] close(3 [pid 6689] <... close resumed>) = 0 [pid 6687] <... close resumed>) = 0 [pid 6689] close(4 [pid 6687] close(4 [pid 6689] <... close resumed>) = 0 [pid 6687] <... close resumed>) = 0 [pid 6689] mkdir("./file0", 0777 [pid 6687] mkdir("./file0", 0777 [pid 6689] <... mkdir resumed>) = 0 [pid 6687] <... mkdir resumed>) = 0 [pid 6689] mount("/dev/loop5", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [ 115.643117][ T6687] loop4: detected capacity change from 0 to 32768 [ 115.658859][ T6689] loop5: detected capacity change from 0 to 32768 [pid 6687] mount("/dev/loop4", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6688] <... write resumed>) = 16777216 [pid 6688] munmap(0x7f5e2dc00000, 138412032 [pid 6690] <... write resumed>) = 16777216 [pid 6690] munmap(0x7f5e2dc00000, 138412032 [pid 6688] <... munmap resumed>) = 0 [pid 6690] <... munmap resumed>) = 0 [pid 6691] <... write resumed>) = 16777216 [pid 6690] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6688] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6691] munmap(0x7f5e2dc00000, 138412032 [pid 6690] <... openat resumed>) = 4 [pid 6690] ioctl(4, LOOP_SET_FD, 3 [pid 6688] <... openat resumed>) = 4 [pid 6690] <... ioctl resumed>) = 0 [pid 6688] ioctl(4, LOOP_SET_FD, 3 [pid 6691] <... munmap resumed>) = 0 [pid 6690] close(3) = 0 [pid 6690] close(4) = 0 [pid 6688] <... ioctl resumed>) = 0 [pid 6690] mkdir("./file0", 0777 [pid 6691] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6690] <... mkdir resumed>) = 0 [pid 6688] close(3 [pid 6691] <... openat resumed>) = 4 [pid 6688] <... close resumed>) = 0 [pid 6690] mount("/dev/loop3", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6691] ioctl(4, LOOP_SET_FD, 3 [pid 6688] close(4 [pid 6691] <... ioctl resumed>) = 0 [pid 6688] <... close resumed>) = 0 [pid 6691] close(3 [pid 6688] mkdir("./file0", 0777) = 0 [pid 6688] mount("/dev/loop2", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6691] <... close resumed>) = 0 [pid 6691] close(4) = 0 [pid 6691] mkdir("./file0", 0777) = 0 [ 115.806388][ T6690] loop3: detected capacity change from 0 to 32768 [ 115.824207][ T6688] loop2: detected capacity change from 0 to 32768 [ 115.834818][ T6691] loop1: detected capacity change from 0 to 32768 [ 116.188470][ T6690] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 116.198049][ T6690] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 116.198171][ T6688] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 116.220438][ T6687] 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 [ 116.232919][ T6689] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 116.273525][ T6687] bcachefs (loop4): recovering from clean shutdown, journal seq 10 [ 116.279403][ T6689] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 116.289549][ T6691] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 116.289652][ T6691] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 116.291580][ T6688] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 116.323856][ T6687] bcachefs (loop4): Version upgrade required: [ 116.323856][ T6687] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 116.323856][ T6687] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 116.323856][ T6687] 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 [ 116.365000][ T6690] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6691] mount("/dev/loop1", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6690] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6689] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6690] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 6690] ioctl(3, LOOP_CLR_FD) = 0 [pid 6690] close(3 [pid 6689] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 6689] ioctl(3, LOOP_CLR_FD) = 0 [ 116.471799][ T6689] bcachefs: bch2_fs_get_tree() error: EINVAL [ 116.534367][ T6687] bcachefs (loop4): dropping and reconstructing all alloc info [ 116.569178][ T6688] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6689] close(3 [pid 6688] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6691] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6691] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6688] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6691] <... openat resumed>) = 3 [ 116.582626][ T6691] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6691] ioctl(3, LOOP_CLR_FD [pid 6688] <... openat resumed>) = 3 [pid 6691] <... ioctl resumed>) = 0 [pid 6688] ioctl(3, LOOP_CLR_FD [pid 6691] close(3 [pid 6688] <... ioctl resumed>) = 0 [ 116.645232][ T6687] bcachefs (loop4): check_topology... done [pid 6688] close(3 [pid 5840] <... umount2 resumed>) = 0 [ 116.651304][ T6687] bcachefs (loop4): accounting_read... done [ 116.739942][ T6687] bcachefs (loop4): alloc_read... done [pid 5840] umount2("./17/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./17/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] umount2("./17/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./17/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, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5840] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5840] close(4) = 0 [pid 5840] rmdir("./17/file0") = 0 [pid 5840] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5840] close(3) = 0 [pid 5840] rmdir("./17") = 0 [pid 5840] mkdir("./18", 0777) = 0 [pid 5840] openat(AT_FDCWD, "/dev/loop0", 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 6728 attached [pid 6728] set_robust_list(0x55558491f660, 24) = 0 [pid 6728] chdir("./18" [pid 5840] <... clone resumed>, child_tidptr=0x55558491f650) = 6728 [pid 6728] <... chdir resumed>) = 0 [pid 6728] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [ 116.780934][ T6687] bcachefs (loop4): stripes_read... done [ 116.798580][ T6687] bcachefs (loop4): snapshots_read... done [pid 6728] setpgid(0, 0) = 0 [pid 6689] <... close resumed>) = 0 [pid 6728] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6728] write(3, "1000", 4) = 4 [pid 6689] unlinkat(AT_FDCWD, "./file1", 0 [pid 6728] close(3 [pid 6690] <... close resumed>) = 0 [pid 6728] <... close resumed>) = 0 [pid 6728] symlink("/dev/binderfs", "./binderfs" [pid 6690] unlinkat(AT_FDCWD, "./file1", 0 [pid 6728] <... symlink resumed>) = 0 [pid 6689] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 6690] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) executing program [pid 6728] write(1, "executing program\n", 18 [pid 6690] exit_group(0 [pid 6689] exit_group(0 [pid 6728] <... write resumed>) = 18 [pid 6690] <... exit_group resumed>) = ? [pid 6689] <... exit_group resumed>) = ? [pid 6690] +++ exited with 0 +++ [pid 5843] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6690, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=53 /* 0.53 s */} --- [pid 5843] restart_syscall(<... resuming interrupted clone ...> [pid 6728] memfd_create("syzkaller", 0 [pid 5843] <... restart_syscall resumed>) = 0 [pid 6689] +++ exited with 0 +++ [pid 6728] <... memfd_create resumed>) = 3 [pid 5843] umount2("./18", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6728] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6689, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=45 /* 0.45 s */} --- [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] restart_syscall(<... resuming interrupted clone ...> [pid 5843] openat(AT_FDCWD, "./18", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6728] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5843] <... openat resumed>) = 3 [pid 5843] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5843] umount2("./18/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5843] newfstatat(AT_FDCWD, "./18/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] unlink("./18/binderfs") = 0 [pid 5843] umount2("./18/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5843] newfstatat(AT_FDCWD, "./18/file0", [pid 5845] <... restart_syscall resumed>) = 0 [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] umount2("./18/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] umount2("./15", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./15", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5845] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5845] umount2("./15/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./15/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] unlink("./15/binderfs") = 0 [pid 5845] umount2("./15/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./15/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] umount2("./15/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./15/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5845] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] getdents64(4, [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5843] openat(AT_FDCWD, "./18/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5845] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5845] close(4) = 0 [pid 5845] rmdir("./15/file0") = 0 [pid 5845] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5845] close(3) = 0 [pid 5845] rmdir("./15") = 0 [pid 5845] mkdir("./16", 0777) = 0 [pid 5845] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5845] ioctl(3, LOOP_CLR_FD [pid 5843] <... openat resumed>) = 4 [pid 5845] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5843] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5843] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5843] close(4 [pid 5845] close(3 [pid 5843] <... close resumed>) = 0 [pid 5845] <... close resumed>) = 0 [pid 5843] rmdir("./18/file0") = 0 [pid 5843] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5843] close(3 [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5843] <... close resumed>) = 0 [pid 5843] rmdir("./18") = 0 [pid 5843] mkdir("./19", 0777 [pid 5845] <... clone resumed>, child_tidptr=0x55558491f650) = 6731 [pid 5843] <... mkdir resumed>) = 0 [ 116.813338][ T6687] bcachefs (loop4): check_allocations... done [ 116.934271][ T6687] bcachefs (loop4): going read-write [pid 5843] openat(AT_FDCWD, "/dev/loop3", O_RDWR./strace-static-x86_64: Process 6731 attached ) = 3 [pid 5843] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 6731] set_robust_list(0x55558491f660, 24 [pid 5843] close(3 [pid 6731] <... set_robust_list resumed>) = 0 [pid 5843] <... close resumed>) = 0 [pid 6731] chdir("./16" [pid 5843] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6731] <... chdir resumed>) = 0 ./strace-static-x86_64: Process 6732 attached [pid 6731] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5843] <... clone resumed>, child_tidptr=0x55558491f650) = 6732 [pid 6732] set_robust_list(0x55558491f660, 24 [pid 6731] setpgid(0, 0 [pid 6691] <... close resumed>) = 0 [pid 6732] <... set_robust_list resumed>) = 0 [pid 6732] chdir("./19" [pid 6731] <... setpgid resumed>) = 0 [pid 6688] <... close resumed>) = 0 [pid 6687] <... mount resumed>) = 0 [pid 6732] <... chdir resumed>) = 0 [pid 6732] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6731] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6691] unlinkat(AT_FDCWD, "./file1", 0 [pid 6687] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 6732] <... prctl resumed>) = 0 [pid 6731] <... openat resumed>) = 3 [pid 6731] write(3, "1000", 4 [pid 6691] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 6732] setpgid(0, 0 [pid 6687] <... openat resumed>) = 3 [pid 6732] <... setpgid resumed>) = 0 [pid 6731] <... write resumed>) = 4 [pid 6691] exit_group(0 [pid 6687] chdir("./file0" [pid 6732] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6731] close(3 [pid 6691] <... exit_group resumed>) = ? [pid 6687] <... chdir resumed>) = 0 [pid 6687] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6688] unlinkat(AT_FDCWD, "./file1", 0) = -1 ENOENT (No such file or directory) [pid 6688] exit_group(0 [pid 6691] +++ exited with 0 +++ [pid 6688] <... exit_group resumed>) = ? [pid 6732] <... openat resumed>) = 3 [pid 6731] <... close resumed>) = 0 [pid 6688] +++ exited with 0 +++ [pid 6687] <... openat resumed>) = 4 [pid 5841] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6691, si_uid=0, si_status=0, si_utime=0, si_stime=39 /* 0.39 s */} --- [pid 6732] write(3, "1000", 4 [pid 6731] symlink("/dev/binderfs", "./binderfs" [pid 6687] ioctl(4, LOOP_CLR_FD [pid 5842] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6688, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=46 /* 0.46 s */} --- [pid 5841] restart_syscall(<... resuming interrupted clone ...> [pid 6732] <... write resumed>) = 4 [pid 6731] <... symlink resumed>) = 0 [pid 6687] <... ioctl resumed>) = 0 [ 116.981218][ T6687] bcachefs (loop4): done starting filesystem executing program [pid 5842] restart_syscall(<... resuming interrupted clone ...> [pid 5841] <... restart_syscall resumed>) = 0 [pid 6732] close(3 [pid 6731] write(1, "executing program\n", 18 [pid 6687] close(4 [pid 5842] <... restart_syscall resumed>) = 0 [pid 6732] <... close resumed>) = 0 [pid 6731] <... write resumed>) = 18 [pid 6687] <... close resumed>) = 0 [pid 6732] symlink("/dev/binderfs", "./binderfs" [pid 6731] memfd_create("syzkaller", 0 [pid 6687] unlinkat(AT_FDCWD, "./file1", 0 [pid 5841] umount2("./14", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6732] <... symlink resumed>) = 0 [pid 6731] <... memfd_create resumed>) = 3 [pid 6687] <... unlinkat resumed>) = 0 [pid 5842] umount2("./19", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6731] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6687] exit_group(0 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) executing program [pid 6732] write(1, "executing program\n", 18 [pid 6731] <... mmap resumed>) = 0x7f5e2dc00000 [pid 6687] <... exit_group resumed>) = ? [pid 5842] openat(AT_FDCWD, "./19", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5841] openat(AT_FDCWD, "./14", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6732] <... write resumed>) = 18 [pid 5842] <... openat resumed>) = 3 [pid 5841] <... openat resumed>) = 3 [pid 6732] memfd_create("syzkaller", 0 [pid 6687] +++ exited with 0 +++ [pid 5844] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6687, si_uid=0, si_status=0, si_utime=0, si_stime=39 /* 0.39 s */} --- [pid 5842] newfstatat(3, "", [pid 5841] newfstatat(3, "", [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] getdents64(3, [pid 5841] getdents64(3, [pid 5844] umount2("./12", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5841] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] umount2("./19/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] umount2("./14/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] <... openat resumed>) = 3 [pid 5842] newfstatat(AT_FDCWD, "./19/binderfs", [pid 5841] newfstatat(AT_FDCWD, "./14/binderfs", [pid 5844] newfstatat(3, "", [pid 5842] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] unlink("./19/binderfs" [pid 5841] unlink("./14/binderfs" [pid 5844] getdents64(3, [pid 5842] <... unlink resumed>) = 0 [pid 5841] <... unlink resumed>) = 0 [pid 5844] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5842] umount2("./19/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] umount2("./14/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6732] <... memfd_create resumed>) = 3 [pid 5844] umount2("./12/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6732] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] newfstatat(AT_FDCWD, "./19/file0", [pid 5841] newfstatat(AT_FDCWD, "./14/file0", [pid 6732] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5844] newfstatat(AT_FDCWD, "./12/binderfs", [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] umount2("./19/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] umount2("./14/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] unlink("./12/binderfs" [pid 5842] openat(AT_FDCWD, "./19/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5841] openat(AT_FDCWD, "./14/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5844] <... unlink resumed>) = 0 [pid 5842] <... openat resumed>) = 4 [pid 5841] <... openat resumed>) = 4 [pid 5844] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] newfstatat(4, "", [pid 5841] newfstatat(4, "", [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] getdents64(4, [pid 5841] getdents64(4, [pid 5842] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5841] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5842] getdents64(4, [pid 5841] getdents64(4, [pid 5842] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5841] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5842] close(4 [pid 5841] close(4 [pid 5842] <... close resumed>) = 0 [pid 5841] <... close resumed>) = 0 [pid 5842] rmdir("./19/file0" [pid 5841] rmdir("./14/file0" [pid 5842] <... rmdir resumed>) = 0 [pid 5842] getdents64(3, [pid 5841] <... rmdir resumed>) = 0 [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5841] getdents64(3, [pid 5842] close(3 [pid 5841] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5842] <... close resumed>) = 0 [pid 5841] close(3 [pid 5842] rmdir("./19" [pid 5841] <... close resumed>) = 0 [pid 5842] <... rmdir resumed>) = 0 [pid 5841] rmdir("./14") = 0 [pid 5842] mkdir("./20", 0777 [pid 5841] mkdir("./15", 0777 [pid 5842] <... mkdir resumed>) = 0 [pid 5841] <... mkdir resumed>) = 0 [pid 5842] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5841] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5842] <... openat resumed>) = 3 [pid 5841] <... openat resumed>) = 3 [pid 5842] ioctl(3, LOOP_CLR_FD [pid 5841] ioctl(3, LOOP_CLR_FD [pid 5842] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5841] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5842] close(3 [pid 5841] close(3 [pid 6728] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5842] <... close resumed>) = 0 [pid 5841] <... close resumed>) = 0 [pid 5842] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5841] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6734 attached ./strace-static-x86_64: Process 6733 attached [pid 6733] set_robust_list(0x55558491f660, 24 [ 117.099594][ T5844] bcachefs (loop4): shutting down [ 117.115152][ T5844] bcachefs (loop4): going read-only [ 117.120505][ T5844] bcachefs (loop4): finished waiting for writes to stop [pid 6734] set_robust_list(0x55558491f660, 24) = 0 [pid 5842] <... clone resumed>, child_tidptr=0x55558491f650) = 6733 [pid 5841] <... clone resumed>, child_tidptr=0x55558491f650) = 6734 [pid 6734] chdir("./15" [pid 6733] <... set_robust_list resumed>) = 0 [pid 6734] <... chdir resumed>) = 0 [pid 6733] chdir("./20") = 0 [pid 6733] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6733] setpgid(0, 0 [pid 6734] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6733] <... setpgid resumed>) = 0 [pid 6734] <... prctl resumed>) = 0 [pid 6733] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6734] setpgid(0, 0 [pid 6733] <... openat resumed>) = 3 [pid 6734] <... setpgid resumed>) = 0 [pid 6733] write(3, "1000", 4 [pid 6734] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6733] <... write resumed>) = 4 [pid 6733] close(3 [pid 6734] <... openat resumed>) = 3 [pid 6734] write(3, "1000", 4 [pid 6733] <... close resumed>) = 0 [pid 6734] <... write resumed>) = 4 [pid 6733] symlink("/dev/binderfs", "./binderfs" [pid 6734] close(3 [pid 6733] <... symlink resumed>) = 0 executing program [pid 6734] <... close resumed>) = 0 [pid 6733] write(1, "executing program\n", 18 [pid 6734] symlink("/dev/binderfs", "./binderfs" [pid 6733] <... write resumed>) = 18 [pid 6734] <... symlink resumed>) = 0 [pid 6733] memfd_create("syzkaller", 0executing program [pid 6734] write(1, "executing program\n", 18 [pid 6733] <... memfd_create resumed>) = 3 [pid 6734] <... write resumed>) = 18 [pid 6733] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6734] memfd_create("syzkaller", 0 [pid 6733] <... mmap resumed>) = 0x7f5e2dc00000 [pid 6734] <... memfd_create resumed>) = 3 [pid 6734] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [ 117.149494][ T5844] bcachefs (loop4): flushing journal and stopping allocators, journal seq 11 [ 117.266658][ T2890] bcachefs (loop4): bch2_write_super(): fatal error loop4: Superblock write was silently dropped! (seq 0 expected 54) [pid 6732] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 [ 117.314441][ T2890] bcachefs (loop4): fatal error - emergency read only [ 117.331935][ T5844] bcachefs (loop4): flushing journal and stopping allocators complete, journal seq 14 [ 117.364289][ T5844] bcachefs (loop4): unshutdown complete, journal seq 14 [ 117.372212][ T5844] bcachefs (loop4): done going read-only, filesystem not clean [pid 6731] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6734] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 [ 117.477002][ T5844] bcachefs (loop4): shutdown complete [pid 6733] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6728] <... write resumed>) = 16777216 [pid 6728] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 6728] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6728] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6728] close(3) = 0 [pid 6728] close(4) = 0 [pid 6728] mkdir("./file0", 0777) = 0 [ 117.725640][ T6728] loop0: detected capacity change from 0 to 32768 [pid 6728] mount("/dev/loop0", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6732] <... write resumed>) = 16777216 [pid 6732] munmap(0x7f5e2dc00000, 138412032 [pid 6731] <... write resumed>) = 16777216 [pid 6731] munmap(0x7f5e2dc00000, 138412032 [pid 6732] <... munmap resumed>) = 0 [pid 6732] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6733] <... write resumed>) = 16777216 [pid 6732] <... openat resumed>) = 4 [pid 6733] munmap(0x7f5e2dc00000, 138412032 [pid 6732] ioctl(4, LOOP_SET_FD, 3 [pid 6731] <... munmap resumed>) = 0 [pid 6733] <... munmap resumed>) = 0 [pid 6731] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6733] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6732] <... ioctl resumed>) = 0 [pid 6731] <... openat resumed>) = 4 [pid 6733] <... openat resumed>) = 4 [pid 6732] close(3 [pid 6731] ioctl(4, LOOP_SET_FD, 3 [pid 6733] ioctl(4, LOOP_SET_FD, 3 [pid 6732] <... close resumed>) = 0 [pid 6731] <... ioctl resumed>) = 0 [pid 6734] <... write resumed>) = 16777216 [pid 6733] <... ioctl resumed>) = 0 [pid 6732] close(4 [pid 6731] close(3 [pid 6734] munmap(0x7f5e2dc00000, 138412032 [pid 6733] close(3) = 0 [pid 6733] close(4) = 0 [pid 6733] mkdir("./file0", 0777) = 0 [pid 6734] <... munmap resumed>) = 0 [pid 6732] <... close resumed>) = 0 [pid 6731] <... close resumed>) = 0 [pid 6732] mkdir("./file0", 0777 [pid 6731] close(4 [pid 6734] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6733] mount("/dev/loop2", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6734] <... openat resumed>) = 4 [pid 6732] <... mkdir resumed>) = 0 [pid 6731] <... close resumed>) = 0 [pid 6732] mount("/dev/loop3", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6731] mkdir("./file0", 0777 [ 117.891477][ T6732] loop3: detected capacity change from 0 to 32768 [ 117.906053][ T6731] loop5: detected capacity change from 0 to 32768 [ 117.913785][ T6733] loop2: detected capacity change from 0 to 32768 [pid 6734] ioctl(4, LOOP_SET_FD, 3 [pid 6731] <... mkdir resumed>) = 0 [pid 6731] mount("/dev/loop5", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6734] <... ioctl resumed>) = 0 [pid 6734] close(3) = 0 [pid 6734] close(4) = 0 [pid 6734] mkdir("./file0", 0777) = 0 [ 117.955737][ T6734] loop1: detected capacity change from 0 to 32768 [ 118.297228][ T6728] 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 [ 118.320069][ T6733] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 118.329539][ T6733] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 118.343392][ T6732] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 118.353738][ T6734] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 118.370139][ T6728] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 118.379302][ T6734] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 118.383298][ T6728] bcachefs (loop0): Version upgrade required: [ 118.383298][ T6728] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 118.383298][ T6728] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 118.383298][ T6728] 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 [ 118.387807][ T6731] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 118.472531][ T6732] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 118.496865][ T6731] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 118.523698][ T6728] bcachefs (loop0): dropping and reconstructing all alloc info [ 118.568741][ T6728] bcachefs (loop0): check_topology... done [ 118.590459][ T6728] bcachefs (loop0): accounting_read... done [ 118.632682][ T6734] bcachefs: bch2_fs_get_tree() error: EINVAL [ 118.649580][ T6728] bcachefs (loop0): alloc_read... done [ 118.658264][ T6728] bcachefs (loop0): stripes_read... done [ 118.664427][ T6728] bcachefs (loop0): snapshots_read... done [pid 6734] mount("/dev/loop1", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"...) = -1 EINVAL (Invalid argument) [pid 6734] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 6734] ioctl(3, LOOP_CLR_FD) = 0 [pid 6734] close(3 [pid 6732] <... mount resumed>) = -1 EINVAL (Invalid argument) [ 118.666223][ T6732] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6732] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 6732] ioctl(3, LOOP_CLR_FD) = 0 [pid 6732] close(3 [pid 6733] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6733] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 6733] ioctl(3, LOOP_CLR_FD) = 0 [ 118.672345][ T6728] bcachefs (loop0): check_allocations... [ 118.749008][ T6733] bcachefs: bch2_fs_get_tree() error: EINVAL [ 118.753914][ T6731] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6733] close(3 [pid 6731] <... mount resumed>) = -1 EINVAL (Invalid argument) [ 118.811857][ T6728] done [pid 6731] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 6731] ioctl(3, LOOP_CLR_FD) = 0 [ 118.841918][ T6728] bcachefs (loop0): going read-write [pid 6731] close(3 [pid 6728] <... mount resumed>) = 0 [pid 5844] <... umount2 resumed>) = 0 [pid 6728] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 5844] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6728] <... openat resumed>) = 3 [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6728] chdir("./file0" [pid 5844] newfstatat(AT_FDCWD, "./12/file0", [pid 6728] <... chdir resumed>) = 0 [pid 6728] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6728] ioctl(4, LOOP_CLR_FD [pid 5844] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6728] <... ioctl resumed>) = 0 [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6728] close(4 [pid 5844] openat(AT_FDCWD, "./12/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6728] <... close resumed>) = 0 [pid 5844] <... openat resumed>) = 4 [pid 5844] newfstatat(4, "", [pid 6728] unlinkat(AT_FDCWD, "./file1", 0 [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [ 118.887626][ T6728] bcachefs (loop0): done starting filesystem [pid 5844] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5844] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5844] close(4) = 0 [pid 5844] rmdir("./12/file0") = 0 [pid 6728] <... unlinkat resumed>) = 0 [pid 5844] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5844] close(3) = 0 [pid 5844] rmdir("./12") = 0 [pid 6728] exit_group(0 [pid 5844] mkdir("./13", 0777) = 0 [pid 6728] <... exit_group resumed>) = ? [pid 6728] +++ exited with 0 +++ [pid 5844] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5840] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6728, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=41 /* 0.41 s */} --- [pid 5844] ioctl(3, LOOP_CLR_FD [pid 5840] restart_syscall(<... resuming interrupted clone ...> [pid 5844] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5840] <... restart_syscall resumed>) = 0 [pid 5840] umount2("./18", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./18", 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, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5844] close(3 [pid 5840] umount2("./18/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] <... close resumed>) = 0 [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5840] newfstatat(AT_FDCWD, "./18/binderfs", ./strace-static-x86_64: Process 6773 attached {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] unlink("./18/binderfs") = 0 [pid 6773] set_robust_list(0x55558491f660, 24 [pid 5840] umount2("./18/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6773] <... set_robust_list resumed>) = 0 [pid 5844] <... clone resumed>, child_tidptr=0x55558491f650) = 6773 [pid 6773] chdir("./13") = 0 [pid 6773] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6773] setpgid(0, 0) = 0 [pid 6773] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6773] write(3, "1000", 4) = 4 [pid 6773] close(3executing program ) = 0 [pid 6773] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6773] write(1, "executing program\n", 18) = 18 [pid 6773] memfd_create("syzkaller", 0) = 3 [pid 6773] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [ 119.036072][ T5840] bcachefs (loop0): shutting down [ 119.041161][ T5840] bcachefs (loop0): going read-only [pid 6733] <... close resumed>) = 0 [pid 6734] <... close resumed>) = 0 [pid 6733] unlinkat(AT_FDCWD, "./file1", 0) = -1 ENOENT (No such file or directory) [pid 6733] exit_group(0) = ? [pid 6733] +++ exited with 0 +++ [pid 5842] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6733, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=52 /* 0.52 s */} --- [ 119.080340][ T5840] bcachefs (loop0): finished waiting for writes to stop [pid 5842] restart_syscall(<... resuming interrupted clone ...> [pid 6734] unlinkat(AT_FDCWD, "./file1", 0 [pid 5842] <... restart_syscall resumed>) = 0 [pid 6734] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 6734] exit_group(0) = ? [pid 5842] umount2("./20", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 6734] +++ exited with 0 +++ [pid 5842] openat(AT_FDCWD, "./20", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5842] newfstatat(3, "", [pid 5841] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6734, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=47 /* 0.47 s */} --- [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] restart_syscall(<... resuming interrupted clone ...> [pid 5842] getdents64(3, [pid 5841] <... restart_syscall resumed>) = 0 [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5842] umount2("./20/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5841] umount2("./15", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] newfstatat(AT_FDCWD, "./20/binderfs", [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] openat(AT_FDCWD, "./15", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5842] unlink("./20/binderfs" [pid 5841] <... openat resumed>) = 3 [pid 5842] <... unlink resumed>) = 0 [pid 5841] newfstatat(3, "", [pid 5842] umount2("./20/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6732] <... close resumed>) = 0 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] getdents64(3, [pid 6732] unlinkat(AT_FDCWD, "./file1", 0) = -1 ENOENT (No such file or directory) [pid 5842] newfstatat(AT_FDCWD, "./20/file0", [pid 5841] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 6732] exit_group(0) = ? [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] umount2("./15/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] umount2("./20/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] newfstatat(AT_FDCWD, "./15/binderfs", [pid 5842] openat(AT_FDCWD, "./20/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5841] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6732] +++ exited with 0 +++ [pid 5842] <... openat resumed>) = 4 [pid 5843] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6732, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=47 /* 0.47 s */} --- [pid 5843] restart_syscall(<... resuming interrupted clone ...> [pid 5842] newfstatat(4, "", [ 119.131120][ T5840] bcachefs (loop0): flushing journal and stopping allocators, journal seq 12 [pid 5841] unlink("./15/binderfs" [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] <... unlink resumed>) = 0 [pid 5842] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5841] umount2("./15/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] getdents64(4, [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5841] newfstatat(AT_FDCWD, "./15/file0", [pid 5842] close(4) = 0 [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] <... restart_syscall resumed>) = 0 [pid 5842] rmdir("./20/file0") = 0 [pid 5841] umount2("./15/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] getdents64(3, [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] umount2("./19", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5841] openat(AT_FDCWD, "./15/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5843] openat(AT_FDCWD, "./19", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5842] close(3 [pid 5843] <... openat resumed>) = 3 [pid 5842] <... close resumed>) = 0 [pid 5841] <... openat resumed>) = 4 [pid 5843] newfstatat(3, "", [pid 5842] rmdir("./20" [pid 5841] newfstatat(4, "", [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] <... rmdir resumed>) = 0 [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] getdents64(3, [pid 5841] getdents64(4, [pid 5843] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5841] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5843] umount2("./19/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] mkdir("./21", 0777 [pid 5843] newfstatat(AT_FDCWD, "./19/binderfs", [pid 5842] <... mkdir resumed>) = 0 [pid 5841] getdents64(4, [pid 5843] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5841] close(4 [pid 5843] unlink("./19/binderfs") = 0 [pid 5842] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5841] <... close resumed>) = 0 [pid 5843] umount2("./19/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] <... openat resumed>) = 3 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] ioctl(3, LOOP_CLR_FD [pid 5841] rmdir("./15/file0" [pid 5843] newfstatat(AT_FDCWD, "./19/file0", [pid 5842] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] close(3 [pid 5843] umount2("./19/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] <... close resumed>) = 0 [pid 5841] <... rmdir resumed>) = 0 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] openat(AT_FDCWD, "./19/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5842] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5843] <... openat resumed>) = 4 [pid 5841] getdents64(3, ./strace-static-x86_64: Process 6774 attached [pid 5843] newfstatat(4, "", [pid 5841] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 6774] set_robust_list(0x55558491f660, 24 [pid 5841] close(3 [pid 6774] <... set_robust_list resumed>) = 0 [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] <... close resumed>) = 0 [pid 5843] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5841] rmdir("./15" [pid 6774] chdir("./21" [pid 5843] getdents64(4, [pid 5842] <... clone resumed>, child_tidptr=0x55558491f650) = 6774 [pid 5843] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5843] close(4 [pid 6774] <... chdir resumed>) = 0 [pid 5843] <... close resumed>) = 0 [pid 5841] <... rmdir resumed>) = 0 [pid 5843] rmdir("./19/file0" [pid 6774] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5843] <... rmdir resumed>) = 0 [pid 5841] mkdir("./16", 0777 [pid 6774] <... prctl resumed>) = 0 [pid 5843] getdents64(3, [pid 6774] setpgid(0, 0 [pid 5841] <... mkdir resumed>) = 0 [pid 5843] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5841] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5843] close(3) = 0 [pid 5843] rmdir("./19") = 0 [pid 6774] <... setpgid resumed>) = 0 [pid 6773] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5841] <... openat resumed>) = 3 [pid 5843] mkdir("./20", 0777 [pid 6774] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5841] ioctl(3, LOOP_CLR_FD [pid 6774] <... openat resumed>) = 3 [pid 5843] <... mkdir resumed>) = 0 [pid 5841] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6774] write(3, "1000", 4 [pid 5843] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5841] close(3 [pid 5843] <... openat resumed>) = 3 [pid 6774] <... write resumed>) = 4 [pid 5841] <... close resumed>) = 0 [pid 6774] close(3 [pid 5843] ioctl(3, LOOP_CLR_FD [pid 5841] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5843] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6774] <... close resumed>) = 0 [pid 5843] close(3./strace-static-x86_64: Process 6775 attached [pid 6774] symlink("/dev/binderfs", "./binderfs" [pid 5841] <... clone resumed>, child_tidptr=0x55558491f650) = 6775 [pid 6775] set_robust_list(0x55558491f660, 24) = 0 [pid 6775] chdir("./16") = 0 [pid 6774] <... symlink resumed>) = 0 [pid 6775] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5843] <... close resumed>) = 0 [pid 6775] <... prctl resumed>) = 0 [pid 5843] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLDexecuting program executing program [pid 6775] setpgid(0, 0 [pid 6774] write(1, "executing program\n", 18./strace-static-x86_64: Process 6776 attached [pid 6775] <... setpgid resumed>) = 0 [pid 6776] set_robust_list(0x55558491f660, 24 [pid 6775] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6774] <... write resumed>) = 18 [pid 6775] <... openat resumed>) = 3 [pid 6775] write(3, "1000", 4 [pid 6774] memfd_create("syzkaller", 0 [pid 6775] <... write resumed>) = 4 [pid 5843] <... clone resumed>, child_tidptr=0x55558491f650) = 6776 [pid 6775] close(3) = 0 [pid 6775] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6775] write(1, "executing program\n", 18) = 18 [pid 6774] <... memfd_create resumed>) = 3 [pid 6776] <... set_robust_list resumed>) = 0 [pid 6775] memfd_create("syzkaller", 0 [pid 6774] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6775] <... memfd_create resumed>) = 3 [pid 6775] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 6776] chdir("./20" [pid 6774] <... mmap resumed>) = 0x7f5e2dc00000 [pid 6776] <... chdir resumed>) = 0 [pid 6776] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6731] <... close resumed>) = 0 [pid 6776] <... prctl resumed>) = 0 [pid 6776] setpgid(0, 0) = 0 [pid 6731] unlinkat(AT_FDCWD, "./file1", 0) = -1 ENOENT (No such file or directory) [pid 6731] exit_group(0) = ? [pid 6731] +++ exited with 0 +++ [pid 6776] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6731, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=45 /* 0.45 s */} --- [pid 5845] restart_syscall(<... resuming interrupted clone ...> [pid 6776] <... openat resumed>) = 3 [pid 5845] <... restart_syscall resumed>) = 0 [pid 5845] umount2("./16", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./16", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5845] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5845] umount2("./16/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./16/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] unlink("./16/binderfs") = 0 [pid 5845] umount2("./16/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6776] write(3, "1000", 4 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./16/file0", [pid 6776] <... write resumed>) = 4 [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6776] close(3 [pid 5845] umount2("./16/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6776] <... close resumed>) = 0 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./16/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6776] symlink("/dev/binderfs", "./binderfs" [pid 5845] <... openat resumed>) = 4 [pid 6776] <... symlink resumed>) = 0 executing program [pid 5845] newfstatat(4, "", [pid 6776] write(1, "executing program\n", 18 [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6776] <... write resumed>) = 18 [pid 6776] memfd_create("syzkaller", 0 [ 119.267276][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 54) [pid 5845] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 6776] <... memfd_create resumed>) = 3 [pid 5845] getdents64(4, [pid 6776] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5845] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 6776] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5845] close(4) = 0 [pid 5845] rmdir("./16/file0") = 0 [pid 5845] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5845] close(3) = 0 [pid 5845] rmdir("./16") = 0 [pid 5845] mkdir("./17", 0777) = 0 [pid 5845] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5845] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5845] close(3) = 0 [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55558491f650) = 6777 ./strace-static-x86_64: Process 6777 attached [ 119.320084][ T11] bcachefs (loop0): fatal error - emergency read only [ 119.357303][ T5840] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [pid 6777] set_robust_list(0x55558491f660, 24) = 0 [pid 6777] chdir("./17") = 0 [pid 6777] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6777] setpgid(0, 0) = 0 [pid 6777] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6777] write(3, "1000", 4) = 4 [pid 6777] close(3) = 0 [pid 6777] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6777] write(1, "executing program\n", 18) = 18 [ 119.394180][ T5840] bcachefs (loop0): unshutdown complete, journal seq 14 [ 119.425283][ T5840] bcachefs (loop0): done going read-only, filesystem not clean [pid 6777] memfd_create("syzkaller", 0) = 3 [pid 6777] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 6774] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 [ 119.495486][ T5840] bcachefs (loop0): shutdown complete [pid 6775] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6776] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6773] <... write resumed>) = 16777216 [pid 6773] munmap(0x7f5e2dc00000, 138412032 [pid 6777] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6773] <... munmap resumed>) = 0 [pid 6773] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6773] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6773] close(3) = 0 [pid 6773] close(4) = 0 [pid 6773] mkdir("./file0", 0777) = 0 [ 119.776983][ T6773] loop4: detected capacity change from 0 to 32768 [pid 6773] mount("/dev/loop4", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6775] <... write resumed>) = 16777216 [pid 6775] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 6775] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6775] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6775] close(3) = 0 [pid 6775] close(4) = 0 [pid 6775] mkdir("./file0", 0777) = 0 [ 119.957392][ T6775] loop1: detected capacity change from 0 to 32768 [pid 6775] mount("/dev/loop1", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6774] <... write resumed>) = 16777216 [pid 6774] munmap(0x7f5e2dc00000, 138412032 [pid 6776] <... write resumed>) = 16777216 [pid 6776] munmap(0x7f5e2dc00000, 138412032 [pid 6774] <... munmap resumed>) = 0 [pid 6774] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6774] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6776] <... munmap resumed>) = 0 [pid 6774] close(3) = 0 [pid 6776] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6774] close(4) = 0 [pid 6776] ioctl(4, LOOP_SET_FD, 3 [pid 6774] mkdir("./file0", 0777 [pid 6777] <... write resumed>) = 16777216 [pid 6774] <... mkdir resumed>) = 0 [pid 6777] munmap(0x7f5e2dc00000, 138412032 [pid 6774] mount("/dev/loop2", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6777] <... munmap resumed>) = 0 [pid 6776] <... ioctl resumed>) = 0 [pid 6777] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6776] close(3) = 0 [pid 6777] <... openat resumed>) = 4 [pid 6776] close(4 [ 120.055148][ T6774] loop2: detected capacity change from 0 to 32768 [ 120.080734][ T6776] loop3: detected capacity change from 0 to 32768 [pid 6777] ioctl(4, LOOP_SET_FD, 3 [pid 6776] <... close resumed>) = 0 [pid 6777] <... ioctl resumed>) = 0 [pid 6777] close(3) = 0 [pid 6777] close(4 [pid 6776] mkdir("./file0", 0777 [pid 6777] <... close resumed>) = 0 [pid 6776] <... mkdir resumed>) = 0 [pid 6777] mkdir("./file0", 0777 [pid 6776] mount("/dev/loop3", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6777] <... mkdir resumed>) = 0 [ 120.105297][ T6777] loop5: detected capacity change from 0 to 32768 [ 120.398079][ T6773] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 120.413399][ T6775] 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 [ 120.427518][ T6773] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 120.435813][ T6775] bcachefs (loop1): recovering from clean shutdown, journal seq 10 [ 120.444694][ T6776] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 120.451837][ T6775] bcachefs (loop1): Version upgrade required: [ 120.451837][ T6775] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 120.451837][ T6775] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 120.451837][ T6775] 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 [ 120.537572][ T6776] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 120.546155][ T6774] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 120.555802][ T6774] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 120.565979][ T6777] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 120.586823][ T6775] bcachefs (loop1): dropping and reconstructing all alloc info [ 120.593274][ T6777] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 120.663625][ T6775] bcachefs (loop1): check_topology... done [ 120.696590][ T6775] bcachefs (loop1): accounting_read... done [ 120.743243][ T6775] bcachefs (loop1): alloc_read... done [ 120.754452][ T6773] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6777] mount("/dev/loop5", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6773] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6773] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 6773] ioctl(3, LOOP_CLR_FD) = 0 [pid 6773] close(3 [pid 6774] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6774] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 6774] ioctl(3, LOOP_CLR_FD) = 0 [ 120.766492][ T6775] bcachefs (loop1): stripes_read... done [ 120.783185][ T6774] bcachefs: bch2_fs_get_tree() error: EINVAL [ 120.791127][ T6775] bcachefs (loop1): snapshots_read... done [ 120.792579][ T6776] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6774] close(3 [pid 6776] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6776] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 6776] ioctl(3, LOOP_CLR_FD) = 0 [pid 6776] close(3 [pid 6777] <... mount resumed>) = -1 EINVAL (Invalid argument) [ 120.811466][ T6775] bcachefs (loop1): check_allocations... [ 120.883887][ T6777] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6777] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 6777] ioctl(3, LOOP_CLR_FD) = 0 [pid 6777] close(3 [pid 5840] <... umount2 resumed>) = 0 [pid 5840] umount2("./18/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./18/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] umount2("./18/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./18/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, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5840] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5840] close(4) = 0 [pid 5840] rmdir("./18/file0") = 0 [pid 5840] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5840] close(3) = 0 [pid 5840] rmdir("./18") = 0 [pid 5840] mkdir("./19", 0777) = 0 [pid 5840] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [ 120.990229][ T6775] done [ 121.001278][ T6775] bcachefs (loop1): going read-write [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=0x55558491f650) = 6814 ./strace-static-x86_64: Process 6814 attached [pid 6814] set_robust_list(0x55558491f660, 24) = 0 [pid 6814] chdir("./19") = 0 [pid 6814] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6814] setpgid(0, 0) = 0 [pid 6814] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6814] write(3, "1000", 4) = 4 [pid 6814] close(3) = 0 [pid 6814] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6814] write(1, "executing program\n", 18) = 18 [pid 6814] memfd_create("syzkaller", 0) = 3 [pid 6814] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 6775] <... mount resumed>) = 0 [pid 6775] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6775] chdir("./file0") = 0 [pid 6775] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6775] ioctl(4, LOOP_CLR_FD) = 0 [pid 6775] close(4) = 0 [pid 6775] unlinkat(AT_FDCWD, "./file1", 0) = 0 [ 121.116599][ T6775] bcachefs (loop1): done starting filesystem [pid 6775] exit_group(0) = ? [pid 6775] +++ exited with 0 +++ [pid 6773] <... close resumed>) = 0 [pid 5841] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6775, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=42 /* 0.42 s */} --- [pid 5841] umount2("./16", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5841] openat(AT_FDCWD, "./16", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 6773] unlinkat(AT_FDCWD, "./file1", 0 [pid 5841] newfstatat(3, "", [pid 6773] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] getdents64(3, [pid 6773] exit_group(0 [pid 6774] <... close resumed>) = 0 [pid 6773] <... exit_group resumed>) = ? [pid 5841] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [ 121.168183][ T6775] syz-executor398 (6775) used greatest stack depth: 18176 bytes left [pid 6774] unlinkat(AT_FDCWD, "./file1", 0 [pid 5841] umount2("./16/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6773] +++ exited with 0 +++ [pid 5844] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6773, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=45 /* 0.45 s */} --- [pid 6774] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] umount2("./13", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6774] exit_group(0 [pid 5841] newfstatat(AT_FDCWD, "./16/binderfs", [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6776] <... close resumed>) = 0 [pid 6774] <... exit_group resumed>) = ? [pid 5844] openat(AT_FDCWD, "./13", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5841] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6776] unlinkat(AT_FDCWD, "./file1", 0 [pid 6774] +++ exited with 0 +++ [pid 6776] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5841] unlink("./16/binderfs" [pid 5844] <... openat resumed>) = 3 [pid 6776] exit_group(0 [pid 5844] newfstatat(3, "", [pid 5842] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6774, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=45 /* 0.45 s */} --- [pid 5841] <... unlink resumed>) = 0 [pid 6776] <... exit_group resumed>) = ? [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] restart_syscall(<... resuming interrupted clone ...> [pid 5841] umount2("./16/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] getdents64(3, [pid 5842] <... restart_syscall resumed>) = 0 [pid 5844] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 6776] +++ exited with 0 +++ [pid 6777] <... close resumed>) = 0 [pid 5843] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6776, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=52 /* 0.52 s */} --- [pid 5843] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5843] umount2("./20", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5843] openat(AT_FDCWD, "./20", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6777] unlinkat(AT_FDCWD, "./file1", 0 [pid 5843] <... openat resumed>) = 3 [pid 6777] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5844] umount2("./13/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] newfstatat(3, "", [pid 6777] exit_group(0 [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] getdents64(3, [pid 6777] <... exit_group resumed>) = ? [pid 5843] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 6777] +++ exited with 0 +++ [pid 5843] umount2("./20/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6777, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=41 /* 0.41 s */} --- [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] restart_syscall(<... resuming interrupted clone ...> [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] newfstatat(AT_FDCWD, "./20/binderfs", [pid 5842] umount2("./21", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] <... restart_syscall resumed>) = 0 [pid 5843] unlink("./20/binderfs") = 0 [pid 5843] umount2("./20/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] umount2("./17", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] newfstatat(AT_FDCWD, "./20/file0", [pid 5845] openat(AT_FDCWD, "./17", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] <... openat resumed>) = 3 [pid 5843] umount2("./20/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] newfstatat(3, "", [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] newfstatat(AT_FDCWD, "./13/binderfs", [pid 5843] openat(AT_FDCWD, "./20/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] getdents64(3, [pid 5843] <... openat resumed>) = 4 [pid 5845] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5843] newfstatat(4, "", [pid 5845] umount2("./17/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] getdents64(4, [pid 5842] openat(AT_FDCWD, "./21", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5845] newfstatat(AT_FDCWD, "./17/binderfs", [pid 5843] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5845] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] getdents64(4, [pid 5845] unlink("./17/binderfs" [pid 5844] unlink("./13/binderfs" [pid 5843] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5842] <... openat resumed>) = 3 [pid 5845] <... unlink resumed>) = 0 [pid 5843] close(4 [pid 5845] umount2("./17/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] <... close resumed>) = 0 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] rmdir("./20/file0" [pid 5842] newfstatat(3, "", [pid 5845] newfstatat(AT_FDCWD, "./17/file0", [pid 5844] <... unlink resumed>) = 0 [pid 5843] <... rmdir resumed>) = 0 [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] getdents64(3, [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] umount2("./17/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] close(3 [pid 5845] openat(AT_FDCWD, "./17/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] <... close resumed>) = 0 [pid 5842] getdents64(3, [pid 5845] newfstatat(4, "", [pid 5843] rmdir("./20" [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] newfstatat(AT_FDCWD, "./13/file0", [pid 5843] <... rmdir resumed>) = 0 [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5845] getdents64(4, [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] umount2("./21/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5845] getdents64(4, [pid 5843] mkdir("./21", 0777 [pid 5845] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5845] close(4 [pid 5843] <... mkdir resumed>) = 0 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] <... close resumed>) = 0 [pid 5844] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] newfstatat(AT_FDCWD, "./21/binderfs", [pid 5845] rmdir("./17/file0" [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] <... rmdir resumed>) = 0 [pid 5844] openat(AT_FDCWD, "./13/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5842] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] getdents64(3, [pid 5843] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5845] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5845] close(3 [pid 5843] <... openat resumed>) = 3 [pid 5845] <... close resumed>) = 0 [ 121.258828][ T5841] bcachefs (loop1): shutting down [ 121.264772][ T5841] bcachefs (loop1): going read-only [ 121.270315][ T5841] bcachefs (loop1): finished waiting for writes to stop [pid 5845] rmdir("./17") = 0 [pid 5844] <... openat resumed>) = 4 [pid 5843] ioctl(3, LOOP_CLR_FD [pid 5842] unlink("./21/binderfs" [pid 5845] mkdir("./18", 0777) = 0 [pid 5845] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5845] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5845] close(3) = 0 [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6817 attached [pid 6817] set_robust_list(0x55558491f660, 24 [pid 5845] <... clone resumed>, child_tidptr=0x55558491f650) = 6817 [pid 6817] <... set_robust_list resumed>) = 0 [pid 6817] chdir("./18") = 0 [pid 6817] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6817] setpgid(0, 0) = 0 [pid 6817] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5844] newfstatat(4, "", [pid 5843] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5842] <... unlink resumed>) = 0 [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] close(3 [pid 5842] umount2("./21/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] getdents64(4, [pid 5843] <... close resumed>) = 0 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] newfstatat(AT_FDCWD, "./21/file0", [pid 5844] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5843] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6817] <... openat resumed>) = 3 [pid 6817] write(3, "1000", 4) = 4 [pid 6817] close(3) = 0 [pid 6817] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6817] write(1, "executing program\n", 18./strace-static-x86_64: Process 6818 attached [pid 5844] getdents64(4, [pid 5842] umount2("./21/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6818] set_robust_list(0x55558491f660, 24 [pid 5844] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5843] <... clone resumed>, child_tidptr=0x55558491f650) = 6818 [pid 6818] <... set_robust_list resumed>) = 0 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] openat(AT_FDCWD, "./21/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORYexecuting program [pid 6818] chdir("./21" [pid 6817] <... write resumed>) = 18 [pid 5844] close(4 [pid 5842] <... openat resumed>) = 4 [pid 6818] <... chdir resumed>) = 0 [pid 5844] <... close resumed>) = 0 [pid 6818] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5842] newfstatat(4, "", [pid 6818] <... prctl resumed>) = 0 [pid 6817] memfd_create("syzkaller", 0) = 3 [pid 6817] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6817] <... mmap resumed>) = 0x7f5e2dc00000 [pid 6818] setpgid(0, 0 [pid 5842] getdents64(4, [pid 6818] <... setpgid resumed>) = 0 [pid 5844] rmdir("./13/file0" [pid 5842] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 6818] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5844] <... rmdir resumed>) = 0 [ 121.304155][ T5841] bcachefs (loop1): flushing journal and stopping allocators, journal seq 12 [pid 5842] getdents64(4, [pid 6818] <... openat resumed>) = 3 [pid 5844] getdents64(3, [pid 5842] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 6818] write(3, "1000", 4 [pid 5844] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5842] close(4 [pid 6818] <... write resumed>) = 4 [pid 6818] close(3 [pid 5842] <... close resumed>) = 0 [pid 5842] rmdir("./21/file0" [pid 6818] <... close resumed>) = 0 [pid 6818] symlink("/dev/binderfs", "./binderfs" [pid 5844] close(3 [pid 5842] <... rmdir resumed>) = 0 [pid 6818] <... symlink resumed>) = 0 [pid 5842] getdents64(3, [pid 5844] <... close resumed>) = 0 [pid 5844] rmdir("./13" [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 executing program [pid 6818] write(1, "executing program\n", 18 [pid 5844] <... rmdir resumed>) = 0 [pid 5842] close(3 [pid 6818] <... write resumed>) = 18 [pid 5844] mkdir("./14", 0777 [pid 5842] <... close resumed>) = 0 [pid 6818] memfd_create("syzkaller", 0 [pid 5844] <... mkdir resumed>) = 0 [pid 5842] rmdir("./21" [pid 6818] <... memfd_create resumed>) = 3 [pid 5844] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6818] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5842] <... rmdir resumed>) = 0 [pid 6818] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5844] <... openat resumed>) = 3 [pid 5842] mkdir("./22", 0777 [pid 5844] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5842] <... mkdir resumed>) = 0 [pid 5842] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5844] close(3 [pid 6814] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... close resumed>) = 0 [pid 5842] <... openat resumed>) = 3 [pid 5844] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [ 121.384515][ T80] bcachefs (loop1): bch2_write_super(): fatal error loop1: Superblock write was silently dropped! (seq 0 expected 54) [ 121.413230][ T80] bcachefs (loop1): fatal error - emergency read only [pid 5842] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) ./strace-static-x86_64: Process 6819 attached [pid 5842] close(3 [pid 6819] set_robust_list(0x55558491f660, 24 [pid 5844] <... clone resumed>, child_tidptr=0x55558491f650) = 6819 [pid 5842] <... close resumed>) = 0 [pid 6819] <... set_robust_list resumed>) = 0 [pid 5842] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6820 attached [pid 6819] chdir("./14" [pid 6820] set_robust_list(0x55558491f660, 24 [pid 5842] <... clone resumed>, child_tidptr=0x55558491f650) = 6820 [pid 6819] <... chdir resumed>) = 0 [pid 6819] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6819] setpgid(0, 0 [pid 6820] <... set_robust_list resumed>) = 0 [pid 6819] <... setpgid resumed>) = 0 [pid 6820] chdir("./22" [ 121.449468][ T5841] bcachefs (loop1): flushing journal and stopping allocators complete, journal seq 14 [ 121.484506][ T5841] bcachefs (loop1): unshutdown complete, journal seq 14 [pid 6819] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6820] <... chdir resumed>) = 0 [pid 6819] <... openat resumed>) = 3 [pid 6820] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6819] write(3, "1000", 4 [pid 6820] <... prctl resumed>) = 0 [pid 6820] setpgid(0, 0) = 0 [pid 6820] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6820] write(3, "1000", 4) = 4 [pid 6820] close(3) = 0 [pid 6819] <... write resumed>) = 4 [pid 6820] symlink("/dev/binderfs", "./binderfs" [pid 6819] close(3executing program [pid 6820] <... symlink resumed>) = 0 [pid 6819] <... close resumed>) = 0 [pid 6819] symlink("/dev/binderfs", "./binderfs" [pid 6820] write(1, "executing program\n", 18) = 18 [pid 6820] memfd_create("syzkaller", 0) = 3 [pid 6819] <... symlink resumed>) = 0 [pid 6820] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6819] write(1, "executing program\n", 18executing program [pid 6820] <... mmap resumed>) = 0x7f5e2dc00000 [pid 6819] <... write resumed>) = 18 [pid 6819] memfd_create("syzkaller", 0) = 3 [ 121.492457][ T5841] bcachefs (loop1): done going read-only, filesystem not clean [pid 6819] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [ 121.572535][ T5841] bcachefs (loop1): shutdown complete [pid 6817] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6818] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6820] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6819] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6814] <... write resumed>) = 16777216 [pid 6814] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 6814] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6814] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6814] close(3) = 0 [pid 6814] close(4) = 0 [ 121.904527][ T6814] loop0: detected capacity change from 0 to 32768 [pid 6814] mkdir("./file0", 0777) = 0 [pid 6814] mount("/dev/loop0", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6818] <... write resumed>) = 16777216 [pid 6817] <... write resumed>) = 16777216 [pid 6818] munmap(0x7f5e2dc00000, 138412032 [pid 6817] munmap(0x7f5e2dc00000, 138412032 [pid 6818] <... munmap resumed>) = 0 [pid 6818] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6817] <... munmap resumed>) = 0 [pid 6817] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 6818] <... openat resumed>) = 4 [pid 6817] ioctl(4, LOOP_SET_FD, 3 [pid 6818] ioctl(4, LOOP_SET_FD, 3 [pid 6817] <... ioctl resumed>) = 0 [pid 6817] close(3) = 0 [pid 6817] close(4) = 0 [pid 6817] mkdir("./file0", 0777) = 0 [pid 6817] mount("/dev/loop5", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6818] <... ioctl resumed>) = 0 [pid 6818] close(3) = 0 [pid 6818] close(4) = 0 [pid 6818] mkdir("./file0", 0777) = 0 [ 122.093326][ T6817] loop5: detected capacity change from 0 to 32768 [ 122.094284][ T6818] loop3: detected capacity change from 0 to 32768 [pid 6818] mount("/dev/loop3", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6820] <... write resumed>) = 16777216 [pid 6820] munmap(0x7f5e2dc00000, 138412032 [pid 6819] <... write resumed>) = 16777216 [pid 6820] <... munmap resumed>) = 0 [pid 6819] munmap(0x7f5e2dc00000, 138412032 [pid 6820] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6819] <... munmap resumed>) = 0 [pid 6820] ioctl(4, LOOP_SET_FD, 3 [pid 6819] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6819] ioctl(4, LOOP_SET_FD, 3 [pid 6820] <... ioctl resumed>) = 0 [pid 6820] close(3) = 0 [pid 6820] close(4) = 0 [pid 6819] <... ioctl resumed>) = 0 [pid 6820] mkdir("./file0", 0777 [pid 6819] close(3 [pid 6820] <... mkdir resumed>) = 0 [pid 6819] <... close resumed>) = 0 [pid 6819] close(4) = 0 [pid 6820] mount("/dev/loop2", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6819] mkdir("./file0", 0777) = 0 [ 122.239944][ T6820] loop2: detected capacity change from 0 to 32768 [ 122.242069][ T6819] loop4: detected capacity change from 0 to 32768 [ 122.415774][ T6818] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 122.416044][ T6814] 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 [ 122.426836][ T6818] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 122.447312][ T6817] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 122.466781][ T6814] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 122.482278][ T6814] bcachefs (loop0): Version upgrade required: [ 122.482278][ T6814] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 122.482278][ T6814] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 122.482278][ T6814] 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 [ 122.492923][ T6817] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 122.568512][ T6819] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 122.569445][ T6814] bcachefs (loop0): dropping and reconstructing all alloc info [ 122.590942][ T6819] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 122.599178][ T6820] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 122.623230][ T6820] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 122.662651][ T6814] bcachefs (loop0): check_topology... done [ 122.683082][ T6814] bcachefs (loop0): accounting_read... done [ 122.709893][ T6814] bcachefs (loop0): alloc_read... done [ 122.735942][ T6814] bcachefs (loop0): stripes_read... done [ 122.741673][ T6814] bcachefs (loop0): snapshots_read... done [pid 6819] mount("/dev/loop4", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6817] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6817] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 6817] ioctl(3, LOOP_CLR_FD) = 0 [ 122.750505][ T6814] bcachefs (loop0): check_allocations... [ 122.759708][ T6817] bcachefs: bch2_fs_get_tree() error: EINVAL [ 122.786526][ T6814] done [ 122.790723][ T6814] bcachefs (loop0): going read-write [pid 6817] close(3 [pid 6818] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6818] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 6818] ioctl(3, LOOP_CLR_FD) = 0 [ 122.829162][ T6818] bcachefs: bch2_fs_get_tree() error: EINVAL [ 122.864920][ T6814] bcachefs (loop0): done starting filesystem [pid 6818] close(3 [pid 6814] <... mount resumed>) = 0 [ 122.873753][ T6819] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6814] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6814] chdir("./file0") = 0 [pid 6814] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6819] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6814] ioctl(4, LOOP_CLR_FD [pid 6819] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6814] <... ioctl resumed>) = 0 [pid 6814] close(4 [pid 6819] <... openat resumed>) = 3 [pid 6814] <... close resumed>) = 0 [pid 6819] ioctl(3, LOOP_CLR_FD [pid 6814] unlinkat(AT_FDCWD, "./file1", 0 [pid 6819] <... ioctl resumed>) = 0 [pid 6819] close(3 [pid 6814] <... unlinkat resumed>) = 0 [pid 6814] exit_group(0) = ? [pid 6814] +++ exited with 0 +++ [pid 5840] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6814, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=47 /* 0.47 s */} --- [pid 5840] umount2("./19", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./19", 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, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5840] umount2("./19/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./19/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] unlink("./19/binderfs") = 0 [pid 5840] umount2("./19/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6820] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6820] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 6820] ioctl(3, LOOP_CLR_FD) = 0 [ 122.966639][ T5840] bcachefs (loop0): shutting down [ 122.974527][ T6820] bcachefs: bch2_fs_get_tree() error: EINVAL [ 123.004680][ T5840] bcachefs (loop0): going read-only [ 123.009927][ T5840] bcachefs (loop0): finished waiting for writes to stop [ 123.104737][ T5840] bcachefs (loop0): flushing journal and stopping allocators, journal seq 12 [pid 6820] close(3 [pid 6818] <... close resumed>) = 0 [pid 6818] unlinkat(AT_FDCWD, "./file1", 0) = -1 ENOENT (No such file or directory) [pid 6818] exit_group(0) = ? [pid 6818] +++ exited with 0 +++ [pid 5843] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6818, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=43 /* 0.43 s */} --- [pid 5843] restart_syscall(<... resuming interrupted clone ...> [pid 5841] <... umount2 resumed>) = 0 [pid 5841] umount2("./16/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] <... restart_syscall resumed>) = 0 [pid 5843] umount2("./21", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5843] openat(AT_FDCWD, "./21", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5843] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] umount2("./21/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] newfstatat(AT_FDCWD, "./16/file0", [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] newfstatat(AT_FDCWD, "./21/binderfs", [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] unlink("./21/binderfs") = 0 [pid 5843] umount2("./21/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5843] newfstatat(AT_FDCWD, "./21/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] umount2("./21/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5843] openat(AT_FDCWD, "./21/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5843] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5843] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5843] close(4) = 0 [pid 5843] rmdir("./21/file0") = 0 [pid 5843] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5843] close(3) = 0 [pid 5843] rmdir("./21") = 0 [pid 5843] mkdir("./22", 0777) = 0 [pid 5843] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5843] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5843] close(3) = 0 [pid 5841] umount2("./16/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6859 attached [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] openat(AT_FDCWD, "./16/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6859] set_robust_list(0x55558491f660, 24 [pid 5843] <... clone resumed>, child_tidptr=0x55558491f650) = 6859 [pid 5841] <... openat resumed>) = 4 [pid 6859] <... set_robust_list resumed>) = 0 [pid 6859] chdir("./22" [pid 5841] newfstatat(4, "", [pid 6859] <... chdir resumed>) = 0 [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 executing program [pid 6859] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5841] getdents64(4, [pid 6859] <... prctl resumed>) = 0 [pid 6859] setpgid(0, 0) = 0 [pid 6859] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6859] write(3, "1000", 4) = 4 [pid 6859] close(3) = 0 [pid 6859] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6859] write(1, "executing program\n", 18) = 18 [pid 6859] memfd_create("syzkaller", 0) = 3 [pid 6859] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 5841] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5841] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5841] close(4) = 0 [pid 5841] rmdir("./16/file0") = 0 [pid 5841] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [ 123.223526][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 54) [pid 5841] close(3) = 0 [pid 5841] rmdir("./16") = 0 [pid 5841] mkdir("./17", 0777 [pid 6820] <... close resumed>) = 0 [pid 5841] <... mkdir resumed>) = 0 [pid 6820] unlinkat(AT_FDCWD, "./file1", 0) = -1 ENOENT (No such file or directory) [pid 5841] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6820] exit_group(0) = ? [pid 6820] +++ exited with 0 +++ [pid 6817] <... close resumed>) = 0 [pid 5841] <... openat resumed>) = 3 [pid 5842] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6820, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=49 /* 0.49 s */} --- [pid 5842] restart_syscall(<... resuming interrupted clone ...> [pid 5841] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 6817] unlinkat(AT_FDCWD, "./file1", 0 [pid 5842] <... restart_syscall resumed>) = 0 [pid 5841] close(3 [pid 6817] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5841] <... close resumed>) = 0 [pid 6817] exit_group(0 [pid 5841] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6817] <... exit_group resumed>) = ? [pid 5842] umount2("./22", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 6817] +++ exited with 0 +++ [ 123.267991][ T11] bcachefs (loop0): fatal error - emergency read only [pid 5842] openat(AT_FDCWD, "./22", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6817, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=43 /* 0.43 s */} --- [pid 5842] <... openat resumed>) = 3 [pid 5841] <... clone resumed>, child_tidptr=0x55558491f650) = 6860 [pid 5845] restart_syscall(<... resuming interrupted clone ...>./strace-static-x86_64: Process 6860 attached ) = 0 [pid 5842] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] umount2("./18", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] getdents64(3, [pid 6860] set_robust_list(0x55558491f660, 24 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5845] openat(AT_FDCWD, "./18", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6860] <... set_robust_list resumed>) = 0 [pid 5842] umount2("./22/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] <... openat resumed>) = 3 [pid 6860] chdir("./17" [pid 6819] <... close resumed>) = 0 [pid 5845] newfstatat(3, "", [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6860] <... chdir resumed>) = 0 [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] newfstatat(AT_FDCWD, "./22/binderfs", [pid 5845] getdents64(3, [pid 6860] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5842] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 6860] <... prctl resumed>) = 0 [pid 5845] umount2("./18/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] unlink("./22/binderfs" [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6860] setpgid(0, 0 [pid 5845] newfstatat(AT_FDCWD, "./18/binderfs", [pid 5842] <... unlink resumed>) = 0 [pid 6860] <... setpgid resumed>) = 0 [pid 5845] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] umount2("./22/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6860] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6819] unlinkat(AT_FDCWD, "./file1", 0 [pid 5845] unlink("./18/binderfs" [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6860] <... openat resumed>) = 3 [pid 6819] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5842] newfstatat(AT_FDCWD, "./22/file0", [pid 6860] write(3, "1000", 4 [pid 5845] <... unlink resumed>) = 0 [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6819] exit_group(0 [pid 6860] <... write resumed>) = 4 [pid 5845] umount2("./18/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] umount2("./22/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] openat(AT_FDCWD, "./22/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORYexecuting program [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] <... openat resumed>) = 4 [pid 6819] <... exit_group resumed>) = ? [pid 5842] newfstatat(4, "", [pid 5845] newfstatat(AT_FDCWD, "./18/file0", [pid 6860] close(3 [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6860] <... close resumed>) = 0 [pid 5842] getdents64(4, [pid 6860] symlink("/dev/binderfs", "./binderfs" [pid 5842] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 6860] <... symlink resumed>) = 0 [pid 5842] getdents64(4, [pid 6860] write(1, "executing program\n", 18 [pid 5842] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 6860] <... write resumed>) = 18 [pid 6819] +++ exited with 0 +++ [pid 5842] close(4 [pid 6860] memfd_create("syzkaller", 0 [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] <... close resumed>) = 0 [pid 5842] rmdir("./22/file0" [pid 6860] <... memfd_create resumed>) = 3 [pid 5842] <... rmdir resumed>) = 0 [pid 6860] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5844] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6819, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=49 /* 0.49 s */} --- [pid 5842] getdents64(3, [pid 5845] umount2("./18/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] restart_syscall(<... resuming interrupted clone ...> [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] <... restart_syscall resumed>) = 0 [pid 5845] openat(AT_FDCWD, "./18/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5842] close(3) = 0 [pid 5845] <... openat resumed>) = 4 [pid 5844] umount2("./14", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] rmdir("./22" [pid 5845] newfstatat(4, "", [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] <... rmdir resumed>) = 0 [pid 5844] openat(AT_FDCWD, "./14", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [ 123.313498][ T5840] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 123.345534][ T5840] bcachefs (loop0): unshutdown complete, journal seq 14 [pid 5842] mkdir("./23", 0777 [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] <... openat resumed>) = 3 [pid 5842] <... mkdir resumed>) = 0 [pid 6860] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5842] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5842] ioctl(3, LOOP_CLR_FD [pid 5844] newfstatat(3, "", [pid 5842] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5842] close(3) = 0 [pid 5842] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6861 attached , child_tidptr=0x55558491f650) = 6861 [pid 6861] set_robust_list(0x55558491f660, 24 [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6861] <... set_robust_list resumed>) = 0 [pid 6861] chdir("./23" [pid 5844] getdents64(3, [pid 5845] getdents64(4, [pid 5844] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5845] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5844] umount2("./14/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 6861] <... chdir resumed>) = 0 [pid 6861] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6861] setpgid(0, 0) = 0 [pid 6861] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5845] getdents64(4, [pid 5844] newfstatat(AT_FDCWD, "./14/binderfs", [pid 6861] <... openat resumed>) = 3 [pid 5845] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5844] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] close(4 [pid 5844] unlink("./14/binderfs") = 0 [pid 5845] <... close resumed>) = 0 [pid 5844] umount2("./14/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] rmdir("./18/file0" [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] newfstatat(AT_FDCWD, "./14/file0", [pid 6861] write(3, "1000", 4 [pid 5845] <... rmdir resumed>) = 0 [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 123.357646][ T5840] bcachefs (loop0): done going read-only, filesystem not clean [pid 5845] getdents64(3, [pid 6861] <... write resumed>) = 4 [pid 5844] umount2("./14/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6861] close(3 [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 6861] <... close resumed>) = 0 executing program [pid 6861] symlink("/dev/binderfs", "./binderfs" [pid 5845] close(3 [pid 5844] openat(AT_FDCWD, "./14/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6861] <... symlink resumed>) = 0 [pid 5845] <... close resumed>) = 0 [pid 6861] write(1, "executing program\n", 18 [pid 5844] <... openat resumed>) = 4 [pid 5845] rmdir("./18" [pid 5844] newfstatat(4, "", [pid 6861] <... write resumed>) = 18 [pid 6861] memfd_create("syzkaller", 0 [pid 5845] <... rmdir resumed>) = 0 [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6861] <... memfd_create resumed>) = 3 [pid 6861] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 5845] mkdir("./19", 0777 [pid 5844] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5844] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5845] <... mkdir resumed>) = 0 [pid 5844] close(4) = 0 [pid 5845] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5844] rmdir("./14/file0") = 0 [pid 5845] <... openat resumed>) = 3 [pid 5844] getdents64(3, [pid 5845] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5844] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5845] close(3) = 0 [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5844] close(3) = 0 [pid 5845] <... clone resumed>, child_tidptr=0x55558491f650) = 6862 [pid 5844] rmdir("./14") = 0 [pid 5844] mkdir("./15", 0777./strace-static-x86_64: Process 6862 attached ) = 0 [pid 5844] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5844] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5844] close(3) = 0 [pid 5844] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6862] set_robust_list(0x55558491f660, 24) = 0 [pid 6862] chdir("./19") = 0 [pid 6862] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5844] <... clone resumed>, child_tidptr=0x55558491f650) = 6863 ./strace-static-x86_64: Process 6863 attached [pid 6862] setpgid(0, 0 [pid 6863] set_robust_list(0x55558491f660, 24) = 0 [pid 6862] <... setpgid resumed>) = 0 [pid 6862] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [ 123.424958][ T5840] bcachefs (loop0): shutdown complete [pid 6863] chdir("./15" [pid 6862] write(3, "1000", 4 [pid 6863] <... chdir resumed>) = 0 [pid 6862] <... write resumed>) = 4 [pid 6862] close(3) = 0 [pid 6862] symlink("/dev/binderfs", "./binderfs" [pid 6863] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6862] <... symlink resumed>) = 0 [pid 6863] <... prctl resumed>) = 0 [pid 6862] write(1, "executing program\n", 18executing program ) = 18 [pid 6863] setpgid(0, 0 [pid 6862] memfd_create("syzkaller", 0 [pid 6863] <... setpgid resumed>) = 0 [pid 6862] <... memfd_create resumed>) = 3 [pid 6863] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6862] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 6863] <... openat resumed>) = 3 [pid 6863] write(3, "1000", 4) = 4 [pid 6863] close(3) = 0 [pid 6863] symlink("/dev/binderfs", "./binderfs" [pid 6859] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6863] <... symlink resumed>) = 0 [pid 6863] write(1, "executing program\n", 18executing program ) = 18 [pid 6863] memfd_create("syzkaller", 0) = 3 [pid 6863] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 6860] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6861] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6862] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6863] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6859] <... write resumed>) = 16777216 [pid 6859] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 6859] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6859] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6859] close(3) = 0 [pid 6859] close(4) = 0 [pid 6859] mkdir("./file0", 0777) = 0 [ 123.964077][ T6859] loop3: detected capacity change from 0 to 32768 [pid 6859] mount("/dev/loop3", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6860] <... write resumed>) = 16777216 [pid 6860] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 6860] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6860] ioctl(4, LOOP_SET_FD, 3 [pid 6863] <... write resumed>) = 16777216 [pid 6860] <... ioctl resumed>) = 0 [pid 6863] munmap(0x7f5e2dc00000, 138412032 [pid 6860] close(3 [pid 6861] <... write resumed>) = 16777216 [pid 6860] <... close resumed>) = 0 [pid 6860] close(4) = 0 [pid 6860] mkdir("./file0", 0777 [pid 6863] <... munmap resumed>) = 0 [pid 6860] <... mkdir resumed>) = 0 [ 124.143259][ T6860] loop1: detected capacity change from 0 to 32768 [pid 6861] munmap(0x7f5e2dc00000, 138412032 [pid 6863] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6860] mount("/dev/loop1", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6863] <... openat resumed>) = 4 [pid 6863] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6863] close(3) = 0 [pid 6863] close(4 [pid 6861] <... munmap resumed>) = 0 [pid 6863] <... close resumed>) = 0 [pid 6863] mkdir("./file0", 0777 [pid 6861] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6863] <... mkdir resumed>) = 0 [pid 6861] <... openat resumed>) = 4 [pid 6863] mount("/dev/loop4", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6861] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6862] <... write resumed>) = 16777216 [pid 6862] munmap(0x7f5e2dc00000, 138412032 [pid 6861] close(3) = 0 [pid 6861] close(4) = 0 [pid 6861] mkdir("./file0", 0777) = 0 [ 124.205552][ T6863] loop4: detected capacity change from 0 to 32768 [ 124.240279][ T6861] loop2: detected capacity change from 0 to 32768 [pid 6861] mount("/dev/loop2", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6862] <... munmap resumed>) = 0 [pid 6862] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 6862] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6862] close(3) = 0 [pid 6862] close(4) = 0 [pid 6862] mkdir("./file0", 0777) = 0 [ 124.303406][ T6862] loop5: detected capacity change from 0 to 32768 [ 124.431438][ T6859] 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 [ 124.454655][ T6859] bcachefs (loop3): recovering from clean shutdown, journal seq 10 [ 124.462751][ T6859] bcachefs (loop3): Version upgrade required: [ 124.462751][ T6859] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 124.462751][ T6859] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 124.462751][ T6859] 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 [ 124.510316][ T6860] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 124.543421][ T6860] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 124.552333][ T6863] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 124.556936][ T6859] bcachefs (loop3): dropping and reconstructing all alloc info [ 124.569498][ T6862] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 124.582579][ T6863] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 124.620623][ T6859] bcachefs (loop3): check_topology... done [ 124.626910][ T6859] bcachefs (loop3): accounting_read... [ 124.639785][ T6861] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 124.639832][ T6862] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 124.645888][ T6861] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 124.673617][ T6859] done [ 124.676412][ T6859] bcachefs (loop3): alloc_read... done [ 124.681949][ T6859] bcachefs (loop3): stripes_read... done [ 124.688389][ T6859] bcachefs (loop3): snapshots_read... done [ 124.695499][ T6859] bcachefs (loop3): check_allocations... done [ 124.765826][ T6859] bcachefs (loop3): going read-write [pid 6862] mount("/dev/loop5", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6859] <... mount resumed>) = 0 [pid 6863] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6860] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6859] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 6863] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6860] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6859] <... openat resumed>) = 3 [pid 6863] <... openat resumed>) = 3 [pid 6860] <... openat resumed>) = 3 [pid 6859] chdir("./file0" [pid 6860] ioctl(3, LOOP_CLR_FD [pid 6859] <... chdir resumed>) = 0 [pid 6863] ioctl(3, LOOP_CLR_FD [pid 6860] <... ioctl resumed>) = 0 [pid 6859] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6859] ioctl(4, LOOP_CLR_FD) = 0 [pid 6859] close(4) = 0 [pid 6859] unlinkat(AT_FDCWD, "./file1", 0 [ 124.790451][ T6860] bcachefs: bch2_fs_get_tree() error: EINVAL [ 124.798133][ T6859] bcachefs (loop3): done starting filesystem [ 124.800566][ T6863] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6860] close(3 [pid 6863] <... ioctl resumed>) = 0 [pid 6859] <... unlinkat resumed>) = 0 [pid 6863] close(3 [pid 6859] exit_group(0) = ? [pid 6859] +++ exited with 0 +++ [pid 6861] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6861] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5843] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6859, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=33 /* 0.33 s */} --- [pid 6861] <... openat resumed>) = 3 [pid 6861] ioctl(3, LOOP_CLR_FD) = 0 [pid 6861] close(3 [pid 5843] umount2("./22", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5843] openat(AT_FDCWD, "./22", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5843] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5843] umount2("./22/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 124.850860][ T6861] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5843] newfstatat(AT_FDCWD, "./22/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] unlink("./22/binderfs") = 0 [pid 5843] umount2("./22/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] <... umount2 resumed>) = 0 [pid 5840] umount2("./19/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./19/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] umount2("./19/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./19/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 6862] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5840] getdents64(4, [pid 6862] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5840] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5840] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5840] close(4) = 0 [pid 6862] <... openat resumed>) = 3 [pid 5840] rmdir("./19/file0" [pid 6862] ioctl(3, LOOP_CLR_FD [pid 5840] <... rmdir resumed>) = 0 [pid 6862] <... ioctl resumed>) = 0 [pid 5840] getdents64(3, [pid 6862] close(3 [pid 5840] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5840] close(3) = 0 [pid 5840] rmdir("./19") = 0 [pid 5840] mkdir("./20", 0777) = 0 [pid 5840] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5840] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5840] close(3) = 0 [ 124.969710][ T5843] bcachefs (loop3): shutting down [ 124.983090][ T5843] bcachefs (loop3): going read-only [ 124.983160][ T6862] bcachefs: bch2_fs_get_tree() error: EINVAL [ 124.988351][ T5843] bcachefs (loop3): finished waiting for writes to stop [pid 5840] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55558491f650) = 6902 ./strace-static-x86_64: Process 6902 attached [pid 6902] set_robust_list(0x55558491f660, 24) = 0 [pid 6902] chdir("./20") = 0 [pid 6902] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6902] setpgid(0, 0) = 0 [pid 6902] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6902] write(3, "1000", 4) = 4 [pid 6902] close(3) = 0 [pid 6902] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 6902] write(1, "executing program\n", 18) = 18 [pid 6902] memfd_create("syzkaller", 0) = 3 [pid 6902] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [ 125.093384][ T5843] bcachefs (loop3): flushing journal and stopping allocators, journal seq 12 [pid 6863] <... close resumed>) = 0 [pid 6863] unlinkat(AT_FDCWD, "./file1", 0) = -1 ENOENT (No such file or directory) [pid 6863] exit_group(0) = ? [pid 6863] +++ exited with 0 +++ [pid 6862] <... close resumed>) = 0 [pid 6862] unlinkat(AT_FDCWD, "./file1", 0 [pid 5844] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6863, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=46 /* 0.46 s */} --- [pid 6861] <... close resumed>) = 0 [pid 6860] <... close resumed>) = 0 [pid 6862] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5844] restart_syscall(<... resuming interrupted clone ...> [pid 6861] unlinkat(AT_FDCWD, "./file1", 0 [pid 6860] unlinkat(AT_FDCWD, "./file1", 0 [pid 5844] <... restart_syscall resumed>) = 0 [pid 6862] exit_group(0 [pid 6861] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 6860] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 6862] <... exit_group resumed>) = ? [pid 6860] exit_group(0 [pid 6862] +++ exited with 0 +++ [pid 6861] exit_group(0 [pid 6860] <... exit_group resumed>) = ? [ 125.265202][ T11] bcachefs (loop3): bch2_write_super(): fatal error loop3: Superblock write was silently dropped! (seq 0 expected 54) [ 125.296442][ T11] bcachefs (loop3): fatal error - emergency read only [pid 6861] <... exit_group resumed>) = ? [pid 6860] +++ exited with 0 +++ [pid 5844] umount2("./15", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5841] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6860, si_uid=0, si_status=0, si_utime=0, si_stime=47 /* 0.47 s */} --- [pid 5844] openat(AT_FDCWD, "./15", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6862, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=44 /* 0.44 s */} --- [pid 5841] umount2("./17", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6861] +++ exited with 0 +++ [pid 5844] <... openat resumed>) = 3 [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] openat(AT_FDCWD, "./17", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5844] newfstatat(3, "", [pid 5841] <... openat resumed>) = 3 [pid 5845] umount2("./19", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6861, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=49 /* 0.49 s */} --- [pid 5841] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] openat(AT_FDCWD, "./19", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5844] getdents64(3, [pid 5841] getdents64(3, [pid 5844] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5845] <... openat resumed>) = 3 [pid 5842] umount2("./23", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] umount2("./15/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5845] newfstatat(3, "", [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] umount2("./17/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] newfstatat(AT_FDCWD, "./15/binderfs", [pid 5842] openat(AT_FDCWD, "./23", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5845] getdents64(3, [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] <... openat resumed>) = 3 [ 125.308726][ T5843] bcachefs (loop3): flushing journal and stopping allocators complete, journal seq 14 [ 125.322067][ T5843] bcachefs (loop3): unshutdown complete, journal seq 14 [ 125.334306][ T5843] bcachefs (loop3): done going read-only, filesystem not clean [pid 6902] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5844] unlink("./15/binderfs" [pid 5842] newfstatat(3, "", [pid 5841] newfstatat(AT_FDCWD, "./17/binderfs", [pid 5845] umount2("./19/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] <... unlink resumed>) = 0 [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] umount2("./15/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] getdents64(3, [pid 5845] newfstatat(AT_FDCWD, "./19/binderfs", [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5841] unlink("./17/binderfs" [pid 5845] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] newfstatat(AT_FDCWD, "./15/file0", [pid 5842] umount2("./23/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] unlink("./19/binderfs" [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] <... unlink resumed>) = 0 [pid 5845] <... unlink resumed>) = 0 [pid 5844] umount2("./15/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] umount2("./17/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] umount2("./19/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] newfstatat(AT_FDCWD, "./23/binderfs", [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] openat(AT_FDCWD, "./15/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./19/file0", [pid 5842] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] newfstatat(AT_FDCWD, "./17/file0", [pid 5842] unlink("./23/binderfs" [ 125.368573][ T5843] bcachefs (loop3): shutdown complete [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] <... openat resumed>) = 4 [pid 5842] <... unlink resumed>) = 0 [pid 5841] umount2("./17/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] umount2("./19/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] newfstatat(4, "", [pid 5842] umount2("./23/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./19/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5844] getdents64(4, [pid 5842] newfstatat(AT_FDCWD, "./23/file0", [pid 5841] openat(AT_FDCWD, "./17/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5845] <... openat resumed>) = 4 [pid 5845] newfstatat(4, "", [pid 5844] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] <... openat resumed>) = 4 [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] getdents64(4, [pid 5842] umount2("./23/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] newfstatat(4, "", [pid 5845] getdents64(4, [pid 5844] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5842] openat(AT_FDCWD, "./23/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] getdents64(4, [pid 5844] close(4 [pid 5842] <... openat resumed>) = 4 [pid 5845] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5844] <... close resumed>) = 0 [pid 5842] newfstatat(4, "", [pid 5841] getdents64(4, [pid 5845] close(4 [pid 5844] rmdir("./15/file0" [pid 5845] <... close resumed>) = 0 [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5845] rmdir("./19/file0" [pid 5842] getdents64(4, [pid 5845] <... rmdir resumed>) = 0 [pid 5844] <... rmdir resumed>) = 0 [pid 5845] getdents64(3, [pid 5841] getdents64(4, [pid 5842] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5841] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5845] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5844] getdents64(3, [pid 5842] getdents64(4, [pid 5841] close(4 [pid 5845] close(3 [pid 5844] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5842] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5841] <... close resumed>) = 0 [pid 5845] <... close resumed>) = 0 [pid 5844] close(3 [pid 5842] close(4 [pid 5841] rmdir("./17/file0" [pid 5845] rmdir("./19" [pid 5844] <... close resumed>) = 0 [pid 5842] <... close resumed>) = 0 [pid 5841] <... rmdir resumed>) = 0 [pid 5842] rmdir("./23/file0" [pid 5841] getdents64(3, [pid 5842] <... rmdir resumed>) = 0 [pid 5841] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5842] getdents64(3, [pid 5841] close(3 [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5841] <... close resumed>) = 0 [pid 5842] close(3 [pid 5841] rmdir("./17" [pid 5842] <... close resumed>) = 0 [pid 5841] <... rmdir resumed>) = 0 [pid 5845] <... rmdir resumed>) = 0 [pid 5844] rmdir("./15" [pid 5842] rmdir("./23" [pid 5841] mkdir("./18", 0777 [pid 5845] mkdir("./20", 0777 [pid 5844] <... rmdir resumed>) = 0 [pid 5842] <... rmdir resumed>) = 0 [pid 5841] <... mkdir resumed>) = 0 [pid 5842] mkdir("./24", 0777 [pid 5841] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5845] <... mkdir resumed>) = 0 [pid 5844] mkdir("./16", 0777 [pid 5842] <... mkdir resumed>) = 0 [pid 5841] <... openat resumed>) = 3 [pid 5841] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5841] close(3 [pid 5844] <... mkdir resumed>) = 0 [pid 5841] <... close resumed>) = 0 [pid 5844] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5841] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6903 attached [pid 5844] <... openat resumed>) = 3 [pid 5842] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6903] set_robust_list(0x55558491f660, 24 [pid 5842] <... openat resumed>) = 3 [pid 5841] <... clone resumed>, child_tidptr=0x55558491f650) = 6903 [pid 6903] <... set_robust_list resumed>) = 0 [pid 6903] chdir("./18" [pid 5845] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5844] ioctl(3, LOOP_CLR_FD [pid 5842] ioctl(3, LOOP_CLR_FD [pid 6903] <... chdir resumed>) = 0 [pid 5842] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6903] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5845] <... openat resumed>) = 3 [pid 5844] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6903] <... prctl resumed>) = 0 [pid 5844] close(3 [pid 6903] setpgid(0, 0 [pid 5845] ioctl(3, LOOP_CLR_FD [pid 5844] <... close resumed>) = 0 [pid 5842] close(3 [pid 6903] <... setpgid resumed>) = 0 [pid 5844] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5842] <... close resumed>) = 0 [pid 6903] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC./strace-static-x86_64: Process 6904 attached [pid 5845] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5842] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6905 attached [pid 6904] set_robust_list(0x55558491f660, 24 [pid 6903] <... openat resumed>) = 3 [pid 5845] close(3 [pid 5844] <... clone resumed>, child_tidptr=0x55558491f650) = 6904 [pid 6904] <... set_robust_list resumed>) = 0 [pid 6904] chdir("./16") = 0 [pid 6903] write(3, "1000", 4 [pid 6904] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6903] <... write resumed>) = 4 [pid 6904] <... prctl resumed>) = 0 [pid 6903] close(3 [pid 6904] setpgid(0, 0 [pid 6903] <... close resumed>) = 0 [pid 6904] <... setpgid resumed>) = 0 [pid 6903] symlink("/dev/binderfs", "./binderfs"executing program [pid 6904] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6903] <... symlink resumed>) = 0 [pid 5842] <... clone resumed>, child_tidptr=0x55558491f650) = 6905 [pid 6904] <... openat resumed>) = 3 [pid 6903] write(1, "executing program\n", 18 [pid 6904] write(3, "1000", 4 [pid 6903] <... write resumed>) = 18 [pid 6904] <... write resumed>) = 4 [pid 6903] memfd_create("syzkaller", 0 [pid 6904] close(3 [pid 6903] <... memfd_create resumed>) = 3 [pid 6904] <... close resumed>) = 0 [pid 6903] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6904] symlink("/dev/binderfs", "./binderfs" [pid 6903] <... mmap resumed>) = 0x7f5e2dc00000 [pid 6905] set_robust_list(0x55558491f660, 24 [pid 6904] <... symlink resumed>) = 0 [pid 5845] <... close resumed>) = 0 [pid 6905] <... set_robust_list resumed>) = 0 [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLDexecuting program [pid 6904] write(1, "executing program\n", 18) = 18 ./strace-static-x86_64: Process 6906 attached [pid 6905] chdir("./24" [pid 6904] memfd_create("syzkaller", 0 [pid 5845] <... clone resumed>, child_tidptr=0x55558491f650) = 6906 [pid 6906] set_robust_list(0x55558491f660, 24 [pid 6905] <... chdir resumed>) = 0 [pid 6904] <... memfd_create resumed>) = 3 [pid 6906] <... set_robust_list resumed>) = 0 [pid 6905] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6904] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6906] chdir("./20" [pid 6905] <... prctl resumed>) = 0 [pid 6905] setpgid(0, 0 [pid 6904] <... mmap resumed>) = 0x7f5e2dc00000 [pid 6906] <... chdir resumed>) = 0 [pid 6905] <... setpgid resumed>) = 0 [pid 6906] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6905] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6906] setpgid(0, 0 [pid 6905] <... openat resumed>) = 3 [pid 6906] <... setpgid resumed>) = 0 [pid 6905] write(3, "1000", 4 [pid 6906] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6905] <... write resumed>) = 4 [pid 6906] <... openat resumed>) = 3 [pid 6905] close(3) = 0 [pid 6905] symlink("/dev/binderfs", "./binderfs" [pid 6906] write(3, "1000", 4 [pid 6905] <... symlink resumed>) = 0 [pid 6905] write(1, "executing program\n", 18executing program [pid 6906] <... write resumed>) = 4 [pid 6905] <... write resumed>) = 18 [pid 6906] close(3 [pid 6905] memfd_create("syzkaller", 0 [pid 6906] <... close resumed>) = 0 [pid 6905] <... memfd_create resumed>) = 3 [pid 6906] symlink("/dev/binderfs", "./binderfs" [pid 6905] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 6906] <... symlink resumed>) = 0 [pid 6906] write(1, "executing program\n", 18executing program ) = 18 [pid 6906] memfd_create("syzkaller", 0) = 3 [pid 6906] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 6902] <... write resumed>) = 16777216 [pid 6902] munmap(0x7f5e2dc00000, 138412032 [pid 6903] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6904] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6902] <... munmap resumed>) = 0 [pid 6902] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6902] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6902] close(3) = 0 [pid 6902] close(4) = 0 [pid 6902] mkdir("./file0", 0777) = 0 [pid 6905] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 [ 125.748610][ T6902] loop0: detected capacity change from 0 to 32768 [pid 6902] mount("/dev/loop0", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6906] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6903] <... write resumed>) = 16777216 [pid 6903] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 6903] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6903] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6903] close(3) = 0 [pid 6903] close(4) = 0 [pid 6903] mkdir("./file0", 0777) = 0 [ 126.077655][ T6903] loop1: detected capacity change from 0 to 32768 [pid 6903] mount("/dev/loop1", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6904] <... write resumed>) = 16777216 [pid 6904] munmap(0x7f5e2dc00000, 138412032 [pid 6905] <... write resumed>) = 16777216 [pid 6905] munmap(0x7f5e2dc00000, 138412032 [pid 6904] <... munmap resumed>) = 0 [pid 6905] <... munmap resumed>) = 0 [pid 6904] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6904] ioctl(4, LOOP_SET_FD, 3 [pid 6905] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6905] ioctl(4, LOOP_SET_FD, 3 [pid 6904] <... ioctl resumed>) = 0 [pid 6904] close(3) = 0 [pid 6904] close(4) = 0 [pid 6906] <... write resumed>) = 16777216 [pid 6905] <... ioctl resumed>) = 0 [pid 6906] munmap(0x7f5e2dc00000, 138412032 [pid 6905] close(3 [pid 6904] mkdir("./file0", 0777 [pid 6905] <... close resumed>) = 0 [pid 6905] close(4) = 0 [pid 6905] mkdir("./file0", 0777) = 0 [pid 6905] mount("/dev/loop2", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6904] <... mkdir resumed>) = 0 [pid 6904] mount("/dev/loop4", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6906] <... munmap resumed>) = 0 [ 126.218160][ T6904] loop4: detected capacity change from 0 to 32768 [ 126.225961][ T6905] loop2: detected capacity change from 0 to 32768 [pid 6906] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 6906] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6906] close(3) = 0 [pid 6906] close(4) = 0 [pid 6906] mkdir("./file0", 0777) = 0 [ 126.278196][ T6906] loop5: detected capacity change from 0 to 32768 [ 126.424654][ T6903] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 126.424962][ T6902] 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 [ 126.456528][ T6902] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 126.465066][ T6902] bcachefs (loop0): Version upgrade required: [ 126.465066][ T6902] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 126.465066][ T6902] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 126.465066][ T6902] 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 [ 126.465251][ T6903] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 126.545617][ T6905] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 126.565466][ T6905] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 126.572342][ T6902] bcachefs (loop0): dropping and reconstructing all alloc info [ 126.595796][ T6902] bcachefs (loop0): check_topology... done [ 126.620011][ T6902] bcachefs (loop0): accounting_read... [ 126.621219][ T6904] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 126.646138][ T6904] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 126.654663][ T6906] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 126.666772][ T6906] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 126.679692][ T6902] done [ 126.682492][ T6902] bcachefs (loop0): alloc_read... done [ 126.729673][ T6902] bcachefs (loop0): stripes_read... done [ 126.762853][ T6902] bcachefs (loop0): snapshots_read... done [pid 6906] mount("/dev/loop5", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6903] <... mount resumed>) = -1 EINVAL (Invalid argument) [ 126.789273][ T6902] bcachefs (loop0): check_allocations... [ 126.793578][ T6903] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6903] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 6903] ioctl(3, LOOP_CLR_FD) = 0 [pid 6903] close(3 [pid 6904] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6905] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6904] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 6904] ioctl(3, LOOP_CLR_FD) = 0 [pid 6904] close(3 [pid 6905] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6906] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6905] <... openat resumed>) = 3 [ 126.839847][ T6904] bcachefs: bch2_fs_get_tree() error: EINVAL [ 126.858963][ T6905] bcachefs: bch2_fs_get_tree() error: EINVAL [ 126.873488][ T6906] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6905] ioctl(3, LOOP_CLR_FD [pid 6906] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6905] <... ioctl resumed>) = 0 [pid 6906] <... openat resumed>) = 3 [pid 6905] close(3 [pid 5843] <... umount2 resumed>) = 0 [pid 6906] ioctl(3, LOOP_CLR_FD [pid 5843] umount2("./22/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6906] <... ioctl resumed>) = 0 [ 126.921168][ T6902] done [pid 6906] close(3 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] newfstatat(AT_FDCWD, "./22/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] umount2("./22/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5843] openat(AT_FDCWD, "./22/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5843] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5843] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5843] close(4 [pid 6902] <... mount resumed>) = 0 [pid 5843] <... close resumed>) = 0 [pid 6902] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6902] chdir("./file0") = 0 [pid 6902] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5843] rmdir("./22/file0" [pid 6902] ioctl(4, LOOP_CLR_FD) = 0 [pid 6902] close(4) = 0 [pid 6902] unlinkat(AT_FDCWD, "./file1", 0 [pid 5843] <... rmdir resumed>) = 0 [pid 5843] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [ 126.965647][ T6902] bcachefs (loop0): going read-write [ 126.982410][ T6902] bcachefs (loop0): done starting filesystem [pid 5843] close(3) = 0 [pid 5843] rmdir("./22") = 0 [pid 5843] mkdir("./23", 0777 [pid 6902] <... unlinkat resumed>) = 0 [pid 6902] exit_group(0) = ? [pid 6902] +++ exited with 0 +++ [pid 5843] <... mkdir resumed>) = 0 [pid 5843] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5840] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6902, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=43 /* 0.43 s */} --- [pid 5843] <... openat resumed>) = 3 [pid 5843] ioctl(3, LOOP_CLR_FD [pid 5840] umount2("./20", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] close(3 [pid 5840] openat(AT_FDCWD, "./20", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5843] <... close resumed>) = 0 [pid 5840] <... openat resumed>) = 3 [pid 5843] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5840] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5840] umount2("./20/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./20/binderfs", ./strace-static-x86_64: Process 6945 attached {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] <... clone resumed>, child_tidptr=0x55558491f650) = 6945 [pid 5840] unlink("./20/binderfs") = 0 [pid 5840] umount2("./20/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6945] set_robust_list(0x55558491f660, 24) = 0 [pid 6945] chdir("./23") = 0 [pid 6945] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6945] setpgid(0, 0) = 0 [pid 6945] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6945] write(3, "1000", 4) = 4 [pid 6945] close(3) = 0 [pid 6945] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6945] write(1, "executing program\n", 18) = 18 [pid 6945] memfd_create("syzkaller", 0) = 3 [pid 6945] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [ 127.076939][ T5840] bcachefs (loop0): shutting down [ 127.082112][ T5840] bcachefs (loop0): going read-only [ 127.105732][ T5840] bcachefs (loop0): finished waiting for writes to stop [ 127.213555][ T5840] bcachefs (loop0): flushing journal and stopping allocators, journal seq 12 [pid 6945] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6903] <... close resumed>) = 0 [pid 6904] <... close resumed>) = 0 [pid 6903] unlinkat(AT_FDCWD, "./file1", 0) = -1 ENOENT (No such file or directory) [pid 6903] exit_group(0) = ? [pid 6903] +++ exited with 0 +++ [pid 5841] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6903, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=45 /* 0.45 s */} --- [pid 6904] unlinkat(AT_FDCWD, "./file1", 0) = -1 ENOENT (No such file or directory) [pid 6904] exit_group(0 [pid 5841] umount2("./18", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6904] <... exit_group resumed>) = ? [pid 6904] +++ exited with 0 +++ [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6904, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=44 /* 0.44 s */} --- [pid 5841] openat(AT_FDCWD, "./18", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5841] newfstatat(3, "", [pid 5844] umount2("./16", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] getdents64(3, [pid 5844] openat(AT_FDCWD, "./16", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5841] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5844] <... openat resumed>) = 3 [pid 5844] newfstatat(3, "", [pid 5841] umount2("./18/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] getdents64(3, [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5841] newfstatat(AT_FDCWD, "./18/binderfs", [pid 6906] <... close resumed>) = 0 [pid 6905] <... close resumed>) = 0 [pid 5844] umount2("./16/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] unlink("./18/binderfs" [pid 5844] newfstatat(AT_FDCWD, "./16/binderfs", [pid 5841] <... unlink resumed>) = 0 [pid 5844] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] umount2("./18/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] unlink("./16/binderfs" [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] <... unlink resumed>) = 0 [pid 5841] newfstatat(AT_FDCWD, "./18/file0", [pid 5844] umount2("./16/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] umount2("./18/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] newfstatat(AT_FDCWD, "./16/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] umount2("./16/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] openat(AT_FDCWD, "./18/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6905] unlinkat(AT_FDCWD, "./file1", 0 [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] <... openat resumed>) = 4 [pid 6905] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5844] openat(AT_FDCWD, "./16/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5841] newfstatat(4, "", [pid 6905] exit_group(0 [pid 5844] <... openat resumed>) = 4 [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6905] <... exit_group resumed>) = ? [pid 5844] newfstatat(4, "", [pid 5841] getdents64(4, [pid 6905] +++ exited with 0 +++ [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 6906] unlinkat(AT_FDCWD, "./file1", 0 [pid 5844] getdents64(4, [pid 5841] getdents64(4, [pid 6906] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5844] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5841] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 6906] exit_group(0 [pid 5844] getdents64(4, [pid 5841] close(4 [pid 6906] <... exit_group resumed>) = ? [pid 5844] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5842] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6905, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=45 /* 0.45 s */} --- [pid 5841] <... close resumed>) = 0 [pid 6906] +++ exited with 0 +++ [pid 5844] close(4 [pid 5842] restart_syscall(<... resuming interrupted clone ...> [pid 5841] rmdir("./18/file0" [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6906, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=48 /* 0.48 s */} --- [pid 5844] <... close resumed>) = 0 [pid 5842] <... restart_syscall resumed>) = 0 [pid 5841] <... rmdir resumed>) = 0 [pid 5844] rmdir("./16/file0" [pid 5841] getdents64(3, [pid 5844] <... rmdir resumed>) = 0 [ 127.337668][ T81] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 54) [ 127.351662][ T81] bcachefs (loop0): fatal error - emergency read only [ 127.359659][ T5840] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [pid 5841] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5845] umount2("./20", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] getdents64(3, [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5841] close(3 [pid 5845] openat(AT_FDCWD, "./20", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5844] close(3 [pid 5845] <... openat resumed>) = 3 [pid 5844] <... close resumed>) = 0 [pid 5845] newfstatat(3, "", [pid 5844] rmdir("./16" [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] <... rmdir resumed>) = 0 [pid 5845] getdents64(3, [pid 5844] mkdir("./17", 0777 [pid 5841] <... close resumed>) = 0 [pid 5845] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5844] <... mkdir resumed>) = 0 [pid 5842] umount2("./24", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] rmdir("./18" [pid 5845] umount2("./20/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] <... rmdir resumed>) = 0 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] mkdir("./19", 0777 [pid 5845] newfstatat(AT_FDCWD, "./20/binderfs", [pid 5844] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5841] <... mkdir resumed>) = 0 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] <... openat resumed>) = 3 [pid 5842] openat(AT_FDCWD, "./24", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5841] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5845] unlink("./20/binderfs" [pid 5844] ioctl(3, LOOP_CLR_FD [pid 5842] <... openat resumed>) = 3 [pid 5841] <... openat resumed>) = 3 [pid 5845] <... unlink resumed>) = 0 [pid 5844] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5845] umount2("./20/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] close(3 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] <... close resumed>) = 0 [pid 5842] newfstatat(3, "", [pid 5845] newfstatat(AT_FDCWD, "./20/file0", [pid 5844] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6946 attached [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6946] set_robust_list(0x55558491f660, 24 [pid 5842] getdents64(3, [pid 6946] <... set_robust_list resumed>) = 0 [pid 5845] umount2("./20/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6946] chdir("./17" [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5845] openat(AT_FDCWD, "./20/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5844] <... clone resumed>, child_tidptr=0x55558491f650) = 6946 [pid 5841] ioctl(3, LOOP_CLR_FD [pid 5845] <... openat resumed>) = 4 [pid 5841] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5845] newfstatat(4, "", [pid 5841] close(3 [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] <... close resumed>) = 0 [pid 5845] getdents64(4, [pid 5842] umount2("./24/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6946] <... chdir resumed>) = 0 [pid 5845] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) ./strace-static-x86_64: Process 6947 attached [pid 6946] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5842] newfstatat(AT_FDCWD, "./24/binderfs", [pid 6947] set_robust_list(0x55558491f660, 24 [pid 5845] getdents64(4, [pid 5841] <... clone resumed>, child_tidptr=0x55558491f650) = 6947 [pid 6947] <... set_robust_list resumed>) = 0 [pid 5845] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 6947] chdir("./19" [pid 6946] setpgid(0, 0 [pid 5845] close(4 [pid 5842] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6947] <... chdir resumed>) = 0 [pid 5845] <... close resumed>) = 0 [pid 6947] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5845] rmdir("./20/file0" [pid 6947] <... prctl resumed>) = 0 [pid 5845] <... rmdir resumed>) = 0 [pid 6947] setpgid(0, 0 [pid 5845] getdents64(3, [pid 6947] <... setpgid resumed>) = 0 [pid 6946] <... setpgid resumed>) = 0 [pid 5845] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5842] unlink("./24/binderfs" [pid 6947] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6946] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5845] close(3 [pid 5842] <... unlink resumed>) = 0 [pid 6947] <... openat resumed>) = 3 [pid 6946] <... openat resumed>) = 3 [pid 5845] <... close resumed>) = 0 [pid 5842] umount2("./24/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6946] write(3, "1000", 4 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6946] <... write resumed>) = 4 [pid 5842] newfstatat(AT_FDCWD, "./24/file0", [pid 6946] close(3) = 0 [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6946] symlink("/dev/binderfs", "./binderfs" [pid 5842] umount2("./24/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6947] write(3, "1000", 4 [pid 6946] <... symlink resumed>) = 0 [pid 5845] rmdir("./20"executing program [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6947] <... write resumed>) = 4 [pid 6946] write(1, "executing program\n", 18 [pid 5845] <... rmdir resumed>) = 0 [pid 6947] close(3 [pid 6946] <... write resumed>) = 18 [pid 5845] mkdir("./21", 0777 [pid 5842] openat(AT_FDCWD, "./24/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6947] <... close resumed>) = 0 [pid 6946] memfd_create("syzkaller", 0 [pid 5845] <... mkdir resumed>) = 0 [pid 6947] symlink("/dev/binderfs", "./binderfs"executing program [pid 5842] <... openat resumed>) = 4 [pid 6947] <... symlink resumed>) = 0 [pid 6946] <... memfd_create resumed>) = 3 [pid 5842] newfstatat(4, "", [pid 6947] write(1, "executing program\n", 18 [pid 5845] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6947] <... write resumed>) = 18 [pid 5845] <... openat resumed>) = 3 [pid 5842] getdents64(4, [pid 6947] memfd_create("syzkaller", 0 [pid 5845] ioctl(3, LOOP_CLR_FD [pid 6947] <... memfd_create resumed>) = 3 [pid 6946] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5845] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5842] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5845] close(3 [pid 5842] getdents64(4, [pid 6947] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [ 127.402531][ T5840] bcachefs (loop0): unshutdown complete, journal seq 14 [ 127.437600][ T5840] bcachefs (loop0): done going read-only, filesystem not clean [pid 6946] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5845] <... close resumed>) = 0 [pid 5842] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 6947] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5842] close(4 [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5842] <... close resumed>) = 0 [pid 5842] rmdir("./24/file0"./strace-static-x86_64: Process 6948 attached ) = 0 [pid 5842] getdents64(3, [pid 6948] set_robust_list(0x55558491f660, 24 [pid 5845] <... clone resumed>, child_tidptr=0x55558491f650) = 6948 [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 6948] <... set_robust_list resumed>) = 0 [pid 5842] close(3 [pid 6948] chdir("./21" [pid 5842] <... close resumed>) = 0 [pid 6948] <... chdir resumed>) = 0 [pid 5842] rmdir("./24" [pid 6948] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5842] <... rmdir resumed>) = 0 [pid 6948] setpgid(0, 0 [pid 5842] mkdir("./25", 0777 [pid 6948] <... setpgid resumed>) = 0 [pid 5842] <... mkdir resumed>) = 0 [pid 6948] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5842] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5842] ioctl(3, LOOP_CLR_FD [pid 6948] <... openat resumed>) = 3 [pid 5842] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5842] close(3) = 0 [pid 5842] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55558491f650) = 6949 ./strace-static-x86_64: Process 6949 attached [pid 6949] set_robust_list(0x55558491f660, 24) = 0 [pid 6949] chdir("./25") = 0 [pid 6948] write(3, "1000", 4) = 4 [pid 6948] close(3 [pid 6949] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6948] <... close resumed>) = 0 [pid 6949] <... prctl resumed>) = 0 [pid 6948] symlink("/dev/binderfs", "./binderfs" [pid 6949] setpgid(0, 0 [pid 6948] <... symlink resumed>) = 0 executing program [pid 6949] <... setpgid resumed>) = 0 [pid 6948] write(1, "executing program\n", 18) = 18 [pid 6949] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6948] memfd_create("syzkaller", 0 [pid 6949] <... openat resumed>) = 3 [pid 6948] <... memfd_create resumed>) = 3 [pid 6949] write(3, "1000", 4 [pid 6948] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6949] <... write resumed>) = 4 [pid 6949] close(3) = 0 [pid 6948] <... mmap resumed>) = 0x7f5e2dc00000 [pid 6949] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6949] write(1, "executing program\n", 18executing program ) = 18 [pid 6949] memfd_create("syzkaller", 0) = 3 [ 127.538892][ T5840] bcachefs (loop0): shutdown complete [pid 6949] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 6947] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6945] <... write resumed>) = 16777216 [pid 6945] munmap(0x7f5e2dc00000, 138412032 [pid 6946] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6945] <... munmap resumed>) = 0 [pid 6945] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6945] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6945] close(3) = 0 [pid 6945] close(4) = 0 [pid 6945] mkdir("./file0", 0777) = 0 [pid 6945] mount("/dev/loop3", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [ 127.764987][ T6945] loop3: detected capacity change from 0 to 32768 [pid 6948] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6949] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6948] <... write resumed>) = 16777216 [pid 6948] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 6948] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 6948] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6946] <... write resumed>) = 16777216 [pid 6948] close(3) = 0 [pid 6948] close(4) = 0 [pid 6948] mkdir("./file0", 0777) = 0 [pid 6948] mount("/dev/loop5", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6946] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 6946] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [ 128.094966][ T6948] loop5: detected capacity change from 0 to 32768 [pid 6946] ioctl(4, LOOP_SET_FD, 3 [pid 6947] <... write resumed>) = 16777216 [pid 6946] <... ioctl resumed>) = 0 [pid 6947] munmap(0x7f5e2dc00000, 138412032 [pid 6946] close(3) = 0 [pid 6946] close(4) = 0 [pid 6946] mkdir("./file0", 0777) = 0 [pid 6946] mount("/dev/loop4", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6949] <... write resumed>) = 16777216 [pid 6949] munmap(0x7f5e2dc00000, 138412032 [pid 6947] <... munmap resumed>) = 0 [ 128.173264][ T6946] loop4: detected capacity change from 0 to 32768 [pid 6947] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6947] ioctl(4, LOOP_SET_FD, 3 [pid 6949] <... munmap resumed>) = 0 [pid 6949] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6947] <... ioctl resumed>) = 0 [pid 6949] <... openat resumed>) = 4 [pid 6947] close(3 [pid 6949] ioctl(4, LOOP_SET_FD, 3 [pid 6947] <... close resumed>) = 0 [pid 6947] close(4) = 0 [pid 6947] mkdir("./file0", 0777 [pid 6949] <... ioctl resumed>) = 0 [pid 6949] close(3 [pid 6947] <... mkdir resumed>) = 0 [pid 6949] <... close resumed>) = 0 [pid 6949] close(4 [pid 6947] mount("/dev/loop1", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6949] <... close resumed>) = 0 [pid 6949] mkdir("./file0", 0777) = 0 [ 128.231721][ T6947] loop1: detected capacity change from 0 to 32768 [ 128.242693][ T6949] loop2: detected capacity change from 0 to 32768 [ 128.461965][ T6948] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 128.462293][ T6945] 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 [ 128.474258][ T6946] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 128.495232][ T6945] bcachefs (loop3): recovering from clean shutdown, journal seq 10 [ 128.505502][ T6948] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 128.511346][ T6946] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 128.521320][ T6945] bcachefs (loop3): Version upgrade required: [ 128.521320][ T6945] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 128.521320][ T6945] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 128.521320][ T6945] 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 [ 128.652698][ T6949] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 128.670708][ T6945] bcachefs (loop3): dropping and reconstructing all alloc info [ 128.679977][ T6949] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 128.683153][ T6947] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 128.742950][ T6947] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 128.758103][ T6945] bcachefs (loop3): check_topology... done [ 128.792854][ T6945] bcachefs (loop3): accounting_read... done [ 128.822613][ T6945] bcachefs (loop3): alloc_read... done [ 128.853241][ T6948] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6949] mount("/dev/loop2", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6948] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6948] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 6948] ioctl(3, LOOP_CLR_FD [pid 6949] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6946] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6948] <... ioctl resumed>) = 0 [pid 6949] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6948] close(3 [pid 6949] <... openat resumed>) = 3 [pid 6946] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 6946] ioctl(3, LOOP_CLR_FD) = 0 [ 128.854490][ T6945] bcachefs (loop3): stripes_read... [ 128.863722][ T6949] bcachefs: bch2_fs_get_tree() error: EINVAL [ 128.873776][ T6945] done [ 128.878200][ T6946] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6946] close(3 [pid 6949] ioctl(3, LOOP_CLR_FD) = 0 [pid 6949] close(3 [pid 5840] <... umount2 resumed>) = 0 [ 128.935814][ T6945] bcachefs (loop3): snapshots_read... done [pid 5840] umount2("./20/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./20/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] umount2("./20/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./20/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5840] newfstatat(4, "", [pid 6947] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 6947] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5840] getdents64(4, [pid 6947] <... openat resumed>) = 3 [pid 5840] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5840] close(4) = 0 [pid 5840] rmdir("./20/file0" [pid 6947] ioctl(3, LOOP_CLR_FD) = 0 [pid 5840] <... rmdir resumed>) = 0 [pid 6947] close(3 [pid 5840] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5840] close(3) = 0 [pid 5840] rmdir("./20") = 0 [pid 5840] mkdir("./21", 0777) = 0 [ 128.979139][ T6947] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5840] openat(AT_FDCWD, "/dev/loop0", 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=0x55558491f650) = 6986 ./strace-static-x86_64: Process 6986 attached [pid 6986] set_robust_list(0x55558491f660, 24) = 0 [pid 6986] chdir("./21") = 0 [pid 6986] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6986] setpgid(0, 0) = 0 [pid 6986] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6986] write(3, "1000", 4) = 4 [pid 6986] close(3) = 0 [pid 6986] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 6986] write(1, "executing program\n", 18) = 18 [pid 6986] memfd_create("syzkaller", 0) = 3 [pid 6986] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [ 128.987230][ T6945] bcachefs (loop3): check_allocations... done [ 129.072151][ T6945] bcachefs (loop3): going read-write [pid 6945] <... mount resumed>) = 0 [pid 6945] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [ 129.118688][ T6945] bcachefs (loop3): done starting filesystem [pid 6945] chdir("./file0") = 0 [pid 6945] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6945] ioctl(4, LOOP_CLR_FD) = 0 [pid 6945] close(4) = 0 [pid 6945] unlinkat(AT_FDCWD, "./file1", 0) = 0 [pid 6945] exit_group(0) = ? [pid 6945] +++ exited with 0 +++ [pid 5843] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6945, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=38 /* 0.38 s */} --- [pid 5843] umount2("./23", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5843] openat(AT_FDCWD, "./23", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5843] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5843] umount2("./23/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5843] newfstatat(AT_FDCWD, "./23/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] unlink("./23/binderfs") = 0 [pid 5843] umount2("./23/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6948] <... close resumed>) = 0 [pid 6948] unlinkat(AT_FDCWD, "./file1", 0) = -1 ENOENT (No such file or directory) [pid 6948] exit_group(0) = ? [pid 6948] +++ exited with 0 +++ [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6948, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=32 /* 0.32 s */} --- [pid 5845] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5845] umount2("./21", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./21", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5845] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5845] umount2("./21/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./21/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] unlink("./21/binderfs" [pid 6949] <... close resumed>) = 0 [pid 5845] <... unlink resumed>) = 0 [pid 5845] umount2("./21/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./21/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] umount2("./21/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./21/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5845] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5845] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5845] close(4) = 0 [pid 5845] rmdir("./21/file0") = 0 [pid 5845] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5845] close(3) = 0 [pid 5845] rmdir("./21" [pid 6949] unlinkat(AT_FDCWD, "./file1", 0) = -1 ENOENT (No such file or directory) [pid 6949] exit_group(0) = ? [pid 6949] +++ exited with 0 +++ [pid 5842] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6949, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=49 /* 0.49 s */} --- [pid 5845] <... rmdir resumed>) = 0 [pid 5845] mkdir("./22", 0777) = 0 [pid 5845] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5845] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5845] close(3) = 0 [pid 5842] umount2("./25", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6989 attached [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] openat(AT_FDCWD, "./25", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5842] newfstatat(3, "", [pid 5845] <... clone resumed>, child_tidptr=0x55558491f650) = 6989 [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6989] set_robust_list(0x55558491f660, 24 [pid 5842] getdents64(3, [pid 6989] <... set_robust_list resumed>) = 0 [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 6989] chdir("./22" [pid 5842] umount2("./25/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6989] <... chdir resumed>) = 0 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 129.275422][ T5843] bcachefs (loop3): shutting down [ 129.280517][ T5843] bcachefs (loop3): going read-only [ 129.303844][ T5843] bcachefs (loop3): finished waiting for writes to stop [pid 6989] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5842] newfstatat(AT_FDCWD, "./25/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] unlink("./25/binderfs") = 0 [pid 5842] umount2("./25/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] newfstatat(AT_FDCWD, "./25/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] umount2("./25/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] openat(AT_FDCWD, "./25/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5842] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5842] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5842] close(4) = 0 [pid 5842] rmdir("./25/file0") = 0 [pid 5842] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5842] close(3) = 0 [pid 5842] rmdir("./25") = 0 [pid 5842] mkdir("./26", 0777 [pid 6989] setpgid(0, 0) = 0 [pid 5842] <... mkdir resumed>) = 0 [pid 6989] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5842] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6989] <... openat resumed>) = 3 [pid 5842] <... openat resumed>) = 3 [pid 6989] write(3, "1000", 4) = 4 [pid 6946] <... close resumed>) = 0 [pid 6989] close(3 [pid 5842] ioctl(3, LOOP_CLR_FD [pid 6989] <... close resumed>) = 0 [pid 5842] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6989] symlink("/dev/binderfs", "./binderfs" [pid 5842] close(3 [pid 6989] <... symlink resumed>) = 0 [pid 6986] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5842] <... close resumed>) = 0 [ 129.337296][ T5843] bcachefs (loop3): flushing journal and stopping allocators, journal seq 12 [pid 6989] write(1, "executing program\n", 18executing program [pid 5842] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6990 attached [pid 6989] <... write resumed>) = 18 [pid 6946] unlinkat(AT_FDCWD, "./file1", 0) = -1 ENOENT (No such file or directory) [pid 5842] <... clone resumed>, child_tidptr=0x55558491f650) = 6990 [pid 6990] set_robust_list(0x55558491f660, 24 [pid 6989] memfd_create("syzkaller", 0 [pid 6946] exit_group(0 [pid 6990] <... set_robust_list resumed>) = 0 [pid 6989] <... memfd_create resumed>) = 3 [pid 6946] <... exit_group resumed>) = ? [pid 6946] +++ exited with 0 +++ [pid 6990] chdir("./26" [pid 5844] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6946, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=49 /* 0.49 s */} --- [pid 6990] <... chdir resumed>) = 0 [pid 6989] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5844] umount2("./17", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6990] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6989] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5844] openat(AT_FDCWD, "./17", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6990] <... prctl resumed>) = 0 [pid 5844] <... openat resumed>) = 3 [pid 6990] setpgid(0, 0 [pid 5844] newfstatat(3, "", [pid 6990] <... setpgid resumed>) = 0 [pid 6990] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5844] umount2("./17/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 6990] write(3, "1000", 4 [pid 5844] newfstatat(AT_FDCWD, "./17/binderfs", [pid 6990] <... write resumed>) = 4 [pid 5844] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] unlink("./17/binderfs" [pid 6990] close(3) = 0 [pid 5844] <... unlink resumed>) = 0 [pid 6990] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6990] write(1, "executing program\n", 18) = 18 [pid 6990] memfd_create("syzkaller", 0) = 3 [pid 6990] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 5844] umount2("./17/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] newfstatat(AT_FDCWD, "./17/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] umount2("./17/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] openat(AT_FDCWD, "./17/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6947] <... close resumed>) = 0 [pid 6947] unlinkat(AT_FDCWD, "./file1", 0 [pid 5844] <... openat resumed>) = 4 [pid 5844] newfstatat(4, "", [pid 6947] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6947] exit_group(0 [pid 5844] getdents64(4, [pid 6947] <... exit_group resumed>) = ? [pid 5844] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5844] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5844] close(4) = 0 [pid 5844] rmdir("./17/file0" [pid 6947] +++ exited with 0 +++ [pid 5841] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6947, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=49 /* 0.49 s */} --- [ 129.427968][ T2890] bcachefs (loop3): bch2_write_super(): fatal error loop3: Superblock write was silently dropped! (seq 0 expected 54) [ 129.457764][ T2890] bcachefs (loop3): fatal error - emergency read only [pid 5844] <... rmdir resumed>) = 0 [pid 5841] restart_syscall(<... resuming interrupted clone ...> [pid 5844] getdents64(3, [pid 5841] <... restart_syscall resumed>) = 0 [pid 5844] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5844] close(3 [pid 5841] umount2("./19", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] <... close resumed>) = 0 [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] rmdir("./17" [pid 5841] openat(AT_FDCWD, "./19", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5844] <... rmdir resumed>) = 0 [pid 5844] mkdir("./18", 0777 [pid 5841] newfstatat(3, "", [pid 5844] <... mkdir resumed>) = 0 [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5841] getdents64(3, [pid 5844] ioctl(3, LOOP_CLR_FD [pid 5841] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5844] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5841] umount2("./19/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] close(3 [pid 5841] newfstatat(AT_FDCWD, "./19/binderfs", [pid 5844] <... close resumed>) = 0 [pid 5841] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 129.496816][ T5843] bcachefs (loop3): flushing journal and stopping allocators complete, journal seq 14 [ 129.523417][ T5843] bcachefs (loop3): unshutdown complete, journal seq 14 [ 129.531341][ T5843] bcachefs (loop3): done going read-only, filesystem not clean [pid 5844] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5841] unlink("./19/binderfs"./strace-static-x86_64: Process 6991 attached ) = 0 [pid 6991] set_robust_list(0x55558491f660, 24 [pid 5844] <... clone resumed>, child_tidptr=0x55558491f650) = 6991 [pid 5841] umount2("./19/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6991] <... set_robust_list resumed>) = 0 [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] newfstatat(AT_FDCWD, "./19/file0", [pid 6991] chdir("./18" [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6991] <... chdir resumed>) = 0 [pid 5841] umount2("./19/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6991] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6991] <... prctl resumed>) = 0 [pid 5841] openat(AT_FDCWD, "./19/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6991] setpgid(0, 0 [pid 5841] <... openat resumed>) = 4 [pid 6991] <... setpgid resumed>) = 0 [pid 5841] newfstatat(4, "", [pid 6991] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 6991] <... openat resumed>) = 3 [pid 5841] getdents64(4, [pid 6991] write(3, "1000", 4 [pid 5841] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 6991] <... write resumed>) = 4 [pid 5841] close(4 [pid 6991] close(3 [pid 5841] <... close resumed>) = 0 [pid 6991] <... close resumed>) = 0 [pid 5841] rmdir("./19/file0" [pid 6991] symlink("/dev/binderfs", "./binderfs" [pid 5841] <... rmdir resumed>) = 0 [pid 5841] getdents64(3, [pid 6991] <... symlink resumed>) = 0 [pid 5841] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 executing program [pid 6991] write(1, "executing program\n", 18 [pid 5841] close(3) = 0 [pid 6991] <... write resumed>) = 18 [pid 5841] rmdir("./19" [pid 6991] memfd_create("syzkaller", 0) = 3 [pid 5841] <... rmdir resumed>) = 0 [pid 5841] mkdir("./20", 0777 [pid 6991] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 5841] <... mkdir resumed>) = 0 [pid 5841] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 6989] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 [ 129.633741][ T5843] bcachefs (loop3): shutdown complete [pid 6990] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5841] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5841] close(3) = 0 [pid 5841] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6992 attached [pid 6992] set_robust_list(0x55558491f660, 24 [pid 5841] <... clone resumed>, child_tidptr=0x55558491f650) = 6992 [pid 6992] <... set_robust_list resumed>) = 0 [pid 6992] chdir("./20") = 0 [pid 6992] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6992] setpgid(0, 0) = 0 [pid 6992] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6992] write(3, "1000", 4) = 4 [pid 6992] close(3) = 0 [pid 6992] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6992] write(1, "executing program\n", 18) = 18 [pid 6992] memfd_create("syzkaller", 0) = 3 [pid 6986] <... write resumed>) = 16777216 [pid 6992] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 6986] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 6986] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6986] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6986] close(3) = 0 [pid 6986] close(4) = 0 [pid 6986] mkdir("./file0", 0777) = 0 [pid 6986] mount("/dev/loop0", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [ 129.856016][ T6986] loop0: detected capacity change from 0 to 32768 [pid 6991] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6992] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6989] <... write resumed>) = 16777216 [pid 6989] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 6989] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 6989] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6989] close(3) = 0 [pid 6989] close(4) = 0 [pid 6989] mkdir("./file0", 0777) = 0 [pid 6990] <... write resumed>) = 16777216 [ 130.134815][ T6989] loop5: detected capacity change from 0 to 32768 [pid 6989] mount("/dev/loop5", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6990] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 6991] <... write resumed>) = 16777216 [pid 6991] munmap(0x7f5e2dc00000, 138412032 [pid 6990] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6990] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6991] <... munmap resumed>) = 0 [pid 6990] close(3) = 0 [pid 6991] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6990] close(4 [pid 6991] <... openat resumed>) = 4 [pid 6990] <... close resumed>) = 0 [pid 6990] mkdir("./file0", 0777 [pid 6991] ioctl(4, LOOP_SET_FD, 3 [pid 6990] <... mkdir resumed>) = 0 [pid 6990] mount("/dev/loop2", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6991] <... ioctl resumed>) = 0 [pid 6991] close(3) = 0 [pid 6992] <... write resumed>) = 16777216 [pid 6991] close(4 [pid 6992] munmap(0x7f5e2dc00000, 138412032 [ 130.244648][ T6990] loop2: detected capacity change from 0 to 32768 [ 130.281875][ T6991] loop4: detected capacity change from 0 to 32768 [pid 6991] <... close resumed>) = 0 [pid 6991] mkdir("./file0", 0777 [pid 6992] <... munmap resumed>) = 0 [pid 6991] <... mkdir resumed>) = 0 [pid 6992] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6991] mount("/dev/loop4", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6992] <... openat resumed>) = 4 [pid 6992] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6992] close(3) = 0 [pid 6992] close(4) = 0 [pid 6992] mkdir("./file0", 0777) = 0 [ 130.339163][ T6992] loop1: detected capacity change from 0 to 32768 [ 130.520453][ T6986] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 130.520723][ T6989] 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 [ 130.533563][ T6986] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 130.557037][ T6989] bcachefs (loop5): recovering from clean shutdown, journal seq 10 [ 130.577913][ T6991] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 130.584046][ T6989] bcachefs (loop5): Version upgrade required: [ 130.584046][ T6989] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 130.584046][ T6989] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 130.584046][ T6989] 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 [ 130.660297][ T6989] bcachefs (loop5): dropping and reconstructing all alloc info [ 130.701249][ T6992] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 130.721911][ T6992] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 130.722493][ T6990] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 130.730878][ T6989] bcachefs (loop5): check_topology... done [pid 6992] mount("/dev/loop1", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 6986] <... mount resumed>) = -1 EINVAL (Invalid argument) [ 130.740326][ T6990] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 130.746354][ T6991] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 130.771779][ T6989] bcachefs (loop5): accounting_read... [ 130.773795][ T6986] bcachefs: bch2_fs_get_tree() error: EINVAL [ 130.792627][ T6989] done [pid 6986] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 6986] ioctl(3, LOOP_CLR_FD) = 0 [ 130.797396][ T6989] bcachefs (loop5): alloc_read... done [ 130.813480][ T6989] bcachefs (loop5): stripes_read... done [ 130.855594][ T6989] bcachefs (loop5): snapshots_read... done [ 130.861612][ T6989] bcachefs (loop5): check_allocations... done [ 130.981218][ T6989] bcachefs (loop5): going read-write [pid 6986] close(3 [pid 6989] <... mount resumed>) = 0 [pid 6989] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6989] chdir("./file0") = 0 [pid 6989] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 6989] ioctl(4, LOOP_CLR_FD) = 0 [pid 6989] close(4) = 0 [pid 6989] unlinkat(AT_FDCWD, "./file1", 0 [pid 6992] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6989] <... unlinkat resumed>) = 0 [pid 6989] exit_group(0) = ? [pid 6992] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6989] +++ exited with 0 +++ [pid 6992] <... openat resumed>) = 3 [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6989, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=45 /* 0.45 s */} --- [pid 5845] restart_syscall(<... resuming interrupted clone ...> [pid 6992] ioctl(3, LOOP_CLR_FD [pid 6991] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6990] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6992] <... ioctl resumed>) = 0 [pid 6992] close(3 [pid 5845] <... restart_syscall resumed>) = 0 [pid 6991] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6990] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5845] umount2("./22", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./22", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5845] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [ 131.004680][ T6989] bcachefs (loop5): done starting filesystem [ 131.009443][ T6990] bcachefs: bch2_fs_get_tree() error: EINVAL [ 131.011857][ T6992] bcachefs: bch2_fs_get_tree() error: EINVAL [ 131.040492][ T6991] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6991] <... openat resumed>) = 3 [pid 6990] <... openat resumed>) = 3 [pid 5845] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5845] umount2("./22/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6991] ioctl(3, LOOP_CLR_FD [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6991] <... ioctl resumed>) = 0 [pid 6990] ioctl(3, LOOP_CLR_FD [pid 5845] newfstatat(AT_FDCWD, "./22/binderfs", [pid 6990] <... ioctl resumed>) = 0 [pid 5845] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6990] close(3 [pid 5845] unlink("./22/binderfs") = 0 [pid 5845] umount2("./22/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6986] <... close resumed>) = 0 [pid 6991] close(3 [pid 6986] unlinkat(AT_FDCWD, "./file1", 0) = -1 ENOENT (No such file or directory) [pid 6986] exit_group(0) = ? [pid 6986] +++ exited with 0 +++ [pid 5843] <... umount2 resumed>) = 0 [pid 5843] umount2("./23/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6986, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=46 /* 0.46 s */} --- [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] restart_syscall(<... resuming interrupted clone ...> [pid 5843] newfstatat(AT_FDCWD, "./23/file0", [pid 5840] <... restart_syscall resumed>) = 0 [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] umount2("./23/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] umount2("./21", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] openat(AT_FDCWD, "./23/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] <... openat resumed>) = 4 [pid 5840] openat(AT_FDCWD, "./21", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5843] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] <... openat resumed>) = 3 [pid 5843] getdents64(4, [ 131.170251][ T5845] bcachefs (loop5): shutting down [ 131.184352][ T5845] bcachefs (loop5): going read-only [ 131.190001][ T5845] bcachefs (loop5): finished waiting for writes to stop [pid 5840] newfstatat(3, "", [pid 5843] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5840] getdents64(3, [pid 5843] close(4) = 0 [pid 5840] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 6991] <... close resumed>) = 0 [pid 5843] rmdir("./23/file0" [pid 5840] umount2("./21/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6991] unlinkat(AT_FDCWD, "./file1", 0) = -1 ENOENT (No such file or directory) [pid 5843] <... rmdir resumed>) = 0 [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6991] exit_group(0 [pid 5843] getdents64(3, [pid 5840] newfstatat(AT_FDCWD, "./21/binderfs", [pid 6991] <... exit_group resumed>) = ? [pid 5843] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5840] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6991] +++ exited with 0 +++ [pid 5843] close(3 [pid 5840] unlink("./21/binderfs" [pid 5844] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6991, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=48 /* 0.48 s */} --- [pid 5843] <... close resumed>) = 0 [pid 5840] <... unlink resumed>) = 0 [pid 5843] rmdir("./23" [pid 5840] umount2("./21/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] <... rmdir resumed>) = 0 [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./21/file0", [pid 5844] umount2("./18", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] openat(AT_FDCWD, "./18", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5844] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5840] umount2("./21/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] umount2("./18/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] newfstatat(AT_FDCWD, "./18/binderfs", [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 131.275481][ T5845] bcachefs (loop5): flushing journal and stopping allocators, journal seq 12 [pid 5844] unlink("./18/binderfs" [pid 5840] openat(AT_FDCWD, "./21/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5844] <... unlink resumed>) = 0 [pid 5843] mkdir("./24", 0777 [pid 5840] <... openat resumed>) = 4 [pid 5844] umount2("./18/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] <... mkdir resumed>) = 0 [pid 5840] newfstatat(4, "", [pid 6992] <... close resumed>) = 0 [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] newfstatat(AT_FDCWD, "./18/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] umount2("./18/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] openat(AT_FDCWD, "./18/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5844] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5844] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5844] close(4) = 0 [pid 5840] getdents64(4, [ 131.339958][ T80] bcachefs (loop5): bch2_write_super(): fatal error loop5: Superblock write was silently dropped! (seq 0 expected 54) [ 131.371463][ T80] bcachefs (loop5): fatal error - emergency read only [pid 5844] rmdir("./18/file0" [pid 6992] unlinkat(AT_FDCWD, "./file1", 0 [pid 5844] <... rmdir resumed>) = 0 [pid 5843] <... openat resumed>) = 3 [pid 5840] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5843] ioctl(3, LOOP_CLR_FD [pid 6992] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5840] getdents64(4, [pid 5843] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5840] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 6992] exit_group(0 [pid 5844] getdents64(3, [pid 5843] close(3 [pid 5840] close(4 [pid 6992] <... exit_group resumed>) = ? [pid 5844] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5843] <... close resumed>) = 0 [pid 5840] <... close resumed>) = 0 [pid 5844] close(3 [pid 5840] rmdir("./21/file0" [pid 5843] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5844] <... close resumed>) = 0 ./strace-static-x86_64: Process 7031 attached [pid 6992] +++ exited with 0 +++ [pid 5844] rmdir("./18" [pid 5840] <... rmdir resumed>) = 0 [pid 7031] set_robust_list(0x55558491f660, 24 [pid 5844] <... rmdir resumed>) = 0 [pid 5843] <... clone resumed>, child_tidptr=0x55558491f650) = 7031 [pid 5840] getdents64(3, [pid 7031] <... set_robust_list resumed>) = 0 [pid 5841] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6992, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=43 /* 0.43 s */} --- [pid 5840] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [ 131.381047][ T5845] bcachefs (loop5): flushing journal and stopping allocators complete, journal seq 14 [pid 7031] chdir("./24" [pid 5844] mkdir("./19", 0777 [pid 5841] restart_syscall(<... resuming interrupted clone ...> [pid 5840] close(3 [pid 7031] <... chdir resumed>) = 0 [pid 6990] <... close resumed>) = 0 [pid 5840] <... close resumed>) = 0 [pid 5841] <... restart_syscall resumed>) = 0 [pid 5840] rmdir("./21" [pid 7031] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6990] unlinkat(AT_FDCWD, "./file1", 0 [pid 5841] umount2("./20", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] <... rmdir resumed>) = 0 [pid 5844] <... mkdir resumed>) = 0 [pid 7031] setpgid(0, 0 [pid 6990] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5844] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] mkdir("./22", 0777 [pid 7031] <... setpgid resumed>) = 0 [pid 6990] exit_group(0 [pid 5844] <... openat resumed>) = 3 [pid 5841] openat(AT_FDCWD, "./20", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5840] <... mkdir resumed>) = 0 [pid 7031] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6990] <... exit_group resumed>) = ? [pid 5844] ioctl(3, LOOP_CLR_FD [pid 5841] <... openat resumed>) = 3 [pid 5840] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 7031] <... openat resumed>) = 3 [pid 6990] +++ exited with 0 +++ [pid 5844] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5841] newfstatat(3, "", [pid 5840] <... openat resumed>) = 3 [pid 7031] write(3, "1000", 4 [pid 5844] close(3 [pid 5842] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6990, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=45 /* 0.45 s */} --- [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] ioctl(3, LOOP_CLR_FD [pid 7031] <... write resumed>) = 4 [pid 5844] <... close resumed>) = 0 [pid 5841] getdents64(3, [pid 5840] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 7031] close(3 [pid 5844] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5841] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 7031] <... close resumed>) = 0 [pid 5842] umount2("./26", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] umount2("./20/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] close(3./strace-static-x86_64: Process 7032 attached [pid 7031] symlink("/dev/binderfs", "./binderfs" [pid 5844] <... clone resumed>, child_tidptr=0x55558491f650) = 7032 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] <... close resumed>) = 0 [pid 7031] <... symlink resumed>) = 0 [pid 5842] openat(AT_FDCWD, "./26", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5841] newfstatat(AT_FDCWD, "./20/binderfs", [pid 5840] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 7033 attached executing program [pid 7031] write(1, "executing program\n", 18 [pid 5842] <... openat resumed>) = 3 [pid 5841] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 7033] set_robust_list(0x55558491f660, 24 [pid 7032] set_robust_list(0x55558491f660, 24 [pid 5842] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] unlink("./20/binderfs" [pid 5840] <... clone resumed>, child_tidptr=0x55558491f650) = 7033 [pid 5842] getdents64(3, [pid 5841] <... unlink resumed>) = 0 [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5841] umount2("./20/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] umount2("./26/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 7031] <... write resumed>) = 18 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] newfstatat(AT_FDCWD, "./20/file0", [pid 7033] <... set_robust_list resumed>) = 0 [pid 7031] memfd_create("syzkaller", 0 [pid 5842] newfstatat(AT_FDCWD, "./26/binderfs", [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 7033] chdir("./22" [pid 7032] <... set_robust_list resumed>) = 0 [pid 7031] <... memfd_create resumed>) = 3 [pid 5842] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] umount2("./20/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7031] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5842] unlink("./26/binderfs" [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 7032] chdir("./19" [pid 7031] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5842] <... unlink resumed>) = 0 [pid 5841] openat(AT_FDCWD, "./20/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 7033] <... chdir resumed>) = 0 [pid 7032] <... chdir resumed>) = 0 [pid 7033] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 7032] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5842] umount2("./26/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] <... openat resumed>) = 4 [pid 7033] <... prctl resumed>) = 0 [pid 7032] <... prctl resumed>) = 0 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 7033] setpgid(0, 0 [pid 7032] setpgid(0, 0 [pid 5842] newfstatat(AT_FDCWD, "./26/file0", [pid 5841] newfstatat(4, "", [pid 7032] <... setpgid resumed>) = 0 [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 7033] <... setpgid resumed>) = 0 [pid 5842] umount2("./26/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] getdents64(4, [pid 7033] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 7032] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 7033] <... openat resumed>) = 3 [pid 5842] openat(AT_FDCWD, "./26/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5841] getdents64(4, [pid 7032] <... openat resumed>) = 3 [pid 7033] write(3, "1000", 4 [pid 5842] <... openat resumed>) = 4 [pid 7032] write(3, "1000", 4 [pid 5841] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 7033] <... write resumed>) = 4 [pid 7032] <... write resumed>) = 4 [pid 5842] newfstatat(4, "", [pid 5841] close(4 [pid 7032] close(3) = 0 [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] <... close resumed>) = 0 [pid 7032] symlink("/dev/binderfs", "./binderfs" [pid 5842] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 executing program [pid 7032] <... symlink resumed>) = 0 [pid 5842] getdents64(4, [pid 5841] rmdir("./20/file0" [pid 7033] close(3 [pid 7032] write(1, "executing program\n", 18 [pid 5842] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5841] <... rmdir resumed>) = 0 [ 131.422172][ T5845] bcachefs (loop5): unshutdown complete, journal seq 14 [ 131.447686][ T5845] bcachefs (loop5): done going read-only, filesystem not clean [pid 7033] <... close resumed>) = 0 [pid 7032] <... write resumed>) = 18 [pid 5842] close(4 [pid 5841] getdents64(3, [pid 7033] symlink("/dev/binderfs", "./binderfs" [pid 7032] memfd_create("syzkaller", 0 [pid 5842] <... close resumed>) = 0 [pid 7032] <... memfd_create resumed>) = 3 executing program [pid 5842] rmdir("./26/file0" [pid 7032] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 5842] <... rmdir resumed>) = 0 [pid 7033] <... symlink resumed>) = 0 [pid 5842] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 7033] write(1, "executing program\n", 18 [pid 5842] close(3 [pid 7033] <... write resumed>) = 18 [pid 5842] <... close resumed>) = 0 [pid 7033] memfd_create("syzkaller", 0 [pid 5842] rmdir("./26" [pid 5841] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5842] <... rmdir resumed>) = 0 [pid 5841] close(3 [pid 5842] mkdir("./27", 0777 [pid 5841] <... close resumed>) = 0 [pid 5842] <... mkdir resumed>) = 0 [pid 5841] rmdir("./20" [pid 7033] <... memfd_create resumed>) = 3 [pid 5841] <... rmdir resumed>) = 0 [pid 7033] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5841] mkdir("./21", 0777 [pid 7033] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5842] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5841] <... mkdir resumed>) = 0 [pid 5842] <... openat resumed>) = 3 [pid 5842] ioctl(3, LOOP_CLR_FD [pid 5841] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5842] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5841] <... openat resumed>) = 3 [pid 5842] close(3 [pid 5841] ioctl(3, LOOP_CLR_FD [pid 5842] <... close resumed>) = 0 [pid 5841] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5842] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5841] close(3) = 0 [pid 5841] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 7034 attached [pid 5842] <... clone resumed>, child_tidptr=0x55558491f650) = 7034 ./strace-static-x86_64: Process 7035 attached [pid 7034] set_robust_list(0x55558491f660, 24 [pid 5841] <... clone resumed>, child_tidptr=0x55558491f650) = 7035 [pid 7034] <... set_robust_list resumed>) = 0 [pid 7034] chdir("./27") = 0 [pid 7035] set_robust_list(0x55558491f660, 24 [pid 7034] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 7035] <... set_robust_list resumed>) = 0 [pid 7035] chdir("./21") = 0 [pid 7035] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7034] <... prctl resumed>) = 0 [pid 7035] setpgid(0, 0) = 0 [pid 7034] setpgid(0, 0) = 0 [pid 7035] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [ 131.507877][ T5845] bcachefs (loop5): shutdown complete [pid 7034] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXECexecuting program [pid 7035] <... openat resumed>) = 3 [pid 7034] <... openat resumed>) = 3 [pid 7034] write(3, "1000", 4) = 4 [pid 7034] close(3) = 0 [pid 7034] symlink("/dev/binderfs", "./binderfs") = 0 [pid 7034] write(1, "executing program\n", 18) = 18 [pid 7034] memfd_create("syzkaller", 0) = 3 [pid 7034] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 7035] write(3, "1000", 4) = 4 [pid 7035] close(3) = 0 [pid 7035] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 7035] write(1, "executing program\n", 18) = 18 [pid 7035] memfd_create("syzkaller", 0) = 3 [pid 7035] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 7032] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7031] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7033] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7035] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7034] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7031] <... write resumed>) = 16777216 [pid 7031] munmap(0x7f5e2dc00000, 138412032 [pid 7032] <... write resumed>) = 16777216 [pid 7032] munmap(0x7f5e2dc00000, 138412032 [pid 7031] <... munmap resumed>) = 0 [pid 7031] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 7034] <... write resumed>) = 16777216 [pid 7031] <... openat resumed>) = 4 [pid 7031] ioctl(4, LOOP_SET_FD, 3 [pid 7034] munmap(0x7f5e2dc00000, 138412032 [pid 7032] <... munmap resumed>) = 0 [pid 7032] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 7031] <... ioctl resumed>) = 0 [pid 7034] <... munmap resumed>) = 0 [pid 7032] <... openat resumed>) = 4 [pid 7031] close(3) = 0 [pid 7034] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 7032] ioctl(4, LOOP_SET_FD, 3 [pid 7031] close(4 [pid 7034] <... openat resumed>) = 4 [pid 7031] <... close resumed>) = 0 [pid 7034] ioctl(4, LOOP_SET_FD, 3 [pid 7031] mkdir("./file0", 0777 [pid 7032] <... ioctl resumed>) = 0 [pid 7033] <... write resumed>) = 16777216 [pid 7032] close(3) = 0 [pid 7032] close(4) = 0 [pid 7032] mkdir("./file0", 0777) = 0 [pid 7033] munmap(0x7f5e2dc00000, 138412032 [pid 7035] <... write resumed>) = 16777216 [pid 7034] <... ioctl resumed>) = 0 [pid 7031] <... mkdir resumed>) = 0 [pid 7032] mount("/dev/loop4", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7031] mount("/dev/loop3", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7034] close(3) = 0 [pid 7034] close(4) = 0 [pid 7034] mkdir("./file0", 0777 [pid 7035] munmap(0x7f5e2dc00000, 138412032 [pid 7034] <... mkdir resumed>) = 0 [ 132.240185][ T7031] loop3: detected capacity change from 0 to 32768 [ 132.262671][ T7032] loop4: detected capacity change from 0 to 32768 [ 132.274798][ T7034] loop2: detected capacity change from 0 to 32768 [pid 7033] <... munmap resumed>) = 0 [pid 7035] <... munmap resumed>) = 0 [pid 7034] mount("/dev/loop2", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7035] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 7033] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 7035] <... openat resumed>) = 4 [pid 7033] <... openat resumed>) = 4 [pid 7035] ioctl(4, LOOP_SET_FD, 3 [pid 7033] ioctl(4, LOOP_SET_FD, 3 [pid 7035] <... ioctl resumed>) = 0 [pid 7033] <... ioctl resumed>) = 0 [pid 7035] close(3 [pid 7033] close(3) = 0 [pid 7033] close(4) = 0 [pid 7033] mkdir("./file0", 0777) = 0 [pid 7033] mount("/dev/loop0", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7035] <... close resumed>) = 0 [pid 7035] close(4) = 0 [pid 7035] mkdir("./file0", 0777) = 0 [ 132.325089][ T7033] loop0: detected capacity change from 0 to 32768 [ 132.332164][ T7035] loop1: detected capacity change from 0 to 32768 [ 132.586276][ T7033] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 132.586588][ T7031] 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 [ 132.617890][ T7033] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 132.619561][ T7035] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 132.640547][ T7034] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 132.650641][ T7031] bcachefs (loop3): recovering from clean shutdown, journal seq 10 [ 132.658610][ T7032] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 132.658712][ T7032] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 132.676177][ T7035] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 132.684786][ T7034] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 132.699915][ T7031] bcachefs (loop3): Version upgrade required: [ 132.699915][ T7031] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 132.699915][ T7031] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 132.699915][ T7031] 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 7035] mount("/dev/loop1", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"...) = -1 EINVAL (Invalid argument) [pid 7035] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 7035] ioctl(3, LOOP_CLR_FD) = 0 [ 132.797084][ T7035] bcachefs: bch2_fs_get_tree() error: EINVAL [ 132.824331][ T7033] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 7035] close(3 [pid 7033] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 7033] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 7033] ioctl(3, LOOP_CLR_FD) = 0 [ 132.852345][ T7031] bcachefs (loop3): dropping and reconstructing all alloc info [pid 7033] close(3 [pid 7034] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 7032] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 7034] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 7032] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 7034] <... openat resumed>) = 3 [pid 7032] <... openat resumed>) = 3 [pid 7034] ioctl(3, LOOP_CLR_FD [ 132.969876][ T7034] bcachefs: bch2_fs_get_tree() error: EINVAL [ 132.984152][ T7032] bcachefs: bch2_fs_get_tree() error: EINVAL [ 133.004093][ T7031] bcachefs (loop3): check_topology... done [pid 7032] ioctl(3, LOOP_CLR_FD [pid 7034] <... ioctl resumed>) = 0 [pid 7032] <... ioctl resumed>) = 0 [pid 7034] close(3 [ 133.032849][ T7031] bcachefs (loop3): accounting_read... done [ 133.042686][ T7031] bcachefs (loop3): alloc_read... done [ 133.082905][ T7031] bcachefs (loop3): stripes_read... done [ 133.088673][ T7031] bcachefs (loop3): snapshots_read... done [pid 7032] close(3 [pid 7035] <... close resumed>) = 0 [pid 5845] <... umount2 resumed>) = 0 [pid 7035] unlinkat(AT_FDCWD, "./file1", 0 [pid 5845] umount2("./22/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7035] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 7035] exit_group(0 [pid 5845] newfstatat(AT_FDCWD, "./22/file0", [pid 7035] <... exit_group resumed>) = ? [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 7035] +++ exited with 0 +++ [pid 5845] umount2("./22/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5841] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7035, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=47 /* 0.47 s */} --- [pid 5845] openat(AT_FDCWD, "./22/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5841] restart_syscall(<... resuming interrupted clone ...> [pid 5845] <... openat resumed>) = 4 [pid 5845] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] getdents64(4, [pid 5841] <... restart_syscall resumed>) = 0 [pid 5845] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5845] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5841] umount2("./21", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] close(4 [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] <... close resumed>) = 0 [pid 5841] openat(AT_FDCWD, "./21", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5845] rmdir("./22/file0" [pid 5841] <... openat resumed>) = 3 [pid 5845] <... rmdir resumed>) = 0 [pid 5841] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] getdents64(3, [pid 5841] getdents64(3, [pid 5845] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5841] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5845] close(3 [pid 5841] umount2("./21/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] <... close resumed>) = 0 [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] newfstatat(AT_FDCWD, "./21/binderfs", [pid 5845] rmdir("./22" [pid 5841] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] <... rmdir resumed>) = 0 [pid 5841] unlink("./21/binderfs") = 0 [pid 5845] mkdir("./23", 0777 [pid 5841] umount2("./21/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] <... mkdir resumed>) = 0 [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] newfstatat(AT_FDCWD, "./21/file0", [pid 5845] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] <... openat resumed>) = 3 [pid 5841] umount2("./21/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] ioctl(3, LOOP_CLR_FD [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] openat(AT_FDCWD, "./21/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5841] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5841] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5845] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5841] close(4 [pid 5845] close(3 [pid 5841] <... close resumed>) = 0 [pid 5845] <... close resumed>) = 0 [pid 5841] rmdir("./21/file0") = 0 [pid 5841] getdents64(3, [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5841] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 ./strace-static-x86_64: Process 7072 attached [pid 5841] close(3) = 0 [pid 5841] rmdir("./21" [pid 7072] set_robust_list(0x55558491f660, 24 [pid 5841] <... rmdir resumed>) = 0 [pid 7072] <... set_robust_list resumed>) = 0 [pid 5841] mkdir("./22", 0777 [pid 7072] chdir("./23" [pid 5845] <... clone resumed>, child_tidptr=0x55558491f650) = 7072 [pid 5841] <... mkdir resumed>) = 0 [pid 7072] <... chdir resumed>) = 0 [pid 5841] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 7072] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5841] <... openat resumed>) = 3 [pid 7072] <... prctl resumed>) = 0 [pid 5841] ioctl(3, LOOP_CLR_FD [pid 7072] setpgid(0, 0 [pid 5841] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 7072] <... setpgid resumed>) = 0 [pid 5841] close(3 [pid 7072] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5841] <... close resumed>) = 0 [pid 7072] write(3, "1000", 4 [pid 5841] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 7072] <... write resumed>) = 4 [pid 7072] close(3./strace-static-x86_64: Process 7073 attached ) = 0 [pid 7072] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5841] <... clone resumed>, child_tidptr=0x55558491f650) = 7073 executing program [pid 7073] set_robust_list(0x55558491f660, 24 [pid 7072] write(1, "executing program\n", 18 [pid 7073] <... set_robust_list resumed>) = 0 [pid 7073] chdir("./22") = 0 [pid 7072] <... write resumed>) = 18 [pid 7073] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 7072] memfd_create("syzkaller", 0 [pid 7073] <... prctl resumed>) = 0 [pid 7073] setpgid(0, 0) = 0 [pid 7073] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 7072] <... memfd_create resumed>) = 3 [pid 7073] <... openat resumed>) = 3 [pid 7072] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 7073] write(3, "1000", 4) = 4 [pid 7073] close(3) = 0 [pid 7033] <... close resumed>) = 0 [pid 7073] symlink("/dev/binderfs", "./binderfs") = 0 [pid 7073] write(1, "executing program\n", 18executing program ) = 18 [pid 7073] memfd_create("syzkaller", 0) = 3 [pid 7033] unlinkat(AT_FDCWD, "./file1", 0 [pid 7073] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 7033] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 7073] <... mmap resumed>) = 0x7f5e2dc00000 [pid 7033] exit_group(0) = ? [ 133.143055][ T7031] bcachefs (loop3): check_allocations... done [pid 7033] +++ exited with 0 +++ [pid 5840] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7033, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=41 /* 0.41 s */} --- [pid 5840] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5840] umount2("./22", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./22", 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, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5840] umount2("./22/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./22/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] unlink("./22/binderfs") = 0 [pid 5840] umount2("./22/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./22/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] umount2("./22/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./22/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 [ 133.304395][ T7031] bcachefs (loop3): going read-write [pid 5840] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5840] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5840] close(4) = 0 [pid 5840] rmdir("./22/file0") = 0 [pid 5840] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5840] close(3) = 0 [pid 5840] rmdir("./22") = 0 [pid 5840] mkdir("./23", 0777) = 0 [pid 5840] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5840] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5840] close(3 [pid 7031] <... mount resumed>) = 0 [pid 5840] <... close resumed>) = 0 [pid 7031] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5840] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 7031] chdir("./file0"./strace-static-x86_64: Process 7076 attached [pid 5840] <... clone resumed>, child_tidptr=0x55558491f650) = 7076 [pid 7076] set_robust_list(0x55558491f660, 24) = 0 [pid 7031] <... chdir resumed>) = 0 [pid 7031] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 7076] chdir("./23") = 0 [pid 7031] ioctl(4, LOOP_CLR_FD) = 0 [pid 7076] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [ 133.332247][ T7031] bcachefs (loop3): done starting filesystem [pid 7076] setpgid(0, 0 [pid 7031] close(4 [pid 7076] <... setpgid resumed>) = 0 [pid 7031] <... close resumed>) = 0 [pid 7076] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 7031] unlinkat(AT_FDCWD, "./file1", 0 [pid 7076] <... openat resumed>) = 3 [pid 7076] write(3, "1000", 4) = 4 [pid 7076] close(3) = 0 [pid 7076] symlink("/dev/binderfs", "./binderfs") = 0 [pid 7076] write(1, "executing program\n", 18executing program ) = 18 [pid 7031] <... unlinkat resumed>) = 0 [pid 7076] memfd_create("syzkaller", 0) = 3 [pid 7076] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 7034] <... close resumed>) = 0 [pid 7031] exit_group(0) = ? [pid 7031] +++ exited with 0 +++ [pid 7034] unlinkat(AT_FDCWD, "./file1", 0 [pid 7032] <... close resumed>) = 0 [pid 5843] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7031, si_uid=0, si_status=0, si_utime=0, si_stime=40 /* 0.40 s */} --- [pid 5843] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 7034] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 7032] unlinkat(AT_FDCWD, "./file1", 0 [pid 5843] umount2("./24", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5843] openat(AT_FDCWD, "./24", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 7034] exit_group(0 [pid 7032] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5843] <... openat resumed>) = 3 [pid 7034] <... exit_group resumed>) = ? [pid 5843] newfstatat(3, "", [pid 7032] exit_group(0 [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5843] umount2("./24/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7034] +++ exited with 0 +++ [pid 7032] <... exit_group resumed>) = ? [pid 5842] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7034, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=42 /* 0.42 s */} --- [pid 5842] restart_syscall(<... resuming interrupted clone ...> [pid 7032] +++ exited with 0 +++ [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] <... restart_syscall resumed>) = 0 [pid 5843] newfstatat(AT_FDCWD, "./24/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] unlink("./24/binderfs") = 0 [pid 5842] umount2("./27", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5843] umount2("./24/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] openat(AT_FDCWD, "./27", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5844] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7032, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=48 /* 0.48 s */} --- [pid 5842] <... openat resumed>) = 3 [pid 5842] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] umount2("./19", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] getdents64(3, [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] openat(AT_FDCWD, "./19", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5842] umount2("./27/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] <... openat resumed>) = 3 [pid 5844] newfstatat(3, "", [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] newfstatat(AT_FDCWD, "./27/binderfs", [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] getdents64(3, [pid 5842] unlink("./27/binderfs" [pid 5844] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5844] umount2("./19/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] <... unlink resumed>) = 0 [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] newfstatat(AT_FDCWD, "./19/binderfs", [pid 5842] umount2("./27/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] unlink("./19/binderfs" [pid 5842] newfstatat(AT_FDCWD, "./27/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] <... unlink resumed>) = 0 [pid 5844] umount2("./19/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] umount2("./27/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] newfstatat(AT_FDCWD, "./19/file0", [pid 5842] openat(AT_FDCWD, "./27/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] umount2("./19/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] <... openat resumed>) = 4 [pid 5842] newfstatat(4, "", [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] openat(AT_FDCWD, "./19/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5842] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5842] close(4) = 0 [pid 5844] <... openat resumed>) = 4 [pid 5844] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] getdents64(4, [pid 5842] rmdir("./27/file0" [pid 5844] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5844] getdents64(4, [pid 5842] <... rmdir resumed>) = 0 [pid 5844] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5844] close(4) = 0 [pid 5842] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5842] close(3 [pid 5844] rmdir("./19/file0" [pid 5842] <... close resumed>) = 0 [pid 5844] <... rmdir resumed>) = 0 [pid 5842] rmdir("./27" [pid 5844] getdents64(3, [pid 5842] <... rmdir resumed>) = 0 [pid 5844] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5842] mkdir("./28", 0777 [pid 5844] close(3) = 0 [pid 5842] <... mkdir resumed>) = 0 [pid 5842] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5842] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5842] close(3) = 0 [pid 5842] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5844] rmdir("./19"./strace-static-x86_64: Process 7077 attached ) = 0 [ 133.493325][ T5843] bcachefs (loop3): shutting down [pid 7077] set_robust_list(0x55558491f660, 24 [pid 5844] mkdir("./20", 0777 [pid 5842] <... clone resumed>, child_tidptr=0x55558491f650) = 7077 [pid 5844] <... mkdir resumed>) = 0 [pid 7077] <... set_robust_list resumed>) = 0 [pid 5844] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 7077] chdir("./28" [pid 7072] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... openat resumed>) = 3 [pid 7077] <... chdir resumed>) = 0 [pid 5844] ioctl(3, LOOP_CLR_FD [pid 7077] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5844] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5844] close(3 [pid 7077] <... prctl resumed>) = 0 [pid 5844] <... close resumed>) = 0 [pid 5844] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 7077] setpgid(0, 0) = 0 [pid 7077] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5844] <... clone resumed>, child_tidptr=0x55558491f650) = 7078 ./strace-static-x86_64: Process 7078 attached [pid 7077] <... openat resumed>) = 3 [pid 7077] write(3, "1000", 4) = 4 [ 133.520547][ T5843] bcachefs (loop3): going read-only [pid 7077] close(3) = 0 [pid 7078] set_robust_list(0x55558491f660, 24) = 0 [pid 7077] symlink("/dev/binderfs", "./binderfs" [pid 7078] chdir("./20" [pid 7077] <... symlink resumed>) = 0 [pid 7078] <... chdir resumed>) = 0 [pid 7077] write(1, "executing program\n", 18executing program ) = 18 [pid 7077] memfd_create("syzkaller", 0 [pid 7078] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 7077] <... memfd_create resumed>) = 3 [pid 7078] <... prctl resumed>) = 0 [pid 7077] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 7078] setpgid(0, 0 [pid 7077] <... mmap resumed>) = 0x7f5e2dc00000 [pid 7078] <... setpgid resumed>) = 0 [pid 7078] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7078] write(3, "1000", 4) = 4 [pid 7078] close(3) = 0 [pid 7078] symlink("/dev/binderfs", "./binderfs") = 0 [ 133.547341][ T5843] bcachefs (loop3): finished waiting for writes to stop [pid 7078] write(1, "executing program\n", 18executing program ) = 18 [pid 7078] memfd_create("syzkaller", 0) = 3 [pid 7078] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [ 133.636471][ T5843] bcachefs (loop3): flushing journal and stopping allocators, journal seq 12 [pid 7076] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 [ 133.741738][ T2890] bcachefs (loop3): bch2_write_super(): fatal error loop3: Superblock write was silently dropped! (seq 0 expected 54) [ 133.773670][ T2890] bcachefs (loop3): fatal error - emergency read only [ 133.792718][ T5843] bcachefs (loop3): flushing journal and stopping allocators complete, journal seq 14 [ 133.843202][ T5843] bcachefs (loop3): unshutdown complete, journal seq 14 [ 133.854109][ T5843] bcachefs (loop3): done going read-only, filesystem not clean [pid 7073] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7072] <... write resumed>) = 16777216 [pid 7077] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7072] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 7078] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7072] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [ 133.916758][ T5843] bcachefs (loop3): shutdown complete [pid 7072] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7072] close(3) = 0 [pid 7072] close(4) = 0 [pid 7072] mkdir("./file0", 0777) = 0 [ 133.964818][ T7072] loop5: detected capacity change from 0 to 32768 [pid 7072] mount("/dev/loop5", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7073] <... write resumed>) = 16777216 [pid 7073] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 7073] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 7073] ioctl(4, LOOP_SET_FD, 3 [pid 7076] <... write resumed>) = 16777216 [pid 7073] <... ioctl resumed>) = 0 [pid 7076] munmap(0x7f5e2dc00000, 138412032 [pid 7073] close(3) = 0 [pid 7073] close(4) = 0 [pid 7073] mkdir("./file0", 0777) = 0 [ 134.147773][ T7073] loop1: detected capacity change from 0 to 32768 [pid 7073] mount("/dev/loop1", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7076] <... munmap resumed>) = 0 [pid 7076] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7076] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7076] close(3) = 0 [pid 7076] close(4) = 0 [pid 7076] mkdir("./file0", 0777) = 0 [ 134.208882][ T7076] loop0: detected capacity change from 0 to 32768 [pid 7076] mount("/dev/loop0", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7078] <... write resumed>) = 16777216 [pid 7078] munmap(0x7f5e2dc00000, 138412032 [pid 7077] <... write resumed>) = 16777216 [pid 7077] munmap(0x7f5e2dc00000, 138412032 [pid 7078] <... munmap resumed>) = 0 [pid 7077] <... munmap resumed>) = 0 [pid 7078] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 7078] ioctl(4, LOOP_SET_FD, 3 [pid 7077] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 7078] <... ioctl resumed>) = 0 [pid 7077] <... openat resumed>) = 4 [pid 7078] close(3 [pid 7077] ioctl(4, LOOP_SET_FD, 3 [pid 7078] <... close resumed>) = 0 [pid 7078] close(4 [pid 7077] <... ioctl resumed>) = 0 [pid 7077] close(3 [pid 7078] <... close resumed>) = 0 [pid 7078] mkdir("./file0", 0777) = 0 [pid 7078] mount("/dev/loop4", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7077] <... close resumed>) = 0 [pid 7077] close(4) = 0 [pid 7077] mkdir("./file0", 0777) = 0 [ 134.345346][ T7078] loop4: detected capacity change from 0 to 32768 [ 134.365834][ T7077] loop2: detected capacity change from 0 to 32768 [ 134.690706][ T7073] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 134.690981][ T7072] 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 [ 134.700344][ T7076] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 134.724013][ T7072] bcachefs (loop5): recovering from clean shutdown, journal seq 10 [ 134.734928][ T7073] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 134.739827][ T7076] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 134.760249][ T7072] bcachefs (loop5): Version upgrade required: [ 134.760249][ T7072] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 134.760249][ T7072] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 134.760249][ T7072] 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 [ 134.834434][ T7078] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 134.843838][ T7078] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 134.855754][ T7077] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 134.883431][ T7072] bcachefs (loop5): dropping and reconstructing all alloc info [ 134.891202][ T7077] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [pid 7077] mount("/dev/loop2", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7078] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 7078] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 7078] ioctl(3, LOOP_CLR_FD) = 0 [ 134.971102][ T7078] bcachefs: bch2_fs_get_tree() error: EINVAL [ 134.993942][ T7072] bcachefs (loop5): check_topology... done [pid 7078] close(3 [pid 7076] <... mount resumed>) = -1 EINVAL (Invalid argument) [ 134.999836][ T7072] bcachefs (loop5): accounting_read... done [ 135.054964][ T7073] bcachefs: bch2_fs_get_tree() error: EINVAL [ 135.063168][ T7076] bcachefs: bch2_fs_get_tree() error: EINVAL [ 135.084745][ T7072] bcachefs (loop5): alloc_read... done [pid 7073] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 7073] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 7073] ioctl(3, LOOP_CLR_FD) = 0 [pid 7073] close(3 [pid 7076] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 7076] ioctl(3, LOOP_CLR_FD) = 0 [ 135.094328][ T7072] bcachefs (loop5): stripes_read... done [ 135.100123][ T7072] bcachefs (loop5): snapshots_read... done [pid 7076] close(3 [pid 7077] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 7077] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 7077] ioctl(3, LOOP_CLR_FD) = 0 [ 135.143308][ T7077] bcachefs: bch2_fs_get_tree() error: EINVAL [ 135.154642][ T7072] bcachefs (loop5): check_allocations... done [ 135.262647][ T7072] bcachefs (loop5): going read-write [pid 7077] close(3 [pid 7072] <... mount resumed>) = 0 [pid 7072] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 7072] chdir("./file0") = 0 [pid 7072] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [ 135.307637][ T7072] bcachefs (loop5): done starting filesystem [pid 7072] ioctl(4, LOOP_CLR_FD) = 0 [pid 7072] close(4) = 0 [pid 7072] unlinkat(AT_FDCWD, "./file1", 0) = 0 [pid 7072] exit_group(0) = ? [pid 7072] +++ exited with 0 +++ [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7072, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=39 /* 0.39 s */} --- [pid 5845] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5845] umount2("./23", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./23", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5845] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5845] umount2("./23/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./23/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] unlink("./23/binderfs") = 0 [pid 5845] umount2("./23/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7077] <... close resumed>) = 0 [ 135.444246][ T5845] bcachefs (loop5): shutting down [ 135.449337][ T5845] bcachefs (loop5): going read-only [pid 7077] unlinkat(AT_FDCWD, "./file1", 0 [pid 7078] <... close resumed>) = 0 [pid 7078] unlinkat(AT_FDCWD, "./file1", 0 [pid 7077] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 7078] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 7077] exit_group(0 [pid 7078] exit_group(0 [pid 7077] <... exit_group resumed>) = ? [pid 7078] <... exit_group resumed>) = ? [pid 7077] +++ exited with 0 +++ [pid 5842] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7077, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=40 /* 0.40 s */} --- [pid 5842] restart_syscall(<... resuming interrupted clone ...> [pid 7078] +++ exited with 0 +++ [pid 5844] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7078, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=47 /* 0.47 s */} --- [pid 5844] restart_syscall(<... resuming interrupted clone ...> [pid 5842] <... restart_syscall resumed>) = 0 [pid 7073] <... close resumed>) = 0 [pid 5844] <... restart_syscall resumed>) = 0 [pid 7073] unlinkat(AT_FDCWD, "./file1", 0) = -1 ENOENT (No such file or directory) [pid 5842] umount2("./28", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7073] exit_group(0 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 7073] <... exit_group resumed>) = ? [pid 5842] openat(AT_FDCWD, "./28", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5844] umount2("./20", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] <... openat resumed>) = 3 [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] newfstatat(3, "", [pid 5844] openat(AT_FDCWD, "./20", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] <... openat resumed>) = 3 [pid 5842] getdents64(3, [pid 5844] newfstatat(3, "", [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] umount2("./28/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7073] +++ exited with 0 +++ [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] getdents64(3, [pid 5842] newfstatat(AT_FDCWD, "./28/binderfs", [pid 5844] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5842] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7073, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=51 /* 0.51 s */} --- [pid 5844] umount2("./20/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] unlink("./28/binderfs" [pid 5841] restart_syscall(<... resuming interrupted clone ...> [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 7076] <... close resumed>) = 0 [pid 5844] newfstatat(AT_FDCWD, "./20/binderfs", [pid 5843] <... umount2 resumed>) = 0 [pid 5842] <... unlink resumed>) = 0 [pid 7076] unlinkat(AT_FDCWD, "./file1", 0 [pid 5844] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 7076] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5844] unlink("./20/binderfs" [pid 5843] umount2("./24/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] umount2("./28/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7076] exit_group(0 [pid 5844] <... unlink resumed>) = 0 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] <... restart_syscall resumed>) = 0 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] umount2("./20/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] newfstatat(AT_FDCWD, "./20/file0", [pid 5843] newfstatat(AT_FDCWD, "./24/file0", [pid 5842] newfstatat(AT_FDCWD, "./28/file0", [pid 5841] umount2("./22", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] umount2("./20/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] openat(AT_FDCWD, "./22", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5844] openat(AT_FDCWD, "./20/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5841] <... openat resumed>) = 3 [pid 5844] <... openat resumed>) = 4 [pid 5841] newfstatat(3, "", [pid 5844] newfstatat(4, "", [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] getdents64(3, [pid 5844] getdents64(4, [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5844] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5843] umount2("./24/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] umount2("./22/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] umount2("./28/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] getdents64(4, [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5843] openat(AT_FDCWD, "./24/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5841] newfstatat(AT_FDCWD, "./22/binderfs", [pid 5844] close(4 [pid 5843] <... openat resumed>) = 4 [pid 5841] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] <... close resumed>) = 0 [pid 5843] newfstatat(4, "", [pid 5841] unlink("./22/binderfs" [pid 5844] rmdir("./20/file0" [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 7076] <... exit_group resumed>) = ? [pid 5844] <... rmdir resumed>) = 0 [pid 5843] getdents64(4, [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] <... unlink resumed>) = 0 [pid 5844] getdents64(3, [pid 5843] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5841] umount2("./22/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5843] getdents64(4, [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] close(3 [pid 5843] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5841] newfstatat(AT_FDCWD, "./22/file0", [pid 5844] <... close resumed>) = 0 [pid 5843] close(4 [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] rmdir("./20" [pid 5843] <... close resumed>) = 0 [pid 5841] umount2("./22/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7076] +++ exited with 0 +++ [pid 5844] <... rmdir resumed>) = 0 [pid 5843] rmdir("./24/file0" [pid 5842] openat(AT_FDCWD, "./28/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] mkdir("./21", 0777 [pid 5843] <... rmdir resumed>) = 0 [pid 5841] openat(AT_FDCWD, "./22/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5840] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7076, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=47 /* 0.47 s */} --- [pid 5844] <... mkdir resumed>) = 0 [pid 5843] getdents64(3, [pid 5841] <... openat resumed>) = 4 [pid 5840] restart_syscall(<... resuming interrupted clone ...> [pid 5844] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5843] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5841] newfstatat(4, "", [pid 5844] <... openat resumed>) = 3 [pid 5843] close(3 [pid 5842] <... openat resumed>) = 4 [ 135.487072][ T5845] bcachefs (loop5): finished waiting for writes to stop [ 135.516986][ T5845] bcachefs (loop5): flushing journal and stopping allocators, journal seq 12 [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] ioctl(3, LOOP_CLR_FD [pid 5843] <... close resumed>) = 0 [pid 5842] newfstatat(4, "", [pid 5840] <... restart_syscall resumed>) = 0 [pid 5843] rmdir("./24" [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5842] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5843] <... rmdir resumed>) = 0 [pid 5842] close(4 [pid 5844] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5840] umount2("./23", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] getdents64(4, [pid 5843] mkdir("./25", 0777) = 0 [pid 5842] <... close resumed>) = 0 [pid 5841] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] close(3 [pid 5843] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5842] rmdir("./28/file0" [pid 5844] <... close resumed>) = 0 [pid 5843] <... openat resumed>) = 3 [pid 5841] getdents64(4, [pid 5840] openat(AT_FDCWD, "./23", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5841] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5844] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5843] ioctl(3, LOOP_CLR_FD [pid 5842] <... rmdir resumed>) = 0 [pid 5841] close(4 [pid 5840] <... openat resumed>) = 3 [pid 5842] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5841] <... close resumed>) = 0 [pid 5840] newfstatat(3, "", [pid 5843] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5842] close(3 [pid 5843] close(3 [pid 5842] <... close resumed>) = 0 [pid 5841] rmdir("./22/file0"./strace-static-x86_64: Process 7117 attached [pid 5844] <... clone resumed>, child_tidptr=0x55558491f650) = 7117 [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] rmdir("./28") = 0 [pid 5842] mkdir("./29", 0777 [pid 5843] <... close resumed>) = 0 [pid 5842] <... mkdir resumed>) = 0 [pid 5840] getdents64(3, [pid 5843] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5842] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5841] <... rmdir resumed>) = 0 [pid 7117] set_robust_list(0x55558491f660, 24 [pid 5840] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5842] <... openat resumed>) = 3 [pid 5842] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5842] close(3 [pid 7117] <... set_robust_list resumed>) = 0 [pid 5842] <... close resumed>) = 0 [pid 5842] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 7119 attached ./strace-static-x86_64: Process 7118 attached [pid 7117] chdir("./21" [pid 5841] getdents64(3, [pid 5840] umount2("./23/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7119] set_robust_list(0x55558491f660, 24 [pid 5842] <... clone resumed>, child_tidptr=0x55558491f650) = 7119 [pid 7119] <... set_robust_list resumed>) = 0 [pid 7119] chdir("./29") = 0 [pid 7119] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7119] setpgid(0, 0) = 0 [pid 7119] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7119] write(3, "1000", 4) = 4 [pid 5841] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 7119] close(3 [pid 7117] <... chdir resumed>) = 0 [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 7119] <... close resumed>) = 0 [pid 7119] symlink("/dev/binderfs", "./binderfs" [pid 7117] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5840] newfstatat(AT_FDCWD, "./23/binderfs", [pid 7119] <... symlink resumed>) = 0 [pid 7118] set_robust_list(0x55558491f660, 24 [pid 7117] <... prctl resumed>) = 0 [pid 5843] <... clone resumed>, child_tidptr=0x55558491f650) = 7118 executing program [pid 7119] write(1, "executing program\n", 18) = 18 [pid 7119] memfd_create("syzkaller", 0 [pid 7118] <... set_robust_list resumed>) = 0 [pid 7117] setpgid(0, 0 [pid 5840] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 7119] <... memfd_create resumed>) = 3 [pid 7119] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 7118] chdir("./25" [pid 7117] <... setpgid resumed>) = 0 [pid 5841] close(3 [pid 5840] unlink("./23/binderfs" [pid 7117] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5840] <... unlink resumed>) = 0 [pid 5841] <... close resumed>) = 0 [pid 5840] umount2("./23/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7118] <... chdir resumed>) = 0 [pid 5841] rmdir("./22" [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 7117] <... openat resumed>) = 3 [pid 5840] newfstatat(AT_FDCWD, "./23/file0", [pid 5841] <... rmdir resumed>) = 0 [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 7118] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 7117] write(3, "1000", 4 [pid 5840] umount2("./23/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7118] <... prctl resumed>) = 0 [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 7118] setpgid(0, 0 [pid 5840] openat(AT_FDCWD, "./23/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 7118] <... setpgid resumed>) = 0 [pid 7117] <... write resumed>) = 4 [pid 7118] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 7117] close(3 [pid 5840] <... openat resumed>) = 4 [pid 7117] <... close resumed>) = 0 [pid 5840] newfstatat(4, "", [pid 7118] <... openat resumed>) = 3 [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 7118] write(3, "1000", 4 executing program [pid 7117] symlink("/dev/binderfs", "./binderfs" [pid 5841] mkdir("./23", 0777 [pid 5840] getdents64(4, [pid 7117] <... symlink resumed>) = 0 [pid 5840] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 7117] write(1, "executing program\n", 18 [pid 5841] <... mkdir resumed>) = 0 [pid 7118] <... write resumed>) = 4 [pid 7117] <... write resumed>) = 18 [pid 5840] getdents64(4, [pid 7117] memfd_create("syzkaller", 0 [pid 7118] close(3 [pid 5840] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [ 135.579830][ T80] bcachefs (loop5): bch2_write_super(): fatal error loop5: Superblock write was silently dropped! (seq 0 expected 54) [pid 5840] close(4 [pid 7118] <... close resumed>) = 0 [pid 7117] <... memfd_create resumed>) = 3 [pid 5841] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5840] <... close resumed>) = 0 [pid 5840] rmdir("./23/file0" [pid 5841] <... openat resumed>) = 3 [pid 5840] <... rmdir resumed>) = 0 [pid 7118] symlink("/dev/binderfs", "./binderfs" [pid 5840] getdents64(3, [pid 7117] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5841] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 7117] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5841] close(3) = 0 [pid 5840] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5841] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 7120 attached [pid 7120] set_robust_list(0x55558491f660, 24) = 0 [pid 7120] chdir("./23" [pid 5841] <... clone resumed>, child_tidptr=0x55558491f650) = 7120 [pid 7120] <... chdir resumed>) = 0 [pid 7118] <... symlink resumed>) = 0 [pid 7120] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 executing program [pid 7120] setpgid(0, 0 [pid 7118] write(1, "executing program\n", 18 [pid 5840] close(3 [pid 7120] <... setpgid resumed>) = 0 [pid 7118] <... write resumed>) = 18 [pid 7120] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5840] <... close resumed>) = 0 [pid 7120] <... openat resumed>) = 3 [pid 7120] write(3, "1000", 4 [pid 7118] memfd_create("syzkaller", 0 [pid 5840] rmdir("./23" [pid 7118] <... memfd_create resumed>) = 3 [pid 7120] <... write resumed>) = 4 [pid 7120] close(3) = 0 [pid 7120] symlink("/dev/binderfs", "./binderfs" [pid 7118] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5840] <... rmdir resumed>) = 0 [pid 7120] <... symlink resumed>) = 0 [pid 7118] <... mmap resumed>) = 0x7f5e2dc00000 executing program [pid 5840] mkdir("./24", 0777 [pid 7120] write(1, "executing program\n", 18) = 18 [pid 7120] memfd_create("syzkaller", 0 [pid 5840] <... mkdir resumed>) = 0 [pid 5840] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5840] ioctl(3, LOOP_CLR_FD [pid 7120] <... memfd_create resumed>) = 3 [pid 7120] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 5840] <... ioctl resumed>) = -1 ENXIO (No such device or address) [ 135.627940][ T80] bcachefs (loop5): fatal error - emergency read only [pid 5840] close(3) = 0 [pid 5840] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55558491f650) = 7121 ./strace-static-x86_64: Process 7121 attached [pid 7121] set_robust_list(0x55558491f660, 24) = 0 [ 135.682491][ T5845] bcachefs (loop5): flushing journal and stopping allocators complete, journal seq 14 [ 135.709719][ T5845] bcachefs (loop5): unshutdown complete, journal seq 14 [pid 7121] chdir("./24") = 0 [pid 7121] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7121] setpgid(0, 0) = 0 [pid 7121] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7121] write(3, "1000", 4) = 4 [pid 7121] close(3) = 0 [pid 7121] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 7121] write(1, "executing program\n", 18) = 18 [pid 7121] memfd_create("syzkaller", 0) = 3 [pid 7121] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [ 135.733507][ T5845] bcachefs (loop5): done going read-only, filesystem not clean [ 135.856037][ T5845] bcachefs (loop5): shutdown complete [pid 7119] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7118] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7117] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7120] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7121] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7117] <... write resumed>) = 16777216 [pid 7118] <... write resumed>) = 16777216 [pid 7117] munmap(0x7f5e2dc00000, 138412032 [pid 7118] munmap(0x7f5e2dc00000, 138412032 [pid 7117] <... munmap resumed>) = 0 [pid 7119] <... write resumed>) = 16777216 [pid 7118] <... munmap resumed>) = 0 [pid 7117] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 7119] munmap(0x7f5e2dc00000, 138412032 [pid 7118] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 7117] <... openat resumed>) = 4 [pid 7118] <... openat resumed>) = 4 [pid 7117] ioctl(4, LOOP_SET_FD, 3 [pid 7118] ioctl(4, LOOP_SET_FD, 3 [pid 7117] <... ioctl resumed>) = 0 [pid 7119] <... munmap resumed>) = 0 [pid 7118] <... ioctl resumed>) = 0 [pid 7119] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 7119] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7118] close(3) = 0 [pid 7117] close(3 [pid 7120] <... write resumed>) = 16777216 [pid 7118] close(4 [pid 7117] <... close resumed>) = 0 [pid 7119] close(3 [pid 7120] munmap(0x7f5e2dc00000, 138412032 [pid 7118] <... close resumed>) = 0 [pid 7119] <... close resumed>) = 0 [pid 7117] close(4 [pid 7118] mkdir("./file0", 0777 [pid 7117] <... close resumed>) = 0 [pid 7118] <... mkdir resumed>) = 0 [pid 7117] mkdir("./file0", 0777 [pid 7119] close(4 [pid 7118] mount("/dev/loop3", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7119] <... close resumed>) = 0 [pid 7119] mkdir("./file0", 0777 [pid 7117] <... mkdir resumed>) = 0 [pid 7117] mount("/dev/loop4", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7119] <... mkdir resumed>) = 0 [ 136.385512][ T7117] loop4: detected capacity change from 0 to 32768 [ 136.393013][ T7118] loop3: detected capacity change from 0 to 32768 [ 136.405044][ T7119] loop2: detected capacity change from 0 to 32768 [pid 7119] mount("/dev/loop2", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7120] <... munmap resumed>) = 0 [pid 7120] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 7120] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7121] <... write resumed>) = 16777216 [pid 7120] close(3) = 0 [pid 7120] close(4) = 0 [pid 7120] mkdir("./file0", 0777) = 0 [pid 7121] munmap(0x7f5e2dc00000, 138412032 [pid 7120] mount("/dev/loop1", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7121] <... munmap resumed>) = 0 [ 136.475180][ T7120] loop1: detected capacity change from 0 to 32768 [pid 7121] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7121] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7121] close(3) = 0 [pid 7121] close(4) = 0 [pid 7121] mkdir("./file0", 0777) = 0 [ 136.535761][ T7121] loop0: detected capacity change from 0 to 32768 [ 136.750179][ T7117] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 136.759698][ T7120] 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 [ 136.782230][ T7117] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 136.791163][ T7121] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 136.799745][ T7120] bcachefs (loop1): recovering from clean shutdown, journal seq 10 [ 136.820017][ T7121] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 136.828439][ T7118] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 136.833337][ T7120] bcachefs (loop1): Version upgrade required: [ 136.833337][ T7120] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 136.833337][ T7120] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 136.833337][ T7120] 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 [ 136.840076][ T7118] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 136.910665][ T7119] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 136.930377][ T7119] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 136.984964][ T7120] bcachefs (loop1): dropping and reconstructing all alloc info [ 137.034990][ T7120] bcachefs (loop1): check_topology... done [pid 7121] mount("/dev/loop0", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 5845] <... umount2 resumed>) = 0 [pid 5845] umount2("./23/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./23/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] umount2("./23/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 137.040907][ T7120] bcachefs (loop1): accounting_read... done [ 137.089804][ T7120] bcachefs (loop1): alloc_read... done [ 137.102893][ T7120] bcachefs (loop1): stripes_read... done [ 137.113447][ T7120] bcachefs (loop1): snapshots_read... [ 137.114734][ T7119] bcachefs: bch2_fs_get_tree() error: EINVAL [ 137.126872][ T7120] done [pid 7119] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./23/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 7121] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 7121] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 7121] ioctl(3, LOOP_CLR_FD) = 0 [pid 7121] close(3 [pid 7119] openat(AT_FDCWD, "/dev/loop2", O_RDWR [ 137.128493][ T7121] bcachefs: bch2_fs_get_tree() error: EINVAL [ 137.129916][ T7120] bcachefs (loop1): check_allocations... [ 137.136308][ T7117] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5845] newfstatat(4, "", [pid 7119] <... openat resumed>) = 3 [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 7119] ioctl(3, LOOP_CLR_FD [pid 5845] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 7119] <... ioctl resumed>) = 0 [pid 7119] close(3 [pid 5845] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5845] close(4) = 0 [pid 5845] rmdir("./23/file0" [pid 7117] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5845] <... rmdir resumed>) = 0 [pid 7117] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5845] getdents64(3, [pid 7117] <... openat resumed>) = 3 [pid 5845] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5845] close(3 [pid 7117] ioctl(3, LOOP_CLR_FD) = 0 [pid 5845] <... close resumed>) = 0 [pid 7117] close(3 [pid 5845] rmdir("./23") = 0 [pid 5845] mkdir("./24", 0777) = 0 [ 137.174957][ T7120] done [ 137.186732][ T7120] bcachefs (loop1): going read-write [pid 5845] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5845] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5845] close(3 [pid 7118] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5845] <... close resumed>) = 0 [pid 7118] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 7118] ioctl(3, LOOP_CLR_FD) = 0 [pid 7118] close(3 [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55558491f650) = 7158 [ 137.245151][ T7118] bcachefs: bch2_fs_get_tree() error: EINVAL ./strace-static-x86_64: Process 7158 attached [pid 7158] set_robust_list(0x55558491f660, 24) = 0 [pid 7158] chdir("./24") = 0 [pid 7158] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7158] setpgid(0, 0) = 0 [pid 7158] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7158] write(3, "1000", 4) = 4 [pid 7158] close(3) = 0 [pid 7158] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 7158] write(1, "executing program\n", 18) = 18 [pid 7158] memfd_create("syzkaller", 0) = 3 [pid 7158] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 7120] <... mount resumed>) = 0 [pid 7120] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [ 137.295246][ T7120] bcachefs (loop1): done starting filesystem [pid 7120] chdir("./file0") = 0 [pid 7120] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 7120] ioctl(4, LOOP_CLR_FD) = 0 [pid 7120] close(4) = 0 [pid 7120] unlinkat(AT_FDCWD, "./file1", 0) = 0 [pid 7120] exit_group(0) = ? [pid 7120] +++ exited with 0 +++ [pid 5841] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7120, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=33 /* 0.33 s */} --- [pid 5841] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5841] umount2("./23", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5841] openat(AT_FDCWD, "./23", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5841] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5841] umount2("./23/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5841] newfstatat(AT_FDCWD, "./23/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] unlink("./23/binderfs") = 0 [pid 5841] umount2("./23/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7119] <... close resumed>) = 0 [pid 7119] unlinkat(AT_FDCWD, "./file1", 0) = -1 ENOENT (No such file or directory) [pid 7119] exit_group(0) = ? [ 137.555949][ T5841] bcachefs (loop1): shutting down [pid 7119] +++ exited with 0 +++ [pid 5842] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7119, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=48 /* 0.48 s */} --- [pid 7158] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7121] <... close resumed>) = 0 [pid 5842] restart_syscall(<... resuming interrupted clone ...> [pid 7121] unlinkat(AT_FDCWD, "./file1", 0) = -1 ENOENT (No such file or directory) [pid 7121] exit_group(0 [pid 5842] <... restart_syscall resumed>) = 0 [pid 5842] umount2("./29", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] openat(AT_FDCWD, "./29", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 7121] <... exit_group resumed>) = ? [pid 7121] +++ exited with 0 +++ [pid 5842] <... openat resumed>) = 3 [pid 5842] newfstatat(3, "", [pid 5840] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7121, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=44 /* 0.44 s */} --- [ 137.578731][ T5841] bcachefs (loop1): going read-only [pid 5840] restart_syscall(<... resuming interrupted clone ...> [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] <... restart_syscall resumed>) = 0 [pid 5842] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5842] umount2("./29/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] umount2("./24", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] newfstatat(AT_FDCWD, "./29/binderfs", [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] unlink("./29/binderfs" [pid 5840] openat(AT_FDCWD, "./24", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5842] <... unlink resumed>) = 0 [pid 5840] newfstatat(3, "", [pid 5842] umount2("./29/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] getdents64(3, [pid 5842] newfstatat(AT_FDCWD, "./29/file0", [pid 5840] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] umount2("./24/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] umount2("./29/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./24/binderfs", [pid 5842] openat(AT_FDCWD, "./29/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5840] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] unlink("./24/binderfs" [pid 5842] <... openat resumed>) = 4 [pid 5840] <... unlink resumed>) = 0 [pid 5842] newfstatat(4, "", [pid 5840] umount2("./24/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] getdents64(4, [pid 5840] newfstatat(AT_FDCWD, "./24/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5840] umount2("./24/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 7117] <... close resumed>) = 0 [pid 5840] openat(AT_FDCWD, "./24/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5842] close(4 [pid 5840] <... openat resumed>) = 4 [pid 7117] unlinkat(AT_FDCWD, "./file1", 0 [pid 5842] <... close resumed>) = 0 [pid 5840] newfstatat(4, "", [pid 7117] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5842] rmdir("./29/file0" [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5840] getdents64(4, [pid 5842] <... rmdir resumed>) = 0 [pid 5842] getdents64(3, [pid 5840] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5840] close(4 [pid 5842] close(3 [pid 7117] exit_group(0) = ? [pid 5842] <... close resumed>) = 0 [pid 5840] <... close resumed>) = 0 [pid 5840] rmdir("./24/file0" [pid 5842] rmdir("./29" [pid 5840] <... rmdir resumed>) = 0 [pid 5840] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5840] close(3) = 0 [pid 5840] rmdir("./24") = 0 [pid 7117] +++ exited with 0 +++ [pid 5842] <... rmdir resumed>) = 0 [pid 5840] mkdir("./25", 0777 [pid 5844] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7117, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=39 /* 0.39 s */} --- [pid 5842] mkdir("./30", 0777 [pid 5840] <... mkdir resumed>) = 0 [ 137.600250][ T5841] bcachefs (loop1): finished waiting for writes to stop [pid 5842] <... mkdir resumed>) = 0 [pid 5840] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5842] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5840] <... openat resumed>) = 3 [pid 5840] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5840] close(3 [pid 5844] umount2("./21", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] <... openat resumed>) = 3 [pid 5840] <... close resumed>) = 0 [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] ioctl(3, LOOP_CLR_FD [pid 5840] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5842] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5844] openat(AT_FDCWD, "./21", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY./strace-static-x86_64: Process 7161 attached ) = 3 [pid 5842] close(3 [pid 5840] <... clone resumed>, child_tidptr=0x55558491f650) = 7161 executing program [pid 5844] newfstatat(3, "", [pid 5842] <... close resumed>) = 0 [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 7161] set_robust_list(0x55558491f660, 24) = 0 [pid 7161] chdir("./25") = 0 [pid 7161] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7161] setpgid(0, 0 [pid 5844] getdents64(3, [pid 7161] <... setpgid resumed>) = 0 [pid 7161] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7161] write(3, "1000", 4) = 4 [pid 7161] close(3) = 0 [pid 7161] symlink("/dev/binderfs", "./binderfs") = 0 [pid 7161] write(1, "executing program\n", 18 [pid 5842] <... clone resumed>, child_tidptr=0x55558491f650) = 7162 [pid 7161] <... write resumed>) = 18 [pid 5844] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5844] umount2("./21/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7161] memfd_create("syzkaller", 0./strace-static-x86_64: Process 7162 attached [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 7162] set_robust_list(0x55558491f660, 24 [pid 7161] <... memfd_create resumed>) = 3 [pid 5844] newfstatat(AT_FDCWD, "./21/binderfs", [pid 7161] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5844] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 7161] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5844] unlink("./21/binderfs" [pid 7162] <... set_robust_list resumed>) = 0 [pid 7118] <... close resumed>) = 0 [pid 5844] <... unlink resumed>) = 0 [ 137.650998][ T5841] bcachefs (loop1): flushing journal and stopping allocators, journal seq 12 [pid 7162] chdir("./30" [pid 7118] unlinkat(AT_FDCWD, "./file1", 0 [pid 5844] umount2("./21/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7118] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 7162] <... chdir resumed>) = 0 [pid 5844] newfstatat(AT_FDCWD, "./21/file0", [pid 7162] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 7118] exit_group(0 [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 7162] <... prctl resumed>) = 0 [pid 7118] <... exit_group resumed>) = ? [pid 5844] umount2("./21/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7162] setpgid(0, 0 [pid 7118] +++ exited with 0 +++ [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 7162] <... setpgid resumed>) = 0 [pid 5844] openat(AT_FDCWD, "./21/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 7162] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5844] <... openat resumed>) = 4 [pid 5843] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7118, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=43 /* 0.43 s */} --- [pid 7162] <... openat resumed>) = 3 [pid 5844] newfstatat(4, "", [pid 5843] restart_syscall(<... resuming interrupted clone ...> [pid 7162] write(3, "1000", 4 [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 7162] <... write resumed>) = 4 [pid 5844] getdents64(4, [pid 7162] close(3 [pid 5844] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 7162] <... close resumed>) = 0 [pid 5844] getdents64(4, [pid 7162] symlink("/dev/binderfs", "./binderfs" [pid 5844] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 executing program [pid 7162] <... symlink resumed>) = 0 [pid 5844] close(4 [pid 7162] write(1, "executing program\n", 18 [pid 5844] <... close resumed>) = 0 [pid 7162] <... write resumed>) = 18 [pid 5844] rmdir("./21/file0" [pid 7162] memfd_create("syzkaller", 0 [pid 5844] <... rmdir resumed>) = 0 [pid 7162] <... memfd_create resumed>) = 3 [pid 5844] getdents64(3, [pid 5843] <... restart_syscall resumed>) = 0 [pid 5844] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 7162] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5844] close(3 [pid 7162] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5844] <... close resumed>) = 0 [pid 5843] umount2("./25", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] rmdir("./21" [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] <... rmdir resumed>) = 0 [pid 5843] openat(AT_FDCWD, "./25", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5844] mkdir("./22", 0777 [pid 5843] <... openat resumed>) = 3 [pid 5844] <... mkdir resumed>) = 0 [pid 5843] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5843] getdents64(3, [pid 5844] <... openat resumed>) = 3 [pid 5843] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5843] umount2("./25/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] ioctl(3, LOOP_CLR_FD [pid 5843] newfstatat(AT_FDCWD, "./25/binderfs", [pid 5844] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5843] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] close(3 [pid 5843] unlink("./25/binderfs" [pid 5844] <... close resumed>) = 0 [pid 5843] <... unlink resumed>) = 0 [pid 5844] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5843] umount2("./25/file0", MNT_FORCE|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 7163 attached ) = -1 EINVAL (Invalid argument) [pid 5843] newfstatat(AT_FDCWD, "./25/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 137.716916][ T80] bcachefs (loop1): bch2_write_super(): fatal error loop1: Superblock write was silently dropped! (seq 0 expected 54) [pid 5843] umount2("./25/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7163] set_robust_list(0x55558491f660, 24) = 0 [pid 5844] <... clone resumed>, child_tidptr=0x55558491f650) = 7163 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] openat(AT_FDCWD, "./25/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5843] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5843] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5843] close(4) = 0 [pid 7163] chdir("./22" [pid 5843] rmdir("./25/file0" [pid 7163] <... chdir resumed>) = 0 [pid 7163] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5843] <... rmdir resumed>) = 0 [pid 5843] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5843] close(3) = 0 [pid 5843] rmdir("./25") = 0 [pid 5843] mkdir("./26", 0777) = 0 [pid 5843] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 7163] <... prctl resumed>) = 0 [pid 5843] <... openat resumed>) = 3 [pid 7163] setpgid(0, 0 [pid 5843] ioctl(3, LOOP_CLR_FD [pid 7163] <... setpgid resumed>) = 0 [pid 5843] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5843] close(3) = 0 [pid 5843] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55558491f650) = 7164 [pid 7163] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC./strace-static-x86_64: Process 7164 attached ) = 3 [ 137.773857][ T80] bcachefs (loop1): fatal error - emergency read only [ 137.781020][ T5841] bcachefs (loop1): flushing journal and stopping allocators complete, journal seq 14 [ 137.796833][ T5841] bcachefs (loop1): unshutdown complete, journal seq 14 [pid 7164] set_robust_list(0x55558491f660, 24 [pid 7163] write(3, "1000", 4 [pid 7164] <... set_robust_list resumed>) = 0 [pid 7163] <... write resumed>) = 4 [pid 7163] close(3 [pid 7164] chdir("./26" [pid 7163] <... close resumed>) = 0 [pid 7163] symlink("/dev/binderfs", "./binderfs") = 0 [pid 7164] <... chdir resumed>) = 0 [pid 7163] write(1, "executing program\n", 18 [pid 7164] prctl(PR_SET_PDEATHSIG, SIGKILLexecuting program ) = 0 [pid 7163] <... write resumed>) = 18 [pid 7164] setpgid(0, 0 [pid 7163] memfd_create("syzkaller", 0) = 3 [pid 7163] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 7164] <... setpgid resumed>) = 0 [pid 7164] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 7163] <... mmap resumed>) = 0x7f5e2dc00000 [pid 7164] <... openat resumed>) = 3 [pid 7164] write(3, "1000", 4) = 4 [ 137.822077][ T5841] bcachefs (loop1): done going read-only, filesystem not clean [pid 7164] close(3) = 0 [pid 7164] symlink("/dev/binderfs", "./binderfs") = 0 [pid 7164] write(1, "executing program\n", 18executing program ) = 18 [pid 7164] memfd_create("syzkaller", 0) = 3 [pid 7164] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [ 137.928394][ T5841] bcachefs (loop1): shutdown complete [pid 7161] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7158] <... write resumed>) = 16777216 [pid 7158] munmap(0x7f5e2dc00000, 138412032 [pid 7162] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7158] <... munmap resumed>) = 0 [pid 7158] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 7158] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7163] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7158] close(3) = 0 [pid 7158] close(4) = 0 [pid 7164] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7158] mkdir("./file0", 0777) = 0 [ 138.096139][ T7158] loop5: detected capacity change from 0 to 32768 [pid 7158] mount("/dev/loop5", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7161] <... write resumed>) = 16777216 [pid 7161] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 7161] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7161] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7161] close(3) = 0 [pid 7161] close(4) = 0 [pid 7161] mkdir("./file0", 0777) = 0 [ 138.298692][ T7161] loop0: detected capacity change from 0 to 32768 [pid 7161] mount("/dev/loop0", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7162] <... write resumed>) = 16777216 [pid 7162] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 7162] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 7162] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7162] close(3) = 0 [pid 7162] close(4) = 0 [pid 7162] mkdir("./file0", 0777) = 0 [ 138.424543][ T7162] loop2: detected capacity change from 0 to 32768 [pid 7162] mount("/dev/loop2", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7164] <... write resumed>) = 16777216 [pid 7164] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 7164] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 7164] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7164] close(3) = 0 [pid 7164] close(4 [pid 7163] <... write resumed>) = 16777216 [pid 7164] <... close resumed>) = 0 [pid 7163] munmap(0x7f5e2dc00000, 138412032 [pid 7164] mkdir("./file0", 0777) = 0 [ 138.530886][ T7164] loop3: detected capacity change from 0 to 32768 [pid 7164] mount("/dev/loop3", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7163] <... munmap resumed>) = 0 [pid 7163] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 7163] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7163] close(3) = 0 [pid 7163] close(4) = 0 [pid 7163] mkdir("./file0", 0777) = 0 [ 138.605472][ T7163] loop4: detected capacity change from 0 to 32768 [ 138.840144][ T7164] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 138.846626][ T7161] 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 [ 138.850439][ T7162] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 138.871578][ T7161] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 138.888877][ T7161] bcachefs (loop0): Version upgrade required: [ 138.888877][ T7161] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 138.888877][ T7161] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 138.888877][ T7161] 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 [ 138.903475][ T7162] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 138.960573][ T7158] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 138.977701][ T7158] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 138.997405][ T7163] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 138.997414][ T7164] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 139.031073][ T7163] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 139.077534][ T7161] bcachefs (loop0): dropping and reconstructing all alloc info [ 139.119454][ T7161] bcachefs (loop0): check_topology... done [ 139.126104][ T7161] bcachefs (loop0): accounting_read... [ 139.141188][ T7164] bcachefs: bch2_fs_get_tree() error: EINVAL [ 139.155128][ T7161] done [ 139.158218][ T7161] bcachefs (loop0): alloc_read... done [pid 7163] mount("/dev/loop4", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7164] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 7164] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 7164] ioctl(3, LOOP_CLR_FD) = 0 [pid 7164] close(3 [pid 7162] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 7162] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 7162] ioctl(3, LOOP_CLR_FD) = 0 [ 139.179336][ T7161] bcachefs (loop0): stripes_read... done [ 139.198973][ T7162] bcachefs: bch2_fs_get_tree() error: EINVAL [ 139.202850][ T7161] bcachefs (loop0): snapshots_read... done [ 139.218065][ T7158] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 7162] close(3 [pid 7158] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 7158] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 7158] ioctl(3, LOOP_CLR_FD) = 0 [ 139.242843][ T7161] bcachefs (loop0): check_allocations... done [ 139.323545][ T7161] bcachefs (loop0): going read-write [pid 7158] close(3 [pid 7163] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 7163] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 7163] ioctl(3, LOOP_CLR_FD) = 0 [pid 7161] <... mount resumed>) = 0 [pid 7163] close(3 [ 139.370851][ T7163] bcachefs: bch2_fs_get_tree() error: EINVAL [ 139.394065][ T7161] bcachefs (loop0): done starting filesystem [pid 7161] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 7161] chdir("./file0") = 0 [pid 7161] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7161] ioctl(4, LOOP_CLR_FD) = 0 [pid 7161] close(4) = 0 [pid 7161] unlinkat(AT_FDCWD, "./file1", 0) = 0 [pid 7161] exit_group(0) = ? [pid 7161] +++ exited with 0 +++ [pid 5840] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7161, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=40 /* 0.40 s */} --- [pid 5840] restart_syscall(<... resuming interrupted clone ...> [pid 7164] <... close resumed>) = 0 [pid 5841] <... umount2 resumed>) = 0 [pid 5840] <... restart_syscall resumed>) = 0 [pid 5840] umount2("./25", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./25", 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, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5840] umount2("./25/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 7164] unlinkat(AT_FDCWD, "./file1", 0 [pid 5840] newfstatat(AT_FDCWD, "./25/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] unlink("./25/binderfs" [pid 7164] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5840] <... unlink resumed>) = 0 [pid 5840] umount2("./25/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7164] exit_group(0) = ? [pid 7164] +++ exited with 0 +++ [pid 5843] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7164, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=39 /* 0.39 s */} --- [pid 5843] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5843] umount2("./26", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5843] openat(AT_FDCWD, "./26", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5843] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5841] umount2("./23/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] umount2("./26/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] newfstatat(AT_FDCWD, "./26/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] newfstatat(AT_FDCWD, "./23/file0", [pid 5843] unlink("./26/binderfs" [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] <... unlink resumed>) = 0 [pid 5843] umount2("./26/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] umount2("./23/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] newfstatat(AT_FDCWD, "./26/file0", [pid 5841] openat(AT_FDCWD, "./23/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] umount2("./26/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] <... openat resumed>) = 4 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] newfstatat(4, "", [pid 5843] openat(AT_FDCWD, "./26/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] <... openat resumed>) = 4 [pid 5841] getdents64(4, [pid 5843] newfstatat(4, "", [pid 5841] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] getdents64(4, [pid 5843] getdents64(4, [pid 5841] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5843] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5841] close(4 [ 139.565725][ T5840] bcachefs (loop0): shutting down [ 139.571074][ T5840] bcachefs (loop0): going read-only [ 139.576748][ T5840] bcachefs (loop0): finished waiting for writes to stop [ 139.605596][ T5840] bcachefs (loop0): flushing journal and stopping allocators, journal seq 12 [pid 5843] getdents64(4, [pid 5841] <... close resumed>) = 0 [pid 5841] rmdir("./23/file0") = 0 [pid 5843] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5841] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5841] close(3) = 0 [pid 5841] rmdir("./23") = 0 [pid 5841] mkdir("./24", 0777) = 0 [pid 5841] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5843] close(4 [pid 5841] ioctl(3, LOOP_CLR_FD [pid 5843] <... close resumed>) = 0 [pid 5841] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5843] rmdir("./26/file0" [pid 5841] close(3 [pid 7163] <... close resumed>) = 0 [pid 5843] <... rmdir resumed>) = 0 [pid 5841] <... close resumed>) = 0 [pid 5843] getdents64(3, [pid 5841] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 7163] unlinkat(AT_FDCWD, "./file1", 0) = -1 ENOENT (No such file or directory) [pid 5843] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 ./strace-static-x86_64: Process 7203 attached [pid 7163] exit_group(0 [pid 5843] close(3 [pid 5841] <... clone resumed>, child_tidptr=0x55558491f650) = 7203 [pid 5843] <... close resumed>) = 0 [pid 5843] rmdir("./26") = 0 [pid 7163] <... exit_group resumed>) = ? [pid 5843] mkdir("./27", 0777 [pid 7203] set_robust_list(0x55558491f660, 24) = 0 [pid 7163] +++ exited with 0 +++ [pid 5843] <... mkdir resumed>) = 0 [pid 5844] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7163, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=47 /* 0.47 s */} --- [pid 5844] restart_syscall(<... resuming interrupted clone ...> [pid 5843] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5843] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5843] close(3) = 0 [pid 5843] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 7204 attached [pid 7203] chdir("./24" [pid 5844] <... restart_syscall resumed>) = 0 [pid 7204] set_robust_list(0x55558491f660, 24 [pid 7203] <... chdir resumed>) = 0 [pid 7204] <... set_robust_list resumed>) = 0 [pid 7203] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 7204] chdir("./27" [pid 7203] <... prctl resumed>) = 0 [pid 5843] <... clone resumed>, child_tidptr=0x55558491f650) = 7204 [pid 7204] <... chdir resumed>) = 0 [pid 7203] setpgid(0, 0 [pid 5844] umount2("./22", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7204] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 7203] <... setpgid resumed>) = 0 [pid 7158] <... close resumed>) = 0 [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 7204] <... prctl resumed>) = 0 [pid 7203] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 7158] unlinkat(AT_FDCWD, "./file1", 0 [pid 5844] openat(AT_FDCWD, "./22", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 7204] setpgid(0, 0 [pid 5844] <... openat resumed>) = 3 [pid 7204] <... setpgid resumed>) = 0 [pid 7158] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 7204] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 7203] <... openat resumed>) = 3 [pid 7162] <... close resumed>) = 0 [pid 7158] exit_group(0 [pid 5844] newfstatat(3, "", [pid 7203] write(3, "1000", 4 [pid 7158] <... exit_group resumed>) = ? [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 7204] <... openat resumed>) = 3 [pid 7203] <... write resumed>) = 4 [pid 7203] close(3 [pid 7162] unlinkat(AT_FDCWD, "./file1", 0 [pid 7204] write(3, "1000", 4 [pid 7203] <... close resumed>) = 0 [pid 7158] +++ exited with 0 +++ [pid 5844] getdents64(3, [pid 7204] <... write resumed>) = 4 [pid 7203] symlink("/dev/binderfs", "./binderfs" [pid 7162] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7158, si_uid=0, si_status=0, si_utime=0, si_stime=52 /* 0.52 s */} --- [pid 5844] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [ 139.714457][ T80] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 54) [ 139.731732][ T80] bcachefs (loop0): fatal error - emergency read only [ 139.741299][ T5840] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 139.751077][ T5840] bcachefs (loop0): unshutdown complete, journal seq 14 [pid 7204] close(3) = 0 [pid 7203] <... symlink resumed>) = 0 [pid 7204] symlink("/dev/binderfs", "./binderfs" [pid 7162] exit_group(0 [pid 5844] umount2("./22/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7204] <... symlink resumed>) = 0 [pid 5845] umount2("./24", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) executing program executing program [pid 7204] write(1, "executing program\n", 18 [pid 7203] write(1, "executing program\n", 18 [pid 7162] <... exit_group resumed>) = ? [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] newfstatat(AT_FDCWD, "./22/binderfs", [pid 7204] <... write resumed>) = 18 [pid 7162] +++ exited with 0 +++ [pid 5844] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 7204] memfd_create("syzkaller", 0 [pid 5845] openat(AT_FDCWD, "./24", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 7203] <... write resumed>) = 18 [pid 5844] unlink("./22/binderfs" [pid 7203] memfd_create("syzkaller", 0 [pid 5845] <... openat resumed>) = 3 [pid 5844] <... unlink resumed>) = 0 [pid 5845] newfstatat(3, "", [pid 5844] umount2("./22/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7162, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=56 /* 0.56 s */} --- [pid 7204] <... memfd_create resumed>) = 3 [pid 7203] <... memfd_create resumed>) = 3 [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] restart_syscall(<... resuming interrupted clone ...> [ 139.759463][ T5840] bcachefs (loop0): done going read-only, filesystem not clean [pid 7204] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 7203] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5845] getdents64(3, [pid 5844] newfstatat(AT_FDCWD, "./22/file0", [pid 5842] <... restart_syscall resumed>) = 0 [pid 7204] <... mmap resumed>) = 0x7f5e2dc00000 [pid 7203] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5845] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] umount2("./22/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] umount2("./24/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] openat(AT_FDCWD, "./22/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5842] umount2("./30", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] <... openat resumed>) = 4 [pid 5842] openat(AT_FDCWD, "./30", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5845] newfstatat(AT_FDCWD, "./24/binderfs", [pid 5844] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] <... openat resumed>) = 3 [pid 5842] newfstatat(3, "", [pid 5845] unlink("./24/binderfs" [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] <... unlink resumed>) = 0 [pid 5842] getdents64(3, [pid 5845] umount2("./24/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] getdents64(4, [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5845] newfstatat(AT_FDCWD, "./24/file0", [pid 5842] umount2("./30/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] close(4 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] umount2("./24/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] <... close resumed>) = 0 [pid 5842] newfstatat(AT_FDCWD, "./30/binderfs", [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] rmdir("./22/file0" [pid 5845] openat(AT_FDCWD, "./24/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5842] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] <... openat resumed>) = 4 [pid 5844] <... rmdir resumed>) = 0 [pid 5842] unlink("./30/binderfs" [pid 5845] newfstatat(4, "", [pid 5844] getdents64(3, [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] <... unlink resumed>) = 0 [pid 5844] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5842] umount2("./30/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] close(3) = 0 [pid 5845] getdents64(4, [pid 5844] rmdir("./22" [pid 5845] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5844] <... rmdir resumed>) = 0 [pid 5845] getdents64(4, [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5842] newfstatat(AT_FDCWD, "./30/file0", [pid 5845] close(4 [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] <... close resumed>) = 0 [pid 5844] mkdir("./23", 0777 [pid 5845] rmdir("./24/file0" [pid 5844] <... mkdir resumed>) = 0 [pid 5845] <... rmdir resumed>) = 0 [pid 5842] umount2("./30/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5844] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5845] close(3 [pid 5844] <... openat resumed>) = 3 [pid 5845] <... close resumed>) = 0 [pid 5844] ioctl(3, LOOP_CLR_FD [pid 5845] rmdir("./24" [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5844] close(3 [pid 5842] openat(AT_FDCWD, "./30/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5845] <... rmdir resumed>) = 0 [pid 5845] mkdir("./25", 0777 [pid 5844] <... close resumed>) = 0 [pid 5842] <... openat resumed>) = 4 [pid 5844] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5842] newfstatat(4, "", ./strace-static-x86_64: Process 7205 attached {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [ 139.785367][ T5840] bcachefs (loop0): shutdown complete [pid 5842] getdents64(4, [pid 7205] set_robust_list(0x55558491f660, 24 [pid 5845] <... mkdir resumed>) = 0 [pid 5844] <... clone resumed>, child_tidptr=0x55558491f650) = 7205 [pid 5842] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5842] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5842] close(4 [pid 7205] <... set_robust_list resumed>) = 0 [pid 5842] <... close resumed>) = 0 [pid 7205] chdir("./23" [pid 5842] rmdir("./30/file0" [pid 7205] <... chdir resumed>) = 0 [pid 7205] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7205] setpgid(0, 0 [pid 5842] <... rmdir resumed>) = 0 [pid 5845] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5842] getdents64(3, [pid 7205] <... setpgid resumed>) = 0 [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5845] <... openat resumed>) = 3 [pid 7205] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5842] close(3 [pid 7205] <... openat resumed>) = 3 [pid 7205] write(3, "1000", 4 [pid 5842] <... close resumed>) = 0 [pid 7205] <... write resumed>) = 4 [pid 7205] close(3) = 0 [pid 7205] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5845] ioctl(3, LOOP_CLR_FD [pid 5842] rmdir("./30" [pid 5845] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5842] <... rmdir resumed>) = 0 [pid 7205] write(1, "executing program\n", 18 [pid 5845] close(3 [pid 5842] mkdir("./31", 0777) = 0 [pid 5842] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5842] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) executing program [pid 7205] <... write resumed>) = 18 [pid 5845] <... close resumed>) = 0 [pid 5842] close(3) = 0 [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5842] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 7206 attached , child_tidptr=0x55558491f650) = 7206 [pid 7205] memfd_create("syzkaller", 0./strace-static-x86_64: Process 7207 attached ) = 3 [pid 7207] set_robust_list(0x55558491f660, 24 [pid 7206] set_robust_list(0x55558491f660, 24 [pid 7205] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 7203] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... clone resumed>, child_tidptr=0x55558491f650) = 7207 [pid 7207] <... set_robust_list resumed>) = 0 [pid 7206] <... set_robust_list resumed>) = 0 [pid 7205] <... mmap resumed>) = 0x7f5e2dc00000 [pid 7207] chdir("./25" [pid 7206] chdir("./31") = 0 [pid 7206] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7206] setpgid(0, 0) = 0 [pid 7206] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7206] write(3, "1000", 4) = 4 [pid 7206] close(3) = 0 [pid 7206] symlink("/dev/binderfs", "./binderfs") = 0 [pid 7206] write(1, "executing program\n", 18executing program [pid 7207] <... chdir resumed>) = 0 [pid 7206] <... write resumed>) = 18 [pid 7207] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 7206] memfd_create("syzkaller", 0 [pid 7207] <... prctl resumed>) = 0 [pid 7207] setpgid(0, 0) = 0 [pid 7206] <... memfd_create resumed>) = 3 [pid 7206] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 7207] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 7206] <... mmap resumed>) = 0x7f5e2dc00000 [pid 7207] <... openat resumed>) = 3 [pid 7207] write(3, "1000", 4) = 4 [pid 7207] close(3) = 0 [pid 7207] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 7207] write(1, "executing program\n", 18) = 18 [pid 7207] memfd_create("syzkaller", 0) = 3 [pid 7207] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 7204] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7205] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7206] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7207] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7203] <... write resumed>) = 16777216 [pid 7203] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 7203] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 7203] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7203] close(3) = 0 [pid 7203] close(4) = 0 [pid 7203] mkdir("./file0", 0777) = 0 [ 140.356257][ T7203] loop1: detected capacity change from 0 to 32768 [pid 7203] mount("/dev/loop1", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7204] <... write resumed>) = 16777216 [pid 7204] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 7204] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 7204] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7204] close(3) = 0 [pid 7204] close(4) = 0 [pid 7204] mkdir("./file0", 0777) = 0 [ 140.476536][ T7204] loop3: detected capacity change from 0 to 32768 [pid 7204] mount("/dev/loop3", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7205] <... write resumed>) = 16777216 [pid 7205] munmap(0x7f5e2dc00000, 138412032 [pid 7206] <... write resumed>) = 16777216 [pid 7206] munmap(0x7f5e2dc00000, 138412032 [pid 7205] <... munmap resumed>) = 0 [pid 7205] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 7205] ioctl(4, LOOP_SET_FD, 3 [pid 7207] <... write resumed>) = 16777216 [pid 7206] <... munmap resumed>) = 0 [pid 7207] munmap(0x7f5e2dc00000, 138412032 [pid 7206] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 7205] <... ioctl resumed>) = 0 [pid 7206] ioctl(4, LOOP_SET_FD, 3 [pid 7205] close(3 [pid 7206] <... ioctl resumed>) = 0 [pid 7205] <... close resumed>) = 0 [pid 7205] close(4 [pid 7206] close(3 [pid 7207] <... munmap resumed>) = 0 [pid 7205] <... close resumed>) = 0 [pid 7206] <... close resumed>) = 0 [pid 7206] close(4 [pid 7207] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 7206] <... close resumed>) = 0 [pid 7205] mkdir("./file0", 0777 [pid 7207] <... openat resumed>) = 4 [pid 7206] mkdir("./file0", 0777 [pid 7205] <... mkdir resumed>) = 0 [pid 7206] <... mkdir resumed>) = 0 [pid 7207] ioctl(4, LOOP_SET_FD, 3 [pid 7206] mount("/dev/loop2", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7205] mount("/dev/loop4", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7207] <... ioctl resumed>) = 0 [pid 7207] close(3) = 0 [pid 7207] close(4) = 0 [pid 7207] mkdir("./file0", 0777) = 0 [ 140.626974][ T7205] loop4: detected capacity change from 0 to 32768 [ 140.634711][ T7206] loop2: detected capacity change from 0 to 32768 [ 140.658792][ T7207] loop5: detected capacity change from 0 to 32768 [ 140.859767][ T7206] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 140.869398][ T7207] 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 [ 140.873033][ T7206] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 140.901132][ T7203] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 140.913018][ T7207] bcachefs (loop5): recovering from clean shutdown, journal seq 10 [ 140.917596][ T7204] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 140.927019][ T7207] bcachefs (loop5): Version upgrade required: [ 140.927019][ T7207] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 140.927019][ T7207] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 140.927019][ T7207] 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 [ 140.938017][ T7204] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 141.022931][ T7203] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 141.047223][ T7205] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 141.059887][ T7205] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 141.117110][ T7207] bcachefs (loop5): dropping and reconstructing all alloc info [pid 7207] mount("/dev/loop5", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7206] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 7206] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [ 141.160783][ T7206] bcachefs: bch2_fs_get_tree() error: EINVAL [ 141.193575][ T7207] bcachefs (loop5): check_topology... done [pid 7206] ioctl(3, LOOP_CLR_FD) = 0 [pid 7206] close(3 [pid 7203] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 7203] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 7203] ioctl(3, LOOP_CLR_FD) = 0 [ 141.199487][ T7207] bcachefs (loop5): accounting_read... done [ 141.230065][ T7203] bcachefs: bch2_fs_get_tree() error: EINVAL [ 141.232844][ T7207] bcachefs (loop5): alloc_read... done [pid 7203] close(3 [pid 7205] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 7205] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [ 141.277568][ T7207] bcachefs (loop5): stripes_read... done [ 141.285081][ T7205] bcachefs: bch2_fs_get_tree() error: EINVAL [ 141.302837][ T7207] bcachefs (loop5): snapshots_read... done [pid 7205] ioctl(3, LOOP_CLR_FD) = 0 [ 141.309213][ T7207] bcachefs (loop5): check_allocations... [ 141.343156][ T7204] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 7205] close(3 [pid 7204] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 7204] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 7204] ioctl(3, LOOP_CLR_FD) = 0 [ 141.391464][ T7207] done [ 141.430189][ T7207] bcachefs (loop5): going read-write [pid 7204] close(3 [pid 7207] <... mount resumed>) = 0 [pid 7207] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 7207] chdir("./file0") = 0 [pid 7207] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 7207] ioctl(4, LOOP_CLR_FD) = 0 [pid 7207] close(4) = 0 [ 141.489884][ T7207] bcachefs (loop5): done starting filesystem [pid 7207] unlinkat(AT_FDCWD, "./file1", 0) = 0 [pid 7207] exit_group(0 [pid 5840] <... umount2 resumed>) = 0 [pid 7207] <... exit_group resumed>) = ? [pid 5840] umount2("./25/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./25/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 7207] +++ exited with 0 +++ [pid 5840] umount2("./25/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7207, si_uid=0, si_status=0, si_utime=0, si_stime=38 /* 0.38 s */} --- [pid 5845] restart_syscall(<... resuming interrupted clone ...> [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./25/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, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5840] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5845] <... restart_syscall resumed>) = 0 [pid 5840] close(4) = 0 [pid 5845] umount2("./25", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./25", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5845] newfstatat(3, "", [pid 5840] rmdir("./25/file0" [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5845] umount2("./25/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./25/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] unlink("./25/binderfs") = 0 [pid 5845] umount2("./25/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] <... rmdir resumed>) = 0 [pid 5840] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5840] close(3) = 0 [pid 5840] rmdir("./25") = 0 [pid 5840] mkdir("./26", 0777) = 0 [pid 5840] openat(AT_FDCWD, "/dev/loop0", 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 7246 attached [pid 7246] set_robust_list(0x55558491f660, 24) = 0 [pid 7246] chdir("./26" [pid 5840] <... clone resumed>, child_tidptr=0x55558491f650) = 7246 [ 141.627628][ T5845] bcachefs (loop5): shutting down [pid 7246] <... chdir resumed>) = 0 [pid 7206] <... close resumed>) = 0 [pid 7246] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 7206] unlinkat(AT_FDCWD, "./file1", 0 [pid 7246] <... prctl resumed>) = 0 [pid 7206] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 7246] setpgid(0, 0 [pid 7206] exit_group(0 [pid 7246] <... setpgid resumed>) = 0 [pid 7206] <... exit_group resumed>) = ? [pid 7246] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7206] +++ exited with 0 +++ executing program [pid 7246] write(3, "1000", 4) = 4 [pid 7246] close(3) = 0 [pid 7246] symlink("/dev/binderfs", "./binderfs") = 0 [pid 7246] write(1, "executing program\n", 18) = 18 [pid 5842] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7206, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=46 /* 0.46 s */} --- [pid 5842] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 7246] memfd_create("syzkaller", 0) = 3 [pid 5842] umount2("./31", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7246] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 7246] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5842] openat(AT_FDCWD, "./31", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [ 141.669135][ T5845] bcachefs (loop5): going read-only [pid 5842] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 7203] <... close resumed>) = 0 [pid 5842] getdents64(3, [pid 7203] unlinkat(AT_FDCWD, "./file1", 0) = -1 ENOENT (No such file or directory) [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 7203] exit_group(0) = ? [pid 7203] +++ exited with 0 +++ [pid 5841] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7203, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=44 /* 0.44 s */} --- [pid 5841] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5841] umount2("./24", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5841] openat(AT_FDCWD, "./24", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5841] newfstatat(3, "", [pid 5842] umount2("./31/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] getdents64(3, [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5842] newfstatat(AT_FDCWD, "./31/binderfs", [pid 5841] umount2("./24/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] newfstatat(AT_FDCWD, "./24/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] unlink("./24/binderfs") = 0 [pid 5841] umount2("./24/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5841] newfstatat(AT_FDCWD, "./24/file0", [pid 7205] <... close resumed>) = 0 [pid 5842] unlink("./31/binderfs" [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] umount2("./24/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5841] openat(AT_FDCWD, "./24/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5842] <... unlink resumed>) = 0 [pid 5841] <... openat resumed>) = 4 [pid 7205] unlinkat(AT_FDCWD, "./file1", 0 [pid 5842] umount2("./31/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] newfstatat(4, "", [pid 7205] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] newfstatat(AT_FDCWD, "./31/file0", [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 7205] exit_group(0 [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] getdents64(4, [pid 7205] <... exit_group resumed>) = ? [pid 5842] umount2("./31/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] openat(AT_FDCWD, "./31/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5841] getdents64(4, [pid 5842] <... openat resumed>) = 4 [pid 5841] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5842] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] close(4 [pid 5842] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5841] <... close resumed>) = 0 [pid 5842] getdents64(4, [pid 7205] +++ exited with 0 +++ [pid 7204] <... close resumed>) = 0 [pid 5842] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5841] rmdir("./24/file0" [pid 5842] close(4) = 0 [pid 5841] <... rmdir resumed>) = 0 [pid 5844] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7205, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=47 /* 0.47 s */} --- [pid 5841] getdents64(3, [pid 5844] restart_syscall(<... resuming interrupted clone ...> [pid 5841] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5841] close(3) = 0 [pid 5841] rmdir("./24") = 0 [pid 5841] mkdir("./25", 0777 [pid 5842] rmdir("./31/file0" [pid 5841] <... mkdir resumed>) = 0 [pid 5841] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5842] <... rmdir resumed>) = 0 [pid 5842] getdents64(3, [pid 5841] <... openat resumed>) = 3 [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5844] <... restart_syscall resumed>) = 0 [pid 5842] close(3) = 0 [pid 5841] ioctl(3, LOOP_CLR_FD [pid 5842] rmdir("./31" [pid 5841] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5844] umount2("./23", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] close(3 [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] <... close resumed>) = 0 [pid 5844] openat(AT_FDCWD, "./23", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5841] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5844] <... openat resumed>) = 3 [pid 5844] newfstatat(3, "", [pid 5841] <... clone resumed>, child_tidptr=0x55558491f650) = 7247 [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5842] <... rmdir resumed>) = 0 [pid 5844] umount2("./23/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 7247 attached ) = -1 EINVAL (Invalid argument) [pid 5842] mkdir("./32", 0777 [pid 5844] newfstatat(AT_FDCWD, "./23/binderfs", [pid 7204] unlinkat(AT_FDCWD, "./file1", 0 [pid 5844] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] unlink("./23/binderfs" [pid 5842] <... mkdir resumed>) = 0 [pid 7247] set_robust_list(0x55558491f660, 24 [pid 7204] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5844] <... unlink resumed>) = 0 [pid 5842] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 7247] <... set_robust_list resumed>) = 0 [pid 7204] exit_group(0 [pid 5842] <... openat resumed>) = 3 [pid 7247] chdir("./25" [pid 5842] ioctl(3, LOOP_CLR_FD [pid 7247] <... chdir resumed>) = 0 [pid 5842] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 7247] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 7204] <... exit_group resumed>) = ? [pid 5844] umount2("./23/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] close(3 [pid 7247] <... prctl resumed>) = 0 [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] <... close resumed>) = 0 [pid 7247] setpgid(0, 0 [pid 5844] newfstatat(AT_FDCWD, "./23/file0", [pid 5842] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 7247] <... setpgid resumed>) = 0 [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 ./strace-static-x86_64: Process 7248 attached [pid 7247] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 7204] +++ exited with 0 +++ [pid 5844] umount2("./23/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7248] set_robust_list(0x55558491f660, 24 [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7204, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=46 /* 0.46 s */} --- [pid 7248] <... set_robust_list resumed>) = 0 [pid 7247] <... openat resumed>) = 3 [ 141.699998][ T5845] bcachefs (loop5): finished waiting for writes to stop [ 141.733885][ T5845] bcachefs (loop5): flushing journal and stopping allocators, journal seq 12 [pid 5844] openat(AT_FDCWD, "./23/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5843] restart_syscall(<... resuming interrupted clone ...> [pid 5842] <... clone resumed>, child_tidptr=0x55558491f650) = 7248 [pid 7248] chdir("./32" [pid 5843] <... restart_syscall resumed>) = 0 [pid 7248] <... chdir resumed>) = 0 [pid 5844] <... openat resumed>) = 4 [pid 7248] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 7247] write(3, "1000", 4 [pid 5844] newfstatat(4, "", [pid 5843] umount2("./27", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] getdents64(4, [pid 5843] openat(AT_FDCWD, "./27", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 7248] <... prctl resumed>) = 0 [pid 7247] <... write resumed>) = 4 [pid 5844] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5844] getdents64(4, [pid 5843] <... openat resumed>) = 3 [pid 7248] setpgid(0, 0 [pid 7247] close(3 [pid 5844] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5843] newfstatat(3, "", [pid 7248] <... setpgid resumed>) = 0 [pid 7247] <... close resumed>) = 0 [pid 5844] close(4 [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 7247] symlink("/dev/binderfs", "./binderfs" [pid 5844] <... close resumed>) = 0 [pid 5843] getdents64(3, [pid 7248] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5844] rmdir("./23/file0" [pid 5843] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 7248] <... openat resumed>) = 3 [pid 7247] <... symlink resumed>) = 0 [pid 5844] <... rmdir resumed>) = 0 [pid 7248] write(3, "1000", 4 [pid 7247] write(1, "executing program\n", 18 [pid 5843] umount2("./27/binderfs", MNT_FORCE|UMOUNT_NOFOLLOWexecuting program [pid 7248] <... write resumed>) = 4 [pid 7247] <... write resumed>) = 18 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] getdents64(3, [pid 5843] newfstatat(AT_FDCWD, "./27/binderfs", [pid 7248] close(3 [pid 7247] memfd_create("syzkaller", 0 [pid 7248] <... close resumed>) = 0 [pid 7247] <... memfd_create resumed>) = 3 [pid 5844] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5843] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 7248] symlink("/dev/binderfs", "./binderfs" [pid 7247] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5844] close(3 [pid 5843] unlink("./27/binderfs" [pid 7248] <... symlink resumed>) = 0 [pid 7247] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5844] <... close resumed>) = 0 [pid 5843] <... unlink resumed>) = 0 [pid 7248] write(1, "executing program\n", 18 [pid 5844] rmdir("./23" [pid 5843] umount2("./27/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] <... rmdir resumed>) = 0 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] mkdir("./24", 0777 [pid 5843] newfstatat(AT_FDCWD, "./27/file0", [pid 5844] <... mkdir resumed>) = 0 [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 7248] <... write resumed>) = 18 [pid 5843] umount2("./27/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5843] openat(AT_FDCWD, "./27/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5843] newfstatat(4, "", [pid 5844] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] <... openat resumed>) = 3 [pid 5843] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5843] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5843] close(4) = 0 [pid 5843] rmdir("./27/file0") = 0 [pid 5843] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5843] close(3) = 0 [pid 5843] rmdir("./27" [pid 5844] ioctl(3, LOOP_CLR_FD [pid 5843] <... rmdir resumed>) = 0 [pid 5844] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5843] mkdir("./28", 0777 [pid 5844] close(3executing program [pid 5843] <... mkdir resumed>) = 0 [pid 7248] memfd_create("syzkaller", 0 [pid 5844] <... close resumed>) = 0 [pid 7248] <... memfd_create resumed>) = 3 [pid 5843] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5843] ioctl(3, LOOP_CLR_FD [pid 5844] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5843] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5843] close(3./strace-static-x86_64: Process 7249 attached ) = 0 [pid 7248] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [ 141.810016][ T5845] bcachefs (loop5): flushing journal and stopping allocators complete, journal seq 15 [pid 5843] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 7249] set_robust_list(0x55558491f660, 24 [pid 7248] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5844] <... clone resumed>, child_tidptr=0x55558491f650) = 7249 [pid 7249] <... set_robust_list resumed>) = 0 [pid 7249] chdir("./24") = 0 [pid 5843] <... clone resumed>, child_tidptr=0x55558491f650) = 7250 ./strace-static-x86_64: Process 7250 attached [pid 7249] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 7250] set_robust_list(0x55558491f660, 24 [pid 7249] <... prctl resumed>) = 0 [pid 7250] <... set_robust_list resumed>) = 0 [pid 7249] setpgid(0, 0) = 0 [pid 7249] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 executing program [pid 7250] chdir("./28" [pid 7249] write(3, "1000", 4 [pid 7250] <... chdir resumed>) = 0 [pid 7249] <... write resumed>) = 4 [pid 7250] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 7249] close(3 [pid 7250] <... prctl resumed>) = 0 [pid 7249] <... close resumed>) = 0 [pid 7250] setpgid(0, 0 [pid 7249] symlink("/dev/binderfs", "./binderfs" [pid 7250] <... setpgid resumed>) = 0 [pid 7249] <... symlink resumed>) = 0 [pid 7250] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 7249] write(1, "executing program\n", 18 [pid 7250] <... openat resumed>) = 3 [pid 7249] <... write resumed>) = 18 [pid 7249] memfd_create("syzkaller", 0 [pid 7250] write(3, "1000", 4 [pid 7249] <... memfd_create resumed>) = 3 [pid 7250] <... write resumed>) = 4 [pid 7249] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 7250] close(3 [pid 7249] <... mmap resumed>) = 0x7f5e2dc00000 executing program [pid 7250] <... close resumed>) = 0 [pid 7250] symlink("/dev/binderfs", "./binderfs") = 0 [pid 7250] write(1, "executing program\n", 18) = 18 [pid 7250] memfd_create("syzkaller", 0) = 3 [pid 7250] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [ 141.853482][ T5845] bcachefs (loop5): unshutdown complete, journal seq 16 [ 141.885829][ T5845] bcachefs (loop5): done going read-only, filesystem not clean [ 141.994299][ T5845] bcachefs (loop5): shutdown complete [pid 7246] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7249] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7247] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7248] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7250] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7246] <... write resumed>) = 16777216 [pid 7246] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 7246] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7246] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7246] close(3) = 0 [pid 7246] close(4) = 0 [pid 7246] mkdir("./file0", 0777) = 0 [ 142.445422][ T7246] loop0: detected capacity change from 0 to 32768 [pid 7246] mount("/dev/loop0", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7249] <... write resumed>) = 16777216 [pid 7247] <... write resumed>) = 16777216 [pid 7249] munmap(0x7f5e2dc00000, 138412032 [pid 7247] munmap(0x7f5e2dc00000, 138412032 [pid 7249] <... munmap resumed>) = 0 [pid 7249] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 7250] <... write resumed>) = 16777216 [pid 7250] munmap(0x7f5e2dc00000, 138412032 [pid 7249] <... openat resumed>) = 4 [pid 7248] <... write resumed>) = 16777216 [pid 7247] <... munmap resumed>) = 0 [pid 7249] ioctl(4, LOOP_SET_FD, 3 [pid 7248] munmap(0x7f5e2dc00000, 138412032 [pid 7247] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 7249] <... ioctl resumed>) = 0 [pid 7249] close(3 [pid 7247] ioctl(4, LOOP_SET_FD, 3 [pid 7249] <... close resumed>) = 0 [pid 7248] <... munmap resumed>) = 0 [pid 7250] <... munmap resumed>) = 0 [pid 7249] close(4 [pid 7247] <... ioctl resumed>) = 0 [pid 7248] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 7250] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 7249] <... close resumed>) = 0 [pid 7247] close(3 [pid 7248] ioctl(4, LOOP_SET_FD, 3 [pid 7250] <... openat resumed>) = 4 [pid 7249] mkdir("./file0", 0777 [pid 7247] <... close resumed>) = 0 [pid 7250] ioctl(4, LOOP_SET_FD, 3 [pid 7249] <... mkdir resumed>) = 0 [ 142.602180][ T7249] loop4: detected capacity change from 0 to 32768 [ 142.619585][ T7247] loop1: detected capacity change from 0 to 32768 [pid 7247] close(4 [pid 7249] mount("/dev/loop4", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7247] <... close resumed>) = 0 [pid 7247] mkdir("./file0", 0777) = 0 [pid 7247] mount("/dev/loop1", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7250] <... ioctl resumed>) = 0 [pid 7250] close(3) = 0 [pid 7250] close(4) = 0 [pid 7250] mkdir("./file0", 0777) = 0 [pid 7250] mount("/dev/loop3", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7248] <... ioctl resumed>) = 0 [pid 7248] close(3) = 0 [pid 7248] close(4) = 0 [pid 7248] mkdir("./file0", 0777) = 0 [ 142.651089][ T7250] loop3: detected capacity change from 0 to 32768 [ 142.652072][ T7248] loop2: detected capacity change from 0 to 32768 [ 142.962270][ T7246] 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 [ 142.987195][ T7246] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 142.996663][ T7246] bcachefs (loop0): Version upgrade required: [ 142.996663][ T7246] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 142.996663][ T7246] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 142.996663][ T7246] 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 [ 143.072319][ T7246] bcachefs (loop0): dropping and reconstructing all alloc info [ 143.093488][ T7246] bcachefs (loop0): check_topology... done [ 143.099765][ T7246] bcachefs (loop0): accounting_read... done [ 143.107964][ T7246] bcachefs (loop0): alloc_read... done [ 143.148476][ T7248] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 143.179607][ T7246] bcachefs (loop0): stripes_read... done [ 143.190678][ T7248] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 143.200323][ T7249] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 143.209880][ T7246] bcachefs (loop0): snapshots_read... done [ 143.235675][ T7246] bcachefs (loop0): check_allocations... [ 143.239438][ T7249] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 143.254187][ T7250] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 143.273490][ T7250] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 143.273788][ T7247] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 143.298073][ T7247] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 143.369017][ T7246] done [ 143.383959][ T7246] bcachefs (loop0): going read-write [pid 7248] mount("/dev/loop2", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"...) = -1 EINVAL (Invalid argument) [pid 7246] <... mount resumed>) = 0 [pid 7248] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 7248] ioctl(3, LOOP_CLR_FD) = 0 [pid 7248] close(3 [pid 7246] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 7246] chdir("./file0") = 0 [ 143.410538][ T7246] bcachefs (loop0): done starting filesystem [ 143.411353][ T7248] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 7246] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7246] ioctl(4, LOOP_CLR_FD) = 0 [pid 7246] close(4) = 0 [pid 7246] unlinkat(AT_FDCWD, "./file1", 0) = 0 [pid 7246] exit_group(0) = ? [pid 7246] +++ exited with 0 +++ [pid 5840] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7246, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=35 /* 0.35 s */} --- [pid 5840] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5840] umount2("./26", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./26", 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, [pid 7247] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5840] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5840] umount2("./26/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./26/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] unlink("./26/binderfs") = 0 [pid 5840] umount2("./26/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7247] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 7247] ioctl(3, LOOP_CLR_FD) = 0 [pid 7247] close(3 [pid 7250] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 7249] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 7249] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [ 143.479476][ T7247] bcachefs: bch2_fs_get_tree() error: EINVAL [ 143.501644][ T7250] bcachefs: bch2_fs_get_tree() error: EINVAL [ 143.511457][ T7249] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 7250] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 7249] ioctl(3, LOOP_CLR_FD) = 0 [pid 7250] <... openat resumed>) = 3 [pid 7249] close(3 [pid 7250] ioctl(3, LOOP_CLR_FD) = 0 [ 143.545011][ T5840] bcachefs (loop0): shutting down [ 143.550095][ T5840] bcachefs (loop0): going read-only [ 143.597777][ T5840] bcachefs (loop0): finished waiting for writes to stop [ 143.687534][ T5840] bcachefs (loop0): flushing journal and stopping allocators, journal seq 12 [pid 7250] close(3 [pid 5845] <... umount2 resumed>) = 0 [pid 5845] umount2("./25/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./25/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] umount2("./25/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 143.778686][ T2890] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 54) [pid 5845] openat(AT_FDCWD, "./25/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 7248] <... close resumed>) = 0 [pid 7248] unlinkat(AT_FDCWD, "./file1", 0 [pid 5845] <... openat resumed>) = 4 [pid 5845] newfstatat(4, "", [pid 7248] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 7248] exit_group(0 [pid 5845] getdents64(4, [pid 7248] <... exit_group resumed>) = ? [pid 5845] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 7248] +++ exited with 0 +++ [pid 5845] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5842] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7248, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=44 /* 0.44 s */} --- [pid 5845] close(4 [pid 5842] restart_syscall(<... resuming interrupted clone ...> [pid 5845] <... close resumed>) = 0 [pid 5845] rmdir("./25/file0") = 0 [pid 5842] <... restart_syscall resumed>) = 0 [pid 5845] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5845] close(3 [ 143.824564][ T2890] bcachefs (loop0): fatal error - emergency read only [pid 5842] umount2("./32", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7249] <... close resumed>) = 0 [pid 5845] <... close resumed>) = 0 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 7249] unlinkat(AT_FDCWD, "./file1", 0 [pid 5845] rmdir("./25" [pid 5842] openat(AT_FDCWD, "./32", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 7249] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5845] <... rmdir resumed>) = 0 [pid 5842] <... openat resumed>) = 3 [pid 7249] exit_group(0 [pid 5845] mkdir("./26", 0777 [pid 5842] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] <... mkdir resumed>) = 0 [pid 5842] getdents64(3, [pid 7249] <... exit_group resumed>) = ? [pid 5845] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 7250] <... close resumed>) = 0 [pid 7249] +++ exited with 0 +++ [pid 5845] ioctl(3, LOOP_CLR_FD [pid 5842] umount2("./32/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7249, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=46 /* 0.46 s */} --- [pid 5844] restart_syscall(<... resuming interrupted clone ...> [pid 7247] <... close resumed>) = 0 [pid 7250] unlinkat(AT_FDCWD, "./file1", 0 [pid 5845] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5844] <... restart_syscall resumed>) = 0 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] umount2("./24", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] openat(AT_FDCWD, "./24", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 7247] unlinkat(AT_FDCWD, "./file1", 0 [pid 5844] <... openat resumed>) = 3 [pid 7250] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 7247] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5844] newfstatat(3, "", [pid 7250] exit_group(0 [pid 7247] exit_group(0 [pid 5845] close(3 [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] newfstatat(AT_FDCWD, "./32/binderfs", [pid 7250] <... exit_group resumed>) = ? [pid 7247] <... exit_group resumed>) = ? [pid 5845] <... close resumed>) = 0 [pid 5844] getdents64(3, [pid 5842] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 7250] +++ exited with 0 +++ [pid 7247] +++ exited with 0 +++ [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5844] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5842] unlink("./32/binderfs"./strace-static-x86_64: Process 7289 attached [pid 5844] umount2("./24/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7250, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=48 /* 0.48 s */} --- [pid 5842] <... unlink resumed>) = 0 [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7247, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=50 /* 0.50 s */} --- [ 143.867690][ T5840] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 143.892311][ T5840] bcachefs (loop0): unshutdown complete, journal seq 14 [ 143.900753][ T5840] bcachefs (loop0): done going read-only, filesystem not clean [pid 5844] newfstatat(AT_FDCWD, "./24/binderfs", [pid 5842] umount2("./32/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] restart_syscall(<... resuming interrupted clone ...> [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] restart_syscall(<... resuming interrupted clone ...> [pid 7289] set_robust_list(0x55558491f660, 24 [pid 5844] unlink("./24/binderfs" [pid 5843] <... restart_syscall resumed>) = 0 [pid 7289] <... set_robust_list resumed>) = 0 [pid 5845] <... clone resumed>, child_tidptr=0x55558491f650) = 7289 [pid 5844] <... unlink resumed>) = 0 [pid 5842] newfstatat(AT_FDCWD, "./32/file0", [pid 5841] <... restart_syscall resumed>) = 0 [pid 5844] umount2("./24/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] umount2("./32/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] newfstatat(AT_FDCWD, "./24/file0", [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 7289] chdir("./26" [pid 5844] umount2("./24/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] openat(AT_FDCWD, "./32/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 7289] <... chdir resumed>) = 0 [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] <... openat resumed>) = 4 [pid 5844] openat(AT_FDCWD, "./24/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5842] newfstatat(4, "", [pid 5844] <... openat resumed>) = 4 [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] newfstatat(4, "", [pid 5842] getdents64(4, [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5841] umount2("./25", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5842] getdents64(4, [pid 5844] getdents64(4, [pid 5842] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5844] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5842] close(4 [pid 5844] close(4 [pid 5842] <... close resumed>) = 0 [pid 5844] <... close resumed>) = 0 [pid 5842] rmdir("./32/file0" [pid 5844] rmdir("./24/file0" [pid 5842] <... rmdir resumed>) = 0 [pid 5844] <... rmdir resumed>) = 0 [pid 5842] getdents64(3, [pid 5844] getdents64(3, [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5844] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5842] close(3 [pid 5844] close(3 [pid 5842] <... close resumed>) = 0 [pid 5844] <... close resumed>) = 0 [pid 5842] rmdir("./32" [pid 7289] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5844] rmdir("./24" [pid 5843] umount2("./28", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] <... rmdir resumed>) = 0 [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] <... rmdir resumed>) = 0 [pid 5844] mkdir("./25", 0777) = 0 [pid 5842] mkdir("./33", 0777 [pid 5844] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5842] <... mkdir resumed>) = 0 [pid 5844] <... openat resumed>) = 3 [pid 5844] ioctl(3, LOOP_CLR_FD [pid 7289] <... prctl resumed>) = 0 [pid 5844] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5841] openat(AT_FDCWD, "./25", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5844] close(3 [pid 7289] setpgid(0, 0 [pid 5844] <... close resumed>) = 0 [pid 5843] openat(AT_FDCWD, "./28", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5842] <... openat resumed>) = 3 [pid 5841] <... openat resumed>) = 3 [pid 7289] <... setpgid resumed>) = 0 [pid 5844] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5843] <... openat resumed>) = 3 [pid 5841] newfstatat(3, "", [pid 7289] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5843] newfstatat(3, "", [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 ./strace-static-x86_64: Process 7290 attached [pid 7289] <... openat resumed>) = 3 [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] getdents64(3, [pid 7289] write(3, "1000", 4 [pid 5843] getdents64(3, [pid 5841] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 7289] <... write resumed>) = 4 [pid 5843] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5841] umount2("./25/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7289] close(3 [pid 5843] umount2("./28/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 7289] <... close resumed>) = 0 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] newfstatat(AT_FDCWD, "./25/binderfs", [pid 7289] symlink("/dev/binderfs", "./binderfs" [pid 5843] newfstatat(AT_FDCWD, "./28/binderfs", [pid 5841] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 7289] <... symlink resumed>) = 0 [pid 5843] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 executing program [pid 5841] unlink("./25/binderfs" [pid 7290] set_robust_list(0x55558491f660, 24 [pid 7289] write(1, "executing program\n", 18 [pid 5844] <... clone resumed>, child_tidptr=0x55558491f650) = 7290 [pid 5843] unlink("./28/binderfs" [pid 5842] ioctl(3, LOOP_CLR_FD [pid 5841] <... unlink resumed>) = 0 [pid 7289] <... write resumed>) = 18 [pid 5843] <... unlink resumed>) = 0 [pid 5842] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5841] umount2("./25/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7290] <... set_robust_list resumed>) = 0 [pid 7289] memfd_create("syzkaller", 0 [pid 5843] umount2("./28/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] close(3 [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 7290] chdir("./25" [pid 7289] <... memfd_create resumed>) = 3 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] newfstatat(AT_FDCWD, "./25/file0", [pid 7290] <... chdir resumed>) = 0 [pid 7289] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5843] newfstatat(AT_FDCWD, "./28/file0", [pid 5842] <... close resumed>) = 0 [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 7290] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 7289] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5841] umount2("./25/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] umount2("./28/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] openat(AT_FDCWD, "./25/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5843] openat(AT_FDCWD, "./28/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5841] <... openat resumed>) = 4 [pid 5843] <... openat resumed>) = 4 [pid 5841] newfstatat(4, "", [pid 5843] newfstatat(4, "", [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] getdents64(4, [pid 5843] getdents64(4, [pid 5841] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 7290] <... prctl resumed>) = 0 [pid 5843] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5841] getdents64(4, [pid 5843] getdents64(4, [pid 5842] <... clone resumed>, child_tidptr=0x55558491f650) = 7291 [pid 5841] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 7290] setpgid(0, 0 [pid 5843] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5841] close(4 [pid 5843] close(4 [pid 5841] <... close resumed>) = 0 ./strace-static-x86_64: Process 7291 attached [pid 7290] <... setpgid resumed>) = 0 [pid 5843] <... close resumed>) = 0 [pid 5841] rmdir("./25/file0" [pid 7291] set_robust_list(0x55558491f660, 24 [pid 7290] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5841] <... rmdir resumed>) = 0 [pid 7291] <... set_robust_list resumed>) = 0 [pid 5843] rmdir("./28/file0" [pid 7290] <... openat resumed>) = 3 [pid 5841] getdents64(3, [pid 7291] chdir("./33" [pid 5843] <... rmdir resumed>) = 0 [pid 7291] <... chdir resumed>) = 0 [pid 7290] write(3, "1000", 4 [pid 5843] getdents64(3, [pid 5841] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5843] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5841] close(3 [pid 7291] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 7290] <... write resumed>) = 4 [pid 5843] close(3 [pid 5841] <... close resumed>) = 0 [pid 7291] <... prctl resumed>) = 0 [pid 7290] close(3 [pid 5843] <... close resumed>) = 0 [pid 5841] rmdir("./25" [pid 7291] setpgid(0, 0 [pid 7290] <... close resumed>) = 0 [pid 5843] rmdir("./28" [pid 5841] <... rmdir resumed>) = 0 [ 143.951018][ T5840] bcachefs (loop0): shutdown complete [pid 7291] <... setpgid resumed>) = 0 [pid 7290] symlink("/dev/binderfs", "./binderfs" [pid 5843] <... rmdir resumed>) = 0 [pid 5841] mkdir("./26", 0777 [pid 7290] <... symlink resumed>) = 0 [pid 5843] mkdir("./29", 0777 [pid 5841] <... mkdir resumed>) = 0 executing program [pid 7291] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 7290] write(1, "executing program\n", 18 [pid 5843] <... mkdir resumed>) = 0 [pid 5841] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 7290] <... write resumed>) = 18 [pid 5843] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 7291] <... openat resumed>) = 3 [pid 5841] <... openat resumed>) = 3 [pid 5841] ioctl(3, LOOP_CLR_FD [pid 7291] write(3, "1000", 4 [pid 7290] memfd_create("syzkaller", 0 [pid 5841] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 7291] <... write resumed>) = 4 [pid 7290] <... memfd_create resumed>) = 3 [pid 5843] <... openat resumed>) = 3 [pid 7291] close(3 [pid 5843] ioctl(3, LOOP_CLR_FD [pid 5841] close(3 [pid 5843] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5841] <... close resumed>) = 0 [pid 5843] close(3 [pid 5841] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 7292 attached [pid 5843] <... close resumed>) = 0 [pid 5843] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5841] <... clone resumed>, child_tidptr=0x55558491f650) = 7292 ./strace-static-x86_64: Process 7293 attached [pid 7292] set_robust_list(0x55558491f660, 24) = 0 [pid 5843] <... clone resumed>, child_tidptr=0x55558491f650) = 7293 [pid 7292] chdir("./26" [pid 7291] <... close resumed>) = 0 [pid 7293] set_robust_list(0x55558491f660, 24 [pid 7292] <... chdir resumed>) = 0 [pid 7293] <... set_robust_list resumed>) = 0 [pid 7292] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 7293] chdir("./29" [pid 7292] <... prctl resumed>) = 0 [pid 7293] <... chdir resumed>) = 0 [pid 7292] setpgid(0, 0 [pid 7293] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 7292] <... setpgid resumed>) = 0 [pid 7293] <... prctl resumed>) = 0 [pid 7292] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 7293] setpgid(0, 0) = 0 [pid 7292] <... openat resumed>) = 3 [pid 7293] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 7292] write(3, "1000", 4 [pid 7293] <... openat resumed>) = 3 [pid 7291] symlink("/dev/binderfs", "./binderfs" [pid 7290] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 7291] <... symlink resumed>) = 0 [pid 7293] write(3, "1000", 4executing program executing program executing program [pid 7292] <... write resumed>) = 4 [pid 7290] <... mmap resumed>) = 0x7f5e2dc00000 [pid 7293] <... write resumed>) = 4 [pid 7291] write(1, "executing program\n", 18 [pid 7293] close(3) = 0 [pid 7293] symlink("/dev/binderfs", "./binderfs") = 0 [pid 7292] close(3) = 0 [pid 7292] symlink("/dev/binderfs", "./binderfs" [pid 7293] write(1, "executing program\n", 18 [pid 7292] <... symlink resumed>) = 0 [pid 7293] <... write resumed>) = 18 [pid 7293] memfd_create("syzkaller", 0 [pid 7292] write(1, "executing program\n", 18) = 18 [pid 7293] <... memfd_create resumed>) = 3 [pid 7292] memfd_create("syzkaller", 0 [pid 7291] <... write resumed>) = 18 [pid 7293] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 7292] <... memfd_create resumed>) = 3 [pid 7292] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 7291] memfd_create("syzkaller", 0) = 3 [pid 7291] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 7289] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7290] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7291] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7292] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7293] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7290] <... write resumed>) = 16777216 [pid 7292] <... write resumed>) = 16777216 [pid 7292] munmap(0x7f5e2dc00000, 138412032 [pid 7289] <... write resumed>) = 16777216 [pid 7290] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 7289] munmap(0x7f5e2dc00000, 138412032 [pid 7293] <... write resumed>) = 16777216 [pid 7292] <... munmap resumed>) = 0 [pid 7291] <... write resumed>) = 16777216 [pid 7290] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 7289] <... munmap resumed>) = 0 [pid 7293] munmap(0x7f5e2dc00000, 138412032 [pid 7291] munmap(0x7f5e2dc00000, 138412032 [pid 7290] <... openat resumed>) = 4 [pid 7289] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 7292] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 7290] ioctl(4, LOOP_SET_FD, 3 [pid 7289] <... openat resumed>) = 4 [pid 7292] <... openat resumed>) = 4 [pid 7289] ioctl(4, LOOP_SET_FD, 3 [pid 7292] ioctl(4, LOOP_SET_FD, 3 [pid 7293] <... munmap resumed>) = 0 [pid 7291] <... munmap resumed>) = 0 [pid 7290] <... ioctl resumed>) = 0 [pid 7289] <... ioctl resumed>) = 0 [pid 7293] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 7292] <... ioctl resumed>) = 0 [pid 7291] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 7290] close(3 [pid 7289] close(3 [pid 7293] <... openat resumed>) = 4 [pid 7292] close(3 [pid 7293] ioctl(4, LOOP_SET_FD, 3 [pid 7292] <... close resumed>) = 0 [pid 7291] <... openat resumed>) = 4 [pid 7292] close(4 [pid 7290] <... close resumed>) = 0 [pid 7289] <... close resumed>) = 0 [pid 7290] close(4 [pid 7289] close(4 [pid 7293] <... ioctl resumed>) = 0 [pid 7291] ioctl(4, LOOP_SET_FD, 3 [pid 7292] <... close resumed>) = 0 [pid 7292] mkdir("./file0", 0777 [pid 7293] close(3 [pid 7292] <... mkdir resumed>) = 0 [pid 7290] <... close resumed>) = 0 [pid 7289] <... close resumed>) = 0 [pid 7293] <... close resumed>) = 0 [pid 7291] <... ioctl resumed>) = 0 [pid 7290] mkdir("./file0", 0777 [pid 7289] mkdir("./file0", 0777 [pid 7293] close(4) = 0 [pid 7290] <... mkdir resumed>) = 0 [pid 7293] mkdir("./file0", 0777 [pid 7290] mount("/dev/loop4", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7292] mount("/dev/loop1", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7293] <... mkdir resumed>) = 0 [pid 7293] mount("/dev/loop3", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7291] close(3) = 0 [pid 7289] <... mkdir resumed>) = 0 [pid 7291] close(4) = 0 [pid 7289] mount("/dev/loop5", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7291] mkdir("./file0", 0777) = 0 [ 144.780329][ T7290] loop4: detected capacity change from 0 to 32768 [ 144.788171][ T7289] loop5: detected capacity change from 0 to 32768 [ 144.795089][ T7292] loop1: detected capacity change from 0 to 32768 [ 144.805131][ T7293] loop3: detected capacity change from 0 to 32768 [ 144.812369][ T7291] loop2: detected capacity change from 0 to 32768 [ 145.042342][ T7290] 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 [ 145.067576][ T7292] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 145.073233][ T7290] bcachefs (loop4): recovering from clean shutdown, journal seq 10 [ 145.077043][ T7292] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 145.110938][ T7293] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 145.121728][ T7290] bcachefs (loop4): Version upgrade required: [ 145.121728][ T7290] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 145.121728][ T7290] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 145.121728][ T7290] 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 [ 145.211821][ T7293] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 145.220716][ T7289] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 145.250171][ T7289] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 145.261654][ T7291] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 145.273628][ T7290] bcachefs (loop4): dropping and reconstructing all alloc info [pid 7291] mount("/dev/loop2", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7292] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 7292] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [ 145.313108][ T7291] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 145.322221][ T7292] bcachefs: bch2_fs_get_tree() error: EINVAL [ 145.344879][ T7290] bcachefs (loop4): check_topology... done [pid 7292] ioctl(3, LOOP_CLR_FD) = 0 [ 145.350779][ T7290] bcachefs (loop4): accounting_read... done [ 145.402951][ T7290] bcachefs (loop4): alloc_read... done [ 145.408627][ T7290] bcachefs (loop4): stripes_read... done [pid 7292] close(3 [pid 7293] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 7289] <... mount resumed>) = -1 EINVAL (Invalid argument) [ 145.452233][ T7290] bcachefs (loop4): snapshots_read... done [ 145.473627][ T7290] bcachefs (loop4): check_allocations... [ 145.474828][ T7293] bcachefs: bch2_fs_get_tree() error: EINVAL [ 145.487022][ T7289] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 7293] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 7289] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 7293] <... openat resumed>) = 3 [pid 7293] ioctl(3, LOOP_CLR_FD) = 0 [pid 7293] close(3 [pid 7289] <... openat resumed>) = 3 [pid 7289] ioctl(3, LOOP_CLR_FD) = 0 [pid 7289] close(3 [pid 7291] <... mount resumed>) = -1 EINVAL (Invalid argument) [ 145.557261][ T7291] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 7291] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 7291] ioctl(3, LOOP_CLR_FD) = 0 [ 145.609467][ T7290] done [ 145.626979][ T7290] bcachefs (loop4): going read-write [pid 7291] close(3 [pid 7290] <... mount resumed>) = 0 [pid 7290] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 7290] chdir("./file0") = 0 [pid 7290] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 7290] ioctl(4, LOOP_CLR_FD) = 0 [ 145.662013][ T7290] bcachefs (loop4): done starting filesystem [pid 7290] close(4) = 0 [pid 7290] unlinkat(AT_FDCWD, "./file1", 0) = 0 [pid 7290] exit_group(0) = ? [pid 7290] +++ exited with 0 +++ [pid 5844] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7290, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=36 /* 0.36 s */} --- [pid 5844] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5844] umount2("./25", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] openat(AT_FDCWD, "./25", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5840] <... umount2 resumed>) = 0 [pid 5844] <... openat resumed>) = 3 [pid 5844] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5844] umount2("./25/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] umount2("./26/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] newfstatat(AT_FDCWD, "./25/binderfs", [pid 5840] newfstatat(AT_FDCWD, "./26/file0", [pid 5844] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] unlink("./25/binderfs" [pid 5840] umount2("./26/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] <... unlink resumed>) = 0 [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] umount2("./25/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] openat(AT_FDCWD, "./26/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, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5840] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5840] close(4) = 0 [pid 5840] rmdir("./26/file0") = 0 [pid 5840] getdents64(3, [pid 7292] <... close resumed>) = 0 [pid 5840] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5840] close(3) = 0 [pid 5840] rmdir("./26") = 0 [pid 5840] mkdir("./27", 0777) = 0 [pid 5840] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 7292] unlinkat(AT_FDCWD, "./file1", 0 [pid 5840] ioctl(3, LOOP_CLR_FD [pid 7292] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 7292] exit_group(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, child_tidptr=0x55558491f650) = 7332 [pid 7292] +++ exited with 0 +++ [pid 5841] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7292, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=42 /* 0.42 s */} --- ./strace-static-x86_64: Process 7332 attached [pid 5841] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 7332] set_robust_list(0x55558491f660, 24) = 0 [pid 7332] chdir("./27" [pid 5841] umount2("./26", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 7332] <... chdir resumed>) = 0 [pid 5841] openat(AT_FDCWD, "./26", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 7332] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5841] <... openat resumed>) = 3 [pid 7332] <... prctl resumed>) = 0 [pid 5841] newfstatat(3, "", [pid 7332] setpgid(0, 0) = 0 [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 7332] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5841] getdents64(3, [pid 7332] <... openat resumed>) = 3 [pid 5841] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 7332] write(3, "1000", 4 [pid 5841] umount2("./26/binderfs", MNT_FORCE|UMOUNT_NOFOLLOWexecuting program [pid 7332] <... write resumed>) = 4 [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] newfstatat(AT_FDCWD, "./26/binderfs", [pid 7332] close(3) = 0 [pid 5841] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 7332] symlink("/dev/binderfs", "./binderfs" [pid 5841] unlink("./26/binderfs" [pid 7332] <... symlink resumed>) = 0 [pid 7332] write(1, "executing program\n", 18 [pid 5841] <... unlink resumed>) = 0 [pid 7332] <... write resumed>) = 18 [pid 5841] umount2("./26/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7332] memfd_create("syzkaller", 0 [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] newfstatat(AT_FDCWD, "./26/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 7332] <... memfd_create resumed>) = 3 [pid 5841] umount2("./26/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7332] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] openat(AT_FDCWD, "./26/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5841] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 7332] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5841] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5841] close(4) = 0 [ 145.811697][ T5844] bcachefs (loop4): shutting down [ 145.818891][ T5844] bcachefs (loop4): going read-only [ 145.833843][ T5844] bcachefs (loop4): finished waiting for writes to stop [ 145.848223][ T5844] bcachefs (loop4): flushing journal and stopping allocators, journal seq 12 [pid 5841] rmdir("./26/file0") = 0 [pid 5841] getdents64(3, [pid 7293] <... close resumed>) = 0 [pid 7289] <... close resumed>) = 0 [pid 5841] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5841] close(3 [pid 7289] unlinkat(AT_FDCWD, "./file1", 0 [pid 5841] <... close resumed>) = 0 [pid 5841] rmdir("./26") = 0 [pid 7293] unlinkat(AT_FDCWD, "./file1", 0 [pid 5841] mkdir("./27", 0777 [pid 7289] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 7293] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 7293] exit_group(0) = ? [pid 5841] <... mkdir resumed>) = 0 [pid 7289] exit_group(0 [pid 5841] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 7289] <... exit_group resumed>) = ? [pid 5841] <... openat resumed>) = 3 [pid 7289] +++ exited with 0 +++ [pid 5841] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7289, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=39 /* 0.39 s */} --- [pid 5841] close(3 [pid 5845] restart_syscall(<... resuming interrupted clone ...> [pid 5841] <... close resumed>) = 0 [pid 5841] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5845] <... restart_syscall resumed>) = 0 ./strace-static-x86_64: Process 7333 attached [pid 5845] umount2("./26", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] <... clone resumed>, child_tidptr=0x55558491f650) = 7333 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./26", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 7333] set_robust_list(0x55558491f660, 24 [pid 5845] <... openat resumed>) = 3 [pid 5845] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5845] umount2("./26/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./26/binderfs", [pid 7333] <... set_robust_list resumed>) = 0 [pid 5845] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] unlink("./26/binderfs" [pid 7333] chdir("./27" [pid 5845] <... unlink resumed>) = 0 [pid 7333] <... chdir resumed>) = 0 [pid 7333] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5845] umount2("./26/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7333] <... prctl resumed>) = 0 [pid 7333] setpgid(0, 0 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./26/file0", [pid 7333] <... setpgid resumed>) = 0 [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] umount2("./26/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./26/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 7333] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5845] <... openat resumed>) = 4 [pid 7333] write(3, "1000", 4 [pid 5845] newfstatat(4, "", [pid 7333] <... write resumed>) = 4 [pid 7333] close(3 [pid 7293] +++ exited with 0 +++ [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 7333] <... close resumed>) = 0 [pid 7333] symlink("/dev/binderfs", "./binderfs" [pid 5845] getdents64(4, [pid 5843] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7293, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=47 /* 0.47 s */} --- [pid 5845] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 7333] <... symlink resumed>) = 0 [pid 7291] <... close resumed>) = 0 [pid 5843] restart_syscall(<... resuming interrupted clone ...> [pid 5845] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5845] close(4) = 0 [pid 5845] rmdir("./26/file0") = 0 [pid 5845] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5845] close(3) = 0 [pid 5845] rmdir("./26") = 0 [pid 5845] mkdir("./27", 0777) = 0 [pid 5845] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5845] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5845] close(3) = 0 [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5843] <... restart_syscall resumed>) = 0 ./strace-static-x86_64: Process 7334 attached [pid 7333] write(1, "executing program\n", 18 [pid 7291] unlinkat(AT_FDCWD, "./file1", 0 [pid 7334] set_robust_list(0x55558491f660, 24executing program [pid 7333] <... write resumed>) = 18 [pid 7334] <... set_robust_list resumed>) = 0 [pid 7291] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5845] <... clone resumed>, child_tidptr=0x55558491f650) = 7334 [pid 7333] memfd_create("syzkaller", 0 [pid 7334] chdir("./27" [pid 7291] exit_group(0) = ? [pid 5843] umount2("./29", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5843] openat(AT_FDCWD, "./29", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 7334] <... chdir resumed>) = 0 [pid 7333] <... memfd_create resumed>) = 3 [pid 7334] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 7291] +++ exited with 0 +++ [pid 7334] <... prctl resumed>) = 0 [pid 7333] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 7334] setpgid(0, 0 [pid 5843] <... openat resumed>) = 3 [pid 7334] <... setpgid resumed>) = 0 [pid 7333] <... mmap resumed>) = 0x7f5e2dc00000 executing program [pid 7334] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5843] newfstatat(3, "", [pid 5842] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7291, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=41 /* 0.41 s */} --- [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] restart_syscall(<... resuming interrupted clone ...> [pid 7334] <... openat resumed>) = 3 [pid 7334] write(3, "1000", 4) = 4 [pid 7334] close(3) = 0 [pid 7334] symlink("/dev/binderfs", "./binderfs") = 0 [pid 7334] write(1, "executing program\n", 18) = 18 [pid 7334] memfd_create("syzkaller", 0 [pid 5842] <... restart_syscall resumed>) = 0 [pid 7334] <... memfd_create resumed>) = 3 [pid 5843] getdents64(3, [pid 7334] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [ 145.944083][ T81] bcachefs (loop4): bch2_write_super(): fatal error loop4: Superblock write was silently dropped! (seq 0 expected 54) [ 145.971349][ T81] bcachefs (loop4): fatal error - emergency read only [ 145.983305][ T5844] bcachefs (loop4): flushing journal and stopping allocators complete, journal seq 13 [pid 5843] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5843] umount2("./29/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] umount2("./33", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] openat(AT_FDCWD, "./33", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5843] newfstatat(AT_FDCWD, "./29/binderfs", [pid 5842] <... openat resumed>) = 3 [pid 5843] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] unlink("./29/binderfs" [pid 5842] getdents64(3, [pid 5843] <... unlink resumed>) = 0 [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5843] umount2("./29/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] umount2("./33/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5843] newfstatat(AT_FDCWD, "./29/file0", [pid 5842] newfstatat(AT_FDCWD, "./33/binderfs", [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] umount2("./29/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] unlink("./33/binderfs") = 0 [pid 5843] openat(AT_FDCWD, "./29/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5842] umount2("./33/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5843] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] newfstatat(AT_FDCWD, "./33/file0", [pid 5843] getdents64(4, [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5842] umount2("./33/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] getdents64(4, [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5842] openat(AT_FDCWD, "./33/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5843] close(4) = 0 [pid 5842] newfstatat(4, "", [pid 5843] rmdir("./29/file0" [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] <... rmdir resumed>) = 0 [pid 5842] getdents64(4, [pid 5843] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5842] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5842] getdents64(4, [pid 5843] close(3 [pid 5842] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5843] <... close resumed>) = 0 [pid 5842] close(4) = 0 [pid 5843] rmdir("./29" [pid 5842] rmdir("./33/file0") = 0 [pid 5843] <... rmdir resumed>) = 0 [pid 5842] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5842] close(3 [pid 5843] mkdir("./30", 0777 [pid 5842] <... close resumed>) = 0 [pid 5843] <... mkdir resumed>) = 0 [pid 5842] rmdir("./33" [pid 5843] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5842] <... rmdir resumed>) = 0 [pid 5843] <... openat resumed>) = 3 [pid 5842] mkdir("./34", 0777 [pid 5843] ioctl(3, LOOP_CLR_FD [pid 5842] <... mkdir resumed>) = 0 [pid 5843] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5842] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5843] close(3 [pid 5842] <... openat resumed>) = 3 [pid 5843] <... close resumed>) = 0 [pid 5842] ioctl(3, LOOP_CLR_FD [pid 5843] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 7335 attached [pid 5842] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5842] close(3) = 0 [pid 5843] <... clone resumed>, child_tidptr=0x55558491f650) = 7335 [pid 5842] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 7336 attached [pid 7335] set_robust_list(0x55558491f660, 24 [pid 5842] <... clone resumed>, child_tidptr=0x55558491f650) = 7336 [ 146.021648][ T5844] bcachefs (loop4): unshutdown complete, journal seq 13 [ 146.054705][ T5844] bcachefs (loop4): done going read-only, filesystem not clean [pid 7336] set_robust_list(0x55558491f660, 24 [pid 7335] <... set_robust_list resumed>) = 0 [pid 7336] <... set_robust_list resumed>) = 0 executing program [pid 7336] chdir("./34" [pid 7335] chdir("./30" [pid 7336] <... chdir resumed>) = 0 [pid 7336] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7336] setpgid(0, 0) = 0 [pid 7336] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7336] write(3, "1000", 4) = 4 [pid 7336] close(3) = 0 [pid 7336] symlink("/dev/binderfs", "./binderfs") = 0 [pid 7336] write(1, "executing program\n", 18) = 18 [pid 7336] memfd_create("syzkaller", 0 [pid 7335] <... chdir resumed>) = 0 [pid 7335] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 7336] <... memfd_create resumed>) = 3 [pid 7335] <... prctl resumed>) = 0 [pid 7336] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 7335] setpgid(0, 0) = 0 [pid 7335] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7335] write(3, "1000", 4) = 4 [pid 7335] close(3) = 0 [pid 7335] symlink("/dev/binderfs", "./binderfs") = 0 [pid 7335] write(1, "executing program\n", 18executing program ) = 18 [pid 7335] memfd_create("syzkaller", 0) = 3 [pid 7332] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7335] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [ 146.165229][ T5844] bcachefs (loop4): shutdown complete [pid 7333] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7334] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7336] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7335] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7332] <... write resumed>) = 16777216 [pid 7332] munmap(0x7f5e2dc00000, 138412032 [pid 7334] <... write resumed>) = 16777216 [pid 7332] <... munmap resumed>) = 0 [pid 7334] munmap(0x7f5e2dc00000, 138412032 [pid 7332] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7332] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7334] <... munmap resumed>) = 0 [pid 7333] <... write resumed>) = 16777216 [pid 7334] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 7332] close(3 [pid 7334] <... openat resumed>) = 4 [pid 7332] <... close resumed>) = 0 [pid 7332] close(4) = 0 [pid 7332] mkdir("./file0", 0777) = 0 [ 146.735226][ T7332] loop0: detected capacity change from 0 to 32768 [pid 7332] mount("/dev/loop0", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7334] ioctl(4, LOOP_SET_FD, 3 [pid 7333] munmap(0x7f5e2dc00000, 138412032 [pid 7334] <... ioctl resumed>) = 0 [pid 7335] <... write resumed>) = 16777216 [pid 7334] close(3 [pid 7335] munmap(0x7f5e2dc00000, 138412032 [pid 7334] <... close resumed>) = 0 [pid 7334] close(4) = 0 [pid 7334] mkdir("./file0", 0777) = 0 [pid 7334] mount("/dev/loop5", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7333] <... munmap resumed>) = 0 [pid 7333] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 7335] <... munmap resumed>) = 0 [pid 7333] <... openat resumed>) = 4 [ 146.778319][ T7334] loop5: detected capacity change from 0 to 32768 [pid 7333] ioctl(4, LOOP_SET_FD, 3 [pid 7335] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 7333] <... ioctl resumed>) = 0 [pid 7336] <... write resumed>) = 16777216 [pid 7336] munmap(0x7f5e2dc00000, 138412032 [pid 7335] <... openat resumed>) = 4 [pid 7333] close(3 [pid 7335] ioctl(4, LOOP_SET_FD, 3 [pid 7336] <... munmap resumed>) = 0 [pid 7333] <... close resumed>) = 0 [pid 7336] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 7333] close(4 [pid 7336] <... openat resumed>) = 4 [pid 7333] <... close resumed>) = 0 [pid 7333] mkdir("./file0", 0777) = 0 [pid 7333] mount("/dev/loop1", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7336] ioctl(4, LOOP_SET_FD, 3 [pid 7335] <... ioctl resumed>) = 0 [ 146.832229][ T7333] loop1: detected capacity change from 0 to 32768 [ 146.862378][ T7335] loop3: detected capacity change from 0 to 32768 [pid 7335] close(3) = 0 [pid 7335] close(4) = 0 [pid 7335] mkdir("./file0", 0777) = 0 [pid 7336] <... ioctl resumed>) = 0 [pid 7336] close(3) = 0 [pid 7335] mount("/dev/loop3", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7336] close(4) = 0 [pid 7336] mkdir("./file0", 0777) = 0 [ 146.890892][ T7336] loop2: detected capacity change from 0 to 32768 [ 147.053017][ T7334] 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 [ 147.054101][ T7333] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 147.076741][ T7334] bcachefs (loop5): recovering from clean shutdown, journal seq 10 [ 147.093747][ T7334] bcachefs (loop5): Version upgrade required: [ 147.093747][ T7334] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 147.093747][ T7334] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 147.093747][ T7334] 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 [ 147.103280][ T7333] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 147.165042][ T7332] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 147.184658][ T7332] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 147.194460][ T7334] bcachefs (loop5): dropping and reconstructing all alloc info [ 147.197065][ T7335] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 147.227664][ T7334] bcachefs (loop5): check_topology... done [ 147.236867][ T7336] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 147.236916][ T7335] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 147.252889][ T7334] bcachefs (loop5): accounting_read... [ 147.254324][ T7336] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 147.268671][ T7334] done [ 147.271462][ T7334] bcachefs (loop5): alloc_read... done [ 147.287729][ T7334] bcachefs (loop5): stripes_read... done [ 147.298928][ T7334] bcachefs (loop5): snapshots_read... done [pid 7336] mount("/dev/loop2", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7332] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 7332] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [ 147.334928][ T7334] bcachefs (loop5): check_allocations... [ 147.354070][ T7332] bcachefs: bch2_fs_get_tree() error: EINVAL [ 147.372403][ T7334] done [pid 7332] ioctl(3, LOOP_CLR_FD) = 0 [ 147.411626][ T7334] bcachefs (loop5): going read-write [ 147.513834][ T7334] bcachefs (loop5): done starting filesystem [ 147.522297][ T7333] bcachefs: bch2_fs_get_tree() error: EINVAL [ 147.538136][ T7335] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 7332] close(3 [pid 7334] <... mount resumed>) = 0 [pid 7333] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 7334] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 7334] chdir("./file0" [pid 7335] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 7334] <... chdir resumed>) = 0 [pid 7334] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 7334] ioctl(4, LOOP_CLR_FD) = 0 [pid 7334] close(4) = 0 [pid 7334] unlinkat(AT_FDCWD, "./file1", 0 [pid 7333] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 7333] ioctl(3, LOOP_CLR_FD) = 0 [pid 7333] close(3 [pid 7335] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 7335] ioctl(3, LOOP_CLR_FD) = 0 [pid 7335] close(3 [pid 7334] <... unlinkat resumed>) = 0 [pid 7334] exit_group(0) = ? [pid 7334] +++ exited with 0 +++ [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7334, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=41 /* 0.41 s */} --- [pid 5845] restart_syscall(<... resuming interrupted clone ...>) = 0 [ 147.559137][ T7336] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5845] umount2("./27", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./27", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5845] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5845] umount2("./27/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 7336] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./27/binderfs", [pid 7336] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5845] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] unlink("./27/binderfs") = 0 [pid 5845] umount2("./27/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7336] <... openat resumed>) = 3 [pid 7332] <... close resumed>) = 0 [pid 7336] ioctl(3, LOOP_CLR_FD) = 0 [pid 7332] unlinkat(AT_FDCWD, "./file1", 0 [pid 7336] close(3 [pid 7332] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 7332] exit_group(0) = ? [pid 5844] <... umount2 resumed>) = 0 [ 147.659884][ T5845] bcachefs (loop5): shutting down [ 147.666035][ T5845] bcachefs (loop5): going read-only [ 147.673760][ T5845] bcachefs (loop5): finished waiting for writes to stop [pid 5844] umount2("./25/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7332] +++ exited with 0 +++ [pid 5840] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7332, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=47 /* 0.47 s */} --- [pid 5840] umount2("./27", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./27", 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, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] umount2("./27/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] newfstatat(AT_FDCWD, "./25/file0", [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] newfstatat(AT_FDCWD, "./27/binderfs", [pid 5844] umount2("./25/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] unlink("./27/binderfs") = 0 [pid 5840] umount2("./27/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./27/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] umount2("./27/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] openat(AT_FDCWD, "./25/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5840] openat(AT_FDCWD, "./27/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5844] <... openat resumed>) = 4 [pid 5840] <... openat resumed>) = 4 [pid 5840] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] newfstatat(4, "", [pid 5840] getdents64(4, [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5844] getdents64(4, [pid 5840] getdents64(4, [pid 5844] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5844] getdents64(4, [pid 5840] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5844] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5840] close(4 [pid 5844] close(4 [pid 5840] <... close resumed>) = 0 [pid 5844] <... close resumed>) = 0 [pid 5840] rmdir("./27/file0" [pid 5844] rmdir("./25/file0" [pid 5840] <... rmdir resumed>) = 0 [pid 5844] <... rmdir resumed>) = 0 [pid 5840] getdents64(3, [pid 5844] getdents64(3, [pid 5840] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5844] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5840] close(3 [pid 5844] close(3 [pid 5840] <... close resumed>) = 0 [pid 5844] <... close resumed>) = 0 [pid 5840] rmdir("./27" [pid 5844] rmdir("./25" [pid 5840] <... rmdir resumed>) = 0 [pid 5844] <... rmdir resumed>) = 0 [pid 5840] mkdir("./28", 0777 [pid 5844] mkdir("./26", 0777 [pid 5840] <... mkdir resumed>) = 0 [pid 5844] <... mkdir resumed>) = 0 [pid 5844] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5844] ioctl(3, LOOP_CLR_FD [pid 5840] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5844] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5840] <... openat resumed>) = 3 [pid 5844] close(3 [pid 5840] ioctl(3, LOOP_CLR_FD [pid 5844] <... close resumed>) = 0 [pid 5840] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5844] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5840] close(3) = 0 [pid 5840] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55558491f650) = 7376 [pid 5844] <... clone resumed>, child_tidptr=0x55558491f650) = 7375 ./strace-static-x86_64: Process 7375 attached ./strace-static-x86_64: Process 7376 attached [pid 7375] set_robust_list(0x55558491f660, 24 [pid 7376] set_robust_list(0x55558491f660, 24 [pid 7375] <... set_robust_list resumed>) = 0 [pid 7375] chdir("./26" [pid 7376] <... set_robust_list resumed>) = 0 [pid 7376] chdir("./28") = 0 [pid 7376] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7376] setpgid(0, 0) = 0 [pid 7376] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7375] <... chdir resumed>) = 0 [pid 7376] write(3, "1000", 4) = 4 [pid 7375] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 7376] close(3 [pid 7375] <... prctl resumed>) = 0 [pid 7376] <... close resumed>) = 0 [pid 7375] setpgid(0, 0 [pid 7376] symlink("/dev/binderfs", "./binderfs") = 0 [pid 7375] <... setpgid resumed>) = 0 [ 147.728439][ T5845] bcachefs (loop5): flushing journal and stopping allocators, journal seq 12 executing program [pid 7375] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 7376] write(1, "executing program\n", 18 [pid 7375] <... openat resumed>) = 3 [pid 7376] <... write resumed>) = 18 [pid 7376] memfd_create("syzkaller", 0) = 3 [pid 7375] write(3, "1000", 4 [pid 7376] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 7375] <... write resumed>) = 4 [pid 7376] <... mmap resumed>) = 0x7f5e2dc00000 [pid 7375] close(3executing program ) = 0 [pid 7375] symlink("/dev/binderfs", "./binderfs") = 0 [pid 7375] write(1, "executing program\n", 18) = 18 [pid 7375] memfd_create("syzkaller", 0) = 3 [pid 7375] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 7336] <... close resumed>) = 0 [pid 7336] unlinkat(AT_FDCWD, "./file1", 0) = -1 ENOENT (No such file or directory) [pid 7336] exit_group(0) = ? [pid 7336] +++ exited with 0 +++ [pid 5842] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7336, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=40 /* 0.40 s */} --- [pid 5842] umount2("./34", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] openat(AT_FDCWD, "./34", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5842] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5842] umount2("./34/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] newfstatat(AT_FDCWD, "./34/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] unlink("./34/binderfs") = 0 [pid 5842] umount2("./34/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] newfstatat(AT_FDCWD, "./34/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] umount2("./34/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] openat(AT_FDCWD, "./34/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5842] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5842] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5842] close(4) = 0 [pid 5842] rmdir("./34/file0") = 0 [pid 5842] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5842] close(3) = 0 [pid 5842] rmdir("./34") = 0 [ 147.922999][ T2890] bcachefs (loop5): bch2_write_super(): fatal error loop5: Superblock write was silently dropped! (seq 0 expected 54) [pid 5842] mkdir("./35", 0777) = 0 [pid 5842] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5842] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5842] close(3) = 0 [pid 5842] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 7377 attached [pid 7377] set_robust_list(0x55558491f660, 24 [pid 5842] <... clone resumed>, child_tidptr=0x55558491f650) = 7377 [pid 7377] <... set_robust_list resumed>) = 0 [pid 7377] chdir("./35") = 0 [pid 7377] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7377] setpgid(0, 0) = 0 [pid 7377] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7377] write(3, "1000", 4) = 4 [pid 7377] close(3executing program ) = 0 [pid 7377] symlink("/dev/binderfs", "./binderfs") = 0 [ 147.983966][ T2890] bcachefs (loop5): fatal error - emergency read only [ 148.007232][ T5845] bcachefs (loop5): flushing journal and stopping allocators complete, journal seq 14 [pid 7377] write(1, "executing program\n", 18) = 18 [pid 7377] memfd_create("syzkaller", 0) = 3 [pid 7377] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 7376] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7335] <... close resumed>) = 0 [pid 7335] unlinkat(AT_FDCWD, "./file1", 0) = -1 ENOENT (No such file or directory) [pid 7335] exit_group(0) = ? [pid 7335] +++ exited with 0 +++ [pid 5843] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7335, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=46 /* 0.46 s */} --- [pid 5843] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 7333] <... close resumed>) = 0 [pid 7333] unlinkat(AT_FDCWD, "./file1", 0 [pid 5843] umount2("./30", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7333] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] openat(AT_FDCWD, "./30", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5843] newfstatat(3, "", [pid 7333] exit_group(0 [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 7333] <... exit_group resumed>) = ? [ 148.034972][ T5845] bcachefs (loop5): unshutdown complete, journal seq 14 [ 148.063711][ T5845] bcachefs (loop5): done going read-only, filesystem not clean [pid 5843] getdents64(3, [pid 7333] +++ exited with 0 +++ [pid 5843] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5843] umount2("./30/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7333, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=48 /* 0.48 s */} --- [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] restart_syscall(<... resuming interrupted clone ...> [pid 5843] newfstatat(AT_FDCWD, "./30/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] <... restart_syscall resumed>) = 0 [pid 5843] unlink("./30/binderfs") = 0 [pid 5843] umount2("./30/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] umount2("./27", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] newfstatat(AT_FDCWD, "./30/file0", [pid 5841] openat(AT_FDCWD, "./27", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] <... openat resumed>) = 3 [pid 5843] umount2("./30/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] newfstatat(3, "", [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] openat(AT_FDCWD, "./30/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5841] getdents64(3, [pid 5843] <... openat resumed>) = 4 [pid 5843] newfstatat(4, "", [pid 5841] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] umount2("./27/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] getdents64(4, [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5841] newfstatat(AT_FDCWD, "./27/binderfs", [pid 5843] getdents64(4, [pid 5841] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] unlink("./27/binderfs" [pid 5843] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5841] <... unlink resumed>) = 0 [pid 5843] close(4 [pid 5841] umount2("./27/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5843] <... close resumed>) = 0 [pid 5843] rmdir("./30/file0") = 0 [pid 5843] getdents64(3, [pid 5841] newfstatat(AT_FDCWD, "./27/file0", [pid 5843] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] close(3 [pid 5841] umount2("./27/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] <... close resumed>) = 0 [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] rmdir("./30" [pid 5841] openat(AT_FDCWD, "./27/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5843] <... rmdir resumed>) = 0 [pid 5841] <... openat resumed>) = 4 [pid 5843] mkdir("./31", 0777 [pid 5841] newfstatat(4, "", [pid 5843] <... mkdir resumed>) = 0 [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5841] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5841] close(4) = 0 [pid 5841] rmdir("./27/file0") = 0 [pid 5841] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5843] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5841] close(3 [pid 5843] <... openat resumed>) = 3 [pid 5841] <... close resumed>) = 0 [pid 5843] ioctl(3, LOOP_CLR_FD [pid 5841] rmdir("./27" [pid 5843] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5841] <... rmdir resumed>) = 0 [pid 5843] close(3 [pid 5841] mkdir("./28", 0777 [pid 5843] <... close resumed>) = 0 [pid 5841] <... mkdir resumed>) = 0 [pid 5843] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5841] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5843] <... clone resumed>, child_tidptr=0x55558491f650) = 7378 [pid 5841] <... openat resumed>) = 3 [ 148.126190][ T5845] bcachefs (loop5): shutdown complete [pid 7375] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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./strace-static-x86_64: Process 7378 attached [pid 5841] ioctl(3, LOOP_CLR_FD [pid 7378] set_robust_list(0x55558491f660, 24 [pid 5841] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5841] close(3) = 0 [pid 5841] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55558491f650) = 7379 ./strace-static-x86_64: Process 7379 attached [pid 7378] <... set_robust_list resumed>) = 0 [pid 7378] chdir("./31" [pid 7379] set_robust_list(0x55558491f660, 24) = 0 [pid 7378] <... chdir resumed>) = 0 [pid 7378] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 7379] chdir("./28" [pid 7378] <... prctl resumed>) = 0 [pid 7379] <... chdir resumed>) = 0 [pid 7378] setpgid(0, 0 [pid 7379] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 7378] <... setpgid resumed>) = 0 [pid 7379] <... prctl resumed>) = 0 [pid 7378] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7379] setpgid(0, 0 [pid 7378] write(3, "1000", 4) = 4 [pid 7378] close(3) = 0 [pid 7379] <... setpgid resumed>) = 0 [pid 7378] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 7379] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 7378] write(1, "executing program\n", 18 [pid 7379] <... openat resumed>) = 3 [pid 7378] <... write resumed>) = 18 [pid 7378] memfd_create("syzkaller", 0 [pid 7379] write(3, "1000", 4) = 4 [pid 7378] <... memfd_create resumed>) = 3 [pid 7379] close(3 [pid 7378] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 7379] <... close resumed>) = 0 [pid 7379] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 7379] write(1, "executing program\n", 18) = 18 [pid 7379] memfd_create("syzkaller", 0) = 3 [pid 7379] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 7377] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7376] <... write resumed>) = 16777216 [pid 7376] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 7376] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7376] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7379] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7376] close(3) = 0 [pid 7376] close(4) = 0 [ 148.529108][ T7376] loop0: detected capacity change from 0 to 32768 [pid 7378] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7376] mkdir("./file0", 0777) = 0 [pid 7376] mount("/dev/loop0", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7375] <... write resumed>) = 16777216 [pid 7375] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 7375] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 7375] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7375] close(3) = 0 [pid 7375] close(4) = 0 [pid 7375] mkdir("./file0", 0777) = 0 [ 148.733828][ T7375] loop4: detected capacity change from 0 to 32768 [pid 7375] mount("/dev/loop4", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7378] <... write resumed>) = 16777216 [pid 7377] <... write resumed>) = 16777216 [pid 7377] munmap(0x7f5e2dc00000, 138412032 [pid 7378] munmap(0x7f5e2dc00000, 138412032 [pid 7377] <... munmap resumed>) = 0 [pid 7378] <... munmap resumed>) = 0 [pid 7378] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 7378] ioctl(4, LOOP_SET_FD, 3 [pid 7377] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 7377] ioctl(4, LOOP_SET_FD, 3 [pid 7378] <... ioctl resumed>) = 0 [ 148.879924][ T7378] loop3: detected capacity change from 0 to 32768 [ 148.892633][ T7377] loop2: detected capacity change from 0 to 32768 [pid 7378] close(3) = 0 [pid 7379] <... write resumed>) = 16777216 [pid 7377] <... ioctl resumed>) = 0 [pid 7379] munmap(0x7f5e2dc00000, 138412032 [pid 7378] close(4 [pid 7377] close(3 [pid 7378] <... close resumed>) = 0 [pid 7377] <... close resumed>) = 0 [pid 7378] mkdir("./file0", 0777 [pid 7377] close(4) = 0 [pid 7378] <... mkdir resumed>) = 0 [pid 7377] mkdir("./file0", 0777 [pid 7378] mount("/dev/loop3", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7377] <... mkdir resumed>) = 0 [pid 7377] mount("/dev/loop2", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7379] <... munmap resumed>) = 0 [ 148.930498][ T7376] 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 [ 148.933692][ T7375] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 148.954557][ T7376] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 148.997098][ T7376] bcachefs (loop0): Version upgrade required: [ 148.997098][ T7376] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 148.997098][ T7376] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [pid 7379] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [ 148.997098][ T7376] 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 [ 149.012927][ T7375] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 149.082058][ T7376] bcachefs (loop0): dropping and reconstructing all alloc info [pid 7379] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7379] close(3) = 0 [pid 7379] close(4) = 0 [ 149.092582][ T7379] loop1: detected capacity change from 0 to 32768 [ 149.116385][ T7376] bcachefs (loop0): check_topology... done [ 149.122679][ T7376] bcachefs (loop0): accounting_read... done [ 149.130740][ T7376] bcachefs (loop0): alloc_read... done [ 149.138981][ T7376] bcachefs (loop0): stripes_read... done [pid 7379] mkdir("./file0", 0777) = 0 [ 149.146950][ T7376] bcachefs (loop0): snapshots_read... done [pid 7379] mount("/dev/loop1", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7376] <... mount resumed>) = 0 [pid 7376] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 7376] chdir("./file0") = 0 [pid 7376] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7376] ioctl(4, LOOP_CLR_FD) = 0 [pid 7376] close(4) = 0 [ 149.153197][ T7376] bcachefs (loop0): check_allocations... done [ 149.184654][ T7376] bcachefs (loop0): going read-write [ 149.195624][ T7376] bcachefs (loop0): done starting filesystem [pid 7376] unlinkat(AT_FDCWD, "./file1", 0) = 0 [pid 7376] exit_group(0) = ? [pid 7376] +++ exited with 0 +++ [pid 5840] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7376, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=40 /* 0.40 s */} --- [pid 5840] umount2("./28", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./28", 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, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5840] umount2("./28/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./28/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] unlink("./28/binderfs") = 0 [ 149.301541][ T7378] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 149.314743][ T5840] bcachefs (loop0): shutting down [ 149.319797][ T5840] bcachefs (loop0): going read-only [ 149.327933][ T5840] bcachefs (loop0): finished waiting for writes to stop [ 149.335582][ T7378] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 149.345301][ T7377] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 149.355429][ T7375] bcachefs: bch2_fs_get_tree() error: EINVAL [ 149.358413][ T7377] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 149.387219][ T7379] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [pid 5840] umount2("./28/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7375] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 7375] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 7375] ioctl(3, LOOP_CLR_FD) = 0 [pid 7375] close(3 [pid 5845] <... umount2 resumed>) = 0 [pid 5845] umount2("./27/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./27/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] umount2("./27/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./27/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [ 149.399785][ T5840] bcachefs (loop0): flushing journal and stopping allocators, journal seq 12 [ 149.423181][ T7379] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [pid 5845] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5845] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5845] close(4) = 0 [pid 5845] rmdir("./27/file0") = 0 [pid 5845] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5845] close(3) = 0 [pid 5845] rmdir("./27") = 0 [pid 5845] mkdir("./28", 0777) = 0 [pid 5845] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5845] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5845] close(3) = 0 [ 149.535766][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 54) [ 149.563800][ T11] bcachefs (loop0): fatal error - emergency read only [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 7418 attached , child_tidptr=0x55558491f650) = 7418 [pid 7418] set_robust_list(0x55558491f660, 24) = 0 [pid 7418] chdir("./28") = 0 [pid 7418] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7418] setpgid(0, 0) = 0 [pid 7418] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [ 149.582353][ T5840] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 149.608504][ T7379] bcachefs: bch2_fs_get_tree() error: EINVAL [ 149.616174][ T5840] bcachefs (loop0): unshutdown complete, journal seq 14 [ 149.624484][ T7378] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 7418] write(3, "1000", 4 [pid 7379] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 7418] <... write resumed>) = 4 [pid 7379] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 7378] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 7377] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 7377] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 7377] ioctl(3, LOOP_CLR_FD) = 0 [pid 7377] close(3 [pid 7418] close(3 [pid 7379] <... openat resumed>) = 3 [pid 7378] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 7418] <... close resumed>) = 0 [pid 7379] ioctl(3, LOOP_CLR_FD [pid 7378] <... openat resumed>) = 3 [ 149.632520][ T7377] bcachefs: bch2_fs_get_tree() error: EINVAL [ 149.650917][ T5840] bcachefs (loop0): done going read-only, filesystem not clean [pid 7418] symlink("/dev/binderfs", "./binderfs" [pid 7379] <... ioctl resumed>) = 0 [pid 7378] ioctl(3, LOOP_CLR_FD) = 0 [pid 7379] close(3 [pid 7378] close(3 [pid 7418] <... symlink resumed>) = 0 executing program [pid 7418] write(1, "executing program\n", 18) = 18 [pid 7418] memfd_create("syzkaller", 0) = 3 [pid 7418] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 7375] <... close resumed>) = 0 [pid 7375] unlinkat(AT_FDCWD, "./file1", 0) = -1 ENOENT (No such file or directory) [pid 7375] exit_group(0) = ? [pid 7375] +++ exited with 0 +++ [pid 5844] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7375, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=48 /* 0.48 s */} --- [pid 5844] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5844] umount2("./26", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] openat(AT_FDCWD, "./26", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5844] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5844] umount2("./26/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] newfstatat(AT_FDCWD, "./26/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] unlink("./26/binderfs") = 0 [pid 5844] umount2("./26/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] newfstatat(AT_FDCWD, "./26/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] umount2("./26/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] openat(AT_FDCWD, "./26/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5844] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5844] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5844] close(4) = 0 [pid 5844] rmdir("./26/file0") = 0 [pid 5844] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5844] close(3) = 0 [pid 5844] rmdir("./26") = 0 [pid 5844] mkdir("./27", 0777) = 0 [pid 5844] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5844] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5844] close(3) = 0 [pid 5844] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 7419 attached , child_tidptr=0x55558491f650) = 7419 [pid 7419] set_robust_list(0x55558491f660, 24) = 0 [pid 7419] chdir("./27") = 0 [pid 7419] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7419] setpgid(0, 0) = 0 [ 149.800274][ T5840] bcachefs (loop0): shutdown complete [pid 7419] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7419] write(3, "1000", 4) = 4 [pid 7419] close(3) = 0 [pid 7419] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 7419] write(1, "executing program\n", 18) = 18 [pid 7419] memfd_create("syzkaller", 0) = 3 [pid 7419] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 7377] <... close resumed>) = 0 [pid 7377] unlinkat(AT_FDCWD, "./file1", 0) = -1 ENOENT (No such file or directory) [pid 7377] exit_group(0) = ? [pid 7377] +++ exited with 0 +++ [pid 5842] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7377, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=42 /* 0.42 s */} --- [pid 5842] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5842] umount2("./35", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] openat(AT_FDCWD, "./35", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5842] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5842] umount2("./35/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] newfstatat(AT_FDCWD, "./35/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] unlink("./35/binderfs") = 0 [pid 5842] umount2("./35/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] newfstatat(AT_FDCWD, "./35/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] umount2("./35/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] openat(AT_FDCWD, "./35/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5842] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5842] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5842] close(4) = 0 [pid 5842] rmdir("./35/file0") = 0 [pid 5842] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5842] close(3) = 0 [pid 5842] rmdir("./35") = 0 [pid 5842] mkdir("./36", 0777) = 0 [pid 5842] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5842] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5842] close(3 [pid 7379] <... close resumed>) = 0 [pid 5842] <... close resumed>) = 0 [pid 7379] unlinkat(AT_FDCWD, "./file1", 0 [pid 5842] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 7379] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) ./strace-static-x86_64: Process 7420 attached [pid 7379] exit_group(0) = ? [pid 7379] +++ exited with 0 +++ [pid 5842] <... clone resumed>, child_tidptr=0x55558491f650) = 7420 [pid 5841] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7379, si_uid=0, si_status=0, si_utime=0, si_stime=43 /* 0.43 s */} --- [pid 5841] restart_syscall(<... resuming interrupted clone ...> [pid 7420] set_robust_list(0x55558491f660, 24 [pid 5841] <... restart_syscall resumed>) = 0 [pid 5841] umount2("./28", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5841] openat(AT_FDCWD, "./28", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5841] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 7420] <... set_robust_list resumed>) = 0 [pid 5841] getdents64(3, [pid 7420] chdir("./36" [pid 5841] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5841] umount2("./28/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7420] <... chdir resumed>) = 0 [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 7420] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5841] newfstatat(AT_FDCWD, "./28/binderfs", [pid 7420] <... prctl resumed>) = 0 [pid 5841] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 7420] setpgid(0, 0 [pid 5841] unlink("./28/binderfs" [pid 7420] <... setpgid resumed>) = 0 [pid 5841] <... unlink resumed>) = 0 [pid 7420] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5841] umount2("./28/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5841] newfstatat(AT_FDCWD, "./28/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] umount2("./28/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7420] <... openat resumed>) = 3 [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 7420] write(3, "1000", 4 [pid 5841] openat(AT_FDCWD, "./28/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 7420] <... write resumed>) = 4 [pid 7378] <... close resumed>) = 0 [pid 5841] <... openat resumed>) = 4 [pid 5841] newfstatat(4, "", [pid 7420] close(3 [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 7420] <... close resumed>) = 0 [pid 7420] symlink("/dev/binderfs", "./binderfs" [pid 5841] getdents64(4, [pid 7420] <... symlink resumed>) = 0 [pid 7378] unlinkat(AT_FDCWD, "./file1", 0 [pid 5841] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 executing program [pid 5841] getdents64(4, [pid 7420] write(1, "executing program\n", 18 [pid 5841] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 7420] <... write resumed>) = 18 [pid 5841] close(4 [pid 7420] memfd_create("syzkaller", 0 [pid 7418] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7378] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5841] <... close resumed>) = 0 [pid 7420] <... memfd_create resumed>) = 3 [pid 5841] rmdir("./28/file0" [pid 7378] exit_group(0 [pid 7420] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 7378] <... exit_group resumed>) = ? [pid 5841] <... rmdir resumed>) = 0 [pid 7420] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5841] getdents64(3, [pid 7378] +++ exited with 0 +++ [pid 5841] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5843] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7378, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=44 /* 0.44 s */} --- [pid 5843] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5843] umount2("./31", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5841] close(3 [pid 5843] openat(AT_FDCWD, "./31", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5841] <... close resumed>) = 0 [pid 5841] rmdir("./28" [pid 5843] <... openat resumed>) = 3 [pid 5843] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] <... rmdir resumed>) = 0 [pid 5843] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5843] umount2("./31/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5843] newfstatat(AT_FDCWD, "./31/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] unlink("./31/binderfs" [pid 5841] mkdir("./29", 0777 [pid 5843] <... unlink resumed>) = 0 [pid 5841] <... mkdir resumed>) = 0 [pid 5843] umount2("./31/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5841] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5843] newfstatat(AT_FDCWD, "./31/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] <... openat resumed>) = 3 [pid 5843] umount2("./31/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5841] ioctl(3, LOOP_CLR_FD [pid 5843] openat(AT_FDCWD, "./31/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5841] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5843] <... openat resumed>) = 4 [pid 5843] newfstatat(4, "", [pid 5841] close(3 [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] <... close resumed>) = 0 [pid 5843] getdents64(4, [pid 5841] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5843] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 ./strace-static-x86_64: Process 7421 attached [pid 5843] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 7421] set_robust_list(0x55558491f660, 24 [pid 5843] close(4) = 0 [pid 7421] <... set_robust_list resumed>) = 0 [pid 5843] rmdir("./31/file0" [pid 7421] chdir("./29" [pid 5843] <... rmdir resumed>) = 0 [pid 7421] <... chdir resumed>) = 0 [pid 5843] getdents64(3, [pid 5841] <... clone resumed>, child_tidptr=0x55558491f650) = 7421 [pid 7421] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5843] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 7421] <... prctl resumed>) = 0 [pid 5843] close(3) = 0 [pid 5843] rmdir("./31") = 0 [pid 5843] mkdir("./32", 0777 [pid 7421] setpgid(0, 0 [pid 5843] <... mkdir resumed>) = 0 [pid 7421] <... setpgid resumed>) = 0 [pid 5843] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 7421] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5843] <... openat resumed>) = 3 [pid 7421] <... openat resumed>) = 3 [pid 5843] ioctl(3, LOOP_CLR_FD [pid 7421] write(3, "1000", 4 [pid 5843] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 7421] <... write resumed>) = 4 [pid 5843] close(3 [pid 7421] close(3 [pid 5843] <... close resumed>) = 0 [pid 7421] <... close resumed>) = 0 [pid 5843] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 7422 attached [pid 7421] symlink("/dev/binderfs", "./binderfs" [pid 7422] set_robust_list(0x55558491f660, 24) = 0 [pid 7422] chdir("./32") = 0 [pid 7422] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7422] setpgid(0, 0) = 0 [pid 7422] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7421] <... symlink resumed>) = 0 [pid 5843] <... clone resumed>, child_tidptr=0x55558491f650) = 7422 executing program [pid 7422] write(3, "1000", 4) = 4 [pid 7421] write(1, "executing program\n", 18) = 18 [pid 7422] close(3) = 0 [pid 7422] symlink("/dev/binderfs", "./binderfs" [pid 7421] memfd_create("syzkaller", 0 [pid 7422] <... symlink resumed>) = 0 executing program [pid 7421] <... memfd_create resumed>) = 3 [pid 7422] write(1, "executing program\n", 18 [pid 7421] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 7422] <... write resumed>) = 18 [pid 7422] memfd_create("syzkaller", 0 [pid 7421] <... mmap resumed>) = 0x7f5e2dc00000 [pid 7422] <... memfd_create resumed>) = 3 [pid 7422] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 7419] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7421] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7420] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7422] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7418] <... write resumed>) = 16777216 [pid 7418] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 7418] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 7418] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7418] close(3) = 0 [pid 7418] close(4) = 0 [pid 7418] mkdir("./file0", 0777) = 0 [ 150.584465][ T7418] loop5: detected capacity change from 0 to 32768 [pid 7418] mount("/dev/loop5", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7421] <... write resumed>) = 16777216 [pid 7419] <... write resumed>) = 16777216 [pid 7419] munmap(0x7f5e2dc00000, 138412032 [pid 7421] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 7419] <... munmap resumed>) = 0 [pid 7421] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 7420] <... write resumed>) = 16777216 [pid 7421] <... openat resumed>) = 4 [pid 7420] munmap(0x7f5e2dc00000, 138412032 [pid 7419] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 7422] <... write resumed>) = 16777216 [pid 7421] ioctl(4, LOOP_SET_FD, 3 [pid 7422] munmap(0x7f5e2dc00000, 138412032 [pid 7419] <... openat resumed>) = 4 [pid 7419] ioctl(4, LOOP_SET_FD, 3 [pid 7422] <... munmap resumed>) = 0 [pid 7421] <... ioctl resumed>) = 0 [pid 7420] <... munmap resumed>) = 0 [pid 7419] <... ioctl resumed>) = 0 [pid 7421] close(3 [pid 7419] close(3 [pid 7422] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 7421] <... close resumed>) = 0 [pid 7420] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 7419] <... close resumed>) = 0 [pid 7422] <... openat resumed>) = 4 [pid 7421] close(4 [pid 7420] <... openat resumed>) = 4 [pid 7419] close(4 [pid 7422] ioctl(4, LOOP_SET_FD, 3 [pid 7421] <... close resumed>) = 0 [pid 7419] <... close resumed>) = 0 [pid 7421] mkdir("./file0", 0777 [pid 7419] mkdir("./file0", 0777 [pid 7421] <... mkdir resumed>) = 0 [pid 7419] <... mkdir resumed>) = 0 [pid 7421] mount("/dev/loop1", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7419] mount("/dev/loop4", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [ 150.808745][ T7421] loop1: detected capacity change from 0 to 32768 [ 150.816841][ T7419] loop4: detected capacity change from 0 to 32768 [ 150.847085][ T7422] loop3: detected capacity change from 0 to 32768 [pid 7420] ioctl(4, LOOP_SET_FD, 3 [pid 7422] <... ioctl resumed>) = 0 [pid 7422] close(3) = 0 [pid 7422] close(4) = 0 [pid 7422] mkdir("./file0", 0777) = 0 [pid 7422] mount("/dev/loop3", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7420] <... ioctl resumed>) = 0 [pid 7420] close(3) = 0 [pid 7420] close(4) = 0 [pid 7420] mkdir("./file0", 0777) = 0 [ 150.862360][ T7420] loop2: detected capacity change from 0 to 32768 [ 151.020310][ T7418] 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 [ 151.029985][ T7421] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 151.046293][ T7418] bcachefs (loop5): recovering from clean shutdown, journal seq 10 [ 151.061707][ T7418] bcachefs (loop5): Version upgrade required: [ 151.061707][ T7418] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 151.061707][ T7418] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 151.061707][ T7418] 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 [ 151.152198][ T7419] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 151.161589][ T7419] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 151.166710][ T7420] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 151.193560][ T7422] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 151.194499][ T7418] bcachefs (loop5): dropping and reconstructing all alloc info [ 151.202702][ T7421] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 151.221968][ T7420] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 151.235233][ T7422] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 151.267736][ T7418] bcachefs (loop5): check_topology... done [ 151.314541][ T7418] bcachefs (loop5): accounting_read... done [ 151.362934][ T7418] bcachefs (loop5): alloc_read... done [ 151.382948][ T7418] bcachefs (loop5): stripes_read... done [pid 7420] mount("/dev/loop2", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7419] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 7422] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 7421] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 7420] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 7421] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 7419] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 7422] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 7421] <... openat resumed>) = 3 [pid 7420] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 7419] <... openat resumed>) = 3 [pid 7422] <... openat resumed>) = 3 [pid 7421] ioctl(3, LOOP_CLR_FD [pid 7419] ioctl(3, LOOP_CLR_FD [pid 7422] ioctl(3, LOOP_CLR_FD [pid 7421] <... ioctl resumed>) = 0 [pid 7419] <... ioctl resumed>) = 0 [pid 7422] <... ioctl resumed>) = 0 [pid 7421] close(3 [pid 7422] close(3 [pid 7419] close(3 [pid 7420] <... openat resumed>) = 3 [ 151.388672][ T7418] bcachefs (loop5): snapshots_read... done [ 151.402344][ T7419] bcachefs: bch2_fs_get_tree() error: EINVAL [ 151.405762][ T7418] bcachefs (loop5): check_allocations... [ 151.410411][ T7421] bcachefs: bch2_fs_get_tree() error: EINVAL [ 151.410801][ T7420] bcachefs: bch2_fs_get_tree() error: EINVAL [ 151.417074][ T7422] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 7420] ioctl(3, LOOP_CLR_FD) = 0 [ 151.489694][ T7418] done [ 151.510683][ T7418] bcachefs (loop5): going read-write [pid 7420] close(3 [pid 7418] <... mount resumed>) = 0 [pid 7418] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [ 151.536630][ T7418] bcachefs (loop5): done starting filesystem [pid 7418] chdir("./file0") = 0 [pid 7418] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 7418] ioctl(4, LOOP_CLR_FD) = 0 [pid 7418] close(4) = 0 [pid 5840] <... umount2 resumed>) = 0 [pid 7418] unlinkat(AT_FDCWD, "./file1", 0 [pid 5840] umount2("./28/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./28/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] umount2("./28/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./28/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 7418] <... unlinkat resumed>) = 0 [pid 5840] <... openat resumed>) = 4 [pid 5840] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5840] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5840] close(4) = 0 [pid 5840] rmdir("./28/file0") = 0 [pid 5840] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5840] close(3) = 0 [pid 7418] exit_group(0 [pid 5840] rmdir("./28") = 0 [pid 7418] <... exit_group resumed>) = ? [pid 5840] mkdir("./29", 0777) = 0 [pid 5840] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5840] ioctl(3, LOOP_CLR_FD [pid 7418] +++ exited with 0 +++ [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7418, si_uid=0, si_status=0, si_utime=0, si_stime=43 /* 0.43 s */} --- [pid 5840] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5845] restart_syscall(<... resuming interrupted clone ...> [pid 5840] close(3 [pid 5845] <... restart_syscall resumed>) = 0 [pid 5840] <... close resumed>) = 0 [pid 5840] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5845] umount2("./28", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./28", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5840] <... clone resumed>, child_tidptr=0x55558491f650) = 7461 [pid 5845] <... openat resumed>) = 3 [pid 5845] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] getdents64(3, ./strace-static-x86_64: Process 7461 attached 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 7461] set_robust_list(0x55558491f660, 24 [pid 5845] umount2("./28/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7461] <... set_robust_list resumed>) = 0 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 7461] chdir("./29" [pid 5845] newfstatat(AT_FDCWD, "./28/binderfs", [pid 7461] <... chdir resumed>) = 0 [pid 5845] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 7461] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5845] unlink("./28/binderfs" [pid 7461] <... prctl resumed>) = 0 [pid 5845] <... unlink resumed>) = 0 [pid 7461] setpgid(0, 0 [pid 5845] umount2("./28/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7461] <... setpgid resumed>) = 0 [pid 7461] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7461] write(3, "1000", 4) = 4 [pid 7461] close(3) = 0 [pid 7461] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 7461] write(1, "executing program\n", 18) = 18 [pid 7461] memfd_create("syzkaller", 0) = 3 [pid 7461] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 7419] <... close resumed>) = 0 [ 151.748113][ T5845] bcachefs (loop5): shutting down [ 151.757664][ T5845] bcachefs (loop5): going read-only [ 151.783414][ T5845] bcachefs (loop5): finished waiting for writes to stop [pid 7419] unlinkat(AT_FDCWD, "./file1", 0 [pid 7420] <... close resumed>) = 0 [pid 7419] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 7419] exit_group(0 [pid 7422] <... close resumed>) = 0 [pid 7421] <... close resumed>) = 0 [pid 7420] unlinkat(AT_FDCWD, "./file1", 0 [pid 7419] <... exit_group resumed>) = ? [pid 7421] unlinkat(AT_FDCWD, "./file1", 0 [pid 7420] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 7419] +++ exited with 0 +++ [pid 7421] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 7420] exit_group(0 [pid 7421] exit_group(0 [pid 7420] <... exit_group resumed>) = ? [pid 7421] <... exit_group resumed>) = ? [pid 7421] +++ exited with 0 +++ [pid 7420] +++ exited with 0 +++ [pid 5844] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7419, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=43 /* 0.43 s */} --- [pid 5841] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7421, si_uid=0, si_status=0, si_utime=0, si_stime=49 /* 0.49 s */} --- [pid 5841] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5841] umount2("./29", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7420, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=43 /* 0.43 s */} --- [pid 5841] openat(AT_FDCWD, "./29", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5844] umount2("./27", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] umount2("./36", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] <... openat resumed>) = 3 [pid 5841] newfstatat(3, "", [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] openat(AT_FDCWD, "./27", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5841] getdents64(3, [pid 7422] unlinkat(AT_FDCWD, "./file1", 0 [pid 5844] <... openat resumed>) = 3 [pid 5842] openat(AT_FDCWD, "./36", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5841] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 7422] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5844] newfstatat(3, "", [pid 5842] <... openat resumed>) = 3 [pid 5841] umount2("./29/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7422] exit_group(0 [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] newfstatat(3, "", [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 7422] <... exit_group resumed>) = ? [pid 5841] newfstatat(AT_FDCWD, "./29/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] unlink("./29/binderfs" [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] getdents64(3, [pid 5842] getdents64(3, [pid 7422] +++ exited with 0 +++ [pid 5843] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7422, si_uid=0, si_status=0, si_utime=0, si_stime=40 /* 0.40 s */} --- [pid 5843] umount2("./32", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5843] openat(AT_FDCWD, "./32", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5843] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] getdents64(3, [pid 5844] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5843] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5841] <... unlink resumed>) = 0 [pid 5844] umount2("./27/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] umount2("./29/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] umount2("./36/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] newfstatat(AT_FDCWD, "./27/binderfs", [pid 5843] umount2("./32/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] newfstatat(AT_FDCWD, "./29/file0", [pid 5844] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] newfstatat(AT_FDCWD, "./36/binderfs", [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] unlink("./27/binderfs" [pid 5843] newfstatat(AT_FDCWD, "./32/binderfs", [pid 5841] umount2("./29/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] <... unlink resumed>) = 0 [pid 5843] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] umount2("./27/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] unlink("./32/binderfs" [pid 5842] unlink("./36/binderfs" [pid 5841] openat(AT_FDCWD, "./29/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] <... unlink resumed>) = 0 [pid 5842] <... unlink resumed>) = 0 [pid 5841] <... openat resumed>) = 4 [pid 5844] newfstatat(AT_FDCWD, "./27/file0", [pid 5843] umount2("./32/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] umount2("./36/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] newfstatat(4, "", [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] umount2("./27/file0", MNT_FORCE|UMOUNT_NOFOLLOW [ 151.849061][ T5845] bcachefs (loop5): flushing journal and stopping allocators, journal seq 12 [pid 5843] newfstatat(AT_FDCWD, "./32/file0", [pid 5842] newfstatat(AT_FDCWD, "./36/file0", [pid 5841] getdents64(4, [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5844] openat(AT_FDCWD, "./27/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5843] umount2("./32/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] umount2("./36/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] getdents64(4, [pid 5844] <... openat resumed>) = 4 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5844] newfstatat(4, "", [pid 5843] openat(AT_FDCWD, "./32/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5842] openat(AT_FDCWD, "./36/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5841] close(4 [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] <... openat resumed>) = 4 [pid 5842] <... openat resumed>) = 4 [pid 5841] <... close resumed>) = 0 [pid 5844] getdents64(4, [pid 5843] newfstatat(4, "", [pid 5842] newfstatat(4, "", [pid 5841] rmdir("./29/file0" [pid 5844] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] <... rmdir resumed>) = 0 [pid 5841] getdents64(3, [pid 5843] getdents64(4, [pid 5841] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5843] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5841] close(3) = 0 [pid 5841] rmdir("./29" [pid 5843] getdents64(4, [pid 5841] <... rmdir resumed>) = 0 [pid 5843] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5843] close(4 [pid 5844] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] mkdir("./30", 0777 [pid 5844] close(4 [pid 5842] getdents64(4, [pid 5844] <... close resumed>) = 0 [pid 5842] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5842] getdents64(4, [pid 5844] rmdir("./27/file0" [pid 5842] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5844] <... rmdir resumed>) = 0 [pid 5843] <... close resumed>) = 0 [pid 5842] close(4 [pid 5841] <... mkdir resumed>) = 0 [pid 5843] rmdir("./32/file0" [pid 5842] <... close resumed>) = 0 [pid 5843] <... rmdir resumed>) = 0 [pid 5842] rmdir("./36/file0" [pid 5841] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5841] ioctl(3, LOOP_CLR_FD [pid 5843] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5841] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5843] close(3 [pid 5841] close(3 [pid 5843] <... close resumed>) = 0 [pid 5841] <... close resumed>) = 0 [pid 5843] rmdir("./32" [pid 5842] <... rmdir resumed>) = 0 [pid 5841] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5844] getdents64(3, [pid 5842] getdents64(3, [pid 5844] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5844] close(3 [pid 5842] close(3./strace-static-x86_64: Process 7462 attached [pid 5844] <... close resumed>) = 0 [pid 5843] <... rmdir resumed>) = 0 [pid 5842] <... close resumed>) = 0 [pid 5844] rmdir("./27" [pid 5842] rmdir("./36" [pid 5841] <... clone resumed>, child_tidptr=0x55558491f650) = 7462 [pid 7462] set_robust_list(0x55558491f660, 24 [pid 5844] <... rmdir resumed>) = 0 [pid 7462] <... set_robust_list resumed>) = 0 [pid 7462] chdir("./30" [pid 5844] mkdir("./28", 0777 [pid 5842] <... rmdir resumed>) = 0 [pid 7462] <... chdir resumed>) = 0 [pid 7462] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7462] setpgid(0, 0 [pid 5844] <... mkdir resumed>) = 0 [pid 5842] mkdir("./37", 0777 [pid 7462] <... setpgid resumed>) = 0 [pid 7462] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5844] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5842] <... mkdir resumed>) = 0 [pid 7462] <... openat resumed>) = 3 [pid 5844] <... openat resumed>) = 3 [pid 5842] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5844] ioctl(3, LOOP_CLR_FD [pid 5842] ioctl(3, LOOP_CLR_FD [pid 5844] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5842] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5844] close(3 [pid 5842] close(3 [pid 5844] <... close resumed>) = 0 [pid 5842] <... close resumed>) = 0 [pid 5844] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5842] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 7462] write(3, "1000", 4) = 4 ./strace-static-x86_64: Process 7464 attached ./strace-static-x86_64: Process 7463 attached [pid 5842] <... clone resumed>, child_tidptr=0x55558491f650) = 7463 [pid 7462] close(3 [pid 5844] <... clone resumed>, child_tidptr=0x55558491f650) = 7464 [pid 5843] mkdir("./33", 0777 [pid 7462] <... close resumed>) = 0 [pid 5843] <... mkdir resumed>) = 0 [pid 7464] set_robust_list(0x55558491f660, 24 [pid 7463] set_robust_list(0x55558491f660, 24 [pid 7462] symlink("/dev/binderfs", "./binderfs" [pid 5843] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 7464] <... set_robust_list resumed>) = 0 [pid 7463] <... set_robust_list resumed>) = 0 [pid 7462] <... symlink resumed>) = 0 [pid 5843] <... openat resumed>) = 3 [pid 7464] chdir("./28" [pid 7463] chdir("./37" [pid 5843] ioctl(3, LOOP_CLR_FD [pid 7464] <... chdir resumed>) = 0 [pid 7463] <... chdir resumed>) = 0 executing program [pid 7462] write(1, "executing program\n", 18 [pid 5843] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 7463] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 7462] <... write resumed>) = 18 [pid 7464] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 7463] <... prctl resumed>) = 0 [pid 7462] memfd_create("syzkaller", 0 [pid 7464] <... prctl resumed>) = 0 [pid 7463] setpgid(0, 0 [pid 7462] <... memfd_create resumed>) = 3 [ 151.930161][ T5845] bcachefs (loop5): flushing journal and stopping allocators complete, journal seq 15 [ 151.960502][ T5845] bcachefs (loop5): unshutdown complete, journal seq 16 [pid 5843] close(3 [pid 7464] setpgid(0, 0 [pid 7463] <... setpgid resumed>) = 0 [pid 7462] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5843] <... close resumed>) = 0 [pid 7464] <... setpgid resumed>) = 0 [pid 7463] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 7462] <... mmap resumed>) = 0x7f5e2dc00000 [pid 7461] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLDexecuting program ./strace-static-x86_64: Process 7465 attached [pid 7464] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 7463] <... openat resumed>) = 3 [pid 7464] <... openat resumed>) = 3 [pid 7463] write(3, "1000", 4 [pid 5843] <... clone resumed>, child_tidptr=0x55558491f650) = 7465 [pid 7464] write(3, "1000", 4 [pid 7463] <... write resumed>) = 4 [pid 7464] <... write resumed>) = 4 [pid 7463] close(3 [pid 7464] close(3 [pid 7463] <... close resumed>) = 0 [pid 7465] set_robust_list(0x55558491f660, 24 [pid 7464] <... close resumed>) = 0 [pid 7463] symlink("/dev/binderfs", "./binderfs" [pid 7465] <... set_robust_list resumed>) = 0 [pid 7464] symlink("/dev/binderfs", "./binderfs" [pid 7463] <... symlink resumed>) = 0 [pid 7465] chdir("./33" [pid 7464] <... symlink resumed>) = 0 [pid 7463] write(1, "executing program\n", 18 [pid 7465] <... chdir resumed>) = 0 [pid 7463] <... write resumed>) = 18 [pid 7465] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 7464] write(1, "executing program\n", 18 [pid 7463] memfd_create("syzkaller", 0 [pid 7465] <... prctl resumed>) = 0 executing program [pid 7465] setpgid(0, 0 [pid 7464] <... write resumed>) = 18 [pid 7465] <... setpgid resumed>) = 0 [pid 7464] memfd_create("syzkaller", 0 [pid 7463] <... memfd_create resumed>) = 3 [pid 7465] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 7464] <... memfd_create resumed>) = 3 [pid 7463] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 7464] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 7463] <... mmap resumed>) = 0x7f5e2dc00000 [pid 7465] <... openat resumed>) = 3 [pid 7464] <... mmap resumed>) = 0x7f5e2dc00000 [pid 7465] write(3, "1000", 4) = 4 [pid 7465] close(3) = 0 [ 151.998596][ T5845] bcachefs (loop5): done going read-only, filesystem not clean [pid 7465] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 7465] write(1, "executing program\n", 18) = 18 [pid 7465] memfd_create("syzkaller", 0) = 3 [pid 7465] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [ 152.084331][ T5845] bcachefs (loop5): shutdown complete [pid 7464] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7463] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7462] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7465] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7461] <... write resumed>) = 16777216 [pid 7461] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 7461] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7461] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7461] close(3) = 0 [pid 7461] close(4) = 0 [ 152.491458][ T7461] loop0: detected capacity change from 0 to 32768 [pid 7461] mkdir("./file0", 0777) = 0 [pid 7461] mount("/dev/loop0", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7464] <... write resumed>) = 16777216 [pid 7464] munmap(0x7f5e2dc00000, 138412032 [pid 7463] <... write resumed>) = 16777216 [pid 7463] munmap(0x7f5e2dc00000, 138412032 [pid 7464] <... munmap resumed>) = 0 [pid 7464] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 7464] ioctl(4, LOOP_SET_FD, 3 [pid 7463] <... munmap resumed>) = 0 [pid 7465] <... write resumed>) = 16777216 [pid 7464] <... ioctl resumed>) = 0 [pid 7465] munmap(0x7f5e2dc00000, 138412032 [pid 7463] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 7464] close(3 [pid 7463] <... openat resumed>) = 4 [pid 7463] ioctl(4, LOOP_SET_FD, 3 [pid 7464] <... close resumed>) = 0 [pid 7463] <... ioctl resumed>) = 0 [pid 7464] close(4 [pid 7463] close(3 [pid 7464] <... close resumed>) = 0 [pid 7463] <... close resumed>) = 0 [pid 7463] close(4 [pid 7464] mkdir("./file0", 0777) = 0 [pid 7464] mount("/dev/loop4", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7463] <... close resumed>) = 0 [pid 7462] <... write resumed>) = 16777216 [pid 7465] <... munmap resumed>) = 0 [pid 7463] mkdir("./file0", 0777) = 0 [pid 7463] mount("/dev/loop2", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7465] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 7462] munmap(0x7f5e2dc00000, 138412032 [pid 7465] <... openat resumed>) = 4 [ 152.759174][ T7464] loop4: detected capacity change from 0 to 32768 [ 152.771588][ T7463] loop2: detected capacity change from 0 to 32768 [pid 7465] ioctl(4, LOOP_SET_FD, 3 [pid 7462] <... munmap resumed>) = 0 [pid 7465] <... ioctl resumed>) = 0 [pid 7462] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 7465] close(3 [pid 7462] <... openat resumed>) = 4 [pid 7465] <... close resumed>) = 0 [pid 7462] ioctl(4, LOOP_SET_FD, 3 [pid 7465] close(4) = 0 [pid 7465] mkdir("./file0", 0777) = 0 [pid 7465] mount("/dev/loop3", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7462] <... ioctl resumed>) = 0 [pid 7462] close(3) = 0 [pid 7462] close(4) = 0 [pid 7462] mkdir("./file0", 0777) = 0 [ 152.808610][ T7465] loop3: detected capacity change from 0 to 32768 [ 152.820536][ T7462] loop1: detected capacity change from 0 to 32768 [ 153.136816][ T7461] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 153.146127][ T7464] 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 [ 153.168750][ T7461] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 153.169965][ T7463] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 153.187550][ T7464] bcachefs (loop4): recovering from clean shutdown, journal seq 10 [ 153.196815][ T7464] bcachefs (loop4): Version upgrade required: [ 153.196815][ T7464] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 153.196815][ T7464] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 153.196815][ T7464] 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 [ 153.268218][ T7463] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 153.283548][ T7462] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 153.299186][ T7464] bcachefs (loop4): dropping and reconstructing all alloc info [ 153.302940][ T7462] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 153.322847][ T7465] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [pid 7462] mount("/dev/loop1", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7461] <... mount resumed>) = -1 EINVAL (Invalid argument) [ 153.342408][ T7465] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 153.349589][ T7464] bcachefs (loop4): check_topology... done [ 153.373749][ T7461] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 7461] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 7461] ioctl(3, LOOP_CLR_FD) = 0 [ 153.396836][ T7464] bcachefs (loop4): accounting_read... done [ 153.452748][ T7464] bcachefs (loop4): alloc_read... done [ 153.458927][ T7464] bcachefs (loop4): stripes_read... done [ 153.483009][ T7464] bcachefs (loop4): snapshots_read... done [pid 7461] close(3 [pid 7463] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 7463] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 7463] ioctl(3, LOOP_CLR_FD) = 0 [pid 7463] close(3 [pid 7465] <... mount resumed>) = -1 EINVAL (Invalid argument) [ 153.489213][ T7464] bcachefs (loop4): check_allocations... done [ 153.585833][ T7463] bcachefs: bch2_fs_get_tree() error: EINVAL [ 153.599270][ T7465] bcachefs: bch2_fs_get_tree() error: EINVAL [ 153.609746][ T7462] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 7462] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 7465] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 7462] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 7465] <... openat resumed>) = 3 [pid 7462] <... openat resumed>) = 3 [pid 7465] ioctl(3, LOOP_CLR_FD [pid 7462] ioctl(3, LOOP_CLR_FD [pid 7465] <... ioctl resumed>) = 0 [pid 7462] <... ioctl resumed>) = 0 [pid 7462] close(3 [ 153.639474][ T7464] bcachefs (loop4): going read-write [pid 7465] close(3 [pid 5845] <... umount2 resumed>) = 0 [pid 7464] <... mount resumed>) = 0 [pid 7464] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 7464] chdir("./file0") = 0 [pid 7464] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5845] umount2("./28/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7464] <... openat resumed>) = 4 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./28/file0", [pid 7464] ioctl(4, LOOP_CLR_FD) = 0 [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] umount2("./28/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./28/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5845] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 7464] close(4 [pid 5845] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [ 153.763192][ T7464] bcachefs (loop4): done starting filesystem [pid 7464] <... close resumed>) = 0 [pid 5845] close(4 [pid 7464] unlinkat(AT_FDCWD, "./file1", 0 [pid 5845] <... close resumed>) = 0 [pid 7464] <... unlinkat resumed>) = 0 [pid 5845] rmdir("./28/file0" [pid 7464] exit_group(0 [pid 5845] <... rmdir resumed>) = 0 [pid 7464] <... exit_group resumed>) = ? [pid 7464] +++ exited with 0 +++ [pid 5844] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7464, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=37 /* 0.37 s */} --- [pid 5845] getdents64(3, [pid 7461] <... close resumed>) = 0 [pid 5845] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5845] close(3) = 0 [pid 5845] rmdir("./28") = 0 [pid 5845] mkdir("./29", 0777) = 0 [pid 7461] unlinkat(AT_FDCWD, "./file1", 0) = -1 ENOENT (No such file or directory) [pid 5844] umount2("./28", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] openat(AT_FDCWD, "./28", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 7461] exit_group(0 [pid 5845] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5844] <... openat resumed>) = 3 [pid 7461] <... exit_group resumed>) = ? [pid 5845] <... openat resumed>) = 3 [pid 5844] newfstatat(3, "", [pid 7461] +++ exited with 0 +++ [pid 5845] ioctl(3, LOOP_CLR_FD [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5844] getdents64(3, [pid 5840] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7461, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=48 /* 0.48 s */} --- [pid 5845] close(3 [pid 5840] restart_syscall(<... resuming interrupted clone ...> [pid 5844] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5845] <... close resumed>) = 0 [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5844] umount2("./28/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 7504 attached ) = -1 EINVAL (Invalid argument) [pid 5844] newfstatat(AT_FDCWD, "./28/binderfs", [pid 7504] set_robust_list(0x55558491f660, 24 [pid 5845] <... clone resumed>, child_tidptr=0x55558491f650) = 7504 [pid 5844] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] <... restart_syscall resumed>) = 0 [pid 5844] unlink("./28/binderfs") = 0 [pid 5840] umount2("./29", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] umount2("./28/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./29", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 7504] <... set_robust_list resumed>) = 0 [pid 5840] <... openat resumed>) = 3 [pid 5840] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5840] umount2("./29/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./29/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] unlink("./29/binderfs") = 0 [pid 5840] umount2("./29/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 7504] chdir("./29" [pid 5840] newfstatat(AT_FDCWD, "./29/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 7504] <... chdir resumed>) = 0 [pid 5840] umount2("./29/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7504] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 7504] <... prctl resumed>) = 0 [pid 5840] openat(AT_FDCWD, "./29/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 7504] setpgid(0, 0 [pid 5840] <... openat resumed>) = 4 [pid 7504] <... setpgid resumed>) = 0 [pid 5840] newfstatat(4, "", [pid 7504] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5840] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5840] close(4) = 0 [pid 5840] rmdir("./29/file0") = 0 [pid 5840] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5840] close(3) = 0 [pid 5840] rmdir("./29") = 0 [pid 7504] <... openat resumed>) = 3 [pid 5840] mkdir("./30", 0777 [pid 7504] write(3, "1000", 4 [pid 5840] <... mkdir resumed>) = 0 [pid 7504] <... write resumed>) = 4 [pid 5840] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 7504] close(3 [pid 5840] <... openat resumed>) = 3 [pid 7504] <... close resumed>) = 0 [pid 5840] ioctl(3, LOOP_CLR_FD [pid 7504] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 5840] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5840] close(3 [pid 7504] write(1, "executing program\n", 18 [pid 5840] <... close resumed>) = 0 [pid 7504] <... write resumed>) = 18 [pid 5840] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 7505 attached [pid 7504] memfd_create("syzkaller", 0) = 3 [pid 5840] <... clone resumed>, child_tidptr=0x55558491f650) = 7505 [pid 7504] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 7505] set_robust_list(0x55558491f660, 24) = 0 [pid 7505] chdir("./30") = 0 [pid 7505] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7505] setpgid(0, 0) = 0 [pid 7505] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 executing program [pid 7505] write(3, "1000", 4) = 4 [pid 7505] close(3) = 0 [pid 7505] symlink("/dev/binderfs", "./binderfs") = 0 [pid 7505] write(1, "executing program\n", 18) = 18 [pid 7505] memfd_create("syzkaller", 0) = 3 [pid 7505] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [ 153.900506][ T5844] bcachefs (loop4): shutting down [ 153.911466][ T5844] bcachefs (loop4): going read-only [ 153.933096][ T5844] bcachefs (loop4): finished waiting for writes to stop [pid 7463] <... close resumed>) = 0 [pid 7462] <... close resumed>) = 0 [pid 7463] unlinkat(AT_FDCWD, "./file1", 0 [pid 7462] unlinkat(AT_FDCWD, "./file1", 0 [pid 7463] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 7462] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 7463] exit_group(0) = ? [pid 7462] exit_group(0) = ? [pid 7465] <... close resumed>) = 0 [pid 7463] +++ exited with 0 +++ [pid 7462] +++ exited with 0 +++ [pid 5841] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7462, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=45 /* 0.45 s */} --- [pid 5841] restart_syscall(<... resuming interrupted clone ...> [pid 7465] unlinkat(AT_FDCWD, "./file1", 0 [ 153.979224][ T5844] bcachefs (loop4): flushing journal and stopping allocators, journal seq 12 [pid 5842] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7463, si_uid=0, si_status=0, si_utime=0, si_stime=44 /* 0.44 s */} --- [pid 5841] <... restart_syscall resumed>) = 0 [pid 7465] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5842] umount2("./37", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7465] exit_group(0) = ? [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 7465] +++ exited with 0 +++ [pid 5842] openat(AT_FDCWD, "./37", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5841] umount2("./30", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7465, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=45 /* 0.45 s */} --- [pid 5843] restart_syscall(<... resuming interrupted clone ...> [pid 5842] <... openat resumed>) = 3 [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] <... restart_syscall resumed>) = 0 [pid 5842] newfstatat(3, "", [pid 5841] openat(AT_FDCWD, "./30", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] <... openat resumed>) = 3 [pid 5842] getdents64(3, [pid 5841] newfstatat(3, "", [pid 5843] umount2("./33", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] umount2("./37/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] getdents64(3, [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] newfstatat(AT_FDCWD, "./37/binderfs", [pid 5841] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5843] openat(AT_FDCWD, "./33", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5841] umount2("./30/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] <... openat resumed>) = 3 [pid 5843] newfstatat(3, "", [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] newfstatat(AT_FDCWD, "./30/binderfs", [pid 5842] unlink("./37/binderfs" [pid 5843] getdents64(3, [pid 5841] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5842] <... unlink resumed>) = 0 [pid 5841] unlink("./30/binderfs" [pid 5842] umount2("./37/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] umount2("./33/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] <... unlink resumed>) = 0 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] umount2("./30/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] newfstatat(AT_FDCWD, "./37/file0", [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] newfstatat(AT_FDCWD, "./30/file0", [pid 5842] umount2("./37/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] umount2("./30/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] openat(AT_FDCWD, "./37/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] newfstatat(AT_FDCWD, "./33/binderfs", [pid 5842] <... openat resumed>) = 4 [pid 5841] openat(AT_FDCWD, "./30/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5843] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] <... openat resumed>) = 4 [pid 5843] unlink("./33/binderfs" [pid 5841] newfstatat(4, "", [pid 5843] <... unlink resumed>) = 0 [pid 5842] newfstatat(4, "", [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] getdents64(4, [pid 5843] umount2("./33/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5841] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5843] newfstatat(AT_FDCWD, "./33/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] getdents64(4, [pid 5843] umount2("./33/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5841] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5843] openat(AT_FDCWD, "./33/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5841] close(4 [pid 5843] <... openat resumed>) = 4 [pid 5843] newfstatat(4, "", [pid 5842] getdents64(4, [pid 5841] <... close resumed>) = 0 [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5841] rmdir("./30/file0" [pid 5842] getdents64(4, [pid 5843] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5842] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5841] <... rmdir resumed>) = 0 [pid 5842] close(4 [pid 5841] getdents64(3, [pid 5842] <... close resumed>) = 0 [pid 5843] getdents64(4, [pid 5842] rmdir("./37/file0" [pid 5841] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5843] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5843] close(4) = 0 [pid 5842] <... rmdir resumed>) = 0 [pid 5841] close(3 [pid 5842] getdents64(3, [pid 5843] rmdir("./33/file0" [pid 5841] <... close resumed>) = 0 [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5841] rmdir("./30" [pid 5842] close(3 [pid 5843] <... rmdir resumed>) = 0 [pid 5842] <... close resumed>) = 0 [pid 5841] <... rmdir resumed>) = 0 [pid 5842] rmdir("./37" [pid 5841] mkdir("./31", 0777 [pid 5843] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5842] <... rmdir resumed>) = 0 [pid 5843] close(3) = 0 [pid 5843] rmdir("./33") = 0 [pid 5842] mkdir("./38", 0777 [pid 5841] <... mkdir resumed>) = 0 [pid 5843] mkdir("./34", 0777) = 0 [pid 5842] <... mkdir resumed>) = 0 [pid 5841] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5842] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5841] <... openat resumed>) = 3 [pid 5843] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5842] <... openat resumed>) = 3 [pid 5841] ioctl(3, LOOP_CLR_FD [pid 5843] <... openat resumed>) = 3 [pid 5841] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5842] ioctl(3, LOOP_CLR_FD [pid 5843] ioctl(3, LOOP_CLR_FD [pid 5841] close(3 [pid 7505] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5842] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5841] <... close resumed>) = 0 [pid 5843] close(3) = 0 [pid 5842] close(3 [pid 5841] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 7506 attached [pid 5843] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5842] <... close resumed>) = 0 [ 154.084063][ T2890] bcachefs (loop4): bch2_write_super(): fatal error loop4: Superblock write was silently dropped! (seq 0 expected 54) ./strace-static-x86_64: Process 7507 attached [pid 5842] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5841] <... clone resumed>, child_tidptr=0x55558491f650) = 7506 [pid 5843] <... clone resumed>, child_tidptr=0x55558491f650) = 7507 [pid 5842] <... clone resumed>, child_tidptr=0x55558491f650) = 7508 [pid 7507] set_robust_list(0x55558491f660, 24 [pid 7506] set_robust_list(0x55558491f660, 24./strace-static-x86_64: Process 7508 attached [pid 7507] <... set_robust_list resumed>) = 0 [pid 7506] <... set_robust_list resumed>) = 0 [pid 7507] chdir("./34" [pid 7506] chdir("./31" [pid 7507] <... chdir resumed>) = 0 [pid 7506] <... chdir resumed>) = 0 [pid 7508] set_robust_list(0x55558491f660, 24 [pid 7507] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 7506] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 7508] <... set_robust_list resumed>) = 0 [pid 7508] chdir("./38") = 0 [pid 7506] <... prctl resumed>) = 0 [pid 7508] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 7507] <... prctl resumed>) = 0 [pid 7506] setpgid(0, 0 [pid 7508] <... prctl resumed>) = 0 [pid 7507] setpgid(0, 0 [pid 7506] <... setpgid resumed>) = 0 [pid 7508] setpgid(0, 0 [pid 7507] <... setpgid resumed>) = 0 [pid 7506] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 7508] <... setpgid resumed>) = 0 [pid 7507] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 7506] <... openat resumed>) = 3 [pid 7508] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 7507] <... openat resumed>) = 3 [pid 7506] write(3, "1000", 4 [pid 7507] write(3, "1000", 4 [pid 7506] <... write resumed>) = 4 [pid 7508] <... openat resumed>) = 3 [pid 7507] <... write resumed>) = 4 [pid 7506] close(3 [pid 7508] write(3, "1000", 4) = 4 [pid 7507] close(3 [pid 7506] <... close resumed>) = 0 executing program executing program executing program [pid 7507] <... close resumed>) = 0 [pid 7506] symlink("/dev/binderfs", "./binderfs" [pid 7507] symlink("/dev/binderfs", "./binderfs" [pid 7506] <... symlink resumed>) = 0 [pid 7507] <... symlink resumed>) = 0 [pid 7506] write(1, "executing program\n", 18 [pid 7508] close(3 [pid 7506] <... write resumed>) = 18 [pid 7508] <... close resumed>) = 0 [pid 7507] write(1, "executing program\n", 18 [pid 7508] symlink("/dev/binderfs", "./binderfs" [pid 7506] memfd_create("syzkaller", 0 [pid 7508] <... symlink resumed>) = 0 [pid 7507] <... write resumed>) = 18 [pid 7508] write(1, "executing program\n", 18 [pid 7507] memfd_create("syzkaller", 0 [pid 7506] <... memfd_create resumed>) = 3 [pid 7508] <... write resumed>) = 18 [pid 7507] <... memfd_create resumed>) = 3 [pid 7506] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 7508] memfd_create("syzkaller", 0 [pid 7506] <... mmap resumed>) = 0x7f5e2dc00000 [ 154.133754][ T2890] bcachefs (loop4): fatal error - emergency read only [ 154.149392][ T5844] bcachefs (loop4): flushing journal and stopping allocators complete, journal seq 15 [ 154.169834][ T5844] bcachefs (loop4): unshutdown complete, journal seq 15 [pid 7508] <... memfd_create resumed>) = 3 [pid 7507] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 7508] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 7507] <... mmap resumed>) = 0x7f5e2dc00000 [ 154.188763][ T5844] bcachefs (loop4): done going read-only, filesystem not clean [ 154.273981][ T5844] bcachefs (loop4): shutdown complete [pid 7504] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7508] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7506] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7507] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7505] <... write resumed>) = 16777216 [pid 7505] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 7505] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7505] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7505] close(3) = 0 [pid 7505] close(4) = 0 [pid 7505] mkdir("./file0", 0777) = 0 [ 154.647594][ T7505] loop0: detected capacity change from 0 to 32768 [pid 7505] mount("/dev/loop0", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7504] <... write resumed>) = 16777216 [pid 7504] munmap(0x7f5e2dc00000, 138412032 [pid 7506] <... write resumed>) = 16777216 [pid 7506] munmap(0x7f5e2dc00000, 138412032 [pid 7504] <... munmap resumed>) = 0 [pid 7504] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 7504] ioctl(4, LOOP_SET_FD, 3 [pid 7506] <... munmap resumed>) = 0 [pid 7506] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 7504] <... ioctl resumed>) = 0 [pid 7504] close(3 [pid 7506] ioctl(4, LOOP_SET_FD, 3 [pid 7504] <... close resumed>) = 0 [pid 7504] close(4) = 0 [pid 7507] <... write resumed>) = 16777216 [pid 7504] mkdir("./file0", 0777 [pid 7507] munmap(0x7f5e2dc00000, 138412032 [pid 7504] <... mkdir resumed>) = 0 [pid 7504] mount("/dev/loop5", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7506] <... ioctl resumed>) = 0 [pid 7506] close(3) = 0 [pid 7506] close(4) = 0 [pid 7506] mkdir("./file0", 0777) = 0 [ 154.847469][ T7504] loop5: detected capacity change from 0 to 32768 [ 154.870411][ T7506] loop1: detected capacity change from 0 to 32768 [pid 7506] mount("/dev/loop1", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7507] <... munmap resumed>) = 0 [pid 7508] <... write resumed>) = 16777216 [pid 7507] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 7507] ioctl(4, LOOP_SET_FD, 3 [pid 7508] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 7507] <... ioctl resumed>) = 0 [pid 7507] close(3) = 0 [pid 7507] close(4) = 0 [pid 7507] mkdir("./file0", 0777 [pid 7508] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 7507] <... mkdir resumed>) = 0 [pid 7507] mount("/dev/loop3", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7508] <... openat resumed>) = 4 [pid 7508] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7508] close(3) = 0 [pid 7508] close(4) = 0 [pid 7508] mkdir("./file0", 0777) = 0 [ 154.926877][ T7507] loop3: detected capacity change from 0 to 32768 [ 154.956661][ T7508] loop2: detected capacity change from 0 to 32768 [ 155.119530][ T7505] 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 [ 155.141927][ T7505] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 155.150257][ T7505] bcachefs (loop0): Version upgrade required: [ 155.150257][ T7505] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 155.150257][ T7505] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 155.150257][ T7505] 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 [ 155.232935][ T7505] bcachefs (loop0): dropping and reconstructing all alloc info [ 155.242725][ T7508] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 155.271074][ T7506] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 155.280869][ T7508] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 155.293682][ T7506] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 155.306550][ T7507] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 155.316877][ T7507] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 155.328398][ T7504] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 155.336476][ T7505] bcachefs (loop0): check_topology... done [ 155.345033][ T7505] bcachefs (loop0): accounting_read... done [ 155.371148][ T7505] bcachefs (loop0): alloc_read... done [ 155.375939][ T7504] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 155.384862][ T7505] bcachefs (loop0): stripes_read... done [ 155.392207][ T7505] bcachefs (loop0): snapshots_read... done [pid 7508] mount("/dev/loop2", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7506] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 7506] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 7506] ioctl(3, LOOP_CLR_FD) = 0 [ 155.411778][ T7505] bcachefs (loop0): check_allocations... done [ 155.513968][ T7506] bcachefs: bch2_fs_get_tree() error: EINVAL [ 155.527222][ T7505] bcachefs (loop0): going read-write [pid 7506] close(3 [pid 7508] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 7508] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 7508] ioctl(3, LOOP_CLR_FD) = 0 [ 155.548699][ T7508] bcachefs: bch2_fs_get_tree() error: EINVAL [ 155.564320][ T7507] bcachefs: bch2_fs_get_tree() error: EINVAL [ 155.587078][ T7505] bcachefs (loop0): done starting filesystem [pid 7508] close(3 [pid 7505] <... mount resumed>) = 0 [pid 7507] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 7507] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 7507] ioctl(3, LOOP_CLR_FD) = 0 [pid 7507] close(3 [pid 7505] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 7504] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 7505] <... openat resumed>) = 3 [pid 7505] chdir("./file0") = 0 [pid 7505] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7505] ioctl(4, LOOP_CLR_FD) = 0 [pid 7505] close(4) = 0 [pid 7505] unlinkat(AT_FDCWD, "./file1", 0 [pid 7504] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5844] <... umount2 resumed>) = 0 [ 155.599055][ T7504] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 7505] <... unlinkat resumed>) = 0 [pid 7505] exit_group(0) = ? [pid 7504] <... openat resumed>) = 3 [pid 5844] umount2("./28/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7504] ioctl(3, LOOP_CLR_FD [pid 7505] +++ exited with 0 +++ [pid 7504] <... ioctl resumed>) = 0 [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 7504] close(3 [pid 5844] newfstatat(AT_FDCWD, "./28/file0", [pid 5840] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7505, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=36 /* 0.36 s */} --- [pid 5840] restart_syscall(<... resuming interrupted clone ...> [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] umount2("./28/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] <... restart_syscall resumed>) = 0 [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] openat(AT_FDCWD, "./28/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5844] newfstatat(4, "", [pid 5840] umount2("./30", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] openat(AT_FDCWD, "./30", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5844] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5840] <... openat resumed>) = 3 [pid 5844] getdents64(4, [pid 5840] newfstatat(3, "", [pid 5844] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5844] close(4 [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] <... close resumed>) = 0 [pid 5840] getdents64(3, [pid 5844] rmdir("./28/file0") = 0 [pid 5840] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5844] getdents64(3, [pid 5840] umount2("./30/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./30/binderfs", [pid 5844] close(3) = 0 [pid 5840] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] rmdir("./28" [pid 5840] unlink("./30/binderfs" [pid 5844] <... rmdir resumed>) = 0 [pid 5840] <... unlink resumed>) = 0 [pid 5844] mkdir("./29", 0777 [pid 5840] umount2("./30/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] <... mkdir resumed>) = 0 [pid 5844] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5844] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5844] close(3) = 0 [pid 5844] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 7547 attached , child_tidptr=0x55558491f650) = 7547 [pid 7547] set_robust_list(0x55558491f660, 24) = 0 [pid 7547] chdir("./29") = 0 [pid 7547] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7547] setpgid(0, 0) = 0 [pid 7547] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7547] write(3, "1000", 4) = 4 [pid 7547] close(3) = 0 [pid 7547] symlink("/dev/binderfs", "./binderfs") = 0 [pid 7547] write(1, "executing program\n", 18executing program ) = 18 [pid 7547] memfd_create("syzkaller", 0) = 3 [pid 7547] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 7508] <... close resumed>) = 0 [pid 7508] unlinkat(AT_FDCWD, "./file1", 0) = -1 ENOENT (No such file or directory) [ 155.804456][ T5840] bcachefs (loop0): shutting down [ 155.809577][ T5840] bcachefs (loop0): going read-only [ 155.832851][ T5840] bcachefs (loop0): finished waiting for writes to stop [pid 7508] exit_group(0) = ? [pid 7508] +++ exited with 0 +++ [pid 5842] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7508, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=45 /* 0.45 s */} --- [pid 5842] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5842] umount2("./38", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] openat(AT_FDCWD, "./38", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5842] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5842] umount2("./38/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] newfstatat(AT_FDCWD, "./38/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] unlink("./38/binderfs") = 0 [pid 5842] umount2("./38/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] newfstatat(AT_FDCWD, "./38/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 7507] <... close resumed>) = 0 [pid 5842] umount2("./38/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7507] unlinkat(AT_FDCWD, "./file1", 0 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] openat(AT_FDCWD, "./38/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 7507] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5842] <... openat resumed>) = 4 [pid 5842] newfstatat(4, "", [pid 7507] exit_group(0 [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [ 155.898532][ T5840] bcachefs (loop0): flushing journal and stopping allocators, journal seq 12 [pid 5842] getdents64(4, [pid 7507] <... exit_group resumed>) = ? [pid 5842] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5842] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5842] close(4) = 0 [pid 5842] rmdir("./38/file0" [pid 7506] <... close resumed>) = 0 [pid 5842] <... rmdir resumed>) = 0 [pid 7507] +++ exited with 0 +++ [pid 7506] unlinkat(AT_FDCWD, "./file1", 0 [pid 5842] getdents64(3, [pid 7506] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 7506] exit_group(0) = ? [pid 7506] +++ exited with 0 +++ [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5842] close(3 [pid 5841] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7506, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=40 /* 0.40 s */} --- [pid 5842] <... close resumed>) = 0 [pid 5841] restart_syscall(<... resuming interrupted clone ...> [pid 5842] rmdir("./38") = 0 [pid 5842] mkdir("./39", 0777) = 0 [pid 5842] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5842] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5842] close(3) = 0 [pid 5842] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5841] <... restart_syscall resumed>) = 0 [pid 5843] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7507, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=42 /* 0.42 s */} --- [pid 5841] umount2("./31", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5841] openat(AT_FDCWD, "./31", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5841] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5841] umount2("./31/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5841] newfstatat(AT_FDCWD, "./31/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] unlink("./31/binderfs") = 0 [pid 5841] umount2("./31/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5841] newfstatat(AT_FDCWD, "./31/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] umount2("./31/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5841] openat(AT_FDCWD, "./31/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5841] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5841] getdents64(4, ./strace-static-x86_64: Process 7548 attached 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5841] close(4) = 0 [pid 5841] rmdir("./31/file0") = 0 [pid 5843] umount2("./34", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] getdents64(3, [pid 7548] set_robust_list(0x55558491f660, 24 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 7548] <... set_robust_list resumed>) = 0 [pid 5843] openat(AT_FDCWD, "./34", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5842] <... clone resumed>, child_tidptr=0x55558491f650) = 7548 [pid 5841] close(3 [pid 7548] chdir("./39" [pid 5843] <... openat resumed>) = 3 [pid 5841] <... close resumed>) = 0 [pid 7548] <... chdir resumed>) = 0 [pid 5843] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] rmdir("./31" [pid 5843] getdents64(3, [pid 5841] <... rmdir resumed>) = 0 [pid 5843] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5841] mkdir("./32", 0777 [pid 7548] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5843] umount2("./34/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7548] <... prctl resumed>) = 0 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] <... mkdir resumed>) = 0 [pid 7548] setpgid(0, 0 [pid 5843] newfstatat(AT_FDCWD, "./34/binderfs", [pid 7548] <... setpgid resumed>) = 0 [pid 5843] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 7548] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5843] unlink("./34/binderfs" [pid 7548] <... openat resumed>) = 3 [ 155.982091][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 54) [ 156.017280][ T11] bcachefs (loop0): fatal error - emergency read only [pid 5843] <... unlink resumed>) = 0 [pid 5841] <... openat resumed>) = 3 [pid 7548] write(3, "1000", 4 [pid 5843] umount2("./34/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7548] <... write resumed>) = 4 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] ioctl(3, LOOP_CLR_FD [pid 7548] close(3 [pid 5843] newfstatat(AT_FDCWD, "./34/file0", [pid 7548] <... close resumed>) = 0 [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 7548] symlink("/dev/binderfs", "./binderfs" [pid 5843] umount2("./34/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7548] <... symlink resumed>) = 0 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] close(3executing program [pid 5843] openat(AT_FDCWD, "./34/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5841] <... close resumed>) = 0 [pid 7548] write(1, "executing program\n", 18 [pid 7504] <... close resumed>) = 0 [pid 5843] <... openat resumed>) = 4 [pid 7548] <... write resumed>) = 18 [pid 5843] newfstatat(4, "", [pid 5841] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] getdents64(4, [pid 7548] memfd_create("syzkaller", 0 [pid 5843] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5841] <... clone resumed>, child_tidptr=0x55558491f650) = 7549 [pid 5843] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5843] close(4 [pid 7548] <... memfd_create resumed>) = 3 [pid 5843] <... close resumed>) = 0 [pid 7548] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5843] rmdir("./34/file0" [pid 7548] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5843] <... rmdir resumed>) = 0 [pid 5843] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5843] close(3) = 0 [pid 5843] rmdir("./34"./strace-static-x86_64: Process 7549 attached ) = 0 [pid 7549] set_robust_list(0x55558491f660, 24 [pid 5843] mkdir("./35", 0777 [pid 7549] <... set_robust_list resumed>) = 0 [pid 7549] chdir("./32" [pid 5843] <... mkdir resumed>) = 0 [pid 7549] <... chdir resumed>) = 0 [pid 5843] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 7549] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5843] <... openat resumed>) = 3 [pid 7549] <... prctl resumed>) = 0 [pid 7549] setpgid(0, 0 [pid 5843] ioctl(3, LOOP_CLR_FD [pid 7549] <... setpgid resumed>) = 0 [pid 7549] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5843] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5843] close(3 [pid 7549] <... openat resumed>) = 3 [pid 7549] write(3, "1000", 4 [pid 5843] <... close resumed>) = 0 [pid 7549] <... write resumed>) = 4 [pid 7549] close(3 [pid 5843] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 7550 attached [pid 7549] <... close resumed>) = 0 [pid 7549] symlink("/dev/binderfs", "./binderfs" [pid 5843] <... clone resumed>, child_tidptr=0x55558491f650) = 7550 [pid 7550] set_robust_list(0x55558491f660, 24 [pid 7549] <... symlink resumed>) = 0 [pid 7504] unlinkat(AT_FDCWD, "./file1", 0) = -1 ENOENT (No such file or directory) [pid 7550] <... set_robust_list resumed>) = 0 [pid 7549] write(1, "executing program\n", 18 [pid 7504] exit_group(0executing program [pid 7550] chdir("./35" [pid 7549] <... write resumed>) = 18 [ 156.025327][ T5840] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 156.035780][ T5840] bcachefs (loop0): unshutdown complete, journal seq 14 [ 156.056975][ T5840] bcachefs (loop0): done going read-only, filesystem not clean [pid 7550] <... chdir resumed>) = 0 [pid 7549] memfd_create("syzkaller", 0 [pid 7504] <... exit_group resumed>) = ? [pid 7550] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 7549] <... memfd_create resumed>) = 3 [pid 7550] <... prctl resumed>) = 0 [pid 7549] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 7550] setpgid(0, 0 [pid 7549] <... mmap resumed>) = 0x7f5e2dc00000 [pid 7550] <... setpgid resumed>) = 0 [pid 7550] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 7504] +++ exited with 0 +++ [pid 7550] <... openat resumed>) = 3 [pid 7550] write(3, "1000", 4) = 4 [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7504, si_uid=0, si_status=0, si_utime=8 /* 0.08 s */, si_stime=42 /* 0.42 s */} --- [pid 7550] close(3) = 0 [pid 5845] restart_syscall(<... resuming interrupted clone ...> [pid 7550] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5845] <... restart_syscall resumed>) = 0 [pid 5845] umount2("./29", MNT_FORCE|UMOUNT_NOFOLLOWexecuting program [pid 7550] write(1, "executing program\n", 18 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 7550] <... write resumed>) = 18 [pid 5845] openat(AT_FDCWD, "./29", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 7550] memfd_create("syzkaller", 0 [pid 5845] <... openat resumed>) = 3 [pid 7550] <... memfd_create resumed>) = 3 [pid 5845] newfstatat(3, "", [pid 7550] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 7550] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5845] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5845] umount2("./29/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./29/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] unlink("./29/binderfs") = 0 [pid 5845] umount2("./29/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] newfstatat(AT_FDCWD, "./29/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] umount2("./29/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 156.096406][ T5840] bcachefs (loop0): shutdown complete [pid 5845] openat(AT_FDCWD, "./29/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5845] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5845] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5845] close(4) = 0 [pid 5845] rmdir("./29/file0") = 0 [pid 5845] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5845] close(3) = 0 [pid 5845] rmdir("./29") = 0 [pid 5845] mkdir("./30", 0777) = 0 [pid 5845] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5845] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5845] close(3) = 0 [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55558491f650) = 7551 [pid 7547] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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./strace-static-x86_64: Process 7551 attached [pid 7551] set_robust_list(0x55558491f660, 24) = 0 [pid 7551] chdir("./30") = 0 [pid 7551] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7551] setpgid(0, 0) = 0 [pid 7551] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7551] write(3, "1000", 4) = 4 [pid 7551] close(3) = 0 executing program [pid 7551] symlink("/dev/binderfs", "./binderfs") = 0 [pid 7551] write(1, "executing program\n", 18) = 18 [pid 7551] memfd_create("syzkaller", 0) = 3 [pid 7551] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 7548] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7549] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7550] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7551] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7547] <... write resumed>) = 16777216 [pid 7547] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 7547] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 7547] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7547] close(3) = 0 [pid 7547] close(4) = 0 [pid 7547] mkdir("./file0", 0777) = 0 [ 156.687636][ T7547] loop4: detected capacity change from 0 to 32768 [pid 7547] mount("/dev/loop4", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7548] <... write resumed>) = 16777216 [pid 7548] munmap(0x7f5e2dc00000, 138412032 [pid 7549] <... write resumed>) = 16777216 [pid 7550] <... write resumed>) = 16777216 [pid 7548] <... munmap resumed>) = 0 [pid 7550] munmap(0x7f5e2dc00000, 138412032 [pid 7549] munmap(0x7f5e2dc00000, 138412032 [pid 7548] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 7548] ioctl(4, LOOP_SET_FD, 3 [pid 7550] <... munmap resumed>) = 0 [pid 7549] <... munmap resumed>) = 0 [pid 7548] <... ioctl resumed>) = 0 [pid 7550] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 7549] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 7548] close(3 [pid 7550] ioctl(4, LOOP_SET_FD, 3 [pid 7549] <... openat resumed>) = 4 [pid 7548] <... close resumed>) = 0 [pid 7548] close(4) = 0 [pid 7548] mkdir("./file0", 0777) = 0 [pid 7548] mount("/dev/loop2", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7551] <... write resumed>) = 16777216 [pid 7550] <... ioctl resumed>) = 0 [pid 7549] ioctl(4, LOOP_SET_FD, 3 [pid 7550] close(3) = 0 [pid 7550] close(4) = 0 [pid 7550] mkdir("./file0", 0777 [pid 7551] munmap(0x7f5e2dc00000, 138412032 [pid 7550] <... mkdir resumed>) = 0 [pid 7549] <... ioctl resumed>) = 0 [pid 7549] close(3) = 0 [pid 7550] mount("/dev/loop3", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7549] close(4) = 0 [pid 7549] mkdir("./file0", 0777 [pid 7551] <... munmap resumed>) = 0 [pid 7551] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [ 156.854760][ T7548] loop2: detected capacity change from 0 to 32768 [ 156.868966][ T7550] loop3: detected capacity change from 0 to 32768 [ 156.886310][ T7549] loop1: detected capacity change from 0 to 32768 [pid 7551] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7549] <... mkdir resumed>) = 0 [pid 7551] close(3 [pid 7549] mount("/dev/loop1", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7551] <... close resumed>) = 0 [pid 7551] close(4) = 0 [pid 7551] mkdir("./file0", 0777) = 0 [ 156.923889][ T7551] loop5: detected capacity change from 0 to 32768 [ 157.099431][ T7550] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 157.099693][ T7548] 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 [ 157.108707][ T7550] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 157.132504][ T7547] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 157.141086][ T7548] bcachefs (loop2): recovering from clean shutdown, journal seq 10 [ 157.155979][ T7547] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 157.164408][ T7548] bcachefs (loop2): Version upgrade required: [ 157.164408][ T7548] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 157.164408][ T7548] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 157.164408][ T7548] 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 [ 157.236932][ T7548] bcachefs (loop2): dropping and reconstructing all alloc info [ 157.254812][ T7548] bcachefs (loop2): check_topology... done [ 157.277165][ T7549] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 157.286674][ T7548] bcachefs (loop2): accounting_read... [ 157.299136][ T7549] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 157.303337][ T7551] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 157.305044][ T7548] done [ 157.342989][ T7551] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 157.348618][ T7548] bcachefs (loop2): alloc_read... done [ 157.382720][ T7548] bcachefs (loop2): stripes_read... done [ 157.400755][ T7548] bcachefs (loop2): snapshots_read... done [pid 7551] mount("/dev/loop5", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7550] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 7550] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 7550] ioctl(3, LOOP_CLR_FD) = 0 [pid 7550] close(3 [pid 7549] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 7549] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 7549] ioctl(3, LOOP_CLR_FD) = 0 [ 157.424086][ T7548] bcachefs (loop2): check_allocations... [ 157.434354][ T7550] bcachefs: bch2_fs_get_tree() error: EINVAL [ 157.463305][ T7549] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 7549] close(3 [pid 7547] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 7547] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [ 157.509986][ T7547] bcachefs: bch2_fs_get_tree() error: EINVAL [ 157.519397][ T7548] done [pid 7547] ioctl(3, LOOP_CLR_FD) = 0 [ 157.557181][ T7548] bcachefs (loop2): going read-write [pid 7547] close(3 [pid 7548] <... mount resumed>) = 0 [ 157.629321][ T7548] bcachefs (loop2): done starting filesystem [pid 7551] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 7548] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 7548] chdir("./file0") = 0 [pid 7548] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 7548] ioctl(4, LOOP_CLR_FD) = 0 [pid 7548] close(4) = 0 [pid 7548] unlinkat(AT_FDCWD, "./file1", 0) = 0 [pid 7548] exit_group(0) = ? [pid 7548] +++ exited with 0 +++ [pid 5842] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7548, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=38 /* 0.38 s */} --- [pid 5842] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5842] umount2("./39", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 7551] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5842] openat(AT_FDCWD, "./39", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 7551] <... openat resumed>) = 3 [pid 5842] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [ 157.674557][ T7551] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5842] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5842] umount2("./39/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7551] ioctl(3, LOOP_CLR_FD [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 7551] <... ioctl resumed>) = 0 [pid 5842] newfstatat(AT_FDCWD, "./39/binderfs", [pid 7551] close(3 [pid 5842] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] unlink("./39/binderfs") = 0 [ 157.799104][ T5842] bcachefs (loop2): shutting down [ 157.805758][ T5842] bcachefs (loop2): going read-only [ 157.811128][ T5842] bcachefs (loop2): finished waiting for writes to stop [pid 5842] umount2("./39/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7550] <... close resumed>) = 0 [pid 7549] <... close resumed>) = 0 [pid 7550] unlinkat(AT_FDCWD, "./file1", 0 [pid 5840] <... umount2 resumed>) = 0 [pid 5840] umount2("./30/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 157.843396][ T5842] bcachefs (loop2): flushing journal and stopping allocators, journal seq 12 [pid 5840] newfstatat(AT_FDCWD, "./30/file0", [pid 7550] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 7549] unlinkat(AT_FDCWD, "./file1", 0 [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 7550] exit_group(0 [pid 7549] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5840] umount2("./30/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7550] <... exit_group resumed>) = ? [pid 7549] exit_group(0 [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 7550] +++ exited with 0 +++ [pid 7549] <... exit_group resumed>) = ? [pid 5840] openat(AT_FDCWD, "./30/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 7549] +++ exited with 0 +++ [pid 5843] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7550, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=43 /* 0.43 s */} --- [pid 5840] newfstatat(4, "", [pid 5843] restart_syscall(<... resuming interrupted clone ...> [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] <... restart_syscall resumed>) = 0 [pid 5841] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7549, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=40 /* 0.40 s */} --- [pid 5840] getdents64(4, [pid 5841] umount2("./32", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] getdents64(4, [pid 5841] openat(AT_FDCWD, "./32", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5840] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5843] umount2("./35", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5841] <... openat resumed>) = 3 [pid 5840] close(4 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] newfstatat(3, "", [pid 5840] <... close resumed>) = 0 [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] rmdir("./30/file0" [pid 5843] openat(AT_FDCWD, "./35", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5841] getdents64(3, [pid 5840] <... rmdir resumed>) = 0 [pid 5841] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5840] getdents64(3, [pid 5841] umount2("./32/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] close(3 [pid 5841] newfstatat(AT_FDCWD, "./32/binderfs", [pid 5840] <... close resumed>) = 0 [pid 5841] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] rmdir("./30" [pid 5841] unlink("./32/binderfs" [pid 5840] <... rmdir resumed>) = 0 [pid 5843] <... openat resumed>) = 3 [pid 5841] <... unlink resumed>) = 0 [pid 5840] mkdir("./31", 0777 [pid 5841] umount2("./32/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] <... mkdir resumed>) = 0 [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5841] newfstatat(AT_FDCWD, "./32/file0", [pid 5840] <... openat resumed>) = 3 [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] ioctl(3, LOOP_CLR_FD [pid 5841] umount2("./32/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5841] openat(AT_FDCWD, "./32/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5840] close(3 [pid 5841] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] <... close resumed>) = 0 [pid 5841] getdents64(4, [pid 5840] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 7590 attached [pid 5841] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5841] getdents64(4, [pid 5840] <... clone resumed>, child_tidptr=0x55558491f650) = 7590 [pid 5841] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5841] close(4 [pid 7590] set_robust_list(0x55558491f660, 24 [pid 5841] <... close resumed>) = 0 [pid 7590] <... set_robust_list resumed>) = 0 [pid 5841] rmdir("./32/file0") = 0 [pid 5843] newfstatat(3, "", [pid 5841] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] close(3 [pid 7590] chdir("./31" [pid 5841] <... close resumed>) = 0 [pid 7590] <... chdir resumed>) = 0 [pid 7547] <... close resumed>) = 0 [pid 5843] getdents64(3, [pid 5841] rmdir("./32") = 0 [pid 7590] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 7547] unlinkat(AT_FDCWD, "./file1", 0 [pid 5843] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 7547] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5843] umount2("./35/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7547] exit_group(0) = ? [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] newfstatat(AT_FDCWD, "./35/binderfs", [pid 7590] <... prctl resumed>) = 0 [pid 5843] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] mkdir("./33", 0777 [pid 7590] setpgid(0, 0 [pid 5843] unlink("./35/binderfs" [pid 5841] <... mkdir resumed>) = 0 [pid 7590] <... setpgid resumed>) = 0 [pid 5841] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 7590] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 7547] +++ exited with 0 +++ [pid 5843] <... unlink resumed>) = 0 [pid 5841] <... openat resumed>) = 3 [pid 5844] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7547, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=47 /* 0.47 s */} --- [pid 5843] umount2("./35/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] restart_syscall(<... resuming interrupted clone ...> [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] ioctl(3, LOOP_CLR_FD [pid 7590] <... openat resumed>) = 3 [pid 5843] newfstatat(AT_FDCWD, "./35/file0", [pid 5841] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 7590] write(3, "1000", 4 [pid 5841] close(3 [pid 7590] <... write resumed>) = 4 [pid 5841] <... close resumed>) = 0 [pid 7590] close(3 [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 7590] <... close resumed>) = 0 [ 157.924374][ T2890] bcachefs (loop2): bch2_write_super(): fatal error loop2: Superblock write was silently dropped! (seq 0 expected 54) [ 157.952780][ T2890] bcachefs (loop2): fatal error - emergency read only [pid 5843] umount2("./35/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7590] symlink("/dev/binderfs", "./binderfs" [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5843] openat(AT_FDCWD, "./35/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5843] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] <... restart_syscall resumed>) = 0 [pid 5843] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5843] getdents64(4, executing program [pid 5844] umount2("./29", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 7590] <... symlink resumed>) = 0 [pid 5841] <... clone resumed>, child_tidptr=0x55558491f650) = 7591 [pid 7590] write(1, "executing program\n", 18) = 18 [pid 7590] memfd_create("syzkaller", 0 [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] close(4 [pid 7590] <... memfd_create resumed>) = 3 [pid 7590] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 5843] <... close resumed>) = 0 [pid 5844] openat(AT_FDCWD, "./29", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5843] rmdir("./35/file0"./strace-static-x86_64: Process 7591 attached [pid 7591] set_robust_list(0x55558491f660, 24 [pid 5844] <... openat resumed>) = 3 [pid 5843] <... rmdir resumed>) = 0 [pid 5844] newfstatat(3, "", [pid 5843] getdents64(3, [pid 7591] <... set_robust_list resumed>) = 0 [pid 5843] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 7591] chdir("./33" [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] close(3 [pid 7591] <... chdir resumed>) = 0 [ 157.970615][ T5842] bcachefs (loop2): flushing journal and stopping allocators complete, journal seq 14 [ 158.012767][ T5842] bcachefs (loop2): unshutdown complete, journal seq 14 [pid 7591] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5843] <... close resumed>) = 0 [pid 7591] setpgid(0, 0 [pid 5843] rmdir("./35") = 0 [pid 7591] <... setpgid resumed>) = 0 [pid 5844] getdents64(3, [pid 7591] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5844] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5843] mkdir("./36", 0777 [pid 7591] <... openat resumed>) = 3 [pid 5844] umount2("./29/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 7591] write(3, "1000", 4) = 4 [pid 5844] newfstatat(AT_FDCWD, "./29/binderfs", [pid 5843] <... mkdir resumed>) = 0 [pid 7591] close(3 [pid 5844] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 7591] <... close resumed>) = 0 [pid 5844] unlink("./29/binderfs" [pid 7591] symlink("/dev/binderfs", "./binderfs" [pid 5844] <... unlink resumed>) = 0 [pid 5843] <... openat resumed>) = 3 [pid 7591] <... symlink resumed>) = 0 [pid 5844] umount2("./29/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5843] ioctl(3, LOOP_CLR_FDexecuting program ) = -1 ENXIO (No such device or address) [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5843] close(3 [pid 7591] write(1, "executing program\n", 18 [pid 5844] newfstatat(AT_FDCWD, "./29/file0", [pid 7591] <... write resumed>) = 18 [pid 5843] <... close resumed>) = 0 [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 7592 attached [pid 7591] memfd_create("syzkaller", 0 [pid 5844] umount2("./29/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7592] set_robust_list(0x55558491f660, 24 [pid 7591] <... memfd_create resumed>) = 3 [pid 7592] <... set_robust_list resumed>) = 0 [pid 5843] <... clone resumed>, child_tidptr=0x55558491f650) = 7592 [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 7591] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 7592] chdir("./36" [pid 7591] <... mmap resumed>) = 0x7f5e2dc00000 [ 158.020877][ T5842] bcachefs (loop2): done going read-only, filesystem not clean [pid 5844] openat(AT_FDCWD, "./29/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 7592] <... chdir resumed>) = 0 [pid 5844] <... openat resumed>) = 4 [pid 5844] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5844] getdents64(4, [pid 7592] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5844] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 7592] <... prctl resumed>) = 0 [pid 5844] close(4 [pid 7592] setpgid(0, 0 [pid 5844] <... close resumed>) = 0 [pid 7592] <... setpgid resumed>) = 0 [pid 5844] rmdir("./29/file0") = 0 [pid 5844] getdents64(3, [pid 7592] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5844] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 7592] <... openat resumed>) = 3 [pid 5844] close(3 [pid 7551] <... close resumed>) = 0 [pid 7592] write(3, "1000", 4 [pid 5844] <... close resumed>) = 0 [pid 7551] unlinkat(AT_FDCWD, "./file1", 0 [pid 7592] <... write resumed>) = 4 [pid 5844] rmdir("./29" [pid 7551] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 7592] close(3) = 0 [pid 7551] exit_group(0 [pid 7592] symlink("/dev/binderfs", "./binderfs" [pid 7551] <... exit_group resumed>) = ? [pid 5844] <... rmdir resumed>) = 0 [pid 7592] <... symlink resumed>) = 0 [pid 7551] +++ exited with 0 +++ executing program [pid 7592] write(1, "executing program\n", 18 [pid 5844] mkdir("./30", 0777 [pid 7592] <... write resumed>) = 18 [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7551, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=41 /* 0.41 s */} --- [pid 5845] restart_syscall(<... resuming interrupted clone ...> [pid 5844] <... mkdir resumed>) = 0 [pid 7592] memfd_create("syzkaller", 0 [pid 5845] <... restart_syscall resumed>) = 0 [pid 5844] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 7592] <... memfd_create resumed>) = 3 [pid 5844] <... openat resumed>) = 3 [pid 7592] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5844] ioctl(3, LOOP_CLR_FD [pid 5845] umount2("./30", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] close(3 [pid 5845] openat(AT_FDCWD, "./30", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 7592] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5844] <... close resumed>) = 0 [pid 5845] newfstatat(3, "", [pid 5844] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] getdents64(3, ./strace-static-x86_64: Process 7593 attached 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 7593] set_robust_list(0x55558491f660, 24 [pid 5845] umount2("./30/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7593] <... set_robust_list resumed>) = 0 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 7593] chdir("./30" [pid 5845] newfstatat(AT_FDCWD, "./30/binderfs", [pid 7593] <... chdir resumed>) = 0 [pid 5845] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] <... clone resumed>, child_tidptr=0x55558491f650) = 7593 [pid 7593] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5845] unlink("./30/binderfs" [pid 7593] <... prctl resumed>) = 0 [pid 7593] setpgid(0, 0 [pid 5845] <... unlink resumed>) = 0 [pid 7593] <... setpgid resumed>) = 0 [pid 5845] umount2("./30/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7593] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 158.125603][ T5842] bcachefs (loop2): shutdown complete [pid 7593] <... openat resumed>) = 3 [pid 5845] newfstatat(AT_FDCWD, "./30/file0", [pid 7593] write(3, "1000", 4) = 4 [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] umount2("./30/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7593] close(3 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 7593] <... close resumed>) = 0 [pid 7590] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7593] symlink("/dev/binderfs", "./binderfs" [pid 5845] openat(AT_FDCWD, "./30/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 7593] <... symlink resumed>) = 0 [pid 5845] <... openat resumed>) = 4 [pid 5845] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] getdents64(4, [pid 7593] write(1, "executing program\n", 18 [pid 5845] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5845] getdents64(4, executing program [pid 7593] <... write resumed>) = 18 [pid 7593] memfd_create("syzkaller", 0) = 3 [pid 7593] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5845] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5845] close(4 [pid 7593] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5845] <... close resumed>) = 0 [pid 5845] rmdir("./30/file0") = 0 [pid 5845] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5845] close(3) = 0 [pid 5845] rmdir("./30") = 0 [pid 5845] mkdir("./31", 0777) = 0 [pid 5845] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 7591] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5845] close(3) = 0 [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 7594 attached [pid 7594] set_robust_list(0x55558491f660, 24) = 0 [pid 7594] chdir("./31") = 0 [pid 5845] <... clone resumed>, child_tidptr=0x55558491f650) = 7594 [pid 7594] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7594] setpgid(0, 0) = 0 [pid 7594] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7594] write(3, "1000", 4) = 4 [pid 7594] close(3) = 0 executing program [pid 7594] symlink("/dev/binderfs", "./binderfs") = 0 [pid 7594] write(1, "executing program\n", 18) = 18 [pid 7594] memfd_create("syzkaller", 0) = 3 [pid 7594] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 7592] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7593] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7590] <... write resumed>) = 16777216 [pid 7594] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7590] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 7590] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 7590] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7590] close(3) = 0 [pid 7590] close(4) = 0 [pid 7590] mkdir("./file0", 0777) = 0 [ 158.649371][ T7590] loop0: detected capacity change from 0 to 32768 [pid 7590] mount("/dev/loop0", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7591] <... write resumed>) = 16777216 [pid 7591] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 7591] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 7591] ioctl(4, LOOP_SET_FD, 3 [pid 7594] <... write resumed>) = 16777216 [pid 7594] munmap(0x7f5e2dc00000, 138412032 [pid 7592] <... write resumed>) = 16777216 [pid 7592] munmap(0x7f5e2dc00000, 138412032 [pid 7594] <... munmap resumed>) = 0 [pid 7591] <... ioctl resumed>) = 0 [pid 7594] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 7592] <... munmap resumed>) = 0 [pid 7591] close(3 [pid 7592] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 7591] <... close resumed>) = 0 [pid 7592] <... openat resumed>) = 4 [ 158.870338][ T7591] loop1: detected capacity change from 0 to 32768 [pid 7591] close(4 [pid 7594] ioctl(4, LOOP_SET_FD, 3 [pid 7591] <... close resumed>) = 0 [pid 7592] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7592] close(3) = 0 [pid 7592] close(4) = 0 [pid 7592] mkdir("./file0", 0777) = 0 [pid 7592] mount("/dev/loop3", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7591] mkdir("./file0", 0777) = 0 [pid 7591] mount("/dev/loop1", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7593] <... write resumed>) = 16777216 [pid 7594] <... ioctl resumed>) = 0 [pid 7593] munmap(0x7f5e2dc00000, 138412032 [pid 7594] close(3) = 0 [pid 7594] close(4) = 0 [pid 7594] mkdir("./file0", 0777) = 0 [pid 7594] mount("/dev/loop5", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7593] <... munmap resumed>) = 0 [pid 7593] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [ 158.913525][ T7594] loop5: detected capacity change from 0 to 32768 [ 158.913524][ T7592] loop3: detected capacity change from 0 to 32768 [pid 7593] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7593] close(3) = 0 [pid 7593] close(4) = 0 [pid 7593] mkdir("./file0", 0777) = 0 [ 158.979255][ T7593] loop4: detected capacity change from 0 to 32768 [ 159.177094][ T7592] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 159.186704][ T7590] 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 [ 159.214537][ T7592] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 159.224712][ T7590] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 159.224909][ T7594] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 159.242929][ T7590] bcachefs (loop0): Version upgrade required: [ 159.242929][ T7590] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 159.242929][ T7590] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 159.242929][ T7590] 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 [ 159.314778][ T7594] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 159.323313][ T7593] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 159.333246][ T7593] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 159.348530][ T7591] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 159.384617][ T7590] bcachefs (loop0): dropping and reconstructing all alloc info [ 159.391439][ T7591] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [pid 7593] mount("/dev/loop4", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7592] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 7592] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 7592] ioctl(3, LOOP_CLR_FD) = 0 [ 159.430686][ T7592] bcachefs: bch2_fs_get_tree() error: EINVAL [ 159.492950][ T7590] bcachefs (loop0): check_topology... done [pid 7592] close(3 [pid 7594] <... mount resumed>) = -1 EINVAL (Invalid argument) [ 159.523965][ T7590] bcachefs (loop0): accounting_read... done [ 159.563559][ T7594] bcachefs: bch2_fs_get_tree() error: EINVAL [ 159.565325][ T7593] bcachefs: bch2_fs_get_tree() error: EINVAL [ 159.570405][ T7590] bcachefs (loop0): alloc_read... done [pid 7594] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 7593] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 7594] <... openat resumed>) = 3 [pid 7593] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 7593] ioctl(3, LOOP_CLR_FD) = 0 [pid 7593] close(3 [pid 7594] ioctl(3, LOOP_CLR_FD) = 0 [ 159.606851][ T7590] bcachefs (loop0): stripes_read... done [ 159.612588][ T7590] bcachefs (loop0): snapshots_read... done [pid 7594] close(3 [pid 5842] <... umount2 resumed>) = 0 [pid 7591] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5842] umount2("./39/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7591] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 7591] ioctl(3, LOOP_CLR_FD) = 0 [ 159.655660][ T7590] bcachefs (loop0): check_allocations... [ 159.706035][ T7591] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 7591] close(3 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] newfstatat(AT_FDCWD, "./39/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 7592] <... close resumed>) = 0 [pid 5842] umount2("./39/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5842] openat(AT_FDCWD, "./39/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 7592] unlinkat(AT_FDCWD, "./file1", 0) = -1 ENOENT (No such file or directory) [pid 5842] <... openat resumed>) = 4 [pid 7592] exit_group(0 [pid 5842] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 7592] <... exit_group resumed>) = ? [pid 5842] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 7592] +++ exited with 0 +++ [pid 5842] close(4) = 0 [pid 5843] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7592, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=43 /* 0.43 s */} --- [pid 5842] rmdir("./39/file0" [pid 5843] restart_syscall(<... resuming interrupted clone ...> [pid 5842] <... rmdir resumed>) = 0 [pid 5842] getdents64(3, [pid 5843] <... restart_syscall resumed>) = 0 [ 159.824320][ T7590] done [pid 5843] umount2("./36", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] close(3 [pid 5843] openat(AT_FDCWD, "./36", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5842] <... close resumed>) = 0 [pid 5843] <... openat resumed>) = 3 [pid 5842] rmdir("./39" [pid 5843] newfstatat(3, "", [pid 5842] <... rmdir resumed>) = 0 [pid 5843] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5843] umount2("./36/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] mkdir("./40", 0777 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] <... mkdir resumed>) = 0 [pid 5843] newfstatat(AT_FDCWD, "./36/binderfs", [pid 5842] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5843] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] <... openat resumed>) = 3 [pid 5843] unlink("./36/binderfs" [pid 5842] ioctl(3, LOOP_CLR_FD [pid 5843] <... unlink resumed>) = 0 [pid 5842] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5842] close(3 [pid 5843] umount2("./36/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] <... close resumed>) = 0 [pid 5843] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5843] newfstatat(AT_FDCWD, "./36/file0", ./strace-static-x86_64: Process 7631 attached {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] <... clone resumed>, child_tidptr=0x55558491f650) = 7631 [ 159.858182][ T7590] bcachefs (loop0): going read-write [pid 5843] umount2("./36/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 7631] set_robust_list(0x55558491f660, 24 [pid 7590] <... mount resumed>) = 0 [pid 5843] openat(AT_FDCWD, "./36/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5843] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5843] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5843] close(4) = 0 [pid 5843] rmdir("./36/file0") = 0 [pid 5843] getdents64(3, [pid 7631] <... set_robust_list resumed>) = 0 [pid 5843] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5843] close(3) = 0 [pid 7631] chdir("./40" [pid 7590] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5843] rmdir("./36" [pid 7631] <... chdir resumed>) = 0 [pid 7631] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 7590] chdir("./file0" [pid 5843] <... rmdir resumed>) = 0 [pid 7631] <... prctl resumed>) = 0 [pid 7590] <... chdir resumed>) = 0 [pid 5843] mkdir("./37", 0777 [pid 7631] setpgid(0, 0 [pid 7590] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5843] <... mkdir resumed>) = 0 [pid 7631] <... setpgid resumed>) = 0 [pid 7590] <... openat resumed>) = 4 [pid 5843] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 7631] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 7590] ioctl(4, LOOP_CLR_FD [pid 5843] <... openat resumed>) = 3 [pid 7590] <... ioctl resumed>) = 0 [pid 5843] ioctl(3, LOOP_CLR_FD [pid 7631] <... openat resumed>) = 3 [pid 7631] write(3, "1000", 4 [pid 7590] close(4 [pid 5843] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 7631] <... write resumed>) = 4 [pid 7590] <... close resumed>) = 0 [pid 5843] close(3 [pid 7631] close(3 [pid 7590] unlinkat(AT_FDCWD, "./file1", 0 [pid 5843] <... close resumed>) = 0 [pid 7631] <... close resumed>) = 0 [pid 5843] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLDexecuting program [pid 7631] symlink("/dev/binderfs", "./binderfs"./strace-static-x86_64: Process 7634 attached ) = 0 [pid 7634] set_robust_list(0x55558491f660, 24 [pid 5843] <... clone resumed>, child_tidptr=0x55558491f650) = 7634 [pid 7634] <... set_robust_list resumed>) = 0 [pid 7631] write(1, "executing program\n", 18 [pid 7634] chdir("./37" [pid 7631] <... write resumed>) = 18 [pid 7594] <... close resumed>) = 0 [pid 7634] <... chdir resumed>) = 0 [ 159.903144][ T7590] bcachefs (loop0): done starting filesystem [pid 7631] memfd_create("syzkaller", 0 [pid 7634] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 7594] unlinkat(AT_FDCWD, "./file1", 0 [pid 7634] <... prctl resumed>) = 0 [pid 7594] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 7634] setpgid(0, 0 [pid 7594] exit_group(0 [pid 7634] <... setpgid resumed>) = 0 [pid 7594] <... exit_group resumed>) = ? [pid 7634] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 7631] <... memfd_create resumed>) = 3 [pid 7594] +++ exited with 0 +++ [pid 7593] <... close resumed>) = 0 [pid 7634] <... openat resumed>) = 3 [pid 7631] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7594, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=51 /* 0.51 s */} --- [pid 5845] restart_syscall(<... resuming interrupted clone ...> [pid 7634] write(3, "1000", 4executing program ) = 4 [pid 7631] <... mmap resumed>) = 0x7f5e2dc00000 [pid 7634] close(3) = 0 [pid 7634] symlink("/dev/binderfs", "./binderfs" [pid 5845] <... restart_syscall resumed>) = 0 [pid 5845] umount2("./31", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./31", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5845] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 7634] <... symlink resumed>) = 0 [pid 5845] getdents64(3, [pid 7634] write(1, "executing program\n", 18 [pid 5845] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 7634] <... write resumed>) = 18 [pid 5845] umount2("./31/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 7634] memfd_create("syzkaller", 0 [pid 5845] newfstatat(AT_FDCWD, "./31/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] unlink("./31/binderfs") = 0 [pid 5845] umount2("./31/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 7634] <... memfd_create resumed>) = 3 [pid 5845] newfstatat(AT_FDCWD, "./31/file0", [pid 7634] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 7634] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5845] umount2("./31/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "./31/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5845] newfstatat(4, "", [pid 7590] <... unlinkat resumed>) = 0 [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 7590] exit_group(0 [pid 5845] getdents64(4, [pid 7590] <... exit_group resumed>) = ? [pid 5845] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5845] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5845] close(4) = 0 [pid 5845] rmdir("./31/file0") = 0 [pid 5845] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 7590] +++ exited with 0 +++ [pid 5845] close(3) = 0 [pid 5840] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7590, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=44 /* 0.44 s */} --- [pid 5840] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5840] umount2("./31", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "./31", 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, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 7593] unlinkat(AT_FDCWD, "./file1", 0) = -1 ENOENT (No such file or directory) [pid 5840] umount2("./31/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5840] newfstatat(AT_FDCWD, "./31/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] unlink("./31/binderfs") = 0 [pid 5845] rmdir("./31" [pid 5840] umount2("./31/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] <... rmdir resumed>) = 0 [pid 5845] mkdir("./32", 0777) = 0 [pid 5845] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5845] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5845] close(3) = 0 [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 7635 attached [pid 7635] set_robust_list(0x55558491f660, 24) = 0 [pid 7593] exit_group(0 [pid 7635] chdir("./32" [pid 7593] <... exit_group resumed>) = ? [pid 5845] <... clone resumed>, child_tidptr=0x55558491f650) = 7635 [pid 7635] <... chdir resumed>) = 0 [pid 7635] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7635] setpgid(0, 0) = 0 [pid 7635] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 7593] +++ exited with 0 +++ [pid 5844] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7593, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=42 /* 0.42 s */} --- [pid 5844] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 7635] <... openat resumed>) = 3 [pid 7635] write(3, "1000", 4) = 4 [pid 7635] close(3) = 0 [ 160.028896][ T5840] bcachefs (loop0): shutting down [pid 7635] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 7635] write(1, "executing program\n", 18) = 18 [pid 7635] memfd_create("syzkaller", 0) = 3 [pid 7635] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 5844] umount2("./30", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] openat(AT_FDCWD, "./30", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 7591] <... close resumed>) = 0 [pid 5844] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 7591] unlinkat(AT_FDCWD, "./file1", 0 [pid 5844] getdents64(3, [pid 7591] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5844] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5844] umount2("./30/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7591] exit_group(0) = ? [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 160.055033][ T5840] bcachefs (loop0): going read-only [ 160.075195][ T5840] bcachefs (loop0): finished waiting for writes to stop [pid 7591] +++ exited with 0 +++ [pid 5844] newfstatat(AT_FDCWD, "./30/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] unlink("./30/binderfs") = 0 [pid 5844] umount2("./30/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] newfstatat(AT_FDCWD, "./30/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] umount2("./30/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] openat(AT_FDCWD, "./30/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5844] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5844] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5844] close(4) = 0 [pid 5844] rmdir("./30/file0") = 0 [pid 5844] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5844] close(3) = 0 [pid 5844] rmdir("./30") = 0 [pid 5844] mkdir("./31", 0777) = 0 [pid 5844] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5844] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5844] close(3) = 0 [pid 5841] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7591, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=43 /* 0.43 s */} --- [pid 5844] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55558491f650) = 7636 ./strace-static-x86_64: Process 7636 attached [pid 5841] umount2("./33", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7636] set_robust_list(0x55558491f660, 24 [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 7636] <... set_robust_list resumed>) = 0 [pid 7636] chdir("./31") = 0 [pid 7636] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7636] setpgid(0, 0) = 0 [pid 7636] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5841] openat(AT_FDCWD, "./33", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 7636] <... openat resumed>) = 3 [pid 5841] <... openat resumed>) = 3 [pid 7636] write(3, "1000", 4) = 4 [pid 5841] newfstatat(3, "", [pid 7636] close(3 [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 7636] <... close resumed>) = 0 [pid 7636] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 7636] write(1, "executing program\n", 18) = 18 [pid 5841] umount2("./33/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7636] memfd_create("syzkaller", 0) = 3 [pid 7636] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [ 160.125005][ T5840] bcachefs (loop0): flushing journal and stopping allocators, journal seq 12 [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5841] newfstatat(AT_FDCWD, "./33/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] unlink("./33/binderfs") = 0 [pid 5841] umount2("./33/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5841] newfstatat(AT_FDCWD, "./33/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5841] umount2("./33/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5841] openat(AT_FDCWD, "./33/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5841] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5841] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5841] close(4) = 0 [pid 5841] rmdir("./33/file0") = 0 [pid 5841] getdents64(3, [pid 7634] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5841] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5841] close(3) = 0 [pid 5841] rmdir("./33" [pid 7631] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5841] <... rmdir resumed>) = 0 [pid 5841] mkdir("./34", 0777) = 0 [pid 5841] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [ 160.249993][ T80] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 54) [pid 5841] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5841] close(3) = 0 [pid 5841] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 7637 attached [pid 7635] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7637] set_robust_list(0x55558491f660, 24) = 0 [pid 5841] <... clone resumed>, child_tidptr=0x55558491f650) = 7637 [pid 7637] chdir("./34") = 0 [ 160.294119][ T80] bcachefs (loop0): fatal error - emergency read only [ 160.304367][ T5840] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [pid 7637] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7637] setpgid(0, 0) = 0 [pid 7637] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7637] write(3, "1000", 4) = 4 [pid 7637] close(3) = 0 [ 160.341119][ T5840] bcachefs (loop0): unshutdown complete, journal seq 14 [ 160.374212][ T5840] bcachefs (loop0): done going read-only, filesystem not clean [pid 7637] symlink("/dev/binderfs", "./binderfs") = 0 [pid 7637] write(1, "executing program\n", 18executing program [pid 7636] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7637] <... write resumed>) = 18 [pid 7637] memfd_create("syzkaller", 0) = 3 [pid 7637] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [ 160.437705][ T5840] bcachefs (loop0): shutdown complete [pid 7637] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7634] <... write resumed>) = 16777216 [pid 7634] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 7631] <... write resumed>) = 16777216 [pid 7634] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 7634] ioctl(4, LOOP_SET_FD, 3 [pid 7631] munmap(0x7f5e2dc00000, 138412032 [pid 7634] <... ioctl resumed>) = 0 [pid 7631] <... munmap resumed>) = 0 [pid 7634] close(3) = 0 [pid 7634] close(4) = 0 [pid 7634] mkdir("./file0", 0777) = 0 [pid 7634] mount("/dev/loop3", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7631] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 7635] <... write resumed>) = 16777216 [pid 7631] <... openat resumed>) = 4 [pid 7635] munmap(0x7f5e2dc00000, 138412032 [ 160.761666][ T7634] loop3: detected capacity change from 0 to 32768 [pid 7631] ioctl(4, LOOP_SET_FD, 3 [pid 7635] <... munmap resumed>) = 0 [pid 7635] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 7635] ioctl(4, LOOP_SET_FD, 3 [pid 7631] <... ioctl resumed>) = 0 [pid 7631] close(3) = 0 [pid 7631] close(4) = 0 [pid 7635] <... ioctl resumed>) = 0 [pid 7631] mkdir("./file0", 0777 [pid 7635] close(3 [pid 7631] <... mkdir resumed>) = 0 [pid 7635] <... close resumed>) = 0 [pid 7635] close(4) = 0 [pid 7635] mkdir("./file0", 0777) = 0 [pid 7635] mount("/dev/loop5", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [ 160.813275][ T7631] loop2: detected capacity change from 0 to 32768 [ 160.829159][ T7635] loop5: detected capacity change from 0 to 32768 [pid 7631] mount("/dev/loop2", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7636] <... write resumed>) = 16777216 [pid 7636] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 7636] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 7636] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7636] close(3) = 0 [pid 7636] close(4) = 0 [pid 7636] mkdir("./file0", 0777) = 0 [pid 7637] <... write resumed>) = 16777216 [pid 7636] mount("/dev/loop4", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [ 160.953788][ T7636] loop4: detected capacity change from 0 to 32768 [pid 7637] munmap(0x7f5e2dc00000, 138412032) = 0 [pid 7637] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 7637] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 7637] close(3) = 0 [pid 7637] close(4) = 0 [pid 7637] mkdir("./file0", 0777) = 0 [ 161.025803][ T7637] loop1: detected capacity change from 0 to 32768 [ 161.323767][ T7631] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 161.324946][ T7634] 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 [ 161.334259][ T7631] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 161.355371][ T7635] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 161.365056][ T7634] bcachefs (loop3): recovering from clean shutdown, journal seq 10 [ 161.380743][ T7635] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 161.381200][ T7634] bcachefs (loop3): Version upgrade required: [ 161.381200][ T7634] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 161.381200][ T7634] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 161.381200][ T7634] 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 [ 161.462309][ T7634] bcachefs (loop3): dropping and reconstructing all alloc info [ 161.506804][ T7636] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 161.516289][ T7636] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 161.529398][ T7637] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [pid 7637] mount("/dev/loop1", "./file0", "bcachefs", MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NOATIME|MS_POSIXACL, "fsck,inline_data,nocow,degraded,str_hash=siphash,norecovery,discard,reconstruct_alloc,erasure_code,a"... [pid 7636] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 7636] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 7636] ioctl(3, LOOP_CLR_FD) = 0 [ 161.575498][ T7634] bcachefs (loop3): check_topology... done [ 161.584982][ T7637] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 161.594373][ T7636] bcachefs: bch2_fs_get_tree() error: EINVAL [ 161.606096][ T7634] bcachefs (loop3): accounting_read... done [ 161.643019][ T7634] bcachefs (loop3): alloc_read... done [ 161.669732][ T7634] bcachefs (loop3): stripes_read... done [ 161.691158][ T7634] bcachefs (loop3): snapshots_read... done [pid 7636] close(3 [pid 7635] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 7631] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 7635] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 7635] ioctl(3, LOOP_CLR_FD) = 0 [pid 7635] close(3 [ 161.721215][ T7635] bcachefs: bch2_fs_get_tree() error: EINVAL [ 161.729298][ T7631] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 7631] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 7631] ioctl(3, LOOP_CLR_FD) = 0 [ 161.741994][ T7634] bcachefs (loop3): check_allocations... done [ 161.845711][ T7634] bcachefs (loop3): going read-write [pid 7631] close(3 [pid 7637] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 7637] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [ 161.854961][ T7637] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 7637] ioctl(3, LOOP_CLR_FD) = 0 [pid 7637] close(3 [pid 7634] <... mount resumed>) = 0 [pid 7634] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 7634] chdir("./file0") = 0 [pid 7634] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 7634] ioctl(4, LOOP_CLR_FD) = 0 [pid 7634] close(4) = 0 [pid 7634] unlinkat(AT_FDCWD, "./file1", 0) = 0 [ 161.928476][ T7634] bcachefs (loop3): done starting filesystem [pid 7634] exit_group(0) = ? [pid 7634] +++ exited with 0 +++ [pid 5843] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7634, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=40 /* 0.40 s */} --- [pid 5843] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5843] umount2("./37", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5843] openat(AT_FDCWD, "./37", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5843] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5843] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5843] umount2("./37/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5843] newfstatat(AT_FDCWD, "./37/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5843] unlink("./37/binderfs" [pid 7636] <... close resumed>) = 0 [pid 7636] unlinkat(AT_FDCWD, "./file1", 0) = -1 ENOENT (No such file or directory) [pid 7636] exit_group(0) = ? [pid 7636] +++ exited with 0 +++ [pid 5844] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7636, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=46 /* 0.46 s */} --- [pid 5844] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5843] <... unlink resumed>) = 0 [pid 5843] umount2("./37/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] umount2("./31", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5844] openat(AT_FDCWD, "./31", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5844] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5844] umount2("./31/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 162.059883][ T5843] bcachefs (loop3): shutting down [pid 5844] newfstatat(AT_FDCWD, "./31/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] unlink("./31/binderfs") = 0 [pid 7631] <... close resumed>) = 0 [pid 5844] umount2("./31/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7631] unlinkat(AT_FDCWD, "./file1", 0 [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] newfstatat(AT_FDCWD, "./31/file0", [pid 7631] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] umount2("./31/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7631] exit_group(0) = ? [pid 5844] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 162.088560][ T5843] bcachefs (loop3): going read-only [pid 7631] +++ exited with 0 +++ [pid 5844] openat(AT_FDCWD, "./31/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5842] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7631, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=47 /* 0.47 s */} --- [pid 5844] newfstatat(4, "", [pid 5842] restart_syscall(<... resuming interrupted clone ...> [pid 5844] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] getdents64(4, [pid 5842] <... restart_syscall resumed>) = 0 [pid 5844] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5842] umount2("./40", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] getdents64(4, [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] <... umount2 resumed>) = 0 [pid 5842] openat(AT_FDCWD, "./40", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5844] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5844] close(4 [pid 5842] <... openat resumed>) = 3 [pid 5844] <... close resumed>) = 0 [pid 5842] newfstatat(3, "", [pid 5844] rmdir("./31/file0" [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] <... rmdir resumed>) = 0 [pid 5842] getdents64(3, [pid 5840] umount2("./31/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] umount2("./40/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] newfstatat(AT_FDCWD, "./31/file0", [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5844] getdents64(3, [pid 5842] newfstatat(AT_FDCWD, "./40/binderfs", [pid 5840] umount2("./31/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5842] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] unlink("./40/binderfs" [pid 5844] close(3 [pid 5840] openat(AT_FDCWD, "./31/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5844] <... close resumed>) = 0 [pid 5844] rmdir("./31" [pid 5840] <... openat resumed>) = 4 [pid 5840] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5844] <... rmdir resumed>) = 0 [pid 5844] mkdir("./32", 0777 [pid 5840] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5844] <... mkdir resumed>) = 0 [pid 5842] <... unlink resumed>) = 0 [pid 5840] getdents64(4, [pid 5844] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5840] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5844] <... openat resumed>) = 3 [pid 5840] close(4 [pid 7635] <... close resumed>) = 0 [pid 5844] ioctl(3, LOOP_CLR_FD [pid 5842] umount2("./40/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] <... close resumed>) = 0 [pid 5840] rmdir("./31/file0" [pid 5844] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 7635] unlinkat(AT_FDCWD, "./file1", 0 [pid 5844] close(3 [pid 5842] newfstatat(AT_FDCWD, "./40/file0", [pid 5840] <... rmdir resumed>) = 0 [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5840] getdents64(3, [pid 7635] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 5840] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5840] close(3 [pid 7635] exit_group(0 [pid 5844] <... close resumed>) = 0 [pid 5842] umount2("./40/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7635] <... exit_group resumed>) = ? [pid 5840] <... close resumed>) = 0 [pid 5842] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5840] rmdir("./31" [pid 5844] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5840] <... rmdir resumed>) = 0 [ 162.111964][ T5843] bcachefs (loop3): finished waiting for writes to stop [ 162.151755][ T5843] bcachefs (loop3): flushing journal and stopping allocators, journal seq 12 [pid 7635] +++ exited with 0 +++ [pid 5842] openat(AT_FDCWD, "./40/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5840] mkdir("./32", 0777 [pid 5845] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7635, si_uid=0, si_status=0, si_utime=0, si_stime=49 /* 0.49 s */} --- [pid 5844] <... clone resumed>, child_tidptr=0x55558491f650) = 7676 ./strace-static-x86_64: Process 7676 attached [pid 5842] <... openat resumed>) = 4 [pid 5840] <... mkdir resumed>) = 0 [pid 5845] umount2("./32", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7676] set_robust_list(0x55558491f660, 24 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] newfstatat(4, "", [pid 7676] <... set_robust_list resumed>) = 0 [pid 7676] chdir("./32" [pid 5845] openat(AT_FDCWD, "./32", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5842] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5840] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 7676] <... chdir resumed>) = 0 [pid 5845] <... openat resumed>) = 3 [pid 5842] getdents64(4, [pid 7676] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5840] <... openat resumed>) = 3 [pid 5842] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [pid 5845] newfstatat(3, "", [pid 7676] <... prctl resumed>) = 0 [pid 7676] setpgid(0, 0) = 0 [pid 7676] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] getdents64(4, [pid 5840] ioctl(3, LOOP_CLR_FD [pid 5845] getdents64(3, [pid 5842] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 5840] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5842] close(4 [pid 5840] close(3 [pid 5845] <... getdents64 resumed>0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5840] <... close resumed>) = 0 [pid 5842] <... close resumed>) = 0 [pid 7676] <... openat resumed>) = 3 [pid 5842] rmdir("./40/file0" [pid 5840] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 7676] write(3, "1000", 4 [pid 5845] umount2("./32/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 7677 attached [pid 7676] <... write resumed>) = 4 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] <... rmdir resumed>) = 0 [pid 7676] close(3) = 0 [pid 7676] symlink("/dev/binderfs", "./binderfs" [pid 7677] set_robust_list(0x55558491f660, 24 [pid 7676] <... symlink resumed>) = 0 [pid 5845] newfstatat(AT_FDCWD, "./32/binderfs", [pid 5842] getdents64(3, [pid 5840] <... clone resumed>, child_tidptr=0x55558491f650) = 7677 [pid 7677] <... set_robust_list resumed>) = 0 [pid 7676] write(1, "executing program\n", 18 [pid 5842] <... getdents64 resumed>0x5555849206f0 /* 0 entries */, 32768) = 0 executing program [pid 7677] chdir("./32" [pid 5845] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] close(3 [pid 7676] <... write resumed>) = 18 [pid 7677] <... chdir resumed>) = 0 [pid 7676] memfd_create("syzkaller", 0 [pid 5845] unlink("./32/binderfs" [pid 5842] <... close resumed>) = 0 [pid 5842] rmdir("./40" [pid 7677] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 7676] <... memfd_create resumed>) = 3 [pid 5845] <... unlink resumed>) = 0 [pid 5842] <... rmdir resumed>) = 0 [pid 7677] <... prctl resumed>) = 0 [pid 7676] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5845] umount2("./32/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5842] mkdir("./41", 0777 [pid 7676] <... mmap resumed>) = 0x7f5e2dc00000 [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] <... mkdir resumed>) = 0 [pid 7677] setpgid(0, 0 [pid 5845] newfstatat(AT_FDCWD, "./32/file0", [pid 5842] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5842] <... openat resumed>) = 3 [pid 5845] umount2("./32/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 7677] <... setpgid resumed>) = 0 [pid 5842] ioctl(3, LOOP_CLR_FD [pid 5845] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5842] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5845] openat(AT_FDCWD, "./32/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5845] newfstatat(4, "", [pid 5842] close(3 [pid 5845] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5842] <... close resumed>) = 0 [pid 5845] getdents64(4, [pid 7677] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5842] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5845] <... getdents64 resumed>0x555584928730 /* 2 entries */, 32768) = 48 [ 162.238738][ T5843] bcachefs (loop3): flushing journal and stopping allocators complete, journal seq 13 [ 162.261184][ T2890] bcachefs (loop3): bch2_write_super(): fatal error loop3: Superblock write was silently dropped! (seq 0 expected 54) [ 162.278174][ T5843] bcachefs (loop3): unshutdown complete, journal seq 14 [pid 5845] getdents64(4, ./strace-static-x86_64: Process 7678 attached [pid 7677] <... openat resumed>) = 3 [pid 7637] <... close resumed>) = 0 [pid 5845] <... getdents64 resumed>0x555584928730 /* 0 entries */, 32768) = 0 [pid 7677] write(3, "1000", 4 [pid 7637] unlinkat(AT_FDCWD, "./file1", 0 [pid 5845] close(4 [pid 5842] <... clone resumed>, child_tidptr=0x55558491f650) = 7678 [pid 7677] <... write resumed>) = 4 [pid 5845] <... close resumed>) = 0 [pid 7677] close(3) = 0 [pid 5845] rmdir("./32/file0" [pid 7678] set_robust_list(0x55558491f660, 24 [pid 7637] <... unlinkat resumed>) = -1 ENOENT (No such file or directory) [pid 7678] <... set_robust_list resumed>) = 0 [pid 7678] chdir("./41") = 0 [pid 7678] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7678] setpgid(0, 0) = 0 [pid 7678] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7678] write(3, "1000", 4) = 4 [pid 7678] close(3 [pid 7637] exit_group(0 [pid 7677] symlink("/dev/binderfs", "./binderfs" [pid 7678] <... close resumed>) = 0 [pid 7678] symlink("/dev/binderfs", "./binderfs") = 0 [pid 7677] <... symlink resumed>) = 0 [pid 7637] <... exit_group resumed>) = ? [pid 5845] <... rmdir resumed>) = 0 [ 162.290063][ T2890] bcachefs (loop3): fatal error - emergency read only [ 162.298853][ T2890] ------------[ cut here ]------------ [ 162.304742][ T2890] kernel BUG at fs/bcachefs/journal.h:375! [ 162.313223][ T2890] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI [ 162.320361][ T2890] CPU: 1 UID: 0 PID: 2890 Comm: kworker/u8:6 Not tainted 6.12.0-rc6-syzkaller-00225-g50643bbc9eb6 #0 [ 162.331219][ T2890] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 [ 162.341279][ T2890] Workqueue: btree_update btree_interior_update_work [ 162.347983][ T2890] RIP: 0010:__bch2_trans_commit+0x9232/0x93c0 [ 162.354061][ T2890] Code: fd 90 0f 0b e8 cf 50 75 fd 90 0f 0b e8 c7 50 75 fd 90 0f 0b e8 bf 50 75 fd 90 0f 0b e8 b7 50 75 fd 90 0f 0b e8 af 50 75 fd 90 <0f> 0b e8 a7 50 75 fd 90 0f 0b e8 9f 50 75 fd 90 0f 0b e8 97 50 75 [ 162.373675][ T2890] RSP: 0018:ffffc9000b66f6c0 EFLAGS: 00010293 [ 162.379778][ T2890] RAX: ffffffff841f89b1 RBX: 0000000000000000 RCX: ffff88802f570000 [ 162.387751][ T2890] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 162.395720][ T2890] RBP: ffffc9000b66f890 R08: ffffffff841f2ce8 R09: 1ffff1100d3c94a8 [ 162.403724][ T2890] R10: dffffc0000000000 R11: ffffed100d3c94a9 R12: ffff888069e00000 [ 162.411699][ T2890] R13: ffff888069e4a500 R14: 0000000000000044 R15: ffff888031cdc0d0 [ 162.419678][ T2890] FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 [ 162.428786][ T2890] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 162.435369][ T2890] CR2: 00007f5e3612b130 CR3: 000000002473a000 CR4: 0000000000350ef0 [ 162.443356][ T2890] Call Trace: [ 162.446636][ T2890] [ 162.449568][ T2890] ? __die_body+0x5f/0xb0 [ 162.453907][ T2890] ? die+0x9e/0xc0 [ 162.457803][ T2890] ? do_trap+0x15a/0x3a0 [ 162.462146][ T2890] ? __bch2_trans_commit+0x9232/0x93c0 [ 162.467615][ T2890] ? do_error_trap+0x1dc/0x2c0 [ 162.472393][ T2890] ? __bch2_trans_commit+0x9232/0x93c0 [ 162.477863][ T2890] ? __pfx_do_error_trap+0x10/0x10 [ 162.482993][ T2890] ? report_bug+0x3e8/0x500 [ 162.487516][ T2890] ? srso_alias_return_thunk+0x5/0xfbef5 [ 162.493171][ T2890] ? handle_invalid_op+0x34/0x40 [ 162.498146][ T2890] ? __bch2_trans_commit+0x9232/0x93c0 [ 162.503614][ T2890] ? exc_invalid_op+0x38/0x50 [ 162.508332][ T2890] ? asm_exc_invalid_op+0x1a/0x20 [ 162.513390][ T2890] ? __bch2_trans_commit+0x3568/0x93c0 [ 162.518864][ T2890] ? __bch2_trans_commit+0x9231/0x93c0 [ 162.524344][ T2890] ? __bch2_trans_commit+0x9232/0x93c0 [ 162.530170][ T2890] ? srso_alias_return_thunk+0x5/0xfbef5 [ 162.535824][ T2890] ? __pfx___bch2_trans_commit+0x10/0x10 [ 162.541466][ T2890] ? bch2_dev_btree_bitmap_marked+0x2f/0xda0 [ 162.547455][ T2890] ? __bch2_trans_jset_entry_alloc+0x2c7/0x4b0 [ 162.553620][ T2890] ? btree_interior_update_work+0x117a/0x2b10 [ 162.559709][ T2890] btree_interior_update_work+0x1492/0x2b10 [ 162.565640][ T2890] ? __pfx_btree_interior_update_work+0x10/0x10 [ 162.571915][ T2890] ? __pfx_lock_acquire+0x10/0x10 [ 162.576962][ T2890] ? srso_alias_return_thunk+0x5/0xfbef5 [ 162.582610][ T2890] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 162.588608][ T2890] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 162.594959][ T2890] ? process_scheduled_works+0x976/0x1850 [ 162.600781][ T2890] process_scheduled_works+0xa65/0x1850 [ 162.606352][ T2890] ? __pfx_process_scheduled_works+0x10/0x10 [ 162.612350][ T2890] ? assign_work+0x364/0x3d0 [ 162.616954][ T2890] worker_thread+0x870/0xd30 [ 162.621560][ T2890] ? srso_alias_return_thunk+0x5/0xfbef5 [ 162.627209][ T2890] ? srso_alias_return_thunk+0x5/0xfbef5 [ 162.632859][ T2890] ? _raw_spin_unlock_irqrestore+0xdd/0x140 executing program executing program [pid 7678] write(1, "executing program\n", 18 [pid 7677] write(1, "executing program\n", 18) = 18 [pid 7677] memfd_create("syzkaller", 0) = 3 [pid 7677] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 7678] <... write resumed>) = 18 [pid 7678] memfd_create("syzkaller", 0) = 3 [pid 7678] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e2dc00000 [pid 5845] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 7637] +++ exited with 0 +++ [pid 5841] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7637, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=38 /* 0.38 s */} --- [pid 5841] umount2("./34", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5841] openat(AT_FDCWD, "./34", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5841] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] getdents64(3, 0x5555849206f0 /* 4 entries */, 32768) = 112 [pid 5841] umount2("./34/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5845] close(3 [pid 5841] newfstatat(AT_FDCWD, "./34/binderfs", [pid 5845] <... close resumed>) = 0 [pid 5841] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] rmdir("./32" [pid 5841] unlink("./34/binderfs" [pid 5845] <... rmdir resumed>) = 0 [pid 5841] <... unlink resumed>) = 0 [pid 5845] mkdir("./33", 0777 [pid 5841] umount2("./34/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] <... mkdir resumed>) = 0 [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5841] newfstatat(AT_FDCWD, "./34/file0", [pid 5845] <... openat resumed>) = 3 [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] ioctl(3, LOOP_CLR_FD [pid 5841] umount2("./34/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5841] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] close(3 [pid 5841] openat(AT_FDCWD, "./34/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5845] <... close resumed>) = 0 [pid 5841] <... openat resumed>) = 4 [pid 5845] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5841] newfstatat(4, "", [pid 5845] <... clone resumed>, child_tidptr=0x55558491f650) = 7679 [pid 5841] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5841] getdents64(4, 0x555584928730 /* 2 entries */, 32768) = 48 [pid 5841] getdents64(4, 0x555584928730 /* 0 entries */, 32768) = 0 [pid 5841] close(4) = 0 [pid 5841] rmdir("./34/file0") = 0 [pid 5841] getdents64(3, 0x5555849206f0 /* 0 entries */, 32768) = 0 [pid 5841] close(3) = 0 [pid 5841] rmdir("./34") = 0 [pid 5841] mkdir("./35", 0777) = 0 [ 162.638766][ T2890] ? __kthread_parkme+0x169/0x1d0 [ 162.643807][ T2890] ? __pfx_worker_thread+0x10/0x10 [ 162.648930][ T2890] kthread+0x2f2/0x390 [ 162.653000][ T2890] ? __pfx_worker_thread+0x10/0x10 [ 162.658125][ T2890] ? __pfx_kthread+0x10/0x10 [ 162.662716][ T2890] ret_from_fork+0x4d/0x80 [ 162.667144][ T2890] ? __pfx_kthread+0x10/0x10 [ 162.671734][ T2890] ret_from_fork_asm+0x1a/0x30 [ 162.676519][ T2890] [ 162.679534][ T2890] Modules linked in: [ 162.683848][ T2890] ---[ end trace 0000000000000000 ]--- [pid 5841] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5841] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5841] close(3) = 0 [pid 5841] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 7680 attached [pid 7680] set_robust_list(0x55558491f660, 24 [pid 5841] <... clone resumed>, child_tidptr=0x55558491f650) = 7680 [pid 7680] <... set_robust_list resumed>) = 0 [pid 7680] chdir("./35") = 0 [pid 7680] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 7680] setpgid(0, 0) = 0 [pid 7680] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7680] write(3, "1000", 4) = 4 [pid 7680] close(3) = 0 [pid 7680] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 7680] write(1, "executing program\n", 18) = 18 [pid 7680] memfd_create("syzkaller", 0) = 3 [pid 7676] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7680] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0./strace-static-x86_64: Process 7679 attached ) = 0x7f5e2dc00000 [pid 7679] set_robust_list(0x55558491f660, 24) = 0 [pid 7679] chdir("./33" [pid 7676] <... write resumed>) = 16777216 [pid 7679] <... chdir resumed>) = 0 [pid 7676] munmap(0x7f5e2dc00000, 138412032 [pid 7679] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 7676] <... munmap resumed>) = 0 [ 162.861904][ T2890] RIP: 0010:__bch2_trans_commit+0x9232/0x93c0 [ 162.868537][ T2890] Code: fd 90 0f 0b e8 cf 50 75 fd 90 0f 0b e8 c7 50 75 fd 90 0f 0b e8 bf 50 75 fd 90 0f 0b e8 b7 50 75 fd 90 0f 0b e8 af 50 75 fd 90 <0f> 0b e8 a7 50 75 fd 90 0f 0b e8 9f 50 75 fd 90 0f 0b e8 97 50 75 [ 162.894080][ T2890] RSP: 0018:ffffc9000b66f6c0 EFLAGS: 00010293 [ 162.900174][ T2890] RAX: ffffffff841f89b1 RBX: 0000000000000000 RCX: ffff88802f570000 [pid 7677] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7679] <... prctl resumed>) = 0 [pid 7678] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7676] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 7679] setpgid(0, 0 [pid 7676] <... openat resumed>) = 4 [pid 7680] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 7679] <... setpgid resumed>) = 0 [pid 7676] ioctl(4, LOOP_SET_FD, 3 [pid 7679] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 7676] <... ioctl resumed>) = 0 [ 162.908567][ T2890] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 162.916754][ T2890] RBP: ffffc9000b66f890 R08: ffffffff841f2ce8 R09: 1ffff1100d3c94a8 [ 162.925481][ T2890] R10: dffffc0000000000 R11: ffffed100d3c94a9 R12: ffff888069e00000 [ 162.933750][ T2890] R13: ffff888069e4a500 R14: 0000000000000044 R15: ffff888031cdc0d0 [ 162.941937][ T2890] FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 [ 162.951292][ T7676] loop4: detected capacity change from 0 to 32768 [pid 7676] close(3 [pid 7679] write(3, "1000", 4 [pid 7676] <... close resumed>) = 0 [pid 7679] <... write resumed>) = 4 [ 162.958976][ T2890] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 162.966127][ T2890] CR2: 00007f5e360d6320 CR3: 000000002fc2a000 CR4: 0000000000350ef0 [ 162.974744][ T2890] Kernel panic - not syncing: Fatal exception [ 162.981400][ T2890] Kernel Offset: disabled [ 162.985741][ T2890] Rebooting in 86400 seconds..