./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor1458108278 <...> Warning: Permanently added '10.128.1.22' (ED25519) to the list of known hosts. execve("./syz-executor1458108278", ["./syz-executor1458108278"], 0x7ffcf58b4960 /* 10 vars */) = 0 brk(NULL) = 0x555555ec3000 brk(0x555555ec3d00) = 0x555555ec3d00 arch_prctl(ARCH_SET_FS, 0x555555ec3380) = 0 set_tid_address(0x555555ec3650) = 5829 set_robust_list(0x555555ec3660, 24) = 0 rseq(0x555555ec3ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor1458108278", 4096) = 28 getrandom("\x41\xa6\x20\x36\x0f\x4f\xdf\x5d", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555555ec3d00 brk(0x555555ee4d00) = 0x555555ee4d00 brk(0x555555ee5000) = 0x555555ee5000 mprotect(0x7f25abdaf000, 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 5830 attached [pid 5830] set_robust_list(0x555555ec3660, 24 [pid 5829] <... clone resumed>, child_tidptr=0x555555ec3650) = 5830 [pid 5830] <... set_robust_list resumed>) = 0 [pid 5830] mkdir("./syzkaller.0eiVK7", 0700 [pid 5829] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5831 attached , child_tidptr=0x555555ec3650) = 5831 [pid 5831] set_robust_list(0x555555ec3660, 24) = 0 [pid 5830] <... mkdir resumed>) = 0 [pid 5829] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5831] mkdir("./syzkaller.bOiqTI", 0700./strace-static-x86_64: Process 5832 attached ) = 0 [pid 5830] chmod("./syzkaller.0eiVK7", 0777) = 0 [pid 5830] chdir("./syzkaller.0eiVK7" [pid 5832] set_robust_list(0x555555ec3660, 24 [pid 5830] <... chdir resumed>) = 0 [pid 5832] <... set_robust_list resumed>) = 0 [pid 5831] chmod("./syzkaller.bOiqTI", 0777) = 0 [pid 5830] mkdir("./0", 0777 [pid 5832] mkdir("./syzkaller.SG2hkA", 0700 [pid 5829] <... clone resumed>, child_tidptr=0x555555ec3650) = 5832 [pid 5831] chdir("./syzkaller.bOiqTI" [pid 5829] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5831] <... chdir resumed>) = 0 [pid 5830] <... mkdir resumed>) = 0 ./strace-static-x86_64: Process 5833 attached [pid 5831] mkdir("./0", 0777 [pid 5830] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5829] <... clone resumed>, child_tidptr=0x555555ec3650) = 5833 [pid 5833] set_robust_list(0x555555ec3660, 24 [pid 5832] <... mkdir resumed>) = 0 [pid 5831] <... mkdir resumed>) = 0 [pid 5833] <... set_robust_list resumed>) = 0 [pid 5832] chmod("./syzkaller.SG2hkA", 0777 [pid 5830] <... openat resumed>) = 3 [pid 5829] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5831] openat(AT_FDCWD, "/dev/loop1", O_RDWR./strace-static-x86_64: Process 5834 attached [pid 5833] mkdir("./syzkaller.bMyQbZ", 0700 [pid 5832] <... chmod resumed>) = 0 [pid 5830] ioctl(3, LOOP_CLR_FD [pid 5834] set_robust_list(0x555555ec3660, 24 [pid 5831] <... openat resumed>) = 3 [pid 5830] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5829] <... clone resumed>, child_tidptr=0x555555ec3650) = 5834 [pid 5830] close(3 [pid 5834] <... set_robust_list resumed>) = 0 [pid 5832] chdir("./syzkaller.SG2hkA" [pid 5830] <... close resumed>) = 0 [pid 5830] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5835 attached [pid 5834] mkdir("./syzkaller.Ey2JxD", 0700 [pid 5832] <... chdir resumed>) = 0 [pid 5831] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] set_robust_list(0x555555ec3660, 24 [pid 5832] mkdir("./0", 0777 [pid 5831] close(3 [pid 5835] <... set_robust_list resumed>) = 0 [pid 5835] chdir("./0" [pid 5833] <... mkdir resumed>) = 0 [pid 5831] <... close resumed>) = 0 [pid 5830] <... clone resumed>, child_tidptr=0x555555ec3650) = 5835 [pid 5834] <... mkdir resumed>) = 0 [pid 5833] chmod("./syzkaller.bMyQbZ", 0777 [pid 5832] <... mkdir resumed>) = 0 [pid 5831] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5835] <... chdir resumed>) = 0 [pid 5835] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5835] setpgid(0, 0) = 0 [pid 5835] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5835] write(3, "1000", 4) = 4 [pid 5835] close(3) = 0 [pid 5835] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5833] <... chmod resumed>) = 0 [pid 5834] chmod("./syzkaller.Ey2JxD", 0777executing program [pid 5832] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5833] chdir("./syzkaller.bMyQbZ"./strace-static-x86_64: Process 5836 attached [pid 5835] write(1, "executing program\n", 18 [pid 5834] <... chmod resumed>) = 0 [pid 5833] <... chdir resumed>) = 0 [pid 5835] <... write resumed>) = 18 [pid 5835] memfd_create("syzkaller", 0 [pid 5834] chdir("./syzkaller.Ey2JxD" [pid 5833] mkdir("./0", 0777 [pid 5831] <... clone resumed>, child_tidptr=0x555555ec3650) = 5836 [pid 5835] <... memfd_create resumed>) = 3 [pid 5832] <... openat resumed>) = 3 [pid 5834] <... chdir resumed>) = 0 [pid 5835] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5832] ioctl(3, LOOP_CLR_FD [pid 5835] <... mmap resumed>) = 0x7f25a3800000 [pid 5832] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5836] set_robust_list(0x555555ec3660, 24 [pid 5834] mkdir("./0", 0777 [pid 5833] <... mkdir resumed>) = 0 [pid 5832] close(3 [pid 5836] <... set_robust_list resumed>) = 0 [pid 5836] chdir("./0") = 0 [pid 5836] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5836] setpgid(0, 0) = 0 [pid 5836] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5836] write(3, "1000", 4) = 4 [pid 5836] close(3) = 0 [pid 5836] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5836] write(1, "executing program\n", 18) = 18 [pid 5836] memfd_create("syzkaller", 0) = 3 [pid 5836] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f25a3800000 [pid 5834] <... mkdir resumed>) = 0 [pid 5833] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5832] <... close resumed>) = 0 [pid 5834] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5833] <... openat resumed>) = 3 [pid 5832] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5838 attached [pid 5834] <... openat resumed>) = 3 [pid 5833] ioctl(3, LOOP_CLR_FD [pid 5838] set_robust_list(0x555555ec3660, 24 [pid 5833] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5832] <... clone resumed>, child_tidptr=0x555555ec3650) = 5838 [pid 5838] <... set_robust_list resumed>) = 0 [pid 5834] ioctl(3, LOOP_CLR_FD [pid 5833] close(3 [pid 5838] chdir("./0" [pid 5833] <... close resumed>) = 0 [pid 5834] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5833] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5838] <... chdir resumed>) = 0 [pid 5838] prctl(PR_SET_PDEATHSIG, SIGKILL./strace-static-x86_64: Process 5839 attached ) = 0 [pid 5834] close(3 [pid 5833] <... clone resumed>, child_tidptr=0x555555ec3650) = 5839 [pid 5838] setpgid(0, 0 [pid 5834] <... close resumed>) = 0 [pid 5838] <... setpgid resumed>) = 0 [pid 5834] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5839] set_robust_list(0x555555ec3660, 24 [pid 5838] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC./strace-static-x86_64: Process 5840 attached [pid 5839] <... set_robust_list resumed>) = 0 [pid 5838] <... openat resumed>) = 3 [pid 5838] write(3, "1000", 4 [pid 5839] chdir("./0" [pid 5838] <... write resumed>) = 4 [pid 5839] <... chdir resumed>) = 0 [pid 5838] close(3 [pid 5839] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5838] <... close resumed>) = 0 [pid 5840] set_robust_list(0x555555ec3660, 24 [pid 5839] setpgid(0, 0 [pid 5838] symlink("/dev/binderfs", "./binderfs" [pid 5839] <... setpgid resumed>) = 0 [pid 5839] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5838] <... symlink resumed>) = 0 executing program [pid 5840] <... set_robust_list resumed>) = 0 [pid 5839] <... openat resumed>) = 3 [pid 5838] write(1, "executing program\n", 18 [pid 5839] write(3, "1000", 4 [pid 5840] chdir("./0" [pid 5839] <... write resumed>) = 4 [pid 5840] <... chdir resumed>) = 0 [pid 5838] <... write resumed>) = 18 executing program [pid 5840] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5839] close(3 [pid 5840] <... prctl resumed>) = 0 [pid 5838] memfd_create("syzkaller", 0 [pid 5834] <... clone resumed>, child_tidptr=0x555555ec3650) = 5840 [pid 5840] setpgid(0, 0) = 0 [pid 5840] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5839] <... close resumed>) = 0 [pid 5839] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5839] write(1, "executing program\n", 18) = 18 [pid 5839] memfd_create("syzkaller", 0) = 3 [pid 5839] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5840] <... openat resumed>) = 3 [pid 5839] <... mmap resumed>) = 0x7f25a3800000 [pid 5838] <... memfd_create resumed>) = 3 [pid 5840] write(3, "1000", 4) = 4 [pid 5838] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5840] close(3 [pid 5838] <... mmap resumed>) = 0x7f25a3800000 [pid 5840] <... close resumed>) = 0 [pid 5840] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5840] write(1, "executing program\n", 18executing program ) = 18 [pid 5840] memfd_create("syzkaller", 0) = 3 [pid 5840] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f25a3800000 [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 5835] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 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 5836] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 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 resumed>) = 16777216 [pid 5838] munmap(0x7f25a3800000, 138412032 [pid 5840] <... write resumed>) = 16777216 [pid 5835] <... write resumed>) = 16777216 [pid 5835] munmap(0x7f25a3800000, 138412032 [pid 5840] munmap(0x7f25a3800000, 138412032 [pid 5838] <... munmap resumed>) = 0 [pid 5840] <... munmap resumed>) = 0 [pid 5839] <... write resumed>) = 16777216 [pid 5838] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5836] <... write resumed>) = 16777216 [pid 5835] <... munmap resumed>) = 0 [pid 5838] <... openat resumed>) = 4 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5838] ioctl(4, LOOP_SET_FD, 3 [pid 5835] ioctl(4, LOOP_SET_FD, 3 [pid 5840] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5838] <... ioctl resumed>) = 0 [pid 5836] munmap(0x7f25a3800000, 138412032 [pid 5839] munmap(0x7f25a3800000, 138412032 [pid 5840] <... openat resumed>) = 4 [pid 5836] <... munmap resumed>) = 0 [pid 5838] close(3 [pid 5835] <... ioctl resumed>) = 0 [pid 5835] close(3 [pid 5840] ioctl(4, LOOP_SET_FD, 3 [pid 5838] <... close resumed>) = 0 [pid 5835] <... close resumed>) = 0 [pid 5835] close(4 [pid 5839] <... munmap resumed>) = 0 [pid 5840] <... ioctl resumed>) = 0 [pid 5838] close(4 [pid 5836] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5835] <... close resumed>) = 0 [pid 5840] close(3) = 0 [pid 5839] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5838] <... close resumed>) = 0 [pid 5836] <... openat resumed>) = 4 [pid 5835] mkdir("./file0", 0777 [pid 5840] close(4 [pid 5836] ioctl(4, LOOP_SET_FD, 3 [pid 5840] <... close resumed>) = 0 [pid 5839] <... openat resumed>) = 4 [pid 5838] mkdir("./file0", 0777 [pid 5835] <... mkdir resumed>) = 0 [pid 5839] ioctl(4, LOOP_SET_FD, 3 [pid 5840] mkdir("./file0", 0777) = 0 [pid 5840] 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"... [ 59.616234][ T5838] loop2: detected capacity change from 0 to 32768 [ 59.623792][ T5835] loop0: detected capacity change from 0 to 32768 [ 59.635950][ T5840] loop4: detected capacity change from 0 to 32768 [pid 5838] <... mkdir resumed>) = 0 [pid 5838] 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] 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 5836] <... ioctl resumed>) = 0 [pid 5839] close(3 [pid 5836] close(3 [pid 5839] <... close resumed>) = 0 [pid 5836] <... close resumed>) = 0 [pid 5839] close(4 [pid 5836] close(4 [pid 5839] <... close resumed>) = 0 [pid 5836] <... close resumed>) = 0 [pid 5839] mkdir("./file0", 0777) = 0 [pid 5836] mkdir("./file0", 0777 [pid 5839] 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 5836] <... mkdir resumed>) = 0 [ 59.683865][ T5839] loop3: detected capacity change from 0 to 32768 [ 59.692261][ T5836] loop1: detected capacity change from 0 to 32768 [ 59.864199][ T5839] bcachefs (loop3): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 59.876063][ T5835] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 59.894603][ T5840] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 59.905307][ T5840] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 59.913613][ T5835] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 59.922251][ T5836] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 59.932930][ T5839] bcachefs (loop3): recovering from clean shutdown, journal seq 3338 [ 59.942945][ T5836] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 59.956868][ T5838] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 59.964588][ T5839] bcachefs (loop3): Version upgrade required: [ 59.964588][ T5839] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 59.964588][ T5839] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 59.964588][ T5839] 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 [ 59.978650][ T5838] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 60.055396][ T5839] bcachefs (loop3): dropping and reconstructing all alloc info [ 60.079532][ T5839] bcachefs (loop3): accounting_read... done [ 60.120041][ T5839] bcachefs (loop3): alloc_read... done [ 60.133456][ T5839] bcachefs (loop3): stripes_read... done [ 60.139211][ T5839] bcachefs (loop3): snapshots_read... done [pid 5836] mount("/dev/loop1", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 5838] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5840] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5836] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5840] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [ 60.146428][ T5839] bcachefs (loop3): check_allocations... [ 60.152122][ T5838] bcachefs: bch2_fs_get_tree() error: EINVAL [ 60.181390][ T5839] done [ 60.188592][ T5840] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5840] ioctl(3, LOOP_CLR_FD [pid 5836] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5840] <... ioctl resumed>) = 0 [pid 5840] close(3 [pid 5836] <... openat resumed>) = 3 [pid 5838] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5838] ioctl(3, LOOP_CLR_FD [pid 5836] ioctl(3, LOOP_CLR_FD [pid 5838] <... ioctl resumed>) = 0 [pid 5838] close(3 [pid 5836] <... ioctl resumed>) = 0 [pid 5836] close(3 [pid 5835] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = 0 [ 60.198774][ T5836] bcachefs: bch2_fs_get_tree() error: EINVAL [ 60.198900][ T5835] bcachefs: bch2_fs_get_tree() error: EINVAL [ 60.233864][ T5839] bcachefs (loop3): going read-write [pid 5835] close(3 [pid 5839] <... mount resumed>) = 0 [pid 5839] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5839] chdir("./file0") = 0 [pid 5839] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [ 60.313797][ T5839] bcachefs (loop3): done starting filesystem [pid 5839] ioctl(4, LOOP_CLR_FD) = 0 [pid 5839] close(4) = 0 [pid 5839] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [pid 5840] <... close resumed>) = 0 [pid 5839] exit_group(0) = ? [pid 5839] +++ exited with 0 +++ [pid 5833] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5839, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=31 /* 0.31 s */} --- [pid 5833] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5833] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5833] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5833] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5840] <... mkdirat resumed>) = 0 [pid 5833] <... openat resumed>) = 3 [pid 5833] newfstatat(3, "", [pid 5840] exit_group(0 [pid 5833] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5833] getdents64(3, [pid 5840] <... exit_group resumed>) = ? [pid 5833] <... getdents64 resumed>0x555555ec46f0 /* 4 entries */, 32768) = 112 [pid 5833] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5840] +++ exited with 0 +++ [pid 5833] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5840, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=43 /* 0.43 s */} --- [pid 5834] restart_syscall(<... resuming interrupted clone ...> [pid 5833] newfstatat(AT_FDCWD, "./0/binderfs", [pid 5834] <... restart_syscall resumed>) = 0 [pid 5833] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5833] unlink("./0/binderfs" [pid 5834] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5833] <... unlink resumed>) = 0 [pid 5834] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5833] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [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, 0x555555ec46f0 /* 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 5836] <... close resumed>) = 0 [pid 5834] unlink("./0/binderfs" [pid 5836] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5834] <... unlink resumed>) = 0 [pid 5836] <... mkdirat resumed>) = 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 [pid 5836] exit_group(0 [pid 5834] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5836] <... exit_group resumed>) = ? [pid 5834] <... openat resumed>) = 4 [pid 5836] +++ exited with 0 +++ [pid 5834] newfstatat(4, "", [pid 5831] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5836, si_uid=0, si_status=0, si_utime=11 /* 0.11 s */, si_stime=36 /* 0.36 s */} --- [pid 5831] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5831] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] getdents64(3, [pid 5834] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] <... getdents64 resumed>0x555555ec46f0 /* 5 entries */, 32768) = 384 [pid 5831] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] newfstatat(AT_FDCWD, "./0/binderfs", {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 5834] getdents64(4, [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 5831] openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5834] <... getdents64 resumed>0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5831] newfstatat(4, "", [pid 5834] getdents64(4, [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5834] <... getdents64 resumed>0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 5831] getdents64(4, 0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5831] getdents64(4, [pid 5834] close(4 [pid 5831] <... getdents64 resumed>0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 5834] <... close resumed>) = 0 [pid 5831] close(4) = 0 [pid 5831] rmdir("./0/file0" [pid 5834] rmdir("./0/file0" [pid 5831] <... rmdir resumed>) = 0 [pid 5834] <... rmdir resumed>) = 0 [pid 5834] umount2("./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5838] <... close resumed>) = 0 [pid 5834] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] newfstatat(AT_FDCWD, "./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5835] <... close resumed>) = 0 [pid 5834] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] umount2("./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5834] umount2("./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] openat(AT_FDCWD, "./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5831] newfstatat(AT_FDCWD, "./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5834] <... openat resumed>) = 4 [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5834] newfstatat(4, "", [pid 5831] umount2("./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5834] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] getdents64(4, [pid 5831] openat(AT_FDCWD, "./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5834] <... getdents64 resumed>0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5831] <... openat resumed>) = 4 [pid 5838] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5835] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5834] getdents64(4, [pid 5831] newfstatat(4, "", [pid 5834] <... getdents64 resumed>0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5834] close(4 [pid 5831] getdents64(4, [pid 5835] <... mkdirat resumed>) = 0 [pid 5835] exit_group(0 [pid 5834] <... close resumed>) = 0 [pid 5831] <... getdents64 resumed>0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5834] rmdir("./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5831] getdents64(4, [pid 5834] <... rmdir resumed>) = 0 [pid 5831] <... getdents64 resumed>0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 5834] getdents64(3, [pid 5831] close(4 [pid 5838] <... mkdirat resumed>) = 0 [pid 5835] <... exit_group resumed>) = ? [pid 5838] exit_group(0 [pid 5835] +++ exited with 0 +++ [pid 5834] <... getdents64 resumed>0x555555ec46f0 /* 0 entries */, 32768) = 0 [pid 5831] <... close resumed>) = 0 [pid 5834] close(3 [pid 5831] rmdir("./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5838] <... exit_group resumed>) = ? [pid 5834] <... close resumed>) = 0 [pid 5831] <... rmdir resumed>) = 0 [pid 5830] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5835, si_uid=0, si_status=0, si_utime=8 /* 0.08 s */, si_stime=42 /* 0.42 s */} --- [pid 5834] rmdir("./0" [pid 5831] getdents64(3, [pid 5834] <... rmdir resumed>) = 0 [pid 5831] <... getdents64 resumed>0x555555ec46f0 /* 0 entries */, 32768) = 0 [pid 5831] close(3 [pid 5838] +++ exited with 0 +++ [pid 5831] <... close resumed>) = 0 [pid 5830] restart_syscall(<... resuming interrupted clone ...> [pid 5832] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5838, si_uid=0, si_status=0, si_utime=8 /* 0.08 s */, si_stime=41 /* 0.41 s */} --- [pid 5831] rmdir("./0" [pid 5832] restart_syscall(<... resuming interrupted clone ...> [pid 5834] mkdir("./1", 0777 [pid 5832] <... restart_syscall resumed>) = 0 [pid 5831] <... rmdir resumed>) = 0 [pid 5830] <... restart_syscall resumed>) = 0 [pid 5831] mkdir("./1", 0777 [pid 5830] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5834] <... mkdir resumed>) = 0 [pid 5830] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5830] newfstatat(3, "", [pid 5834] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5831] <... mkdir resumed>) = 0 [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5830] getdents64(3, [pid 5834] <... openat resumed>) = 3 [pid 5834] ioctl(3, LOOP_CLR_FD [pid 5831] <... openat resumed>) = 3 [pid 5834] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5831] ioctl(3, LOOP_CLR_FD [pid 5830] <... getdents64 resumed>0x555555ec46f0 /* 5 entries */, 32768) = 384 [pid 5830] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] newfstatat(AT_FDCWD, "./0/binderfs", [pid 5834] close(3 [pid 5831] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5834] <... close resumed>) = 0 [pid 5830] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5830] unlink("./0/binderfs") = 0 [pid 5834] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5832] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] close(3) = 0 [pid 5830] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5884 attached ./strace-static-x86_64: Process 5883 attached [ 60.521127][ T5833] bcachefs (loop3): shutting down [ 60.529239][ T5833] bcachefs (loop3): going read-only [ 60.535520][ T5833] bcachefs (loop3): finished waiting for writes to stop [ 60.560017][ T5833] bcachefs (loop3): flushing journal and stopping allocators, journal seq 3340 [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5830] newfstatat(AT_FDCWD, "./0/file0", [pid 5832] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5832] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5830] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5884] set_robust_list(0x555555ec3660, 24 [pid 5883] set_robust_list(0x555555ec3660, 24 [pid 5834] <... clone resumed>, child_tidptr=0x555555ec3650) = 5883 [pid 5832] <... openat resumed>) = 3 [pid 5831] <... clone resumed>, child_tidptr=0x555555ec3650) = 5884 [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5832] newfstatat(3, "", [pid 5830] openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5884] <... set_robust_list resumed>) = 0 [pid 5883] <... set_robust_list resumed>) = 0 [pid 5832] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5830] <... openat resumed>) = 4 [pid 5884] chdir("./1" [pid 5883] chdir("./1" [pid 5832] getdents64(3, [pid 5830] newfstatat(4, "", [pid 5884] <... chdir resumed>) = 0 [pid 5883] <... chdir resumed>) = 0 [pid 5832] <... getdents64 resumed>0x555555ec46f0 /* 5 entries */, 32768) = 384 [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5832] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5884] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5883] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5830] getdents64(4, [pid 5884] <... prctl resumed>) = 0 [pid 5883] <... prctl resumed>) = 0 [pid 5832] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5884] setpgid(0, 0 [pid 5883] setpgid(0, 0 [pid 5830] <... getdents64 resumed>0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5884] <... setpgid resumed>) = 0 [pid 5883] <... setpgid resumed>) = 0 [pid 5884] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5883] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5832] newfstatat(AT_FDCWD, "./0/binderfs", [pid 5830] getdents64(4, [pid 5884] <... openat resumed>) = 3 [pid 5883] <... openat resumed>) = 3 [pid 5832] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5830] <... getdents64 resumed>0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 5884] write(3, "1000", 4 [pid 5883] write(3, "1000", 4 [pid 5884] <... write resumed>) = 4 [pid 5883] <... write resumed>) = 4 [pid 5883] close(3 [pid 5884] close(3 [pid 5883] <... close resumed>) = 0 [pid 5883] symlink("/dev/binderfs", "./binderfs" [pid 5884] <... close resumed>) = 0 [pid 5883] <... symlink resumed>) = 0 [pid 5830] close(4 [pid 5832] unlink("./0/binderfs" [pid 5830] <... close resumed>) = 0 [pid 5884] symlink("/dev/binderfs", "./binderfs" [pid 5883] write(1, "executing program\n", 18 [pid 5830] rmdir("./0/file0" [pid 5832] <... unlink resumed>) = 0 [pid 5884] <... symlink resumed>) = 0 [pid 5883] <... write resumed>) = 18 executing program [pid 5883] memfd_create("syzkaller", 0 [pid 5832] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5830] <... rmdir resumed>) = 0 [pid 5832] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5884] write(1, "executing program\n", 18 [pid 5883] <... memfd_create resumed>) = 3 [pid 5832] newfstatat(AT_FDCWD, "./0/file0", [pid 5830] umount2("./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5883] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5832] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5883] <... mmap resumed>) = 0x7f25a3800000 [pid 5832] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5830] newfstatat(AT_FDCWD, "./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5832] <... umount2 resumed>) = -1 EINVAL (Invalid argument) executing program [pid 5884] <... write resumed>) = 18 [pid 5832] openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5884] memfd_create("syzkaller", 0 [pid 5832] <... openat resumed>) = 4 [pid 5830] umount2("./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5884] <... memfd_create resumed>) = 3 [pid 5832] newfstatat(4, "", [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5884] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5832] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5830] openat(AT_FDCWD, "./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5832] getdents64(4, [pid 5884] <... mmap resumed>) = 0x7f25a3800000 [pid 5830] <... openat resumed>) = 4 [ 60.649314][ T35] bcachefs (loop3): bch2_write_super(): fatal error loop3: Superblock write was silently dropped! (seq 0 expected 53) [ 60.682667][ T35] bcachefs (loop3): fatal error - emergency read only [pid 5830] newfstatat(4, "", [pid 5832] <... getdents64 resumed>0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5832] getdents64(4, [pid 5830] getdents64(4, [pid 5832] <... getdents64 resumed>0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 5830] <... getdents64 resumed>0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5830] getdents64(4, [pid 5832] close(4) = 0 [pid 5830] <... getdents64 resumed>0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 5830] close(4 [pid 5832] rmdir("./0/file0") = 0 [pid 5830] <... close resumed>) = 0 [pid 5832] umount2("./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5830] rmdir("./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5832] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5830] getdents64(3, [pid 5832] newfstatat(AT_FDCWD, "./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5830] <... getdents64 resumed>0x555555ec46f0 /* 0 entries */, 32768) = 0 [pid 5832] umount2("./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5830] close(3 [pid 5832] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5830] <... close resumed>) = 0 [pid 5832] openat(AT_FDCWD, "./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5830] rmdir("./0" [pid 5832] <... openat resumed>) = 4 [pid 5830] <... rmdir resumed>) = 0 [pid 5832] newfstatat(4, "", [pid 5830] mkdir("./1", 0777 [pid 5832] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5830] <... mkdir resumed>) = 0 [pid 5830] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5832] getdents64(4, 0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5830] <... openat resumed>) = 3 [pid 5832] getdents64(4, 0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 5830] ioctl(3, LOOP_CLR_FD [pid 5832] close(4 [pid 5830] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5832] <... close resumed>) = 0 [pid 5830] close(3 [pid 5832] rmdir("./0/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5830] <... close resumed>) = 0 [pid 5832] <... rmdir resumed>) = 0 [pid 5830] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5832] getdents64(3, [pid 5830] <... clone resumed>, child_tidptr=0x555555ec3650) = 5887 [pid 5832] <... getdents64 resumed>0x555555ec46f0 /* 0 entries */, 32768) = 0 [pid 5832] close(3executing program ./strace-static-x86_64: Process 5887 attached ) = 0 [pid 5887] set_robust_list(0x555555ec3660, 24) = 0 [pid 5887] chdir("./1") = 0 [pid 5887] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5887] setpgid(0, 0) = 0 [pid 5887] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5887] write(3, "1000", 4) = 4 [pid 5887] close(3) = 0 [pid 5887] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5887] write(1, "executing program\n", 18) = 18 [pid 5887] memfd_create("syzkaller", 0) = 3 [pid 5887] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f25a3800000 [ 60.709141][ T5833] bcachefs (loop3): flushing journal and stopping allocators complete, journal seq 3342 [ 60.720758][ T5833] bcachefs (loop3): unshutdown complete, journal seq 3342 [ 60.739574][ T5833] bcachefs (loop3): done going read-only, filesystem not clean [pid 5832] rmdir("./0") = 0 [pid 5832] mkdir("./1", 0777) = 0 [pid 5832] openat(AT_FDCWD, "/dev/loop2", 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 5888 attached [pid 5888] set_robust_list(0x555555ec3660, 24 [pid 5832] <... clone resumed>, child_tidptr=0x555555ec3650) = 5888 [pid 5888] <... set_robust_list resumed>) = 0 [pid 5888] chdir("./1") = 0 [pid 5888] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5888] setpgid(0, 0) = 0 [pid 5888] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5888] write(3, "1000", 4) = 4 [pid 5888] close(3) = 0 [pid 5888] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 5888] write(1, "executing program\n", 18) = 18 [pid 5888] memfd_create("syzkaller", 0) = 3 [pid 5888] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f25a3800000 [ 60.816383][ T5833] bcachefs (loop3): shutdown complete [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 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 5888] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5887] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5883] <... write resumed>) = 16777216 [pid 5883] munmap(0x7f25a3800000, 138412032) = 0 [pid 5883] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5883] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5888] <... write resumed>) = 16777216 [pid 5884] <... write resumed>) = 16777216 [pid 5883] close(3) = 0 [pid 5883] close(4) = 0 [pid 5883] mkdir("./file0", 0777) = 0 [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 5884] munmap(0x7f25a3800000, 138412032 [pid 5888] munmap(0x7f25a3800000, 138412032) = 0 [pid 5884] <... munmap resumed>) = 0 [ 61.344245][ T5883] loop4: detected capacity change from 0 to 32768 [pid 5884] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5888] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5884] <... openat resumed>) = 4 [pid 5888] <... openat resumed>) = 4 [pid 5888] ioctl(4, LOOP_SET_FD, 3 [pid 5884] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5884] close(3) = 0 [pid 5884] close(4) = 0 [pid 5884] mkdir("./file0", 0777) = 0 [pid 5888] <... ioctl resumed>) = 0 [pid 5888] close(3 [pid 5884] 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 5888] <... close resumed>) = 0 [pid 5888] close(4) = 0 [pid 5888] mkdir("./file0", 0777) = 0 [pid 5888] 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 5887] <... write resumed>) = 16777216 [pid 5887] munmap(0x7f25a3800000, 138412032) = 0 [pid 5887] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 61.425430][ T5884] loop1: detected capacity change from 0 to 32768 [ 61.432216][ T5888] loop2: detected capacity change from 0 to 32768 [pid 5887] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5887] close(3) = 0 [pid 5887] close(4) = 0 [pid 5887] mkdir("./file0", 0777) = 0 [ 61.488170][ T5887] loop0: detected capacity change from 0 to 32768 [ 61.761709][ T5888] bcachefs (loop2): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 61.783151][ T5883] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 61.792624][ T5883] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 61.801252][ T5884] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 61.817014][ T5888] bcachefs (loop2): recovering from clean shutdown, journal seq 3338 [ 61.836955][ T5884] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 61.856033][ T5887] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 61.881843][ T5888] bcachefs (loop2): Version upgrade required: [ 61.881843][ T5888] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 61.881843][ T5888] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 61.881843][ T5888] 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 [ 61.973400][ T5887] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 61.990637][ T5888] bcachefs (loop2): dropping and reconstructing all alloc info [ 62.025299][ T5888] bcachefs (loop2): accounting_read... done [ 62.055638][ T5888] bcachefs (loop2): alloc_read... done [ 62.061564][ T5888] bcachefs (loop2): stripes_read... done [ 62.069399][ T5888] bcachefs (loop2): snapshots_read... done [ 62.083476][ T5888] bcachefs (loop2): check_allocations... [ 62.085096][ T5883] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5887] 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 5884] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5884] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5883] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5884] ioctl(3, LOOP_CLR_FD [pid 5883] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5884] <... ioctl resumed>) = 0 [pid 5884] close(3 [pid 5883] <... openat resumed>) = 3 [pid 5883] ioctl(3, LOOP_CLR_FD) = 0 [pid 5887] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5888] <... mount resumed>) = 0 [pid 5887] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5888] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 5887] <... openat resumed>) = 3 [pid 5888] <... openat resumed>) = 3 [pid 5887] ioctl(3, LOOP_CLR_FD [pid 5888] chdir("./file0" [pid 5887] <... ioctl resumed>) = 0 [pid 5888] <... chdir resumed>) = 0 [pid 5887] close(3 [ 62.101414][ T5884] bcachefs: bch2_fs_get_tree() error: EINVAL [ 62.103693][ T5888] done [ 62.111473][ T5888] bcachefs (loop2): going read-write [ 62.127983][ T5888] bcachefs (loop2): done starting filesystem [ 62.136319][ T5887] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5888] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5883] close(3 [pid 5888] ioctl(4, LOOP_CLR_FD) = 0 [pid 5888] close(4) = 0 [pid 5888] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [pid 5888] exit_group(0) = ? [pid 5888] +++ exited with 0 +++ [pid 5832] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5888, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=34 /* 0.34 s */} --- [pid 5832] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5832] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5833] <... umount2 resumed>) = 0 [pid 5832] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5833] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5832] <... openat resumed>) = 3 [pid 5832] newfstatat(3, "", [pid 5833] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5833] newfstatat(AT_FDCWD, "./0/file0", [pid 5832] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5833] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5832] getdents64(3, [pid 5833] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5832] <... getdents64 resumed>0x555555ec46f0 /* 4 entries */, 32768) = 112 [pid 5833] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5832] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5833] openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5832] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5833] <... openat resumed>) = 4 [pid 5832] newfstatat(AT_FDCWD, "./1/binderfs", [pid 5833] newfstatat(4, "", [pid 5832] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5833] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5832] unlink("./1/binderfs" [pid 5833] getdents64(4, [pid 5832] <... unlink resumed>) = 0 [pid 5833] <... getdents64 resumed>0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5832] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5833] getdents64(4, 0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 5833] close(4) = 0 [pid 5833] rmdir("./0/file0") = 0 [pid 5833] getdents64(3, 0x555555ec46f0 /* 0 entries */, 32768) = 0 [pid 5833] close(3) = 0 [ 62.298798][ T5832] bcachefs (loop2): shutting down [pid 5833] rmdir("./0") = 0 [pid 5833] mkdir("./1", 0777) = 0 [pid 5833] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5833] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5833] close(3) = 0 [pid 5887] <... close resumed>) = 0 [pid 5833] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5887] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000./strace-static-x86_64: Process 5920 attached [pid 5833] <... clone resumed>, child_tidptr=0x555555ec3650) = 5920 [pid 5920] set_robust_list(0x555555ec3660, 24 [pid 5887] <... mkdirat resumed>) = 0 [pid 5920] <... set_robust_list resumed>) = 0 [pid 5887] exit_group(0 [pid 5920] chdir("./1" [pid 5887] <... exit_group resumed>) = ? [ 62.323433][ T5832] bcachefs (loop2): going read-only [ 62.331540][ T5832] bcachefs (loop2): finished waiting for writes to stop [pid 5920] <... chdir resumed>) = 0 [pid 5887] +++ exited with 0 +++ [pid 5830] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5887, si_uid=0, si_status=0, si_utime=9 /* 0.09 s */, si_stime=34 /* 0.34 s */} --- [pid 5920] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5830] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5920] <... prctl resumed>) = 0 [pid 5920] setpgid(0, 0) = 0 [pid 5920] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5830] <... openat resumed>) = 3 [pid 5920] write(3, "1000", 4) = 4 [pid 5920] close(3) = 0 [pid 5920] symlink("/dev/binderfs", "./binderfs"executing program [pid 5830] newfstatat(3, "", [pid 5920] <... symlink resumed>) = 0 [pid 5920] write(1, "executing program\n", 18) = 18 [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5920] memfd_create("syzkaller", 0 [pid 5830] getdents64(3, 0x555555ec46f0 /* 5 entries */, 32768) = 384 [pid 5920] <... memfd_create resumed>) = 3 [pid 5920] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f25a3800000 [pid 5830] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] newfstatat(AT_FDCWD, "./1/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5830] unlink("./1/binderfs" [pid 5883] <... close resumed>) = 0 [pid 5830] <... unlink resumed>) = 0 [pid 5830] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] newfstatat(AT_FDCWD, "./1/file0", [pid 5883] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5830] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] openat(AT_FDCWD, "./1/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5883] exit_group(0) = ? [pid 5830] <... openat resumed>) = 4 [ 62.395906][ T5832] bcachefs (loop2): flushing journal and stopping allocators, journal seq 3340 [pid 5830] newfstatat(4, "", [pid 5883] +++ exited with 0 +++ [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5834] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5883, si_uid=0, si_status=0, si_utime=10 /* 0.10 s */, si_stime=32 /* 0.32 s */} --- [pid 5830] getdents64(4, [pid 5834] restart_syscall(<... resuming interrupted clone ...> [pid 5830] <... getdents64 resumed>0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5830] getdents64(4, 0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 5830] close(4) = 0 [pid 5830] rmdir("./1/file0" [pid 5834] <... restart_syscall resumed>) = 0 [pid 5834] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5834] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5830] <... rmdir resumed>) = 0 [pid 5834] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5830] umount2("./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5834] getdents64(3, 0x555555ec46f0 /* 5 entries */, 32768) = 384 [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] newfstatat(AT_FDCWD, "./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5834] newfstatat(AT_FDCWD, "./1/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5834] unlink("./1/binderfs") = 0 [pid 5830] umount2("./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5834] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] <... 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 [pid 5830] openat(AT_FDCWD, "./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5834] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] <... openat resumed>) = 4 [pid 5834] openat(AT_FDCWD, "./1/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5834] newfstatat(4, "", [pid 5884] <... close resumed>) = 0 [pid 5830] newfstatat(4, "", [pid 5884] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5834] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5830] getdents64(4, 0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5830] getdents64(4, 0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 5830] close(4) = 0 [pid 5830] rmdir("./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5830] getdents64(3, 0x555555ec46f0 /* 0 entries */, 32768) = 0 [pid 5830] close(3 [pid 5884] <... mkdirat resumed>) = 0 [pid 5830] <... close resumed>) = 0 [pid 5830] rmdir("./1" [pid 5884] exit_group(0 [pid 5834] getdents64(4, [pid 5830] <... rmdir resumed>) = 0 [pid 5830] mkdir("./2", 0777) = 0 [pid 5830] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5830] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5830] close(3) = 0 [pid 5884] <... exit_group resumed>) = ? [pid 5834] <... getdents64 resumed>0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5830] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5834] getdents64(4, [pid 5830] <... clone resumed>, child_tidptr=0x555555ec3650) = 5921 [pid 5884] +++ exited with 0 +++ [pid 5834] <... getdents64 resumed>0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 5834] close(4 [pid 5831] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5884, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=42 /* 0.42 s */} --- [pid 5834] <... close resumed>) = 0 [pid 5831] restart_syscall(<... resuming interrupted clone ...> [pid 5834] rmdir("./1/file0"./strace-static-x86_64: Process 5921 attached ) = 0 [pid 5921] set_robust_list(0x555555ec3660, 24 [pid 5834] umount2("./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] <... restart_syscall resumed>) = 0 [pid 5831] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5831] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] getdents64(3, 0x555555ec46f0 /* 5 entries */, 32768) = 384 [pid 5831] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] newfstatat(AT_FDCWD, "./1/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] unlink("./1/binderfs") = 0 [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, 0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5831] getdents64(4, 0x555555ecc730 /* 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 [pid 5921] <... set_robust_list resumed>) = 0 [pid 5834] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] <... openat resumed>) = 4 [pid 5831] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] getdents64(4, [pid 5834] newfstatat(AT_FDCWD, "./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5831] <... getdents64 resumed>0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5921] chdir("./2" [pid 5831] getdents64(4, [pid 5921] <... chdir resumed>) = 0 [pid 5834] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] <... getdents64 resumed>0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 5921] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5834] umount2("./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] close(4 [pid 5921] <... prctl resumed>) = 0 [pid 5834] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] <... close resumed>) = 0 [pid 5921] setpgid(0, 0 [pid 5834] openat(AT_FDCWD, "./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5831] rmdir("./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5921] <... setpgid resumed>) = 0 [pid 5834] <... openat resumed>) = 4 [pid 5831] <... rmdir resumed>) = 0 [ 62.492298][ T4369] bcachefs (loop2): bch2_write_super(): fatal error loop2: Superblock write was silently dropped! (seq 0 expected 53) [ 62.520811][ T4369] bcachefs (loop2): fatal error - emergency read only [ 62.529545][ T5832] bcachefs (loop2): flushing journal and stopping allocators complete, journal seq 3342 [pid 5834] newfstatat(4, "", [pid 5831] getdents64(3, [pid 5921] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5834] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5834] getdents64(4, 0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5921] <... openat resumed>) = 3 [pid 5834] getdents64(4, [pid 5831] <... getdents64 resumed>0x555555ec46f0 /* 0 entries */, 32768) = 0 [pid 5921] write(3, "1000", 4 [pid 5834] <... getdents64 resumed>0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 5834] close(4 [pid 5831] close(3 [pid 5921] <... write resumed>) = 4 [pid 5834] <... close resumed>) = 0 [pid 5831] <... close resumed>) = 0 [pid 5921] close(3 [pid 5834] rmdir("./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5831] rmdir("./1" [pid 5921] <... close resumed>) = 0 [pid 5834] <... rmdir resumed>) = 0 [pid 5831] <... rmdir resumed>) = 0 executing program [pid 5921] symlink("/dev/binderfs", "./binderfs" [pid 5834] getdents64(3, [pid 5831] mkdir("./2", 0777 [pid 5834] <... getdents64 resumed>0x555555ec46f0 /* 0 entries */, 32768) = 0 [pid 5834] close(3 [pid 5921] <... symlink resumed>) = 0 [pid 5834] <... close resumed>) = 0 [pid 5834] rmdir("./1") = 0 [pid 5831] <... mkdir resumed>) = 0 [pid 5921] write(1, "executing program\n", 18 [pid 5834] mkdir("./2", 0777 [pid 5831] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5921] <... write resumed>) = 18 [pid 5834] <... mkdir resumed>) = 0 [pid 5831] <... openat resumed>) = 3 [pid 5921] memfd_create("syzkaller", 0 [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 [pid 5834] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5921] <... memfd_create resumed>) = 3 [pid 5834] <... openat resumed>) = 3 [pid 5921] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5834] ioctl(3, LOOP_CLR_FD [pid 5921] <... mmap resumed>) = 0x7f25a3800000 ./strace-static-x86_64: Process 5922 attached [pid 5834] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5831] <... clone resumed>, child_tidptr=0x555555ec3650) = 5922 [pid 5834] close(3) = 0 [pid 5834] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5923 attached [pid 5922] set_robust_list(0x555555ec3660, 24) = 0 [pid 5922] chdir("./2") = 0 [pid 5922] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5922] setpgid(0, 0 [pid 5834] <... clone resumed>, child_tidptr=0x555555ec3650) = 5923 [pid 5923] set_robust_list(0x555555ec3660, 24 [pid 5922] <... setpgid resumed>) = 0 [pid 5923] <... set_robust_list resumed>) = 0 [pid 5923] chdir("./2") = 0 [pid 5923] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5922] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [ 62.547081][ T5832] bcachefs (loop2): unshutdown complete, journal seq 3342 [ 62.570642][ T5832] bcachefs (loop2): done going read-only, filesystem not clean [pid 5923] setpgid(0, 0) = 0 [pid 5922] <... openat resumed>) = 3 [pid 5923] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5922] write(3, "1000", 4) = 4 [pid 5922] close(3) = 0 [pid 5923] <... openat resumed>) = 3 [pid 5922] symlink("/dev/binderfs", "./binderfs" [pid 5923] write(3, "1000", 4 [pid 5922] <... symlink resumed>) = 0 [pid 5923] <... write resumed>) = 4 [pid 5922] write(1, "executing program\n", 18executing program [pid 5923] close(3 [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 5923] <... close resumed>) = 0 [pid 5923] symlink("/dev/binderfs", "./binderfs" [pid 5922] <... write resumed>) = 18 [pid 5922] memfd_create("syzkaller", 0) = 3 [pid 5923] <... symlink resumed>) = 0 [pid 5922] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f25a3800000 [pid 5923] write(1, "executing program\n", 18executing program ) = 18 [pid 5923] memfd_create("syzkaller", 0) = 3 [pid 5923] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f25a3800000 [ 62.689171][ T5832] bcachefs (loop2): shutdown complete [pid 5923] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... write resumed>) = 16777216 [pid 5920] munmap(0x7f25a3800000, 138412032 [pid 5921] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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] <... munmap resumed>) = 0 [pid 5920] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5920] ioctl(4, LOOP_SET_FD, 3 [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 5920] <... ioctl resumed>) = 0 [pid 5920] close(3) = 0 [pid 5920] close(4) = 0 [pid 5920] mkdir("./file0", 0777) = 0 [ 62.984838][ T5920] loop3: detected capacity change from 0 to 32768 [pid 5920] 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 5921] <... write resumed>) = 16777216 [pid 5921] munmap(0x7f25a3800000, 138412032) = 0 [pid 5921] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5921] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5921] close(3) = 0 [pid 5921] close(4) = 0 [pid 5921] mkdir("./file0", 0777) = 0 [pid 5921] 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 5923] <... write resumed>) = 16777216 [ 63.185001][ T5921] loop0: detected capacity change from 0 to 32768 [pid 5923] munmap(0x7f25a3800000, 138412032) = 0 [pid 5923] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5923] ioctl(4, LOOP_SET_FD, 3 [pid 5922] <... write resumed>) = 16777216 [pid 5922] munmap(0x7f25a3800000, 138412032 [pid 5923] <... ioctl resumed>) = 0 [pid 5922] <... munmap resumed>) = 0 [pid 5923] close(3) = 0 [pid 5923] close(4 [pid 5922] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 5922] ioctl(4, LOOP_SET_FD, 3 [pid 5923] <... close resumed>) = 0 [pid 5922] <... ioctl resumed>) = 0 [pid 5923] mkdir("./file0", 0777) = 0 [pid 5923] 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 5922] close(3) = 0 [pid 5922] close(4) = 0 [pid 5922] mkdir("./file0", 0777) = 0 [ 63.272230][ T5923] loop4: detected capacity change from 0 to 32768 [ 63.304302][ T5922] loop1: detected capacity change from 0 to 32768 [ 63.622531][ T5920] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 63.622787][ T5921] 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 [ 63.631811][ T5920] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 63.653755][ T5921] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 63.680257][ T5921] bcachefs (loop0): Version upgrade required: [ 63.680257][ T5921] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 63.680257][ T5921] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 63.680257][ T5921] 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 [ 63.694722][ T5922] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 63.769855][ T5921] bcachefs (loop0): dropping and reconstructing all alloc info [ 63.793396][ T5922] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 63.801578][ T5923] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 63.826936][ T5923] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 63.836230][ T5920] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5922] 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 5920] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5920] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5920] ioctl(3, LOOP_CLR_FD) = 0 [ 63.862797][ T5921] bcachefs (loop0): accounting_read... done [ 63.869891][ T5921] bcachefs (loop0): alloc_read... done [ 63.899214][ T5921] bcachefs (loop0): stripes_read... done [ 63.924226][ T5921] bcachefs (loop0): snapshots_read... done [pid 5920] close(3 [pid 5922] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5922] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5922] ioctl(3, LOOP_CLR_FD) = 0 [ 63.943258][ T5921] bcachefs (loop0): check_allocations... [ 64.009608][ T5922] bcachefs: bch2_fs_get_tree() error: EINVAL [ 64.034879][ T5921] done [ 64.038883][ T5921] bcachefs (loop0): going read-write [pid 5922] close(3 [pid 5921] <... mount resumed>) = 0 [pid 5921] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5921] chdir("./file0") = 0 [pid 5921] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5921] ioctl(4, LOOP_CLR_FD) = 0 [pid 5921] close(4) = 0 [pid 5921] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [pid 5920] <... close resumed>) = 0 [pid 5921] exit_group(0) = ? [pid 5921] +++ exited with 0 +++ [pid 5830] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5921, si_uid=0, si_status=0, si_utime=9 /* 0.09 s */, si_stime=31 /* 0.31 s */} --- [ 64.059401][ T5921] bcachefs (loop0): done starting filesystem [pid 5830] restart_syscall(<... resuming interrupted clone ...> [pid 5923] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5830] <... restart_syscall resumed>) = 0 [pid 5920] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5830] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5920] <... mkdirat resumed>) = 0 [pid 5830] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5830] newfstatat(3, "", [pid 5920] exit_group(0 [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5830] getdents64(3, [pid 5920] <... exit_group resumed>) = ? [pid 5920] +++ exited with 0 +++ [pid 5833] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5920, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=39 /* 0.39 s */} --- [pid 5923] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5833] restart_syscall(<... resuming interrupted clone ...> [pid 5830] <... getdents64 resumed>0x555555ec46f0 /* 4 entries */, 32768) = 112 [pid 5923] <... openat resumed>) = 3 [pid 5833] <... restart_syscall resumed>) = 0 [pid 5923] ioctl(3, LOOP_CLR_FD [pid 5833] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5923] <... ioctl resumed>) = 0 [pid 5923] close(3 [pid 5833] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 64.115029][ T5923] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5833] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5830] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5833] <... openat resumed>) = 3 [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5833] newfstatat(3, "", [pid 5830] newfstatat(AT_FDCWD, "./2/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5833] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5830] unlink("./2/binderfs" [pid 5832] <... umount2 resumed>) = 0 [pid 5830] <... unlink resumed>) = 0 [pid 5833] getdents64(3, [pid 5830] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5833] <... getdents64 resumed>0x555555ec46f0 /* 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 5832] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5833] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5832] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5833] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5833] openat(AT_FDCWD, "./1/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5832] newfstatat(AT_FDCWD, "./1/file0", [pid 5833] <... openat resumed>) = 4 [pid 5833] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5833] getdents64(4, 0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5833] getdents64(4, 0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 5833] close(4) = 0 [pid 5833] rmdir("./1/file0") = 0 [pid 5833] umount2("./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5832] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5833] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5833] newfstatat(AT_FDCWD, "./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5832] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5833] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5833] umount2("./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5833] openat(AT_FDCWD, "./1/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 5833] getdents64(4, 0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5833] getdents64(4, 0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 5833] close(4) = 0 [pid 5833] rmdir("./1/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5832] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5833] getdents64(3, 0x555555ec46f0 /* 0 entries */, 32768) = 0 [pid 5833] close(3) = 0 [pid 5833] rmdir("./1" [pid 5832] openat(AT_FDCWD, "./1/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5833] <... rmdir resumed>) = 0 [pid 5833] mkdir("./2", 0777) = 0 [pid 5833] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [ 64.214377][ T5830] bcachefs (loop0): shutting down [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 [pid 5832] <... openat resumed>) = 4 ./strace-static-x86_64: Process 5955 attached [pid 5833] <... clone resumed>, child_tidptr=0x555555ec3650) = 5955 [pid 5832] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5832] getdents64(4, 0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5832] getdents64(4, 0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 5955] set_robust_list(0x555555ec3660, 24 [pid 5832] close(4) = 0 [pid 5832] rmdir("./1/file0" [pid 5955] <... set_robust_list resumed>) = 0 [pid 5832] <... rmdir resumed>) = 0 [pid 5955] chdir("./2" [pid 5832] getdents64(3, [pid 5955] <... chdir resumed>) = 0 [pid 5832] <... getdents64 resumed>0x555555ec46f0 /* 0 entries */, 32768) = 0 [pid 5955] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5832] close(3 [pid 5955] <... prctl resumed>) = 0 [pid 5832] <... close resumed>) = 0 [pid 5955] setpgid(0, 0 [pid 5832] rmdir("./1" [pid 5955] <... setpgid resumed>) = 0 [pid 5955] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5832] <... rmdir resumed>) = 0 [pid 5955] <... openat resumed>) = 3 [pid 5832] mkdir("./2", 0777 [pid 5955] write(3, "1000", 4) = 4 [pid 5832] <... mkdir resumed>) = 0 [pid 5955] close(3 [pid 5832] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5955] <... close resumed>) = 0 [pid 5832] <... openat resumed>) = 3 [pid 5832] ioctl(3, LOOP_CLR_FD [pid 5955] symlink("/dev/binderfs", "./binderfs" [pid 5832] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5832] close(3 [pid 5955] <... symlink resumed>) = 0 [pid 5832] <... close resumed>) = 0 [pid 5832] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLDexecuting program [pid 5955] write(1, "executing program\n", 18./strace-static-x86_64: Process 5956 attached ) = 18 [pid 5955] memfd_create("syzkaller", 0 [pid 5832] <... clone resumed>, child_tidptr=0x555555ec3650) = 5956 [pid 5956] set_robust_list(0x555555ec3660, 24 [pid 5955] <... memfd_create resumed>) = 3 [pid 5956] <... set_robust_list resumed>) = 0 [pid 5955] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f25a3800000 [pid 5956] chdir("./2") = 0 [ 64.243415][ T5830] bcachefs (loop0): going read-only [ 64.248677][ T5830] bcachefs (loop0): finished waiting for writes to stop [pid 5956] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5922] <... close resumed>) = 0 [pid 5922] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [pid 5956] <... prctl resumed>) = 0 [pid 5922] exit_group(0) = ? [pid 5956] setpgid(0, 0 [pid 5922] +++ exited with 0 +++ [pid 5956] <... setpgid resumed>) = 0 [pid 5831] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5922, si_uid=0, si_status=0, si_utime=9 /* 0.09 s */, si_stime=36 /* 0.36 s */} --- [pid 5956] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5831] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5956] write(3, "1000", 4 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5831] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] getdents64(3, 0x555555ec46f0 /* 5 entries */, 32768) = 384 [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 5956] <... write resumed>) = 4 [pid 5831] <... unlink resumed>) = 0 [pid 5956] close(3) = 0 [pid 5956] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5831] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] newfstatat(AT_FDCWD, "./2/file0", executing program {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5956] write(1, "executing program\n", 18) = 18 [pid 5831] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5956] memfd_create("syzkaller", 0 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5956] <... memfd_create resumed>) = 3 [pid 5956] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5831] openat(AT_FDCWD, "./2/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5956] <... mmap resumed>) = 0x7f25a3800000 [pid 5831] <... openat resumed>) = 4 [pid 5831] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] getdents64(4, 0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5831] getdents64(4, 0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 5831] close(4) = 0 [ 64.308037][ T5830] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3340 [pid 5831] rmdir("./2/file0") = 0 [pid 5831] umount2("./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] newfstatat(AT_FDCWD, "./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] umount2("./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] openat(AT_FDCWD, "./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5831] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] getdents64(4, 0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5831] getdents64(4, 0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 5831] close(4) = 0 [pid 5831] rmdir("./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5831] getdents64(3, 0x555555ec46f0 /* 0 entries */, 32768) = 0 [pid 5831] close(3) = 0 [pid 5831] rmdir("./2") = 0 [pid 5923] <... close resumed>) = 0 [pid 5831] mkdir("./3", 0777 [pid 5923] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5831] <... mkdir resumed>) = 0 [pid 5923] <... mkdirat resumed>) = 0 [pid 5831] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5831] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5923] exit_group(0 [pid 5831] close(3 [pid 5923] <... exit_group resumed>) = ? [pid 5831] <... close resumed>) = 0 [pid 5831] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5923] +++ exited with 0 +++ [pid 5831] <... clone resumed>, child_tidptr=0x555555ec3650) = 5957 [pid 5834] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5923, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=45 /* 0.45 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 ./strace-static-x86_64: Process 5957 attached [pid 5834] newfstatat(3, "", [pid 5957] set_robust_list(0x555555ec3660, 24) = 0 [pid 5834] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5834] getdents64(3, [pid 5957] chdir("./3" [pid 5834] <... getdents64 resumed>0x555555ec46f0 /* 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 5834] newfstatat(AT_FDCWD, "./2/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 64.379220][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 64.413326][ T35] bcachefs (loop0): fatal error - emergency read only [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 5957] <... chdir resumed>) = 0 [pid 5834] <... openat resumed>) = 4 [pid 5834] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5834] getdents64(4, 0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5957] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5834] getdents64(4, [pid 5957] <... prctl resumed>) = 0 [pid 5834] <... getdents64 resumed>0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 5957] setpgid(0, 0 [pid 5834] close(4 [pid 5957] <... setpgid resumed>) = 0 [pid 5834] <... close resumed>) = 0 [pid 5834] rmdir("./2/file0" [pid 5957] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5834] <... rmdir resumed>) = 0 [pid 5957] <... openat resumed>) = 3 [pid 5834] umount2("./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5957] write(3, "1000", 4 [pid 5834] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] newfstatat(AT_FDCWD, "./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5834] umount2("./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5834] openat(AT_FDCWD, "./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5957] <... write resumed>) = 4 [pid 5834] <... openat resumed>) = 4 [pid 5957] close(3 [pid 5834] newfstatat(4, "", [pid 5957] <... close resumed>) = 0 [pid 5834] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5957] symlink("/dev/binderfs", "./binderfs"executing program [pid 5834] getdents64(4, [pid 5957] <... symlink resumed>) = 0 [pid 5957] write(1, "executing program\n", 18) = 18 [pid 5834] <... getdents64 resumed>0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5834] getdents64(4, 0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 5834] close(4) = 0 [pid 5834] rmdir("./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5957] memfd_create("syzkaller", 0 [pid 5834] <... rmdir resumed>) = 0 [pid 5834] getdents64(3, 0x555555ec46f0 /* 0 entries */, 32768) = 0 [pid 5834] close(3) = 0 [pid 5957] <... memfd_create resumed>) = 3 [pid 5957] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f25a3800000 [pid 5834] rmdir("./2") = 0 [pid 5834] mkdir("./3", 0777) = 0 [pid 5834] openat(AT_FDCWD, "/dev/loop4", 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 5958 attached [pid 5958] set_robust_list(0x555555ec3660, 24 [pid 5834] <... clone resumed>, child_tidptr=0x555555ec3650) = 5958 [pid 5958] <... set_robust_list resumed>) = 0 [pid 5958] chdir("./3") = 0 [pid 5958] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5958] setpgid(0, 0) = 0 [pid 5958] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5958] write(3, "1000", 4) = 4 [pid 5958] close(3) = 0 [pid 5958] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5958] write(1, "executing program\n", 18) = 18 [pid 5958] memfd_create("syzkaller", 0) = 3 [pid 5958] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f25a3800000 [ 64.440258][ T5830] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3342 [ 64.462800][ T5830] bcachefs (loop0): unshutdown complete, journal seq 3342 [ 64.482853][ T5830] bcachefs (loop0): done going read-only, filesystem not clean [ 64.594711][ T5830] bcachefs (loop0): shutdown complete [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 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 5958] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [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 5955] <... write resumed>) = 16777216 [pid 5955] munmap(0x7f25a3800000, 138412032) = 0 [pid 5955] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5955] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5955] close(3) = 0 [pid 5955] close(4) = 0 [pid 5955] mkdir("./file0", 0777) = 0 [ 65.005509][ T5955] loop3: detected capacity change from 0 to 32768 [pid 5955] 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 5958] <... write resumed>) = 16777216 [pid 5956] <... write resumed>) = 16777216 [pid 5958] munmap(0x7f25a3800000, 138412032 [pid 5956] munmap(0x7f25a3800000, 138412032) = 0 [pid 5956] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5958] <... munmap resumed>) = 0 [pid 5956] <... openat resumed>) = 4 [pid 5958] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5956] ioctl(4, LOOP_SET_FD, 3 [pid 5958] <... openat resumed>) = 4 [pid 5957] <... write resumed>) = 16777216 [pid 5958] ioctl(4, LOOP_SET_FD, 3 [pid 5957] munmap(0x7f25a3800000, 138412032 [pid 5956] <... ioctl resumed>) = 0 [pid 5958] <... ioctl resumed>) = 0 [pid 5956] close(3) = 0 [pid 5956] close(4) = 0 [pid 5956] mkdir("./file0", 0777) = 0 [pid 5958] close(3 [pid 5957] <... munmap resumed>) = 0 [pid 5958] <... close resumed>) = 0 [pid 5957] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5956] 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 5957] <... openat resumed>) = 4 [pid 5958] close(4 [pid 5957] ioctl(4, LOOP_SET_FD, 3 [pid 5958] <... close resumed>) = 0 [pid 5957] <... ioctl resumed>) = 0 [ 65.116565][ T5956] loop2: detected capacity change from 0 to 32768 [ 65.125420][ T5958] loop4: detected capacity change from 0 to 32768 [pid 5958] mkdir("./file0", 0777) = 0 [pid 5958] 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] close(3) = 0 [pid 5957] close(4) = 0 [pid 5957] mkdir("./file0", 0777) = 0 [ 65.165146][ T5957] loop1: detected capacity change from 0 to 32768 [ 65.381238][ T5956] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 65.381527][ T5955] bcachefs (loop3): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 65.390571][ T5956] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 65.417538][ T5955] bcachefs (loop3): recovering from clean shutdown, journal seq 3338 [ 65.428111][ T5955] bcachefs (loop3): Version upgrade required: [ 65.428111][ T5955] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 65.428111][ T5955] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 65.428111][ T5955] 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.511647][ T5958] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 65.524526][ T5955] bcachefs (loop3): dropping and reconstructing all alloc info [ 65.537764][ T5958] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 65.547534][ T5957] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 65.558554][ T5957] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 65.592602][ T5955] bcachefs (loop3): accounting_read... done [ 65.630327][ T5955] bcachefs (loop3): alloc_read... done [pid 5957] 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] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5956] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5958] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5956] ioctl(3, LOOP_CLR_FD) = 0 [pid 5956] close(3 [pid 5958] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5958] ioctl(3, LOOP_CLR_FD) = 0 [ 65.670019][ T5955] bcachefs (loop3): stripes_read... done [ 65.670506][ T5956] bcachefs: bch2_fs_get_tree() error: EINVAL [ 65.683246][ T5955] bcachefs (loop3): snapshots_read... done [ 65.689170][ T5955] bcachefs (loop3): check_allocations... [ 65.699034][ T5958] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5958] close(3 [pid 5957] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5957] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [ 65.754841][ T5957] bcachefs: bch2_fs_get_tree() error: EINVAL [ 65.777313][ T5955] done [pid 5957] ioctl(3, LOOP_CLR_FD) = 0 [ 65.814246][ T5955] bcachefs (loop3): going read-write [pid 5957] close(3 [pid 5830] <... umount2 resumed>) = 0 [pid 5955] <... mount resumed>) = 0 [pid 5830] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] newfstatat(AT_FDCWD, "./2/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5830] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] openat(AT_FDCWD, "./2/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5830] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5830] getdents64(4, 0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5830] getdents64(4, 0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 5830] close(4) = 0 [pid 5830] rmdir("./2/file0") = 0 [pid 5830] getdents64(3, 0x555555ec46f0 /* 0 entries */, 32768) = 0 [pid 5830] close(3) = 0 [pid 5830] rmdir("./2") = 0 [pid 5830] mkdir("./3", 0777) = 0 [pid 5830] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5830] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5830] close(3 [pid 5955] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 5830] <... close resumed>) = 0 [pid 5830] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555ec3650) = 5990 ./strace-static-x86_64: Process 5990 attached [pid 5990] set_robust_list(0x555555ec3660, 24) = 0 [pid 5990] chdir("./3") = 0 [pid 5990] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5990] setpgid(0, 0 [pid 5955] <... openat resumed>) = 3 [pid 5990] <... setpgid resumed>) = 0 [pid 5955] chdir("./file0") = 0 [pid 5955] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5955] ioctl(4, LOOP_CLR_FD) = 0 [pid 5955] close(4) = 0 [pid 5955] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5990] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5955] <... mkdirat resumed>) = 0 [pid 5955] exit_group(0) = ? [pid 5955] +++ exited with 0 +++ [ 65.853832][ T5955] bcachefs (loop3): done starting filesystem [pid 5990] <... openat resumed>) = 3 [pid 5833] --- 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=34 /* 0.34 s */} --- [pid 5990] write(3, "1000", 4 [pid 5833] restart_syscall(<... resuming interrupted clone ...> [pid 5990] <... write resumed>) = 4 [pid 5990] close(3 [pid 5833] <... restart_syscall resumed>) = 0 [pid 5833] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5990] <... close resumed>) = 0 [pid 5833] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5833] openat(AT_FDCWD, "./2", 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, 0x555555ec46f0 /* 4 entries */, 32768) = 112 [pid 5833] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5833] newfstatat(AT_FDCWD, "./2/binderfs", [pid 5990] symlink("/dev/binderfs", "./binderfs" [pid 5833] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5990] <... symlink resumed>) = 0 executing program [pid 5833] unlink("./2/binderfs" [pid 5990] write(1, "executing program\n", 18 [pid 5833] <... unlink resumed>) = 0 [pid 5990] <... write resumed>) = 18 [pid 5833] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5990] memfd_create("syzkaller", 0) = 3 [pid 5990] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f25a3800000 [pid 5956] <... close resumed>) = 0 [pid 5956] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [pid 5958] <... close resumed>) = 0 [pid 5957] <... close resumed>) = 0 [pid 5956] exit_group(0 [pid 5957] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5958] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5957] <... mkdirat resumed>) = 0 [pid 5958] <... mkdirat resumed>) = 0 [pid 5958] exit_group(0 [pid 5957] exit_group(0 [pid 5958] <... exit_group resumed>) = ? [pid 5957] <... exit_group resumed>) = ? [pid 5958] +++ exited with 0 +++ [pid 5957] +++ exited with 0 +++ [pid 5834] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5958, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=36 /* 0.36 s */} --- [pid 5831] --- 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=39 /* 0.39 s */} --- [pid 5834] restart_syscall(<... resuming interrupted clone ...> [pid 5831] restart_syscall(<... resuming interrupted clone ...> [pid 5956] <... exit_group resumed>) = ? [pid 5834] <... restart_syscall resumed>) = 0 [pid 5831] <... restart_syscall resumed>) = 0 [pid 5834] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5834] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5831] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5834] <... openat resumed>) = 3 [pid 5831] <... openat resumed>) = 3 [pid 5834] newfstatat(3, "", [pid 5831] newfstatat(3, "", [pid 5834] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5834] getdents64(3, [pid 5831] getdents64(3, [pid 5834] <... getdents64 resumed>0x555555ec46f0 /* 5 entries */, 32768) = 384 [pid 5831] <... getdents64 resumed>0x555555ec46f0 /* 5 entries */, 32768) = 384 [pid 5834] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5834] newfstatat(AT_FDCWD, "./3/binderfs", [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] newfstatat(AT_FDCWD, "./3/binderfs", [ 65.984747][ T5833] bcachefs (loop3): shutting down [ 65.990228][ T5833] bcachefs (loop3): going read-only [ 66.000175][ T5833] bcachefs (loop3): finished waiting for writes to stop [ 66.021974][ T5833] bcachefs (loop3): flushing journal and stopping allocators, journal seq 3339 [pid 5834] unlink("./3/binderfs" [pid 5831] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5834] <... unlink resumed>) = 0 [pid 5831] unlink("./3/binderfs" [pid 5834] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] <... unlink resumed>) = 0 [pid 5834] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5834] newfstatat(AT_FDCWD, "./3/file0", [pid 5831] <... umount2 resumed>) = -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 5956] +++ exited with 0 +++ [pid 5834] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] getdents64(4, [pid 5834] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5832] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5956, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=40 /* 0.40 s */} --- [pid 5834] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5832] restart_syscall(<... resuming interrupted clone ...> [pid 5831] <... getdents64 resumed>0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5834] openat(AT_FDCWD, "./3/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5831] getdents64(4, [pid 5834] newfstatat(4, "", [pid 5831] <... getdents64 resumed>0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 5834] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] close(4 [pid 5834] getdents64(4, [pid 5831] <... close resumed>) = 0 [pid 5834] <... getdents64 resumed>0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5831] rmdir("./3/file0" [pid 5834] getdents64(4, [pid 5831] <... rmdir resumed>) = 0 [pid 5834] <... getdents64 resumed>0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 5834] close(4 [pid 5831] umount2("./3/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5834] <... close resumed>) = 0 [pid 5834] rmdir("./3/file0" [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] <... rmdir resumed>) = 0 [pid 5831] newfstatat(AT_FDCWD, "./3/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5832] <... restart_syscall resumed>) = 0 [pid 5832] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5832] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5831] umount2("./3/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5834] umount2("./3/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5832] <... openat resumed>) = 3 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5832] newfstatat(3, "", [pid 5831] openat(AT_FDCWD, "./3/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5834] newfstatat(AT_FDCWD, "./3/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5832] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] <... openat resumed>) = 4 [pid 5834] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5832] getdents64(3, [pid 5831] newfstatat(4, "", [pid 5834] umount2("./3/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5832] <... getdents64 resumed>0x555555ec46f0 /* 5 entries */, 32768) = 384 [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5834] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5832] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] getdents64(4, [pid 5834] openat(AT_FDCWD, "./3/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5832] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] <... getdents64 resumed>0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5834] <... openat resumed>) = 4 [pid 5832] newfstatat(AT_FDCWD, "./2/binderfs", [pid 5831] getdents64(4, [pid 5832] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] <... getdents64 resumed>0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 5832] unlink("./2/binderfs" [pid 5831] close(4 [pid 5832] <... unlink resumed>) = 0 [pid 5831] <... close resumed>) = 0 [pid 5832] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] rmdir("./3/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5832] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] <... rmdir resumed>) = 0 [pid 5832] newfstatat(AT_FDCWD, "./2/file0", [pid 5831] getdents64(3, [pid 5832] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] <... getdents64 resumed>0x555555ec46f0 /* 0 entries */, 32768) = 0 [pid 5834] newfstatat(4, "", [pid 5832] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] close(3 [pid 5834] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5832] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] <... close resumed>) = 0 [pid 5834] getdents64(4, [pid 5832] openat(AT_FDCWD, "./2/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5834] <... getdents64 resumed>0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5832] <... openat resumed>) = 4 [pid 5831] rmdir("./3" [pid 5834] getdents64(4, [pid 5832] newfstatat(4, "", [pid 5831] <... rmdir resumed>) = 0 [pid 5834] <... getdents64 resumed>0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 5832] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] mkdir("./4", 0777 [pid 5834] close(4 [pid 5832] getdents64(4, [pid 5831] <... mkdir resumed>) = 0 [pid 5834] <... close resumed>) = 0 [pid 5832] <... getdents64 resumed>0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5831] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5834] rmdir("./3/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5832] getdents64(4, [pid 5831] <... openat resumed>) = 3 [pid 5834] <... rmdir resumed>) = 0 [pid 5832] <... getdents64 resumed>0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 5831] ioctl(3, LOOP_CLR_FD [pid 5834] getdents64(3, [pid 5832] close(4 [pid 5834] <... getdents64 resumed>0x555555ec46f0 /* 0 entries */, 32768) = 0 [pid 5832] <... close resumed>) = 0 [ 66.089524][ T4369] bcachefs (loop3): bch2_write_super(): fatal error loop3: Superblock write was silently dropped! (seq 0 expected 53) [pid 5832] rmdir("./2/file0" [pid 5834] close(3 [pid 5832] <... rmdir resumed>) = 0 [pid 5831] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5834] <... close resumed>) = 0 [pid 5832] umount2("./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] close(3 [pid 5834] rmdir("./3" [pid 5832] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] <... close resumed>) = 0 [pid 5834] <... rmdir resumed>) = 0 [pid 5832] newfstatat(AT_FDCWD, "./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5831] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5991 attached [pid 5832] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5832] umount2("./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5834] mkdir("./4", 0777 [pid 5832] openat(AT_FDCWD, "./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5834] <... mkdir resumed>) = 0 [pid 5832] <... openat resumed>) = 4 [pid 5831] <... clone resumed>, child_tidptr=0x555555ec3650) = 5991 [pid 5832] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5832] getdents64(4, [pid 5991] set_robust_list(0x555555ec3660, 24 [pid 5834] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5832] <... getdents64 resumed>0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5991] <... set_robust_list resumed>) = 0 [pid 5834] <... openat resumed>) = 3 [pid 5991] chdir("./4" [pid 5834] ioctl(3, LOOP_CLR_FD [pid 5991] <... chdir resumed>) = 0 [pid 5834] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5991] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5834] close(3 [pid 5991] <... prctl resumed>) = 0 [pid 5991] setpgid(0, 0 [pid 5834] <... close resumed>) = 0 [pid 5832] getdents64(4, [pid 5991] <... setpgid resumed>) = 0 [pid 5834] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5991] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5832] <... getdents64 resumed>0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 5832] close(4) = 0 ./strace-static-x86_64: Process 5992 attached [pid 5991] <... openat resumed>) = 3 [pid 5832] rmdir("./2/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5832] getdents64(3, 0x555555ec46f0 /* 0 entries */, 32768) = 0 [pid 5832] close(3) = 0 [pid 5832] rmdir("./2") = 0 [ 66.136887][ T4369] bcachefs (loop3): fatal error - emergency read only [pid 5832] mkdir("./3", 0777 [pid 5992] set_robust_list(0x555555ec3660, 24 [pid 5991] write(3, "1000", 4 [pid 5834] <... clone resumed>, child_tidptr=0x555555ec3650) = 5992 [pid 5832] <... mkdir resumed>) = 0 [pid 5832] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5992] <... set_robust_list resumed>) = 0 [pid 5991] <... write resumed>) = 4 [pid 5832] <... openat resumed>) = 3 [pid 5991] close(3 [pid 5832] ioctl(3, LOOP_CLR_FD [pid 5992] chdir("./4" [pid 5991] <... close resumed>) = 0 [pid 5992] <... chdir resumed>) = 0 [pid 5991] symlink("/dev/binderfs", "./binderfs" [pid 5832] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5992] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5991] <... symlink resumed>) = 0 [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 5832] close(3executing program [pid 5991] write(1, "executing program\n", 18 [pid 5832] <... close resumed>) = 0 [pid 5992] <... prctl resumed>) = 0 [pid 5991] <... write resumed>) = 18 [pid 5832] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5992] setpgid(0, 0 [pid 5991] memfd_create("syzkaller", 0 [pid 5992] <... setpgid resumed>) = 0 [pid 5991] <... memfd_create resumed>) = 3 [pid 5832] <... clone resumed>, child_tidptr=0x555555ec3650) = 5993 ./strace-static-x86_64: Process 5993 attached [pid 5993] set_robust_list(0x555555ec3660, 24) = 0 [pid 5993] chdir("./3") = 0 [pid 5993] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5991] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5993] setpgid(0, 0 [pid 5992] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5993] <... setpgid resumed>) = 0 [pid 5991] <... mmap resumed>) = 0x7f25a3800000 [pid 5993] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5992] <... openat resumed>) = 3 [pid 5993] <... openat resumed>) = 3 [pid 5993] write(3, "1000", 4) = 4 [pid 5993] close(3) = 0 executing program [pid 5993] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5992] write(3, "1000", 4) = 4 [pid 5992] close(3 [pid 5993] write(1, "executing program\n", 18) = 18 [pid 5993] memfd_create("syzkaller", 0) = 3 [pid 5993] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f25a3800000 [pid 5992] <... close resumed>) = 0 [pid 5992] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 5992] write(1, "executing program\n", 18) = 18 [ 66.178270][ T5833] bcachefs (loop3): flushing journal and stopping allocators complete, journal seq 3342 [ 66.193596][ T5833] bcachefs (loop3): unshutdown complete, journal seq 3342 [ 66.208910][ T5833] bcachefs (loop3): done going read-only, filesystem not clean [pid 5992] memfd_create("syzkaller", 0) = 3 [pid 5992] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f25a3800000 [ 66.308651][ T5833] bcachefs (loop3): shutdown complete [pid 5993] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5990] <... write resumed>) = 16777216 [pid 5990] munmap(0x7f25a3800000, 138412032) = 0 [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 5990] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5990] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5990] close(3) = 0 [pid 5990] close(4) = 0 [pid 5990] mkdir("./file0", 0777) = 0 [ 66.595338][ T5990] loop0: detected capacity change from 0 to 32768 [pid 5990] 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 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 5993] <... write resumed>) = 16777216 [pid 5993] munmap(0x7f25a3800000, 138412032 [pid 5991] <... write resumed>) = 16777216 [pid 5993] <... munmap resumed>) = 0 [pid 5991] munmap(0x7f25a3800000, 138412032 [pid 5993] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5991] <... munmap resumed>) = 0 [pid 5991] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5993] ioctl(4, LOOP_SET_FD, 3 [pid 5991] <... openat resumed>) = 4 [pid 5991] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5993] <... ioctl resumed>) = 0 [pid 5991] close(3 [pid 5993] close(3 [pid 5991] <... close resumed>) = 0 [pid 5993] <... close resumed>) = 0 [pid 5991] close(4 [pid 5993] close(4 [pid 5991] <... close resumed>) = 0 [pid 5993] <... close resumed>) = 0 [pid 5993] mkdir("./file0", 0777 [pid 5991] mkdir("./file0", 0777 [pid 5993] <... mkdir resumed>) = 0 [pid 5991] <... mkdir 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 5993] 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 5992] <... write resumed>) = 16777216 [pid 5992] munmap(0x7f25a3800000, 138412032) = 0 [ 66.841830][ T5993] loop2: detected capacity change from 0 to 32768 [ 66.842309][ T5991] loop1: detected capacity change from 0 to 32768 [pid 5992] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5992] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5992] close(3) = 0 [pid 5992] close(4) = 0 [pid 5992] mkdir("./file0", 0777) = 0 [ 66.913032][ T5992] loop4: detected capacity change from 0 to 32768 [ 67.008822][ T5990] 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.030308][ T5990] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 67.041571][ T5990] bcachefs (loop0): Version upgrade required: [ 67.041571][ T5990] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 67.041571][ T5990] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 67.041571][ T5990] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 67.114031][ T5990] bcachefs (loop0): dropping and reconstructing all alloc info [ 67.131983][ T5990] bcachefs (loop0): accounting_read... done [ 67.152584][ T5993] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 67.170858][ T5990] bcachefs (loop0): alloc_read... done [ 67.178526][ T5990] bcachefs (loop0): stripes_read... done [ 67.179985][ T5992] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 67.194815][ T5990] bcachefs (loop0): snapshots_read... done [ 67.198826][ T5991] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 67.210800][ T5990] bcachefs (loop0): check_allocations... [ 67.215071][ T5991] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 67.215323][ T5993] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 67.220779][ T5992] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [pid 5992] mount("/dev/loop4", "./file0", "bcachefs", MS_POSIXACL, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"...) = -1 EINVAL (Invalid argument) [pid 5992] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5992] ioctl(3, LOOP_CLR_FD) = 0 [ 67.371219][ T5992] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5992] close(3 [pid 5991] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5991] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [ 67.419265][ T5991] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5991] ioctl(3, LOOP_CLR_FD) = 0 [pid 5991] close(3 [pid 5833] <... umount2 resumed>) = 0 [ 67.461725][ T5990] done [ 67.472357][ T5990] bcachefs (loop0): going read-write [pid 5833] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5833] newfstatat(AT_FDCWD, "./2/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5990] <... mount resumed>) = 0 [pid 5833] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5833] openat(AT_FDCWD, "./2/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5833] newfstatat(4, "", [pid 5990] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 5833] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5990] <... openat resumed>) = 3 [pid 5833] getdents64(4, [pid 5990] chdir("./file0" [pid 5833] <... getdents64 resumed>0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5990] <... chdir resumed>) = 0 [pid 5833] getdents64(4, [pid 5990] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5833] <... getdents64 resumed>0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 5833] close(4) = 0 [pid 5990] <... openat resumed>) = 4 [pid 5833] rmdir("./2/file0") = 0 [pid 5833] getdents64(3, 0x555555ec46f0 /* 0 entries */, 32768) = 0 [pid 5833] close(3) = 0 [pid 5833] rmdir("./2") = 0 [pid 5833] mkdir("./3", 0777 [pid 5990] ioctl(4, LOOP_CLR_FD [pid 5833] <... mkdir resumed>) = 0 [pid 5990] <... ioctl resumed>) = 0 [pid 5990] close(4) = 0 [pid 5990] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5993] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5990] <... mkdirat resumed>) = 0 [pid 5833] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5990] exit_group(0 [pid 5833] <... openat resumed>) = 3 [pid 5993] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5990] <... exit_group resumed>) = ? [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 [pid 5990] +++ exited with 0 +++ [pid 5830] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5990, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=35 /* 0.35 s */} --- [pid 5830] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5830] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5830] getdents64(3, 0x555555ec46f0 /* 4 entries */, 32768) = 112 [pid 5830] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] newfstatat(AT_FDCWD, "./3/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5830] unlink("./3/binderfs") = 0 ./strace-static-x86_64: Process 6025 attached [pid 5830] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6025] set_robust_list(0x555555ec3660, 24) = 0 [pid 6025] chdir("./3") = 0 [pid 6025] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5993] <... openat resumed>) = 3 [ 67.529275][ T5990] bcachefs (loop0): done starting filesystem [ 67.550212][ T5993] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 6025] setpgid(0, 0) = 0 [pid 6025] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6025] write(3, "1000", 4 [pid 5833] <... clone resumed>, child_tidptr=0x555555ec3650) = 6025 [pid 6025] <... write resumed>) = 4 [pid 6025] close(3) = 0 [pid 6025] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6025] write(1, "executing program\n", 18) = 18 [pid 6025] memfd_create("syzkaller", 0 [pid 5993] ioctl(3, LOOP_CLR_FD) = 0 [pid 6025] <... memfd_create resumed>) = 3 [pid 5993] close(3 [pid 6025] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f25a3800000 [pid 5992] <... close resumed>) = 0 [ 67.595249][ T5990] syz-executor145 (5990) used greatest stack depth: 17856 bytes left [pid 5992] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [pid 5992] exit_group(0) = ? [pid 5992] +++ exited with 0 +++ [pid 5834] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5992, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=44 /* 0.44 s */} --- [pid 5834] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5834] openat(AT_FDCWD, "./4", 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, 0x555555ec46f0 /* 5 entries */, 32768) = 384 [pid 5834] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5834] newfstatat(AT_FDCWD, "./4/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5834] unlink("./4/binderfs") = 0 [pid 5834] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 67.646588][ T5830] bcachefs (loop0): shutting down [ 67.654327][ T5830] bcachefs (loop0): going read-only [ 67.659745][ T5830] bcachefs (loop0): finished waiting for writes to stop [pid 5834] newfstatat(AT_FDCWD, "./4/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5834] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5834] openat(AT_FDCWD, "./4/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, 0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5834] getdents64(4, 0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 5834] close(4) = 0 [pid 5834] rmdir("./4/file0") = 0 [pid 5834] umount2("./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5834] newfstatat(AT_FDCWD, "./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5834] umount2("./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5834] openat(AT_FDCWD, "./4/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, 0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5834] getdents64(4, 0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 5834] close(4) = 0 [pid 5834] rmdir("./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5834] getdents64(3, 0x555555ec46f0 /* 0 entries */, 32768) = 0 [pid 5834] close(3) = 0 [pid 5834] rmdir("./4" [pid 5991] <... close resumed>) = 0 [pid 5834] <... rmdir resumed>) = 0 [pid 5991] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5834] mkdir("./5", 0777 [pid 5991] <... mkdirat resumed>) = 0 [pid 5834] <... mkdir resumed>) = 0 [pid 5991] exit_group(0) = ? [pid 5991] +++ exited with 0 +++ [pid 5834] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5831] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5991, si_uid=0, si_status=0, si_utime=8 /* 0.08 s */, si_stime=44 /* 0.44 s */} --- [pid 5831] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5993] <... close resumed>) = 0 [pid 5834] <... openat resumed>) = 3 [pid 5993] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5831] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW [ 67.736185][ T5830] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3340 [pid 5993] <... mkdirat resumed>) = 0 [pid 5834] ioctl(3, LOOP_CLR_FD [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5831] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5834] close(3 [pid 5831] <... openat resumed>) = 3 [pid 5834] <... close resumed>) = 0 [pid 5831] newfstatat(3, "", [pid 5834] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 ./strace-static-x86_64: Process 6026 attached [pid 5831] getdents64(3, [pid 6026] set_robust_list(0x555555ec3660, 24 [pid 5993] exit_group(0 [pid 5831] <... getdents64 resumed>0x555555ec46f0 /* 5 entries */, 32768) = 384 [pid 5831] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -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") = 0 [pid 5831] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] newfstatat(AT_FDCWD, "./4/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] openat(AT_FDCWD, "./4/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5831] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] getdents64(4, [pid 5834] <... clone resumed>, child_tidptr=0x555555ec3650) = 6026 [pid 5831] <... getdents64 resumed>0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5831] getdents64(4, 0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 5831] close(4) = 0 [pid 5831] rmdir("./4/file0" [pid 6026] <... set_robust_list resumed>) = 0 [pid 5993] <... exit_group resumed>) = ? [pid 5831] <... rmdir resumed>) = 0 [pid 5831] umount2("./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] newfstatat(AT_FDCWD, "./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] umount2("./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] openat(AT_FDCWD, "./4/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, 0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5831] getdents64(4, 0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 5831] close(4) = 0 [pid 5831] rmdir("./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5831] getdents64(3, 0x555555ec46f0 /* 0 entries */, 32768) = 0 [pid 5831] close(3) = 0 [pid 5831] rmdir("./4") = 0 [pid 5831] mkdir("./5", 0777 [pid 6026] chdir("./5" [pid 5993] +++ exited with 0 +++ [pid 5831] <... mkdir resumed>) = 0 [pid 6026] <... chdir resumed>) = 0 [pid 6026] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5832] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5993, si_uid=0, si_status=0, si_utime=9 /* 0.09 s */, si_stime=37 /* 0.37 s */} --- [pid 6026] <... prctl resumed>) = 0 [pid 5832] restart_syscall(<... resuming interrupted clone ...> [pid 6026] setpgid(0, 0) = 0 [pid 5831] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6026] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5831] <... openat resumed>) = 3 [pid 6026] <... openat resumed>) = 3 [pid 5831] ioctl(3, LOOP_CLR_FD [pid 6026] write(3, "1000", 4) = 4 [pid 5831] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6026] close(3 [pid 5831] close(3 [pid 6026] <... close resumed>) = 0 [pid 5831] <... close resumed>) = 0 [pid 6026] symlink("/dev/binderfs", "./binderfs" [pid 5831] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6026] <... symlink resumed>) = 0 [pid 5831] <... clone resumed>, child_tidptr=0x555555ec3650) = 6027 ./strace-static-x86_64: Process 6027 attached [pid 6027] set_robust_list(0x555555ec3660, 24) = 0 [pid 6026] write(1, "executing program\n", 18 [pid 5832] <... restart_syscall resumed>) = 0 [pid 6027] chdir("./5"executing program [pid 6026] <... write resumed>) = 18 [pid 6027] <... chdir resumed>) = 0 [pid 5832] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6027] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5832] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6027] <... prctl resumed>) = 0 [pid 5832] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [ 67.814174][ T4369] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [pid 6026] memfd_create("syzkaller", 0 [pid 6027] setpgid(0, 0 [pid 6026] <... memfd_create resumed>) = 3 [pid 5832] <... openat resumed>) = 3 [pid 6026] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5832] newfstatat(3, "", [pid 6027] <... setpgid resumed>) = 0 [pid 6026] <... mmap resumed>) = 0x7f25a3800000 [pid 5832] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6027] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5832] getdents64(3, [pid 6027] <... openat resumed>) = 3 [pid 5832] <... getdents64 resumed>0x555555ec46f0 /* 5 entries */, 32768) = 384 [pid 5832] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6027] write(3, "1000", 4 [pid 5832] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6027] <... write resumed>) = 4 [pid 5832] newfstatat(AT_FDCWD, "./3/binderfs", [pid 6027] close(3 [pid 5832] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6027] <... close resumed>) = 0 [pid 5832] unlink("./3/binderfs" [pid 6027] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5832] <... unlink resumed>) = 0 executing program [pid 6027] write(1, "executing program\n", 18 [pid 5832] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6027] <... write resumed>) = 18 [pid 5832] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6027] memfd_create("syzkaller", 0 [pid 5832] newfstatat(AT_FDCWD, "./3/file0", [pid 6027] <... memfd_create resumed>) = 3 [pid 5832] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6027] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5832] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6027] <... mmap resumed>) = 0x7f25a3800000 [pid 5832] <... umount2 resumed>) = -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, 0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5832] getdents64(4, 0x555555ecc730 /* 0 entries */, 32768) = 0 [ 67.865013][ T4369] bcachefs (loop0): fatal error - emergency read only [ 67.893722][ T5830] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3341 [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, 0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5832] getdents64(4, 0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 5832] close(4) = 0 [pid 5832] rmdir("./3/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [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 5832] <... rmdir resumed>) = 0 [pid 5832] getdents64(3, 0x555555ec46f0 /* 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/loop2", 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 6028 attached , child_tidptr=0x555555ec3650) = 6028 [pid 6028] set_robust_list(0x555555ec3660, 24) = 0 [pid 6028] chdir("./4") = 0 [pid 6028] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6028] setpgid(0, 0) = 0 [pid 6028] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [ 67.920021][ T5830] bcachefs (loop0): unshutdown complete, journal seq 3341 [ 67.944880][ T5830] bcachefs (loop0): done going read-only, filesystem not clean [pid 6028] write(3, "1000", 4) = 4 [pid 6028] close(3) = 0 [pid 6028] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 6028] write(1, "executing program\n", 18) = 18 [pid 6028] memfd_create("syzkaller", 0) = 3 [pid 6028] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f25a3800000 [ 68.023127][ T5830] bcachefs (loop0): shutdown complete [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 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 resumed>) = 16777216 [pid 6025] munmap(0x7f25a3800000, 138412032) = 0 [pid 6025] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6025] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6025] close(3) = 0 [pid 6025] close(4) = 0 [pid 6025] mkdir("./file0", 0777) = 0 [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"... [ 68.309950][ T6025] loop3: detected capacity change from 0 to 32768 [pid 6028] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6026] <... write resumed>) = 16777216 [pid 6026] munmap(0x7f25a3800000, 138412032 [pid 6027] <... write resumed>) = 16777216 [pid 6027] munmap(0x7f25a3800000, 138412032 [pid 6026] <... munmap resumed>) = 0 [pid 6026] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6026] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6027] <... munmap resumed>) = 0 [pid 6027] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6026] close(3 [pid 6027] <... openat resumed>) = 4 [pid 6026] <... close resumed>) = 0 [pid 6027] ioctl(4, LOOP_SET_FD, 3 [pid 6026] close(4) = 0 [pid 6026] mkdir("./file0", 0777) = 0 [pid 6026] 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 6027] <... ioctl resumed>) = 0 [pid 6027] close(3) = 0 [pid 6027] close(4) = 0 [ 68.490965][ T6026] loop4: detected capacity change from 0 to 32768 [ 68.511496][ T6027] loop1: detected capacity change from 0 to 32768 [pid 6027] mkdir("./file0", 0777) = 0 [pid 6028] <... write resumed>) = 16777216 [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 6028] munmap(0x7f25a3800000, 138412032) = 0 [pid 6028] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6028] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6028] close(3) = 0 [pid 6028] close(4) = 0 [pid 6028] mkdir("./file0", 0777) = 0 [ 68.602593][ T6028] loop2: detected capacity change from 0 to 32768 [ 68.840934][ T6027] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 68.855008][ T6025] bcachefs (loop3): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 68.876193][ T6026] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 68.903476][ T6026] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 68.904214][ T6027] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 68.917331][ T6028] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 68.935334][ T6028] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 68.954154][ T6025] bcachefs (loop3): recovering from clean shutdown, journal seq 3338 [ 68.993529][ T6025] bcachefs (loop3): Version upgrade required: [ 68.993529][ T6025] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 68.993529][ T6025] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [pid 6028] 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 6028] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 6028] ioctl(3, LOOP_CLR_FD) = 0 [pid 6028] close(3 [pid 6026] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6026] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 6026] ioctl(3, LOOP_CLR_FD) = 0 [ 68.993529][ T6025] 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.071045][ T6028] bcachefs: bch2_fs_get_tree() error: EINVAL [ 69.084943][ T6026] bcachefs: bch2_fs_get_tree() error: EINVAL [ 69.116749][ T6025] bcachefs (loop3): dropping and reconstructing all alloc info [pid 6026] close(3 [pid 6027] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5830] <... umount2 resumed>) = 0 [pid 5830] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] newfstatat(AT_FDCWD, "./3/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5830] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] openat(AT_FDCWD, "./3/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5830] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5830] getdents64(4, 0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5830] getdents64(4, 0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 5830] close(4) = 0 [pid 5830] rmdir("./3/file0") = 0 [pid 5830] getdents64(3, 0x555555ec46f0 /* 0 entries */, 32768) = 0 [pid 5830] close(3) = 0 [pid 5830] rmdir("./3" [pid 6027] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5830] <... rmdir resumed>) = 0 [pid 6027] <... openat resumed>) = 3 [pid 5830] mkdir("./4", 0777 [pid 6027] ioctl(3, LOOP_CLR_FD [pid 5830] <... mkdir resumed>) = 0 [pid 6027] <... ioctl resumed>) = 0 [pid 5830] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6027] close(3 [pid 5830] <... openat resumed>) = 3 [pid 5830] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5830] close(3) = 0 [pid 5830] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555ec3650) = 6058 ./strace-static-x86_64: Process 6058 attached [ 69.184522][ T6027] bcachefs: bch2_fs_get_tree() error: EINVAL [ 69.209483][ T6025] bcachefs (loop3): accounting_read... done [pid 6058] set_robust_list(0x555555ec3660, 24) = 0 [pid 6058] chdir("./4") = 0 [pid 6058] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6058] setpgid(0, 0) = 0 [pid 6058] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6058] write(3, "1000", 4) = 4 [pid 6058] close(3) = 0 [pid 6058] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6058] write(1, "executing program\n", 18executing program ) = 18 [pid 6058] memfd_create("syzkaller", 0) = 3 [pid 6058] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f25a3800000 [ 69.232366][ T6025] bcachefs (loop3): alloc_read... done [ 69.254150][ T6025] bcachefs (loop3): stripes_read... done [ 69.283411][ T6025] bcachefs (loop3): snapshots_read... done [pid 6028] <... close resumed>) = 0 [pid 6028] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [pid 6028] exit_group(0) = ? [pid 6028] +++ exited with 0 +++ [pid 5832] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6028, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=37 /* 0.37 s */} --- [pid 5832] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5832] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5832] openat(AT_FDCWD, "./4", 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 6026] <... close resumed>) = 0 [pid 5832] getdents64(3, 0x555555ec46f0 /* 5 entries */, 32768) = 384 [pid 5832] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5832] newfstatat(AT_FDCWD, "./4/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5832] unlink("./4/binderfs" [pid 6026] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5832] <... unlink resumed>) = 0 [pid 6026] <... mkdirat resumed>) = 0 [pid 5832] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6026] exit_group(0 [pid 5832] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6026] <... exit_group resumed>) = ? [pid 5832] newfstatat(AT_FDCWD, "./4/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5832] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5832] openat(AT_FDCWD, "./4/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5832] newfstatat(4, "", [pid 6026] +++ exited with 0 +++ [pid 5832] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5834] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6026, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=40 /* 0.40 s */} --- [pid 5834] restart_syscall(<... resuming interrupted clone ...> [pid 5832] getdents64(4, [pid 5834] <... restart_syscall resumed>) = 0 [pid 5832] <... getdents64 resumed>0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5834] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5834] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5834] newfstatat(3, "", [pid 5832] getdents64(4, [pid 5834] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6027] <... close resumed>) = 0 [pid 5834] getdents64(3, [pid 5832] <... getdents64 resumed>0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 5832] close(4 [pid 5834] <... getdents64 resumed>0x555555ec46f0 /* 5 entries */, 32768) = 384 [pid 6027] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5834] umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5832] <... close resumed>) = 0 [pid 5834] newfstatat(AT_FDCWD, "./5/binderfs", [pid 5832] rmdir("./4/file0" [pid 5834] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5832] <... rmdir resumed>) = 0 [pid 5832] umount2("./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5834] unlink("./5/binderfs" [pid 5832] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5832] newfstatat(AT_FDCWD, "./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5834] <... unlink resumed>) = 0 [pid 5834] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5832] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5834] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] newfstatat(AT_FDCWD, "./5/file0", [pid 5832] umount2("./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5834] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5832] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5832] openat(AT_FDCWD, "./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5834] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] openat(AT_FDCWD, "./5/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [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, 0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5832] getdents64(4, 0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 5834] <... openat resumed>) = 4 [pid 5834] newfstatat(4, "", [pid 6027] <... mkdirat resumed>) = 0 [pid 5834] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5834] getdents64(4, [pid 5832] close(4 [pid 5834] <... getdents64 resumed>0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5832] <... close resumed>) = 0 [pid 5834] getdents64(4, 0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 5832] rmdir("./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5834] close(4) = 0 [pid 5832] <... rmdir resumed>) = 0 [pid 5834] rmdir("./5/file0" [pid 6027] exit_group(0 [pid 5834] <... rmdir resumed>) = 0 [pid 5834] umount2("./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6027] <... exit_group resumed>) = ? [pid 5834] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] newfstatat(AT_FDCWD, "./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5832] getdents64(3, [pid 5834] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5832] <... getdents64 resumed>0x555555ec46f0 /* 0 entries */, 32768) = 0 [pid 5834] umount2("./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5832] close(3 [pid 5834] openat(AT_FDCWD, "./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5832] <... close resumed>) = 0 [pid 5832] rmdir("./4" [pid 5834] <... openat resumed>) = 4 [pid 6027] +++ exited with 0 +++ [pid 5834] newfstatat(4, "", [pid 5832] <... rmdir resumed>) = 0 [ 69.320654][ T6025] bcachefs (loop3): check_allocations... done [pid 5834] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5832] mkdir("./5", 0777 [pid 5831] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6027, si_uid=0, si_status=0, si_utime=8 /* 0.08 s */, si_stime=44 /* 0.44 s */} --- [pid 5834] getdents64(4, [pid 5832] <... mkdir resumed>) = 0 [pid 5831] restart_syscall(<... resuming interrupted clone ...> [pid 5832] openat(AT_FDCWD, "/dev/loop2", 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 5831] <... restart_syscall resumed>) = 0 [pid 5831] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) ./strace-static-x86_64: Process 6059 attached [pid 5832] <... clone resumed>, child_tidptr=0x555555ec3650) = 6059 [pid 5831] openat(AT_FDCWD, "./5", 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 5834] <... getdents64 resumed>0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5831] getdents64(3, 0x555555ec46f0 /* 5 entries */, 32768) = 384 [pid 5831] umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] newfstatat(AT_FDCWD, "./5/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] unlink("./5/binderfs") = 0 [pid 5831] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5834] getdents64(4, [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6059] set_robust_list(0x555555ec3660, 24 [pid 5831] newfstatat(AT_FDCWD, "./5/file0", [pid 6059] <... set_robust_list resumed>) = 0 [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6059] chdir("./5" [pid 5831] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6059] <... chdir resumed>) = 0 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6059] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5831] openat(AT_FDCWD, "./5/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6059] <... prctl resumed>) = 0 [pid 5831] <... openat resumed>) = 4 [pid 6059] setpgid(0, 0 [pid 5831] newfstatat(4, "", [pid 6059] <... setpgid resumed>) = 0 [pid 5834] <... getdents64 resumed>0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6059] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5834] close(4 [pid 5831] getdents64(4, [pid 6059] <... openat resumed>) = 3 [pid 5834] <... close resumed>) = 0 [pid 5831] <... getdents64 resumed>0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 6059] write(3, "1000", 4 [pid 5831] getdents64(4, [pid 6059] <... write resumed>) = 4 [pid 5831] <... getdents64 resumed>0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 6059] close(3 [pid 5831] close(4 [pid 6059] <... close resumed>) = 0 [pid 5831] <... close resumed>) = 0 [pid 6059] symlink("/dev/binderfs", "./binderfs" [pid 5831] rmdir("./5/file0"executing program [pid 6059] <... symlink resumed>) = 0 [pid 5831] <... rmdir resumed>) = 0 [pid 5834] rmdir("./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 5831] umount2("./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] newfstatat(AT_FDCWD, "./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 6059] write(1, "executing program\n", 18 [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6059] <... write resumed>) = 18 [pid 5831] umount2("./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6059] memfd_create("syzkaller", 0 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] openat(AT_FDCWD, "./5/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 6059] <... memfd_create resumed>) = 3 [pid 5834] <... rmdir resumed>) = 0 [pid 5831] getdents64(4, [pid 6059] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5834] getdents64(3, [pid 5831] <... getdents64 resumed>0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 6059] <... mmap resumed>) = 0x7f25a3800000 [pid 5834] <... getdents64 resumed>0x555555ec46f0 /* 0 entries */, 32768) = 0 [pid 5831] getdents64(4, [pid 5834] close(3 [pid 5831] <... getdents64 resumed>0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 5834] <... close resumed>) = 0 [pid 5834] rmdir("./5" [pid 5831] close(4 [pid 5834] <... rmdir resumed>) = 0 [pid 5831] <... close resumed>) = 0 [pid 5831] rmdir("./5/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5834] mkdir("./6", 0777 [pid 5831] getdents64(3, 0x555555ec46f0 /* 0 entries */, 32768) = 0 [ 69.460761][ T6025] bcachefs (loop3): going read-write [pid 5831] close(3) = 0 [pid 5834] <... mkdir resumed>) = 0 [pid 5834] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5834] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5831] rmdir("./5" [pid 5834] close(3) = 0 [pid 5831] <... rmdir resumed>) = 0 [pid 5834] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5831] mkdir("./6", 0777) = 0 ./strace-static-x86_64: Process 6062 attached [pid 6062] set_robust_list(0x555555ec3660, 24 [pid 5834] <... clone resumed>, child_tidptr=0x555555ec3650) = 6062 [pid 6062] <... set_robust_list resumed>) = 0 [pid 5831] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6062] chdir("./6") = 0 [pid 5831] <... openat resumed>) = 3 [pid 6062] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5831] ioctl(3, LOOP_CLR_FD [pid 6062] setpgid(0, 0 [pid 5831] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6062] <... setpgid resumed>) = 0 [pid 5831] close(3 [pid 6062] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5831] <... close resumed>) = 0 [pid 5831] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6063 attached , child_tidptr=0x555555ec3650) = 6063 [pid 6063] set_robust_list(0x555555ec3660, 24) = 0 [pid 6063] chdir("./6") = 0 [pid 6063] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6063] setpgid(0, 0) = 0 [pid 6063] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6063] write(3, "1000", 4) = 4 [pid 6063] close(3) = 0 [pid 6062] <... openat resumed>) = 3 [pid 6063] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 6062] write(3, "1000", 4 [pid 6063] write(1, "executing program\n", 18) = 18 [pid 6063] memfd_create("syzkaller", 0 [pid 6025] <... mount resumed>) = 0 [pid 6063] <... memfd_create resumed>) = 3 [pid 6025] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 6063] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6025] <... openat resumed>) = 3 [pid 6063] <... mmap resumed>) = 0x7f25a3800000 [pid 6025] chdir("./file0" [pid 6062] <... write resumed>) = 4 [pid 6025] <... chdir resumed>) = 0 [pid 6062] close(3 [pid 6025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6062] <... close resumed>) = 0 [pid 6062] symlink("/dev/binderfs", "./binderfs" [pid 6025] <... openat resumed>) = 4 [pid 6025] ioctl(4, LOOP_CLR_FD) = 0 [pid 6025] close(4) = 0 [pid 6025] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000executing program [pid 6062] <... symlink resumed>) = 0 [pid 6062] write(1, "executing program\n", 18) = 18 [pid 6025] <... mkdirat resumed>) = 0 [pid 6025] exit_group(0 [pid 6062] memfd_create("syzkaller", 0 [pid 6025] <... exit_group resumed>) = ? [pid 6062] <... memfd_create resumed>) = 3 [ 69.502891][ T6025] bcachefs (loop3): done starting filesystem [pid 6062] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6025] +++ exited with 0 +++ [pid 5833] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6025, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=29 /* 0.29 s */} --- [pid 5833] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5833] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 6062] <... mmap resumed>) = 0x7f25a3800000 [pid 5833] openat(AT_FDCWD, "./3", 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, 0x555555ec46f0 /* 4 entries */, 32768) = 112 [pid 5833] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5833] newfstatat(AT_FDCWD, "./3/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5833] unlink("./3/binderfs") = 0 [ 69.627252][ T5833] bcachefs (loop3): shutting down [ 69.632332][ T5833] bcachefs (loop3): going read-only [ 69.677659][ T5833] bcachefs (loop3): finished waiting for writes to stop [pid 5833] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW [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 [ 69.752603][ T5833] bcachefs (loop3): flushing journal and stopping allocators, journal seq 3340 [ 69.835707][ T4369] bcachefs (loop3): bch2_write_super(): fatal error loop3: Superblock write was silently dropped! (seq 0 expected 53) [pid 6058] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [ 69.884558][ T4369] bcachefs (loop3): fatal error - emergency read only [ 69.893391][ T5833] bcachefs (loop3): flushing journal and stopping allocators complete, journal seq 3342 [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 [ 69.934989][ T5833] bcachefs (loop3): unshutdown complete, journal seq 3342 [ 69.943101][ T5833] bcachefs (loop3): done going read-only, filesystem not clean [pid 6063] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6059] <... write resumed>) = 16777216 [ 70.019421][ T5833] bcachefs (loop3): shutdown complete [pid 6059] munmap(0x7f25a3800000, 138412032) = 0 [pid 6059] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6059] ioctl(4, LOOP_SET_FD, 3 [pid 6058] <... write resumed>) = 16777216 [pid 6059] <... ioctl resumed>) = 0 [pid 6059] close(3 [pid 6058] munmap(0x7f25a3800000, 138412032 [pid 6059] <... close resumed>) = 0 [pid 6059] close(4) = 0 [pid 6059] mkdir("./file0", 0777) = 0 [pid 6059] 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 6058] <... munmap resumed>) = 0 [pid 6058] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6058] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6058] close(3) = 0 [pid 6058] close(4) = 0 [pid 6058] mkdir("./file0", 0777) = 0 [ 70.095836][ T6059] loop2: detected capacity change from 0 to 32768 [ 70.132719][ T6058] loop0: detected capacity change from 0 to 32768 [pid 6058] 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 6062] <... write resumed>) = 16777216 [pid 6063] <... write resumed>) = 16777216 [pid 6063] munmap(0x7f25a3800000, 138412032 [pid 6062] munmap(0x7f25a3800000, 138412032) = 0 [pid 6063] <... munmap resumed>) = 0 [pid 6062] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6063] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6062] <... openat resumed>) = 4 [pid 6063] <... openat resumed>) = 4 [pid 6062] ioctl(4, LOOP_SET_FD, 3 [pid 6063] ioctl(4, LOOP_SET_FD, 3 [pid 6062] <... ioctl resumed>) = 0 [pid 6063] <... ioctl resumed>) = 0 [pid 6062] close(3 [pid 6063] close(3 [pid 6062] <... close resumed>) = 0 [pid 6063] <... close resumed>) = 0 [pid 6063] close(4 [pid 6062] close(4 [pid 6063] <... close resumed>) = 0 [pid 6063] mkdir("./file0", 0777 [pid 6062] <... close resumed>) = 0 [pid 6062] mkdir("./file0", 0777 [pid 6063] <... mkdir resumed>) = 0 [pid 6062] <... mkdir resumed>) = 0 [pid 6062] 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"... [ 70.271350][ T6062] loop4: detected capacity change from 0 to 32768 [ 70.272195][ T6063] loop1: detected capacity change from 0 to 32768 [ 70.539772][ T6058] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 70.539996][ T6059] bcachefs (loop2): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 70.549014][ T6058] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 70.573558][ T6059] bcachefs (loop2): recovering from clean shutdown, journal seq 3338 [ 70.587834][ T6059] bcachefs (loop2): Version upgrade required: [ 70.587834][ T6059] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 70.587834][ T6059] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 70.587834][ 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 [ 70.596306][ T6062] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 70.683012][ T6063] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 70.692924][ T6062] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 70.713915][ T6063] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 70.734533][ T6059] bcachefs (loop2): dropping and reconstructing all alloc info [pid 6063] 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 6058] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6058] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 6058] ioctl(3, LOOP_CLR_FD [pid 6062] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6058] <... ioctl resumed>) = 0 [pid 6062] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 6058] close(3 [ 70.787732][ T6059] bcachefs (loop2): accounting_read... done [ 70.812024][ T6058] bcachefs: bch2_fs_get_tree() error: EINVAL [ 70.812871][ T6059] bcachefs (loop2): alloc_read... [ 70.834297][ T6062] bcachefs: bch2_fs_get_tree() error: EINVAL [ 70.843348][ T6059] done [ 70.848343][ T6059] bcachefs (loop2): stripes_read... done [pid 6062] ioctl(3, LOOP_CLR_FD) = 0 [pid 6062] close(3 [pid 6063] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 6063] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 6063] ioctl(3, LOOP_CLR_FD) = 0 [ 70.879560][ T6059] bcachefs (loop2): snapshots_read... done [ 70.894571][ T6059] bcachefs (loop2): check_allocations... [ 70.898464][ T6063] bcachefs: bch2_fs_get_tree() error: EINVAL [ 70.967731][ T6059] done [ 71.005206][ T6059] bcachefs (loop2): going read-write [pid 6063] close(3 [pid 6059] <... mount resumed>) = 0 [pid 6059] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6059] chdir("./file0") = 0 [pid 6059] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6059] ioctl(4, LOOP_CLR_FD) = 0 [pid 6059] close(4) = 0 [pid 6059] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [pid 5833] <... umount2 resumed>) = 0 [pid 6059] exit_group(0) = ? [pid 6059] +++ exited with 0 +++ [pid 5832] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6059, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=37 /* 0.37 s */} --- [pid 5832] restart_syscall(<... resuming interrupted clone ...> [pid 5833] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5833] newfstatat(AT_FDCWD, "./3/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5833] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5833] openat(AT_FDCWD, "./3/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, 0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5833] getdents64(4, 0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 5833] close(4) = 0 [pid 5833] rmdir("./3/file0") = 0 [pid 5832] <... restart_syscall resumed>) = 0 [pid 5832] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5833] getdents64(3, [pid 5832] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5832] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5833] <... getdents64 resumed>0x555555ec46f0 /* 0 entries */, 32768) = 0 [pid 5832] newfstatat(3, "", [pid 5833] close(3 [pid 5832] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5833] <... close resumed>) = 0 [ 71.070495][ T6059] bcachefs (loop2): done starting filesystem [pid 5832] getdents64(3, [pid 5833] rmdir("./3" [pid 5832] <... getdents64 resumed>0x555555ec46f0 /* 4 entries */, 32768) = 112 [pid 5832] umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5832] newfstatat(AT_FDCWD, "./5/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5832] unlink("./5/binderfs" [pid 5833] <... rmdir resumed>) = 0 [pid 5832] <... unlink resumed>) = 0 [pid 5832] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5833] mkdir("./4", 0777) = 0 [pid 5833] openat(AT_FDCWD, "/dev/loop3", 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(0x555555ec3660, 24 [pid 5833] <... clone resumed>, child_tidptr=0x555555ec3650) = 6095 [pid 6095] <... set_robust_list resumed>) = 0 [pid 6095] chdir("./4" [pid 6058] <... close resumed>) = 0 [pid 6095] <... chdir resumed>) = 0 [pid 6095] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6095] setpgid(0, 0) = 0 [pid 6095] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6058] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000executing program [pid 6095] write(3, "1000", 4 [pid 6058] <... mkdirat resumed>) = 0 [pid 6058] exit_group(0 [pid 6095] <... write resumed>) = 4 [pid 6095] close(3) = 0 [pid 6095] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6095] write(1, "executing program\n", 18) = 18 [pid 6058] <... exit_group resumed>) = ? [pid 6095] memfd_create("syzkaller", 0) = 3 [pid 6095] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f25a3800000 [pid 6058] +++ exited with 0 +++ [pid 5830] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6058, si_uid=0, si_status=0, si_utime=9 /* 0.09 s */, si_stime=42 /* 0.42 s */} --- [pid 5830] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 6062] <... close resumed>) = 0 [pid 5830] <... openat resumed>) = 3 [pid 5830] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5830] getdents64(3, 0x555555ec46f0 /* 5 entries */, 32768) = 384 [pid 5830] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] newfstatat(AT_FDCWD, "./4/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5830] unlink("./4/binderfs") = 0 [pid 5830] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] newfstatat(AT_FDCWD, "./4/file0", [pid 6063] <... close resumed>) = 0 [pid 6062] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 5830] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5830] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] openat(AT_FDCWD, "./4/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 6062] <... mkdirat resumed>) = 0 [pid 5830] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 6062] exit_group(0 [pid 6063] mkdirat(AT_FDCWD, "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000 [pid 6062] <... exit_group resumed>) = ? [pid 5830] getdents64(4, 0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5830] getdents64(4, 0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 5830] close(4 [pid 6063] <... mkdirat resumed>) = 0 [pid 5830] <... close resumed>) = 0 [pid 5830] rmdir("./4/file0") = 0 [pid 6062] +++ exited with 0 +++ [pid 5830] umount2("./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6063] exit_group(0 [pid 5830] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5830] newfstatat(AT_FDCWD, "./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5830] umount2("./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] openat(AT_FDCWD, "./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5830] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5830] getdents64(4, 0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5830] getdents64(4, 0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 5830] close(4) = 0 [pid 5830] rmdir("./4/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = 0 [pid 5830] getdents64(3, 0x555555ec46f0 /* 0 entries */, 32768) = 0 [pid 5830] close(3) = 0 [ 71.164916][ T5832] bcachefs (loop2): shutting down [ 71.174203][ T5832] bcachefs (loop2): going read-only [ 71.202135][ T5832] bcachefs (loop2): finished waiting for writes to stop [pid 5830] rmdir("./4") = 0 [pid 6063] <... exit_group resumed>) = ? [pid 5834] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6062, si_uid=0, si_status=0, si_utime=11 /* 0.11 s */, si_stime=29 /* 0.29 s */} --- [pid 5834] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 6063] +++ exited with 0 +++ [pid 5834] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6063, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=45 /* 0.45 s */} --- [pid 5834] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] restart_syscall(<... resuming interrupted clone ...> [pid 5830] mkdir("./5", 0777 [pid 5834] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5830] <... mkdir resumed>) = 0 [pid 5834] newfstatat(3, "", [pid 5830] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5834] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5830] <... openat resumed>) = 3 [pid 5834] getdents64(3, 0x555555ec46f0 /* 5 entries */, 32768) = 384 [pid 5831] <... restart_syscall resumed>) = 0 [pid 5830] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5830] close(3) = 0 [pid 5830] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5834] umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5834] newfstatat(AT_FDCWD, "./6/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5834] unlink("./6/binderfs") = 0 [pid 5830] <... clone resumed>, child_tidptr=0x555555ec3650) = 6096 ./strace-static-x86_64: Process 6096 attached [pid 5834] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5834] newfstatat(AT_FDCWD, "./6/file0", [pid 5831] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5834] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5834] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] <... openat resumed>) = 3 [pid 5834] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] openat(AT_FDCWD, "./6/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5831] newfstatat(3, "", [pid 5834] newfstatat(4, "", [pid 5831] <... 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 5831] getdents64(3, [pid 5834] getdents64(4, [pid 5831] <... getdents64 resumed>0x555555ec46f0 /* 5 entries */, 32768) = 384 [pid 5834] <... getdents64 resumed>0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5834] getdents64(4, [pid 5831] umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5834] <... getdents64 resumed>0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] close(4 [pid 5831] newfstatat(AT_FDCWD, "./6/binderfs", [pid 5834] <... close resumed>) = 0 [pid 5831] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5834] rmdir("./6/file0" [pid 5831] unlink("./6/binderfs" [pid 6096] set_robust_list(0x555555ec3660, 24 [pid 5834] <... rmdir resumed>) = 0 [pid 5831] <... unlink resumed>) = 0 [pid 6096] <... set_robust_list resumed>) = 0 [pid 5831] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6096] chdir("./5" [pid 5834] umount2("./6/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6096] <... chdir resumed>) = 0 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 6096] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5834] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] newfstatat(AT_FDCWD, "./6/file0", [pid 6096] setpgid(0, 0 [pid 5834] newfstatat(AT_FDCWD, "./6/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 6096] <... setpgid resumed>) = 0 [pid 5834] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 71.237905][ T5832] bcachefs (loop2): flushing journal and stopping allocators, journal seq 3340 [pid 5831] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 6096] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5834] umount2("./6/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] openat(AT_FDCWD, "./6/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5834] newfstatat(4, "", [pid 5831] openat(AT_FDCWD, "./6/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5834] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] <... openat resumed>) = 4 [pid 5834] getdents64(4, [pid 5831] newfstatat(4, "", [pid 5834] <... getdents64 resumed>0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] getdents64(4, 0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5831] getdents64(4, 0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 5834] getdents64(4, [pid 5831] close(4) = 0 [pid 5834] <... getdents64 resumed>0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 5831] rmdir("./6/file0" [pid 5834] close(4 [pid 5831] <... rmdir resumed>) = 0 [pid 5834] <... close resumed>) = 0 [pid 5834] rmdir("./6/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 6096] <... openat resumed>) = 3 [pid 5834] <... rmdir resumed>) = 0 [pid 5831] umount2("./6/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5834] getdents64(3, [pid 5831] newfstatat(AT_FDCWD, "./6/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", [pid 5834] <... getdents64 resumed>0x555555ec46f0 /* 0 entries */, 32768) = 0 [pid 6096] write(3, "1000", 4 [pid 5834] close(3 [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5834] <... close resumed>) = 0 [pid 5834] rmdir("./6" [pid 5831] umount2("./6/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5834] <... rmdir resumed>) = 0 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] openat(AT_FDCWD, "./6/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 6096] <... write resumed>) = 4 [pid 5834] mkdir("./7", 0777 [pid 6096] close(3 [pid 5834] <... mkdir resumed>) = 0 [pid 5831] getdents64(4, 0x555555ecc730 /* 2 entries */, 32768) = 48 [pid 5831] getdents64(4, 0x555555ecc730 /* 0 entries */, 32768) = 0 [pid 5831] close(4) = 0 [pid 5834] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5831] rmdir("./6/file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [pid 6096] <... close resumed>) = 0 [pid 6096] symlink("/dev/binderfs", "./binderfs" [pid 5834] <... openat resumed>) = 3 executing program [pid 6096] <... symlink resumed>) = 0 [pid 6096] write(1, "executing program\n", 18 [pid 5834] ioctl(3, LOOP_CLR_FD [pid 6096] <... write resumed>) = 18 [pid 6096] memfd_create("syzkaller", 0 [pid 5834] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5831] <... rmdir resumed>) = 0 [pid 6096] <... memfd_create resumed>) = 3 [pid 5834] close(3 [pid 6096] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f25a3800000 [pid 5834] <... close resumed>) = 0 [pid 5831] getdents64(3, [pid 5834] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5831] <... getdents64 resumed>0x555555ec46f0 /* 0 entries */, 32768) = 0 [pid 5831] close(3./strace-static-x86_64: Process 6097 attached ) = 0 [pid 5831] rmdir("./6") = 0 [pid 6097] set_robust_list(0x555555ec3660, 24 [pid 5834] <... clone resumed>, child_tidptr=0x555555ec3650) = 6097 [pid 5831] mkdir("./7", 0777 [pid 6097] <... set_robust_list resumed>) = 0 [pid 5831] <... mkdir resumed>) = 0 [pid 6097] chdir("./7") = 0 [pid 6097] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5831] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6097] <... prctl resumed>) = 0 [pid 5831] <... openat resumed>) = 3 [ 71.309148][ T5832] bcachefs (loop2): flushing journal and stopping allocators complete, journal seq 3341 [pid 6097] setpgid(0, 0) = 0 [pid 5831] ioctl(3, LOOP_CLR_FD [pid 6097] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5831] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5831] close(3) = 0 [pid 5831] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6097] <... openat resumed>) = 3 [pid 6097] write(3, "1000", 4 [pid 5831] <... clone resumed>, child_tidptr=0x555555ec3650) = 6098 [pid 6097] <... write resumed>) = 4 [pid 6097] close(3) = 0 [pid 6097] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6097] write(1, "executing program\n", 18./strace-static-x86_64: Process 6098 attached ) = 18 [pid 6097] memfd_create("syzkaller", 0) = 3 [pid 6097] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f25a3800000 [pid 6098] set_robust_list(0x555555ec3660, 24) = 0 [pid 6098] chdir("./7") = 0 [pid 6098] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6098] setpgid(0, 0) = 0 [ 71.364850][ T35] bcachefs (loop2): bch2_write_super(): fatal error loop2: Superblock write was silently dropped! (seq 0 expected 53) [ 71.381626][ T5832] bcachefs (loop2): unshutdown complete, journal seq 3342 [pid 6098] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6098] write(3, "1000", 4) = 4 [pid 6098] close(3) = 0 [pid 6098] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6098] write(1, "executing program\n", 18) = 18 [pid 6098] memfd_create("syzkaller", 0) = 3 [pid 6098] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f25a3800000 [ 71.434815][ T35] bcachefs (loop2): fatal error - emergency read only [ 71.473883][ T35] ------------[ cut here ]------------ [ 71.479620][ T35] kernel BUG at fs/bcachefs/journal.h:375! [ 71.520603][ T35] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI [ 71.527599][ T35] CPU: 0 UID: 0 PID: 35 Comm: kworker/u8:2 Not tainted 6.12.0-rc6-syzkaller-00279-gde2f378f2b77 #0 [ 71.538285][ T35] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 [ 71.548352][ T35] Workqueue: btree_update btree_interior_update_work [ 71.555061][ T35] RIP: 0010:__bch2_trans_commit+0x9232/0x93c0 [ 71.561144][ T35] Code: fd 90 0f 0b e8 ff 75 78 fd 90 0f 0b e8 f7 75 78 fd 90 0f 0b e8 ef 75 78 fd 90 0f 0b e8 e7 75 78 fd 90 0f 0b e8 df 75 78 fd 90 <0f> 0b e8 d7 75 78 fd 90 0f 0b e8 cf 75 78 fd 90 0f 0b e8 c7 75 78 [ 71.580769][ T35] RSP: 0000:ffffc90000ab76c0 EFLAGS: 00010293 [ 71.586830][ T35] RAX: ffffffff841c6421 RBX: 0000000000000000 RCX: ffff88801dae9e00 [ 71.594798][ T35] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 71.602763][ T35] RBP: ffffc90000ab7890 R08: ffffffff841c0758 R09: 1ffff1100d8b94a8 [ 71.610726][ T35] R10: dffffc0000000000 R11: ffffed100d8b94a9 R12: ffff88806c580000 [ 71.618685][ T35] R13: ffff88806c5ca500 R14: 0000000000000044 R15: ffff88807b7480d0 [ 71.626648][ T35] FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 [ 71.635566][ T35] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 71.642137][ T35] CR2: 00007f25a4501000 CR3: 0000000035b32000 CR4: 00000000003526f0 [ 71.650103][ T35] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 71.658064][ T35] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 71.666026][ T35] Call Trace: [ 71.669295][ T35] [ 71.672222][ T35] ? __die_body+0x5f/0xb0 [ 71.676543][ T35] ? die+0x9e/0xc0 [ 71.680253][ T35] ? do_trap+0x15a/0x3a0 [ 71.684486][ T35] ? __bch2_trans_commit+0x9232/0x93c0 [ 71.689948][ T35] ? do_error_trap+0x1dc/0x2c0 [ 71.694700][ T35] ? __bch2_trans_commit+0x9232/0x93c0 [ 71.700151][ T35] ? __pfx_do_error_trap+0x10/0x10 [ 71.705253][ T35] ? report_bug+0x3e8/0x500 [ 71.709757][ T35] ? handle_invalid_op+0x34/0x40 [ 71.714686][ T35] ? __bch2_trans_commit+0x9232/0x93c0 [ 71.720134][ T35] ? exc_invalid_op+0x38/0x50 [ 71.724801][ T35] ? asm_exc_invalid_op+0x1a/0x20 [ 71.729815][ T35] ? __bch2_trans_commit+0x3568/0x93c0 [ 71.735265][ T35] ? __bch2_trans_commit+0x9231/0x93c0 [ 71.740714][ T35] ? __bch2_trans_commit+0x9232/0x93c0 [ 71.746169][ T35] ? __pfx___bch2_trans_commit+0x10/0x10 [ 71.751793][ T35] ? bch2_dev_btree_bitmap_marked+0x2f/0xda0 [ 71.757764][ T35] ? __bch2_trans_jset_entry_alloc+0x2c7/0x4b0 [ 71.763912][ T35] ? btree_interior_update_work+0x117a/0x2b10 [ 71.769968][ T35] btree_interior_update_work+0x1492/0x2b10 [ 71.775861][ T35] ? __pfx_btree_interior_update_work+0x10/0x10 [ 71.782096][ T35] ? __pfx_lock_acquire+0x10/0x10 [ 71.787110][ T35] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 71.793081][ T35] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 71.799403][ T35] ? process_scheduled_works+0x976/0x1850 [ 71.805113][ T35] process_scheduled_works+0xa63/0x1850 [ 71.810655][ T35] ? __pfx_process_scheduled_works+0x10/0x10 [ 71.816629][ T35] ? assign_work+0x364/0x3d0 [ 71.821211][ T35] worker_thread+0x870/0xd30 [ 71.825796][ T35] ? __kthread_parkme+0x169/0x1d0 [ 71.830812][ T35] ? __pfx_worker_thread+0x10/0x10 [ 71.835916][ T35] kthread+0x2f0/0x390 [ 71.839974][ T35] ? __pfx_worker_thread+0x10/0x10 [ 71.845077][ T35] ? __pfx_kthread+0x10/0x10 [ 71.849652][ T35] ret_from_fork+0x4b/0x80 [ 71.854064][ T35] ? __pfx_kthread+0x10/0x10 [ 71.858641][ T35] ret_from_fork_asm+0x1a/0x30 [ 71.863404][ T35] [ 71.866410][ T35] Modules linked in: [ 71.870698][ T35] ---[ end trace 0000000000000000 ]--- [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 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] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 6095] <... write resumed>) = 16777216 [pid 6095] munmap(0x7f25a3800000, 138412032) = 0 [pid 6095] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6095] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6095] close(3) = 0 [pid 6095] close(4) = 0 [pid 6095] mkdir("./file0", 0777) = 0 [pid 6095] 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"... [ 71.994225][ T6095] loop3: detected capacity change from 0 to 32768 [ 72.001422][ T35] RIP: 0010:__bch2_trans_commit+0x9232/0x93c0 [ 72.007957][ T35] Code: fd 90 0f 0b e8 ff 75 78 fd 90 0f 0b e8 f7 75 78 fd 90 0f 0b e8 ef 75 78 fd 90 0f 0b e8 e7 75 78 fd 90 0f 0b e8 df 75 78 fd 90 <0f> 0b e8 d7 75 78 fd 90 0f 0b e8 cf 75 78 fd 90 0f 0b e8 c7 75 78 [ 72.039573][ T35] RSP: 0000:ffffc90000ab76c0 EFLAGS: 00010293 [ 72.053779][ T35] RAX: ffffffff841c6421 RBX: 0000000000000000 RCX: ffff88801dae9e00 [ 72.070675][ T35] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 72.079962][ T35] RBP: ffffc90000ab7890 R08: ffffffff841c0758 R09: 1ffff1100d8b94a8 [ 72.089301][ T35] R10: dffffc0000000000 R11: ffffed100d8b94a9 R12: ffff88806c580000 [ 72.100733][ T35] R13: ffff88806c5ca500 R14: 0000000000000044 R15: ffff88807b7480d0 [ 72.111809][ T35] FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 [ 72.132089][ T35] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 72.139155][ T35] CR2: 00007f25a47ff000 CR3: 0000000034ff6000 CR4: 00000000003526f0 [ 72.143826][ T6095] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 72.148244][ T35] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 72.165080][ T35] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 72.173083][ T35] Kernel panic - not syncing: Fatal exception [ 72.179411][ T35] Kernel Offset: disabled [ 72.183746][ T35] Rebooting in 86400 seconds..