./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor196061302 <...> Warning: Permanently added '10.128.0.156' (ED25519) to the list of known hosts. execve("./syz-executor196061302", ["./syz-executor196061302"], 0x7ffe21cbf6b0 /* 10 vars */) = 0 brk(NULL) = 0x555557cd4000 brk(0x555557cd4d00) = 0x555557cd4d00 arch_prctl(ARCH_SET_FS, 0x555557cd4380) = 0 set_tid_address(0x555557cd4650) = 5830 set_robust_list(0x555557cd4660, 24) = 0 rseq(0x555557cd4ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor196061302", 4096) = 27 getrandom("\x16\x42\xd0\xed\xae\xea\x9a\x30", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555557cd4d00 brk(0x555557cf5d00) = 0x555557cf5d00 brk(0x555557cf6000) = 0x555557cf6000 mprotect(0x7ffa8e4f2000, 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 5831 attached , child_tidptr=0x555557cd4650) = 5831 [pid 5830] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5831] set_robust_list(0x555557cd4660, 24) = 0 ./strace-static-x86_64: Process 5832 attached [pid 5831] mkdir("./syzkaller.tD83xW", 0700 [pid 5832] set_robust_list(0x555557cd4660, 24) = 0 [pid 5830] <... clone resumed>, child_tidptr=0x555557cd4650) = 5832 [pid 5832] mkdir("./syzkaller.RXWU0n", 0700 [pid 5830] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5833 attached [pid 5831] <... mkdir resumed>) = 0 [pid 5830] <... clone resumed>, child_tidptr=0x555557cd4650) = 5833 [pid 5833] set_robust_list(0x555557cd4660, 24 [pid 5832] <... mkdir resumed>) = 0 [pid 5831] chmod("./syzkaller.tD83xW", 0777 [pid 5832] chmod("./syzkaller.RXWU0n", 0777 [pid 5830] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5833] <... set_robust_list resumed>) = 0 [pid 5832] <... chmod resumed>) = 0 [pid 5831] <... chmod resumed>) = 0 [pid 5833] mkdir("./syzkaller.9GzEao", 0700 [pid 5832] chdir("./syzkaller.RXWU0n" [pid 5831] chdir("./syzkaller.tD83xW"./strace-static-x86_64: Process 5834 attached [pid 5832] <... chdir resumed>) = 0 [pid 5831] <... chdir resumed>) = 0 [pid 5834] set_robust_list(0x555557cd4660, 24 [pid 5830] <... clone resumed>, child_tidptr=0x555557cd4650) = 5834 [pid 5834] <... set_robust_list resumed>) = 0 [pid 5833] <... mkdir resumed>) = 0 [pid 5832] mkdir("./0", 0777 [pid 5831] mkdir("./0", 0777 [pid 5830] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5833] chmod("./syzkaller.9GzEao", 0777) = 0 [pid 5833] chdir("./syzkaller.9GzEao" [pid 5831] <... mkdir resumed>) = 0 [pid 5833] <... chdir resumed>) = 0 [pid 5834] mkdir("./syzkaller.zgQMNr", 0700 [pid 5833] mkdir("./0", 0777 [pid 5832] <... mkdir resumed>) = 0 ./strace-static-x86_64: Process 5835 attached [pid 5833] <... mkdir resumed>) = 0 [pid 5834] <... mkdir resumed>) = 0 [pid 5832] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5830] <... clone resumed>, child_tidptr=0x555557cd4650) = 5835 [pid 5834] chmod("./syzkaller.zgQMNr", 0777 [pid 5831] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5835] set_robust_list(0x555557cd4660, 24) = 0 [pid 5832] <... openat resumed>) = 3 [pid 5835] mkdir("./syzkaller.3I5ulD", 0700 [pid 5834] <... chmod resumed>) = 0 [pid 5833] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5831] <... openat resumed>) = 3 [pid 5834] chdir("./syzkaller.zgQMNr") = 0 [pid 5832] ioctl(3, LOOP_CLR_FD [pid 5831] ioctl(3, LOOP_CLR_FD [pid 5833] <... openat resumed>) = 3 [pid 5832] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5835] <... mkdir resumed>) = 0 [pid 5834] mkdir("./0", 0777 [pid 5831] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5835] chmod("./syzkaller.3I5ulD", 0777 [pid 5833] ioctl(3, LOOP_CLR_FD [pid 5835] <... chmod resumed>) = 0 [pid 5833] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5832] close(3 [pid 5833] close(3 [pid 5835] chdir("./syzkaller.3I5ulD" [pid 5834] <... mkdir resumed>) = 0 [pid 5832] <... close resumed>) = 0 [pid 5831] close(3) = 0 [pid 5832] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5835] <... chdir resumed>) = 0 [pid 5834] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5833] <... close resumed>) = 0 [pid 5831] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5835] mkdir("./0", 0777 [pid 5834] <... openat resumed>) = 3 [pid 5833] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5838 attached ./strace-static-x86_64: Process 5837 attached [pid 5835] <... mkdir resumed>) = 0 [pid 5834] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5834] close(3) = 0 [pid 5834] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5840 attached ./strace-static-x86_64: Process 5839 attached [pid 5838] set_robust_list(0x555557cd4660, 24 [pid 5837] set_robust_list(0x555557cd4660, 24 [pid 5834] <... clone resumed>, child_tidptr=0x555557cd4650) = 5840 [pid 5839] set_robust_list(0x555557cd4660, 24 [pid 5840] set_robust_list(0x555557cd4660, 24 [pid 5839] <... set_robust_list resumed>) = 0 [pid 5839] chdir("./0" [pid 5840] <... set_robust_list resumed>) = 0 [pid 5839] <... chdir resumed>) = 0 [pid 5840] chdir("./0" [pid 5839] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5832] <... clone resumed>, child_tidptr=0x555557cd4650) = 5837 [pid 5831] <... clone resumed>, child_tidptr=0x555557cd4650) = 5838 [pid 5839] <... prctl resumed>) = 0 [pid 5838] <... set_robust_list resumed>) = 0 [pid 5837] <... set_robust_list resumed>) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5838] chdir("./0" [pid 5837] chdir("./0" [pid 5835] <... openat resumed>) = 3 [pid 5833] <... clone resumed>, child_tidptr=0x555557cd4650) = 5839 [pid 5840] <... chdir resumed>) = 0 [pid 5839] setpgid(0, 0) = 0 [pid 5840] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5839] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5840] <... prctl resumed>) = 0 [pid 5839] <... openat resumed>) = 3 [pid 5840] setpgid(0, 0) = 0 [pid 5839] write(3, "1000", 4 [pid 5840] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5839] <... write resumed>) = 4 [pid 5839] close(3 [pid 5840] <... openat resumed>) = 3 [pid 5839] <... close resumed>) = 0 [pid 5839] symlink("/dev/binderfs", "./binderfs" [pid 5840] write(3, "1000", 4 [pid 5839] <... symlink resumed>) = 0 [pid 5840] <... write resumed>) = 4 [pid 5840] close(3) = 0 executing program [pid 5839] write(1, "executing program\n", 18 [pid 5840] symlink("/dev/binderfs", "./binderfs" [pid 5839] <... write resumed>) = 18 [pid 5840] <... symlink resumed>) = 0 [pid 5839] memfd_create("syzkaller", 0 [pid 5838] <... chdir resumed>) = 0 [pid 5837] <... chdir resumed>) = 0 [pid 5835] ioctl(3, LOOP_CLR_FD [pid 5838] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5837] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5840] write(1, "executing program\n", 18 [pid 5839] <... memfd_create resumed>) = 3 executing program [pid 5835] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5838] <... prctl resumed>) = 0 [pid 5840] <... write resumed>) = 18 [pid 5839] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5837] <... prctl resumed>) = 0 [pid 5839] <... mmap resumed>) = 0x7ffa86000000 [pid 5838] setpgid(0, 0 [pid 5835] close(3 [pid 5840] memfd_create("syzkaller", 0 [pid 5838] <... setpgid resumed>) = 0 [pid 5837] setpgid(0, 0 [pid 5835] <... close resumed>) = 0 [pid 5840] <... memfd_create resumed>) = 3 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5838] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC./strace-static-x86_64: Process 5841 attached [pid 5840] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5837] <... setpgid resumed>) = 0 [pid 5840] <... mmap resumed>) = 0x7ffa86000000 [pid 5838] <... openat resumed>) = 3 [pid 5837] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5835] <... clone resumed>, child_tidptr=0x555557cd4650) = 5841 [pid 5841] set_robust_list(0x555557cd4660, 24 [pid 5838] write(3, "1000", 4 [pid 5837] <... openat resumed>) = 3 [pid 5841] <... set_robust_list resumed>) = 0 [pid 5841] chdir("./0" [pid 5838] <... write resumed>) = 4 [pid 5837] write(3, "1000", 4 [pid 5841] <... chdir resumed>) = 0 [pid 5841] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5841] setpgid(0, 0 [pid 5838] close(3 [pid 5837] <... write resumed>) = 4 [pid 5838] <... close resumed>) = 0 [pid 5837] close(3 executing program [pid 5838] symlink("/dev/binderfs", "./binderfs" [pid 5837] <... close resumed>) = 0 [pid 5841] <... setpgid resumed>) = 0 [pid 5837] symlink("/dev/binderfs", "./binderfs" [pid 5841] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5837] <... symlink resumed>) = 0 [pid 5837] write(1, "executing program\n", 18) = 18 [pid 5841] <... openat resumed>) = 3 [pid 5837] memfd_create("syzkaller", 0 [pid 5841] write(3, "1000", 4) = 4 [pid 5841] close(3 [pid 5838] <... symlink resumed>) = 0 [pid 5837] <... memfd_create resumed>) = 3 [pid 5841] <... close resumed>) = 0 [pid 5841] symlink("/dev/binderfs", "./binderfs" [pid 5838] write(1, "executing program\n", 18executing program [pid 5837] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0executing program [pid 5841] <... symlink resumed>) = 0 [pid 5838] <... write resumed>) = 18 [pid 5837] <... mmap resumed>) = 0x7ffa86000000 [pid 5841] write(1, "executing program\n", 18) = 18 [pid 5841] memfd_create("syzkaller", 0 [pid 5838] memfd_create("syzkaller", 0 [pid 5841] <... memfd_create resumed>) = 3 [pid 5841] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffa86000000 [pid 5838] <... memfd_create resumed>) = 3 [pid 5838] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffa86000000 [pid 5837] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5839] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5838] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5840] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5837] <... write resumed>) = 16777216 [pid 5837] munmap(0x7ffa86000000, 138412032 [pid 5838] <... write resumed>) = 16777216 [pid 5837] <... munmap resumed>) = 0 [pid 5839] <... write resumed>) = 16777216 [pid 5838] munmap(0x7ffa86000000, 138412032 [pid 5837] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 5841] <... write resumed>) = 16777216 [pid 5837] ioctl(4, LOOP_SET_FD, 3 [pid 5841] munmap(0x7ffa86000000, 138412032 [pid 5839] munmap(0x7ffa86000000, 138412032 [pid 5841] <... munmap resumed>) = 0 [pid 5840] <... write resumed>) = 16777216 [pid 5841] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5840] munmap(0x7ffa86000000, 138412032 [pid 5837] <... ioctl resumed>) = 0 [pid 5841] <... openat resumed>) = 4 [pid 5838] <... munmap resumed>) = 0 [pid 5838] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5841] ioctl(4, LOOP_SET_FD, 3 [pid 5840] <... munmap resumed>) = 0 [pid 5839] <... munmap resumed>) = 0 [pid 5837] close(3 [pid 5840] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5838] <... openat resumed>) = 4 [pid 5837] <... close resumed>) = 0 [pid 5840] <... openat resumed>) = 4 [pid 5838] ioctl(4, LOOP_SET_FD, 3 [pid 5837] close(4 [ 63.181906][ T5837] loop1: detected capacity change from 0 to 32768 [ 63.219805][ T5841] loop4: detected capacity change from 0 to 32768 [pid 5841] <... ioctl resumed>) = 0 [pid 5840] ioctl(4, LOOP_SET_FD, 3 [pid 5839] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5837] <... close resumed>) = 0 [pid 5841] close(3 [pid 5839] <... openat resumed>) = 4 [pid 5839] ioctl(4, LOOP_SET_FD, 3 [pid 5838] <... ioctl resumed>) = 0 [pid 5838] close(3 [pid 5841] <... close resumed>) = 0 [pid 5837] mkdir("./file0", 0777 [pid 5838] <... close resumed>) = 0 [pid 5841] close(4 [pid 5838] close(4 [pid 5837] <... mkdir resumed>) = 0 [pid 5841] <... close resumed>) = 0 [pid 5838] <... close resumed>) = 0 [pid 5837] mount("/dev/loop1", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 5841] mkdir("./file0", 0777 [pid 5838] mkdir("./file0", 0777 [pid 5841] <... mkdir resumed>) = 0 [pid 5838] <... mkdir resumed>) = 0 [pid 5841] mount("/dev/loop4", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 5838] mount("/dev/loop0", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 5839] <... ioctl resumed>) = 0 [pid 5839] close(3) = 0 [pid 5839] close(4) = 0 [pid 5839] mkdir("./file0", 0777) = 0 [pid 5839] mount("/dev/loop2", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 5840] <... ioctl resumed>) = 0 [pid 5840] close(3) = 0 [pid 5840] close(4) = 0 [pid 5840] mkdir("./file0", 0777) = 0 [ 63.224309][ T5838] loop0: detected capacity change from 0 to 32768 [ 63.228289][ T5840] loop3: detected capacity change from 0 to 32768 [ 63.241428][ T5839] loop2: detected capacity change from 0 to 32768 [ 63.463606][ T5840] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 63.464375][ T5837] bcachefs (loop1): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 63.484666][ T5840] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 63.494304][ T5841] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 63.515405][ T5841] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 63.524359][ T5838] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 63.538241][ T5839] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 63.563759][ T5839] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 63.572621][ T5838] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 63.581711][ T5837] bcachefs (loop1): recovering from clean shutdown, journal seq 3338 [ 63.619751][ T5840] bcachefs: bch2_fs_get_tree() error: EINVAL [ 63.626665][ T5837] bcachefs (loop1): Version upgrade required: [ 63.626665][ T5837] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 63.626665][ T5837] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [pid 5840] mount("/dev/loop3", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"...) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5840] ioctl(3, LOOP_CLR_FD) = 0 [ 63.626665][ T5837] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [pid 5840] close(3 [pid 5841] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5841] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5839] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5841] <... openat resumed>) = 3 [pid 5841] ioctl(3, LOOP_CLR_FD) = 0 [pid 5841] close(3 [pid 5839] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5839] ioctl(3, LOOP_CLR_FD) = 0 [ 63.759067][ T5841] bcachefs: bch2_fs_get_tree() error: EINVAL [ 63.759515][ T5839] bcachefs: bch2_fs_get_tree() error: EINVAL [ 63.819168][ T5837] bcachefs (loop1): dropping and reconstructing all alloc info [pid 5839] close(3 [pid 5840] <... close resumed>) = 0 [pid 5840] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [pid 5838] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5840] exit_group(0) = ? [pid 5838] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5838] ioctl(3, LOOP_CLR_FD) = 0 [pid 5838] close(3 [pid 5840] +++ exited with 0 +++ [pid 5834] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5840, si_uid=0, si_status=0, si_utime=12 /* 0.12 s */, si_stime=31 /* 0.31 s */} --- [ 63.874505][ T5837] bcachefs (loop1): accounting_read... [ 63.884914][ T5838] bcachefs: bch2_fs_get_tree() error: EINVAL [ 63.915892][ T5837] done [ 63.918724][ T5837] bcachefs (loop1): alloc_read... done [ 63.924264][ T5837] bcachefs (loop1): stripes_read... done [pid 5834] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5834] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5834] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5834] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5834] getdents64(3, 0x555557cd56f0 /* 5 entries */, 32768) = 384 [pid 5834] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5834] newfstatat(AT_FDCWD, "./0/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5834] unlink("./0/binderfs") = 0 [pid 5834] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5834] newfstatat(AT_FDCWD, "./0/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5834] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5834] openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5834] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5834] getdents64(4, 0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 5834] getdents64(4, 0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 5834] close(4) = 0 [pid 5834] rmdir("./0/file0") = 0 [pid 5834] umount2("./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5834] newfstatat(AT_FDCWD, "./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5834] umount2("./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5834] openat(AT_FDCWD, "./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5834] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5834] getdents64(4, 0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 5834] getdents64(4, 0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 5834] close(4) = 0 [pid 5834] rmdir("./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5834] getdents64(3, 0x555557cd56f0 /* 0 entries */, 32768) = 0 [pid 5834] close(3) = 0 [pid 5834] rmdir("./0") = 0 [pid 5834] mkdir("./1", 0777) = 0 [pid 5834] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5834] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5834] close(3) = 0 [pid 5834] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5880 attached [pid 5880] set_robust_list(0x555557cd4660, 24) = 0 [pid 5834] <... clone resumed>, child_tidptr=0x555557cd4650) = 5880 [ 63.966715][ T5837] bcachefs (loop1): snapshots_read... done [pid 5880] chdir("./1") = 0 [pid 5880] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5880] setpgid(0, 0) = 0 executing program [pid 5880] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5880] write(3, "1000", 4) = 4 [pid 5880] close(3) = 0 [pid 5880] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5880] write(1, "executing program\n", 18) = 18 [pid 5880] memfd_create("syzkaller", 0) = 3 [pid 5880] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffa86000000 [pid 5839] <... close resumed>) = 0 [pid 5839] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5841] <... close resumed>) = 0 [ 63.972987][ T5837] bcachefs (loop1): check_allocations... done [ 64.063033][ T5837] bcachefs (loop1): going read-write [pid 5839] <... mkdirat resumed>) = 0 [pid 5841] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [pid 5839] exit_group(0) = ? [pid 5841] exit_group(0) = ? [pid 5841] +++ exited with 0 +++ [pid 5839] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5841, si_uid=0, si_status=0, si_utime=8 /* 0.08 s */, si_stime=43 /* 0.43 s */} --- [pid 5833] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5839, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=43 /* 0.43 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...> [pid 5833] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] <... restart_syscall resumed>) = 0 [pid 5835] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5833] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5833] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5833] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5835] <... openat resumed>) = 3 [pid 5837] <... mount resumed>) = 0 [pid 5835] newfstatat(3, "", [pid 5833] <... openat resumed>) = 3 [pid 5835] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, [pid 5833] newfstatat(3, "", [pid 5835] <... getdents64 resumed>0x555557cd56f0 /* 5 entries */, 32768) = 384 [pid 5835] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5833] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./0/binderfs", [pid 5833] getdents64(3, [pid 5835] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5833] <... getdents64 resumed>0x555557cd56f0 /* 5 entries */, 32768) = 384 [pid 5835] unlink("./0/binderfs" [pid 5833] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] <... unlink resumed>) = 0 [pid 5833] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5833] newfstatat(AT_FDCWD, "./0/binderfs", [pid 5835] newfstatat(AT_FDCWD, "./0/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5833] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5833] unlink("./0/binderfs" [pid 5837] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5833] <... unlink resumed>) = 0 [pid 5835] <... openat resumed>) = 4 [pid 5837] <... openat resumed>) = 3 [pid 5835] newfstatat(4, "", [pid 5833] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5837] chdir("./file0" [pid 5835] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5837] <... chdir resumed>) = 0 [pid 5835] getdents64(4, [pid 5833] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5837] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5835] <... getdents64 resumed>0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 5833] newfstatat(AT_FDCWD, "./0/file0", [pid 5837] <... openat resumed>) = 4 [pid 5835] getdents64(4, [pid 5837] ioctl(4, LOOP_CLR_FD [pid 5835] <... getdents64 resumed>0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 5833] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5837] <... ioctl resumed>) = 0 [pid 5835] close(4 [pid 5833] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5837] close(4 [pid 5835] <... close resumed>) = 0 [pid 5833] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5837] <... close resumed>) = 0 [pid 5835] rmdir("./0/file0" [pid 5833] openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5837] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5835] <... rmdir resumed>) = 0 [pid 5833] <... openat resumed>) = 4 [pid 5835] umount2("./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5833] newfstatat(4, "", [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5833] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5835] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 64.100069][ T5837] bcachefs (loop1): done starting filesystem [pid 5835] umount2("./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5833] getdents64(4, [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5833] <... getdents64 resumed>0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 5835] <... openat resumed>) = 4 [pid 5833] getdents64(4, [pid 5835] newfstatat(4, "", [pid 5833] <... getdents64 resumed>0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 5835] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5833] close(4 [pid 5835] getdents64(4, 0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 5833] <... close resumed>) = 0 [pid 5835] getdents64(4, 0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5835] getdents64(3, 0x555557cd56f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./0") = 0 [pid 5833] rmdir("./0/file0" [pid 5837] <... mkdirat resumed>) = 0 [pid 5833] <... rmdir resumed>) = 0 [pid 5835] mkdir("./1", 0777 [pid 5833] umount2("./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] <... mkdir resumed>) = 0 [pid 5833] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5833] newfstatat(AT_FDCWD, "./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5833] umount2("./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] <... openat resumed>) = 3 [pid 5833] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5837] exit_group(0 [pid 5833] openat(AT_FDCWD, "./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5833] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5835] ioctl(3, LOOP_CLR_FD [pid 5833] getdents64(4, [pid 5838] <... close resumed>) = 0 [pid 5837] <... exit_group resumed>) = ? [pid 5835] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5833] <... getdents64 resumed>0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 5835] close(3 [pid 5833] getdents64(4, [pid 5835] <... close resumed>) = 0 [pid 5833] <... getdents64 resumed>0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5833] close(4) = 0 [pid 5837] +++ exited with 0 +++ [pid 5832] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5837, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=44 /* 0.44 s */} --- [pid 5832] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] <... clone resumed>, child_tidptr=0x555557cd4650) = 5883 [pid 5833] rmdir("./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5832] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5832] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5832] newfstatat(3, "", ./strace-static-x86_64: Process 5883 attached [pid 5833] <... rmdir resumed>) = 0 [pid 5832] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5883] set_robust_list(0x555557cd4660, 24 [pid 5833] getdents64(3, [pid 5832] getdents64(3, [pid 5883] <... set_robust_list resumed>) = 0 [pid 5833] <... getdents64 resumed>0x555557cd56f0 /* 0 entries */, 32768) = 0 [pid 5883] chdir("./1" [pid 5833] close(3 [pid 5832] <... getdents64 resumed>0x555557cd56f0 /* 4 entries */, 32768) = 112 [pid 5833] <... close resumed>) = 0 [pid 5832] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5883] <... chdir resumed>) = 0 [pid 5833] rmdir("./0" [pid 5832] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5883] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5838] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5832] newfstatat(AT_FDCWD, "./0/binderfs", [pid 5883] <... prctl resumed>) = 0 [pid 5838] <... mkdirat resumed>) = 0 [pid 5833] <... rmdir resumed>) = 0 [pid 5832] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5883] setpgid(0, 0 [pid 5833] mkdir("./1", 0777 [pid 5883] <... setpgid resumed>) = 0 [pid 5832] unlink("./0/binderfs" [pid 5838] exit_group(0 [pid 5832] <... unlink resumed>) = 0 [pid 5838] <... exit_group resumed>) = ? [pid 5832] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5883] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5838] +++ exited with 0 +++ [pid 5833] <... mkdir resumed>) = 0 [pid 5831] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5838, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=38 /* 0.38 s */} --- [pid 5883] <... openat resumed>) = 3 [pid 5833] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5831] restart_syscall(<... resuming interrupted clone ...> [pid 5833] <... openat resumed>) = 3 [pid 5883] write(3, "1000", 4 [pid 5833] ioctl(3, LOOP_CLR_FD [pid 5883] <... write resumed>) = 4 [pid 5833] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5883] close(3) = 0 [pid 5833] close(3 [pid 5883] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5833] <... close resumed>) = 0 [pid 5833] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5831] <... restart_syscall resumed>) = 0 ./strace-static-x86_64: Process 5884 attached [pid 5833] <... clone resumed>, child_tidptr=0x555557cd4650) = 5884 [pid 5831] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5884] set_robust_list(0x555557cd4660, 24 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5884] <... set_robust_list resumed>) = 0 [pid 5831] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5884] chdir("./1" [pid 5831] <... openat resumed>) = 3 [pid 5831] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] getdents64(3, 0x555557cd56f0 /* 5 entries */, 32768) = 384 [pid 5831] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] newfstatat(AT_FDCWD, "./0/binderfs", [pid 5883] write(1, "executing program\n", 18executing program ) = 18 [pid 5831] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] unlink("./0/binderfs") = 0 [pid 5831] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] newfstatat(AT_FDCWD, "./0/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5884] <... chdir resumed>) = 0 [pid 5831] openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5884] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5831] newfstatat(4, "", [pid 5884] <... prctl resumed>) = 0 [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5884] setpgid(0, 0 [pid 5831] getdents64(4, [pid 5884] <... setpgid resumed>) = 0 [pid 5831] <... getdents64 resumed>0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 5884] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5831] getdents64(4, [pid 5884] <... openat resumed>) = 3 [pid 5883] memfd_create("syzkaller", 0 [pid 5831] <... getdents64 resumed>0x555557cdd730 /* 0 entries */, 32768) = 0 [ 64.213289][ T5837] syz-executor196 (5837) used greatest stack depth: 18160 bytes left [ 64.235510][ T5832] bcachefs (loop1): shutting down [ 64.240731][ T5832] bcachefs (loop1): going read-only [ 64.248252][ T5832] bcachefs (loop1): finished waiting for writes to stop [pid 5884] write(3, "1000", 4 [pid 5831] close(4 [pid 5883] <... memfd_create resumed>) = 3 [pid 5883] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffa86000000 [pid 5831] <... close resumed>) = 0 [pid 5831] rmdir("./0/file0" [pid 5884] <... write resumed>) = 4 [pid 5831] <... rmdir resumed>) = 0 [pid 5884] close(3 [pid 5831] umount2("./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5884] <... close resumed>) = 0 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5884] symlink("/dev/binderfs", "./binderfs" [pid 5831] newfstatat(AT_FDCWD, "./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5884] <... symlink resumed>) = 0 [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 executing program [pid 5831] umount2("./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5884] write(1, "executing program\n", 18 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5884] <... write resumed>) = 18 [pid 5884] memfd_create("syzkaller", 0 [pid 5831] openat(AT_FDCWD, "./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5884] <... memfd_create resumed>) = 3 [pid 5831] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5884] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5831] getdents64(4, [pid 5884] <... mmap resumed>) = 0x7ffa86000000 [pid 5831] <... getdents64 resumed>0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 5831] getdents64(4, 0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 5831] close(4) = 0 [pid 5831] rmdir("./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5831] getdents64(3, 0x555557cd56f0 /* 0 entries */, 32768) = 0 [pid 5831] close(3) = 0 [ 64.259422][ T5832] bcachefs (loop1): flushing journal and stopping allocators, journal seq 3339 [pid 5831] rmdir("./0") = 0 [pid 5831] mkdir("./1", 0777) = 0 [pid 5831] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5831] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5831] close(3) = 0 [pid 5831] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5885 attached , child_tidptr=0x555557cd4650) = 5885 [pid 5885] set_robust_list(0x555557cd4660, 24) = 0 [pid 5885] chdir("./1") = 0 [pid 5885] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5885] setpgid(0, 0) = 0 [pid 5885] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5885] write(3, "1000", 4) = 4 [pid 5885] close(3) = 0 [pid 5885] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5885] write(1, "executing program\n", 18) = 18 [pid 5885] memfd_create("syzkaller", 0) = 3 [pid 5885] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffa86000000 [ 64.355912][ T3613] bcachefs (loop1): bch2_write_super(): fatal error loop1: Superblock write was silently dropped! (seq 0 expected 53) [ 64.385196][ T3613] bcachefs (loop1): fatal error - emergency read only [ 64.394613][ T5832] bcachefs (loop1): flushing journal and stopping allocators complete, journal seq 3342 [ 64.435966][ T5832] bcachefs (loop1): unshutdown complete, journal seq 3342 [ 64.444347][ T5832] bcachefs (loop1): done going read-only, filesystem not clean [pid 5880] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [ 64.578961][ T5832] bcachefs (loop1): shutdown complete [pid 5884] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5883] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5885] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5880] <... write resumed>) = 16777216 [pid 5880] munmap(0x7ffa86000000, 138412032) = 0 [pid 5880] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5884] <... write resumed>) = 16777216 [pid 5880] ioctl(4, LOOP_SET_FD, 3 [pid 5884] munmap(0x7ffa86000000, 138412032 [pid 5880] <... ioctl resumed>) = 0 [pid 5884] <... munmap resumed>) = 0 [pid 5880] close(3 [pid 5884] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5880] <... close resumed>) = 0 [pid 5880] close(4 [pid 5884] <... openat resumed>) = 4 [pid 5884] ioctl(4, LOOP_SET_FD, 3 [pid 5880] <... close resumed>) = 0 [pid 5880] mkdir("./file0", 0777) = 0 [pid 5880] mount("/dev/loop3", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 5884] <... ioctl resumed>) = 0 [pid 5884] close(3) = 0 [pid 5884] close(4) = 0 [pid 5884] mkdir("./file0", 0777) = 0 [ 64.854941][ T5880] loop3: detected capacity change from 0 to 32768 [ 64.884612][ T5884] loop2: detected capacity change from 0 to 32768 [pid 5884] mount("/dev/loop2", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 5883] <... write resumed>) = 16777216 [pid 5883] munmap(0x7ffa86000000, 138412032 [pid 5885] <... write resumed>) = 16777216 [pid 5885] munmap(0x7ffa86000000, 138412032 [pid 5883] <... munmap resumed>) = 0 [pid 5883] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5883] ioctl(4, LOOP_SET_FD, 3 [pid 5885] <... munmap resumed>) = 0 [pid 5883] <... ioctl resumed>) = 0 [pid 5885] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5883] close(3 [pid 5885] ioctl(4, LOOP_SET_FD, 3 [pid 5883] <... close resumed>) = 0 [pid 5883] close(4 [pid 5885] <... ioctl resumed>) = 0 [pid 5883] <... close resumed>) = 0 [pid 5883] mkdir("./file0", 0777) = 0 [pid 5885] close(3 [pid 5883] mount("/dev/loop4", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 5885] <... close resumed>) = 0 [pid 5885] close(4) = 0 [pid 5885] mkdir("./file0", 0777) = 0 [ 64.986338][ T5883] loop4: detected capacity change from 0 to 32768 [ 65.004895][ T5885] loop0: detected capacity change from 0 to 32768 [ 65.386480][ T5885] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 65.395976][ T5883] bcachefs (loop4): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 65.417566][ T5885] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 65.426377][ T5884] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 65.446484][ T5883] bcachefs (loop4): recovering from clean shutdown, journal seq 3338 [ 65.460119][ T5884] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 65.468641][ T5880] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 65.485107][ T5883] bcachefs (loop4): Version upgrade required: [ 65.485107][ T5883] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 65.485107][ T5883] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 65.485107][ T5883] 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 [ 65.564681][ T5880] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [pid 5885] mount("/dev/loop0", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"...) = -1 EINVAL (Invalid argument) [pid 5885] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5885] ioctl(3, LOOP_CLR_FD) = 0 [ 65.637195][ T5883] bcachefs (loop4): dropping and reconstructing all alloc info [ 65.659866][ T5885] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5885] close(3 [pid 5884] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5832] <... umount2 resumed>) = 0 [pid 5884] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5884] ioctl(3, LOOP_CLR_FD) = 0 [ 65.718751][ T5883] bcachefs (loop4): accounting_read... [ 65.735161][ T5884] bcachefs: bch2_fs_get_tree() error: EINVAL [ 65.766812][ T5883] done [ 65.769628][ T5883] bcachefs (loop4): alloc_read... done [pid 5884] close(3 [pid 5832] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5832] newfstatat(AT_FDCWD, "./0/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5832] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5832] openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5832] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5832] getdents64(4, 0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 5832] getdents64(4, [pid 5880] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5880] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5832] <... getdents64 resumed>0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 5880] <... openat resumed>) = 3 [pid 5832] close(4 [pid 5880] ioctl(3, LOOP_CLR_FD [pid 5832] <... close resumed>) = 0 [pid 5880] <... ioctl resumed>) = 0 [pid 5832] rmdir("./0/file0") = 0 [pid 5880] close(3 [pid 5832] getdents64(3, 0x555557cd56f0 /* 0 entries */, 32768) = 0 [pid 5832] close(3) = 0 [pid 5832] rmdir("./0") = 0 [pid 5832] mkdir("./1", 0777) = 0 [ 65.794579][ T5883] bcachefs (loop4): stripes_read... done [ 65.807872][ T5880] bcachefs: bch2_fs_get_tree() error: EINVAL [ 65.813040][ T5883] bcachefs (loop4): snapshots_read... done [pid 5832] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5832] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5832] close(3) = 0 [pid 5832] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5916 attached [pid 5885] <... close resumed>) = 0 [pid 5916] set_robust_list(0x555557cd4660, 24 [pid 5832] <... clone resumed>, child_tidptr=0x555557cd4650) = 5916 [pid 5916] <... set_robust_list resumed>) = 0 [pid 5916] chdir("./1") = 0 [pid 5916] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5885] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5916] <... prctl resumed>) = 0 [pid 5885] <... mkdirat resumed>) = 0 [pid 5885] exit_group(0) = ? [pid 5916] setpgid(0, 0 [pid 5885] +++ exited with 0 +++ [pid 5916] <... setpgid resumed>) = 0 [pid 5831] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5885, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=50 /* 0.50 s */} --- [pid 5916] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5831] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5916] write(3, "1000", 4 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5916] <... write resumed>) = 4 [pid 5831] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5916] close(3) = 0 [pid 5831] <... openat resumed>) = 3 [pid 5916] symlink("/dev/binderfs", "./binderfs" [pid 5831] newfstatat(3, "", executing program [pid 5916] <... symlink resumed>) = 0 [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5916] write(1, "executing program\n", 18 [pid 5831] getdents64(3, [pid 5916] <... write resumed>) = 18 [pid 5831] <... getdents64 resumed>0x555557cd56f0 /* 5 entries */, 32768) = 384 [pid 5831] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] newfstatat(AT_FDCWD, "./1/binderfs", [pid 5916] memfd_create("syzkaller", 0 [pid 5831] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5916] <... memfd_create resumed>) = 3 [pid 5831] unlink("./1/binderfs" [pid 5916] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5831] <... unlink resumed>) = 0 [pid 5916] <... mmap resumed>) = 0x7ffa86000000 [pid 5831] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] newfstatat(AT_FDCWD, "./1/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] openat(AT_FDCWD, "./1/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5831] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] getdents64(4, 0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 5831] getdents64(4, 0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 5831] close(4) = 0 [pid 5831] rmdir("./1/file0") = 0 [pid 5831] umount2("./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] newfstatat(AT_FDCWD, "./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] umount2("./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] openat(AT_FDCWD, "./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5831] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] getdents64(4, 0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 5831] getdents64(4, 0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 5831] close(4) = 0 [pid 5831] rmdir("./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5831] getdents64(3, 0x555557cd56f0 /* 0 entries */, 32768) = 0 [pid 5831] close(3) = 0 [pid 5831] rmdir("./1") = 0 [pid 5831] mkdir("./2", 0777) = 0 [pid 5831] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5831] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5831] close(3) = 0 [pid 5831] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5917 attached , child_tidptr=0x555557cd4650) = 5917 [pid 5917] set_robust_list(0x555557cd4660, 24) = 0 [pid 5917] chdir("./2") = 0 [pid 5917] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5917] setpgid(0, 0) = 0 [pid 5917] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5917] write(3, "1000", 4) = 4 [pid 5917] close(3) = 0 [pid 5917] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 5917] write(1, "executing program\n", 18) = 18 [pid 5917] memfd_create("syzkaller", 0) = 3 [ 65.832392][ T5883] bcachefs (loop4): check_allocations... done [pid 5917] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffa86000000 [pid 5884] <... close resumed>) = 0 [pid 5884] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [pid 5884] exit_group(0) = ? [ 65.996233][ T5883] bcachefs (loop4): going read-write [pid 5884] +++ exited with 0 +++ [pid 5833] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5884, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=39 /* 0.39 s */} --- [pid 5833] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5833] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5833] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5833] getdents64(3, 0x555557cd56f0 /* 5 entries */, 32768) = 384 [pid 5833] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5833] newfstatat(AT_FDCWD, "./1/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5833] unlink("./1/binderfs") = 0 [pid 5833] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5833] newfstatat(AT_FDCWD, "./1/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5833] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5833] openat(AT_FDCWD, "./1/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5833] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5833] getdents64(4, 0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 5833] getdents64(4, [pid 5883] <... mount resumed>) = 0 [pid 5833] <... getdents64 resumed>0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 5833] close(4) = 0 [pid 5833] rmdir("./1/file0" [pid 5883] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 5880] <... close resumed>) = 0 [pid 5833] <... rmdir resumed>) = 0 [pid 5880] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5833] umount2("./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5880] <... mkdirat resumed>) = 0 [pid 5883] <... openat resumed>) = 3 [pid 5833] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5883] chdir("./file0" [pid 5880] exit_group(0 [pid 5833] newfstatat(AT_FDCWD, "./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5883] <... chdir resumed>) = 0 [pid 5880] <... exit_group resumed>) = ? [pid 5833] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5883] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5833] umount2("./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5883] <... openat resumed>) = 4 [pid 5880] +++ exited with 0 +++ [pid 5883] ioctl(4, LOOP_CLR_FD [pid 5833] openat(AT_FDCWD, "./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5883] <... ioctl resumed>) = 0 [pid 5883] close(4 [pid 5834] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5880, si_uid=0, si_status=0, si_utime=8 /* 0.08 s */, si_stime=38 /* 0.38 s */} --- [pid 5833] <... openat resumed>) = 4 [pid 5883] <... close resumed>) = 0 [pid 5834] restart_syscall(<... resuming interrupted clone ...> [pid 5833] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5833] getdents64(4, 0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 5833] getdents64(4, 0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 5833] close(4) = 0 [pid 5833] rmdir("./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5883] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5834] <... restart_syscall resumed>) = 0 [pid 5833] <... rmdir resumed>) = 0 [pid 5833] getdents64(3, 0x555557cd56f0 /* 0 entries */, 32768) = 0 [ 66.036141][ T5883] bcachefs (loop4): done starting filesystem [pid 5834] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5833] close(3 [pid 5834] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5833] <... close resumed>) = 0 [pid 5834] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5833] rmdir("./1" [pid 5883] <... mkdirat resumed>) = 0 [pid 5834] <... openat resumed>) = 3 [pid 5833] <... rmdir resumed>) = 0 [pid 5834] newfstatat(3, "", [pid 5833] mkdir("./2", 0777 [pid 5883] exit_group(0 [pid 5834] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5833] <... mkdir resumed>) = 0 [pid 5834] getdents64(3, [pid 5883] <... exit_group resumed>) = ? [pid 5834] <... getdents64 resumed>0x555557cd56f0 /* 5 entries */, 32768) = 384 [pid 5833] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5833] ioctl(3, LOOP_CLR_FD [pid 5883] +++ exited with 0 +++ [pid 5834] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5833] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5883, si_uid=0, si_status=0, si_utime=11 /* 0.11 s */, si_stime=31 /* 0.31 s */} --- [pid 5834] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5833] close(3 [pid 5834] newfstatat(AT_FDCWD, "./1/binderfs", [pid 5833] <... close resumed>) = 0 [pid 5834] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5833] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5834] unlink("./1/binderfs") = 0 [pid 5834] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5833] <... clone resumed>, child_tidptr=0x555557cd4650) = 5920 [pid 5834] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] newfstatat(AT_FDCWD, "./1/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 ./strace-static-x86_64: Process 5920 attached [pid 5834] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5920] set_robust_list(0x555557cd4660, 24) = 0 [pid 5835] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5920] chdir("./2" [pid 5835] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", [pid 5920] <... chdir resumed>) = 0 [pid 5835] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5834] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5920] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5835] getdents64(3, [pid 5834] openat(AT_FDCWD, "./1/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5835] <... getdents64 resumed>0x555557cd56f0 /* 4 entries */, 32768) = 112 [pid 5834] <... openat resumed>) = 4 [pid 5835] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5834] newfstatat(4, "", [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5835] newfstatat(AT_FDCWD, "./1/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./1/binderfs") = 0 [pid 5920] <... prctl resumed>) = 0 [pid 5835] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5920] setpgid(0, 0 [pid 5834] getdents64(4, 0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 5834] getdents64(4, 0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 5920] <... setpgid resumed>) = 0 [pid 5834] close(4 [pid 5920] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5834] <... close resumed>) = 0 [pid 5834] rmdir("./1/file0") = 0 [pid 5834] umount2("./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5834] newfstatat(AT_FDCWD, "./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5920] <... openat resumed>) = 3 [pid 5834] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5920] write(3, "1000", 4 [pid 5834] umount2("./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5920] <... write resumed>) = 4 [pid 5834] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5920] close(3 [pid 5834] openat(AT_FDCWD, "./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5834] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5834] getdents64(4, [pid 5920] <... close resumed>) = 0 [pid 5834] <... getdents64 resumed>0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 5920] symlink("/dev/binderfs", "./binderfs" [pid 5834] getdents64(4, executing program [pid 5920] <... symlink resumed>) = 0 [pid 5834] <... getdents64 resumed>0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 5920] write(1, "executing program\n", 18 [pid 5834] close(4 [pid 5920] <... write resumed>) = 18 [pid 5834] <... close resumed>) = 0 [pid 5920] memfd_create("syzkaller", 0 [pid 5834] rmdir("./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5920] <... memfd_create resumed>) = 3 [pid 5920] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5834] <... rmdir resumed>) = 0 [pid 5920] <... mmap resumed>) = 0x7ffa86000000 [pid 5834] getdents64(3, 0x555557cd56f0 /* 0 entries */, 32768) = 0 [pid 5834] close(3) = 0 [pid 5834] rmdir("./1") = 0 [ 66.149453][ T5835] bcachefs (loop4): shutting down [ 66.162185][ T5835] bcachefs (loop4): going read-only [ 66.179318][ T5835] bcachefs (loop4): finished waiting for writes to stop [pid 5834] mkdir("./2", 0777) = 0 [pid 5834] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5834] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [ 66.204133][ T5835] bcachefs (loop4): flushing journal and stopping allocators, journal seq 3339 [pid 5834] close(3) = 0 [pid 5834] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5922 attached , child_tidptr=0x555557cd4650) = 5922 [pid 5922] set_robust_list(0x555557cd4660, 24) = 0 [pid 5922] chdir("./2") = 0 [pid 5922] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5922] setpgid(0, 0) = 0 [pid 5922] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5922] write(3, "1000", 4) = 4 [pid 5922] close(3) = 0 [pid 5922] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 5922] write(1, "executing program\n", 18) = 18 [pid 5922] memfd_create("syzkaller", 0) = 3 [pid 5917] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5922] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffa86000000 [ 66.299993][ T11] bcachefs (loop4): bch2_write_super(): fatal error loop4: Superblock write was silently dropped! (seq 0 expected 53) [ 66.354628][ T11] bcachefs (loop4): fatal error - emergency read only [ 66.364700][ T5835] bcachefs (loop4): flushing journal and stopping allocators complete, journal seq 3342 [ 66.394927][ T5835] bcachefs (loop4): unshutdown complete, journal seq 3342 [ 66.435659][ T5835] bcachefs (loop4): done going read-only, filesystem not clean [pid 5916] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [ 66.512501][ T5835] bcachefs (loop4): shutdown complete [pid 5920] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5922] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5917] <... write resumed>) = 16777216 [pid 5917] munmap(0x7ffa86000000, 138412032 [pid 5916] <... write resumed>) = 16777216 [pid 5916] munmap(0x7ffa86000000, 138412032 [pid 5917] <... munmap resumed>) = 0 [pid 5917] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5917] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5917] close(3 [pid 5916] <... munmap resumed>) = 0 [pid 5917] <... close resumed>) = 0 [pid 5917] close(4 [pid 5916] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 5916] ioctl(4, LOOP_SET_FD, 3 [pid 5917] <... close resumed>) = 0 [pid 5917] mkdir("./file0", 0777 [pid 5916] <... ioctl resumed>) = 0 [pid 5916] close(3) = 0 [pid 5916] close(4 [pid 5917] <... mkdir resumed>) = 0 [pid 5916] <... close resumed>) = 0 [pid 5917] mount("/dev/loop0", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 5916] mkdir("./file0", 0777) = 0 [ 66.696801][ T5917] loop0: detected capacity change from 0 to 32768 [ 66.719689][ T5916] loop1: detected capacity change from 0 to 32768 [pid 5916] mount("/dev/loop1", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 5922] <... write resumed>) = 16777216 [pid 5922] munmap(0x7ffa86000000, 138412032) = 0 [pid 5922] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5922] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5922] close(3) = 0 [pid 5922] close(4) = 0 [pid 5920] <... write resumed>) = 16777216 [pid 5922] mkdir("./file0", 0777) = 0 [pid 5920] munmap(0x7ffa86000000, 138412032 [pid 5922] mount("/dev/loop3", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 5920] <... munmap resumed>) = 0 [pid 5920] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5920] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5920] close(3) = 0 [pid 5920] close(4) = 0 [pid 5920] mkdir("./file0", 0777) = 0 [ 66.854500][ T5922] loop3: detected capacity change from 0 to 32768 [ 66.891377][ T5920] loop2: detected capacity change from 0 to 32768 [ 67.282842][ T5917] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 67.285384][ T5916] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 67.304579][ T5917] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 67.321249][ T5917] bcachefs (loop0): Version upgrade required: [ 67.321249][ T5917] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 67.321249][ T5917] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 67.321249][ T5917] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 67.341786][ T5916] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 67.394722][ T5922] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 67.424229][ T5922] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 67.433698][ T5917] bcachefs (loop0): dropping and reconstructing all alloc info [ 67.441480][ T5920] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 67.478193][ T5920] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [pid 5920] mount("/dev/loop2", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 5835] <... umount2 resumed>) = 0 [pid 5916] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5835] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5916] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 67.527257][ T5917] bcachefs (loop0): accounting_read... done [ 67.541328][ T5917] bcachefs (loop0): alloc_read... done [ 67.555184][ T5917] bcachefs (loop0): stripes_read... done [ 67.555677][ T5916] bcachefs: bch2_fs_get_tree() error: EINVAL [ 67.560904][ T5917] bcachefs (loop0): snapshots_read... done [pid 5916] <... openat resumed>) = 3 [pid 5835] newfstatat(AT_FDCWD, "./1/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5916] ioctl(3, LOOP_CLR_FD) = 0 [pid 5835] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5916] close(3 [pid 5835] openat(AT_FDCWD, "./1/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./1/file0") = 0 [pid 5835] getdents64(3, 0x555557cd56f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./1") = 0 [pid 5835] mkdir("./2", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5952 attached [pid 5952] set_robust_list(0x555557cd4660, 24) = 0 [pid 5835] <... clone resumed>, child_tidptr=0x555557cd4650) = 5952 [pid 5952] chdir("./2") = 0 [pid 5952] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5952] setpgid(0, 0) = 0 [pid 5952] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5952] write(3, "1000", 4) = 4 [pid 5952] close(3) = 0 [pid 5952] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5952] write(1, "executing program\n", 18executing program ) = 18 [pid 5920] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5952] memfd_create("syzkaller", 0) = 3 [pid 5920] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5952] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5920] <... openat resumed>) = 3 [pid 5952] <... mmap resumed>) = 0x7ffa86000000 [pid 5920] ioctl(3, LOOP_CLR_FD) = 0 [ 67.591036][ T5917] bcachefs (loop0): check_allocations... done [ 67.699574][ T5920] bcachefs: bch2_fs_get_tree() error: EINVAL [ 67.715238][ T5917] bcachefs (loop0): going read-write [pid 5920] close(3 [pid 5922] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5922] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5922] ioctl(3, LOOP_CLR_FD) = 0 [ 67.752954][ T5922] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5922] close(3 [pid 5917] <... mount resumed>) = 0 [pid 5916] <... close resumed>) = 0 [pid 5916] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [pid 5916] exit_group(0) = ? [pid 5916] +++ exited with 0 +++ [pid 5832] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5916, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=46 /* 0.46 s */} --- [pid 5832] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5832] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5917] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 5832] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5832] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5832] getdents64(3, 0x555557cd56f0 /* 5 entries */, 32768) = 384 [pid 5832] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5832] newfstatat(AT_FDCWD, "./1/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5832] unlink("./1/binderfs") = 0 [pid 5832] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5832] newfstatat(AT_FDCWD, "./1/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5917] <... openat resumed>) = 3 [pid 5832] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5832] openat(AT_FDCWD, "./1/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5832] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5832] getdents64(4, [pid 5917] chdir("./file0" [pid 5832] <... getdents64 resumed>0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 5832] getdents64(4, 0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 5917] <... chdir resumed>) = 0 [ 67.806843][ T5917] bcachefs (loop0): done starting filesystem [pid 5832] close(4) = 0 [pid 5832] rmdir("./1/file0") = 0 [pid 5832] umount2("./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5832] newfstatat(AT_FDCWD, "./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5832] umount2("./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5832] openat(AT_FDCWD, "./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5917] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5832] <... openat resumed>) = 4 [pid 5917] <... openat resumed>) = 4 [pid 5832] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5832] getdents64(4, 0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 5832] getdents64(4, 0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 5832] close(4) = 0 [pid 5832] rmdir("./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5832] getdents64(3, 0x555557cd56f0 /* 0 entries */, 32768) = 0 [pid 5832] close(3) = 0 [pid 5832] rmdir("./1" [pid 5917] ioctl(4, LOOP_CLR_FD [pid 5832] <... rmdir resumed>) = 0 [pid 5917] <... ioctl resumed>) = 0 [pid 5832] mkdir("./2", 0777 [pid 5917] close(4) = 0 [pid 5832] <... mkdir resumed>) = 0 [pid 5917] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5832] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5832] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5832] close(3) = 0 [pid 5832] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5955 attached , child_tidptr=0x555557cd4650) = 5955 [pid 5955] set_robust_list(0x555557cd4660, 24 [pid 5917] <... mkdirat resumed>) = 0 [pid 5955] <... set_robust_list resumed>) = 0 [pid 5955] chdir("./2" [pid 5917] exit_group(0) = ? [pid 5955] <... chdir resumed>) = 0 [pid 5955] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5955] setpgid(0, 0) = 0 [pid 5917] +++ exited with 0 +++ [pid 5831] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5917, si_uid=0, si_status=0, si_utime=13 /* 0.13 s */, si_stime=34 /* 0.34 s */} --- [pid 5831] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5955] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5831] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5955] write(3, "1000", 4 [pid 5831] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5955] <... write resumed>) = 4 [pid 5955] close(3 [pid 5831] getdents64(3, [pid 5955] <... close resumed>) = 0 [pid 5831] <... getdents64 resumed>0x555557cd56f0 /* 4 entries */, 32768) = 112 [pid 5955] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5831] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] newfstatat(AT_FDCWD, "./2/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] unlink("./2/binderfs" [pid 5955] write(1, "executing program\n", 18 [pid 5831] <... unlink resumed>) = 0 [pid 5831] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOWexecuting program [pid 5955] <... write resumed>) = 18 [pid 5955] memfd_create("syzkaller", 0) = 3 [pid 5955] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffa86000000 [pid 5922] <... close resumed>) = 0 [ 68.015491][ T5831] bcachefs (loop0): shutting down [ 68.020665][ T5831] bcachefs (loop0): going read-only [ 68.049213][ T5831] bcachefs (loop0): finished waiting for writes to stop [pid 5922] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5920] <... close resumed>) = 0 [pid 5920] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5952] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5920] <... mkdirat resumed>) = 0 [pid 5920] exit_group(0 [pid 5922] <... mkdirat resumed>) = 0 [pid 5922] exit_group(0) = ? [pid 5922] +++ exited with 0 +++ [pid 5834] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5922, si_uid=0, si_status=0, si_utime=8 /* 0.08 s */, si_stime=33 /* 0.33 s */} --- [pid 5834] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5834] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5834] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5834] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5834] getdents64(3, 0x555557cd56f0 /* 5 entries */, 32768) = 384 [pid 5834] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5834] newfstatat(AT_FDCWD, "./2/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5834] unlink("./2/binderfs") = 0 [pid 5834] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5920] <... exit_group resumed>) = ? [pid 5834] newfstatat(AT_FDCWD, "./2/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5834] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5834] openat(AT_FDCWD, "./2/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5920] +++ exited with 0 +++ [pid 5834] <... openat resumed>) = 4 [pid 5834] newfstatat(4, "", [pid 5833] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5920, si_uid=0, si_status=0, si_utime=11 /* 0.11 s */, si_stime=45 /* 0.45 s */} --- [pid 5834] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5833] restart_syscall(<... resuming interrupted clone ...> [pid 5834] getdents64(4, 0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 5833] <... restart_syscall resumed>) = 0 [pid 5834] getdents64(4, 0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 5834] close(4 [pid 5833] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5834] <... close resumed>) = 0 [pid 5833] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] rmdir("./2/file0" [pid 5833] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5834] <... rmdir resumed>) = 0 [pid 5833] <... openat resumed>) = 3 [pid 5834] umount2("./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5833] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5833] getdents64(3, 0x555557cd56f0 /* 5 entries */, 32768) = 384 [pid 5833] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5834] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5833] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] newfstatat(AT_FDCWD, "./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5833] newfstatat(AT_FDCWD, "./2/binderfs", [pid 5834] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5833] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5834] umount2("./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5833] unlink("./2/binderfs" [pid 5834] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5833] <... unlink resumed>) = 0 [pid 5834] openat(AT_FDCWD, "./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5833] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5834] <... openat resumed>) = 4 [pid 5833] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] newfstatat(4, "", [pid 5833] newfstatat(AT_FDCWD, "./2/file0", [pid 5834] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5833] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5834] getdents64(4, [pid 5833] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5834] <... getdents64 resumed>0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 5833] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] getdents64(4, [pid 5833] openat(AT_FDCWD, "./2/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5834] <... getdents64 resumed>0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 5833] <... openat resumed>) = 4 [pid 5834] close(4 [pid 5833] newfstatat(4, "", [ 68.085066][ T5831] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3340 [pid 5834] <... close resumed>) = 0 [pid 5833] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5834] rmdir("./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5833] getdents64(4, [pid 5834] <... rmdir resumed>) = 0 [pid 5833] <... getdents64 resumed>0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 5834] getdents64(3, [pid 5833] getdents64(4, [pid 5834] <... getdents64 resumed>0x555557cd56f0 /* 0 entries */, 32768) = 0 [pid 5833] <... getdents64 resumed>0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 5834] close(3 [pid 5833] close(4 [pid 5834] <... close resumed>) = 0 [pid 5833] <... close resumed>) = 0 [pid 5834] rmdir("./2" [pid 5833] rmdir("./2/file0" [pid 5834] <... rmdir resumed>) = 0 [pid 5833] <... rmdir resumed>) = 0 [pid 5834] mkdir("./3", 0777 [pid 5833] umount2("./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5834] <... mkdir resumed>) = 0 [pid 5833] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5833] newfstatat(AT_FDCWD, "./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5834] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5833] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5833] umount2("./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5834] <... openat resumed>) = 3 [pid 5833] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5833] openat(AT_FDCWD, "./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5834] ioctl(3, LOOP_CLR_FD [pid 5833] <... openat resumed>) = 4 [pid 5834] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5833] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5834] close(3) = 0 [pid 5833] getdents64(4, 0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 5834] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5833] getdents64(4, [pid 5834] <... clone resumed>, child_tidptr=0x555557cd4650) = 5956 ./strace-static-x86_64: Process 5956 attached [pid 5956] set_robust_list(0x555557cd4660, 24 [pid 5833] <... getdents64 resumed>0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 5956] <... set_robust_list resumed>) = 0 [pid 5956] chdir("./3" [pid 5833] close(4 [pid 5956] <... chdir resumed>) = 0 [pid 5833] <... close resumed>) = 0 [pid 5956] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5956] setpgid(0, 0) = 0 [pid 5956] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5833] rmdir("./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5956] write(3, "1000", 4 [pid 5833] <... rmdir resumed>) = 0 [pid 5956] <... write resumed>) = 4 [pid 5956] close(3) = 0 [pid 5833] getdents64(3, [pid 5956] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 5833] <... getdents64 resumed>0x555557cd56f0 /* 0 entries */, 32768) = 0 [pid 5956] write(1, "executing program\n", 18 [pid 5833] close(3 [pid 5956] <... write resumed>) = 18 [pid 5833] <... close resumed>) = 0 [pid 5956] memfd_create("syzkaller", 0 [pid 5833] rmdir("./2" [pid 5956] <... memfd_create resumed>) = 3 [pid 5833] <... rmdir resumed>) = 0 [pid 5833] mkdir("./3", 0777 [pid 5956] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffa86000000 [pid 5833] <... mkdir resumed>) = 0 [ 68.167949][ T3613] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [pid 5833] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5833] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5833] close(3) = 0 [pid 5833] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555557cd4650) = 5957 ./strace-static-x86_64: Process 5957 attached [pid 5957] set_robust_list(0x555557cd4660, 24) = 0 [pid 5957] chdir("./3") = 0 [pid 5957] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5957] setpgid(0, 0) = 0 [ 68.215633][ T3613] bcachefs (loop0): fatal error - emergency read only [ 68.237894][ T5831] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3341 [pid 5957] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5957] write(3, "1000", 4) = 4 [pid 5957] close(3) = 0 [ 68.263274][ T5831] bcachefs (loop0): unshutdown complete, journal seq 3341 [pid 5957] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 5957] write(1, "executing program\n", 18) = 18 [pid 5957] memfd_create("syzkaller", 0 [pid 5952] <... write resumed>) = 16777216 [pid 5957] <... memfd_create resumed>) = 3 [pid 5957] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5952] munmap(0x7ffa86000000, 138412032 [pid 5957] <... mmap resumed>) = 0x7ffa86000000 [ 68.295261][ T5831] bcachefs (loop0): done going read-only, filesystem not clean [pid 5955] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5952] <... munmap resumed>) = 0 [pid 5952] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5952] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5952] close(3) = 0 [pid 5952] close(4) = 0 [pid 5952] mkdir("./file0", 0777) = 0 [ 68.347573][ T5831] bcachefs (loop0): shutdown complete [ 68.385382][ T5952] loop4: detected capacity change from 0 to 32768 [pid 5952] mount("/dev/loop4", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 5957] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5956] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5955] <... write resumed>) = 16777216 [pid 5955] munmap(0x7ffa86000000, 138412032 [pid 5957] <... write resumed>) = 16777216 [pid 5955] <... munmap resumed>) = 0 [pid 5955] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5957] munmap(0x7ffa86000000, 138412032 [pid 5955] <... openat resumed>) = 4 [pid 5955] ioctl(4, LOOP_SET_FD, 3 [pid 5957] <... munmap resumed>) = 0 [pid 5955] <... ioctl resumed>) = 0 [pid 5957] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5955] close(3 [pid 5957] <... openat resumed>) = 4 [pid 5955] <... close resumed>) = 0 [pid 5955] close(4) = 0 [pid 5955] mkdir("./file0", 0777) = 0 [pid 5957] ioctl(4, LOOP_SET_FD, 3 [pid 5955] mount("/dev/loop1", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 5956] <... write resumed>) = 16777216 [pid 5956] munmap(0x7ffa86000000, 138412032) = 0 [pid 5957] <... ioctl resumed>) = 0 [pid 5956] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5957] close(3 [pid 5956] <... openat resumed>) = 4 [ 68.735329][ T5955] loop1: detected capacity change from 0 to 32768 [ 68.775309][ T5957] loop2: detected capacity change from 0 to 32768 [pid 5956] ioctl(4, LOOP_SET_FD, 3 [pid 5957] <... close resumed>) = 0 [pid 5956] <... ioctl resumed>) = 0 [pid 5956] close(3 [pid 5957] close(4 [pid 5956] <... close resumed>) = 0 [pid 5957] <... close resumed>) = 0 [pid 5957] mkdir("./file0", 0777 [pid 5956] close(4 [pid 5957] <... mkdir resumed>) = 0 [pid 5956] <... close resumed>) = 0 [pid 5956] mkdir("./file0", 0777 [pid 5957] mount("/dev/loop2", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 5956] <... mkdir resumed>) = 0 [ 68.808625][ T5956] loop3: detected capacity change from 0 to 32768 [ 69.094818][ T5952] bcachefs (loop4): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 69.098562][ T5957] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 69.116009][ T5952] bcachefs (loop4): recovering from clean shutdown, journal seq 3338 [ 69.116165][ T5952] bcachefs (loop4): Version upgrade required: [ 69.116165][ T5952] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 69.116165][ T5952] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 69.116165][ T5952] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 69.117924][ T5952] bcachefs (loop4): dropping and reconstructing all alloc info [ 69.136746][ T5955] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 69.222324][ T5955] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 69.230554][ T5957] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 69.243143][ T5956] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 69.256872][ T5956] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [pid 5956] mount("/dev/loop3", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 5957] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5957] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5957] ioctl(3, LOOP_CLR_FD) = 0 [ 69.364903][ T5957] bcachefs: bch2_fs_get_tree() error: EINVAL [ 69.373995][ T5952] bcachefs (loop4): accounting_read... done [ 69.401510][ T5952] bcachefs (loop4): alloc_read... done [pid 5957] close(3 [pid 5955] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5956] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5955] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5955] ioctl(3, LOOP_CLR_FD) = 0 [pid 5955] close(3 [pid 5956] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5956] ioctl(3, LOOP_CLR_FD) = 0 [ 69.422222][ T5955] bcachefs: bch2_fs_get_tree() error: EINVAL [ 69.432822][ T5952] bcachefs (loop4): stripes_read... done [ 69.449489][ T5952] bcachefs (loop4): snapshots_read... done [ 69.456292][ T5956] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5956] close(3 [pid 5952] <... mount resumed>) = 0 [ 69.484348][ T5952] bcachefs (loop4): check_allocations... done [ 69.595906][ T5952] bcachefs (loop4): going read-write [ 69.615051][ T5952] bcachefs (loop4): done starting filesystem [pid 5952] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 5956] <... close resumed>) = 0 [pid 5952] <... openat resumed>) = 3 [pid 5952] chdir("./file0") = 0 [pid 5952] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5952] ioctl(4, LOOP_CLR_FD) = 0 [pid 5952] close(4) = 0 [pid 5952] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5956] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [pid 5956] exit_group(0) = ? [pid 5956] +++ exited with 0 +++ [pid 5834] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5956, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=36 /* 0.36 s */} --- [pid 5834] restart_syscall(<... resuming interrupted clone ...> [pid 5952] <... mkdirat resumed>) = 0 [pid 5834] <... restart_syscall resumed>) = 0 [pid 5834] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5834] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5952] exit_group(0 [pid 5834] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5834] getdents64(3, 0x555557cd56f0 /* 5 entries */, 32768) = 384 [pid 5952] <... exit_group resumed>) = ? [pid 5834] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5834] newfstatat(AT_FDCWD, "./3/binderfs", [pid 5952] +++ exited with 0 +++ [pid 5834] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5834] unlink("./3/binderfs" [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5952, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=31 /* 0.31 s */} --- [pid 5834] <... unlink resumed>) = 0 [pid 5835] restart_syscall(<... resuming interrupted clone ...> [pid 5834] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] <... restart_syscall resumed>) = 0 [pid 5834] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] newfstatat(AT_FDCWD, "./3/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5834] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5955] <... close resumed>) = 0 [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5834] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] <... openat resumed>) = 3 [pid 5834] openat(AT_FDCWD, "./3/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5835] newfstatat(3, "", [pid 5834] <... openat resumed>) = 4 [pid 5835] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5834] newfstatat(4, "", [pid 5835] getdents64(3, [pid 5834] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5835] <... getdents64 resumed>0x555557cd56f0 /* 4 entries */, 32768) = 112 [pid 5834] getdents64(4, 0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 5834] getdents64(4, 0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 5834] close(4) = 0 [pid 5834] rmdir("./3/file0") = 0 [pid 5834] umount2("./3/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5834] newfstatat(AT_FDCWD, "./3/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./2/binderfs", [pid 5834] umount2("./3/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5834] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5835] unlink("./2/binderfs" [pid 5834] openat(AT_FDCWD, "./3/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5835] <... unlink resumed>) = 0 [pid 5834] <... openat resumed>) = 4 [pid 5835] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5834] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5834] getdents64(4, [pid 5955] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5834] <... getdents64 resumed>0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 5831] <... umount2 resumed>) = 0 [pid 5834] getdents64(4, 0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 5955] <... mkdirat resumed>) = 0 [pid 5834] close(4 [pid 5831] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5834] <... close resumed>) = 0 [pid 5955] exit_group(0) = ? [pid 5834] rmdir("./3/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] <... rmdir resumed>) = 0 [pid 5834] getdents64(3, 0x555557cd56f0 /* 0 entries */, 32768) = 0 [pid 5834] close(3) = 0 [pid 5834] rmdir("./3" [pid 5955] +++ exited with 0 +++ [pid 5834] <... rmdir resumed>) = 0 [pid 5831] newfstatat(AT_FDCWD, "./2/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] openat(AT_FDCWD, "./2/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5831] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] getdents64(4, 0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 5831] getdents64(4, 0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 5831] close(4) = 0 [pid 5831] rmdir("./2/file0" [pid 5957] <... close resumed>) = 0 [pid 5834] mkdir("./4", 0777 [pid 5831] <... rmdir resumed>) = 0 [pid 5957] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5831] getdents64(3, [pid 5957] <... mkdirat resumed>) = 0 [pid 5834] <... mkdir resumed>) = 0 [pid 5832] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5955, si_uid=0, si_status=0, si_utime=9 /* 0.09 s */, si_stime=44 /* 0.44 s */} --- [pid 5831] <... getdents64 resumed>0x555557cd56f0 /* 0 entries */, 32768) = 0 [pid 5957] exit_group(0 [pid 5834] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5832] restart_syscall(<... resuming interrupted clone ...> [pid 5831] close(3 [pid 5957] <... exit_group resumed>) = ? [pid 5831] <... close resumed>) = 0 [pid 5957] +++ exited with 0 +++ [pid 5831] rmdir("./2" [pid 5833] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5957, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=41 /* 0.41 s */} --- [pid 5831] <... rmdir resumed>) = 0 [pid 5831] mkdir("./3", 0777 [pid 5834] <... openat resumed>) = 3 [pid 5832] <... restart_syscall resumed>) = 0 [pid 5831] <... mkdir resumed>) = 0 [pid 5833] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5833] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] <... openat resumed>) = 3 [pid 5833] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5831] ioctl(3, LOOP_CLR_FD [pid 5833] <... openat resumed>) = 3 [pid 5831] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5833] newfstatat(3, "", [pid 5831] close(3 [pid 5834] ioctl(3, LOOP_CLR_FD [pid 5833] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] <... close resumed>) = 0 [pid 5833] getdents64(3, [pid 5831] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5989 attached [pid 5834] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5833] <... getdents64 resumed>0x555557cd56f0 /* 5 entries */, 32768) = 384 [pid 5834] close(3 [pid 5832] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5834] <... close resumed>) = 0 [pid 5832] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5989] set_robust_list(0x555557cd4660, 24 [pid 5832] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY./strace-static-x86_64: Process 5990 attached [pid 5989] <... set_robust_list resumed>) = 0 [pid 5833] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] <... clone resumed>, child_tidptr=0x555557cd4650) = 5989 [pid 5989] chdir("./3" [pid 5833] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5832] <... openat resumed>) = 3 [pid 5989] <... chdir resumed>) = 0 [pid 5833] newfstatat(AT_FDCWD, "./3/binderfs", [pid 5990] set_robust_list(0x555557cd4660, 24 [ 69.729983][ T5835] bcachefs (loop4): shutting down [ 69.741344][ T5835] bcachefs (loop4): going read-only [ 69.754746][ T5835] bcachefs (loop4): finished waiting for writes to stop [ 69.768421][ T5835] bcachefs (loop4): flushing journal and stopping allocators, journal seq 3339 [pid 5989] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5834] <... clone resumed>, child_tidptr=0x555557cd4650) = 5990 [pid 5833] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5832] newfstatat(3, "", [pid 5990] <... set_robust_list resumed>) = 0 [pid 5990] chdir("./4" [pid 5989] <... prctl resumed>) = 0 [pid 5833] unlink("./3/binderfs" [pid 5832] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5989] setpgid(0, 0 [pid 5833] <... unlink resumed>) = 0 [pid 5832] getdents64(3, [pid 5833] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5990] <... chdir resumed>) = 0 [pid 5832] <... getdents64 resumed>0x555557cd56f0 /* 5 entries */, 32768) = 384 [pid 5833] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5990] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5833] newfstatat(AT_FDCWD, "./3/file0", [pid 5832] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5989] <... setpgid resumed>) = 0 [pid 5832] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5989] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5832] newfstatat(AT_FDCWD, "./2/binderfs", [pid 5833] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5989] <... openat resumed>) = 3 [pid 5832] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5990] <... prctl resumed>) = 0 [pid 5833] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5832] unlink("./2/binderfs" [pid 5990] setpgid(0, 0 [pid 5833] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5990] <... setpgid resumed>) = 0 [pid 5833] openat(AT_FDCWD, "./3/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5832] <... unlink resumed>) = 0 [pid 5989] write(3, "1000", 4 [pid 5832] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5990] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5832] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5833] <... openat resumed>) = 4 [pid 5832] newfstatat(AT_FDCWD, "./2/file0", [pid 5989] <... write resumed>) = 4 [pid 5833] newfstatat(4, "", [pid 5990] <... openat resumed>) = 3 [pid 5832] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5989] close(3 [pid 5833] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5832] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5989] <... close resumed>) = 0 [pid 5833] getdents64(4, [pid 5832] openat(AT_FDCWD, "./2/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5989] symlink("/dev/binderfs", "./binderfs" [pid 5832] <... openat resumed>) = 4 [pid 5989] <... symlink resumed>) = 0 [pid 5832] newfstatat(4, "", [pid 5989] write(1, "executing program\n", 18 [pid 5833] <... getdents64 resumed>0x555557cdd730 /* 2 entries */, 32768) = 48 executing program [pid 5989] <... write resumed>) = 18 [pid 5833] getdents64(4, [pid 5832] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5990] write(3, "1000", 4 [pid 5832] getdents64(4, [pid 5989] memfd_create("syzkaller", 0 [pid 5833] <... getdents64 resumed>0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 5832] <... getdents64 resumed>0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 5990] <... write resumed>) = 4 [pid 5989] <... memfd_create resumed>) = 3 [pid 5833] close(4 [pid 5832] getdents64(4, [pid 5833] <... close resumed>) = 0 [pid 5990] close(3 [pid 5832] <... getdents64 resumed>0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 5833] rmdir("./3/file0" [pid 5990] <... close resumed>) = 0 [pid 5832] close(4 [pid 5833] <... rmdir resumed>) = 0 [pid 5832] <... close resumed>) = 0 [pid 5833] umount2("./3/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5990] symlink("/dev/binderfs", "./binderfs" [pid 5832] rmdir("./2/file0" [pid 5833] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5990] <... symlink resumed>) = 0 [pid 5833] newfstatat(AT_FDCWD, "./3/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5989] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5832] <... rmdir resumed>) = 0 [pid 5833] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5832] umount2("./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5989] <... mmap resumed>) = 0x7ffa86000000 [pid 5832] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5833] umount2("./3/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW executing program [pid 5990] write(1, "executing program\n", 18 [pid 5833] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5832] newfstatat(AT_FDCWD, "./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5990] <... write resumed>) = 18 [pid 5833] openat(AT_FDCWD, "./3/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5832] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5990] memfd_create("syzkaller", 0 [pid 5832] umount2("./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5990] <... memfd_create resumed>) = 3 [pid 5990] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5833] newfstatat(4, "", [pid 5990] <... mmap resumed>) = 0x7ffa86000000 [pid 5832] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5833] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5832] openat(AT_FDCWD, "./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5833] getdents64(4, [pid 5832] <... openat resumed>) = 4 [pid 5833] <... getdents64 resumed>0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 5833] getdents64(4, [pid 5832] newfstatat(4, "", [pid 5833] <... getdents64 resumed>0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 5833] close(4 [pid 5832] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5833] <... close resumed>) = 0 [pid 5832] getdents64(4, 0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 5832] getdents64(4, [pid 5833] rmdir("./3/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5832] <... getdents64 resumed>0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 5833] <... rmdir resumed>) = 0 [pid 5832] close(4) = 0 [pid 5832] rmdir("./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5833] getdents64(3, [pid 5832] getdents64(3, [pid 5833] <... getdents64 resumed>0x555557cd56f0 /* 0 entries */, 32768) = 0 [pid 5832] <... getdents64 resumed>0x555557cd56f0 /* 0 entries */, 32768) = 0 [pid 5833] close(3 [pid 5832] close(3 [pid 5833] <... close resumed>) = 0 [pid 5832] <... close resumed>) = 0 [pid 5833] rmdir("./3" [pid 5832] rmdir("./2" [pid 5833] <... rmdir resumed>) = 0 [pid 5832] <... rmdir resumed>) = 0 [pid 5833] mkdir("./4", 0777) = 0 [pid 5832] mkdir("./3", 0777) = 0 [pid 5833] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5833] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5832] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5833] close(3 [pid 5832] ioctl(3, LOOP_CLR_FD [pid 5833] <... close resumed>) = 0 [pid 5832] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5833] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5832] close(3) = 0 [pid 5832] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5991 attached ./strace-static-x86_64: Process 5992 attached , child_tidptr=0x555557cd4650) = 5991 [pid 5991] set_robust_list(0x555557cd4660, 24 [pid 5992] set_robust_list(0x555557cd4660, 24 [pid 5991] <... set_robust_list resumed>) = 0 [pid 5833] <... clone resumed>, child_tidptr=0x555557cd4650) = 5992 [pid 5992] <... set_robust_list resumed>) = 0 [ 69.840345][ T35] bcachefs (loop4): bch2_write_super(): fatal error loop4: Superblock write was silently dropped! (seq 0 expected 53) [pid 5992] chdir("./4" [pid 5991] chdir("./3" [pid 5992] <... chdir resumed>) = 0 [pid 5991] <... chdir resumed>) = 0 [pid 5992] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5991] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5992] <... prctl resumed>) = 0 [pid 5991] <... prctl resumed>) = 0 [pid 5992] setpgid(0, 0 [pid 5991] setpgid(0, 0 [pid 5992] <... setpgid resumed>) = 0 [pid 5991] <... setpgid resumed>) = 0 [pid 5991] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5992] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5991] <... openat resumed>) = 3 [pid 5992] <... openat resumed>) = 3 [pid 5991] write(3, "1000", 4 [pid 5992] write(3, "1000", 4 [pid 5991] <... write resumed>) = 4 [pid 5991] close(3 [pid 5992] <... write resumed>) = 4 [pid 5991] <... close resumed>) = 0 [pid 5992] close(3) = 0 [pid 5992] symlink("/dev/binderfs", "./binderfs" [pid 5991] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5992] <... symlink resumed>) = 0 [pid 5991] write(1, "executing program\n", 18executing program ) = 18 [pid 5992] write(1, "executing program\n", 18executing program ) = 18 [ 69.896335][ T35] bcachefs (loop4): fatal error - emergency read only [ 69.903484][ T5835] bcachefs (loop4): flushing journal and stopping allocators complete, journal seq 3341 [pid 5991] memfd_create("syzkaller", 0 [pid 5992] memfd_create("syzkaller", 0 [pid 5991] <... memfd_create resumed>) = 3 [pid 5992] <... memfd_create resumed>) = 3 [pid 5992] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5991] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffa86000000 [pid 5992] <... mmap resumed>) = 0x7ffa86000000 [ 69.945196][ T5835] bcachefs (loop4): unshutdown complete, journal seq 3341 [ 69.965127][ T5835] bcachefs (loop4): done going read-only, filesystem not clean [ 70.008928][ T5835] bcachefs (loop4): shutdown complete [pid 5989] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [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 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 5989] <... write resumed>) = 16777216 [pid 5989] munmap(0x7ffa86000000, 138412032) = 0 [pid 5989] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5989] ioctl(4, LOOP_SET_FD, 3 [pid 5990] <... write resumed>) = 16777216 [pid 5990] munmap(0x7ffa86000000, 138412032) = 0 [pid 5990] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5989] <... ioctl resumed>) = 0 [ 70.465553][ T5989] loop0: detected capacity change from 0 to 32768 [pid 5990] ioctl(4, LOOP_SET_FD, 3 [pid 5989] close(3) = 0 [pid 5989] close(4 [pid 5990] <... ioctl resumed>) = 0 [pid 5989] <... close resumed>) = 0 [pid 5989] mkdir("./file0", 0777) = 0 [pid 5990] close(3 [pid 5989] mount("/dev/loop0", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 5990] <... close resumed>) = 0 [pid 5990] close(4) = 0 [pid 5990] mkdir("./file0", 0777) = 0 [ 70.505929][ T5990] loop3: detected capacity change from 0 to 32768 [pid 5990] mount("/dev/loop3", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 5992] <... write resumed>) = 16777216 [pid 5991] <... write resumed>) = 16777216 [pid 5992] munmap(0x7ffa86000000, 138412032 [pid 5991] munmap(0x7ffa86000000, 138412032) = 0 [pid 5991] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 5991] ioctl(4, LOOP_SET_FD, 3 [pid 5992] <... munmap resumed>) = 0 [pid 5992] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5991] <... ioctl resumed>) = 0 [pid 5992] <... openat resumed>) = 4 [pid 5992] ioctl(4, LOOP_SET_FD, 3 [pid 5991] close(3) = 0 [pid 5991] close(4 [pid 5992] <... ioctl resumed>) = 0 [pid 5991] <... close resumed>) = 0 [pid 5992] close(3) = 0 [pid 5991] mkdir("./file0", 0777 [pid 5992] close(4 [pid 5991] <... mkdir resumed>) = 0 [pid 5992] <... close resumed>) = 0 [pid 5991] mount("/dev/loop1", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 5992] mkdir("./file0", 0777) = 0 [ 70.611648][ T5991] loop1: detected capacity change from 0 to 32768 [ 70.625405][ T5992] loop2: detected capacity change from 0 to 32768 [ 70.915650][ T5989] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 70.936064][ T5992] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 70.946387][ T5989] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 70.955884][ T5991] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 70.956100][ T5989] bcachefs (loop0): Version upgrade required: [ 70.956100][ T5989] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 70.956100][ T5989] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 70.956100][ T5989] 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 [ 70.974681][ T5991] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 71.036021][ T5990] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 71.053192][ T5990] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 71.053937][ T5992] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 71.155009][ T5989] bcachefs (loop0): dropping and reconstructing all alloc info [pid 5992] mount("/dev/loop2", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 5990] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5990] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5990] ioctl(3, LOOP_CLR_FD) = 0 [ 71.204340][ T5989] bcachefs (loop0): accounting_read... done [ 71.215794][ T5990] bcachefs: bch2_fs_get_tree() error: EINVAL [ 71.251646][ T5992] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5990] 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 5835] <... umount2 resumed>) = 0 [ 71.260896][ T5989] bcachefs (loop0): alloc_read... done [pid 5835] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./2/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./2/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./2/file0") = 0 [ 71.316606][ T5989] bcachefs (loop0): stripes_read... done [ 71.322948][ T5989] bcachefs (loop0): snapshots_read... done [pid 5835] getdents64(3, 0x555557cd56f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./2") = 0 [pid 5835] mkdir("./3", 0777) = 0 [pid 5991] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5991] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5991] ioctl(3, LOOP_CLR_FD) = 0 [pid 5991] close(3 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555557cd4650) = 6022 [ 71.334057][ T5989] bcachefs (loop0): check_allocations... [ 71.379100][ T5991] bcachefs: bch2_fs_get_tree() error: EINVAL [ 71.399493][ T5989] done [ 71.417035][ T5989] bcachefs (loop0): going read-write ./strace-static-x86_64: Process 6022 attached [pid 5990] <... close resumed>) = 0 [pid 6022] set_robust_list(0x555557cd4660, 24) = 0 [pid 6022] chdir("./3") = 0 [pid 6022] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6022] setpgid(0, 0) = 0 [pid 6022] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5990] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5992] <... close resumed>) = 0 [pid 5990] <... mkdirat resumed>) = 0 [pid 5992] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 6022] <... openat resumed>) = 3 [pid 6022] write(3, "1000", 4 [pid 5992] <... mkdirat resumed>) = 0 [pid 6022] <... write resumed>) = 4 [pid 6022] close(3) = 0 [pid 5990] exit_group(0 [pid 6022] symlink("/dev/binderfs", "./binderfs" [pid 5990] <... exit_group resumed>) = ? [pid 5989] <... mount resumed>) = 0 [pid 5992] exit_group(0 [pid 6022] <... symlink resumed>) = 0 [pid 5992] <... exit_group resumed>) = ? [pid 5990] +++ exited with 0 +++ [pid 5989] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORYexecuting program [pid 6022] write(1, "executing program\n", 18) = 18 [pid 5834] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5990, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=34 /* 0.34 s */} --- [pid 6022] memfd_create("syzkaller", 0 [pid 5992] +++ exited with 0 +++ [pid 5989] <... openat resumed>) = 3 [pid 5834] restart_syscall(<... resuming interrupted clone ...> [pid 6022] <... memfd_create resumed>) = 3 [pid 5989] chdir("./file0" [pid 5833] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5992, si_uid=0, si_status=0, si_utime=10 /* 0.10 s */, si_stime=40 /* 0.40 s */} --- [pid 6022] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5989] <... chdir resumed>) = 0 [pid 5833] restart_syscall(<... resuming interrupted clone ...> [pid 6022] <... mmap resumed>) = 0x7ffa86000000 [pid 5989] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5834] <... restart_syscall resumed>) = 0 [pid 5833] <... restart_syscall resumed>) = 0 [pid 5989] <... openat resumed>) = 4 [pid 5989] ioctl(4, LOOP_CLR_FD) = 0 [pid 5834] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5833] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5989] close(4 [pid 5834] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5833] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5833] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5834] <... openat resumed>) = 3 [pid 5834] newfstatat(3, "", [pid 5833] <... openat resumed>) = 3 [pid 5834] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5833] newfstatat(3, "", [pid 5834] getdents64(3, [pid 5833] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5834] <... getdents64 resumed>0x555557cd56f0 /* 5 entries */, 32768) = 384 [pid 5833] getdents64(3, [pid 5834] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5833] <... getdents64 resumed>0x555557cd56f0 /* 5 entries */, 32768) = 384 [pid 5834] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5833] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5834] newfstatat(AT_FDCWD, "./4/binderfs", [pid 5833] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5833] newfstatat(AT_FDCWD, "./4/binderfs", [pid 5989] <... close resumed>) = 0 [ 71.466034][ T5989] bcachefs (loop0): done starting filesystem [pid 5834] unlink("./4/binderfs") = 0 [pid 5833] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5834] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5833] unlink("./4/binderfs" [pid 5834] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5833] <... unlink resumed>) = 0 [pid 5989] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5834] newfstatat(AT_FDCWD, "./4/file0", [pid 5833] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5834] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5833] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5833] newfstatat(AT_FDCWD, "./4/file0", [pid 5989] <... mkdirat resumed>) = 0 [pid 5834] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5833] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5989] exit_group(0 [pid 5834] openat(AT_FDCWD, "./4/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5833] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5989] <... exit_group resumed>) = ? [pid 5834] <... openat resumed>) = 4 [pid 5833] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] newfstatat(4, "", [pid 5833] openat(AT_FDCWD, "./4/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5834] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5833] <... openat resumed>) = 4 [pid 5834] getdents64(4, [pid 5833] newfstatat(4, "", [pid 5834] <... getdents64 resumed>0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 5833] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5834] getdents64(4, [pid 5833] getdents64(4, [pid 5834] <... getdents64 resumed>0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 5833] <... getdents64 resumed>0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 5834] close(4 [pid 5833] getdents64(4, [pid 5834] <... close resumed>) = 0 [pid 5833] <... getdents64 resumed>0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 5834] rmdir("./4/file0" [pid 5833] close(4 [pid 5834] <... rmdir resumed>) = 0 [pid 5989] +++ exited with 0 +++ [pid 5834] umount2("./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5833] <... close resumed>) = 0 [pid 5834] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5833] rmdir("./4/file0" [pid 5831] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5989, si_uid=0, si_status=0, si_utime=9 /* 0.09 s */, si_stime=31 /* 0.31 s */} --- [pid 5831] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5831] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5833] <... rmdir resumed>) = 0 [pid 5831] getdents64(3, [pid 5834] newfstatat(AT_FDCWD, "./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5831] <... getdents64 resumed>0x555557cd56f0 /* 4 entries */, 32768) = 112 [pid 5834] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5833] umount2("./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] umount2("./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5833] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] newfstatat(AT_FDCWD, "./3/binderfs", [pid 5834] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5833] newfstatat(AT_FDCWD, "./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5831] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5834] openat(AT_FDCWD, "./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5833] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] unlink("./3/binderfs" [pid 5834] <... openat resumed>) = 4 [pid 5833] umount2("./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] <... unlink resumed>) = 0 [pid 5834] newfstatat(4, "", [pid 5833] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5834] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5833] openat(AT_FDCWD, "./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5834] getdents64(4, [pid 5833] <... openat resumed>) = 4 [pid 5834] <... getdents64 resumed>0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 5833] newfstatat(4, "", [pid 5834] getdents64(4, [pid 5833] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5834] <... getdents64 resumed>0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 5833] getdents64(4, [pid 5834] close(4 [pid 5833] <... getdents64 resumed>0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 5834] <... close resumed>) = 0 [pid 5833] getdents64(4, [pid 5834] rmdir("./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5833] <... getdents64 resumed>0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 5834] <... rmdir resumed>) = 0 [pid 5833] close(4 [pid 5834] getdents64(3, [pid 5833] <... close resumed>) = 0 [pid 5834] <... getdents64 resumed>0x555557cd56f0 /* 0 entries */, 32768) = 0 [pid 5833] rmdir("./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5834] close(3 [pid 5833] <... rmdir resumed>) = 0 [pid 5834] <... close resumed>) = 0 [pid 5833] getdents64(3, [pid 5834] rmdir("./4" [pid 5833] <... getdents64 resumed>0x555557cd56f0 /* 0 entries */, 32768) = 0 [pid 5834] <... rmdir resumed>) = 0 [pid 5833] close(3 [pid 5834] mkdir("./5", 0777 [pid 5833] <... close resumed>) = 0 [pid 5834] <... mkdir resumed>) = 0 [pid 5833] rmdir("./4" [pid 5834] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5833] <... rmdir resumed>) = 0 [pid 5834] <... openat resumed>) = 3 [pid 5833] mkdir("./5", 0777 [pid 5834] ioctl(3, LOOP_CLR_FD [pid 5833] <... mkdir resumed>) = 0 [pid 5834] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5833] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5834] close(3 [pid 5833] <... openat resumed>) = 3 [pid 5834] <... close resumed>) = 0 [pid 5834] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5833] ioctl(3, LOOP_CLR_FD./strace-static-x86_64: Process 6025 attached ) = -1 ENXIO (No such device or address) [pid 5833] close(3) = 0 [pid 5833] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6026 attached [pid 6026] set_robust_list(0x555557cd4660, 24 [pid 6025] set_robust_list(0x555557cd4660, 24 [pid 5834] <... clone resumed>, child_tidptr=0x555557cd4650) = 6025 [pid 5833] <... clone resumed>, child_tidptr=0x555557cd4650) = 6026 [pid 6026] <... set_robust_list resumed>) = 0 [pid 6025] <... set_robust_list resumed>) = 0 [pid 6026] chdir("./5" [pid 6025] chdir("./5" [pid 6026] <... chdir resumed>) = 0 [pid 6025] <... chdir resumed>) = 0 [pid 6026] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6026] setpgid(0, 0 [pid 6025] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6025] setpgid(0, 0) = 0 [pid 6026] <... setpgid resumed>) = 0 [pid 6025] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6026] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6025] <... openat resumed>) = 3 [pid 6025] write(3, "1000", 4) = 4 executing program [pid 6026] <... openat resumed>) = 3 [pid 6025] close(3) = 0 [pid 6026] write(3, "1000", 4 [pid 6025] symlink("/dev/binderfs", "./binderfs" [pid 6026] <... write resumed>) = 4 [pid 6025] <... symlink resumed>) = 0 [pid 6026] close(3 [pid 6025] write(1, "executing program\n", 18 [pid 6026] <... close resumed>) = 0 [pid 6025] <... write resumed>) = 18 [pid 6026] symlink("/dev/binderfs", "./binderfs" [pid 6025] memfd_create("syzkaller", 0 [pid 6026] <... symlink resumed>) = 0 [pid 6025] <... memfd_create resumed>) = 3 executing program [pid 6026] write(1, "executing program\n", 18 [pid 6025] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6026] <... write resumed>) = 18 [pid 6025] <... mmap resumed>) = 0x7ffa86000000 [ 71.577362][ T5831] bcachefs (loop0): shutting down [ 71.582448][ T5831] bcachefs (loop0): going read-only [ 71.602500][ T5831] bcachefs (loop0): finished waiting for writes to stop [pid 6026] memfd_create("syzkaller", 0 [pid 5991] <... close resumed>) = 0 [pid 5991] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 6026] <... memfd_create resumed>) = 3 [pid 5991] <... mkdirat resumed>) = 0 [pid 6026] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffa86000000 [pid 5991] exit_group(0) = ? [pid 5991] +++ exited with 0 +++ [pid 5832] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5991, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=41 /* 0.41 s */} --- [pid 5832] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5832] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5832] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5832] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5832] getdents64(3, 0x555557cd56f0 /* 5 entries */, 32768) = 384 [pid 5832] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5832] newfstatat(AT_FDCWD, "./3/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5832] unlink("./3/binderfs") = 0 [pid 5832] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5832] newfstatat(AT_FDCWD, "./3/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 71.635547][ T5831] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [pid 5832] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5832] openat(AT_FDCWD, "./3/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5832] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5832] getdents64(4, 0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 5832] getdents64(4, 0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 5832] close(4) = 0 [pid 5832] rmdir("./3/file0") = 0 [pid 5832] umount2("./3/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5832] newfstatat(AT_FDCWD, "./3/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5832] umount2("./3/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5832] openat(AT_FDCWD, "./3/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5832] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5832] getdents64(4, 0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 5832] getdents64(4, 0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 5832] close(4) = 0 [pid 5832] rmdir("./3/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5832] getdents64(3, 0x555557cd56f0 /* 0 entries */, 32768) = 0 [pid 5832] close(3) = 0 [pid 5832] rmdir("./3") = 0 [pid 5832] mkdir("./4", 0777) = 0 [pid 5832] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5832] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5832] close(3) = 0 [pid 5832] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6027 attached [pid 6027] set_robust_list(0x555557cd4660, 24) = 0 [pid 6027] chdir("./4") = 0 [pid 5832] <... clone resumed>, child_tidptr=0x555557cd4650) = 6027 [pid 6027] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6027] setpgid(0, 0) = 0 [pid 6027] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6027] write(3, "1000", 4) = 4 [pid 6027] close(3) = 0 [pid 6027] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6027] write(1, "executing program\n", 18) = 18 [pid 6027] memfd_create("syzkaller", 0) = 3 [pid 6027] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffa86000000 [ 71.751362][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 71.805823][ T11] bcachefs (loop0): fatal error - emergency read only [ 71.814614][ T5831] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3342 [ 71.849094][ T5831] bcachefs (loop0): unshutdown complete, journal seq 3342 [ 71.875508][ T5831] bcachefs (loop0): done going read-only, filesystem not clean [pid 6022] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [ 71.966508][ T5831] bcachefs (loop0): shutdown complete [pid 6026] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6025] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6027] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6022] <... write resumed>) = 16777216 [pid 6022] munmap(0x7ffa86000000, 138412032) = 0 [pid 6022] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6022] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6022] close(3) = 0 [pid 6022] close(4) = 0 [pid 6022] mkdir("./file0", 0777) = 0 [ 72.246285][ T6022] loop4: detected capacity change from 0 to 32768 [pid 6022] mount("/dev/loop4", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6025] <... write resumed>) = 16777216 [pid 6025] munmap(0x7ffa86000000, 138412032 [pid 6026] <... write resumed>) = 16777216 [pid 6026] munmap(0x7ffa86000000, 138412032 [pid 6025] <... munmap resumed>) = 0 [pid 6027] <... write resumed>) = 16777216 [pid 6026] <... munmap resumed>) = 0 [pid 6025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6027] munmap(0x7ffa86000000, 138412032 [pid 6026] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6025] <... openat resumed>) = 4 [pid 6026] <... openat resumed>) = 4 [pid 6025] ioctl(4, LOOP_SET_FD, 3 [pid 6026] ioctl(4, LOOP_SET_FD, 3 [pid 6027] <... munmap resumed>) = 0 [pid 6025] <... ioctl resumed>) = 0 [pid 6027] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6026] <... ioctl resumed>) = 0 [pid 6027] <... openat resumed>) = 4 [pid 6026] close(3 [pid 6025] close(3 [pid 6027] ioctl(4, LOOP_SET_FD, 3 [pid 6025] <... close resumed>) = 0 [pid 6026] <... close resumed>) = 0 [pid 6026] close(4) = 0 [pid 6025] close(4) = 0 [pid 6025] mkdir("./file0", 0777) = 0 [pid 6025] mount("/dev/loop3", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6026] mkdir("./file0", 0777 [pid 6027] <... ioctl resumed>) = 0 [pid 6026] <... mkdir resumed>) = 0 [pid 6026] mount("/dev/loop2", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6027] close(3) = 0 [pid 6027] close(4) = 0 [pid 6027] mkdir("./file0", 0777) = 0 [ 72.387918][ T6025] loop3: detected capacity change from 0 to 32768 [ 72.395280][ T6026] loop2: detected capacity change from 0 to 32768 [ 72.409341][ T6027] loop1: detected capacity change from 0 to 32768 [ 72.719963][ T6022] bcachefs (loop4): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 72.741387][ T6022] bcachefs (loop4): recovering from clean shutdown, journal seq 3338 [ 72.749721][ T6022] bcachefs (loop4): Version upgrade required: [ 72.749721][ T6022] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 72.749721][ T6022] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 72.749721][ T6022] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 72.785789][ T6026] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 72.830238][ T6026] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 72.846062][ T6025] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 72.855843][ T6022] bcachefs (loop4): dropping and reconstructing all alloc info [ 72.869136][ T6025] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 72.875406][ T6022] bcachefs (loop4): accounting_read... [ 72.893758][ T6027] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 72.894654][ T6022] done [ 72.908438][ T6027] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 72.911677][ T6022] bcachefs (loop4): alloc_read... done [ 72.935234][ T6022] bcachefs (loop4): stripes_read... done [ 72.944902][ T6022] bcachefs (loop4): snapshots_read... done [pid 6027] mount("/dev/loop1", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6026] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6026] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 6026] ioctl(3, LOOP_CLR_FD) = 0 [ 72.950812][ T6022] bcachefs (loop4): check_allocations... [ 72.967932][ T6026] bcachefs: bch2_fs_get_tree() error: EINVAL [ 73.003101][ T6022] done [ 73.050595][ T6022] bcachefs (loop4): going read-write [pid 6026] close(3 [pid 6022] <... mount resumed>) = 0 [pid 6022] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 6025] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6022] <... openat resumed>) = 3 [pid 6022] chdir("./file0") = 0 [pid 6022] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6025] <... openat resumed>) = 3 [pid 6022] <... openat resumed>) = 4 [pid 6025] ioctl(3, LOOP_CLR_FD) = 0 [pid 6022] ioctl(4, LOOP_CLR_FD [pid 6025] close(3 [pid 6022] <... ioctl resumed>) = 0 [pid 6022] close(4) = 0 [pid 6022] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 6027] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6022] <... mkdirat resumed>) = 0 [ 73.096441][ T6022] bcachefs (loop4): done starting filesystem [ 73.104323][ T6025] bcachefs: bch2_fs_get_tree() error: EINVAL [ 73.113501][ T6027] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6022] exit_group(0) = ? [pid 6022] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6022, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=38 /* 0.38 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...> [pid 6027] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5835] <... restart_syscall resumed>) = 0 [pid 5835] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6027] <... openat resumed>) = 3 [pid 5835] <... openat resumed>) = 3 [pid 6027] ioctl(3, LOOP_CLR_FD [pid 5835] newfstatat(3, "", [pid 6027] <... ioctl resumed>) = 0 [pid 5835] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6027] close(3 [pid 5835] getdents64(3, 0x555557cd56f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./3/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./3/binderfs") = 0 [pid 5835] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] <... umount2 resumed>) = 0 [pid 5831] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] newfstatat(AT_FDCWD, "./3/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] openat(AT_FDCWD, "./3/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5831] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] getdents64(4, 0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 5831] getdents64(4, 0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 5831] close(4) = 0 [pid 5831] rmdir("./3/file0") = 0 [pid 5831] getdents64(3, 0x555557cd56f0 /* 0 entries */, 32768) = 0 [pid 5831] close(3) = 0 [pid 5831] rmdir("./3") = 0 [pid 5831] mkdir("./4", 0777) = 0 [pid 5831] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5831] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5831] close(3) = 0 [pid 5831] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6059 attached , child_tidptr=0x555557cd4650) = 6059 [pid 6059] set_robust_list(0x555557cd4660, 24) = 0 [pid 6059] chdir("./4") = 0 [pid 6059] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6059] setpgid(0, 0) = 0 [pid 6059] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6059] write(3, "1000", 4) = 4 [pid 6059] close(3) = 0 [pid 6059] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6059] write(1, "executing program\n", 18executing program ) = 18 [ 73.230252][ T5835] bcachefs (loop4): shutting down [ 73.247504][ T5835] bcachefs (loop4): going read-only [ 73.252750][ T5835] bcachefs (loop4): finished waiting for writes to stop [pid 6059] memfd_create("syzkaller", 0) = 3 [pid 6059] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffa86000000 [pid 6026] <... close resumed>) = 0 [pid 6025] <... close resumed>) = 0 [pid 6026] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [pid 6025] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 6026] exit_group(0 [pid 6025] <... mkdirat resumed>) = 0 [pid 6026] <... exit_group resumed>) = ? [pid 6025] exit_group(0 [pid 6026] +++ exited with 0 +++ [pid 6025] <... exit_group resumed>) = ? [pid 5833] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6026, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=43 /* 0.43 s */} --- [pid 5833] restart_syscall(<... resuming interrupted clone ...> [pid 6025] +++ exited with 0 +++ [pid 5834] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6025, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=38 /* 0.38 s */} --- [pid 5834] restart_syscall(<... resuming interrupted clone ...> [pid 5833] <... restart_syscall resumed>) = 0 [pid 5834] <... restart_syscall resumed>) = 0 [pid 5833] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5834] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5833] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5833] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5834] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5833] <... openat resumed>) = 3 [pid 5834] <... openat resumed>) = 3 [pid 5833] newfstatat(3, "", [pid 5834] newfstatat(3, "", [pid 5833] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5834] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5833] getdents64(3, [pid 5834] getdents64(3, [pid 5833] <... getdents64 resumed>0x555557cd56f0 /* 5 entries */, 32768) = 384 [pid 5834] <... getdents64 resumed>0x555557cd56f0 /* 5 entries */, 32768) = 384 [pid 5833] umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5834] umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5833] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5833] newfstatat(AT_FDCWD, "./5/binderfs", [pid 5834] newfstatat(AT_FDCWD, "./5/binderfs", [pid 5833] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5834] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 73.355208][ T5835] bcachefs (loop4): flushing journal and stopping allocators, journal seq 3340 [pid 5833] unlink("./5/binderfs" [pid 5834] unlink("./5/binderfs" [pid 5833] <... unlink resumed>) = 0 [pid 5834] <... unlink resumed>) = 0 [pid 5833] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5834] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5833] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5833] newfstatat(AT_FDCWD, "./5/file0", [pid 5834] newfstatat(AT_FDCWD, "./5/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5833] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5834] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5833] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5834] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5833] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6027] <... close resumed>) = 0 [pid 5834] openat(AT_FDCWD, "./5/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5833] openat(AT_FDCWD, "./5/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6027] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5834] <... openat resumed>) = 4 [pid 6027] <... mkdirat resumed>) = 0 [pid 5834] newfstatat(4, "", [pid 5833] <... openat resumed>) = 4 [pid 6027] exit_group(0 [pid 5834] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5833] newfstatat(4, "", [pid 6027] <... exit_group resumed>) = ? [pid 5834] getdents64(4, [pid 5833] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5834] <... getdents64 resumed>0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 5833] getdents64(4, [pid 6027] +++ exited with 0 +++ [pid 5834] getdents64(4, [pid 5833] <... getdents64 resumed>0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 5834] <... getdents64 resumed>0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 5833] getdents64(4, [pid 5834] close(4 [pid 5832] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6027, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=38 /* 0.38 s */} --- [pid 5833] <... getdents64 resumed>0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 5832] restart_syscall(<... resuming interrupted clone ...> [pid 5834] <... close resumed>) = 0 [pid 5833] close(4 [pid 5834] rmdir("./5/file0" [pid 5833] <... close resumed>) = 0 [pid 5834] <... rmdir resumed>) = 0 [pid 5833] rmdir("./5/file0" [pid 5834] umount2("./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5833] <... rmdir resumed>) = 0 [pid 5832] <... restart_syscall resumed>) = 0 [pid 5834] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] newfstatat(AT_FDCWD, "./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5833] umount2("./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5834] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5833] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5832] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5834] umount2("./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5833] newfstatat(AT_FDCWD, "./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5832] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] openat(AT_FDCWD, "./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5833] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5832] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5834] <... openat resumed>) = 4 [pid 5833] umount2("./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5832] newfstatat(3, "", [pid 5834] newfstatat(4, "", [pid 5833] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5833] openat(AT_FDCWD, "./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5832] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5834] getdents64(4, [pid 5832] getdents64(3, [pid 5834] <... getdents64 resumed>0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 5832] <... getdents64 resumed>0x555557cd56f0 /* 5 entries */, 32768) = 384 [pid 5834] getdents64(4, [pid 5832] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5834] <... getdents64 resumed>0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 5832] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] close(4 [pid 5832] newfstatat(AT_FDCWD, "./4/binderfs", [pid 5834] <... close resumed>) = 0 [pid 5834] rmdir("./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5832] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5833] <... openat resumed>) = 4 [pid 5834] <... rmdir resumed>) = 0 [pid 5833] newfstatat(4, "", [ 73.434843][ T12] bcachefs (loop4): bch2_write_super(): fatal error loop4: Superblock write was silently dropped! (seq 0 expected 53) [ 73.461412][ T12] bcachefs (loop4): fatal error - emergency read only [pid 5832] unlink("./4/binderfs" [pid 5834] getdents64(3, [pid 6059] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5834] <... getdents64 resumed>0x555557cd56f0 /* 0 entries */, 32768) = 0 [pid 5833] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5832] <... unlink resumed>) = 0 [pid 5834] close(3 [pid 5833] getdents64(4, [pid 5832] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5834] <... close resumed>) = 0 [pid 5833] <... getdents64 resumed>0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 5832] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] rmdir("./5") = 0 [pid 5833] getdents64(4, [pid 5832] newfstatat(AT_FDCWD, "./4/file0", [pid 5834] mkdir("./6", 0777 [pid 5833] <... getdents64 resumed>0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 5832] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5834] <... mkdir resumed>) = 0 [pid 5833] close(4 [pid 5832] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5834] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5833] <... close resumed>) = 0 [pid 5832] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] <... openat resumed>) = 3 [pid 5833] rmdir("./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5832] openat(AT_FDCWD, "./4/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5834] ioctl(3, LOOP_CLR_FD [pid 5833] <... rmdir resumed>) = 0 [pid 5832] <... openat resumed>) = 4 [pid 5834] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5833] getdents64(3, [pid 5832] newfstatat(4, "", [pid 5834] close(3 [pid 5833] <... getdents64 resumed>0x555557cd56f0 /* 0 entries */, 32768) = 0 [pid 5832] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5834] <... close resumed>) = 0 [pid 5833] close(3 [pid 5832] getdents64(4, [pid 5834] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5833] <... close resumed>) = 0 [pid 5832] <... getdents64 resumed>0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 5833] rmdir("./5" [pid 5832] getdents64(4, [pid 5833] <... rmdir resumed>) = 0 [pid 5832] <... getdents64 resumed>0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 5833] mkdir("./6", 0777 [pid 5832] close(4 [pid 5833] <... mkdir resumed>) = 0 [pid 5832] <... close resumed>) = 0 ./strace-static-x86_64: Process 6060 attached [pid 5834] <... clone resumed>, child_tidptr=0x555557cd4650) = 6060 [pid 5833] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5832] rmdir("./4/file0" [pid 5833] <... openat resumed>) = 3 [pid 5832] <... rmdir resumed>) = 0 [pid 5833] ioctl(3, LOOP_CLR_FD [pid 5832] umount2("./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5833] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5832] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5832] newfstatat(AT_FDCWD, "./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 6060] set_robust_list(0x555557cd4660, 24 [pid 5833] close(3 [pid 5832] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6060] <... set_robust_list resumed>) = 0 [pid 5833] <... close resumed>) = 0 [pid 5832] umount2("./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6060] chdir("./6" [pid 5833] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5832] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6060] <... chdir resumed>) = 0 [pid 5832] openat(AT_FDCWD, "./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6060] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5832] <... openat resumed>) = 4 [pid 6060] <... prctl resumed>) = 0 [pid 5832] newfstatat(4, "", [pid 6060] setpgid(0, 0 [pid 5832] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6060] <... setpgid resumed>) = 0 [pid 5832] getdents64(4, ./strace-static-x86_64: Process 6061 attached [pid 6060] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5833] <... clone resumed>, child_tidptr=0x555557cd4650) = 6061 [pid 5832] <... getdents64 resumed>0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 6061] set_robust_list(0x555557cd4660, 24 [pid 6060] <... openat resumed>) = 3 [pid 5832] getdents64(4, 0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 6061] <... set_robust_list resumed>) = 0 [pid 5832] close(4 [pid 6061] chdir("./6" [pid 5832] <... close resumed>) = 0 [pid 6061] <... chdir resumed>) = 0 [pid 5832] rmdir("./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [ 73.498341][ T5835] bcachefs (loop4): flushing journal and stopping allocators complete, journal seq 3342 [ 73.520756][ T5835] bcachefs (loop4): unshutdown complete, journal seq 3342 [pid 6061] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6060] write(3, "1000", 4executing program [pid 6061] setpgid(0, 0 [pid 6060] <... write resumed>) = 4 [pid 6060] close(3 [pid 5832] <... rmdir resumed>) = 0 [pid 6060] <... close resumed>) = 0 [pid 5832] getdents64(3, [pid 6060] symlink("/dev/binderfs", "./binderfs" [pid 5832] <... getdents64 resumed>0x555557cd56f0 /* 0 entries */, 32768) = 0 [pid 6060] <... symlink resumed>) = 0 [pid 5832] close(3 [pid 6060] write(1, "executing program\n", 18 [pid 5832] <... close resumed>) = 0 [pid 6060] <... write resumed>) = 18 [pid 5832] rmdir("./4" [pid 6061] <... setpgid resumed>) = 0 [pid 6060] memfd_create("syzkaller", 0 [pid 5832] <... rmdir resumed>) = 0 [pid 6060] <... memfd_create resumed>) = 3 [pid 5832] mkdir("./5", 0777 [pid 6061] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6060] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5832] <... mkdir resumed>) = 0 [pid 6060] <... mmap resumed>) = 0x7ffa86000000 [pid 5832] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6061] <... openat resumed>) = 3 [pid 6061] write(3, "1000", 4 [pid 5832] <... openat resumed>) = 3 [pid 6061] <... write resumed>) = 4 [pid 6061] close(3 [pid 5832] ioctl(3, LOOP_CLR_FD [pid 6061] <... close resumed>) = 0 [pid 5832] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6061] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6061] write(1, "executing program\n", 18) = 18 [pid 6061] memfd_create("syzkaller", 0 [pid 5832] close(3) = 0 [pid 5832] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6061] <... memfd_create resumed>) = 3 [pid 5832] <... clone resumed>, child_tidptr=0x555557cd4650) = 6062 [pid 6061] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0./strace-static-x86_64: Process 6062 attached ) = 0x7ffa86000000 [ 73.565333][ T5835] bcachefs (loop4): done going read-only, filesystem not clean [pid 6062] set_robust_list(0x555557cd4660, 24) = 0 [pid 6062] chdir("./5") = 0 [pid 6062] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6062] setpgid(0, 0) = 0 [pid 6062] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 executing program [pid 6062] write(3, "1000", 4) = 4 [pid 6062] close(3) = 0 [pid 6062] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6062] write(1, "executing program\n", 18) = 18 [pid 6062] memfd_create("syzkaller", 0) = 3 [pid 6062] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffa86000000 [ 73.676114][ T5835] bcachefs (loop4): shutdown complete [pid 6059] <... write resumed>) = 16777216 [pid 6059] munmap(0x7ffa86000000, 138412032) = 0 [pid 6059] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6059] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6059] close(3) = 0 [pid 6059] close(4) = 0 [pid 6059] mkdir("./file0", 0777) = 0 [pid 6059] mount("/dev/loop0", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [ 73.856506][ T6059] loop0: detected capacity change from 0 to 32768 [pid 6060] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6061] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6062] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6062] munmap(0x7ffa86000000, 138412032) = 0 [pid 6062] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6062] ioctl(4, LOOP_SET_FD, 3 [pid 6060] <... write resumed>) = 16777216 [pid 6062] <... ioctl resumed>) = 0 [pid 6060] munmap(0x7ffa86000000, 138412032 [pid 6062] close(3) = 0 [pid 6062] close(4) = 0 [pid 6060] <... munmap resumed>) = 0 [pid 6062] mkdir("./file0", 0777) = 0 [pid 6062] mount("/dev/loop1", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6060] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6060] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6060] close(3) = 0 [pid 6060] close(4) = 0 [pid 6060] mkdir("./file0", 0777) = 0 [pid 6060] mount("/dev/loop3", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6061] <... write resumed>) = 16777216 [pid 6061] munmap(0x7ffa86000000, 138412032) = 0 [pid 6061] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [ 74.194797][ T6062] loop1: detected capacity change from 0 to 32768 [ 74.217840][ T6060] loop3: detected capacity change from 0 to 32768 [pid 6061] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6061] close(3) = 0 [pid 6061] close(4) = 0 [pid 6061] mkdir("./file0", 0777) = 0 [ 74.262352][ T6061] loop2: detected capacity change from 0 to 32768 [ 74.402268][ T6059] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 74.423470][ T6059] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 74.431905][ T6059] bcachefs (loop0): Version upgrade required: [ 74.431905][ T6059] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 74.431905][ T6059] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 74.431905][ T6059] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 74.467161][ T6061] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 74.513346][ T6061] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 74.513808][ T6059] bcachefs (loop0): dropping and reconstructing all alloc info [ 74.541519][ T6060] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 74.551180][ T6060] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 74.574308][ T6062] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 74.603819][ T6062] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 74.652712][ T6059] bcachefs (loop0): accounting_read... done [ 74.683639][ T6059] bcachefs (loop0): alloc_read... done [ 74.695581][ T6059] bcachefs (loop0): stripes_read... done [ 74.702902][ T6059] bcachefs (loop0): snapshots_read... done [ 74.704858][ T6061] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6061] mount("/dev/loop2", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"...) = -1 EINVAL (Invalid argument) [pid 6061] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 6061] ioctl(3, LOOP_CLR_FD) = 0 [ 74.709803][ T6059] bcachefs (loop0): check_allocations... [ 74.724061][ T6060] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6061] close(3 [pid 6060] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6060] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 6060] ioctl(3, LOOP_CLR_FD) = 0 [ 74.803989][ T6059] done [pid 6060] close(3 [pid 6062] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6059] <... mount resumed>) = 0 [pid 6062] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6059] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6062] <... openat resumed>) = 3 [pid 6062] ioctl(3, LOOP_CLR_FD [pid 6059] chdir("./file0" [pid 6062] <... ioctl resumed>) = 0 [pid 6059] <... chdir resumed>) = 0 [pid 6062] close(3 [pid 6059] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6059] ioctl(4, LOOP_CLR_FD) = 0 [ 74.835721][ T6059] bcachefs (loop0): going read-write [ 74.852408][ T6062] bcachefs: bch2_fs_get_tree() error: EINVAL [ 74.863352][ T6059] bcachefs (loop0): done starting filesystem [pid 6059] close(4) = 0 [pid 6059] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [pid 5835] <... umount2 resumed>) = 0 [pid 6059] exit_group(0) = ? [pid 6059] +++ exited with 0 +++ [pid 5835] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./3/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6059, si_uid=0, si_status=0, si_utime=10 /* 0.10 s */, si_stime=39 /* 0.39 s */} --- [pid 5831] restart_syscall(<... resuming interrupted clone ...> [pid 5835] openat(AT_FDCWD, "./3/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, [pid 5831] <... restart_syscall resumed>) = 0 [pid 5835] <... getdents64 resumed>0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 5831] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] getdents64(4, [pid 5831] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5835] <... getdents64 resumed>0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 5835] close(4 [pid 5831] <... openat resumed>) = 3 [pid 5835] <... close resumed>) = 0 [pid 5831] newfstatat(3, "", [pid 5835] rmdir("./3/file0" [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5835] <... rmdir resumed>) = 0 [pid 5831] getdents64(3, 0x555557cd56f0 /* 4 entries */, 32768) = 112 [pid 5835] getdents64(3, [pid 5831] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] <... getdents64 resumed>0x555557cd56f0 /* 0 entries */, 32768) = 0 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] newfstatat(AT_FDCWD, "./4/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] unlink("./4/binderfs" [pid 5835] close(3 [pid 5831] <... unlink resumed>) = 0 [pid 5835] <... close resumed>) = 0 [pid 5835] rmdir("./3") = 0 [pid 5831] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5835] mkdir("./4", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555557cd4650) = 6094 ./strace-static-x86_64: Process 6094 attached [pid 6094] set_robust_list(0x555557cd4660, 24) = 0 [pid 6094] chdir("./4") = 0 [pid 6094] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6094] setpgid(0, 0) = 0 [pid 6094] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6094] write(3, "1000", 4) = 4 [pid 6094] close(3) = 0 [pid 6094] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6094] write(1, "executing program\n", 18) = 18 [pid 6094] memfd_create("syzkaller", 0) = 3 [pid 6094] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffa86000000 [pid 6061] <... close resumed>) = 0 [pid 6061] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [pid 6061] exit_group(0) = ? [pid 6061] +++ exited with 0 +++ [pid 5833] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6061, si_uid=0, si_status=0, si_utime=10 /* 0.10 s */, si_stime=42 /* 0.42 s */} --- [pid 5833] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5833] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5833] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5833] getdents64(3, 0x555557cd56f0 /* 5 entries */, 32768) = 384 [pid 5833] umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5833] newfstatat(AT_FDCWD, "./6/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5833] unlink("./6/binderfs") = 0 [pid 5833] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5833] newfstatat(AT_FDCWD, "./6/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5833] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5833] openat(AT_FDCWD, "./6/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5833] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5833] getdents64(4, 0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 5833] getdents64(4, 0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 5833] close(4) = 0 [pid 5833] rmdir("./6/file0") = 0 [pid 5833] umount2("./6/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5833] newfstatat(AT_FDCWD, "./6/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5833] umount2("./6/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5833] openat(AT_FDCWD, "./6/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5833] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [ 75.003139][ T5831] bcachefs (loop0): shutting down [ 75.019418][ T5831] bcachefs (loop0): going read-only [ 75.040784][ T5831] bcachefs (loop0): finished waiting for writes to stop [pid 5833] getdents64(4, 0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 5833] getdents64(4, 0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 5833] close(4) = 0 [pid 5833] rmdir("./6/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5833] getdents64(3, 0x555557cd56f0 /* 0 entries */, 32768) = 0 [pid 5833] close(3) = 0 [pid 5833] rmdir("./6") = 0 [pid 5833] mkdir("./7", 0777) = 0 [pid 5833] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5833] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5833] close(3) = 0 [pid 5833] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6095 attached [pid 6095] set_robust_list(0x555557cd4660, 24) = 0 [pid 6095] chdir("./7" [pid 5833] <... clone resumed>, child_tidptr=0x555557cd4650) = 6095 [pid 6095] <... chdir resumed>) = 0 [pid 6095] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6060] <... close resumed>) = 0 [pid 6095] <... prctl resumed>) = 0 [pid 6095] setpgid(0, 0 [pid 6060] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [pid 6060] exit_group(0 [pid 6095] <... setpgid resumed>) = 0 [pid 6060] <... exit_group resumed>) = ? [pid 6060] +++ exited with 0 +++ [pid 5834] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6060, si_uid=0, si_status=0, si_utime=8 /* 0.08 s */, si_stime=40 /* 0.40 s */} --- [pid 5834] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5834] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5834] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5834] getdents64(3, 0x555557cd56f0 /* 5 entries */, 32768) = 384 [pid 5834] umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6095] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5834] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] newfstatat(AT_FDCWD, "./6/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6095] <... openat resumed>) = 3 [pid 5834] unlink("./6/binderfs" [pid 6095] write(3, "1000", 4 [pid 5834] <... unlink resumed>) = 0 [pid 5834] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5834] newfstatat(AT_FDCWD, "./6/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5834] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5834] openat(AT_FDCWD, "./6/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5834] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5834] getdents64(4, 0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 5834] getdents64(4, 0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 5834] close(4 [pid 6095] <... write resumed>) = 4 [pid 5834] <... close resumed>) = 0 [pid 6095] close(3 [pid 5834] rmdir("./6/file0") = 0 [pid 5834] umount2("./6/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 6095] <... close resumed>) = 0 [ 75.136013][ T5831] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3340 [pid 5834] newfstatat(AT_FDCWD, "./6/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5834] umount2("./6/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6095] symlink("/dev/binderfs", "./binderfs" [pid 5834] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] openat(AT_FDCWD, "./6/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6095] <... symlink resumed>) = 0 executing program [pid 6095] write(1, "executing program\n", 18 [pid 5834] <... openat resumed>) = 4 [pid 6095] <... write resumed>) = 18 [pid 5834] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6095] memfd_create("syzkaller", 0) = 3 [pid 5834] getdents64(4, [pid 6095] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5834] <... getdents64 resumed>0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 6095] <... mmap resumed>) = 0x7ffa86000000 [pid 5834] getdents64(4, 0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 5834] close(4) = 0 [pid 5834] rmdir("./6/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5834] getdents64(3, 0x555557cd56f0 /* 0 entries */, 32768) = 0 [pid 5834] close(3) = 0 [pid 5834] rmdir("./6" [pid 6062] <... close resumed>) = 0 [pid 5834] <... rmdir resumed>) = 0 [pid 5834] mkdir("./7", 0777) = 0 [pid 6062] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [pid 6062] exit_group(0) = ? [pid 6062] +++ exited with 0 +++ [pid 5834] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5832] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6062, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=39 /* 0.39 s */} --- [pid 5834] <... openat resumed>) = 3 [pid 5834] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5834] close(3) = 0 [pid 5834] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5832] restart_syscall(<... resuming interrupted clone ...>./strace-static-x86_64: Process 6096 attached [pid 5834] <... clone resumed>, child_tidptr=0x555557cd4650) = 6096 [pid 5832] <... restart_syscall resumed>) = 0 [ 75.225769][ T5831] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3341 [ 75.256504][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [pid 5832] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5832] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5832] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5832] getdents64(3, 0x555557cd56f0 /* 5 entries */, 32768) = 384 [pid 5832] umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6096] set_robust_list(0x555557cd4660, 24 [pid 5832] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6096] <... set_robust_list resumed>) = 0 [pid 5832] newfstatat(AT_FDCWD, "./5/binderfs", [pid 6096] chdir("./7" [pid 5832] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6096] <... chdir resumed>) = 0 [pid 5832] unlink("./5/binderfs" [pid 6096] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5832] <... unlink resumed>) = 0 [pid 6096] setpgid(0, 0 [pid 5832] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6096] <... setpgid resumed>) = 0 [pid 5832] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6096] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5832] newfstatat(AT_FDCWD, "./5/file0", [pid 6096] <... openat resumed>) = 3 [pid 5832] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6096] write(3, "1000", 4 [pid 5832] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6096] <... write resumed>) = 4 [pid 5832] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5832] openat(AT_FDCWD, "./5/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6096] close(3 [pid 5832] <... openat resumed>) = 4 [pid 6096] <... close resumed>) = 0 [pid 6094] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5832] newfstatat(4, "", [pid 6096] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5832] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5832] getdents64(4, 0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 5832] getdents64(4, executing program [pid 6096] write(1, "executing program\n", 18 [pid 5832] <... getdents64 resumed>0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 6096] <... write resumed>) = 18 [pid 5832] close(4 [pid 6096] memfd_create("syzkaller", 0 [pid 5832] <... close resumed>) = 0 [ 75.271738][ T5831] bcachefs (loop0): unshutdown complete, journal seq 3342 [ 75.295047][ T11] bcachefs (loop0): fatal error - emergency read only [ 75.302358][ T11] ------------[ cut here ]------------ [ 75.308100][ T11] kernel BUG at fs/bcachefs/journal.h:375! [ 75.325531][ T11] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI [ 75.332507][ T11] CPU: 1 UID: 0 PID: 11 Comm: kworker/u8:0 Not tainted 6.12.0-rc6-syzkaller-00279-gde2f378f2b77 #0 [ 75.343184][ T11] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 [ 75.353242][ T11] Workqueue: btree_update btree_interior_update_work [ 75.359943][ T11] RIP: 0010:__bch2_trans_commit+0x9232/0x93c0 [pid 6096] <... memfd_create resumed>) = 3 [pid 5832] rmdir("./5/file0" [pid 6096] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffa86000000 [pid 5832] <... rmdir resumed>) = 0 [pid 5832] umount2("./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 75.366027][ T11] Code: fd 90 0f 0b e8 ff 75 78 fd 90 0f 0b e8 f7 75 78 fd 90 0f 0b e8 ef 75 78 fd 90 0f 0b e8 e7 75 78 fd 90 0f 0b e8 df 75 78 fd 90 <0f> 0b e8 d7 75 78 fd 90 0f 0b e8 cf 75 78 fd 90 0f 0b e8 c7 75 78 [ 75.385655][ T11] RSP: 0018:ffffc900001076c0 EFLAGS: 00010293 [ 75.391737][ T11] RAX: ffffffff841c6421 RBX: 0000000000000000 RCX: ffff88801bef3c00 [ 75.399720][ T11] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 75.407702][ T11] RBP: ffffc90000107890 R08: ffffffff841c0758 R09: 1ffff1100da894a8 [ 75.415680][ T11] R10: dffffc0000000000 R11: ffffed100da894a9 R12: ffff88806d400000 [ 75.423663][ T11] R13: ffff88806d44a500 R14: 0000000000000044 R15: ffff8880348400d0 [ 75.431650][ T11] FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 [ 75.440571][ T11] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 75.447144][ T11] CR2: 00007ffa8641a000 CR3: 0000000078654000 CR4: 00000000003526f0 [ 75.455106][ T11] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 75.463062][ T11] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 75.471022][ T11] Call Trace: [ 75.474288][ T11] [ 75.477209][ T11] ? __die_body+0x5f/0xb0 [ 75.481532][ T11] ? die+0x9e/0xc0 [ 75.485241][ T11] ? do_trap+0x15a/0x3a0 [ 75.489478][ T11] ? __bch2_trans_commit+0x9232/0x93c0 [ 75.494930][ T11] ? do_error_trap+0x1dc/0x2c0 [ 75.499683][ T11] ? __bch2_trans_commit+0x9232/0x93c0 [ 75.505135][ T11] ? __pfx_do_error_trap+0x10/0x10 [ 75.510239][ T11] ? report_bug+0x3e8/0x500 [ 75.514744][ T11] ? handle_invalid_op+0x34/0x40 [ 75.519671][ T11] ? __bch2_trans_commit+0x9232/0x93c0 [ 75.525146][ T11] ? exc_invalid_op+0x38/0x50 [ 75.529835][ T11] ? asm_exc_invalid_op+0x1a/0x20 [ 75.534875][ T11] ? __bch2_trans_commit+0x3568/0x93c0 [ 75.540358][ T11] ? __bch2_trans_commit+0x9231/0x93c0 [ 75.545815][ T11] ? __bch2_trans_commit+0x9232/0x93c0 [ 75.551280][ T11] ? __pfx___bch2_trans_commit+0x10/0x10 [ 75.556915][ T11] ? bch2_dev_btree_bitmap_marked+0x2f/0xda0 [ 75.562895][ T11] ? __bch2_trans_jset_entry_alloc+0x2c7/0x4b0 [ 75.569044][ T11] ? btree_interior_update_work+0x117a/0x2b10 [ 75.575106][ T11] btree_interior_update_work+0x1492/0x2b10 [ 75.581002][ T11] ? __pfx_btree_interior_update_work+0x10/0x10 [ 75.587247][ T11] ? __pfx_lock_acquire+0x10/0x10 [ 75.592268][ T11] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 75.598248][ T11] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 75.604573][ T11] ? process_scheduled_works+0x976/0x1850 [ 75.610291][ T11] process_scheduled_works+0xa63/0x1850 [ 75.615840][ T11] ? __pfx_process_scheduled_works+0x10/0x10 [ 75.621820][ T11] ? assign_work+0x364/0x3d0 [ 75.626414][ T11] worker_thread+0x870/0xd30 [ 75.631006][ T11] ? __kthread_parkme+0x169/0x1d0 [ 75.636026][ T11] ? __pfx_worker_thread+0x10/0x10 [ 75.641128][ T11] kthread+0x2f0/0x390 [ 75.645193][ T11] ? __pfx_worker_thread+0x10/0x10 [ 75.650294][ T11] ? __pfx_kthread+0x10/0x10 [ 75.654871][ T11] ret_from_fork+0x4b/0x80 [ 75.659284][ T11] ? __pfx_kthread+0x10/0x10 [ 75.663860][ T11] ret_from_fork_asm+0x1a/0x30 [ 75.668625][ T11] [ 75.671632][ T11] Modules linked in: [ 75.675721][ T11] ---[ end trace 0000000000000000 ]--- executing program [pid 5832] newfstatat(AT_FDCWD, "./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6094] <... write resumed>) = 16777216 [pid 5832] umount2("./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6094] munmap(0x7ffa86000000, 138412032 [pid 5832] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5832] openat(AT_FDCWD, "./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6094] <... munmap resumed>) = 0 [pid 5832] <... openat resumed>) = 4 [pid 5832] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5832] getdents64(4, 0x555557cdd730 /* 2 entries */, 32768) = 48 [pid 5832] getdents64(4, 0x555557cdd730 /* 0 entries */, 32768) = 0 [pid 5832] close(4) = 0 [pid 5832] rmdir("./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 6094] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5832] getdents64(3, 0x555557cd56f0 /* 0 entries */, 32768) = 0 [pid 5832] close(3) = 0 [pid 5832] rmdir("./5") = 0 [pid 5832] mkdir("./6", 0777) = 0 [pid 5832] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5832] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5832] close(3) = 0 [pid 5832] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6094] <... openat resumed>) = 4 [pid 5832] <... clone resumed>, child_tidptr=0x555557cd4650) = 6097 [pid 6096] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6094] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6094] close(3) = 0 [pid 6094] close(4) = 0 [pid 6094] mkdir("./file0", 0777) = 0 ./strace-static-x86_64: Process 6097 attached [pid 6094] mount("/dev/loop4", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 6097] set_robust_list(0x555557cd4660, 24) = 0 [pid 6097] chdir("./6") = 0 [pid 6097] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6097] setpgid(0, 0) = 0 [pid 6097] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6097] write(3, "1000", 4) = 4 [pid 6097] close(3) = 0 [pid 6097] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6097] write(1, "executing program\n", 18) = 18 [pid 6097] memfd_create("syzkaller", 0) = 3 [pid 6097] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffa86000000 [ 75.730046][ T6094] loop4: detected capacity change from 0 to 32768 [ 75.787484][ T11] RIP: 0010:__bch2_trans_commit+0x9232/0x93c0 [ 75.794759][ T11] Code: fd 90 0f 0b e8 ff 75 78 fd 90 0f 0b e8 f7 75 78 fd 90 0f 0b e8 ef 75 78 fd 90 0f 0b e8 e7 75 78 fd 90 0f 0b e8 df 75 78 fd 90 <0f> 0b e8 d7 75 78 fd 90 0f 0b e8 cf 75 78 fd 90 0f 0b e8 c7 75 78 [ 75.825239][ T11] RSP: 0018:ffffc900001076c0 EFLAGS: 00010293 [ 75.832284][ T11] RAX: ffffffff841c6421 RBX: 0000000000000000 RCX: ffff88801bef3c00 [ 75.840540][ T11] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 75.850048][ T11] RBP: ffffc90000107890 R08: ffffffff841c0758 R09: 1ffff1100da894a8 [ 75.858180][ T11] R10: dffffc0000000000 R11: ffffed100da894a9 R12: ffff88806d400000 [ 75.869147][ T11] R13: ffff88806d44a500 R14: 0000000000000044 R15: ffff8880348400d0 [ 75.879812][ T11] FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 [ 75.899988][ T11] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 75.907077][ T6094] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 75.927395][ T11] CR2: 00007ffa86392000 CR3: 0000000078654000 CR4: 00000000003526f0 [pid 6095] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6096] <... write resumed>) = 16777216 [pid 6096] munmap(0x7ffa86000000, 138412032) = 0 [pid 6097] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6096] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [ 75.948716][ T6094] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 75.959347][ T11] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 75.988595][ T11] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 76.005062][ T6096] loop3: detected capacity change from 0 to 32768 [ 76.011350][ T11] Kernel panic - not syncing: Fatal exception [ 76.011604][ T11] Kernel Offset: disabled