./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor283723871 <...> Warning: Permanently added '10.128.1.126' (ED25519) to the list of known hosts. execve("./syz-executor283723871", ["./syz-executor283723871"], 0x7fffa7bdf590 /* 10 vars */) = 0 brk(NULL) = 0x55557d035000 brk(0x55557d035d00) = 0x55557d035d00 arch_prctl(ARCH_SET_FS, 0x55557d035380) = 0 set_tid_address(0x55557d035650) = 5831 set_robust_list(0x55557d035660, 24) = 0 rseq(0x55557d035ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor283723871", 4096) = 27 getrandom("\xf2\x3c\x8f\x97\xa1\xbd\xfe\x5c", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55557d035d00 brk(0x55557d056d00) = 0x55557d056d00 brk(0x55557d057000) = 0x55557d057000 mprotect(0x7fc306ceb000, 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 5832 attached [pid 5832] set_robust_list(0x55557d035660, 24 [pid 5831] <... clone resumed>, child_tidptr=0x55557d035650) = 5832 [pid 5832] <... set_robust_list resumed>) = 0 [pid 5831] openat(AT_FDCWD, "/sys/kernel/debug/x86/nmi_longest_ns", O_WRONLY|O_CLOEXEC) = 3 [pid 5831] write(3, "10000000000", 11) = 11 [pid 5831] close(3) = 0 [pid 5831] openat(AT_FDCWD, "/proc/sys/kernel/hung_task_check_interval_secs", O_WRONLY|O_CLOEXEC) = 3 [pid 5831] write(3, "20", 2) = 2 [pid 5831] close(3) = 0 [pid 5831] openat(AT_FDCWD, "/proc/sys/net/core/bpf_jit_kallsyms", O_WRONLY|O_CLOEXEC) = 3 [pid 5831] write(3, "1", 1) = 1 [pid 5831] close(3) = 0 [pid 5831] openat(AT_FDCWD, "/proc/sys/net/core/bpf_jit_harden", O_WRONLY|O_CLOEXEC) = 3 [pid 5831] write(3, "0", 1) = 1 [pid 5831] close(3) = 0 [pid 5831] openat(AT_FDCWD, "/proc/sys/kernel/kptr_restrict", O_WRONLY|O_CLOEXEC) = 3 [pid 5831] write(3, "0", 1) = 1 [pid 5831] close(3) = 0 [pid 5831] openat(AT_FDCWD, "/proc/sys/kernel/softlockup_all_cpu_backtrace", O_WRONLY|O_CLOEXEC) = 3 [pid 5831] write(3, "1", 1) = 1 [pid 5831] close(3) = 0 [pid 5831] openat(AT_FDCWD, "/proc/sys/fs/mount-max", O_WRONLY|O_CLOEXEC) = 3 [pid 5831] write(3, "100", 3) = 3 [pid 5831] close(3) = 0 [pid 5831] openat(AT_FDCWD, "/proc/sys/vm/oom_dump_tasks", O_WRONLY|O_CLOEXEC) = 3 [pid 5831] write(3, "0", 1) = 1 [pid 5831] close(3) = 0 [pid 5831] openat(AT_FDCWD, "/proc/sys/debug/exception-trace", O_WRONLY|O_CLOEXEC) = 3 [pid 5831] write(3, "0", 1) = 1 [pid 5831] close(3) = 0 [pid 5831] openat(AT_FDCWD, "/proc/sys/kernel/printk", O_WRONLY|O_CLOEXEC) = 3 [pid 5831] write(3, "7 4 1 3", 7) = 7 [pid 5831] close(3) = 0 [pid 5831] openat(AT_FDCWD, "/proc/sys/kernel/keys/gc_delay", O_WRONLY|O_CLOEXEC) = 3 [pid 5831] write(3, "1", 1) = 1 [pid 5831] close(3) = 0 [pid 5831] openat(AT_FDCWD, "/proc/sys/vm/oom_kill_allocating_task", O_WRONLY|O_CLOEXEC) = 3 [pid 5831] write(3, "1", 1) = 1 [pid 5831] close(3) = 0 [pid 5831] openat(AT_FDCWD, "/proc/sys/kernel/ctrl-alt-del", O_WRONLY|O_CLOEXEC) = 3 [pid 5831] write(3, "0", 1) = 1 [pid 5831] close(3) = 0 [pid 5831] openat(AT_FDCWD, "/proc/sys/kernel/cad_pid", O_WRONLY|O_CLOEXEC) = 3 [pid 5831] write(3, "5832", 4) = 4 [pid 5831] close(3) = 0 [pid 5831] kill(5832, SIGKILL) = 0 [pid 5832] +++ killed by SIGKILL +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=5832, si_uid=0, si_status=SIGKILL, si_utime=0, si_stime=0} --- socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE) = 3 socket(AF_NETLINK, SOCK_RAW, NETLINK_GENERIC) = 4 sendto(4, [{nlmsg_len=36, nlmsg_type=0x10 /* NLMSG_??? */, nlmsg_flags=NLM_F_REQUEST|NLM_F_ACK, nlmsg_seq=0, nlmsg_pid=0}, "\x03\x00\x00\x00\x0d\x00\x02\x00\x6e\x6c\x38\x30\x32\x31\x35\x34\x00\x00\x00\x00"], 36, 0, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=00000000}, 12) = 36 recvfrom(4, [{nlmsg_len=864, nlmsg_type=nlctrl, nlmsg_flags=0, nlmsg_seq=0, nlmsg_pid=5831}, "\x01\x02\x00\x00\x0d\x00\x02\x00\x6e\x6c\x38\x30\x32\x31\x35\x34\x00\x00\x00\x00\x06\x00\x01\x00\x1d\x00\x00\x00\x08\x00\x03\x00\x01\x00\x00\x00\x08\x00\x04\x00\x00\x00\x00\x00\x08\x00\x05\x00\x30\x00\x00\x00\xe8\x02\x06\x00\x14\x00\x01\x00\x08\x00\x01\x00\x01\x00\x00\x00\x08\x00\x02\x00\x0e\x00\x00\x00\x14\x00\x02\x00\x08\x00\x01\x00\x05\x00\x00\x00\x08\x00\x02\x00\x0e\x00\x00\x00\x14\x00\x03\x00"...], 4096, 0, NULL, NULL) = 864 recvfrom(4, [{nlmsg_len=36, nlmsg_type=NLMSG_ERROR, nlmsg_flags=NLM_F_CAPPED, nlmsg_seq=0, nlmsg_pid=5831}, {error=0, msg={nlmsg_len=36, nlmsg_type=nlctrl, nlmsg_flags=NLM_F_REQUEST|NLM_F_ACK, nlmsg_seq=0, nlmsg_pid=0}}], 4096, 0, NULL, NULL) = 36 socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 5 ioctl(5, SIOCGIFINDEX, {ifr_name="wpan0", ifr_ifindex=11}) = 0 close(5) = 0 sendto(4, [{nlmsg_len=36, nlmsg_type=nl802154, nlmsg_flags=NLM_F_REQUEST|NLM_F_ACK, nlmsg_seq=0, nlmsg_pid=0}, "\x0b\x00\x00\x00\x08\x00\x03\x00\x0b\x00\x00\x00\x06\x00\x0a\x00\xa0\xaa\x00\x00"], 36, 0, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=00000000}, 12) = 36 recvfrom(4, [{nlmsg_len=36, nlmsg_type=NLMSG_ERROR, nlmsg_flags=NLM_F_CAPPED, nlmsg_seq=0, nlmsg_pid=5831}, {error=0, msg={nlmsg_len=36, nlmsg_type=nl802154, nlmsg_flags=NLM_F_REQUEST|NLM_F_ACK, nlmsg_seq=0, nlmsg_pid=0}}], 4096, 0, NULL, NULL) = 36 socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 5 ioctl(5, SIOCGIFINDEX, {ifr_name="wpan0", ifr_ifindex=11}) = 0 close(5) = 0 sendto(3, [{nlmsg_len=44, nlmsg_type=0x10 /* NLMSG_??? */, nlmsg_flags=NLM_F_REQUEST|NLM_F_ACK, nlmsg_seq=0, nlmsg_pid=0}, "\x00\x00\x00\x00\x0b\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x0c\x00\x01\x00\x02\x00\xaa\xaa\xaa\xaa\xaa\xaa"], 44, 0, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=00000000}, 12) = 44 recvfrom(3, [{nlmsg_len=36, nlmsg_type=NLMSG_ERROR, nlmsg_flags=NLM_F_CAPPED, nlmsg_seq=0, nlmsg_pid=5831}, {error=0, msg={nlmsg_len=44, nlmsg_type=RTM_NEWLINK, nlmsg_flags=NLM_F_REQUEST|NLM_F_ACK, nlmsg_seq=0, nlmsg_pid=0}}], 4096, 0, NULL, NULL) = 36 sendto(3, [{nlmsg_len=68, nlmsg_type=RTM_NEWLINK, nlmsg_flags=NLM_F_REQUEST|NLM_F_ACK|NLM_F_EXCL|NLM_F_CREATE, nlmsg_seq=0, nlmsg_pid=0}, {ifi_family=AF_UNSPEC, ifi_type=ARPHRD_NETROM, ifi_index=0, ifi_flags=0, ifi_change=0}, [[{nla_len=11, nla_type=IFLA_IFNAME}, "lowpan0"...], [{nla_len=16, nla_type=IFLA_LINKINFO}, [{nla_len=10, nla_type=IFLA_INFO_KIND}, "lowpan"...]], [{nla_len=8, nla_type=IFLA_LINK}, 11]]], 68, 0, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=00000000}, 12) = 68 recvfrom(3, [{nlmsg_len=36, nlmsg_type=NLMSG_ERROR, nlmsg_flags=NLM_F_CAPPED, nlmsg_seq=0, nlmsg_pid=5831}, {error=0, msg={nlmsg_len=68, nlmsg_type=RTM_NEWLINK, nlmsg_flags=NLM_F_REQUEST|NLM_F_ACK|NLM_F_EXCL|NLM_F_CREATE, nlmsg_seq=0, nlmsg_pid=0}}], 4096, 0, NULL, NULL) = 36 socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 5 ioctl(5, SIOCGIFINDEX, {ifr_name="wpan1", ifr_ifindex=12}) = 0 close(5) = 0 sendto(4, [{nlmsg_len=36, nlmsg_type=nl802154, nlmsg_flags=NLM_F_REQUEST|NLM_F_ACK, nlmsg_seq=0, nlmsg_pid=0}, "\x0b\x00\x00\x00\x08\x00\x03\x00\x0c\x00\x00\x00\x06\x00\x0a\x00\xa1\xaa\x00\x00"], 36, 0, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=00000000}, 12) = 36 recvfrom(4, [{nlmsg_len=36, nlmsg_type=NLMSG_ERROR, nlmsg_flags=NLM_F_CAPPED, nlmsg_seq=0, nlmsg_pid=5831}, {error=0, msg={nlmsg_len=36, nlmsg_type=nl802154, nlmsg_flags=NLM_F_REQUEST|NLM_F_ACK, nlmsg_seq=0, nlmsg_pid=0}}], 4096, 0, NULL, NULL) = 36 socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 5 ioctl(5, SIOCGIFINDEX, {ifr_name="wpan1", ifr_ifindex=12}) = 0 close(5) = 0 sendto(3, [{nlmsg_len=44, nlmsg_type=RTM_NEWLINK, nlmsg_flags=NLM_F_REQUEST|NLM_F_ACK, nlmsg_seq=0, nlmsg_pid=0}, {ifi_family=AF_UNSPEC, ifi_type=ARPHRD_NETROM, ifi_index=if_nametoindex("wpan1"), ifi_flags=IFF_UP, ifi_change=0x1}, [{nla_len=12, nla_type=IFLA_ADDRESS}, 02:01:aa:aa:aa:aa:aa]], 44, 0, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=00000000}, 12) = 44 recvfrom(3, [{nlmsg_len=36, nlmsg_type=NLMSG_ERROR, nlmsg_flags=NLM_F_CAPPED, nlmsg_seq=0, nlmsg_pid=5831}, {error=0, msg={nlmsg_len=44, nlmsg_type=RTM_NEWLINK, nlmsg_flags=NLM_F_REQUEST|NLM_F_ACK, nlmsg_seq=0, nlmsg_pid=0}}], 4096, 0, NULL, NULL) = 36 close(3) = 0 close(4) = 0 mkdir("./syzkaller.uMbbHv", 0700) = 0 chmod("./syzkaller.uMbbHv", 0777) = 0 chdir("./syzkaller.uMbbHv") = 0 unshare(CLONE_NEWPID) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5835 attached , child_tidptr=0x55557d035650) = 5835 [pid 5835] set_robust_list(0x55557d035660, 24) = 0 [pid 5835] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5835] getppid() = 0 [pid 5835] prlimit64(0, RLIMIT_AS, {rlim_cur=204800*1024, rlim_max=204800*1024}, NULL) = 0 [pid 5835] prlimit64(0, RLIMIT_MEMLOCK, {rlim_cur=32768*1024, rlim_max=32768*1024}, NULL) = 0 [pid 5835] prlimit64(0, RLIMIT_FSIZE, {rlim_cur=139264*1024, rlim_max=139264*1024}, NULL) = 0 [pid 5835] prlimit64(0, RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 [pid 5835] prlimit64(0, RLIMIT_CORE, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 [pid 5835] prlimit64(0, RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}, NULL) = 0 [pid 5835] unshare(CLONE_NEWNS) = 0 [pid 5835] mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL) = 0 [pid 5835] unshare(CLONE_NEWIPC) = 0 [pid 5835] unshare(CLONE_NEWCGROUP) = 0 [pid 5835] unshare(CLONE_NEWUTS) = 0 [pid 5835] unshare(CLONE_SYSVSEM) = 0 [pid 5835] openat(AT_FDCWD, "/proc/sys/kernel/shmmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5835] write(3, "16777216", 8) = 8 [pid 5835] close(3) = 0 [pid 5835] openat(AT_FDCWD, "/proc/sys/kernel/shmall", O_WRONLY|O_CLOEXEC) = 3 [pid 5835] write(3, "536870912", 9) = 9 [pid 5835] close(3) = 0 [pid 5835] openat(AT_FDCWD, "/proc/sys/kernel/shmmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5835] write(3, "1024", 4) = 4 [pid 5835] close(3) = 0 [pid 5835] openat(AT_FDCWD, "/proc/sys/kernel/msgmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5835] write(3, "8192", 4) = 4 [pid 5835] close(3) = 0 [pid 5835] openat(AT_FDCWD, "/proc/sys/kernel/msgmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5835] write(3, "1024", 4) = 4 [pid 5835] close(3) = 0 [pid 5835] openat(AT_FDCWD, "/proc/sys/kernel/msgmnb", O_WRONLY|O_CLOEXEC) = 3 [pid 5835] write(3, "1024", 4) = 4 [pid 5835] close(3) = 0 [pid 5835] openat(AT_FDCWD, "/proc/sys/kernel/sem", O_WRONLY|O_CLOEXEC) = 3 [pid 5835] write(3, "1024 1048576 500 1024", 21) = 21 [pid 5835] close(3) = 0 [pid 5835] getpid() = 1 [pid 5835] capget({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, {effective=1<) = 0 [pid 5835] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [ 74.780710][ T5837] syz-executor283 (5837) used greatest stack depth: 18448 bytes left [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./0/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./0/binderfs") = 0 [ 74.900330][ T5835] bcachefs (loop0): shutting down [ 74.905712][ T5835] bcachefs (loop0): going read-only [ 74.911132][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 74.921037][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 74.951671][ T62] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 74.964993][ T62] bcachefs (loop0): fatal error - emergency read only [ 74.973152][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 74.983185][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 74.991244][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 75.018678][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./0/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./0/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./0/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./0/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./0/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./0/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./0") = 0 [pid 5835] mkdir("./1", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5848 attached [pid 5848] set_robust_list(0x55557d035660, 24) = 0 [pid 5848] chdir("./1" [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 3 [pid 5848] <... chdir resumed>) = 0 [pid 5848] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5848] setpgid(0, 0) = 0 [pid 5848] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5848] write(3, "1000", 4) = 4 [pid 5848] close(3) = 0 [pid 5848] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5848] write(1, "executing program\n", 18executing program ) = 18 [pid 5848] memfd_create("syzkaller", 0) = 3 [pid 5848] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 5848] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 5848] munmap(0x7fc2fe800000, 138412032) = 0 [pid 5848] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5848] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5848] close(3) = 0 [pid 5848] close(4) = 0 [pid 5848] mkdir("./file1", 0777) = 0 [ 76.561133][ T5848] loop0: detected capacity change from 0 to 32768 [ 76.643834][ T5848] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 76.666482][ T5848] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 76.674555][ T5848] bcachefs (loop0): Version upgrade required: [ 76.674555][ T5848] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 76.674555][ T5848] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 76.674555][ T5848] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 76.747326][ T5848] bcachefs (loop0): dropping and reconstructing all alloc info [ 76.764039][ T5848] bcachefs (loop0): accounting_read... done [ 76.770139][ T5848] bcachefs (loop0): alloc_read... done [ 76.775865][ T5848] bcachefs (loop0): stripes_read... done [ 76.781676][ T5848] bcachefs (loop0): snapshots_read... done [pid 5848] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 5848] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5848] chdir("./file1") = 0 [ 76.787799][ T5848] bcachefs (loop0): check_allocations... done [ 76.809310][ T5848] bcachefs (loop0): going read-write [ 76.819262][ T5848] bcachefs (loop0): done starting filesystem [pid 5848] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5848] ioctl(4, LOOP_CLR_FD) = 0 [pid 5848] close(4) = 0 [pid 5848] rename("./file2", "./file1") = 0 [pid 5848] close(3) = 0 [pid 5848] close(4) = -1 EBADF (Bad file descriptor) [pid 5848] close(5) = -1 EBADF (Bad file descriptor) [pid 5848] close(6) = -1 EBADF (Bad file descriptor) [pid 5848] close(7) = -1 EBADF (Bad file descriptor) [pid 5848] close(8) = -1 EBADF (Bad file descriptor) [pid 5848] close(9) = -1 EBADF (Bad file descriptor) [pid 5848] close(10) = -1 EBADF (Bad file descriptor) [pid 5848] close(11) = -1 EBADF (Bad file descriptor) [pid 5848] close(12) = -1 EBADF (Bad file descriptor) [pid 5848] close(13) = -1 EBADF (Bad file descriptor) [pid 5848] close(14) = -1 EBADF (Bad file descriptor) [pid 5848] close(15) = -1 EBADF (Bad file descriptor) [pid 5848] close(16) = -1 EBADF (Bad file descriptor) [pid 5848] close(17) = -1 EBADF (Bad file descriptor) [pid 5848] close(18) = -1 EBADF (Bad file descriptor) [pid 5848] close(19) = -1 EBADF (Bad file descriptor) [pid 5848] close(20) = -1 EBADF (Bad file descriptor) [pid 5848] close(21) = -1 EBADF (Bad file descriptor) [pid 5848] close(22) = -1 EBADF (Bad file descriptor) [pid 5848] close(23) = -1 EBADF (Bad file descriptor) [pid 5848] close(24) = -1 EBADF (Bad file descriptor) [pid 5848] close(25) = -1 EBADF (Bad file descriptor) [pid 5848] close(26) = -1 EBADF (Bad file descriptor) [pid 5848] close(27) = -1 EBADF (Bad file descriptor) [pid 5848] close(28) = -1 EBADF (Bad file descriptor) [pid 5848] close(29) = -1 EBADF (Bad file descriptor) [pid 5848] exit_group(0) = ? [pid 5848] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=3, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=28 /* 0.28 s */} --- [pid 5835] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./1/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./1/binderfs") = 0 [ 77.019059][ T5835] bcachefs (loop0): shutting down [ 77.024178][ T5835] bcachefs (loop0): going read-only [ 77.029581][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 77.038181][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 77.065946][ T3529] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 77.079649][ T3529] bcachefs (loop0): fatal error - emergency read only [ 77.087221][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 15 [ 77.097218][ T5835] bcachefs (loop0): unshutdown complete, journal seq 15 [ 77.104895][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 77.125041][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./1/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./1/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./1/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./1/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./1/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./1/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./1") = 0 [pid 5835] mkdir("./2", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5859 attached , child_tidptr=0x55557d035650) = 4 [pid 5859] set_robust_list(0x55557d035660, 24) = 0 [pid 5859] chdir("./2") = 0 [pid 5859] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5859] setpgid(0, 0) = 0 [pid 5859] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5859] write(3, "1000", 4) = 4 [pid 5859] close(3) = 0 [pid 5859] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5859] write(1, "executing program\n", 18executing program ) = 18 [pid 5859] memfd_create("syzkaller", 0) = 3 [pid 5859] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 5859] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 5859] munmap(0x7fc2fe800000, 138412032) = 0 [pid 5859] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5859] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5859] close(3) = 0 [pid 5859] close(4) = 0 [pid 5859] mkdir("./file1", 0777) = 0 [ 78.749117][ T5859] loop0: detected capacity change from 0 to 32768 [ 78.838504][ T5859] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 78.861506][ T5859] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 78.869915][ T5859] bcachefs (loop0): Version upgrade required: [ 78.869915][ T5859] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 78.869915][ T5859] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 78.869915][ T5859] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 78.943745][ T5859] bcachefs (loop0): dropping and reconstructing all alloc info [ 78.960828][ T5859] bcachefs (loop0): accounting_read... done [ 78.967796][ T5859] bcachefs (loop0): alloc_read... done [ 78.973471][ T5859] bcachefs (loop0): stripes_read... done [ 78.979347][ T5859] bcachefs (loop0): snapshots_read... done [pid 5859] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 5859] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5859] chdir("./file1") = 0 [ 78.985459][ T5859] bcachefs (loop0): check_allocations... done [ 79.006315][ T5859] bcachefs (loop0): going read-write [ 79.016828][ T5859] bcachefs (loop0): done starting filesystem [pid 5859] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5859] ioctl(4, LOOP_CLR_FD) = 0 [pid 5859] close(4) = 0 [pid 5859] rename("./file2", "./file1") = 0 [pid 5859] close(3) = 0 [pid 5859] close(4) = -1 EBADF (Bad file descriptor) [pid 5859] close(5) = -1 EBADF (Bad file descriptor) [pid 5859] close(6) = -1 EBADF (Bad file descriptor) [pid 5859] close(7) = -1 EBADF (Bad file descriptor) [pid 5859] close(8) = -1 EBADF (Bad file descriptor) [pid 5859] close(9) = -1 EBADF (Bad file descriptor) [pid 5859] close(10) = -1 EBADF (Bad file descriptor) [pid 5859] close(11) = -1 EBADF (Bad file descriptor) [pid 5859] close(12) = -1 EBADF (Bad file descriptor) [pid 5859] close(13) = -1 EBADF (Bad file descriptor) [pid 5859] close(14) = -1 EBADF (Bad file descriptor) [pid 5859] close(15) = -1 EBADF (Bad file descriptor) [pid 5859] close(16) = -1 EBADF (Bad file descriptor) [pid 5859] close(17) = -1 EBADF (Bad file descriptor) [pid 5859] close(18) = -1 EBADF (Bad file descriptor) [pid 5859] close(19) = -1 EBADF (Bad file descriptor) [pid 5859] close(20) = -1 EBADF (Bad file descriptor) [pid 5859] close(21) = -1 EBADF (Bad file descriptor) [pid 5859] close(22) = -1 EBADF (Bad file descriptor) [pid 5859] close(23) = -1 EBADF (Bad file descriptor) [pid 5859] close(24) = -1 EBADF (Bad file descriptor) [pid 5859] close(25) = -1 EBADF (Bad file descriptor) [pid 5859] close(26) = -1 EBADF (Bad file descriptor) [pid 5859] close(27) = -1 EBADF (Bad file descriptor) [pid 5859] close(28) = -1 EBADF (Bad file descriptor) [pid 5859] close(29) = -1 EBADF (Bad file descriptor) [pid 5859] exit_group(0) = ? [pid 5859] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=31 /* 0.31 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [ 79.294044][ T5859] syz-executor283 (5859) used greatest stack depth: 18144 bytes left [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./2/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./2/binderfs") = 0 [ 79.421183][ T5835] bcachefs (loop0): shutting down [ 79.426444][ T5835] bcachefs (loop0): going read-only [ 79.431756][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 79.440710][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 79.467112][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 79.480087][ T11] bcachefs (loop0): fatal error - emergency read only [ 79.487630][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 79.497583][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 79.505525][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 79.524940][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./2/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./2/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./2/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./2/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./2/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./2/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./2") = 0 [pid 5835] mkdir("./3", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5871 attached , child_tidptr=0x55557d035650) = 5 [pid 5871] set_robust_list(0x55557d035660, 24) = 0 [pid 5871] chdir("./3") = 0 [pid 5871] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5871] setpgid(0, 0) = 0 [pid 5871] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5871] write(3, "1000", 4) = 4 [pid 5871] close(3) = 0 [pid 5871] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5871] write(1, "executing program\n", 18) = 18 [pid 5871] memfd_create("syzkaller", 0) = 3 [pid 5871] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 5871] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 5871] munmap(0x7fc2fe800000, 138412032) = 0 [pid 5871] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5871] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5871] close(3) = 0 [pid 5871] close(4) = 0 [pid 5871] mkdir("./file1", 0777) = 0 [ 81.166970][ T5871] loop0: detected capacity change from 0 to 32768 [ 81.247477][ T5871] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 81.270204][ T5871] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 81.278434][ T5871] bcachefs (loop0): Version upgrade required: [ 81.278434][ T5871] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 81.278434][ T5871] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 81.278434][ T5871] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 81.351164][ T5871] bcachefs (loop0): dropping and reconstructing all alloc info [ 81.372306][ T5871] bcachefs (loop0): accounting_read... done [ 81.379986][ T5871] bcachefs (loop0): alloc_read... done [ 81.385738][ T5871] bcachefs (loop0): stripes_read... done [ 81.391478][ T5871] bcachefs (loop0): snapshots_read... done [pid 5871] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 5871] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5871] chdir("./file1") = 0 [ 81.397505][ T5871] bcachefs (loop0): check_allocations... done [ 81.420503][ T5871] bcachefs (loop0): going read-write [ 81.429988][ T5871] bcachefs (loop0): done starting filesystem [pid 5871] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5871] ioctl(4, LOOP_CLR_FD) = 0 [pid 5871] close(4) = 0 [pid 5871] rename("./file2", "./file1") = 0 [pid 5871] close(3) = 0 [pid 5871] close(4) = -1 EBADF (Bad file descriptor) [pid 5871] close(5) = -1 EBADF (Bad file descriptor) [pid 5871] close(6) = -1 EBADF (Bad file descriptor) [pid 5871] close(7) = -1 EBADF (Bad file descriptor) [pid 5871] close(8) = -1 EBADF (Bad file descriptor) [pid 5871] close(9) = -1 EBADF (Bad file descriptor) [pid 5871] close(10) = -1 EBADF (Bad file descriptor) [pid 5871] close(11) = -1 EBADF (Bad file descriptor) [pid 5871] close(12) = -1 EBADF (Bad file descriptor) [pid 5871] close(13) = -1 EBADF (Bad file descriptor) [pid 5871] close(14) = -1 EBADF (Bad file descriptor) [pid 5871] close(15) = -1 EBADF (Bad file descriptor) [pid 5871] close(16) = -1 EBADF (Bad file descriptor) [pid 5871] close(17) = -1 EBADF (Bad file descriptor) [pid 5871] close(18) = -1 EBADF (Bad file descriptor) [pid 5871] close(19) = -1 EBADF (Bad file descriptor) [pid 5871] close(20) = -1 EBADF (Bad file descriptor) [pid 5871] close(21) = -1 EBADF (Bad file descriptor) [pid 5871] close(22) = -1 EBADF (Bad file descriptor) [pid 5871] close(23) = -1 EBADF (Bad file descriptor) [pid 5871] close(24) = -1 EBADF (Bad file descriptor) [pid 5871] close(25) = -1 EBADF (Bad file descriptor) [pid 5871] close(26) = -1 EBADF (Bad file descriptor) [pid 5871] close(27) = -1 EBADF (Bad file descriptor) [pid 5871] close(28) = -1 EBADF (Bad file descriptor) [pid 5871] close(29) = -1 EBADF (Bad file descriptor) [pid 5871] exit_group(0) = ? [pid 5871] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=30 /* 0.30 s */} --- [pid 5835] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./3/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./3/binderfs") = 0 [ 81.700346][ T5835] bcachefs (loop0): shutting down [ 81.706010][ T5835] bcachefs (loop0): going read-only [ 81.711253][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 81.720681][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 81.757230][ T62] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 81.771853][ T62] bcachefs (loop0): fatal error - emergency read only [ 81.779820][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 13 [ 81.790477][ T5835] bcachefs (loop0): unshutdown complete, journal seq 13 [ 81.799942][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 81.823605][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./3/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./3/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./3/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./3/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./3/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./3/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./3") = 0 [pid 5835] mkdir("./4", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5883 attached [pid 5883] set_robust_list(0x55557d035660, 24) = 0 [pid 5883] chdir("./4" [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 6 [pid 5883] <... chdir resumed>) = 0 [pid 5883] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5883] setpgid(0, 0) = 0 [pid 5883] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5883] write(3, "1000", 4) = 4 [pid 5883] close(3) = 0 [pid 5883] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5883] write(1, "executing program\n", 18) = 18 [pid 5883] memfd_create("syzkaller", 0) = 3 [pid 5883] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [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) = 16777216 [pid 5883] munmap(0x7fc2fe800000, 138412032) = 0 [pid 5883] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5883] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5883] close(3) = 0 [pid 5883] close(4) = 0 [pid 5883] mkdir("./file1", 0777) = 0 [ 83.462591][ T5883] loop0: detected capacity change from 0 to 32768 [ 83.553835][ T5883] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 83.576718][ T5883] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 83.584885][ T5883] bcachefs (loop0): Version upgrade required: [ 83.584885][ T5883] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 83.584885][ T5883] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 83.584885][ T5883] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 83.659404][ T5883] bcachefs (loop0): dropping and reconstructing all alloc info [ 83.676441][ T5883] bcachefs (loop0): accounting_read... done [ 83.682796][ T5883] bcachefs (loop0): alloc_read... done [ 83.688908][ T5883] bcachefs (loop0): stripes_read... done [ 83.694897][ T5883] bcachefs (loop0): snapshots_read... done [pid 5883] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 5883] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5883] chdir("./file1") = 0 [pid 5883] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5883] ioctl(4, LOOP_CLR_FD) = 0 [pid 5883] close(4) = 0 [pid 5883] rename("./file2", "./file1") = 0 [pid 5883] close(3) = 0 [pid 5883] close(4) = -1 EBADF (Bad file descriptor) [pid 5883] close(5) = -1 EBADF (Bad file descriptor) [pid 5883] close(6) = -1 EBADF (Bad file descriptor) [pid 5883] close(7) = -1 EBADF (Bad file descriptor) [pid 5883] close(8) = -1 EBADF (Bad file descriptor) [pid 5883] close(9) = -1 EBADF (Bad file descriptor) [pid 5883] close(10) = -1 EBADF (Bad file descriptor) [pid 5883] close(11) = -1 EBADF (Bad file descriptor) [pid 5883] close(12) = -1 EBADF (Bad file descriptor) [pid 5883] close(13) = -1 EBADF (Bad file descriptor) [pid 5883] close(14) = -1 EBADF (Bad file descriptor) [pid 5883] close(15) = -1 EBADF (Bad file descriptor) [pid 5883] close(16) = -1 EBADF (Bad file descriptor) [pid 5883] close(17) = -1 EBADF (Bad file descriptor) [pid 5883] close(18) = -1 EBADF (Bad file descriptor) [pid 5883] close(19) = -1 EBADF (Bad file descriptor) [ 83.701218][ T5883] bcachefs (loop0): check_allocations... done [ 83.721947][ T5883] bcachefs (loop0): going read-write [ 83.731396][ T5883] bcachefs (loop0): done starting filesystem [pid 5883] close(20) = -1 EBADF (Bad file descriptor) [pid 5883] close(21) = -1 EBADF (Bad file descriptor) [pid 5883] close(22) = -1 EBADF (Bad file descriptor) [pid 5883] close(23) = -1 EBADF (Bad file descriptor) [pid 5883] close(24) = -1 EBADF (Bad file descriptor) [pid 5883] close(25) = -1 EBADF (Bad file descriptor) [pid 5883] close(26) = -1 EBADF (Bad file descriptor) [pid 5883] close(27) = -1 EBADF (Bad file descriptor) [pid 5883] close(28) = -1 EBADF (Bad file descriptor) [pid 5883] close(29) = -1 EBADF (Bad file descriptor) [pid 5883] exit_group(0) = ? [pid 5883] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=29 /* 0.29 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./4/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./4/binderfs") = 0 [ 83.893816][ T5835] bcachefs (loop0): shutting down [ 83.899029][ T5835] bcachefs (loop0): going read-only [ 83.904362][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 83.913669][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 83.941898][ T3529] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 83.955945][ T3529] bcachefs (loop0): fatal error - emergency read only [ 83.963467][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 83.974214][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 83.982225][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 84.001364][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./4/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./4/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./4/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./4/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./4/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./4/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./4") = 0 [pid 5835] mkdir("./5", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5894 attached , child_tidptr=0x55557d035650) = 7 [pid 5894] set_robust_list(0x55557d035660, 24) = 0 [pid 5894] chdir("./5") = 0 [pid 5894] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5894] setpgid(0, 0) = 0 [pid 5894] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5894] write(3, "1000", 4) = 4 [pid 5894] close(3) = 0 [pid 5894] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5894] write(1, "executing program\n", 18) = 18 [pid 5894] memfd_create("syzkaller", 0) = 3 [pid 5894] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 5894] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 5894] munmap(0x7fc2fe800000, 138412032) = 0 [pid 5894] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5894] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5894] close(3) = 0 [pid 5894] close(4) = 0 [pid 5894] mkdir("./file1", 0777) = 0 [ 85.606082][ T5894] loop0: detected capacity change from 0 to 32768 [ 85.694475][ T5894] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 85.717750][ T5894] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 85.726363][ T5894] bcachefs (loop0): Version upgrade required: [ 85.726363][ T5894] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 85.726363][ T5894] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 85.726363][ T5894] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 85.799806][ T5894] bcachefs (loop0): dropping and reconstructing all alloc info [ 85.816844][ T5894] bcachefs (loop0): accounting_read... done [ 85.823215][ T5894] bcachefs (loop0): alloc_read... done [ 85.829037][ T5894] bcachefs (loop0): stripes_read... done [ 85.834818][ T5894] bcachefs (loop0): snapshots_read... done [pid 5894] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 5894] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5894] chdir("./file1") = 0 [pid 5894] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5894] ioctl(4, LOOP_CLR_FD) = 0 [pid 5894] close(4) = 0 [ 85.841094][ T5894] bcachefs (loop0): check_allocations... done [ 85.863541][ T5894] bcachefs (loop0): going read-write [ 85.872483][ T5894] bcachefs (loop0): done starting filesystem [pid 5894] rename("./file2", "./file1") = 0 [pid 5894] close(3) = 0 [pid 5894] close(4) = -1 EBADF (Bad file descriptor) [pid 5894] close(5) = -1 EBADF (Bad file descriptor) [pid 5894] close(6) = -1 EBADF (Bad file descriptor) [pid 5894] close(7) = -1 EBADF (Bad file descriptor) [pid 5894] close(8) = -1 EBADF (Bad file descriptor) [pid 5894] close(9) = -1 EBADF (Bad file descriptor) [pid 5894] close(10) = -1 EBADF (Bad file descriptor) [pid 5894] close(11) = -1 EBADF (Bad file descriptor) [pid 5894] close(12) = -1 EBADF (Bad file descriptor) [pid 5894] close(13) = -1 EBADF (Bad file descriptor) [pid 5894] close(14) = -1 EBADF (Bad file descriptor) [pid 5894] close(15) = -1 EBADF (Bad file descriptor) [pid 5894] close(16) = -1 EBADF (Bad file descriptor) [pid 5894] close(17) = -1 EBADF (Bad file descriptor) [pid 5894] close(18) = -1 EBADF (Bad file descriptor) [pid 5894] close(19) = -1 EBADF (Bad file descriptor) [pid 5894] close(20) = -1 EBADF (Bad file descriptor) [pid 5894] close(21) = -1 EBADF (Bad file descriptor) [pid 5894] close(22) = -1 EBADF (Bad file descriptor) [pid 5894] close(23) = -1 EBADF (Bad file descriptor) [pid 5894] close(24) = -1 EBADF (Bad file descriptor) [pid 5894] close(25) = -1 EBADF (Bad file descriptor) [pid 5894] close(26) = -1 EBADF (Bad file descriptor) [pid 5894] close(27) = -1 EBADF (Bad file descriptor) [pid 5894] close(28) = -1 EBADF (Bad file descriptor) [pid 5894] close(29) = -1 EBADF (Bad file descriptor) [pid 5894] exit_group(0) = ? [pid 5894] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=30 /* 0.30 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./5/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./5/binderfs") = 0 [ 86.189830][ T5835] bcachefs (loop0): shutting down [ 86.194922][ T5835] bcachefs (loop0): going read-only [ 86.200357][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 86.207987][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 86.235712][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 86.249005][ T11] bcachefs (loop0): fatal error - emergency read only [ 86.256579][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 86.266533][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 86.274193][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 86.292297][ T5835] bcachefs (loop0): shutdown complete [ 86.729977][ T25] cfg80211: failed to load regulatory.db [pid 5835] umount2("./5/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./5/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./5/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./5/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./5/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./5/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./5") = 0 [pid 5835] mkdir("./6", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5905 attached , child_tidptr=0x55557d035650) = 8 [pid 5905] set_robust_list(0x55557d035660, 24) = 0 [pid 5905] chdir("./6") = 0 [pid 5905] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5905] setpgid(0, 0) = 0 [pid 5905] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5905] write(3, "1000", 4) = 4 [pid 5905] close(3) = 0 [pid 5905] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5905] write(1, "executing program\n", 18) = 18 [pid 5905] memfd_create("syzkaller", 0) = 3 [pid 5905] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 5905] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 5905] munmap(0x7fc2fe800000, 138412032) = 0 [pid 5905] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5905] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5905] close(3) = 0 [pid 5905] close(4) = 0 [pid 5905] mkdir("./file1", 0777) = 0 [ 87.746844][ T5905] loop0: detected capacity change from 0 to 32768 [ 87.917177][ T5905] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 87.940946][ T5905] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 87.949660][ T5905] bcachefs (loop0): Version upgrade required: [ 87.949660][ T5905] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 87.949660][ T5905] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 87.949660][ T5905] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 88.023550][ T5905] bcachefs (loop0): dropping and reconstructing all alloc info [ 88.042455][ T5905] bcachefs (loop0): accounting_read... done [ 88.048779][ T5905] bcachefs (loop0): alloc_read... done [ 88.054452][ T5905] bcachefs (loop0): stripes_read... done [ 88.060381][ T5905] bcachefs (loop0): snapshots_read... done [pid 5905] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 5905] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5905] chdir("./file1") = 0 [pid 5905] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5905] ioctl(4, LOOP_CLR_FD) = 0 [pid 5905] close(4) = 0 [pid 5905] rename("./file2", "./file1") = 0 [pid 5905] close(3) = 0 [pid 5905] close(4) = -1 EBADF (Bad file descriptor) [pid 5905] close(5) = -1 EBADF (Bad file descriptor) [pid 5905] close(6) = -1 EBADF (Bad file descriptor) [pid 5905] close(7) = -1 EBADF (Bad file descriptor) [pid 5905] close(8) = -1 EBADF (Bad file descriptor) [pid 5905] close(9) = -1 EBADF (Bad file descriptor) [pid 5905] close(10) = -1 EBADF (Bad file descriptor) [ 88.066439][ T5905] bcachefs (loop0): check_allocations... done [ 88.088123][ T5905] bcachefs (loop0): going read-write [ 88.097665][ T5905] bcachefs (loop0): done starting filesystem [pid 5905] close(11) = -1 EBADF (Bad file descriptor) [pid 5905] close(12) = -1 EBADF (Bad file descriptor) [pid 5905] close(13) = -1 EBADF (Bad file descriptor) [pid 5905] close(14) = -1 EBADF (Bad file descriptor) [pid 5905] close(15) = -1 EBADF (Bad file descriptor) [pid 5905] close(16) = -1 EBADF (Bad file descriptor) [pid 5905] close(17) = -1 EBADF (Bad file descriptor) [pid 5905] close(18) = -1 EBADF (Bad file descriptor) [pid 5905] close(19) = -1 EBADF (Bad file descriptor) [pid 5905] close(20) = -1 EBADF (Bad file descriptor) [pid 5905] close(21) = -1 EBADF (Bad file descriptor) [pid 5905] close(22) = -1 EBADF (Bad file descriptor) [pid 5905] close(23) = -1 EBADF (Bad file descriptor) [pid 5905] close(24) = -1 EBADF (Bad file descriptor) [pid 5905] close(25) = -1 EBADF (Bad file descriptor) [pid 5905] close(26) = -1 EBADF (Bad file descriptor) [pid 5905] close(27) = -1 EBADF (Bad file descriptor) [pid 5905] close(28) = -1 EBADF (Bad file descriptor) [pid 5905] close(29) = -1 EBADF (Bad file descriptor) [pid 5905] exit_group(0) = ? [pid 5905] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=8, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=36 /* 0.36 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./6/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./6/binderfs") = 0 [ 88.261238][ T5835] bcachefs (loop0): shutting down [ 88.266556][ T5835] bcachefs (loop0): going read-only [ 88.271787][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 88.280657][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 88.307807][ T3529] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 88.320748][ T3529] bcachefs (loop0): fatal error - emergency read only [ 88.328272][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 88.338828][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 88.346657][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 88.366802][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./6/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./6/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./6/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./6/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./6/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./6/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./6") = 0 [pid 5835] mkdir("./7", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5916 attached [pid 5916] set_robust_list(0x55557d035660, 24) = 0 [pid 5916] chdir("./7" [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 9 [pid 5916] <... chdir resumed>) = 0 [pid 5916] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5916] setpgid(0, 0) = 0 [pid 5916] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5916] write(3, "1000", 4) = 4 [pid 5916] close(3) = 0 [pid 5916] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5916] write(1, "executing program\n", 18executing program ) = 18 [pid 5916] memfd_create("syzkaller", 0) = 3 [pid 5916] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 5916] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 5916] munmap(0x7fc2fe800000, 138412032) = 0 [pid 5916] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5916] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5916] close(3) = 0 [pid 5916] close(4) = 0 [pid 5916] mkdir("./file1", 0777) = 0 [ 89.898274][ T5916] loop0: detected capacity change from 0 to 32768 [ 89.977460][ T5916] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 90.000500][ T5916] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 90.009039][ T5916] bcachefs (loop0): Version upgrade required: [ 90.009039][ T5916] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 90.009039][ T5916] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 90.009039][ T5916] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 90.081551][ T5916] bcachefs (loop0): dropping and reconstructing all alloc info [ 90.098966][ T5916] bcachefs (loop0): accounting_read... done [ 90.105242][ T5916] bcachefs (loop0): alloc_read... done [ 90.110922][ T5916] bcachefs (loop0): stripes_read... done [ 90.116777][ T5916] bcachefs (loop0): snapshots_read... done [pid 5916] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 5916] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5916] chdir("./file1") = 0 [pid 5916] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5916] ioctl(4, LOOP_CLR_FD) = 0 [pid 5916] close(4) = 0 [pid 5916] rename("./file2", "./file1") = 0 [pid 5916] close(3) = 0 [pid 5916] close(4) = -1 EBADF (Bad file descriptor) [pid 5916] close(5) = -1 EBADF (Bad file descriptor) [pid 5916] close(6) = -1 EBADF (Bad file descriptor) [pid 5916] close(7) = -1 EBADF (Bad file descriptor) [pid 5916] close(8) = -1 EBADF (Bad file descriptor) [pid 5916] close(9) = -1 EBADF (Bad file descriptor) [pid 5916] close(10) = -1 EBADF (Bad file descriptor) [pid 5916] close(11) = -1 EBADF (Bad file descriptor) [pid 5916] close(12) = -1 EBADF (Bad file descriptor) [pid 5916] close(13) = -1 EBADF (Bad file descriptor) [pid 5916] close(14) = -1 EBADF (Bad file descriptor) [pid 5916] close(15) = -1 EBADF (Bad file descriptor) [pid 5916] close(16) = -1 EBADF (Bad file descriptor) [pid 5916] close(17) = -1 EBADF (Bad file descriptor) [pid 5916] close(18) = -1 EBADF (Bad file descriptor) [ 90.122834][ T5916] bcachefs (loop0): check_allocations... done [ 90.144329][ T5916] bcachefs (loop0): going read-write [ 90.153687][ T5916] bcachefs (loop0): done starting filesystem [pid 5916] close(19) = -1 EBADF (Bad file descriptor) [pid 5916] close(20) = -1 EBADF (Bad file descriptor) [pid 5916] close(21) = -1 EBADF (Bad file descriptor) [pid 5916] close(22) = -1 EBADF (Bad file descriptor) [pid 5916] close(23) = -1 EBADF (Bad file descriptor) [pid 5916] close(24) = -1 EBADF (Bad file descriptor) [pid 5916] close(25) = -1 EBADF (Bad file descriptor) [pid 5916] close(26) = -1 EBADF (Bad file descriptor) [pid 5916] close(27) = -1 EBADF (Bad file descriptor) [pid 5916] close(28) = -1 EBADF (Bad file descriptor) [pid 5916] close(29) = -1 EBADF (Bad file descriptor) [pid 5916] exit_group(0) = ? [pid 5916] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=9, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=33 /* 0.33 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./7", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./7/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./7/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./7/binderfs") = 0 [ 90.454522][ T5835] bcachefs (loop0): shutting down [ 90.459727][ T5835] bcachefs (loop0): going read-only [ 90.464943][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 90.473413][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 90.500872][ T62] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 90.514543][ T62] bcachefs (loop0): fatal error - emergency read only [ 90.522153][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 90.532252][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 90.540263][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 90.560078][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./7/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./7/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./7/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./7/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./7/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./7/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./7") = 0 [pid 5835] mkdir("./8", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5927 attached [pid 5927] set_robust_list(0x55557d035660, 24) = 0 [pid 5927] chdir("./8" [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 10 [pid 5927] <... chdir resumed>) = 0 [pid 5927] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5927] setpgid(0, 0) = 0 [pid 5927] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5927] write(3, "1000", 4) = 4 [pid 5927] close(3) = 0 [pid 5927] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5927] write(1, "executing program\n", 18) = 18 [pid 5927] memfd_create("syzkaller", 0) = 3 [pid 5927] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 5927] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 5927] munmap(0x7fc2fe800000, 138412032) = 0 [pid 5927] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5927] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5927] close(3) = 0 [pid 5927] close(4) = 0 [pid 5927] mkdir("./file1", 0777) = 0 [ 92.094938][ T5927] loop0: detected capacity change from 0 to 32768 [ 92.181385][ T5927] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 92.204520][ T5927] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 92.213184][ T5927] bcachefs (loop0): Version upgrade required: [ 92.213184][ T5927] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 92.213184][ T5927] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 92.213184][ T5927] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 92.285909][ T5927] bcachefs (loop0): dropping and reconstructing all alloc info [ 92.303404][ T5927] bcachefs (loop0): accounting_read... done [ 92.309796][ T5927] bcachefs (loop0): alloc_read... done [ 92.315468][ T5927] bcachefs (loop0): stripes_read... done [ 92.321175][ T5927] bcachefs (loop0): snapshots_read... done [pid 5927] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 5927] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5927] chdir("./file1") = 0 [pid 5927] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5927] ioctl(4, LOOP_CLR_FD) = 0 [pid 5927] close(4) = 0 [pid 5927] rename("./file2", "./file1") = 0 [pid 5927] close(3) = 0 [pid 5927] close(4) = -1 EBADF (Bad file descriptor) [pid 5927] close(5) = -1 EBADF (Bad file descriptor) [pid 5927] close(6) = -1 EBADF (Bad file descriptor) [ 92.327397][ T5927] bcachefs (loop0): check_allocations... done [ 92.348714][ T5927] bcachefs (loop0): going read-write [ 92.358429][ T5927] bcachefs (loop0): done starting filesystem [pid 5927] close(7) = -1 EBADF (Bad file descriptor) [pid 5927] close(8) = -1 EBADF (Bad file descriptor) [pid 5927] close(9) = -1 EBADF (Bad file descriptor) [pid 5927] close(10) = -1 EBADF (Bad file descriptor) [pid 5927] close(11) = -1 EBADF (Bad file descriptor) [pid 5927] close(12) = -1 EBADF (Bad file descriptor) [pid 5927] close(13) = -1 EBADF (Bad file descriptor) [pid 5927] close(14) = -1 EBADF (Bad file descriptor) [pid 5927] close(15) = -1 EBADF (Bad file descriptor) [pid 5927] close(16) = -1 EBADF (Bad file descriptor) [pid 5927] close(17) = -1 EBADF (Bad file descriptor) [pid 5927] close(18) = -1 EBADF (Bad file descriptor) [pid 5927] close(19) = -1 EBADF (Bad file descriptor) [pid 5927] close(20) = -1 EBADF (Bad file descriptor) [pid 5927] close(21) = -1 EBADF (Bad file descriptor) [pid 5927] close(22) = -1 EBADF (Bad file descriptor) [pid 5927] close(23) = -1 EBADF (Bad file descriptor) [pid 5927] close(24) = -1 EBADF (Bad file descriptor) [pid 5927] close(25) = -1 EBADF (Bad file descriptor) [pid 5927] close(26) = -1 EBADF (Bad file descriptor) [pid 5927] close(27) = -1 EBADF (Bad file descriptor) [pid 5927] close(28) = -1 EBADF (Bad file descriptor) [pid 5927] close(29) = -1 EBADF (Bad file descriptor) [pid 5927] exit_group(0) = ? [pid 5927] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=10, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=29 /* 0.29 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./8", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./8/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./8/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./8/binderfs") = 0 [ 92.704170][ T5835] bcachefs (loop0): shutting down [ 92.709412][ T5835] bcachefs (loop0): going read-only [ 92.714631][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 92.723396][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 92.749946][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 92.763038][ T11] bcachefs (loop0): fatal error - emergency read only [ 92.770440][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 92.780284][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 92.788584][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 92.808480][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./8/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./8/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./8/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./8/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./8/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./8/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./8") = 0 [pid 5835] mkdir("./9", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5938 attached , child_tidptr=0x55557d035650) = 11 [pid 5938] set_robust_list(0x55557d035660, 24) = 0 [pid 5938] chdir("./9") = 0 [pid 5938] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5938] setpgid(0, 0) = 0 [pid 5938] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5938] write(3, "1000", 4) = 4 [pid 5938] close(3) = 0 [pid 5938] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5938] write(1, "executing program\n", 18) = 18 [pid 5938] memfd_create("syzkaller", 0) = 3 [pid 5938] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 5938] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 5938] munmap(0x7fc2fe800000, 138412032) = 0 [pid 5938] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5938] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5938] close(3) = 0 [pid 5938] close(4) = 0 [pid 5938] mkdir("./file1", 0777) = 0 [ 94.430386][ T5938] loop0: detected capacity change from 0 to 32768 [ 94.510786][ T5938] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 94.533608][ T5938] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 94.542141][ T5938] bcachefs (loop0): Version upgrade required: [ 94.542141][ T5938] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 94.542141][ T5938] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 94.542141][ T5938] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 94.614787][ T5938] bcachefs (loop0): dropping and reconstructing all alloc info [ 94.631520][ T5938] bcachefs (loop0): accounting_read... done [ 94.638053][ T5938] bcachefs (loop0): alloc_read... done [ 94.643817][ T5938] bcachefs (loop0): stripes_read... done [ 94.649596][ T5938] bcachefs (loop0): snapshots_read... done [pid 5938] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 5938] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5938] chdir("./file1") = 0 [pid 5938] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5938] ioctl(4, LOOP_CLR_FD) = 0 [pid 5938] close(4) = 0 [pid 5938] rename("./file2", "./file1") = 0 [ 94.655697][ T5938] bcachefs (loop0): check_allocations... done [ 94.677363][ T5938] bcachefs (loop0): going read-write [ 94.686596][ T5938] bcachefs (loop0): done starting filesystem [pid 5938] close(3) = 0 [pid 5938] close(4) = -1 EBADF (Bad file descriptor) [pid 5938] close(5) = -1 EBADF (Bad file descriptor) [pid 5938] close(6) = -1 EBADF (Bad file descriptor) [pid 5938] close(7) = -1 EBADF (Bad file descriptor) [pid 5938] close(8) = -1 EBADF (Bad file descriptor) [pid 5938] close(9) = -1 EBADF (Bad file descriptor) [pid 5938] close(10) = -1 EBADF (Bad file descriptor) [pid 5938] close(11) = -1 EBADF (Bad file descriptor) [pid 5938] close(12) = -1 EBADF (Bad file descriptor) [pid 5938] close(13) = -1 EBADF (Bad file descriptor) [pid 5938] close(14) = -1 EBADF (Bad file descriptor) [pid 5938] close(15) = -1 EBADF (Bad file descriptor) [pid 5938] close(16) = -1 EBADF (Bad file descriptor) [pid 5938] close(17) = -1 EBADF (Bad file descriptor) [pid 5938] close(18) = -1 EBADF (Bad file descriptor) [pid 5938] close(19) = -1 EBADF (Bad file descriptor) [pid 5938] close(20) = -1 EBADF (Bad file descriptor) [pid 5938] close(21) = -1 EBADF (Bad file descriptor) [pid 5938] close(22) = -1 EBADF (Bad file descriptor) [pid 5938] close(23) = -1 EBADF (Bad file descriptor) [pid 5938] close(24) = -1 EBADF (Bad file descriptor) [pid 5938] close(25) = -1 EBADF (Bad file descriptor) [pid 5938] close(26) = -1 EBADF (Bad file descriptor) [pid 5938] close(27) = -1 EBADF (Bad file descriptor) [pid 5938] close(28) = -1 EBADF (Bad file descriptor) [pid 5938] close(29) = -1 EBADF (Bad file descriptor) [pid 5938] exit_group(0) = ? [pid 5938] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=11, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=28 /* 0.28 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./9", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./9/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./9/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./9/binderfs") = 0 [ 95.067632][ T5835] bcachefs (loop0): shutting down [ 95.072750][ T5835] bcachefs (loop0): going read-only [ 95.078167][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 95.085900][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 95.113582][ T3529] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 95.127242][ T3529] bcachefs (loop0): fatal error - emergency read only [ 95.134592][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 95.144586][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 95.152657][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 95.171804][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./9/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./9/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./9/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./9/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./9/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./9/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./9") = 0 [pid 5835] mkdir("./10", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5949 attached [pid 5949] set_robust_list(0x55557d035660, 24 [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 12 [pid 5949] <... set_robust_list resumed>) = 0 [pid 5949] chdir("./10") = 0 [pid 5949] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5949] setpgid(0, 0) = 0 [pid 5949] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5949] write(3, "1000", 4) = 4 [pid 5949] close(3) = 0 [pid 5949] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5949] write(1, "executing program\n", 18executing program ) = 18 [pid 5949] memfd_create("syzkaller", 0) = 3 [pid 5949] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 5949] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 5949] munmap(0x7fc2fe800000, 138412032) = 0 [pid 5949] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5949] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5949] close(3) = 0 [pid 5949] close(4) = 0 [pid 5949] mkdir("./file1", 0777) = 0 [ 96.659109][ T5949] loop0: detected capacity change from 0 to 32768 [ 96.742032][ T5949] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 96.764783][ T5949] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 96.773158][ T5949] bcachefs (loop0): Version upgrade required: [ 96.773158][ T5949] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 96.773158][ T5949] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 96.773158][ T5949] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 96.845544][ T5949] bcachefs (loop0): dropping and reconstructing all alloc info [ 96.862108][ T5949] bcachefs (loop0): accounting_read... done [ 96.868662][ T5949] bcachefs (loop0): alloc_read... done [ 96.874481][ T5949] bcachefs (loop0): stripes_read... done [ 96.880278][ T5949] bcachefs (loop0): snapshots_read... done [pid 5949] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 5949] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5949] chdir("./file1") = 0 [pid 5949] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5949] ioctl(4, LOOP_CLR_FD) = 0 [ 96.886466][ T5949] bcachefs (loop0): check_allocations... done [ 96.907629][ T5949] bcachefs (loop0): going read-write [ 96.917356][ T5949] bcachefs (loop0): done starting filesystem [pid 5949] close(4) = 0 [pid 5949] rename("./file2", "./file1") = 0 [pid 5949] close(3) = 0 [pid 5949] close(4) = -1 EBADF (Bad file descriptor) [pid 5949] close(5) = -1 EBADF (Bad file descriptor) [pid 5949] close(6) = -1 EBADF (Bad file descriptor) [pid 5949] close(7) = -1 EBADF (Bad file descriptor) [pid 5949] close(8) = -1 EBADF (Bad file descriptor) [pid 5949] close(9) = -1 EBADF (Bad file descriptor) [pid 5949] close(10) = -1 EBADF (Bad file descriptor) [pid 5949] close(11) = -1 EBADF (Bad file descriptor) [pid 5949] close(12) = -1 EBADF (Bad file descriptor) [pid 5949] close(13) = -1 EBADF (Bad file descriptor) [pid 5949] close(14) = -1 EBADF (Bad file descriptor) [pid 5949] close(15) = -1 EBADF (Bad file descriptor) [pid 5949] close(16) = -1 EBADF (Bad file descriptor) [pid 5949] close(17) = -1 EBADF (Bad file descriptor) [pid 5949] close(18) = -1 EBADF (Bad file descriptor) [pid 5949] close(19) = -1 EBADF (Bad file descriptor) [pid 5949] close(20) = -1 EBADF (Bad file descriptor) [pid 5949] close(21) = -1 EBADF (Bad file descriptor) [pid 5949] close(22) = -1 EBADF (Bad file descriptor) [pid 5949] close(23) = -1 EBADF (Bad file descriptor) [pid 5949] close(24) = -1 EBADF (Bad file descriptor) [pid 5949] close(25) = -1 EBADF (Bad file descriptor) [pid 5949] close(26) = -1 EBADF (Bad file descriptor) [pid 5949] close(27) = -1 EBADF (Bad file descriptor) [pid 5949] close(28) = -1 EBADF (Bad file descriptor) [pid 5949] close(29) = -1 EBADF (Bad file descriptor) [pid 5949] exit_group(0) = ? [pid 5949] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=12, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=30 /* 0.30 s */} --- [pid 5835] umount2("./10", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./10/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./10/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./10/binderfs") = 0 [ 97.318651][ T5835] bcachefs (loop0): shutting down [ 97.323729][ T5835] bcachefs (loop0): going read-only [ 97.329149][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 97.336604][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 97.360988][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 97.374264][ T11] bcachefs (loop0): fatal error - emergency read only [ 97.381623][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 97.391892][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 97.399818][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 97.416775][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./10/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./10/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./10/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./10/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./10/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./10/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./10") = 0 [pid 5835] mkdir("./11", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5960 attached [pid 5960] set_robust_list(0x55557d035660, 24) = 0 [pid 5960] chdir("./11" [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 13 [pid 5960] <... chdir resumed>) = 0 [pid 5960] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5960] setpgid(0, 0) = 0 [pid 5960] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5960] write(3, "1000", 4) = 4 [pid 5960] close(3) = 0 [pid 5960] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5960] write(1, "executing program\n", 18executing program ) = 18 [pid 5960] memfd_create("syzkaller", 0) = 3 [pid 5960] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 5960] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 5960] munmap(0x7fc2fe800000, 138412032) = 0 [pid 5960] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5960] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5960] close(3) = 0 [pid 5960] close(4) = 0 [pid 5960] mkdir("./file1", 0777) = 0 [ 98.869240][ T5960] loop0: detected capacity change from 0 to 32768 [ 98.964249][ T5960] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 98.986814][ T5960] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 98.995005][ T5960] bcachefs (loop0): Version upgrade required: [ 98.995005][ T5960] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 98.995005][ T5960] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 98.995005][ T5960] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 99.067807][ T5960] bcachefs (loop0): dropping and reconstructing all alloc info [ 99.083744][ T5960] bcachefs (loop0): accounting_read... done [ 99.090018][ T5960] bcachefs (loop0): alloc_read... done [ 99.095646][ T5960] bcachefs (loop0): stripes_read... done [ 99.101347][ T5960] bcachefs (loop0): snapshots_read... done [pid 5960] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 5960] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5960] chdir("./file1") = 0 [pid 5960] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 99.107523][ T5960] bcachefs (loop0): check_allocations... done [ 99.127905][ T5960] bcachefs (loop0): going read-write [ 99.136934][ T5960] bcachefs (loop0): done starting filesystem [pid 5960] ioctl(4, LOOP_CLR_FD) = 0 [pid 5960] close(4) = 0 [pid 5960] rename("./file2", "./file1") = 0 [pid 5960] close(3) = 0 [pid 5960] close(4) = -1 EBADF (Bad file descriptor) [pid 5960] close(5) = -1 EBADF (Bad file descriptor) [pid 5960] close(6) = -1 EBADF (Bad file descriptor) [pid 5960] close(7) = -1 EBADF (Bad file descriptor) [pid 5960] close(8) = -1 EBADF (Bad file descriptor) [pid 5960] close(9) = -1 EBADF (Bad file descriptor) [pid 5960] close(10) = -1 EBADF (Bad file descriptor) [pid 5960] close(11) = -1 EBADF (Bad file descriptor) [pid 5960] close(12) = -1 EBADF (Bad file descriptor) [pid 5960] close(13) = -1 EBADF (Bad file descriptor) [pid 5960] close(14) = -1 EBADF (Bad file descriptor) [pid 5960] close(15) = -1 EBADF (Bad file descriptor) [pid 5960] close(16) = -1 EBADF (Bad file descriptor) [pid 5960] close(17) = -1 EBADF (Bad file descriptor) [pid 5960] close(18) = -1 EBADF (Bad file descriptor) [pid 5960] close(19) = -1 EBADF (Bad file descriptor) [pid 5960] close(20) = -1 EBADF (Bad file descriptor) [pid 5960] close(21) = -1 EBADF (Bad file descriptor) [pid 5960] close(22) = -1 EBADF (Bad file descriptor) [pid 5960] close(23) = -1 EBADF (Bad file descriptor) [pid 5960] close(24) = -1 EBADF (Bad file descriptor) [pid 5960] close(25) = -1 EBADF (Bad file descriptor) [pid 5960] close(26) = -1 EBADF (Bad file descriptor) [pid 5960] close(27) = -1 EBADF (Bad file descriptor) [pid 5960] close(28) = -1 EBADF (Bad file descriptor) [pid 5960] close(29) = -1 EBADF (Bad file descriptor) [pid 5960] exit_group(0) = ? [pid 5960] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=29 /* 0.29 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./11", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./11/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./11/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./11/binderfs") = 0 [ 99.522064][ T5835] bcachefs (loop0): shutting down [ 99.527340][ T5835] bcachefs (loop0): going read-only [ 99.532569][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 99.540490][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 99.567385][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 99.580182][ T11] bcachefs (loop0): fatal error - emergency read only [ 99.587774][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 99.597618][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 99.605426][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 99.622896][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./11/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./11/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./11/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./11/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./11/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./11/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./11") = 0 [pid 5835] mkdir("./12", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5971 attached [pid 5971] set_robust_list(0x55557d035660, 24) = 0 [pid 5971] chdir("./12" [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 14 [pid 5971] <... chdir resumed>) = 0 [pid 5971] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5971] setpgid(0, 0) = 0 [pid 5971] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5971] write(3, "1000", 4) = 4 [pid 5971] close(3) = 0 [pid 5971] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5971] write(1, "executing program\n", 18) = 18 [pid 5971] memfd_create("syzkaller", 0) = 3 [pid 5971] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 5971] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 5971] munmap(0x7fc2fe800000, 138412032) = 0 [pid 5971] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5971] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5971] close(3) = 0 [pid 5971] close(4) = 0 [pid 5971] mkdir("./file1", 0777) = 0 [ 101.059639][ T5971] loop0: detected capacity change from 0 to 32768 [ 101.164559][ T5971] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 101.187252][ T5971] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 101.195595][ T5971] bcachefs (loop0): Version upgrade required: [ 101.195595][ T5971] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 101.195595][ T5971] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 101.195595][ T5971] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 101.268676][ T5971] bcachefs (loop0): dropping and reconstructing all alloc info [ 101.285681][ T5971] bcachefs (loop0): accounting_read... done [ 101.291931][ T5971] bcachefs (loop0): alloc_read... done [ 101.297618][ T5971] bcachefs (loop0): stripes_read... done [ 101.303372][ T5971] bcachefs (loop0): snapshots_read... done [pid 5971] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 5971] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5971] chdir("./file1") = 0 [pid 5971] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5971] ioctl(4, LOOP_CLR_FD) = 0 [pid 5971] close(4) = 0 [ 101.309495][ T5971] bcachefs (loop0): check_allocations... done [ 101.330290][ T5971] bcachefs (loop0): going read-write [ 101.339604][ T5971] bcachefs (loop0): done starting filesystem [pid 5971] rename("./file2", "./file1") = 0 [pid 5971] close(3) = 0 [pid 5971] close(4) = -1 EBADF (Bad file descriptor) [pid 5971] close(5) = -1 EBADF (Bad file descriptor) [pid 5971] close(6) = -1 EBADF (Bad file descriptor) [pid 5971] close(7) = -1 EBADF (Bad file descriptor) [pid 5971] close(8) = -1 EBADF (Bad file descriptor) [pid 5971] close(9) = -1 EBADF (Bad file descriptor) [pid 5971] close(10) = -1 EBADF (Bad file descriptor) [pid 5971] close(11) = -1 EBADF (Bad file descriptor) [pid 5971] close(12) = -1 EBADF (Bad file descriptor) [pid 5971] close(13) = -1 EBADF (Bad file descriptor) [pid 5971] close(14) = -1 EBADF (Bad file descriptor) [pid 5971] close(15) = -1 EBADF (Bad file descriptor) [pid 5971] close(16) = -1 EBADF (Bad file descriptor) [pid 5971] close(17) = -1 EBADF (Bad file descriptor) [pid 5971] close(18) = -1 EBADF (Bad file descriptor) [pid 5971] close(19) = -1 EBADF (Bad file descriptor) [pid 5971] close(20) = -1 EBADF (Bad file descriptor) [pid 5971] close(21) = -1 EBADF (Bad file descriptor) [pid 5971] close(22) = -1 EBADF (Bad file descriptor) [pid 5971] close(23) = -1 EBADF (Bad file descriptor) [pid 5971] close(24) = -1 EBADF (Bad file descriptor) [pid 5971] close(25) = -1 EBADF (Bad file descriptor) [pid 5971] close(26) = -1 EBADF (Bad file descriptor) [pid 5971] close(27) = -1 EBADF (Bad file descriptor) [pid 5971] close(28) = -1 EBADF (Bad file descriptor) [pid 5971] close(29) = -1 EBADF (Bad file descriptor) [pid 5971] exit_group(0) = ? [pid 5971] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=14, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=31 /* 0.31 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./12", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./12/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./12/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./12/binderfs") = 0 [ 101.589240][ T5835] bcachefs (loop0): shutting down [ 101.594356][ T5835] bcachefs (loop0): going read-only [ 101.599855][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 101.607940][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 101.634122][ T62] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 101.647904][ T62] bcachefs (loop0): fatal error - emergency read only [ 101.655262][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 101.665547][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 101.673187][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 101.691218][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./12/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./12/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./12/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./12/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./12/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./12/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./12") = 0 [pid 5835] mkdir("./13", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5982 attached [pid 5982] set_robust_list(0x55557d035660, 24) = 0 [pid 5982] chdir("./13" [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 15 [pid 5982] <... chdir resumed>) = 0 [pid 5982] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5982] setpgid(0, 0) = 0 [pid 5982] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5982] write(3, "1000", 4) = 4 [pid 5982] close(3) = 0 [pid 5982] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5982] write(1, "executing program\n", 18executing program ) = 18 [pid 5982] memfd_create("syzkaller", 0) = 3 [pid 5982] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 5982] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 5982] munmap(0x7fc2fe800000, 138412032) = 0 [pid 5982] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5982] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5982] close(3) = 0 [pid 5982] close(4) = 0 [pid 5982] mkdir("./file1", 0777) = 0 [ 103.291668][ T5982] loop0: detected capacity change from 0 to 32768 [ 103.392806][ T5982] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 103.415840][ T5982] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 103.423986][ T5982] bcachefs (loop0): Version upgrade required: [ 103.423986][ T5982] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 103.423986][ T5982] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 103.423986][ T5982] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 103.497321][ T5982] bcachefs (loop0): dropping and reconstructing all alloc info [ 103.515466][ T5982] bcachefs (loop0): accounting_read... done [ 103.521635][ T5982] bcachefs (loop0): alloc_read... done [ 103.527353][ T5982] bcachefs (loop0): stripes_read... done [ 103.533128][ T5982] bcachefs (loop0): snapshots_read... done [pid 5982] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 5982] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5982] chdir("./file1") = 0 [ 103.539476][ T5982] bcachefs (loop0): check_allocations... done [ 103.561989][ T5982] bcachefs (loop0): going read-write [ 103.572176][ T5982] bcachefs (loop0): done starting filesystem [pid 5982] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5982] ioctl(4, LOOP_CLR_FD) = 0 [pid 5982] close(4) = 0 [pid 5982] rename("./file2", "./file1") = 0 [pid 5982] close(3) = 0 [pid 5982] close(4) = -1 EBADF (Bad file descriptor) [pid 5982] close(5) = -1 EBADF (Bad file descriptor) [pid 5982] close(6) = -1 EBADF (Bad file descriptor) [pid 5982] close(7) = -1 EBADF (Bad file descriptor) [pid 5982] close(8) = -1 EBADF (Bad file descriptor) [pid 5982] close(9) = -1 EBADF (Bad file descriptor) [pid 5982] close(10) = -1 EBADF (Bad file descriptor) [pid 5982] close(11) = -1 EBADF (Bad file descriptor) [pid 5982] close(12) = -1 EBADF (Bad file descriptor) [pid 5982] close(13) = -1 EBADF (Bad file descriptor) [pid 5982] close(14) = -1 EBADF (Bad file descriptor) [pid 5982] close(15) = -1 EBADF (Bad file descriptor) [pid 5982] close(16) = -1 EBADF (Bad file descriptor) [pid 5982] close(17) = -1 EBADF (Bad file descriptor) [pid 5982] close(18) = -1 EBADF (Bad file descriptor) [pid 5982] close(19) = -1 EBADF (Bad file descriptor) [pid 5982] close(20) = -1 EBADF (Bad file descriptor) [pid 5982] close(21) = -1 EBADF (Bad file descriptor) [pid 5982] close(22) = -1 EBADF (Bad file descriptor) [pid 5982] close(23) = -1 EBADF (Bad file descriptor) [pid 5982] close(24) = -1 EBADF (Bad file descriptor) [pid 5982] close(25) = -1 EBADF (Bad file descriptor) [pid 5982] close(26) = -1 EBADF (Bad file descriptor) [pid 5982] close(27) = -1 EBADF (Bad file descriptor) [pid 5982] close(28) = -1 EBADF (Bad file descriptor) [pid 5982] close(29) = -1 EBADF (Bad file descriptor) [pid 5982] exit_group(0) = ? [pid 5982] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=15, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=27 /* 0.27 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./13", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./13", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./13/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./13/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./13/binderfs") = 0 [ 104.029305][ T5835] bcachefs (loop0): shutting down [ 104.034404][ T5835] bcachefs (loop0): going read-only [ 104.039993][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 104.047914][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 104.073234][ T3529] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 104.086821][ T3529] bcachefs (loop0): fatal error - emergency read only [ 104.094192][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 104.104256][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 104.112170][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 104.130507][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./13/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./13/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./13/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./13/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./13/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./13/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./13") = 0 [pid 5835] mkdir("./14", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5993 attached [pid 5993] set_robust_list(0x55557d035660, 24 [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 16 [pid 5993] <... set_robust_list resumed>) = 0 [pid 5993] chdir("./14") = 0 [pid 5993] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5993] setpgid(0, 0) = 0 [pid 5993] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5993] write(3, "1000", 4) = 4 [pid 5993] close(3) = 0 [pid 5993] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 5993] write(1, "executing program\n", 18) = 18 [pid 5993] memfd_create("syzkaller", 0) = 3 [pid 5993] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [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) = 16777216 [pid 5993] munmap(0x7fc2fe800000, 138412032) = 0 [pid 5993] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5993] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5993] close(3) = 0 [pid 5993] close(4) = 0 [pid 5993] mkdir("./file1", 0777) = 0 [ 105.619699][ T5993] loop0: detected capacity change from 0 to 32768 [ 105.709624][ T5993] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 105.732205][ T5993] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 105.740403][ T5993] bcachefs (loop0): Version upgrade required: [ 105.740403][ T5993] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 105.740403][ T5993] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 105.740403][ T5993] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 105.812742][ T5993] bcachefs (loop0): dropping and reconstructing all alloc info [ 105.829727][ T5993] bcachefs (loop0): accounting_read... done [ 105.836187][ T5993] bcachefs (loop0): alloc_read... done [ 105.841762][ T5993] bcachefs (loop0): stripes_read... done [ 105.847717][ T5993] bcachefs (loop0): snapshots_read... done [pid 5993] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 5993] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5993] chdir("./file1") = 0 [pid 5993] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5993] ioctl(4, LOOP_CLR_FD) = 0 [pid 5993] close(4) = 0 [pid 5993] rename("./file2", "./file1") = 0 [pid 5993] close(3) = 0 [pid 5993] close(4) = -1 EBADF (Bad file descriptor) [pid 5993] close(5) = -1 EBADF (Bad file descriptor) [pid 5993] close(6) = -1 EBADF (Bad file descriptor) [pid 5993] close(7) = -1 EBADF (Bad file descriptor) [pid 5993] close(8) = -1 EBADF (Bad file descriptor) [pid 5993] close(9) = -1 EBADF (Bad file descriptor) [pid 5993] close(10) = -1 EBADF (Bad file descriptor) [pid 5993] close(11) = -1 EBADF (Bad file descriptor) [pid 5993] close(12) = -1 EBADF (Bad file descriptor) [pid 5993] close(13) = -1 EBADF (Bad file descriptor) [pid 5993] close(14) = -1 EBADF (Bad file descriptor) [pid 5993] close(15) = -1 EBADF (Bad file descriptor) [pid 5993] close(16) = -1 EBADF (Bad file descriptor) [pid 5993] close(17) = -1 EBADF (Bad file descriptor) [pid 5993] close(18) = -1 EBADF (Bad file descriptor) [ 105.853754][ T5993] bcachefs (loop0): check_allocations... done [ 105.874466][ T5993] bcachefs (loop0): going read-write [ 105.884113][ T5993] bcachefs (loop0): done starting filesystem [pid 5993] close(19) = -1 EBADF (Bad file descriptor) [pid 5993] close(20) = -1 EBADF (Bad file descriptor) [pid 5993] close(21) = -1 EBADF (Bad file descriptor) [pid 5993] close(22) = -1 EBADF (Bad file descriptor) [pid 5993] close(23) = -1 EBADF (Bad file descriptor) [pid 5993] close(24) = -1 EBADF (Bad file descriptor) [pid 5993] close(25) = -1 EBADF (Bad file descriptor) [pid 5993] close(26) = -1 EBADF (Bad file descriptor) [pid 5993] close(27) = -1 EBADF (Bad file descriptor) [pid 5993] close(28) = -1 EBADF (Bad file descriptor) [pid 5993] close(29) = -1 EBADF (Bad file descriptor) [pid 5993] exit_group(0) = ? [pid 5993] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=16, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=30 /* 0.30 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./14", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./14", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./14/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./14/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./14/binderfs") = 0 [ 105.954014][ T5835] bcachefs (loop0): shutting down [ 105.959667][ T5835] bcachefs (loop0): going read-only [ 105.964884][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 105.972639][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 105.999589][ T3529] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 106.013291][ T3529] bcachefs (loop0): fatal error - emergency read only [ 106.020837][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 106.030651][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 106.038587][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 106.056887][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./14/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./14/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./14/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./14/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./14/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./14/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./14") = 0 [pid 5835] mkdir("./15", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6004 attached [pid 6004] set_robust_list(0x55557d035660, 24) = 0 [pid 6004] chdir("./15") = 0 [pid 6004] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6004] setpgid(0, 0) = 0 [pid 6004] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 17 [pid 6004] <... openat resumed>) = 3 [pid 6004] write(3, "1000", 4) = 4 [pid 6004] close(3) = 0 [pid 6004] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6004] write(1, "executing program\n", 18executing program ) = 18 [pid 6004] memfd_create("syzkaller", 0) = 3 [pid 6004] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6004] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6004] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6004] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6004] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6004] close(3) = 0 [pid 6004] close(4) = 0 [pid 6004] mkdir("./file1", 0777) = 0 [ 107.631754][ T6004] loop0: detected capacity change from 0 to 32768 [ 107.720098][ T6004] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 107.742707][ T6004] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 107.752028][ T6004] bcachefs (loop0): Version upgrade required: [ 107.752028][ T6004] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 107.752028][ T6004] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 107.752028][ T6004] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 107.831356][ T6004] bcachefs (loop0): dropping and reconstructing all alloc info [ 107.848675][ T6004] bcachefs (loop0): accounting_read... done [ 107.854831][ T6004] bcachefs (loop0): alloc_read... done [ 107.860965][ T6004] bcachefs (loop0): stripes_read... done [pid 6004] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6004] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6004] chdir("./file1") = 0 [pid 6004] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 107.866880][ T6004] bcachefs (loop0): snapshots_read... done [ 107.872882][ T6004] bcachefs (loop0): check_allocations... done [ 107.894886][ T6004] bcachefs (loop0): going read-write [ 107.904164][ T6004] bcachefs (loop0): done starting filesystem [pid 6004] ioctl(4, LOOP_CLR_FD) = 0 [pid 6004] close(4) = 0 [pid 6004] rename("./file2", "./file1") = 0 [pid 6004] close(3) = 0 [pid 6004] close(4) = -1 EBADF (Bad file descriptor) [pid 6004] close(5) = -1 EBADF (Bad file descriptor) [pid 6004] close(6) = -1 EBADF (Bad file descriptor) [pid 6004] close(7) = -1 EBADF (Bad file descriptor) [pid 6004] close(8) = -1 EBADF (Bad file descriptor) [pid 6004] close(9) = -1 EBADF (Bad file descriptor) [pid 6004] close(10) = -1 EBADF (Bad file descriptor) [pid 6004] close(11) = -1 EBADF (Bad file descriptor) [pid 6004] close(12) = -1 EBADF (Bad file descriptor) [pid 6004] close(13) = -1 EBADF (Bad file descriptor) [pid 6004] close(14) = -1 EBADF (Bad file descriptor) [pid 6004] close(15) = -1 EBADF (Bad file descriptor) [pid 6004] close(16) = -1 EBADF (Bad file descriptor) [pid 6004] close(17) = -1 EBADF (Bad file descriptor) [pid 6004] close(18) = -1 EBADF (Bad file descriptor) [pid 6004] close(19) = -1 EBADF (Bad file descriptor) [pid 6004] close(20) = -1 EBADF (Bad file descriptor) [pid 6004] close(21) = -1 EBADF (Bad file descriptor) [pid 6004] close(22) = -1 EBADF (Bad file descriptor) [pid 6004] close(23) = -1 EBADF (Bad file descriptor) [pid 6004] close(24) = -1 EBADF (Bad file descriptor) [pid 6004] close(25) = -1 EBADF (Bad file descriptor) [pid 6004] close(26) = -1 EBADF (Bad file descriptor) [pid 6004] close(27) = -1 EBADF (Bad file descriptor) [pid 6004] close(28) = -1 EBADF (Bad file descriptor) [pid 6004] close(29) = -1 EBADF (Bad file descriptor) [pid 6004] exit_group(0) = ? [pid 6004] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=17, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=29 /* 0.29 s */} --- [pid 5835] umount2("./15", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./15", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./15/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./15/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./15/binderfs") = 0 [ 108.381360][ T5835] bcachefs (loop0): shutting down [ 108.387074][ T5835] bcachefs (loop0): going read-only [ 108.392322][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 108.400274][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 108.426920][ T62] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 108.440379][ T62] bcachefs (loop0): fatal error - emergency read only [ 108.447851][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 108.457654][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 108.465746][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 108.484291][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./15/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./15/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./15/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./15/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./15/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./15/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./15") = 0 [pid 5835] mkdir("./16", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6021 attached , child_tidptr=0x55557d035650) = 18 [pid 6021] set_robust_list(0x55557d035660, 24) = 0 [pid 6021] chdir("./16") = 0 [pid 6021] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6021] setpgid(0, 0) = 0 [pid 6021] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6021] write(3, "1000", 4) = 4 [pid 6021] close(3) = 0 [pid 6021] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6021] write(1, "executing program\n", 18executing program ) = 18 [pid 6021] memfd_create("syzkaller", 0) = 3 [pid 6021] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6021] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6021] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6021] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6021] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6021] close(3) = 0 [pid 6021] close(4) = 0 [pid 6021] mkdir("./file1", 0777) = 0 [ 109.940649][ T6021] loop0: detected capacity change from 0 to 32768 [ 110.040110][ T6021] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 110.062833][ T6021] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 110.071044][ T6021] bcachefs (loop0): Version upgrade required: [ 110.071044][ T6021] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 110.071044][ T6021] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 110.071044][ T6021] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 110.143516][ T6021] bcachefs (loop0): dropping and reconstructing all alloc info [ 110.160513][ T6021] bcachefs (loop0): accounting_read... done [ 110.166925][ T6021] bcachefs (loop0): alloc_read... done [ 110.172671][ T6021] bcachefs (loop0): stripes_read... done [ 110.178780][ T6021] bcachefs (loop0): snapshots_read... done [pid 6021] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6021] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6021] chdir("./file1") = 0 [pid 6021] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 110.185557][ T6021] bcachefs (loop0): check_allocations... done [ 110.208055][ T6021] bcachefs (loop0): going read-write [ 110.218030][ T6021] bcachefs (loop0): done starting filesystem [pid 6021] ioctl(4, LOOP_CLR_FD) = 0 [pid 6021] close(4) = 0 [pid 6021] rename("./file2", "./file1") = 0 [pid 6021] close(3) = 0 [pid 6021] close(4) = -1 EBADF (Bad file descriptor) [pid 6021] close(5) = -1 EBADF (Bad file descriptor) [pid 6021] close(6) = -1 EBADF (Bad file descriptor) [pid 6021] close(7) = -1 EBADF (Bad file descriptor) [pid 6021] close(8) = -1 EBADF (Bad file descriptor) [pid 6021] close(9) = -1 EBADF (Bad file descriptor) [pid 6021] close(10) = -1 EBADF (Bad file descriptor) [pid 6021] close(11) = -1 EBADF (Bad file descriptor) [pid 6021] close(12) = -1 EBADF (Bad file descriptor) [pid 6021] close(13) = -1 EBADF (Bad file descriptor) [pid 6021] close(14) = -1 EBADF (Bad file descriptor) [pid 6021] close(15) = -1 EBADF (Bad file descriptor) [pid 6021] close(16) = -1 EBADF (Bad file descriptor) [pid 6021] close(17) = -1 EBADF (Bad file descriptor) [pid 6021] close(18) = -1 EBADF (Bad file descriptor) [pid 6021] close(19) = -1 EBADF (Bad file descriptor) [pid 6021] close(20) = -1 EBADF (Bad file descriptor) [pid 6021] close(21) = -1 EBADF (Bad file descriptor) [pid 6021] close(22) = -1 EBADF (Bad file descriptor) [pid 6021] close(23) = -1 EBADF (Bad file descriptor) [pid 6021] close(24) = -1 EBADF (Bad file descriptor) [pid 6021] close(25) = -1 EBADF (Bad file descriptor) [pid 6021] close(26) = -1 EBADF (Bad file descriptor) [pid 6021] close(27) = -1 EBADF (Bad file descriptor) [pid 6021] close(28) = -1 EBADF (Bad file descriptor) [pid 6021] close(29) = -1 EBADF (Bad file descriptor) [pid 6021] exit_group(0) = ? [pid 6021] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=18, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=31 /* 0.31 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./16", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./16", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./16/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./16/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./16/binderfs") = 0 [ 110.659572][ T5835] bcachefs (loop0): shutting down [ 110.665347][ T5835] bcachefs (loop0): going read-only [ 110.670590][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 110.678622][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 110.706010][ T1081] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 110.719201][ T1081] bcachefs (loop0): fatal error - emergency read only [ 110.726777][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 110.736631][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 110.744329][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 110.761761][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./16/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./16/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./16/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./16/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./16/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./16/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./16") = 0 [pid 5835] mkdir("./17", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6032 attached [pid 6032] set_robust_list(0x55557d035660, 24) = 0 [pid 6032] chdir("./17" [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 19 [pid 6032] <... chdir resumed>) = 0 [pid 6032] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6032] setpgid(0, 0) = 0 [pid 6032] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6032] write(3, "1000", 4) = 4 [pid 6032] close(3) = 0 [pid 6032] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6032] write(1, "executing program\n", 18executing program ) = 18 [pid 6032] memfd_create("syzkaller", 0) = 3 [pid 6032] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6032] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6032] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6032] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6032] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6032] close(3) = 0 [pid 6032] close(4) = 0 [pid 6032] mkdir("./file1", 0777) = 0 [ 112.289924][ T6032] loop0: detected capacity change from 0 to 32768 [ 112.373756][ T6032] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 112.396446][ T6032] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 112.404776][ T6032] bcachefs (loop0): Version upgrade required: [ 112.404776][ T6032] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 112.404776][ T6032] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 112.404776][ T6032] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 112.477537][ T6032] bcachefs (loop0): dropping and reconstructing all alloc info [ 112.494434][ T6032] bcachefs (loop0): accounting_read... done [ 112.501093][ T6032] bcachefs (loop0): alloc_read... done [ 112.507003][ T6032] bcachefs (loop0): stripes_read... done [ 112.513148][ T6032] bcachefs (loop0): snapshots_read... done [pid 6032] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6032] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6032] chdir("./file1") = 0 [pid 6032] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6032] ioctl(4, LOOP_CLR_FD) = 0 [pid 6032] close(4) = 0 [pid 6032] rename("./file2", "./file1") = 0 [pid 6032] close(3) = 0 [ 112.519356][ T6032] bcachefs (loop0): check_allocations... done [ 112.541170][ T6032] bcachefs (loop0): going read-write [ 112.550741][ T6032] bcachefs (loop0): done starting filesystem [pid 6032] close(4) = -1 EBADF (Bad file descriptor) [pid 6032] close(5) = -1 EBADF (Bad file descriptor) [pid 6032] close(6) = -1 EBADF (Bad file descriptor) [pid 6032] close(7) = -1 EBADF (Bad file descriptor) [pid 6032] close(8) = -1 EBADF (Bad file descriptor) [pid 6032] close(9) = -1 EBADF (Bad file descriptor) [pid 6032] close(10) = -1 EBADF (Bad file descriptor) [pid 6032] close(11) = -1 EBADF (Bad file descriptor) [pid 6032] close(12) = -1 EBADF (Bad file descriptor) [pid 6032] close(13) = -1 EBADF (Bad file descriptor) [pid 6032] close(14) = -1 EBADF (Bad file descriptor) [pid 6032] close(15) = -1 EBADF (Bad file descriptor) [pid 6032] close(16) = -1 EBADF (Bad file descriptor) [pid 6032] close(17) = -1 EBADF (Bad file descriptor) [pid 6032] close(18) = -1 EBADF (Bad file descriptor) [pid 6032] close(19) = -1 EBADF (Bad file descriptor) [pid 6032] close(20) = -1 EBADF (Bad file descriptor) [pid 6032] close(21) = -1 EBADF (Bad file descriptor) [pid 6032] close(22) = -1 EBADF (Bad file descriptor) [pid 6032] close(23) = -1 EBADF (Bad file descriptor) [pid 6032] close(24) = -1 EBADF (Bad file descriptor) [pid 6032] close(25) = -1 EBADF (Bad file descriptor) [pid 6032] close(26) = -1 EBADF (Bad file descriptor) [pid 6032] close(27) = -1 EBADF (Bad file descriptor) [pid 6032] close(28) = -1 EBADF (Bad file descriptor) [pid 6032] close(29) = -1 EBADF (Bad file descriptor) [pid 6032] exit_group(0) = ? [pid 6032] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=19, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=25 /* 0.25 s */} --- [pid 5835] umount2("./17", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./17", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./17/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./17/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./17/binderfs") = 0 [ 112.749714][ T5835] bcachefs (loop0): shutting down [ 112.754823][ T5835] bcachefs (loop0): going read-only [ 112.760165][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 112.767707][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 112.794145][ T62] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 112.807229][ T62] bcachefs (loop0): fatal error - emergency read only [ 112.814466][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 112.824839][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 112.832986][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 112.851904][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./17/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./17/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./17/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./17/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./17/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./17/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./17") = 0 [pid 5835] mkdir("./18", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6043 attached [pid 6043] set_robust_list(0x55557d035660, 24) = 0 [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 20 [pid 6043] chdir("./18") = 0 [pid 6043] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6043] setpgid(0, 0) = 0 [pid 6043] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6043] write(3, "1000", 4) = 4 [pid 6043] close(3) = 0 [pid 6043] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6043] write(1, "executing program\n", 18) = 18 [pid 6043] memfd_create("syzkaller", 0) = 3 [pid 6043] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6043] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6043] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6043] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6043] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6043] close(3) = 0 [pid 6043] close(4) = 0 [pid 6043] mkdir("./file1", 0777) = 0 [ 114.346287][ T6043] loop0: detected capacity change from 0 to 32768 [ 114.434060][ T6043] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 114.456877][ T6043] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 114.465277][ T6043] bcachefs (loop0): Version upgrade required: [ 114.465277][ T6043] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 114.465277][ T6043] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 114.465277][ T6043] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 114.539163][ T6043] bcachefs (loop0): dropping and reconstructing all alloc info [ 114.556616][ T6043] bcachefs (loop0): accounting_read... done [ 114.562853][ T6043] bcachefs (loop0): alloc_read... done [ 114.568551][ T6043] bcachefs (loop0): stripes_read... done [ 114.574381][ T6043] bcachefs (loop0): snapshots_read... done [pid 6043] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6043] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6043] chdir("./file1") = 0 [pid 6043] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6043] ioctl(4, LOOP_CLR_FD) = 0 [pid 6043] close(4) = 0 [pid 6043] rename("./file2", "./file1") = 0 [pid 6043] close(3) = 0 [pid 6043] close(4) = -1 EBADF (Bad file descriptor) [pid 6043] close(5) = -1 EBADF (Bad file descriptor) [pid 6043] close(6) = -1 EBADF (Bad file descriptor) [pid 6043] close(7) = -1 EBADF (Bad file descriptor) [pid 6043] close(8) = -1 EBADF (Bad file descriptor) [pid 6043] close(9) = -1 EBADF (Bad file descriptor) [pid 6043] close(10) = -1 EBADF (Bad file descriptor) [pid 6043] close(11) = -1 EBADF (Bad file descriptor) [pid 6043] close(12) = -1 EBADF (Bad file descriptor) [pid 6043] close(13) = -1 EBADF (Bad file descriptor) [pid 6043] close(14) = -1 EBADF (Bad file descriptor) [pid 6043] close(15) = -1 EBADF (Bad file descriptor) [pid 6043] close(16) = -1 EBADF (Bad file descriptor) [pid 6043] close(17) = -1 EBADF (Bad file descriptor) [pid 6043] close(18) = -1 EBADF (Bad file descriptor) [ 114.580610][ T6043] bcachefs (loop0): check_allocations... done [ 114.601483][ T6043] bcachefs (loop0): going read-write [ 114.611105][ T6043] bcachefs (loop0): done starting filesystem [pid 6043] close(19) = -1 EBADF (Bad file descriptor) [pid 6043] close(20) = -1 EBADF (Bad file descriptor) [pid 6043] close(21) = -1 EBADF (Bad file descriptor) [pid 6043] close(22) = -1 EBADF (Bad file descriptor) [pid 6043] close(23) = -1 EBADF (Bad file descriptor) [pid 6043] close(24) = -1 EBADF (Bad file descriptor) [pid 6043] close(25) = -1 EBADF (Bad file descriptor) [pid 6043] close(26) = -1 EBADF (Bad file descriptor) [pid 6043] close(27) = -1 EBADF (Bad file descriptor) [pid 6043] close(28) = -1 EBADF (Bad file descriptor) [pid 6043] close(29) = -1 EBADF (Bad file descriptor) [pid 6043] exit_group(0) = ? [pid 6043] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=20, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=30 /* 0.30 s */} --- [pid 5835] umount2("./18", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./18", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./18/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./18/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./18/binderfs") = 0 [ 114.771613][ T5835] bcachefs (loop0): shutting down [ 114.776841][ T5835] bcachefs (loop0): going read-only [ 114.782103][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 114.790219][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 114.820542][ T1081] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 114.834091][ T1081] bcachefs (loop0): fatal error - emergency read only [ 114.842080][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 114.852037][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 114.860022][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 114.878273][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./18/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./18/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./18/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./18/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./18/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./18/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./18") = 0 [pid 5835] mkdir("./19", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6054 attached [pid 6054] set_robust_list(0x55557d035660, 24 [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 21 [pid 6054] <... set_robust_list resumed>) = 0 [pid 6054] chdir("./19") = 0 [pid 6054] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6054] setpgid(0, 0) = 0 [pid 6054] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6054] write(3, "1000", 4) = 4 [pid 6054] close(3) = 0 [pid 6054] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6054] write(1, "executing program\n", 18executing program ) = 18 [pid 6054] memfd_create("syzkaller", 0) = 3 [pid 6054] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6054] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6054] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6054] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6054] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6054] close(3) = 0 [pid 6054] close(4) = 0 [pid 6054] mkdir("./file1", 0777) = 0 [ 116.340051][ T6054] loop0: detected capacity change from 0 to 32768 [ 116.416839][ T6054] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 116.439488][ T6054] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 116.447714][ T6054] bcachefs (loop0): Version upgrade required: [ 116.447714][ T6054] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 116.447714][ T6054] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 116.447714][ T6054] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 116.520246][ T6054] bcachefs (loop0): dropping and reconstructing all alloc info [ 116.537019][ T6054] bcachefs (loop0): accounting_read... done [ 116.543186][ T6054] bcachefs (loop0): alloc_read... done [ 116.548832][ T6054] bcachefs (loop0): stripes_read... done [ 116.554577][ T6054] bcachefs (loop0): snapshots_read... done [pid 6054] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6054] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6054] chdir("./file1") = 0 [pid 6054] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6054] ioctl(4, LOOP_CLR_FD) = 0 [pid 6054] close(4) = 0 [pid 6054] rename("./file2", "./file1") = 0 [pid 6054] close(3) = 0 [pid 6054] close(4) = -1 EBADF (Bad file descriptor) [pid 6054] close(5) = -1 EBADF (Bad file descriptor) [pid 6054] close(6) = -1 EBADF (Bad file descriptor) [ 116.560851][ T6054] bcachefs (loop0): check_allocations... done [ 116.581598][ T6054] bcachefs (loop0): going read-write [ 116.591237][ T6054] bcachefs (loop0): done starting filesystem [pid 6054] close(7) = -1 EBADF (Bad file descriptor) [pid 6054] close(8) = -1 EBADF (Bad file descriptor) [pid 6054] close(9) = -1 EBADF (Bad file descriptor) [pid 6054] close(10) = -1 EBADF (Bad file descriptor) [pid 6054] close(11) = -1 EBADF (Bad file descriptor) [pid 6054] close(12) = -1 EBADF (Bad file descriptor) [pid 6054] close(13) = -1 EBADF (Bad file descriptor) [pid 6054] close(14) = -1 EBADF (Bad file descriptor) [pid 6054] close(15) = -1 EBADF (Bad file descriptor) [pid 6054] close(16) = -1 EBADF (Bad file descriptor) [pid 6054] close(17) = -1 EBADF (Bad file descriptor) [pid 6054] close(18) = -1 EBADF (Bad file descriptor) [pid 6054] close(19) = -1 EBADF (Bad file descriptor) [pid 6054] close(20) = -1 EBADF (Bad file descriptor) [pid 6054] close(21) = -1 EBADF (Bad file descriptor) [pid 6054] close(22) = -1 EBADF (Bad file descriptor) [pid 6054] close(23) = -1 EBADF (Bad file descriptor) [pid 6054] close(24) = -1 EBADF (Bad file descriptor) [pid 6054] close(25) = -1 EBADF (Bad file descriptor) [pid 6054] close(26) = -1 EBADF (Bad file descriptor) [pid 6054] close(27) = -1 EBADF (Bad file descriptor) [pid 6054] close(28) = -1 EBADF (Bad file descriptor) [pid 6054] close(29) = -1 EBADF (Bad file descriptor) [pid 6054] exit_group(0) = ? [pid 6054] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=21, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=27 /* 0.27 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./19", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./19", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./19/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./19/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./19/binderfs") = 0 [ 116.800653][ T5835] bcachefs (loop0): shutting down [ 116.805933][ T5835] bcachefs (loop0): going read-only [ 116.811189][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 116.818869][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 116.844873][ T3529] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 116.858715][ T3529] bcachefs (loop0): fatal error - emergency read only [ 116.866229][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 116.876254][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 116.883924][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 116.904252][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./19/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./19/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./19/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./19/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./19/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./19/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./19") = 0 [pid 5835] mkdir("./20", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6065 attached [pid 6065] set_robust_list(0x55557d035660, 24 [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 22 [pid 6065] <... set_robust_list resumed>) = 0 [pid 6065] chdir("./20") = 0 [pid 6065] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6065] setpgid(0, 0) = 0 [pid 6065] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6065] write(3, "1000", 4) = 4 [pid 6065] close(3) = 0 [pid 6065] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6065] write(1, "executing program\n", 18) = 18 [pid 6065] memfd_create("syzkaller", 0) = 3 [pid 6065] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6065] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6065] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6065] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6065] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6065] close(3) = 0 [pid 6065] close(4) = 0 [pid 6065] mkdir("./file1", 0777) = 0 [ 118.384148][ T6065] loop0: detected capacity change from 0 to 32768 [ 118.471943][ T6065] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 118.494590][ T6065] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 118.502806][ T6065] bcachefs (loop0): Version upgrade required: [ 118.502806][ T6065] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 118.502806][ T6065] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 118.502806][ T6065] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 118.575314][ T6065] bcachefs (loop0): dropping and reconstructing all alloc info [ 118.592402][ T6065] bcachefs (loop0): accounting_read... done [ 118.598901][ T6065] bcachefs (loop0): alloc_read... done [ 118.604675][ T6065] bcachefs (loop0): stripes_read... done [ 118.610553][ T6065] bcachefs (loop0): snapshots_read... done [pid 6065] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6065] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6065] chdir("./file1") = 0 [ 118.616697][ T6065] bcachefs (loop0): check_allocations... done [ 118.637362][ T6065] bcachefs (loop0): going read-write [ 118.646807][ T6065] bcachefs (loop0): done starting filesystem [pid 6065] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6065] ioctl(4, LOOP_CLR_FD) = 0 [pid 6065] close(4) = 0 [pid 6065] rename("./file2", "./file1") = 0 [pid 6065] close(3) = 0 [pid 6065] close(4) = -1 EBADF (Bad file descriptor) [pid 6065] close(5) = -1 EBADF (Bad file descriptor) [pid 6065] close(6) = -1 EBADF (Bad file descriptor) [pid 6065] close(7) = -1 EBADF (Bad file descriptor) [pid 6065] close(8) = -1 EBADF (Bad file descriptor) [pid 6065] close(9) = -1 EBADF (Bad file descriptor) [pid 6065] close(10) = -1 EBADF (Bad file descriptor) [pid 6065] close(11) = -1 EBADF (Bad file descriptor) [pid 6065] close(12) = -1 EBADF (Bad file descriptor) [pid 6065] close(13) = -1 EBADF (Bad file descriptor) [pid 6065] close(14) = -1 EBADF (Bad file descriptor) [pid 6065] close(15) = -1 EBADF (Bad file descriptor) [pid 6065] close(16) = -1 EBADF (Bad file descriptor) [pid 6065] close(17) = -1 EBADF (Bad file descriptor) [pid 6065] close(18) = -1 EBADF (Bad file descriptor) [pid 6065] close(19) = -1 EBADF (Bad file descriptor) [pid 6065] close(20) = -1 EBADF (Bad file descriptor) [pid 6065] close(21) = -1 EBADF (Bad file descriptor) [pid 6065] close(22) = -1 EBADF (Bad file descriptor) [pid 6065] close(23) = -1 EBADF (Bad file descriptor) [pid 6065] close(24) = -1 EBADF (Bad file descriptor) [pid 6065] close(25) = -1 EBADF (Bad file descriptor) [pid 6065] close(26) = -1 EBADF (Bad file descriptor) [pid 6065] close(27) = -1 EBADF (Bad file descriptor) [pid 6065] close(28) = -1 EBADF (Bad file descriptor) [pid 6065] close(29) = -1 EBADF (Bad file descriptor) [pid 6065] exit_group(0) = ? [pid 6065] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=22, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=27 /* 0.27 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./20", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./20", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./20/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./20/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./20/binderfs") = 0 [ 119.079483][ T5835] bcachefs (loop0): shutting down [ 119.084596][ T5835] bcachefs (loop0): going read-only [ 119.090044][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 119.097654][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 119.123144][ T1081] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 119.136803][ T1081] bcachefs (loop0): fatal error - emergency read only [ 119.144031][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 119.154241][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 119.162123][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 119.180304][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./20/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./20/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./20/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./20/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./20/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./20/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./20") = 0 [pid 5835] mkdir("./21", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6076 attached [pid 6076] set_robust_list(0x55557d035660, 24 [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 23 [pid 6076] <... set_robust_list resumed>) = 0 [pid 6076] chdir("./21") = 0 [pid 6076] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6076] setpgid(0, 0) = 0 [pid 6076] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6076] write(3, "1000", 4) = 4 [pid 6076] close(3) = 0 [pid 6076] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6076] write(1, "executing program\n", 18executing program ) = 18 [pid 6076] memfd_create("syzkaller", 0) = 3 [pid 6076] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6076] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6076] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6076] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6076] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6076] close(3) = 0 [pid 6076] close(4) = 0 [pid 6076] mkdir("./file1", 0777) = 0 [ 120.644326][ T6076] loop0: detected capacity change from 0 to 32768 [ 120.726647][ T6076] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 120.749411][ T6076] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 120.757929][ T6076] bcachefs (loop0): Version upgrade required: [ 120.757929][ T6076] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 120.757929][ T6076] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 120.757929][ T6076] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 120.830478][ T6076] bcachefs (loop0): dropping and reconstructing all alloc info [ 120.846992][ T6076] bcachefs (loop0): accounting_read... done [ 120.853147][ T6076] bcachefs (loop0): alloc_read... done [ 120.858745][ T6076] bcachefs (loop0): stripes_read... done [ 120.864688][ T6076] bcachefs (loop0): snapshots_read... done [pid 6076] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6076] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6076] chdir("./file1") = 0 [pid 6076] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6076] ioctl(4, LOOP_CLR_FD) = 0 [pid 6076] close(4) = 0 [pid 6076] rename("./file2", "./file1") = 0 [pid 6076] close(3) = 0 [pid 6076] close(4) = -1 EBADF (Bad file descriptor) [pid 6076] close(5) = -1 EBADF (Bad file descriptor) [ 120.870852][ T6076] bcachefs (loop0): check_allocations... done [ 120.891613][ T6076] bcachefs (loop0): going read-write [ 120.901278][ T6076] bcachefs (loop0): done starting filesystem [pid 6076] close(6) = -1 EBADF (Bad file descriptor) [pid 6076] close(7) = -1 EBADF (Bad file descriptor) [pid 6076] close(8) = -1 EBADF (Bad file descriptor) [pid 6076] close(9) = -1 EBADF (Bad file descriptor) [pid 6076] close(10) = -1 EBADF (Bad file descriptor) [pid 6076] close(11) = -1 EBADF (Bad file descriptor) [pid 6076] close(12) = -1 EBADF (Bad file descriptor) [pid 6076] close(13) = -1 EBADF (Bad file descriptor) [pid 6076] close(14) = -1 EBADF (Bad file descriptor) [pid 6076] close(15) = -1 EBADF (Bad file descriptor) [pid 6076] close(16) = -1 EBADF (Bad file descriptor) [pid 6076] close(17) = -1 EBADF (Bad file descriptor) [pid 6076] close(18) = -1 EBADF (Bad file descriptor) [pid 6076] close(19) = -1 EBADF (Bad file descriptor) [pid 6076] close(20) = -1 EBADF (Bad file descriptor) [pid 6076] close(21) = -1 EBADF (Bad file descriptor) [pid 6076] close(22) = -1 EBADF (Bad file descriptor) [pid 6076] close(23) = -1 EBADF (Bad file descriptor) [pid 6076] close(24) = -1 EBADF (Bad file descriptor) [pid 6076] close(25) = -1 EBADF (Bad file descriptor) [pid 6076] close(26) = -1 EBADF (Bad file descriptor) [pid 6076] close(27) = -1 EBADF (Bad file descriptor) [pid 6076] close(28) = -1 EBADF (Bad file descriptor) [pid 6076] close(29) = -1 EBADF (Bad file descriptor) [pid 6076] exit_group(0) = ? [pid 6076] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=23, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=30 /* 0.30 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./21", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./21", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./21/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./21/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./21/binderfs") = 0 [ 121.241032][ T5835] bcachefs (loop0): shutting down [ 121.246334][ T5835] bcachefs (loop0): going read-only [ 121.251626][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 121.259344][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 121.287909][ T1081] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 121.300876][ T1081] bcachefs (loop0): fatal error - emergency read only [ 121.308409][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 121.318248][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 121.326218][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 121.344047][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./21/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./21/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./21/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./21/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./21/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./21/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./21") = 0 [pid 5835] mkdir("./22", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6088 attached [pid 6088] set_robust_list(0x55557d035660, 24) = 0 [pid 6088] chdir("./22" [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 24 [pid 6088] <... chdir resumed>) = 0 [pid 6088] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6088] setpgid(0, 0) = 0 [pid 6088] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6088] write(3, "1000", 4) = 4 [pid 6088] close(3) = 0 [pid 6088] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6088] write(1, "executing program\n", 18executing program ) = 18 [pid 6088] memfd_create("syzkaller", 0) = 3 [pid 6088] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6088] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6088] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6088] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6088] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6088] close(3) = 0 [pid 6088] close(4) = 0 [pid 6088] mkdir("./file1", 0777) = 0 [ 122.881358][ T6088] loop0: detected capacity change from 0 to 32768 [ 122.974246][ T6088] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 122.996844][ T6088] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 123.004928][ T6088] bcachefs (loop0): Version upgrade required: [ 123.004928][ T6088] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 123.004928][ T6088] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 123.004928][ T6088] 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 [ 123.077348][ T6088] bcachefs (loop0): dropping and reconstructing all alloc info [ 123.093898][ T6088] bcachefs (loop0): accounting_read... done [ 123.100526][ T6088] bcachefs (loop0): alloc_read... done [ 123.106202][ T6088] bcachefs (loop0): stripes_read... done [ 123.111975][ T6088] bcachefs (loop0): snapshots_read... done [pid 6088] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6088] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6088] chdir("./file1") = 0 [pid 6088] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6088] ioctl(4, LOOP_CLR_FD) = 0 [pid 6088] close(4) = 0 [pid 6088] rename("./file2", "./file1") = 0 [pid 6088] close(3) = 0 [ 123.118133][ T6088] bcachefs (loop0): check_allocations... done [ 123.138816][ T6088] bcachefs (loop0): going read-write [ 123.148314][ T6088] bcachefs (loop0): done starting filesystem [pid 6088] close(4) = -1 EBADF (Bad file descriptor) [pid 6088] close(5) = -1 EBADF (Bad file descriptor) [pid 6088] close(6) = -1 EBADF (Bad file descriptor) [pid 6088] close(7) = -1 EBADF (Bad file descriptor) [pid 6088] close(8) = -1 EBADF (Bad file descriptor) [pid 6088] close(9) = -1 EBADF (Bad file descriptor) [pid 6088] close(10) = -1 EBADF (Bad file descriptor) [pid 6088] close(11) = -1 EBADF (Bad file descriptor) [pid 6088] close(12) = -1 EBADF (Bad file descriptor) [pid 6088] close(13) = -1 EBADF (Bad file descriptor) [pid 6088] close(14) = -1 EBADF (Bad file descriptor) [pid 6088] close(15) = -1 EBADF (Bad file descriptor) [pid 6088] close(16) = -1 EBADF (Bad file descriptor) [pid 6088] close(17) = -1 EBADF (Bad file descriptor) [pid 6088] close(18) = -1 EBADF (Bad file descriptor) [pid 6088] close(19) = -1 EBADF (Bad file descriptor) [pid 6088] close(20) = -1 EBADF (Bad file descriptor) [pid 6088] close(21) = -1 EBADF (Bad file descriptor) [pid 6088] close(22) = -1 EBADF (Bad file descriptor) [pid 6088] close(23) = -1 EBADF (Bad file descriptor) [pid 6088] close(24) = -1 EBADF (Bad file descriptor) [pid 6088] close(25) = -1 EBADF (Bad file descriptor) [pid 6088] close(26) = -1 EBADF (Bad file descriptor) [pid 6088] close(27) = -1 EBADF (Bad file descriptor) [pid 6088] close(28) = -1 EBADF (Bad file descriptor) [pid 6088] close(29) = -1 EBADF (Bad file descriptor) [pid 6088] exit_group(0) = ? [pid 6088] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=24, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=29 /* 0.29 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./22", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./22", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./22/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./22/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./22/binderfs") = 0 [ 123.493020][ T5835] bcachefs (loop0): shutting down [ 123.498287][ T5835] bcachefs (loop0): going read-only [ 123.503564][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 123.511294][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 123.537550][ T1081] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 123.550534][ T1081] bcachefs (loop0): fatal error - emergency read only [ 123.557939][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 123.567791][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 123.575803][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 123.594647][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./22/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./22/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./22/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./22/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./22/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./22/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./22") = 0 [pid 5835] mkdir("./23", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6099 attached [pid 6099] set_robust_list(0x55557d035660, 24) = 0 [pid 6099] chdir("./23" [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 25 [pid 6099] <... chdir resumed>) = 0 [pid 6099] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6099] setpgid(0, 0) = 0 [pid 6099] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6099] write(3, "1000", 4) = 4 [pid 6099] close(3) = 0 [pid 6099] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6099] write(1, "executing program\n", 18executing program ) = 18 [pid 6099] memfd_create("syzkaller", 0) = 3 [pid 6099] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6099] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6099] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6099] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6099] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6099] close(3) = 0 [pid 6099] close(4) = 0 [pid 6099] mkdir("./file1", 0777) = 0 [ 125.176526][ T6099] loop0: detected capacity change from 0 to 32768 [ 125.263538][ T6099] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 125.286780][ T6099] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 125.294981][ T6099] bcachefs (loop0): Version upgrade required: [ 125.294981][ T6099] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 125.294981][ T6099] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 125.294981][ T6099] 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 [ 125.367340][ T6099] bcachefs (loop0): dropping and reconstructing all alloc info [ 125.384190][ T6099] bcachefs (loop0): accounting_read... done [ 125.390722][ T6099] bcachefs (loop0): alloc_read... done [ 125.396404][ T6099] bcachefs (loop0): stripes_read... done [ 125.402162][ T6099] bcachefs (loop0): snapshots_read... done [pid 6099] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6099] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6099] chdir("./file1") = 0 [pid 6099] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6099] ioctl(4, LOOP_CLR_FD) = 0 [pid 6099] close(4) = 0 [pid 6099] rename("./file2", "./file1") = 0 [pid 6099] close(3) = 0 [pid 6099] close(4) = -1 EBADF (Bad file descriptor) [pid 6099] close(5) = -1 EBADF (Bad file descriptor) [pid 6099] close(6) = -1 EBADF (Bad file descriptor) [pid 6099] close(7) = -1 EBADF (Bad file descriptor) [pid 6099] close(8) = -1 EBADF (Bad file descriptor) [pid 6099] close(9) = -1 EBADF (Bad file descriptor) [pid 6099] close(10) = -1 EBADF (Bad file descriptor) [pid 6099] close(11) = -1 EBADF (Bad file descriptor) [pid 6099] close(12) = -1 EBADF (Bad file descriptor) [pid 6099] close(13) = -1 EBADF (Bad file descriptor) [pid 6099] close(14) = -1 EBADF (Bad file descriptor) [ 125.408419][ T6099] bcachefs (loop0): check_allocations... done [ 125.430369][ T6099] bcachefs (loop0): going read-write [ 125.439790][ T6099] bcachefs (loop0): done starting filesystem [pid 6099] close(15) = -1 EBADF (Bad file descriptor) [pid 6099] close(16) = -1 EBADF (Bad file descriptor) [pid 6099] close(17) = -1 EBADF (Bad file descriptor) [pid 6099] close(18) = -1 EBADF (Bad file descriptor) [pid 6099] close(19) = -1 EBADF (Bad file descriptor) [pid 6099] close(20) = -1 EBADF (Bad file descriptor) [pid 6099] close(21) = -1 EBADF (Bad file descriptor) [pid 6099] close(22) = -1 EBADF (Bad file descriptor) [pid 6099] close(23) = -1 EBADF (Bad file descriptor) [pid 6099] close(24) = -1 EBADF (Bad file descriptor) [pid 6099] close(25) = -1 EBADF (Bad file descriptor) [pid 6099] close(26) = -1 EBADF (Bad file descriptor) [pid 6099] close(27) = -1 EBADF (Bad file descriptor) [pid 6099] close(28) = -1 EBADF (Bad file descriptor) [pid 6099] close(29) = -1 EBADF (Bad file descriptor) [pid 6099] exit_group(0) = ? [pid 6099] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=25, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=27 /* 0.27 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./23", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./23", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./23/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./23/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./23/binderfs") = 0 [ 125.731354][ T5835] bcachefs (loop0): shutting down [ 125.736706][ T5835] bcachefs (loop0): going read-only [ 125.741947][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 125.749674][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 125.774973][ T3529] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 125.788495][ T3529] bcachefs (loop0): fatal error - emergency read only [ 125.796025][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 125.805978][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 125.813696][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 125.832368][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./23/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./23/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./23/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./23/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./23/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./23/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./23") = 0 [pid 5835] mkdir("./24", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6110 attached [pid 6110] set_robust_list(0x55557d035660, 24 [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 26 [pid 6110] <... set_robust_list resumed>) = 0 [pid 6110] chdir("./24") = 0 [pid 6110] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6110] setpgid(0, 0) = 0 [pid 6110] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6110] write(3, "1000", 4) = 4 [pid 6110] close(3) = 0 [pid 6110] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6110] write(1, "executing program\n", 18executing program ) = 18 [pid 6110] memfd_create("syzkaller", 0) = 3 [pid 6110] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6110] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6110] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6110] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6110] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6110] close(3) = 0 [pid 6110] close(4) = 0 [pid 6110] mkdir("./file1", 0777) = 0 [ 127.333861][ T6110] loop0: detected capacity change from 0 to 32768 [ 127.425483][ T6110] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 127.448752][ T6110] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 127.457027][ T6110] bcachefs (loop0): Version upgrade required: [ 127.457027][ T6110] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 127.457027][ T6110] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 127.457027][ T6110] 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 [ 127.529720][ T6110] bcachefs (loop0): dropping and reconstructing all alloc info [ 127.546360][ T6110] bcachefs (loop0): accounting_read... done [ 127.552517][ T6110] bcachefs (loop0): alloc_read... done [ 127.558125][ T6110] bcachefs (loop0): stripes_read... done [ 127.563867][ T6110] bcachefs (loop0): snapshots_read... done [pid 6110] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6110] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6110] chdir("./file1") = 0 [pid 6110] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6110] ioctl(4, LOOP_CLR_FD) = 0 [pid 6110] close(4) = 0 [ 127.570248][ T6110] bcachefs (loop0): check_allocations... done [ 127.591165][ T6110] bcachefs (loop0): going read-write [ 127.600383][ T6110] bcachefs (loop0): done starting filesystem [pid 6110] rename("./file2", "./file1") = 0 [pid 6110] close(3) = 0 [pid 6110] close(4) = -1 EBADF (Bad file descriptor) [pid 6110] close(5) = -1 EBADF (Bad file descriptor) [pid 6110] close(6) = -1 EBADF (Bad file descriptor) [pid 6110] close(7) = -1 EBADF (Bad file descriptor) [pid 6110] close(8) = -1 EBADF (Bad file descriptor) [pid 6110] close(9) = -1 EBADF (Bad file descriptor) [pid 6110] close(10) = -1 EBADF (Bad file descriptor) [pid 6110] close(11) = -1 EBADF (Bad file descriptor) [pid 6110] close(12) = -1 EBADF (Bad file descriptor) [pid 6110] close(13) = -1 EBADF (Bad file descriptor) [pid 6110] close(14) = -1 EBADF (Bad file descriptor) [pid 6110] close(15) = -1 EBADF (Bad file descriptor) [pid 6110] close(16) = -1 EBADF (Bad file descriptor) [pid 6110] close(17) = -1 EBADF (Bad file descriptor) [pid 6110] close(18) = -1 EBADF (Bad file descriptor) [pid 6110] close(19) = -1 EBADF (Bad file descriptor) [pid 6110] close(20) = -1 EBADF (Bad file descriptor) [pid 6110] close(21) = -1 EBADF (Bad file descriptor) [pid 6110] close(22) = -1 EBADF (Bad file descriptor) [pid 6110] close(23) = -1 EBADF (Bad file descriptor) [pid 6110] close(24) = -1 EBADF (Bad file descriptor) [pid 6110] close(25) = -1 EBADF (Bad file descriptor) [pid 6110] close(26) = -1 EBADF (Bad file descriptor) [pid 6110] close(27) = -1 EBADF (Bad file descriptor) [pid 6110] close(28) = -1 EBADF (Bad file descriptor) [pid 6110] close(29) = -1 EBADF (Bad file descriptor) [pid 6110] exit_group(0) = ? [pid 6110] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=26, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=31 /* 0.31 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./24", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./24", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./24/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./24/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./24/binderfs") = 0 [ 128.058096][ T5835] bcachefs (loop0): shutting down [ 128.063205][ T5835] bcachefs (loop0): going read-only [ 128.068603][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 128.076317][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 128.100967][ T1081] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 128.114497][ T1081] bcachefs (loop0): fatal error - emergency read only [ 128.122617][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 128.132501][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 128.140472][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 128.160309][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./24/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./24/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./24/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./24/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./24/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./24/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./24") = 0 [pid 5835] mkdir("./25", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6121 attached [pid 6121] set_robust_list(0x55557d035660, 24) = 0 [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 27 [pid 6121] chdir("./25") = 0 [pid 6121] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6121] setpgid(0, 0) = 0 [pid 6121] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6121] write(3, "1000", 4) = 4 [pid 6121] close(3) = 0 [pid 6121] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6121] write(1, "executing program\n", 18executing program ) = 18 [pid 6121] memfd_create("syzkaller", 0) = 3 [pid 6121] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6121] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6121] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6121] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6121] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6121] close(3) = 0 [pid 6121] close(4) = 0 [pid 6121] mkdir("./file1", 0777) = 0 [ 129.609791][ T6121] loop0: detected capacity change from 0 to 32768 [ 129.724720][ T6121] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 129.747508][ T6121] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 129.756027][ T6121] bcachefs (loop0): Version upgrade required: [ 129.756027][ T6121] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 129.756027][ T6121] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 129.756027][ T6121] 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 [ 129.829567][ T6121] bcachefs (loop0): dropping and reconstructing all alloc info [ 129.846858][ T6121] bcachefs (loop0): accounting_read... done [ 129.853068][ T6121] bcachefs (loop0): alloc_read... done [ 129.858758][ T6121] bcachefs (loop0): stripes_read... done [ 129.864523][ T6121] bcachefs (loop0): snapshots_read... done [pid 6121] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6121] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6121] chdir("./file1") = 0 [pid 6121] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6121] ioctl(4, LOOP_CLR_FD) = 0 [pid 6121] close(4) = 0 [ 129.870741][ T6121] bcachefs (loop0): check_allocations... done [ 129.891879][ T6121] bcachefs (loop0): going read-write [ 129.901273][ T6121] bcachefs (loop0): done starting filesystem [pid 6121] rename("./file2", "./file1") = 0 [pid 6121] close(3) = 0 [pid 6121] close(4) = -1 EBADF (Bad file descriptor) [pid 6121] close(5) = -1 EBADF (Bad file descriptor) [pid 6121] close(6) = -1 EBADF (Bad file descriptor) [pid 6121] close(7) = -1 EBADF (Bad file descriptor) [pid 6121] close(8) = -1 EBADF (Bad file descriptor) [pid 6121] close(9) = -1 EBADF (Bad file descriptor) [pid 6121] close(10) = -1 EBADF (Bad file descriptor) [pid 6121] close(11) = -1 EBADF (Bad file descriptor) [pid 6121] close(12) = -1 EBADF (Bad file descriptor) [pid 6121] close(13) = -1 EBADF (Bad file descriptor) [pid 6121] close(14) = -1 EBADF (Bad file descriptor) [pid 6121] close(15) = -1 EBADF (Bad file descriptor) [pid 6121] close(16) = -1 EBADF (Bad file descriptor) [pid 6121] close(17) = -1 EBADF (Bad file descriptor) [pid 6121] close(18) = -1 EBADF (Bad file descriptor) [pid 6121] close(19) = -1 EBADF (Bad file descriptor) [pid 6121] close(20) = -1 EBADF (Bad file descriptor) [pid 6121] close(21) = -1 EBADF (Bad file descriptor) [pid 6121] close(22) = -1 EBADF (Bad file descriptor) [pid 6121] close(23) = -1 EBADF (Bad file descriptor) [pid 6121] close(24) = -1 EBADF (Bad file descriptor) [pid 6121] close(25) = -1 EBADF (Bad file descriptor) [pid 6121] close(26) = -1 EBADF (Bad file descriptor) [pid 6121] close(27) = -1 EBADF (Bad file descriptor) [pid 6121] close(28) = -1 EBADF (Bad file descriptor) [pid 6121] close(29) = -1 EBADF (Bad file descriptor) [pid 6121] exit_group(0) = ? [pid 6121] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=27, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=29 /* 0.29 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./25", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./25", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./25/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./25/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./25/binderfs") = 0 [ 129.994823][ T5835] bcachefs (loop0): shutting down [ 130.000757][ T5835] bcachefs (loop0): going read-only [ 130.006123][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 130.013588][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 130.041636][ T3529] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 130.054993][ T3529] bcachefs (loop0): fatal error - emergency read only [ 130.062754][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 130.072587][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 130.080578][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 130.098788][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./25/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./25/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./25/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./25/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./25/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./25/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./25") = 0 [pid 5835] mkdir("./26", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6132 attached [pid 6132] set_robust_list(0x55557d035660, 24) = 0 [pid 6132] chdir("./26" [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 28 [pid 6132] <... chdir resumed>) = 0 [pid 6132] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6132] setpgid(0, 0) = 0 [pid 6132] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6132] write(3, "1000", 4) = 4 [pid 6132] close(3) = 0 [pid 6132] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6132] write(1, "executing program\n", 18executing program ) = 18 [pid 6132] memfd_create("syzkaller", 0) = 3 [pid 6132] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6132] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6132] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6132] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6132] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6132] close(3) = 0 [pid 6132] close(4) = 0 [pid 6132] mkdir("./file1", 0777) = 0 [ 131.570346][ T6132] loop0: detected capacity change from 0 to 32768 [ 131.656500][ T6132] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 131.679232][ T6132] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 131.687633][ T6132] bcachefs (loop0): Version upgrade required: [ 131.687633][ T6132] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 131.687633][ T6132] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 131.687633][ T6132] 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 [ 131.760081][ T6132] bcachefs (loop0): dropping and reconstructing all alloc info [ 131.776901][ T6132] bcachefs (loop0): accounting_read... done [ 131.783123][ T6132] bcachefs (loop0): alloc_read... done [ 131.788847][ T6132] bcachefs (loop0): stripes_read... done [ 131.794698][ T6132] bcachefs (loop0): snapshots_read... done [pid 6132] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6132] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6132] chdir("./file1") = 0 [pid 6132] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6132] ioctl(4, LOOP_CLR_FD) = 0 [pid 6132] close(4) = 0 [pid 6132] rename("./file2", "./file1") = 0 [ 131.800981][ T6132] bcachefs (loop0): check_allocations... done [ 131.821276][ T6132] bcachefs (loop0): going read-write [ 131.830874][ T6132] bcachefs (loop0): done starting filesystem [pid 6132] close(3) = 0 [pid 6132] close(4) = -1 EBADF (Bad file descriptor) [pid 6132] close(5) = -1 EBADF (Bad file descriptor) [pid 6132] close(6) = -1 EBADF (Bad file descriptor) [pid 6132] close(7) = -1 EBADF (Bad file descriptor) [pid 6132] close(8) = -1 EBADF (Bad file descriptor) [pid 6132] close(9) = -1 EBADF (Bad file descriptor) [pid 6132] close(10) = -1 EBADF (Bad file descriptor) [pid 6132] close(11) = -1 EBADF (Bad file descriptor) [pid 6132] close(12) = -1 EBADF (Bad file descriptor) [pid 6132] close(13) = -1 EBADF (Bad file descriptor) [pid 6132] close(14) = -1 EBADF (Bad file descriptor) [pid 6132] close(15) = -1 EBADF (Bad file descriptor) [pid 6132] close(16) = -1 EBADF (Bad file descriptor) [pid 6132] close(17) = -1 EBADF (Bad file descriptor) [pid 6132] close(18) = -1 EBADF (Bad file descriptor) [pid 6132] close(19) = -1 EBADF (Bad file descriptor) [pid 6132] close(20) = -1 EBADF (Bad file descriptor) [pid 6132] close(21) = -1 EBADF (Bad file descriptor) [pid 6132] close(22) = -1 EBADF (Bad file descriptor) [pid 6132] close(23) = -1 EBADF (Bad file descriptor) [pid 6132] close(24) = -1 EBADF (Bad file descriptor) [pid 6132] close(25) = -1 EBADF (Bad file descriptor) [pid 6132] close(26) = -1 EBADF (Bad file descriptor) [pid 6132] close(27) = -1 EBADF (Bad file descriptor) [pid 6132] close(28) = -1 EBADF (Bad file descriptor) [pid 6132] close(29) = -1 EBADF (Bad file descriptor) [pid 6132] exit_group(0) = ? [pid 6132] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=28, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=30 /* 0.30 s */} --- [pid 5835] umount2("./26", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./26", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./26/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./26/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./26/binderfs") = 0 [ 132.171162][ T5835] bcachefs (loop0): shutting down [ 132.176408][ T5835] bcachefs (loop0): going read-only [ 132.181642][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 132.189408][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 132.216284][ T1081] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 132.229425][ T1081] bcachefs (loop0): fatal error - emergency read only [ 132.236979][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 132.246815][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 132.254507][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 132.273153][ T5835] bcachefs (loop0): shutdown complete [ 132.807973][ T1300] ieee802154 phy0 wpan0: encryption failed: -22 [ 132.814622][ T1300] ieee802154 phy1 wpan1: encryption failed: -22 [pid 5835] umount2("./26/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./26/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./26/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./26/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./26/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./26/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./26") = 0 [pid 5835] mkdir("./27", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6143 attached [pid 6143] set_robust_list(0x55557d035660, 24) = 0 [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 29 [pid 6143] chdir("./27") = 0 [pid 6143] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6143] setpgid(0, 0) = 0 [pid 6143] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6143] write(3, "1000", 4) = 4 [pid 6143] close(3) = 0 [pid 6143] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6143] write(1, "executing program\n", 18) = 18 [pid 6143] memfd_create("syzkaller", 0) = 3 [pid 6143] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6143] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6143] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6143] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6143] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6143] close(3) = 0 [pid 6143] close(4) = 0 [pid 6143] mkdir("./file1", 0777) = 0 [ 133.699314][ T6143] loop0: detected capacity change from 0 to 32768 [ 133.791079][ T6143] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 133.813731][ T6143] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 133.822367][ T6143] bcachefs (loop0): Version upgrade required: [ 133.822367][ T6143] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 133.822367][ T6143] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 133.822367][ T6143] 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 [ 133.894685][ T6143] bcachefs (loop0): dropping and reconstructing all alloc info [ 133.911992][ T6143] bcachefs (loop0): accounting_read... done [ 133.918273][ T6143] bcachefs (loop0): alloc_read... done [ 133.923874][ T6143] bcachefs (loop0): stripes_read... done [ 133.929687][ T6143] bcachefs (loop0): snapshots_read... done [pid 6143] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6143] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6143] chdir("./file1") = 0 [pid 6143] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6143] ioctl(4, LOOP_CLR_FD) = 0 [pid 6143] close(4) = 0 [pid 6143] rename("./file2", "./file1") = 0 [ 133.935709][ T6143] bcachefs (loop0): check_allocations... done [ 133.956571][ T6143] bcachefs (loop0): going read-write [ 133.965805][ T6143] bcachefs (loop0): done starting filesystem [pid 6143] close(3) = 0 [pid 6143] close(4) = -1 EBADF (Bad file descriptor) [pid 6143] close(5) = -1 EBADF (Bad file descriptor) [pid 6143] close(6) = -1 EBADF (Bad file descriptor) [pid 6143] close(7) = -1 EBADF (Bad file descriptor) [pid 6143] close(8) = -1 EBADF (Bad file descriptor) [pid 6143] close(9) = -1 EBADF (Bad file descriptor) [pid 6143] close(10) = -1 EBADF (Bad file descriptor) [pid 6143] close(11) = -1 EBADF (Bad file descriptor) [pid 6143] close(12) = -1 EBADF (Bad file descriptor) [pid 6143] close(13) = -1 EBADF (Bad file descriptor) [pid 6143] close(14) = -1 EBADF (Bad file descriptor) [pid 6143] close(15) = -1 EBADF (Bad file descriptor) [pid 6143] close(16) = -1 EBADF (Bad file descriptor) [pid 6143] close(17) = -1 EBADF (Bad file descriptor) [pid 6143] close(18) = -1 EBADF (Bad file descriptor) [pid 6143] close(19) = -1 EBADF (Bad file descriptor) [pid 6143] close(20) = -1 EBADF (Bad file descriptor) [pid 6143] close(21) = -1 EBADF (Bad file descriptor) [pid 6143] close(22) = -1 EBADF (Bad file descriptor) [pid 6143] close(23) = -1 EBADF (Bad file descriptor) [pid 6143] close(24) = -1 EBADF (Bad file descriptor) [pid 6143] close(25) = -1 EBADF (Bad file descriptor) [pid 6143] close(26) = -1 EBADF (Bad file descriptor) [pid 6143] close(27) = -1 EBADF (Bad file descriptor) [pid 6143] close(28) = -1 EBADF (Bad file descriptor) [pid 6143] close(29) = -1 EBADF (Bad file descriptor) [pid 6143] exit_group(0) = ? [pid 6143] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=29, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=30 /* 0.30 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./27", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./27", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./27/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./27/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./27/binderfs") = 0 [ 134.353658][ T5835] bcachefs (loop0): shutting down [ 134.358952][ T5835] bcachefs (loop0): going read-only [ 134.364197][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 134.372305][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 134.397276][ T62] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 134.410616][ T62] bcachefs (loop0): fatal error - emergency read only [ 134.418707][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 134.428618][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 134.436502][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 134.454398][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./27/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./27/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./27/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./27/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./27/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./27/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./27") = 0 [pid 5835] mkdir("./28", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6154 attached [pid 6154] set_robust_list(0x55557d035660, 24) = 0 [pid 6154] chdir("./28" [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 30 [pid 6154] <... chdir resumed>) = 0 [pid 6154] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6154] setpgid(0, 0) = 0 [pid 6154] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6154] write(3, "1000", 4) = 4 [pid 6154] close(3) = 0 [pid 6154] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6154] write(1, "executing program\n", 18) = 18 [pid 6154] memfd_create("syzkaller", 0) = 3 [pid 6154] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6154] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6154] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6154] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6154] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6154] close(3) = 0 [pid 6154] close(4) = 0 [pid 6154] mkdir("./file1", 0777) = 0 [ 135.900088][ T6154] loop0: detected capacity change from 0 to 32768 [ 135.989724][ T6154] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 136.012677][ T6154] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 136.020975][ T6154] bcachefs (loop0): Version upgrade required: [ 136.020975][ T6154] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 136.020975][ T6154] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 136.020975][ T6154] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 136.093497][ T6154] bcachefs (loop0): dropping and reconstructing all alloc info [ 136.110278][ T6154] bcachefs (loop0): accounting_read... done [ 136.116858][ T6154] bcachefs (loop0): alloc_read... done [ 136.122459][ T6154] bcachefs (loop0): stripes_read... done [ 136.128267][ T6154] bcachefs (loop0): snapshots_read... done [pid 6154] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6154] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6154] chdir("./file1") = 0 [pid 6154] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 136.134363][ T6154] bcachefs (loop0): check_allocations... done [ 136.154892][ T6154] bcachefs (loop0): going read-write [ 136.164461][ T6154] bcachefs (loop0): done starting filesystem [pid 6154] ioctl(4, LOOP_CLR_FD) = 0 [pid 6154] close(4) = 0 [pid 6154] rename("./file2", "./file1") = 0 [pid 6154] close(3) = 0 [pid 6154] close(4) = -1 EBADF (Bad file descriptor) [pid 6154] close(5) = -1 EBADF (Bad file descriptor) [pid 6154] close(6) = -1 EBADF (Bad file descriptor) [pid 6154] close(7) = -1 EBADF (Bad file descriptor) [pid 6154] close(8) = -1 EBADF (Bad file descriptor) [pid 6154] close(9) = -1 EBADF (Bad file descriptor) [pid 6154] close(10) = -1 EBADF (Bad file descriptor) [pid 6154] close(11) = -1 EBADF (Bad file descriptor) [pid 6154] close(12) = -1 EBADF (Bad file descriptor) [pid 6154] close(13) = -1 EBADF (Bad file descriptor) [pid 6154] close(14) = -1 EBADF (Bad file descriptor) [pid 6154] close(15) = -1 EBADF (Bad file descriptor) [pid 6154] close(16) = -1 EBADF (Bad file descriptor) [pid 6154] close(17) = -1 EBADF (Bad file descriptor) [pid 6154] close(18) = -1 EBADF (Bad file descriptor) [pid 6154] close(19) = -1 EBADF (Bad file descriptor) [pid 6154] close(20) = -1 EBADF (Bad file descriptor) [pid 6154] close(21) = -1 EBADF (Bad file descriptor) [pid 6154] close(22) = -1 EBADF (Bad file descriptor) [pid 6154] close(23) = -1 EBADF (Bad file descriptor) [pid 6154] close(24) = -1 EBADF (Bad file descriptor) [pid 6154] close(25) = -1 EBADF (Bad file descriptor) [pid 6154] close(26) = -1 EBADF (Bad file descriptor) [pid 6154] close(27) = -1 EBADF (Bad file descriptor) [pid 6154] close(28) = -1 EBADF (Bad file descriptor) [pid 6154] close(29) = -1 EBADF (Bad file descriptor) [pid 6154] exit_group(0) = ? [pid 6154] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=30, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=30 /* 0.30 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./28", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./28", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [ 136.400288][ T6154] syz-executor283 (6154) used greatest stack depth: 17496 bytes left [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./28/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./28/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./28/binderfs") = 0 [ 136.550021][ T5835] bcachefs (loop0): shutting down [ 136.555236][ T5835] bcachefs (loop0): going read-only [ 136.560454][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 136.568075][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 136.593935][ T62] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 136.606921][ T62] bcachefs (loop0): fatal error - emergency read only [ 136.614141][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 136.624276][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 136.632572][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 136.650597][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./28/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./28/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./28/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./28/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./28/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./28/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./28") = 0 [pid 5835] mkdir("./29", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6165 attached [pid 6165] set_robust_list(0x55557d035660, 24) = 0 [pid 6165] chdir("./29" [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 31 [pid 6165] <... chdir resumed>) = 0 [pid 6165] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6165] setpgid(0, 0) = 0 [pid 6165] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6165] write(3, "1000", 4) = 4 [pid 6165] close(3) = 0 [pid 6165] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6165] write(1, "executing program\n", 18executing program ) = 18 [pid 6165] memfd_create("syzkaller", 0) = 3 [pid 6165] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6165] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6165] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6165] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6165] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6165] close(3) = 0 [pid 6165] close(4) = 0 [pid 6165] mkdir("./file1", 0777) = 0 [ 138.189183][ T6165] loop0: detected capacity change from 0 to 32768 [ 138.280226][ T6165] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 138.302821][ T6165] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 138.311122][ T6165] bcachefs (loop0): Version upgrade required: [ 138.311122][ T6165] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 138.311122][ T6165] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 138.311122][ T6165] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 138.383525][ T6165] bcachefs (loop0): dropping and reconstructing all alloc info [ 138.400351][ T6165] bcachefs (loop0): accounting_read... done [ 138.406677][ T6165] bcachefs (loop0): alloc_read... done [ 138.412244][ T6165] bcachefs (loop0): stripes_read... done [ 138.418092][ T6165] bcachefs (loop0): snapshots_read... done [pid 6165] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6165] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6165] chdir("./file1") = 0 [ 138.424219][ T6165] bcachefs (loop0): check_allocations... done [ 138.445470][ T6165] bcachefs (loop0): going read-write [ 138.454624][ T6165] bcachefs (loop0): done starting filesystem [pid 6165] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6165] ioctl(4, LOOP_CLR_FD) = 0 [pid 6165] close(4) = 0 [pid 6165] rename("./file2", "./file1") = 0 [pid 6165] close(3) = 0 [pid 6165] close(4) = -1 EBADF (Bad file descriptor) [pid 6165] close(5) = -1 EBADF (Bad file descriptor) [pid 6165] close(6) = -1 EBADF (Bad file descriptor) [pid 6165] close(7) = -1 EBADF (Bad file descriptor) [pid 6165] close(8) = -1 EBADF (Bad file descriptor) [pid 6165] close(9) = -1 EBADF (Bad file descriptor) [pid 6165] close(10) = -1 EBADF (Bad file descriptor) [pid 6165] close(11) = -1 EBADF (Bad file descriptor) [pid 6165] close(12) = -1 EBADF (Bad file descriptor) [pid 6165] close(13) = -1 EBADF (Bad file descriptor) [pid 6165] close(14) = -1 EBADF (Bad file descriptor) [pid 6165] close(15) = -1 EBADF (Bad file descriptor) [pid 6165] close(16) = -1 EBADF (Bad file descriptor) [pid 6165] close(17) = -1 EBADF (Bad file descriptor) [pid 6165] close(18) = -1 EBADF (Bad file descriptor) [pid 6165] close(19) = -1 EBADF (Bad file descriptor) [pid 6165] close(20) = -1 EBADF (Bad file descriptor) [pid 6165] close(21) = -1 EBADF (Bad file descriptor) [pid 6165] close(22) = -1 EBADF (Bad file descriptor) [pid 6165] close(23) = -1 EBADF (Bad file descriptor) [pid 6165] close(24) = -1 EBADF (Bad file descriptor) [pid 6165] close(25) = -1 EBADF (Bad file descriptor) [pid 6165] close(26) = -1 EBADF (Bad file descriptor) [pid 6165] close(27) = -1 EBADF (Bad file descriptor) [pid 6165] close(28) = -1 EBADF (Bad file descriptor) [pid 6165] close(29) = -1 EBADF (Bad file descriptor) [pid 6165] exit_group(0) = ? [pid 6165] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=31, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=32 /* 0.32 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./29", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./29", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./29/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./29/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./29/binderfs") = 0 [ 138.901826][ T5835] bcachefs (loop0): shutting down [ 138.907164][ T5835] bcachefs (loop0): going read-only [ 138.912396][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 138.921169][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 138.947238][ T62] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 138.960548][ T62] bcachefs (loop0): fatal error - emergency read only [ 138.968208][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 138.978139][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 138.986137][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 139.004000][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./29/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./29/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./29/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./29/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./29/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./29/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./29") = 0 [pid 5835] mkdir("./30", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6176 attached [pid 6176] set_robust_list(0x55557d035660, 24) = 0 [pid 6176] chdir("./30" [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 32 [pid 6176] <... chdir resumed>) = 0 [pid 6176] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6176] setpgid(0, 0) = 0 [pid 6176] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6176] write(3, "1000", 4) = 4 [pid 6176] close(3) = 0 [pid 6176] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6176] write(1, "executing program\n", 18) = 18 [pid 6176] memfd_create("syzkaller", 0) = 3 [pid 6176] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6176] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6176] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6176] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6176] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6176] close(3) = 0 [pid 6176] close(4) = 0 [pid 6176] mkdir("./file1", 0777) = 0 [ 140.505900][ T6176] loop0: detected capacity change from 0 to 32768 [ 140.588173][ T6176] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 140.611345][ T6176] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 140.619557][ T6176] bcachefs (loop0): Version upgrade required: [ 140.619557][ T6176] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 140.619557][ T6176] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 140.619557][ T6176] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 140.691974][ T6176] bcachefs (loop0): dropping and reconstructing all alloc info [ 140.709135][ T6176] bcachefs (loop0): accounting_read... done [ 140.715385][ T6176] bcachefs (loop0): alloc_read... done [ 140.720989][ T6176] bcachefs (loop0): stripes_read... done [ 140.726937][ T6176] bcachefs (loop0): snapshots_read... done [pid 6176] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6176] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6176] chdir("./file1") = 0 [pid 6176] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6176] ioctl(4, LOOP_CLR_FD) = 0 [pid 6176] close(4) = 0 [pid 6176] rename("./file2", "./file1") = 0 [ 140.732951][ T6176] bcachefs (loop0): check_allocations... done [ 140.753552][ T6176] bcachefs (loop0): going read-write [ 140.762720][ T6176] bcachefs (loop0): done starting filesystem [pid 6176] close(3) = 0 [pid 6176] close(4) = -1 EBADF (Bad file descriptor) [pid 6176] close(5) = -1 EBADF (Bad file descriptor) [pid 6176] close(6) = -1 EBADF (Bad file descriptor) [pid 6176] close(7) = -1 EBADF (Bad file descriptor) [pid 6176] close(8) = -1 EBADF (Bad file descriptor) [pid 6176] close(9) = -1 EBADF (Bad file descriptor) [pid 6176] close(10) = -1 EBADF (Bad file descriptor) [pid 6176] close(11) = -1 EBADF (Bad file descriptor) [pid 6176] close(12) = -1 EBADF (Bad file descriptor) [pid 6176] close(13) = -1 EBADF (Bad file descriptor) [pid 6176] close(14) = -1 EBADF (Bad file descriptor) [pid 6176] close(15) = -1 EBADF (Bad file descriptor) [pid 6176] close(16) = -1 EBADF (Bad file descriptor) [pid 6176] close(17) = -1 EBADF (Bad file descriptor) [pid 6176] close(18) = -1 EBADF (Bad file descriptor) [pid 6176] close(19) = -1 EBADF (Bad file descriptor) [pid 6176] close(20) = -1 EBADF (Bad file descriptor) [pid 6176] close(21) = -1 EBADF (Bad file descriptor) [pid 6176] close(22) = -1 EBADF (Bad file descriptor) [pid 6176] close(23) = -1 EBADF (Bad file descriptor) [pid 6176] close(24) = -1 EBADF (Bad file descriptor) [pid 6176] close(25) = -1 EBADF (Bad file descriptor) [pid 6176] close(26) = -1 EBADF (Bad file descriptor) [pid 6176] close(27) = -1 EBADF (Bad file descriptor) [pid 6176] close(28) = -1 EBADF (Bad file descriptor) [pid 6176] close(29) = -1 EBADF (Bad file descriptor) [pid 6176] exit_group(0) = ? [pid 6176] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=32, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=31 /* 0.31 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./30", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./30", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./30/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./30/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./30/binderfs") = 0 [ 141.139613][ T5835] bcachefs (loop0): shutting down [ 141.144694][ T5835] bcachefs (loop0): going read-only [ 141.150037][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 141.157645][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 141.183796][ T1081] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 141.197873][ T1081] bcachefs (loop0): fatal error - emergency read only [ 141.206322][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 141.216552][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 141.224202][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 141.242053][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./30/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./30/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./30/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./30/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./30/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./30/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./30") = 0 [pid 5835] mkdir("./31", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6187 attached , child_tidptr=0x55557d035650) = 33 [pid 6187] set_robust_list(0x55557d035660, 24) = 0 [pid 6187] chdir("./31") = 0 [pid 6187] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6187] setpgid(0, 0) = 0 [pid 6187] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6187] write(3, "1000", 4) = 4 [pid 6187] close(3) = 0 [pid 6187] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6187] write(1, "executing program\n", 18) = 18 [pid 6187] memfd_create("syzkaller", 0) = 3 [pid 6187] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6187] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6187] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6187] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6187] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6187] close(3) = 0 [pid 6187] close(4) = 0 [pid 6187] mkdir("./file1", 0777) = 0 [ 142.661999][ T6187] loop0: detected capacity change from 0 to 32768 [ 142.741250][ T6187] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 142.764056][ T6187] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 142.772274][ T6187] bcachefs (loop0): Version upgrade required: [ 142.772274][ T6187] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 142.772274][ T6187] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 142.772274][ T6187] 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 [ 142.844908][ T6187] bcachefs (loop0): dropping and reconstructing all alloc info [ 142.862062][ T6187] bcachefs (loop0): accounting_read... done [ 142.868415][ T6187] bcachefs (loop0): alloc_read... done [ 142.874090][ T6187] bcachefs (loop0): stripes_read... done [ 142.879913][ T6187] bcachefs (loop0): snapshots_read... done [pid 6187] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6187] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6187] chdir("./file1") = 0 [ 142.886274][ T6187] bcachefs (loop0): check_allocations... done [ 142.906809][ T6187] bcachefs (loop0): going read-write [ 142.916051][ T6187] bcachefs (loop0): done starting filesystem [pid 6187] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6187] ioctl(4, LOOP_CLR_FD) = 0 [pid 6187] close(4) = 0 [pid 6187] rename("./file2", "./file1") = 0 [pid 6187] close(3) = 0 [pid 6187] close(4) = -1 EBADF (Bad file descriptor) [pid 6187] close(5) = -1 EBADF (Bad file descriptor) [pid 6187] close(6) = -1 EBADF (Bad file descriptor) [pid 6187] close(7) = -1 EBADF (Bad file descriptor) [pid 6187] close(8) = -1 EBADF (Bad file descriptor) [pid 6187] close(9) = -1 EBADF (Bad file descriptor) [pid 6187] close(10) = -1 EBADF (Bad file descriptor) [pid 6187] close(11) = -1 EBADF (Bad file descriptor) [pid 6187] close(12) = -1 EBADF (Bad file descriptor) [pid 6187] close(13) = -1 EBADF (Bad file descriptor) [pid 6187] close(14) = -1 EBADF (Bad file descriptor) [pid 6187] close(15) = -1 EBADF (Bad file descriptor) [pid 6187] close(16) = -1 EBADF (Bad file descriptor) [pid 6187] close(17) = -1 EBADF (Bad file descriptor) [pid 6187] close(18) = -1 EBADF (Bad file descriptor) [pid 6187] close(19) = -1 EBADF (Bad file descriptor) [pid 6187] close(20) = -1 EBADF (Bad file descriptor) [pid 6187] close(21) = -1 EBADF (Bad file descriptor) [pid 6187] close(22) = -1 EBADF (Bad file descriptor) [pid 6187] close(23) = -1 EBADF (Bad file descriptor) [pid 6187] close(24) = -1 EBADF (Bad file descriptor) [pid 6187] close(25) = -1 EBADF (Bad file descriptor) [pid 6187] close(26) = -1 EBADF (Bad file descriptor) [pid 6187] close(27) = -1 EBADF (Bad file descriptor) [pid 6187] close(28) = -1 EBADF (Bad file descriptor) [pid 6187] close(29) = -1 EBADF (Bad file descriptor) [pid 6187] exit_group(0) = ? [pid 6187] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=33, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=29 /* 0.29 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./31", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./31", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./31/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./31/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./31/binderfs") = 0 [ 143.028656][ T5835] bcachefs (loop0): shutting down [ 143.033769][ T5835] bcachefs (loop0): going read-only [ 143.039559][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 143.048648][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 143.086016][ T3529] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 143.100162][ T3529] bcachefs (loop0): fatal error - emergency read only [ 143.108090][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 143.118643][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 143.127702][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 143.149629][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./31/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./31/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./31/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./31/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./31/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./31/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./31") = 0 [pid 5835] mkdir("./32", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6198 attached , child_tidptr=0x55557d035650) = 34 [pid 6198] set_robust_list(0x55557d035660, 24) = 0 [pid 6198] chdir("./32") = 0 [pid 6198] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6198] setpgid(0, 0) = 0 [pid 6198] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6198] write(3, "1000", 4) = 4 [pid 6198] close(3) = 0 [pid 6198] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6198] write(1, "executing program\n", 18) = 18 [pid 6198] memfd_create("syzkaller", 0) = 3 [pid 6198] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6198] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6198] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6198] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6198] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6198] close(3) = 0 [pid 6198] close(4) = 0 [pid 6198] mkdir("./file1", 0777) = 0 [ 144.727620][ T6198] loop0: detected capacity change from 0 to 32768 [ 144.802424][ T6198] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 144.825298][ T6198] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 144.833382][ T6198] bcachefs (loop0): Version upgrade required: [ 144.833382][ T6198] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 144.833382][ T6198] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 144.833382][ T6198] 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 [ 144.906371][ T6198] bcachefs (loop0): dropping and reconstructing all alloc info [ 144.922934][ T6198] bcachefs (loop0): accounting_read... done [ 144.929257][ T6198] bcachefs (loop0): alloc_read... done [ 144.935122][ T6198] bcachefs (loop0): stripes_read... done [ 144.940905][ T6198] bcachefs (loop0): snapshots_read... done [pid 6198] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6198] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6198] chdir("./file1") = 0 [pid 6198] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6198] ioctl(4, LOOP_CLR_FD) = 0 [pid 6198] close(4) = 0 [pid 6198] rename("./file2", "./file1") = 0 [pid 6198] close(3) = 0 [pid 6198] close(4) = -1 EBADF (Bad file descriptor) [ 144.947164][ T6198] bcachefs (loop0): check_allocations... done [ 144.971335][ T6198] bcachefs (loop0): going read-write [ 144.980880][ T6198] bcachefs (loop0): done starting filesystem [pid 6198] close(5) = -1 EBADF (Bad file descriptor) [pid 6198] close(6) = -1 EBADF (Bad file descriptor) [pid 6198] close(7) = -1 EBADF (Bad file descriptor) [pid 6198] close(8) = -1 EBADF (Bad file descriptor) [pid 6198] close(9) = -1 EBADF (Bad file descriptor) [pid 6198] close(10) = -1 EBADF (Bad file descriptor) [pid 6198] close(11) = -1 EBADF (Bad file descriptor) [pid 6198] close(12) = -1 EBADF (Bad file descriptor) [pid 6198] close(13) = -1 EBADF (Bad file descriptor) [pid 6198] close(14) = -1 EBADF (Bad file descriptor) [pid 6198] close(15) = -1 EBADF (Bad file descriptor) [pid 6198] close(16) = -1 EBADF (Bad file descriptor) [pid 6198] close(17) = -1 EBADF (Bad file descriptor) [pid 6198] close(18) = -1 EBADF (Bad file descriptor) [pid 6198] close(19) = -1 EBADF (Bad file descriptor) [pid 6198] close(20) = -1 EBADF (Bad file descriptor) [pid 6198] close(21) = -1 EBADF (Bad file descriptor) [pid 6198] close(22) = -1 EBADF (Bad file descriptor) [pid 6198] close(23) = -1 EBADF (Bad file descriptor) [pid 6198] close(24) = -1 EBADF (Bad file descriptor) [pid 6198] close(25) = -1 EBADF (Bad file descriptor) [pid 6198] close(26) = -1 EBADF (Bad file descriptor) [pid 6198] close(27) = -1 EBADF (Bad file descriptor) [pid 6198] close(28) = -1 EBADF (Bad file descriptor) [pid 6198] close(29) = -1 EBADF (Bad file descriptor) [pid 6198] exit_group(0) = ? [pid 6198] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=34, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=30 /* 0.30 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./32", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./32", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./32/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./32/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./32/binderfs") = 0 [ 145.359361][ T5835] bcachefs (loop0): shutting down [ 145.364463][ T5835] bcachefs (loop0): going read-only [ 145.369836][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 145.377429][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 145.402843][ T3529] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 145.416060][ T3529] bcachefs (loop0): fatal error - emergency read only [ 145.423299][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 145.433264][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 145.441182][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 145.458698][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./32/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./32/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./32/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./32/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./32/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./32/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./32") = 0 [pid 5835] mkdir("./33", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6209 attached [pid 6209] set_robust_list(0x55557d035660, 24) = 0 [pid 6209] chdir("./33" [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 35 [pid 6209] <... chdir resumed>) = 0 [pid 6209] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6209] setpgid(0, 0) = 0 [pid 6209] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6209] write(3, "1000", 4) = 4 [pid 6209] close(3) = 0 [pid 6209] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6209] write(1, "executing program\n", 18) = 18 [pid 6209] memfd_create("syzkaller", 0) = 3 [pid 6209] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6209] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6209] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6209] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6209] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6209] close(3) = 0 [pid 6209] close(4) = 0 [pid 6209] mkdir("./file1", 0777) = 0 [ 146.932053][ T6209] loop0: detected capacity change from 0 to 32768 [ 147.009066][ T6209] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 147.031718][ T6209] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 147.039919][ T6209] bcachefs (loop0): Version upgrade required: [ 147.039919][ T6209] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 147.039919][ T6209] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 147.039919][ T6209] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 147.112583][ T6209] bcachefs (loop0): dropping and reconstructing all alloc info [ 147.130058][ T6209] bcachefs (loop0): accounting_read... done [ 147.136536][ T6209] bcachefs (loop0): alloc_read... done [ 147.142250][ T6209] bcachefs (loop0): stripes_read... done [ 147.148102][ T6209] bcachefs (loop0): snapshots_read... done [pid 6209] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6209] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6209] chdir("./file1") = 0 [pid 6209] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6209] ioctl(4, LOOP_CLR_FD) = 0 [pid 6209] close(4) = 0 [ 147.154099][ T6209] bcachefs (loop0): check_allocations... done [ 147.174520][ T6209] bcachefs (loop0): going read-write [ 147.184098][ T6209] bcachefs (loop0): done starting filesystem [pid 6209] rename("./file2", "./file1") = 0 [pid 6209] close(3) = 0 [pid 6209] close(4) = -1 EBADF (Bad file descriptor) [pid 6209] close(5) = -1 EBADF (Bad file descriptor) [pid 6209] close(6) = -1 EBADF (Bad file descriptor) [pid 6209] close(7) = -1 EBADF (Bad file descriptor) [pid 6209] close(8) = -1 EBADF (Bad file descriptor) [pid 6209] close(9) = -1 EBADF (Bad file descriptor) [pid 6209] close(10) = -1 EBADF (Bad file descriptor) [pid 6209] close(11) = -1 EBADF (Bad file descriptor) [pid 6209] close(12) = -1 EBADF (Bad file descriptor) [pid 6209] close(13) = -1 EBADF (Bad file descriptor) [pid 6209] close(14) = -1 EBADF (Bad file descriptor) [pid 6209] close(15) = -1 EBADF (Bad file descriptor) [pid 6209] close(16) = -1 EBADF (Bad file descriptor) [pid 6209] close(17) = -1 EBADF (Bad file descriptor) [pid 6209] close(18) = -1 EBADF (Bad file descriptor) [pid 6209] close(19) = -1 EBADF (Bad file descriptor) [pid 6209] close(20) = -1 EBADF (Bad file descriptor) [pid 6209] close(21) = -1 EBADF (Bad file descriptor) [pid 6209] close(22) = -1 EBADF (Bad file descriptor) [pid 6209] close(23) = -1 EBADF (Bad file descriptor) [pid 6209] close(24) = -1 EBADF (Bad file descriptor) [pid 6209] close(25) = -1 EBADF (Bad file descriptor) [pid 6209] close(26) = -1 EBADF (Bad file descriptor) [pid 6209] close(27) = -1 EBADF (Bad file descriptor) [pid 6209] close(28) = -1 EBADF (Bad file descriptor) [pid 6209] close(29) = -1 EBADF (Bad file descriptor) [pid 6209] exit_group(0) = ? [pid 6209] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=35, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=31 /* 0.31 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./33", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./33", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./33/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./33/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./33/binderfs") = 0 [ 147.584835][ T5835] bcachefs (loop0): shutting down [ 147.590081][ T5835] bcachefs (loop0): going read-only [ 147.595464][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 147.603052][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 147.629273][ T1081] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 147.642677][ T1081] bcachefs (loop0): fatal error - emergency read only [ 147.650206][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 147.660209][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 147.668383][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 147.687304][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./33/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./33/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./33/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./33/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./33/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./33/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./33") = 0 [pid 5835] mkdir("./34", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6220 attached [pid 6220] set_robust_list(0x55557d035660, 24) = 0 [pid 6220] chdir("./34" [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 36 [pid 6220] <... chdir resumed>) = 0 [pid 6220] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6220] setpgid(0, 0) = 0 [pid 6220] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6220] write(3, "1000", 4) = 4 [pid 6220] close(3) = 0 [pid 6220] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6220] write(1, "executing program\n", 18) = 18 [pid 6220] memfd_create("syzkaller", 0) = 3 [pid 6220] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6220] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6220] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6220] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6220] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6220] close(3) = 0 [pid 6220] close(4) = 0 [pid 6220] mkdir("./file1", 0777) = 0 [ 149.111177][ T6220] loop0: detected capacity change from 0 to 32768 [ 149.199748][ T6220] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 149.223014][ T6220] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 149.231640][ T6220] bcachefs (loop0): Version upgrade required: [ 149.231640][ T6220] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 149.231640][ T6220] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 149.231640][ T6220] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 149.303981][ T6220] bcachefs (loop0): dropping and reconstructing all alloc info [ 149.320748][ T6220] bcachefs (loop0): accounting_read... done [ 149.327488][ T6220] bcachefs (loop0): alloc_read... done [ 149.333163][ T6220] bcachefs (loop0): stripes_read... done [ 149.339004][ T6220] bcachefs (loop0): snapshots_read... done [pid 6220] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6220] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6220] chdir("./file1") = 0 [pid 6220] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 149.345119][ T6220] bcachefs (loop0): check_allocations... done [ 149.366042][ T6220] bcachefs (loop0): going read-write [ 149.375518][ T6220] bcachefs (loop0): done starting filesystem [pid 6220] ioctl(4, LOOP_CLR_FD) = 0 [pid 6220] close(4) = 0 [pid 6220] rename("./file2", "./file1") = 0 [pid 6220] close(3) = 0 [pid 6220] close(4) = -1 EBADF (Bad file descriptor) [pid 6220] close(5) = -1 EBADF (Bad file descriptor) [pid 6220] close(6) = -1 EBADF (Bad file descriptor) [pid 6220] close(7) = -1 EBADF (Bad file descriptor) [pid 6220] close(8) = -1 EBADF (Bad file descriptor) [pid 6220] close(9) = -1 EBADF (Bad file descriptor) [pid 6220] close(10) = -1 EBADF (Bad file descriptor) [pid 6220] close(11) = -1 EBADF (Bad file descriptor) [pid 6220] close(12) = -1 EBADF (Bad file descriptor) [pid 6220] close(13) = -1 EBADF (Bad file descriptor) [pid 6220] close(14) = -1 EBADF (Bad file descriptor) [pid 6220] close(15) = -1 EBADF (Bad file descriptor) [pid 6220] close(16) = -1 EBADF (Bad file descriptor) [pid 6220] close(17) = -1 EBADF (Bad file descriptor) [pid 6220] close(18) = -1 EBADF (Bad file descriptor) [pid 6220] close(19) = -1 EBADF (Bad file descriptor) [pid 6220] close(20) = -1 EBADF (Bad file descriptor) [pid 6220] close(21) = -1 EBADF (Bad file descriptor) [pid 6220] close(22) = -1 EBADF (Bad file descriptor) [pid 6220] close(23) = -1 EBADF (Bad file descriptor) [pid 6220] close(24) = -1 EBADF (Bad file descriptor) [pid 6220] close(25) = -1 EBADF (Bad file descriptor) [pid 6220] close(26) = -1 EBADF (Bad file descriptor) [pid 6220] close(27) = -1 EBADF (Bad file descriptor) [pid 6220] close(28) = -1 EBADF (Bad file descriptor) [pid 6220] close(29) = -1 EBADF (Bad file descriptor) [pid 6220] exit_group(0) = ? [pid 6220] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=36, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=26 /* 0.26 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./34", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./34", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./34/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./34/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./34/binderfs") = 0 [ 149.780727][ T5835] bcachefs (loop0): shutting down [ 149.786003][ T5835] bcachefs (loop0): going read-only [ 149.791250][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 149.799041][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 149.824446][ T62] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 149.837896][ T62] bcachefs (loop0): fatal error - emergency read only [ 149.846999][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 149.857393][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 149.865014][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 149.882269][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./34/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./34/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./34/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./34/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./34/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./34/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./34") = 0 [pid 5835] mkdir("./35", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6231 attached , child_tidptr=0x55557d035650) = 37 [pid 6231] set_robust_list(0x55557d035660, 24) = 0 [pid 6231] chdir("./35") = 0 [pid 6231] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6231] setpgid(0, 0) = 0 [pid 6231] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6231] write(3, "1000", 4) = 4 [pid 6231] close(3) = 0 [pid 6231] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6231] write(1, "executing program\n", 18) = 18 [pid 6231] memfd_create("syzkaller", 0) = 3 [pid 6231] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6231] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6231] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6231] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6231] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6231] close(3) = 0 [pid 6231] close(4) = 0 [pid 6231] mkdir("./file1", 0777) = 0 [ 151.280730][ T6231] loop0: detected capacity change from 0 to 32768 [ 151.386700][ T6231] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 151.409339][ T6231] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 151.418014][ T6231] bcachefs (loop0): Version upgrade required: [ 151.418014][ T6231] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 151.418014][ T6231] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 151.418014][ T6231] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 151.490891][ T6231] bcachefs (loop0): dropping and reconstructing all alloc info [ 151.508616][ T6231] bcachefs (loop0): accounting_read... done [ 151.514968][ T6231] bcachefs (loop0): alloc_read... done [ 151.520664][ T6231] bcachefs (loop0): stripes_read... done [ 151.526648][ T6231] bcachefs (loop0): snapshots_read... done [pid 6231] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6231] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6231] chdir("./file1") = 0 [pid 6231] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 151.532829][ T6231] bcachefs (loop0): check_allocations... done [ 151.554863][ T6231] bcachefs (loop0): going read-write [ 151.563979][ T6231] bcachefs (loop0): done starting filesystem [pid 6231] ioctl(4, LOOP_CLR_FD) = 0 [pid 6231] close(4) = 0 [pid 6231] rename("./file2", "./file1") = 0 [pid 6231] close(3) = 0 [pid 6231] close(4) = -1 EBADF (Bad file descriptor) [pid 6231] close(5) = -1 EBADF (Bad file descriptor) [pid 6231] close(6) = -1 EBADF (Bad file descriptor) [pid 6231] close(7) = -1 EBADF (Bad file descriptor) [pid 6231] close(8) = -1 EBADF (Bad file descriptor) [pid 6231] close(9) = -1 EBADF (Bad file descriptor) [pid 6231] close(10) = -1 EBADF (Bad file descriptor) [pid 6231] close(11) = -1 EBADF (Bad file descriptor) [pid 6231] close(12) = -1 EBADF (Bad file descriptor) [pid 6231] close(13) = -1 EBADF (Bad file descriptor) [pid 6231] close(14) = -1 EBADF (Bad file descriptor) [pid 6231] close(15) = -1 EBADF (Bad file descriptor) [pid 6231] close(16) = -1 EBADF (Bad file descriptor) [pid 6231] close(17) = -1 EBADF (Bad file descriptor) [pid 6231] close(18) = -1 EBADF (Bad file descriptor) [pid 6231] close(19) = -1 EBADF (Bad file descriptor) [pid 6231] close(20) = -1 EBADF (Bad file descriptor) [pid 6231] close(21) = -1 EBADF (Bad file descriptor) [pid 6231] close(22) = -1 EBADF (Bad file descriptor) [pid 6231] close(23) = -1 EBADF (Bad file descriptor) [pid 6231] close(24) = -1 EBADF (Bad file descriptor) [pid 6231] close(25) = -1 EBADF (Bad file descriptor) [pid 6231] close(26) = -1 EBADF (Bad file descriptor) [pid 6231] close(27) = -1 EBADF (Bad file descriptor) [pid 6231] close(28) = -1 EBADF (Bad file descriptor) [pid 6231] close(29) = -1 EBADF (Bad file descriptor) [pid 6231] exit_group(0) = ? [pid 6231] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=37, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=32 /* 0.32 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./35", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./35", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./35/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./35/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./35/binderfs") = 0 [ 151.986040][ T5835] bcachefs (loop0): shutting down [ 151.991143][ T5835] bcachefs (loop0): going read-only [ 151.996588][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 152.004155][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 152.029246][ T62] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 152.042219][ T62] bcachefs (loop0): fatal error - emergency read only [ 152.049724][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 152.059543][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 152.067329][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 152.085299][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./35/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./35/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./35/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./35/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./35/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./35/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./35") = 0 [pid 5835] mkdir("./36", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6242 attached [pid 6242] set_robust_list(0x55557d035660, 24 [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 38 [pid 6242] <... set_robust_list resumed>) = 0 [pid 6242] chdir("./36") = 0 [pid 6242] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6242] setpgid(0, 0) = 0 [pid 6242] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6242] write(3, "1000", 4) = 4 [pid 6242] close(3) = 0 [pid 6242] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6242] write(1, "executing program\n", 18executing program ) = 18 [pid 6242] memfd_create("syzkaller", 0) = 3 [pid 6242] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6242] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6242] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6242] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6242] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6242] close(3) = 0 [pid 6242] close(4) = 0 [pid 6242] mkdir("./file1", 0777) = 0 [ 153.608543][ T6242] loop0: detected capacity change from 0 to 32768 [ 153.674522][ T6242] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 153.697601][ T6242] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 153.705962][ T6242] bcachefs (loop0): Version upgrade required: [ 153.705962][ T6242] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 153.705962][ T6242] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 153.705962][ T6242] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 153.778500][ T6242] bcachefs (loop0): dropping and reconstructing all alloc info [ 153.795797][ T6242] bcachefs (loop0): accounting_read... done [ 153.802026][ T6242] bcachefs (loop0): alloc_read... done [ 153.807689][ T6242] bcachefs (loop0): stripes_read... done [ 153.813451][ T6242] bcachefs (loop0): snapshots_read... done [pid 6242] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6242] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6242] chdir("./file1") = 0 [pid 6242] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6242] ioctl(4, LOOP_CLR_FD) = 0 [pid 6242] close(4) = 0 [pid 6242] rename("./file2", "./file1") = 0 [pid 6242] close(3) = 0 [pid 6242] close(4) = -1 EBADF (Bad file descriptor) [pid 6242] close(5) = -1 EBADF (Bad file descriptor) [pid 6242] close(6) = -1 EBADF (Bad file descriptor) [pid 6242] close(7) = -1 EBADF (Bad file descriptor) [pid 6242] close(8) = -1 EBADF (Bad file descriptor) [pid 6242] close(9) = -1 EBADF (Bad file descriptor) [pid 6242] close(10) = -1 EBADF (Bad file descriptor) [pid 6242] close(11) = -1 EBADF (Bad file descriptor) [pid 6242] close(12) = -1 EBADF (Bad file descriptor) [pid 6242] close(13) = -1 EBADF (Bad file descriptor) [pid 6242] close(14) = -1 EBADF (Bad file descriptor) [pid 6242] close(15) = -1 EBADF (Bad file descriptor) [pid 6242] close(16) = -1 EBADF (Bad file descriptor) [pid 6242] close(17) = -1 EBADF (Bad file descriptor) [pid 6242] close(18) = -1 EBADF (Bad file descriptor) [pid 6242] close(19) = -1 EBADF (Bad file descriptor) [pid 6242] close(20) = -1 EBADF (Bad file descriptor) [pid 6242] close(21) = -1 EBADF (Bad file descriptor) [pid 6242] close(22) = -1 EBADF (Bad file descriptor) [pid 6242] close(23) = -1 EBADF (Bad file descriptor) [pid 6242] close(24) = -1 EBADF (Bad file descriptor) [pid 6242] close(25) = -1 EBADF (Bad file descriptor) [pid 6242] close(26) = -1 EBADF (Bad file descriptor) [pid 6242] close(27) = -1 EBADF (Bad file descriptor) [pid 6242] close(28) = -1 EBADF (Bad file descriptor) [pid 6242] close(29) = -1 EBADF (Bad file descriptor) [pid 6242] exit_group(0) = ? [ 153.819600][ T6242] bcachefs (loop0): check_allocations... done [ 153.840817][ T6242] bcachefs (loop0): going read-write [ 153.851035][ T6242] bcachefs (loop0): done starting filesystem [pid 6242] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=38, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=30 /* 0.30 s */} --- [pid 5835] umount2("./36", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./36", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./36/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./36/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./36/binderfs") = 0 [ 153.933298][ T5835] bcachefs (loop0): shutting down [ 153.938661][ T5835] bcachefs (loop0): going read-only [ 153.943895][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 153.951958][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 153.979060][ T1081] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 153.992762][ T1081] bcachefs (loop0): fatal error - emergency read only [ 154.000314][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 154.010246][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 154.018674][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 154.037494][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./36/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./36/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./36/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./36/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./36/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./36/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./36") = 0 [pid 5835] mkdir("./37", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6253 attached , child_tidptr=0x55557d035650) = 39 [pid 6253] set_robust_list(0x55557d035660, 24) = 0 [pid 6253] chdir("./37") = 0 [pid 6253] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6253] setpgid(0, 0) = 0 [pid 6253] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6253] write(3, "1000", 4) = 4 [pid 6253] close(3) = 0 [pid 6253] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6253] write(1, "executing program\n", 18) = 18 [pid 6253] memfd_create("syzkaller", 0) = 3 [pid 6253] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6253] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6253] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6253] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6253] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6253] close(3) = 0 [pid 6253] close(4) = 0 [pid 6253] mkdir("./file1", 0777) = 0 [ 155.534200][ T6253] loop0: detected capacity change from 0 to 32768 [ 155.598352][ T6253] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 155.621771][ T6253] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 155.630010][ T6253] bcachefs (loop0): Version upgrade required: [ 155.630010][ T6253] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 155.630010][ T6253] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 155.630010][ T6253] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 155.702486][ T6253] bcachefs (loop0): dropping and reconstructing all alloc info [ 155.720906][ T6253] bcachefs (loop0): accounting_read... done [ 155.727269][ T6253] bcachefs (loop0): alloc_read... done [ 155.732900][ T6253] bcachefs (loop0): stripes_read... done [ 155.738847][ T6253] bcachefs (loop0): snapshots_read... done [pid 6253] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6253] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6253] chdir("./file1") = 0 [pid 6253] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6253] ioctl(4, LOOP_CLR_FD) = 0 [pid 6253] close(4) = 0 [pid 6253] rename("./file2", "./file1") = 0 [pid 6253] close(3) = 0 [pid 6253] close(4) = -1 EBADF (Bad file descriptor) [pid 6253] close(5) = -1 EBADF (Bad file descriptor) [pid 6253] close(6) = -1 EBADF (Bad file descriptor) [ 155.744997][ T6253] bcachefs (loop0): check_allocations... done [ 155.766034][ T6253] bcachefs (loop0): going read-write [ 155.775551][ T6253] bcachefs (loop0): done starting filesystem [pid 6253] close(7) = -1 EBADF (Bad file descriptor) [pid 6253] close(8) = -1 EBADF (Bad file descriptor) [pid 6253] close(9) = -1 EBADF (Bad file descriptor) [pid 6253] close(10) = -1 EBADF (Bad file descriptor) [pid 6253] close(11) = -1 EBADF (Bad file descriptor) [pid 6253] close(12) = -1 EBADF (Bad file descriptor) [pid 6253] close(13) = -1 EBADF (Bad file descriptor) [pid 6253] close(14) = -1 EBADF (Bad file descriptor) [pid 6253] close(15) = -1 EBADF (Bad file descriptor) [pid 6253] close(16) = -1 EBADF (Bad file descriptor) [pid 6253] close(17) = -1 EBADF (Bad file descriptor) [pid 6253] close(18) = -1 EBADF (Bad file descriptor) [pid 6253] close(19) = -1 EBADF (Bad file descriptor) [pid 6253] close(20) = -1 EBADF (Bad file descriptor) [pid 6253] close(21) = -1 EBADF (Bad file descriptor) [pid 6253] close(22) = -1 EBADF (Bad file descriptor) [pid 6253] close(23) = -1 EBADF (Bad file descriptor) [pid 6253] close(24) = -1 EBADF (Bad file descriptor) [pid 6253] close(25) = -1 EBADF (Bad file descriptor) [pid 6253] close(26) = -1 EBADF (Bad file descriptor) [pid 6253] close(27) = -1 EBADF (Bad file descriptor) [pid 6253] close(28) = -1 EBADF (Bad file descriptor) [pid 6253] close(29) = -1 EBADF (Bad file descriptor) [pid 6253] exit_group(0) = ? [pid 6253] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=39, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=30 /* 0.30 s */} --- [pid 5835] umount2("./37", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./37", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./37/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./37/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./37/binderfs") = 0 [ 156.160779][ T5835] bcachefs (loop0): shutting down [ 156.166046][ T5835] bcachefs (loop0): going read-only [ 156.171296][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 156.179180][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 156.205839][ T1081] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 156.218758][ T1081] bcachefs (loop0): fatal error - emergency read only [ 156.226353][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 156.236121][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 156.243764][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 156.261307][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./37/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./37/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./37/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./37/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./37/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./37/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./37") = 0 [pid 5835] mkdir("./38", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6264 attached [pid 6264] set_robust_list(0x55557d035660, 24) = 0 [pid 6264] chdir("./38") = 0 [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 40 [pid 6264] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6264] setpgid(0, 0) = 0 [pid 6264] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6264] write(3, "1000", 4) = 4 [pid 6264] close(3) = 0 [pid 6264] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6264] write(1, "executing program\n", 18executing program ) = 18 [pid 6264] memfd_create("syzkaller", 0) = 3 [pid 6264] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6264] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6264] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6264] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6264] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6264] close(3) = 0 [pid 6264] close(4) = 0 [pid 6264] mkdir("./file1", 0777) = 0 [ 157.759114][ T6264] loop0: detected capacity change from 0 to 32768 [ 157.833152][ T6264] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 157.855933][ T6264] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 157.864018][ T6264] bcachefs (loop0): Version upgrade required: [ 157.864018][ T6264] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 157.864018][ T6264] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 157.864018][ T6264] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 157.937207][ T6264] bcachefs (loop0): dropping and reconstructing all alloc info [ 157.953708][ T6264] bcachefs (loop0): accounting_read... done [ 157.960355][ T6264] bcachefs (loop0): alloc_read... done [ 157.966069][ T6264] bcachefs (loop0): stripes_read... done [ 157.971831][ T6264] bcachefs (loop0): snapshots_read... done [pid 6264] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6264] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6264] chdir("./file1") = 0 [pid 6264] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6264] ioctl(4, LOOP_CLR_FD) = 0 [pid 6264] close(4) = 0 [pid 6264] rename("./file2", "./file1") = 0 [pid 6264] close(3) = 0 [ 157.977859][ T6264] bcachefs (loop0): check_allocations... done [ 157.997959][ T6264] bcachefs (loop0): going read-write [ 158.007210][ T6264] bcachefs (loop0): done starting filesystem [pid 6264] close(4) = -1 EBADF (Bad file descriptor) [pid 6264] close(5) = -1 EBADF (Bad file descriptor) [pid 6264] close(6) = -1 EBADF (Bad file descriptor) [pid 6264] close(7) = -1 EBADF (Bad file descriptor) [pid 6264] close(8) = -1 EBADF (Bad file descriptor) [pid 6264] close(9) = -1 EBADF (Bad file descriptor) [pid 6264] close(10) = -1 EBADF (Bad file descriptor) [pid 6264] close(11) = -1 EBADF (Bad file descriptor) [pid 6264] close(12) = -1 EBADF (Bad file descriptor) [pid 6264] close(13) = -1 EBADF (Bad file descriptor) [pid 6264] close(14) = -1 EBADF (Bad file descriptor) [pid 6264] close(15) = -1 EBADF (Bad file descriptor) [pid 6264] close(16) = -1 EBADF (Bad file descriptor) [pid 6264] close(17) = -1 EBADF (Bad file descriptor) [pid 6264] close(18) = -1 EBADF (Bad file descriptor) [pid 6264] close(19) = -1 EBADF (Bad file descriptor) [pid 6264] close(20) = -1 EBADF (Bad file descriptor) [pid 6264] close(21) = -1 EBADF (Bad file descriptor) [pid 6264] close(22) = -1 EBADF (Bad file descriptor) [pid 6264] close(23) = -1 EBADF (Bad file descriptor) [pid 6264] close(24) = -1 EBADF (Bad file descriptor) [pid 6264] close(25) = -1 EBADF (Bad file descriptor) [pid 6264] close(26) = -1 EBADF (Bad file descriptor) [pid 6264] close(27) = -1 EBADF (Bad file descriptor) [pid 6264] close(28) = -1 EBADF (Bad file descriptor) [pid 6264] close(29) = -1 EBADF (Bad file descriptor) [pid 6264] exit_group(0) = ? [pid 6264] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=40, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=30 /* 0.30 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./38", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./38", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./38/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./38/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./38/binderfs") = 0 [ 158.411507][ T5835] bcachefs (loop0): shutting down [ 158.416883][ T5835] bcachefs (loop0): going read-only [ 158.422130][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 158.430033][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 158.455196][ T3529] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 158.468285][ T3529] bcachefs (loop0): fatal error - emergency read only [ 158.475837][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 158.485671][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 158.493287][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 158.511379][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./38/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./38/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./38/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./38/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./38/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./38/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./38") = 0 [pid 5835] mkdir("./39", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6275 attached [pid 6275] set_robust_list(0x55557d035660, 24) = 0 [pid 6275] chdir("./39" [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 41 [pid 6275] <... chdir resumed>) = 0 [pid 6275] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6275] setpgid(0, 0) = 0 [pid 6275] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6275] write(3, "1000", 4) = 4 [pid 6275] close(3) = 0 [pid 6275] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6275] write(1, "executing program\n", 18) = 18 [pid 6275] memfd_create("syzkaller", 0) = 3 [pid 6275] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6275] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6275] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6275] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6275] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6275] close(3) = 0 [pid 6275] close(4) = 0 [pid 6275] mkdir("./file1", 0777) = 0 [ 159.966503][ T6275] loop0: detected capacity change from 0 to 32768 [ 160.059030][ T6275] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 160.081862][ T6275] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 160.090318][ T6275] bcachefs (loop0): Version upgrade required: [ 160.090318][ T6275] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 160.090318][ T6275] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 160.090318][ T6275] 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 [ 160.162939][ T6275] bcachefs (loop0): dropping and reconstructing all alloc info [ 160.179803][ T6275] bcachefs (loop0): accounting_read... done [ 160.186055][ T6275] bcachefs (loop0): alloc_read... done [ 160.191647][ T6275] bcachefs (loop0): stripes_read... done [ 160.197443][ T6275] bcachefs (loop0): snapshots_read... done [pid 6275] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6275] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6275] chdir("./file1") = 0 [pid 6275] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6275] ioctl(4, LOOP_CLR_FD) = 0 [pid 6275] close(4) = 0 [pid 6275] rename("./file2", "./file1") = 0 [pid 6275] close(3) = 0 [ 160.203540][ T6275] bcachefs (loop0): check_allocations... done [ 160.223920][ T6275] bcachefs (loop0): going read-write [ 160.232813][ T6275] bcachefs (loop0): done starting filesystem [pid 6275] close(4) = -1 EBADF (Bad file descriptor) [pid 6275] close(5) = -1 EBADF (Bad file descriptor) [pid 6275] close(6) = -1 EBADF (Bad file descriptor) [pid 6275] close(7) = -1 EBADF (Bad file descriptor) [pid 6275] close(8) = -1 EBADF (Bad file descriptor) [pid 6275] close(9) = -1 EBADF (Bad file descriptor) [pid 6275] close(10) = -1 EBADF (Bad file descriptor) [pid 6275] close(11) = -1 EBADF (Bad file descriptor) [pid 6275] close(12) = -1 EBADF (Bad file descriptor) [pid 6275] close(13) = -1 EBADF (Bad file descriptor) [pid 6275] close(14) = -1 EBADF (Bad file descriptor) [pid 6275] close(15) = -1 EBADF (Bad file descriptor) [pid 6275] close(16) = -1 EBADF (Bad file descriptor) [pid 6275] close(17) = -1 EBADF (Bad file descriptor) [pid 6275] close(18) = -1 EBADF (Bad file descriptor) [pid 6275] close(19) = -1 EBADF (Bad file descriptor) [pid 6275] close(20) = -1 EBADF (Bad file descriptor) [pid 6275] close(21) = -1 EBADF (Bad file descriptor) [pid 6275] close(22) = -1 EBADF (Bad file descriptor) [pid 6275] close(23) = -1 EBADF (Bad file descriptor) [pid 6275] close(24) = -1 EBADF (Bad file descriptor) [pid 6275] close(25) = -1 EBADF (Bad file descriptor) [pid 6275] close(26) = -1 EBADF (Bad file descriptor) [pid 6275] close(27) = -1 EBADF (Bad file descriptor) [pid 6275] close(28) = -1 EBADF (Bad file descriptor) [pid 6275] close(29) = -1 EBADF (Bad file descriptor) [pid 6275] exit_group(0) = ? [pid 6275] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=41, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=27 /* 0.27 s */} --- [pid 5835] umount2("./39", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./39", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./39/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./39/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./39/binderfs") = 0 [ 160.549994][ T5835] bcachefs (loop0): shutting down [ 160.555277][ T5835] bcachefs (loop0): going read-only [ 160.560523][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 160.568339][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 160.593699][ T1081] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 160.607417][ T1081] bcachefs (loop0): fatal error - emergency read only [ 160.614686][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 160.625208][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 160.632944][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 160.650767][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./39/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./39/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./39/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./39/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./39/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./39/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./39") = 0 [pid 5835] mkdir("./40", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6286 attached [pid 6286] set_robust_list(0x55557d035660, 24) = 0 [pid 6286] chdir("./40" [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 42 [pid 6286] <... chdir resumed>) = 0 [pid 6286] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6286] setpgid(0, 0) = 0 [pid 6286] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6286] write(3, "1000", 4) = 4 [pid 6286] close(3) = 0 [pid 6286] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6286] write(1, "executing program\n", 18executing program ) = 18 [pid 6286] memfd_create("syzkaller", 0) = 3 [pid 6286] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6286] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6286] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6286] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6286] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6286] close(3) = 0 [pid 6286] close(4) = 0 [pid 6286] mkdir("./file1", 0777) = 0 [ 162.159110][ T6286] loop0: detected capacity change from 0 to 32768 [ 162.244125][ T6286] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 162.266847][ T6286] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 162.275718][ T6286] bcachefs (loop0): Version upgrade required: [ 162.275718][ T6286] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 162.275718][ T6286] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 162.275718][ T6286] 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 [ 162.347869][ T6286] bcachefs (loop0): dropping and reconstructing all alloc info [ 162.364253][ T6286] bcachefs (loop0): accounting_read... done [ 162.370534][ T6286] bcachefs (loop0): alloc_read... done [ 162.376151][ T6286] bcachefs (loop0): stripes_read... done [ 162.381860][ T6286] bcachefs (loop0): snapshots_read... done [pid 6286] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6286] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6286] chdir("./file1") = 0 [pid 6286] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 162.388084][ T6286] bcachefs (loop0): check_allocations... done [ 162.409401][ T6286] bcachefs (loop0): going read-write [ 162.418474][ T6286] bcachefs (loop0): done starting filesystem [pid 6286] ioctl(4, LOOP_CLR_FD) = 0 [pid 6286] close(4) = 0 [pid 6286] rename("./file2", "./file1") = 0 [pid 6286] close(3) = 0 [pid 6286] close(4) = -1 EBADF (Bad file descriptor) [pid 6286] close(5) = -1 EBADF (Bad file descriptor) [pid 6286] close(6) = -1 EBADF (Bad file descriptor) [pid 6286] close(7) = -1 EBADF (Bad file descriptor) [pid 6286] close(8) = -1 EBADF (Bad file descriptor) [pid 6286] close(9) = -1 EBADF (Bad file descriptor) [pid 6286] close(10) = -1 EBADF (Bad file descriptor) [pid 6286] close(11) = -1 EBADF (Bad file descriptor) [pid 6286] close(12) = -1 EBADF (Bad file descriptor) [pid 6286] close(13) = -1 EBADF (Bad file descriptor) [pid 6286] close(14) = -1 EBADF (Bad file descriptor) [pid 6286] close(15) = -1 EBADF (Bad file descriptor) [pid 6286] close(16) = -1 EBADF (Bad file descriptor) [pid 6286] close(17) = -1 EBADF (Bad file descriptor) [pid 6286] close(18) = -1 EBADF (Bad file descriptor) [pid 6286] close(19) = -1 EBADF (Bad file descriptor) [pid 6286] close(20) = -1 EBADF (Bad file descriptor) [pid 6286] close(21) = -1 EBADF (Bad file descriptor) [pid 6286] close(22) = -1 EBADF (Bad file descriptor) [pid 6286] close(23) = -1 EBADF (Bad file descriptor) [pid 6286] close(24) = -1 EBADF (Bad file descriptor) [pid 6286] close(25) = -1 EBADF (Bad file descriptor) [pid 6286] close(26) = -1 EBADF (Bad file descriptor) [pid 6286] close(27) = -1 EBADF (Bad file descriptor) [pid 6286] close(28) = -1 EBADF (Bad file descriptor) [pid 6286] close(29) = -1 EBADF (Bad file descriptor) [pid 6286] exit_group(0) = ? [pid 6286] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=42, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=31 /* 0.31 s */} --- [pid 5835] umount2("./40", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./40", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./40/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./40/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./40/binderfs") = 0 [ 162.749326][ T5835] bcachefs (loop0): shutting down [ 162.754443][ T5835] bcachefs (loop0): going read-only [ 162.759893][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 162.767435][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 162.794064][ T3529] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 162.807917][ T3529] bcachefs (loop0): fatal error - emergency read only [ 162.816428][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 15 [ 162.826388][ T5835] bcachefs (loop0): unshutdown complete, journal seq 15 [ 162.834008][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 162.852162][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./40/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./40/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./40/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./40/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./40/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./40/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./40") = 0 [pid 5835] mkdir("./41", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6297 attached [pid 6297] set_robust_list(0x55557d035660, 24) = 0 [pid 6297] chdir("./41" [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 43 [pid 6297] <... chdir resumed>) = 0 [pid 6297] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6297] setpgid(0, 0) = 0 [pid 6297] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6297] write(3, "1000", 4) = 4 [pid 6297] close(3) = 0 [pid 6297] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6297] write(1, "executing program\n", 18executing program ) = 18 [pid 6297] memfd_create("syzkaller", 0) = 3 [pid 6297] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6297] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6297] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6297] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6297] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6297] close(3) = 0 [pid 6297] close(4) = 0 [pid 6297] mkdir("./file1", 0777) = 0 [ 164.341763][ T6297] loop0: detected capacity change from 0 to 32768 [ 164.431862][ T6297] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 164.454474][ T6297] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 164.462669][ T6297] bcachefs (loop0): Version upgrade required: [ 164.462669][ T6297] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 164.462669][ T6297] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 164.462669][ T6297] 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 [ 164.535533][ T6297] bcachefs (loop0): dropping and reconstructing all alloc info [ 164.552128][ T6297] bcachefs (loop0): accounting_read... done [ 164.558633][ T6297] bcachefs (loop0): alloc_read... done [ 164.564238][ T6297] bcachefs (loop0): stripes_read... done [ 164.570058][ T6297] bcachefs (loop0): snapshots_read... done [pid 6297] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6297] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6297] chdir("./file1") = 0 [pid 6297] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6297] ioctl(4, LOOP_CLR_FD) = 0 [pid 6297] close(4) = 0 [ 164.576131][ T6297] bcachefs (loop0): check_allocations... done [ 164.596779][ T6297] bcachefs (loop0): going read-write [ 164.606140][ T6297] bcachefs (loop0): done starting filesystem [pid 6297] rename("./file2", "./file1") = 0 [pid 6297] close(3) = 0 [pid 6297] close(4) = -1 EBADF (Bad file descriptor) [pid 6297] close(5) = -1 EBADF (Bad file descriptor) [pid 6297] close(6) = -1 EBADF (Bad file descriptor) [pid 6297] close(7) = -1 EBADF (Bad file descriptor) [pid 6297] close(8) = -1 EBADF (Bad file descriptor) [pid 6297] close(9) = -1 EBADF (Bad file descriptor) [pid 6297] close(10) = -1 EBADF (Bad file descriptor) [pid 6297] close(11) = -1 EBADF (Bad file descriptor) [pid 6297] close(12) = -1 EBADF (Bad file descriptor) [pid 6297] close(13) = -1 EBADF (Bad file descriptor) [pid 6297] close(14) = -1 EBADF (Bad file descriptor) [pid 6297] close(15) = -1 EBADF (Bad file descriptor) [pid 6297] close(16) = -1 EBADF (Bad file descriptor) [pid 6297] close(17) = -1 EBADF (Bad file descriptor) [pid 6297] close(18) = -1 EBADF (Bad file descriptor) [pid 6297] close(19) = -1 EBADF (Bad file descriptor) [pid 6297] close(20) = -1 EBADF (Bad file descriptor) [pid 6297] close(21) = -1 EBADF (Bad file descriptor) [pid 6297] close(22) = -1 EBADF (Bad file descriptor) [pid 6297] close(23) = -1 EBADF (Bad file descriptor) [pid 6297] close(24) = -1 EBADF (Bad file descriptor) [pid 6297] close(25) = -1 EBADF (Bad file descriptor) [pid 6297] close(26) = -1 EBADF (Bad file descriptor) [pid 6297] close(27) = -1 EBADF (Bad file descriptor) [pid 6297] close(28) = -1 EBADF (Bad file descriptor) [pid 6297] close(29) = -1 EBADF (Bad file descriptor) [pid 6297] exit_group(0) = ? [pid 6297] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=43, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=30 /* 0.30 s */} --- [pid 5835] umount2("./41", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./41", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./41/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./41/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./41/binderfs") = 0 [ 164.999752][ T5835] bcachefs (loop0): shutting down [ 165.005240][ T5835] bcachefs (loop0): going read-only [ 165.010468][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 165.018186][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 165.044153][ T1081] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 165.057396][ T1081] bcachefs (loop0): fatal error - emergency read only [ 165.064623][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 165.075289][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 165.083067][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 165.100883][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./41/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./41/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./41/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./41/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./41/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./41/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./41") = 0 [pid 5835] mkdir("./42", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6308 attached , child_tidptr=0x55557d035650) = 44 [pid 6308] set_robust_list(0x55557d035660, 24) = 0 [pid 6308] chdir("./42") = 0 [pid 6308] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6308] setpgid(0, 0) = 0 [pid 6308] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6308] write(3, "1000", 4) = 4 [pid 6308] close(3) = 0 [pid 6308] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6308] write(1, "executing program\n", 18executing program ) = 18 [pid 6308] memfd_create("syzkaller", 0) = 3 [pid 6308] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6308] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6308] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6308] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6308] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6308] close(3) = 0 [pid 6308] close(4) = 0 [pid 6308] mkdir("./file1", 0777) = 0 [ 166.433675][ T6308] loop0: detected capacity change from 0 to 32768 [ 166.526892][ T6308] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 166.549459][ T6308] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 166.557710][ T6308] bcachefs (loop0): Version upgrade required: [ 166.557710][ T6308] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 166.557710][ T6308] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 166.557710][ T6308] 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 [ 166.629963][ T6308] bcachefs (loop0): dropping and reconstructing all alloc info [ 166.646889][ T6308] bcachefs (loop0): accounting_read... done [ 166.653121][ T6308] bcachefs (loop0): alloc_read... done [ 166.658725][ T6308] bcachefs (loop0): stripes_read... done [ 166.664472][ T6308] bcachefs (loop0): snapshots_read... done [pid 6308] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6308] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6308] chdir("./file1") = 0 [pid 6308] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 166.670683][ T6308] bcachefs (loop0): check_allocations... done [ 166.690736][ T6308] bcachefs (loop0): going read-write [ 166.699030][ T6308] bcachefs (loop0): done starting filesystem [pid 6308] ioctl(4, LOOP_CLR_FD) = 0 [pid 6308] close(4) = 0 [pid 6308] rename("./file2", "./file1") = 0 [pid 6308] close(3) = 0 [pid 6308] close(4) = -1 EBADF (Bad file descriptor) [pid 6308] close(5) = -1 EBADF (Bad file descriptor) [pid 6308] close(6) = -1 EBADF (Bad file descriptor) [pid 6308] close(7) = -1 EBADF (Bad file descriptor) [pid 6308] close(8) = -1 EBADF (Bad file descriptor) [pid 6308] close(9) = -1 EBADF (Bad file descriptor) [pid 6308] close(10) = -1 EBADF (Bad file descriptor) [pid 6308] close(11) = -1 EBADF (Bad file descriptor) [pid 6308] close(12) = -1 EBADF (Bad file descriptor) [pid 6308] close(13) = -1 EBADF (Bad file descriptor) [pid 6308] close(14) = -1 EBADF (Bad file descriptor) [pid 6308] close(15) = -1 EBADF (Bad file descriptor) [pid 6308] close(16) = -1 EBADF (Bad file descriptor) [pid 6308] close(17) = -1 EBADF (Bad file descriptor) [pid 6308] close(18) = -1 EBADF (Bad file descriptor) [pid 6308] close(19) = -1 EBADF (Bad file descriptor) [pid 6308] close(20) = -1 EBADF (Bad file descriptor) [pid 6308] close(21) = -1 EBADF (Bad file descriptor) [pid 6308] close(22) = -1 EBADF (Bad file descriptor) [pid 6308] close(23) = -1 EBADF (Bad file descriptor) [pid 6308] close(24) = -1 EBADF (Bad file descriptor) [pid 6308] close(25) = -1 EBADF (Bad file descriptor) [pid 6308] close(26) = -1 EBADF (Bad file descriptor) [pid 6308] close(27) = -1 EBADF (Bad file descriptor) [pid 6308] close(28) = -1 EBADF (Bad file descriptor) [pid 6308] close(29) = -1 EBADF (Bad file descriptor) [pid 6308] exit_group(0) = ? [pid 6308] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=44, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=30 /* 0.30 s */} --- [pid 5835] umount2("./42", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./42", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./42/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./42/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./42/binderfs") = 0 [ 167.152430][ T5835] bcachefs (loop0): shutting down [ 167.157664][ T5835] bcachefs (loop0): going read-only [ 167.162908][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 167.170699][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 167.195843][ T1081] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 167.208834][ T1081] bcachefs (loop0): fatal error - emergency read only [ 167.216320][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 167.226130][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 167.233760][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 167.251110][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./42/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./42/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./42/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./42/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./42/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./42/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./42") = 0 [pid 5835] mkdir("./43", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6319 attached [pid 6319] set_robust_list(0x55557d035660, 24 [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 45 [pid 6319] <... set_robust_list resumed>) = 0 [pid 6319] chdir("./43") = 0 [pid 6319] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6319] setpgid(0, 0) = 0 [pid 6319] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6319] write(3, "1000", 4) = 4 [pid 6319] close(3) = 0 [pid 6319] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6319] write(1, "executing program\n", 18executing program ) = 18 [pid 6319] memfd_create("syzkaller", 0) = 3 [pid 6319] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6319] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6319] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6319] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6319] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6319] close(3) = 0 [pid 6319] close(4) = 0 [pid 6319] mkdir("./file1", 0777) = 0 [ 168.730877][ T6319] loop0: detected capacity change from 0 to 32768 [ 168.817316][ T6319] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 168.840465][ T6319] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 168.848898][ T6319] bcachefs (loop0): Version upgrade required: [ 168.848898][ T6319] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 168.848898][ T6319] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 168.848898][ T6319] 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 [ 168.921638][ T6319] bcachefs (loop0): dropping and reconstructing all alloc info [ 168.938482][ T6319] bcachefs (loop0): accounting_read... done [ 168.944635][ T6319] bcachefs (loop0): alloc_read... done [ 168.950220][ T6319] bcachefs (loop0): stripes_read... done [ 168.956073][ T6319] bcachefs (loop0): snapshots_read... done [pid 6319] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6319] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6319] chdir("./file1") = 0 [pid 6319] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6319] ioctl(4, LOOP_CLR_FD) = 0 [pid 6319] close(4) = 0 [pid 6319] rename("./file2", "./file1") = 0 [pid 6319] close(3) = 0 [pid 6319] close(4) = -1 EBADF (Bad file descriptor) [ 168.962007][ T6319] bcachefs (loop0): check_allocations... done [ 168.982190][ T6319] bcachefs (loop0): going read-write [ 168.990638][ T6319] bcachefs (loop0): done starting filesystem [pid 6319] close(5) = -1 EBADF (Bad file descriptor) [pid 6319] close(6) = -1 EBADF (Bad file descriptor) [pid 6319] close(7) = -1 EBADF (Bad file descriptor) [pid 6319] close(8) = -1 EBADF (Bad file descriptor) [pid 6319] close(9) = -1 EBADF (Bad file descriptor) [pid 6319] close(10) = -1 EBADF (Bad file descriptor) [pid 6319] close(11) = -1 EBADF (Bad file descriptor) [pid 6319] close(12) = -1 EBADF (Bad file descriptor) [pid 6319] close(13) = -1 EBADF (Bad file descriptor) [pid 6319] close(14) = -1 EBADF (Bad file descriptor) [pid 6319] close(15) = -1 EBADF (Bad file descriptor) [pid 6319] close(16) = -1 EBADF (Bad file descriptor) [pid 6319] close(17) = -1 EBADF (Bad file descriptor) [pid 6319] close(18) = -1 EBADF (Bad file descriptor) [pid 6319] close(19) = -1 EBADF (Bad file descriptor) [pid 6319] close(20) = -1 EBADF (Bad file descriptor) [pid 6319] close(21) = -1 EBADF (Bad file descriptor) [pid 6319] close(22) = -1 EBADF (Bad file descriptor) [pid 6319] close(23) = -1 EBADF (Bad file descriptor) [pid 6319] close(24) = -1 EBADF (Bad file descriptor) [pid 6319] close(25) = -1 EBADF (Bad file descriptor) [pid 6319] close(26) = -1 EBADF (Bad file descriptor) [pid 6319] close(27) = -1 EBADF (Bad file descriptor) [pid 6319] close(28) = -1 EBADF (Bad file descriptor) [pid 6319] close(29) = -1 EBADF (Bad file descriptor) [pid 6319] exit_group(0) = ? [pid 6319] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=45, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=31 /* 0.31 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./43", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./43", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./43/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./43/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./43/binderfs") = 0 [ 169.396522][ T5835] bcachefs (loop0): shutting down [ 169.401676][ T5835] bcachefs (loop0): going read-only [ 169.407029][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 169.414603][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 169.439773][ T1081] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 169.453249][ T1081] bcachefs (loop0): fatal error - emergency read only [ 169.460679][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 169.470574][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 169.478408][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 169.495581][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./43/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./43/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./43/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./43/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./43/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./43/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./43") = 0 [pid 5835] mkdir("./44", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6330 attached [pid 6330] set_robust_list(0x55557d035660, 24 [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 46 [pid 6330] <... set_robust_list resumed>) = 0 [pid 6330] chdir("./44") = 0 [pid 6330] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6330] setpgid(0, 0) = 0 [pid 6330] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6330] write(3, "1000", 4) = 4 [pid 6330] close(3) = 0 [pid 6330] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6330] write(1, "executing program\n", 18executing program ) = 18 [pid 6330] memfd_create("syzkaller", 0) = 3 [pid 6330] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6330] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6330] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6330] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6330] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6330] close(3) = 0 [pid 6330] close(4) = 0 [pid 6330] mkdir("./file1", 0777) = 0 [ 170.980604][ T6330] loop0: detected capacity change from 0 to 32768 [ 171.061871][ T6330] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 171.084430][ T6330] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 171.092646][ T6330] bcachefs (loop0): Version upgrade required: [ 171.092646][ T6330] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 171.092646][ T6330] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 171.092646][ T6330] 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 [ 171.165138][ T6330] bcachefs (loop0): dropping and reconstructing all alloc info [ 171.181875][ T6330] bcachefs (loop0): accounting_read... done [ 171.188470][ T6330] bcachefs (loop0): alloc_read... done [ 171.194125][ T6330] bcachefs (loop0): stripes_read... done [ 171.200022][ T6330] bcachefs (loop0): snapshots_read... done [pid 6330] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6330] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6330] chdir("./file1") = 0 [pid 6330] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 171.206237][ T6330] bcachefs (loop0): check_allocations... done [ 171.226592][ T6330] bcachefs (loop0): going read-write [ 171.234726][ T6330] bcachefs (loop0): done starting filesystem [pid 6330] ioctl(4, LOOP_CLR_FD) = 0 [pid 6330] close(4) = 0 [pid 6330] rename("./file2", "./file1") = 0 [pid 6330] close(3) = 0 [pid 6330] close(4) = -1 EBADF (Bad file descriptor) [pid 6330] close(5) = -1 EBADF (Bad file descriptor) [pid 6330] close(6) = -1 EBADF (Bad file descriptor) [pid 6330] close(7) = -1 EBADF (Bad file descriptor) [pid 6330] close(8) = -1 EBADF (Bad file descriptor) [pid 6330] close(9) = -1 EBADF (Bad file descriptor) [pid 6330] close(10) = -1 EBADF (Bad file descriptor) [pid 6330] close(11) = -1 EBADF (Bad file descriptor) [pid 6330] close(12) = -1 EBADF (Bad file descriptor) [pid 6330] close(13) = -1 EBADF (Bad file descriptor) [pid 6330] close(14) = -1 EBADF (Bad file descriptor) [pid 6330] close(15) = -1 EBADF (Bad file descriptor) [pid 6330] close(16) = -1 EBADF (Bad file descriptor) [pid 6330] close(17) = -1 EBADF (Bad file descriptor) [pid 6330] close(18) = -1 EBADF (Bad file descriptor) [pid 6330] close(19) = -1 EBADF (Bad file descriptor) [pid 6330] close(20) = -1 EBADF (Bad file descriptor) [pid 6330] close(21) = -1 EBADF (Bad file descriptor) [pid 6330] close(22) = -1 EBADF (Bad file descriptor) [pid 6330] close(23) = -1 EBADF (Bad file descriptor) [pid 6330] close(24) = -1 EBADF (Bad file descriptor) [pid 6330] close(25) = -1 EBADF (Bad file descriptor) [pid 6330] close(26) = -1 EBADF (Bad file descriptor) [pid 6330] close(27) = -1 EBADF (Bad file descriptor) [pid 6330] close(28) = -1 EBADF (Bad file descriptor) [pid 6330] close(29) = -1 EBADF (Bad file descriptor) [pid 6330] exit_group(0) = ? [pid 6330] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=46, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=30 /* 0.30 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./44", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./44", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./44/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./44/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./44/binderfs") = 0 [ 171.638128][ T5835] bcachefs (loop0): shutting down [ 171.643222][ T5835] bcachefs (loop0): going read-only [ 171.649457][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 171.657055][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 171.682331][ T62] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 171.695938][ T62] bcachefs (loop0): fatal error - emergency read only [ 171.703480][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 171.713421][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 171.721300][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 171.740301][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./44/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./44/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./44/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./44/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./44/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./44/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./44") = 0 [pid 5835] mkdir("./45", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6341 attached [pid 6341] set_robust_list(0x55557d035660, 24) = 0 [pid 6341] chdir("./45") = 0 [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 47 [pid 6341] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6341] setpgid(0, 0) = 0 [pid 6341] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6341] write(3, "1000", 4) = 4 [pid 6341] close(3) = 0 [pid 6341] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6341] write(1, "executing program\n", 18) = 18 [pid 6341] memfd_create("syzkaller", 0) = 3 [pid 6341] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6341] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6341] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6341] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6341] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6341] close(3) = 0 [pid 6341] close(4) = 0 [pid 6341] mkdir("./file1", 0777) = 0 [ 173.190257][ T6341] loop0: detected capacity change from 0 to 32768 [ 173.279606][ T6341] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 173.302305][ T6341] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 173.310523][ T6341] bcachefs (loop0): Version upgrade required: [ 173.310523][ T6341] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 173.310523][ T6341] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 173.310523][ T6341] 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 [ 173.382945][ T6341] bcachefs (loop0): dropping and reconstructing all alloc info [ 173.400169][ T6341] bcachefs (loop0): accounting_read... done [ 173.406585][ T6341] bcachefs (loop0): alloc_read... done [ 173.412145][ T6341] bcachefs (loop0): stripes_read... done [ 173.418083][ T6341] bcachefs (loop0): snapshots_read... done [pid 6341] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6341] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6341] chdir("./file1") = 0 [pid 6341] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 173.424159][ T6341] bcachefs (loop0): check_allocations... done [ 173.444515][ T6341] bcachefs (loop0): going read-write [ 173.453217][ T6341] bcachefs (loop0): done starting filesystem [pid 6341] ioctl(4, LOOP_CLR_FD) = 0 [pid 6341] close(4) = 0 [pid 6341] rename("./file2", "./file1") = 0 [pid 6341] close(3) = 0 [pid 6341] close(4) = -1 EBADF (Bad file descriptor) [pid 6341] close(5) = -1 EBADF (Bad file descriptor) [pid 6341] close(6) = -1 EBADF (Bad file descriptor) [pid 6341] close(7) = -1 EBADF (Bad file descriptor) [pid 6341] close(8) = -1 EBADF (Bad file descriptor) [pid 6341] close(9) = -1 EBADF (Bad file descriptor) [pid 6341] close(10) = -1 EBADF (Bad file descriptor) [pid 6341] close(11) = -1 EBADF (Bad file descriptor) [pid 6341] close(12) = -1 EBADF (Bad file descriptor) [pid 6341] close(13) = -1 EBADF (Bad file descriptor) [pid 6341] close(14) = -1 EBADF (Bad file descriptor) [pid 6341] close(15) = -1 EBADF (Bad file descriptor) [pid 6341] close(16) = -1 EBADF (Bad file descriptor) [pid 6341] close(17) = -1 EBADF (Bad file descriptor) [pid 6341] close(18) = -1 EBADF (Bad file descriptor) [pid 6341] close(19) = -1 EBADF (Bad file descriptor) [pid 6341] close(20) = -1 EBADF (Bad file descriptor) [pid 6341] close(21) = -1 EBADF (Bad file descriptor) [pid 6341] close(22) = -1 EBADF (Bad file descriptor) [pid 6341] close(23) = -1 EBADF (Bad file descriptor) [pid 6341] close(24) = -1 EBADF (Bad file descriptor) [pid 6341] close(25) = -1 EBADF (Bad file descriptor) [pid 6341] close(26) = -1 EBADF (Bad file descriptor) [pid 6341] close(27) = -1 EBADF (Bad file descriptor) [pid 6341] close(28) = -1 EBADF (Bad file descriptor) [pid 6341] close(29) = -1 EBADF (Bad file descriptor) [pid 6341] exit_group(0) = ? [pid 6341] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=47, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=30 /* 0.30 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./45", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./45", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./45/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./45/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./45/binderfs") = 0 [ 173.858447][ T5835] bcachefs (loop0): shutting down [ 173.863528][ T5835] bcachefs (loop0): going read-only [ 173.868811][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 173.876396][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 173.902050][ T1081] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 173.915682][ T1081] bcachefs (loop0): fatal error - emergency read only [ 173.922880][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 173.932883][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 173.940905][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 173.958994][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./45/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./45/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./45/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./45/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./45/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./45/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./45") = 0 [pid 5835] mkdir("./46", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6352 attached [pid 6352] set_robust_list(0x55557d035660, 24) = 0 [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 48 [pid 6352] chdir("./46") = 0 [pid 6352] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6352] setpgid(0, 0) = 0 [pid 6352] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6352] write(3, "1000", 4) = 4 [pid 6352] close(3) = 0 [pid 6352] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6352] write(1, "executing program\n", 18executing program ) = 18 [pid 6352] memfd_create("syzkaller", 0) = 3 [pid 6352] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6352] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6352] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6352] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6352] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6352] close(3) = 0 [pid 6352] close(4) = 0 [pid 6352] mkdir("./file1", 0777) = 0 [ 175.388394][ T6352] loop0: detected capacity change from 0 to 32768 [ 175.457172][ T6352] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 175.479960][ T6352] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 175.488180][ T6352] bcachefs (loop0): Version upgrade required: [ 175.488180][ T6352] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 175.488180][ T6352] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 175.488180][ T6352] 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 [ 175.560925][ T6352] bcachefs (loop0): dropping and reconstructing all alloc info [ 175.578381][ T6352] bcachefs (loop0): accounting_read... done [ 175.584563][ T6352] bcachefs (loop0): alloc_read... done [ 175.590442][ T6352] bcachefs (loop0): stripes_read... done [ 175.596453][ T6352] bcachefs (loop0): snapshots_read... done [pid 6352] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6352] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6352] chdir("./file1") = 0 [pid 6352] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 175.602411][ T6352] bcachefs (loop0): check_allocations... done [ 175.622586][ T6352] bcachefs (loop0): going read-write [ 175.631687][ T6352] bcachefs (loop0): done starting filesystem [pid 6352] ioctl(4, LOOP_CLR_FD) = 0 [pid 6352] close(4) = 0 [pid 6352] rename("./file2", "./file1") = 0 [pid 6352] close(3) = 0 [pid 6352] close(4) = -1 EBADF (Bad file descriptor) [pid 6352] close(5) = -1 EBADF (Bad file descriptor) [pid 6352] close(6) = -1 EBADF (Bad file descriptor) [pid 6352] close(7) = -1 EBADF (Bad file descriptor) [pid 6352] close(8) = -1 EBADF (Bad file descriptor) [pid 6352] close(9) = -1 EBADF (Bad file descriptor) [pid 6352] close(10) = -1 EBADF (Bad file descriptor) [pid 6352] close(11) = -1 EBADF (Bad file descriptor) [pid 6352] close(12) = -1 EBADF (Bad file descriptor) [pid 6352] close(13) = -1 EBADF (Bad file descriptor) [pid 6352] close(14) = -1 EBADF (Bad file descriptor) [pid 6352] close(15) = -1 EBADF (Bad file descriptor) [pid 6352] close(16) = -1 EBADF (Bad file descriptor) [pid 6352] close(17) = -1 EBADF (Bad file descriptor) [pid 6352] close(18) = -1 EBADF (Bad file descriptor) [pid 6352] close(19) = -1 EBADF (Bad file descriptor) [pid 6352] close(20) = -1 EBADF (Bad file descriptor) [pid 6352] close(21) = -1 EBADF (Bad file descriptor) [pid 6352] close(22) = -1 EBADF (Bad file descriptor) [pid 6352] close(23) = -1 EBADF (Bad file descriptor) [pid 6352] close(24) = -1 EBADF (Bad file descriptor) [pid 6352] close(25) = -1 EBADF (Bad file descriptor) [pid 6352] close(26) = -1 EBADF (Bad file descriptor) [pid 6352] close(27) = -1 EBADF (Bad file descriptor) [pid 6352] close(28) = -1 EBADF (Bad file descriptor) [pid 6352] close(29) = -1 EBADF (Bad file descriptor) [pid 6352] exit_group(0) = ? [pid 6352] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=48, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=30 /* 0.30 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./46", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./46", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./46/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./46/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./46/binderfs") = 0 [ 176.058526][ T5835] bcachefs (loop0): shutting down [ 176.063779][ T5835] bcachefs (loop0): going read-only [ 176.069153][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 176.076743][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 176.101282][ T1081] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 176.114748][ T1081] bcachefs (loop0): fatal error - emergency read only [ 176.122247][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 176.132122][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 176.139848][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 176.157501][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./46/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./46/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./46/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./46/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./46/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./46/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./46") = 0 [pid 5835] mkdir("./47", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6363 attached , child_tidptr=0x55557d035650) = 49 [pid 6363] set_robust_list(0x55557d035660, 24) = 0 [pid 6363] chdir("./47") = 0 [pid 6363] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6363] setpgid(0, 0) = 0 [pid 6363] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6363] write(3, "1000", 4) = 4 [pid 6363] close(3) = 0 [pid 6363] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6363] write(1, "executing program\n", 18) = 18 [pid 6363] memfd_create("syzkaller", 0) = 3 [pid 6363] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6363] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6363] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6363] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6363] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6363] close(3) = 0 [pid 6363] close(4) = 0 [pid 6363] mkdir("./file1", 0777) = 0 [ 177.521169][ T6363] loop0: detected capacity change from 0 to 32768 [ 177.598015][ T6363] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 177.620650][ T6363] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 177.628828][ T6363] bcachefs (loop0): Version upgrade required: [ 177.628828][ T6363] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 177.628828][ T6363] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 177.628828][ T6363] 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 [ 177.701768][ T6363] bcachefs (loop0): dropping and reconstructing all alloc info [ 177.718614][ T6363] bcachefs (loop0): accounting_read... done [ 177.724817][ T6363] bcachefs (loop0): alloc_read... done [ 177.730528][ T6363] bcachefs (loop0): stripes_read... done [ 177.736348][ T6363] bcachefs (loop0): snapshots_read... done [pid 6363] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6363] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6363] chdir("./file1") = 0 [ 177.742302][ T6363] bcachefs (loop0): check_allocations... done [ 177.762612][ T6363] bcachefs (loop0): going read-write [ 177.771940][ T6363] bcachefs (loop0): done starting filesystem [pid 6363] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6363] ioctl(4, LOOP_CLR_FD) = 0 [pid 6363] close(4) = 0 [pid 6363] rename("./file2", "./file1") = 0 [pid 6363] close(3) = 0 [pid 6363] close(4) = -1 EBADF (Bad file descriptor) [pid 6363] close(5) = -1 EBADF (Bad file descriptor) [pid 6363] close(6) = -1 EBADF (Bad file descriptor) [pid 6363] close(7) = -1 EBADF (Bad file descriptor) [pid 6363] close(8) = -1 EBADF (Bad file descriptor) [pid 6363] close(9) = -1 EBADF (Bad file descriptor) [pid 6363] close(10) = -1 EBADF (Bad file descriptor) [pid 6363] close(11) = -1 EBADF (Bad file descriptor) [pid 6363] close(12) = -1 EBADF (Bad file descriptor) [pid 6363] close(13) = -1 EBADF (Bad file descriptor) [pid 6363] close(14) = -1 EBADF (Bad file descriptor) [pid 6363] close(15) = -1 EBADF (Bad file descriptor) [pid 6363] close(16) = -1 EBADF (Bad file descriptor) [pid 6363] close(17) = -1 EBADF (Bad file descriptor) [pid 6363] close(18) = -1 EBADF (Bad file descriptor) [pid 6363] close(19) = -1 EBADF (Bad file descriptor) [pid 6363] close(20) = -1 EBADF (Bad file descriptor) [pid 6363] close(21) = -1 EBADF (Bad file descriptor) [pid 6363] close(22) = -1 EBADF (Bad file descriptor) [pid 6363] close(23) = -1 EBADF (Bad file descriptor) [pid 6363] close(24) = -1 EBADF (Bad file descriptor) [pid 6363] close(25) = -1 EBADF (Bad file descriptor) [pid 6363] close(26) = -1 EBADF (Bad file descriptor) [pid 6363] close(27) = -1 EBADF (Bad file descriptor) [pid 6363] close(28) = -1 EBADF (Bad file descriptor) [pid 6363] close(29) = -1 EBADF (Bad file descriptor) [pid 6363] exit_group(0) = ? [pid 6363] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=49, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=29 /* 0.29 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./47", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./47", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./47/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./47/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./47/binderfs") = 0 [ 178.226385][ T5835] bcachefs (loop0): shutting down [ 178.231522][ T5835] bcachefs (loop0): going read-only [ 178.236848][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 178.244332][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 178.269490][ T1081] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 178.283124][ T1081] bcachefs (loop0): fatal error - emergency read only [ 178.291056][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 178.300983][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 178.308919][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 178.326956][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./47/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./47/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./47/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./47/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./47/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./47/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./47") = 0 [pid 5835] mkdir("./48", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6374 attached [pid 6374] set_robust_list(0x55557d035660, 24 [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 50 [pid 6374] <... set_robust_list resumed>) = 0 [pid 6374] chdir("./48") = 0 [pid 6374] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6374] setpgid(0, 0) = 0 [pid 6374] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6374] write(3, "1000", 4) = 4 [pid 6374] close(3) = 0 [pid 6374] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6374] write(1, "executing program\n", 18) = 18 [pid 6374] memfd_create("syzkaller", 0) = 3 [pid 6374] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6374] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6374] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6374] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6374] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6374] close(3) = 0 [pid 6374] close(4) = 0 [pid 6374] mkdir("./file1", 0777) = 0 [ 179.824591][ T6374] loop0: detected capacity change from 0 to 32768 [ 179.908749][ T6374] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 179.931719][ T6374] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 179.939919][ T6374] bcachefs (loop0): Version upgrade required: [ 179.939919][ T6374] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 179.939919][ T6374] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 179.939919][ T6374] 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 [ 180.012292][ T6374] bcachefs (loop0): dropping and reconstructing all alloc info [ 180.029277][ T6374] bcachefs (loop0): accounting_read... done [ 180.035535][ T6374] bcachefs (loop0): alloc_read... done [ 180.041215][ T6374] bcachefs (loop0): stripes_read... done [ 180.047147][ T6374] bcachefs (loop0): snapshots_read... done [pid 6374] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6374] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6374] chdir("./file1") = 0 [pid 6374] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 180.053194][ T6374] bcachefs (loop0): check_allocations... done [ 180.073161][ T6374] bcachefs (loop0): going read-write [ 180.081584][ T6374] bcachefs (loop0): done starting filesystem [pid 6374] ioctl(4, LOOP_CLR_FD) = 0 [pid 6374] close(4) = 0 [pid 6374] rename("./file2", "./file1") = 0 [pid 6374] close(3) = 0 [pid 6374] close(4) = -1 EBADF (Bad file descriptor) [pid 6374] close(5) = -1 EBADF (Bad file descriptor) [pid 6374] close(6) = -1 EBADF (Bad file descriptor) [pid 6374] close(7) = -1 EBADF (Bad file descriptor) [pid 6374] close(8) = -1 EBADF (Bad file descriptor) [pid 6374] close(9) = -1 EBADF (Bad file descriptor) [pid 6374] close(10) = -1 EBADF (Bad file descriptor) [pid 6374] close(11) = -1 EBADF (Bad file descriptor) [pid 6374] close(12) = -1 EBADF (Bad file descriptor) [pid 6374] close(13) = -1 EBADF (Bad file descriptor) [pid 6374] close(14) = -1 EBADF (Bad file descriptor) [pid 6374] close(15) = -1 EBADF (Bad file descriptor) [pid 6374] close(16) = -1 EBADF (Bad file descriptor) [pid 6374] close(17) = -1 EBADF (Bad file descriptor) [pid 6374] close(18) = -1 EBADF (Bad file descriptor) [pid 6374] close(19) = -1 EBADF (Bad file descriptor) [pid 6374] close(20) = -1 EBADF (Bad file descriptor) [pid 6374] close(21) = -1 EBADF (Bad file descriptor) [pid 6374] close(22) = -1 EBADF (Bad file descriptor) [pid 6374] close(23) = -1 EBADF (Bad file descriptor) [pid 6374] close(24) = -1 EBADF (Bad file descriptor) [pid 6374] close(25) = -1 EBADF (Bad file descriptor) [pid 6374] close(26) = -1 EBADF (Bad file descriptor) [pid 6374] close(27) = -1 EBADF (Bad file descriptor) [pid 6374] close(28) = -1 EBADF (Bad file descriptor) [pid 6374] close(29) = -1 EBADF (Bad file descriptor) [pid 6374] exit_group(0) = ? [pid 6374] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=50, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=29 /* 0.29 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./48", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./48", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./48/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./48/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./48/binderfs") = 0 [ 180.185964][ T5835] bcachefs (loop0): shutting down [ 180.191103][ T5835] bcachefs (loop0): going read-only [ 180.197103][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 180.204654][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 180.232874][ T1081] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 180.246266][ T1081] bcachefs (loop0): fatal error - emergency read only [ 180.253691][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 180.263782][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 180.271688][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 180.288968][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./48/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./48/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./48/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./48/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./48/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./48/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./48") = 0 [pid 5835] mkdir("./49", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6385 attached [pid 6385] set_robust_list(0x55557d035660, 24) = 0 [pid 6385] chdir("./49" [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 51 [pid 6385] <... chdir resumed>) = 0 [pid 6385] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6385] setpgid(0, 0) = 0 [pid 6385] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6385] write(3, "1000", 4) = 4 [pid 6385] close(3) = 0 [pid 6385] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6385] write(1, "executing program\n", 18executing program ) = 18 [pid 6385] memfd_create("syzkaller", 0) = 3 [pid 6385] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6385] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6385] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6385] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6385] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6385] close(3) = 0 [pid 6385] close(4) = 0 [pid 6385] mkdir("./file1", 0777) = 0 [ 181.752910][ T6385] loop0: detected capacity change from 0 to 32768 [ 181.833250][ T6385] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 181.856324][ T6385] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 181.864537][ T6385] bcachefs (loop0): Version upgrade required: [ 181.864537][ T6385] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 181.864537][ T6385] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 181.864537][ T6385] 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 [ 181.937749][ T6385] bcachefs (loop0): dropping and reconstructing all alloc info [ 181.954048][ T6385] bcachefs (loop0): accounting_read... done [ 181.960491][ T6385] bcachefs (loop0): alloc_read... done [ 181.966213][ T6385] bcachefs (loop0): stripes_read... done [ 181.971985][ T6385] bcachefs (loop0): snapshots_read... done [pid 6385] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6385] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6385] chdir("./file1") = 0 [pid 6385] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6385] ioctl(4, LOOP_CLR_FD) = 0 [ 181.978093][ T6385] bcachefs (loop0): check_allocations... done [ 181.998544][ T6385] bcachefs (loop0): going read-write [ 182.007909][ T6385] bcachefs (loop0): done starting filesystem [pid 6385] close(4) = 0 [pid 6385] rename("./file2", "./file1") = 0 [pid 6385] close(3) = 0 [pid 6385] close(4) = -1 EBADF (Bad file descriptor) [pid 6385] close(5) = -1 EBADF (Bad file descriptor) [pid 6385] close(6) = -1 EBADF (Bad file descriptor) [pid 6385] close(7) = -1 EBADF (Bad file descriptor) [pid 6385] close(8) = -1 EBADF (Bad file descriptor) [pid 6385] close(9) = -1 EBADF (Bad file descriptor) [pid 6385] close(10) = -1 EBADF (Bad file descriptor) [pid 6385] close(11) = -1 EBADF (Bad file descriptor) [pid 6385] close(12) = -1 EBADF (Bad file descriptor) [pid 6385] close(13) = -1 EBADF (Bad file descriptor) [pid 6385] close(14) = -1 EBADF (Bad file descriptor) [pid 6385] close(15) = -1 EBADF (Bad file descriptor) [pid 6385] close(16) = -1 EBADF (Bad file descriptor) [pid 6385] close(17) = -1 EBADF (Bad file descriptor) [pid 6385] close(18) = -1 EBADF (Bad file descriptor) [pid 6385] close(19) = -1 EBADF (Bad file descriptor) [pid 6385] close(20) = -1 EBADF (Bad file descriptor) [pid 6385] close(21) = -1 EBADF (Bad file descriptor) [pid 6385] close(22) = -1 EBADF (Bad file descriptor) [pid 6385] close(23) = -1 EBADF (Bad file descriptor) [pid 6385] close(24) = -1 EBADF (Bad file descriptor) [pid 6385] close(25) = -1 EBADF (Bad file descriptor) [pid 6385] close(26) = -1 EBADF (Bad file descriptor) [pid 6385] close(27) = -1 EBADF (Bad file descriptor) [pid 6385] close(28) = -1 EBADF (Bad file descriptor) [pid 6385] close(29) = -1 EBADF (Bad file descriptor) [pid 6385] exit_group(0) = ? [pid 6385] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=51, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=29 /* 0.29 s */} --- [pid 5835] umount2("./49", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./49", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./49/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./49/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./49/binderfs") = 0 [ 182.432966][ T5835] bcachefs (loop0): shutting down [ 182.438244][ T5835] bcachefs (loop0): going read-only [ 182.443473][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 182.451206][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 182.476939][ T3529] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 182.490174][ T3529] bcachefs (loop0): fatal error - emergency read only [ 182.497609][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 182.507515][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 182.515371][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 182.532967][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./49/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./49/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./49/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./49/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./49/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./49/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./49") = 0 [pid 5835] mkdir("./50", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6396 attached [pid 6396] set_robust_list(0x55557d035660, 24) = 0 [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 52 [pid 6396] chdir("./50") = 0 [pid 6396] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6396] setpgid(0, 0) = 0 [pid 6396] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6396] write(3, "1000", 4) = 4 [pid 6396] close(3) = 0 [pid 6396] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6396] write(1, "executing program\n", 18) = 18 [pid 6396] memfd_create("syzkaller", 0) = 3 [pid 6396] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6396] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6396] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6396] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6396] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6396] close(3) = 0 [pid 6396] close(4) = 0 [pid 6396] mkdir("./file1", 0777) = 0 [ 184.020400][ T6396] loop0: detected capacity change from 0 to 32768 [ 184.119775][ T6396] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 184.142344][ T6396] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 184.151034][ T6396] bcachefs (loop0): Version upgrade required: [ 184.151034][ T6396] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 184.151034][ T6396] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 184.151034][ T6396] 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 [ 184.223503][ T6396] bcachefs (loop0): dropping and reconstructing all alloc info [ 184.240396][ T6396] bcachefs (loop0): accounting_read... done [ 184.246873][ T6396] bcachefs (loop0): alloc_read... done [ 184.252476][ T6396] bcachefs (loop0): stripes_read... done [ 184.258314][ T6396] bcachefs (loop0): snapshots_read... done [pid 6396] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6396] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6396] chdir("./file1") = 0 [pid 6396] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 184.264445][ T6396] bcachefs (loop0): check_allocations... done [ 184.285698][ T6396] bcachefs (loop0): going read-write [ 184.294971][ T6396] bcachefs (loop0): done starting filesystem [pid 6396] ioctl(4, LOOP_CLR_FD) = 0 [pid 6396] close(4) = 0 [pid 6396] rename("./file2", "./file1") = 0 [pid 6396] close(3) = 0 [pid 6396] close(4) = -1 EBADF (Bad file descriptor) [pid 6396] close(5) = -1 EBADF (Bad file descriptor) [pid 6396] close(6) = -1 EBADF (Bad file descriptor) [pid 6396] close(7) = -1 EBADF (Bad file descriptor) [pid 6396] close(8) = -1 EBADF (Bad file descriptor) [pid 6396] close(9) = -1 EBADF (Bad file descriptor) [pid 6396] close(10) = -1 EBADF (Bad file descriptor) [pid 6396] close(11) = -1 EBADF (Bad file descriptor) [pid 6396] close(12) = -1 EBADF (Bad file descriptor) [pid 6396] close(13) = -1 EBADF (Bad file descriptor) [pid 6396] close(14) = -1 EBADF (Bad file descriptor) [pid 6396] close(15) = -1 EBADF (Bad file descriptor) [pid 6396] close(16) = -1 EBADF (Bad file descriptor) [pid 6396] close(17) = -1 EBADF (Bad file descriptor) [pid 6396] close(18) = -1 EBADF (Bad file descriptor) [pid 6396] close(19) = -1 EBADF (Bad file descriptor) [pid 6396] close(20) = -1 EBADF (Bad file descriptor) [pid 6396] close(21) = -1 EBADF (Bad file descriptor) [pid 6396] close(22) = -1 EBADF (Bad file descriptor) [pid 6396] close(23) = -1 EBADF (Bad file descriptor) [pid 6396] close(24) = -1 EBADF (Bad file descriptor) [pid 6396] close(25) = -1 EBADF (Bad file descriptor) [pid 6396] close(26) = -1 EBADF (Bad file descriptor) [pid 6396] close(27) = -1 EBADF (Bad file descriptor) [pid 6396] close(28) = -1 EBADF (Bad file descriptor) [pid 6396] close(29) = -1 EBADF (Bad file descriptor) [pid 6396] exit_group(0) = ? [pid 6396] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=52, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=30 /* 0.30 s */} --- [pid 5835] umount2("./50", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./50", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./50/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./50/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./50/binderfs") = 0 [ 184.728625][ T5835] bcachefs (loop0): shutting down [ 184.733721][ T5835] bcachefs (loop0): going read-only [ 184.739163][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 184.746832][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 184.773539][ T1081] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 184.787092][ T1081] bcachefs (loop0): fatal error - emergency read only [ 184.794711][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 184.804698][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 184.812628][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 184.830645][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./50/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./50/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./50/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./50/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./50/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./50/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./50") = 0 [pid 5835] mkdir("./51", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6407 attached [pid 6407] set_robust_list(0x55557d035660, 24 [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 53 [pid 6407] <... set_robust_list resumed>) = 0 [pid 6407] chdir("./51") = 0 [pid 6407] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6407] setpgid(0, 0) = 0 [pid 6407] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6407] write(3, "1000", 4) = 4 [pid 6407] close(3) = 0 [pid 6407] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6407] write(1, "executing program\n", 18executing program ) = 18 [pid 6407] memfd_create("syzkaller", 0) = 3 [pid 6407] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6407] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6407] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6407] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6407] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6407] close(3) = 0 [pid 6407] close(4) = 0 [pid 6407] mkdir("./file1", 0777) = 0 [ 186.260803][ T6407] loop0: detected capacity change from 0 to 32768 [ 186.342164][ T6407] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 186.365152][ T6407] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 186.373246][ T6407] bcachefs (loop0): Version upgrade required: [ 186.373246][ T6407] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 186.373246][ T6407] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 186.373246][ T6407] 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 [ 186.445907][ T6407] bcachefs (loop0): dropping and reconstructing all alloc info [ 186.462968][ T6407] bcachefs (loop0): accounting_read... done [ 186.469195][ T6407] bcachefs (loop0): alloc_read... done [ 186.474755][ T6407] bcachefs (loop0): stripes_read... done [ 186.480527][ T6407] bcachefs (loop0): snapshots_read... done [pid 6407] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6407] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6407] chdir("./file1") = 0 [ 186.486529][ T6407] bcachefs (loop0): check_allocations... done [ 186.506641][ T6407] bcachefs (loop0): going read-write [ 186.515904][ T6407] bcachefs (loop0): done starting filesystem [pid 6407] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6407] ioctl(4, LOOP_CLR_FD) = 0 [pid 6407] close(4) = 0 [pid 6407] rename("./file2", "./file1") = 0 [pid 6407] close(3) = 0 [pid 6407] close(4) = -1 EBADF (Bad file descriptor) [pid 6407] close(5) = -1 EBADF (Bad file descriptor) [pid 6407] close(6) = -1 EBADF (Bad file descriptor) [pid 6407] close(7) = -1 EBADF (Bad file descriptor) [pid 6407] close(8) = -1 EBADF (Bad file descriptor) [pid 6407] close(9) = -1 EBADF (Bad file descriptor) [pid 6407] close(10) = -1 EBADF (Bad file descriptor) [pid 6407] close(11) = -1 EBADF (Bad file descriptor) [pid 6407] close(12) = -1 EBADF (Bad file descriptor) [pid 6407] close(13) = -1 EBADF (Bad file descriptor) [pid 6407] close(14) = -1 EBADF (Bad file descriptor) [pid 6407] close(15) = -1 EBADF (Bad file descriptor) [pid 6407] close(16) = -1 EBADF (Bad file descriptor) [pid 6407] close(17) = -1 EBADF (Bad file descriptor) [pid 6407] close(18) = -1 EBADF (Bad file descriptor) [pid 6407] close(19) = -1 EBADF (Bad file descriptor) [pid 6407] close(20) = -1 EBADF (Bad file descriptor) [pid 6407] close(21) = -1 EBADF (Bad file descriptor) [pid 6407] close(22) = -1 EBADF (Bad file descriptor) [pid 6407] close(23) = -1 EBADF (Bad file descriptor) [pid 6407] close(24) = -1 EBADF (Bad file descriptor) [pid 6407] close(25) = -1 EBADF (Bad file descriptor) [pid 6407] close(26) = -1 EBADF (Bad file descriptor) [pid 6407] close(27) = -1 EBADF (Bad file descriptor) [pid 6407] close(28) = -1 EBADF (Bad file descriptor) [pid 6407] close(29) = -1 EBADF (Bad file descriptor) [pid 6407] exit_group(0) = ? [pid 6407] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=53, si_uid=0, si_status=0, si_utime=0, si_stime=31 /* 0.31 s */} --- [pid 5835] umount2("./51", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./51", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./51/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./51/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./51/binderfs") = 0 [ 186.939873][ T5835] bcachefs (loop0): shutting down [ 186.944969][ T5835] bcachefs (loop0): going read-only [ 186.950340][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 186.957825][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 186.983120][ T1081] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 186.996605][ T1081] bcachefs (loop0): fatal error - emergency read only [ 187.003772][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 187.013942][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 187.021783][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 187.039895][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./51/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./51/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./51/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./51/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./51/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./51/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./51") = 0 [pid 5835] mkdir("./52", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6418 attached , child_tidptr=0x55557d035650) = 54 [pid 6418] set_robust_list(0x55557d035660, 24) = 0 [pid 6418] chdir("./52") = 0 [pid 6418] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6418] setpgid(0, 0) = 0 [pid 6418] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6418] write(3, "1000", 4) = 4 [pid 6418] close(3) = 0 [pid 6418] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6418] write(1, "executing program\n", 18) = 18 [pid 6418] memfd_create("syzkaller", 0) = 3 [pid 6418] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6418] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6418] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6418] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6418] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6418] close(3) = 0 [pid 6418] close(4) = 0 [pid 6418] mkdir("./file1", 0777) = 0 [ 188.429379][ T6418] loop0: detected capacity change from 0 to 32768 [ 188.516073][ T6418] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 188.538637][ T6418] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 188.547381][ T6418] bcachefs (loop0): Version upgrade required: [ 188.547381][ T6418] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 188.547381][ T6418] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 188.547381][ T6418] 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 [ 188.619604][ T6418] bcachefs (loop0): dropping and reconstructing all alloc info [ 188.636150][ T6418] bcachefs (loop0): accounting_read... done [ 188.642450][ T6418] bcachefs (loop0): alloc_read... done [ 188.648256][ T6418] bcachefs (loop0): stripes_read... done [ 188.654209][ T6418] bcachefs (loop0): snapshots_read... done [pid 6418] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6418] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6418] chdir("./file1") = 0 [pid 6418] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6418] ioctl(4, LOOP_CLR_FD) = 0 [pid 6418] close(4) = 0 [pid 6418] rename("./file2", "./file1") = 0 [pid 6418] close(3) = 0 [pid 6418] close(4) = -1 EBADF (Bad file descriptor) [pid 6418] close(5) = -1 EBADF (Bad file descriptor) [pid 6418] close(6) = -1 EBADF (Bad file descriptor) [pid 6418] close(7) = -1 EBADF (Bad file descriptor) [pid 6418] close(8) = -1 EBADF (Bad file descriptor) [pid 6418] close(9) = -1 EBADF (Bad file descriptor) [pid 6418] close(10) = -1 EBADF (Bad file descriptor) [pid 6418] close(11) = -1 EBADF (Bad file descriptor) [pid 6418] close(12) = -1 EBADF (Bad file descriptor) [pid 6418] close(13) = -1 EBADF (Bad file descriptor) [pid 6418] close(14) = -1 EBADF (Bad file descriptor) [pid 6418] close(15) = -1 EBADF (Bad file descriptor) [pid 6418] close(16) = -1 EBADF (Bad file descriptor) [pid 6418] close(17) = -1 EBADF (Bad file descriptor) [pid 6418] close(18) = -1 EBADF (Bad file descriptor) [pid 6418] close(19) = -1 EBADF (Bad file descriptor) [pid 6418] close(20) = -1 EBADF (Bad file descriptor) [pid 6418] close(21) = -1 EBADF (Bad file descriptor) [pid 6418] close(22) = -1 EBADF (Bad file descriptor) [pid 6418] close(23) = -1 EBADF (Bad file descriptor) [pid 6418] close(24) = -1 EBADF (Bad file descriptor) [pid 6418] close(25) = -1 EBADF (Bad file descriptor) [pid 6418] close(26) = -1 EBADF (Bad file descriptor) [ 188.660230][ T6418] bcachefs (loop0): check_allocations... done [ 188.680666][ T6418] bcachefs (loop0): going read-write [ 188.689924][ T6418] bcachefs (loop0): done starting filesystem [pid 6418] close(27) = -1 EBADF (Bad file descriptor) [pid 6418] close(28) = -1 EBADF (Bad file descriptor) [pid 6418] close(29) = -1 EBADF (Bad file descriptor) [pid 6418] exit_group(0) = ? [pid 6418] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=54, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=27 /* 0.27 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./52", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./52", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./52/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./52/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./52/binderfs") = 0 [ 188.867530][ T5835] bcachefs (loop0): shutting down [ 188.872641][ T5835] bcachefs (loop0): going read-only [ 188.878424][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 188.886362][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 188.913155][ T62] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 188.926118][ T62] bcachefs (loop0): fatal error - emergency read only [ 188.933333][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 188.943465][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 188.951395][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 188.969230][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./52/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./52/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./52/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./52/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./52/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./52/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./52") = 0 [pid 5835] mkdir("./53", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6429 attached [pid 6429] set_robust_list(0x55557d035660, 24) = 0 [pid 6429] chdir("./53" [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 55 [pid 6429] <... chdir resumed>) = 0 [pid 6429] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6429] setpgid(0, 0) = 0 [pid 6429] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6429] write(3, "1000", 4) = 4 [pid 6429] close(3) = 0 [pid 6429] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6429] write(1, "executing program\n", 18executing program ) = 18 [pid 6429] memfd_create("syzkaller", 0) = 3 [pid 6429] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6429] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6429] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6429] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6429] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6429] close(3) = 0 [pid 6429] close(4) = 0 [pid 6429] mkdir("./file1", 0777) = 0 [ 190.408930][ T6429] loop0: detected capacity change from 0 to 32768 [ 190.503708][ T6429] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 190.526321][ T6429] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 190.534384][ T6429] bcachefs (loop0): Version upgrade required: [ 190.534384][ T6429] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 190.534384][ T6429] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 190.534384][ T6429] 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 [ 190.607239][ T6429] bcachefs (loop0): dropping and reconstructing all alloc info [ 190.623590][ T6429] bcachefs (loop0): accounting_read... done [ 190.630095][ T6429] bcachefs (loop0): alloc_read... done [ 190.635734][ T6429] bcachefs (loop0): stripes_read... done [ 190.641533][ T6429] bcachefs (loop0): snapshots_read... done [pid 6429] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6429] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6429] chdir("./file1") = 0 [ 190.647619][ T6429] bcachefs (loop0): check_allocations... done [ 190.668614][ T6429] bcachefs (loop0): going read-write [ 190.677843][ T6429] bcachefs (loop0): done starting filesystem [pid 6429] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6429] ioctl(4, LOOP_CLR_FD) = 0 [pid 6429] close(4) = 0 [pid 6429] rename("./file2", "./file1") = 0 [pid 6429] close(3) = 0 [pid 6429] close(4) = -1 EBADF (Bad file descriptor) [pid 6429] close(5) = -1 EBADF (Bad file descriptor) [pid 6429] close(6) = -1 EBADF (Bad file descriptor) [pid 6429] close(7) = -1 EBADF (Bad file descriptor) [pid 6429] close(8) = -1 EBADF (Bad file descriptor) [pid 6429] close(9) = -1 EBADF (Bad file descriptor) [pid 6429] close(10) = -1 EBADF (Bad file descriptor) [pid 6429] close(11) = -1 EBADF (Bad file descriptor) [pid 6429] close(12) = -1 EBADF (Bad file descriptor) [pid 6429] close(13) = -1 EBADF (Bad file descriptor) [pid 6429] close(14) = -1 EBADF (Bad file descriptor) [pid 6429] close(15) = -1 EBADF (Bad file descriptor) [pid 6429] close(16) = -1 EBADF (Bad file descriptor) [pid 6429] close(17) = -1 EBADF (Bad file descriptor) [pid 6429] close(18) = -1 EBADF (Bad file descriptor) [pid 6429] close(19) = -1 EBADF (Bad file descriptor) [pid 6429] close(20) = -1 EBADF (Bad file descriptor) [pid 6429] close(21) = -1 EBADF (Bad file descriptor) [pid 6429] close(22) = -1 EBADF (Bad file descriptor) [pid 6429] close(23) = -1 EBADF (Bad file descriptor) [pid 6429] close(24) = -1 EBADF (Bad file descriptor) [pid 6429] close(25) = -1 EBADF (Bad file descriptor) [pid 6429] close(26) = -1 EBADF (Bad file descriptor) [pid 6429] close(27) = -1 EBADF (Bad file descriptor) [pid 6429] close(28) = -1 EBADF (Bad file descriptor) [pid 6429] close(29) = -1 EBADF (Bad file descriptor) [pid 6429] exit_group(0) = ? [pid 6429] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=55, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=32 /* 0.32 s */} --- [pid 5835] umount2("./53", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./53", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./53/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./53/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./53/binderfs") = 0 [ 191.139534][ T5835] bcachefs (loop0): shutting down [ 191.144629][ T5835] bcachefs (loop0): going read-only [ 191.150068][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 191.157673][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 191.182703][ T62] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 191.195971][ T62] bcachefs (loop0): fatal error - emergency read only [ 191.203445][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 191.213450][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 191.221297][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 191.238699][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./53/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./53/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./53/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./53/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./53/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./53/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./53") = 0 [pid 5835] mkdir("./54", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6440 attached , child_tidptr=0x55557d035650) = 56 [pid 6440] set_robust_list(0x55557d035660, 24) = 0 [pid 6440] chdir("./54") = 0 [pid 6440] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6440] setpgid(0, 0) = 0 [pid 6440] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6440] write(3, "1000", 4) = 4 [pid 6440] close(3) = 0 [pid 6440] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6440] write(1, "executing program\n", 18executing program ) = 18 [pid 6440] memfd_create("syzkaller", 0) = 3 [pid 6440] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6440] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6440] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6440] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6440] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6440] close(3) = 0 [pid 6440] close(4) = 0 [pid 6440] mkdir("./file1", 0777) = 0 [ 192.809010][ T6440] loop0: detected capacity change from 0 to 32768 [ 192.892043][ T6440] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 192.914633][ T6440] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 192.922820][ T6440] bcachefs (loop0): Version upgrade required: [ 192.922820][ T6440] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 192.922820][ T6440] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 192.922820][ T6440] 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 [ 192.995193][ T6440] bcachefs (loop0): dropping and reconstructing all alloc info [ 193.012312][ T6440] bcachefs (loop0): accounting_read... done [ 193.018885][ T6440] bcachefs (loop0): alloc_read... done [ 193.024465][ T6440] bcachefs (loop0): stripes_read... done [ 193.030361][ T6440] bcachefs (loop0): snapshots_read... done [pid 6440] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6440] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6440] chdir("./file1") = 0 [pid 6440] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6440] ioctl(4, LOOP_CLR_FD) = 0 [ 193.036579][ T6440] bcachefs (loop0): check_allocations... done [ 193.057020][ T6440] bcachefs (loop0): going read-write [ 193.066383][ T6440] bcachefs (loop0): done starting filesystem [pid 6440] close(4) = 0 [pid 6440] rename("./file2", "./file1") = 0 [pid 6440] close(3) = 0 [pid 6440] close(4) = -1 EBADF (Bad file descriptor) [pid 6440] close(5) = -1 EBADF (Bad file descriptor) [pid 6440] close(6) = -1 EBADF (Bad file descriptor) [pid 6440] close(7) = -1 EBADF (Bad file descriptor) [pid 6440] close(8) = -1 EBADF (Bad file descriptor) [pid 6440] close(9) = -1 EBADF (Bad file descriptor) [pid 6440] close(10) = -1 EBADF (Bad file descriptor) [pid 6440] close(11) = -1 EBADF (Bad file descriptor) [pid 6440] close(12) = -1 EBADF (Bad file descriptor) [pid 6440] close(13) = -1 EBADF (Bad file descriptor) [pid 6440] close(14) = -1 EBADF (Bad file descriptor) [pid 6440] close(15) = -1 EBADF (Bad file descriptor) [pid 6440] close(16) = -1 EBADF (Bad file descriptor) [pid 6440] close(17) = -1 EBADF (Bad file descriptor) [pid 6440] close(18) = -1 EBADF (Bad file descriptor) [pid 6440] close(19) = -1 EBADF (Bad file descriptor) [pid 6440] close(20) = -1 EBADF (Bad file descriptor) [pid 6440] close(21) = -1 EBADF (Bad file descriptor) [pid 6440] close(22) = -1 EBADF (Bad file descriptor) [pid 6440] close(23) = -1 EBADF (Bad file descriptor) [pid 6440] close(24) = -1 EBADF (Bad file descriptor) [pid 6440] close(25) = -1 EBADF (Bad file descriptor) [pid 6440] close(26) = -1 EBADF (Bad file descriptor) [pid 6440] close(27) = -1 EBADF (Bad file descriptor) [pid 6440] close(28) = -1 EBADF (Bad file descriptor) [pid 6440] close(29) = -1 EBADF (Bad file descriptor) [pid 6440] exit_group(0) = ? [pid 6440] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=56, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=28 /* 0.28 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./54", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./54", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./54/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./54/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./54/binderfs") = 0 [ 193.467100][ T5835] bcachefs (loop0): shutting down [ 193.472198][ T5835] bcachefs (loop0): going read-only [ 193.477736][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 193.485469][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 193.510928][ T3529] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 193.524324][ T3529] bcachefs (loop0): fatal error - emergency read only [ 193.532154][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 193.542208][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 193.550260][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 193.567622][ T5835] bcachefs (loop0): shutdown complete [ 194.247457][ T1300] ieee802154 phy0 wpan0: encryption failed: -22 [ 194.253808][ T1300] ieee802154 phy1 wpan1: encryption failed: -22 [pid 5835] umount2("./54/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./54/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./54/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./54/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./54/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./54/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./54") = 0 [pid 5835] mkdir("./55", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6451 attached [pid 6451] set_robust_list(0x55557d035660, 24 [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 57 [pid 6451] <... set_robust_list resumed>) = 0 [pid 6451] chdir("./55") = 0 [pid 6451] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6451] setpgid(0, 0) = 0 [pid 6451] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6451] write(3, "1000", 4) = 4 [pid 6451] close(3) = 0 [pid 6451] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6451] write(1, "executing program\n", 18executing program ) = 18 [pid 6451] memfd_create("syzkaller", 0) = 3 [pid 6451] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6451] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6451] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6451] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6451] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6451] close(3) = 0 [pid 6451] close(4) = 0 [pid 6451] mkdir("./file1", 0777) = 0 [ 195.097875][ T6451] loop0: detected capacity change from 0 to 32768 [ 195.212159][ T6451] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 195.234845][ T6451] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 195.243049][ T6451] bcachefs (loop0): Version upgrade required: [ 195.243049][ T6451] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 195.243049][ T6451] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 195.243049][ T6451] 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 [ 195.315483][ T6451] bcachefs (loop0): dropping and reconstructing all alloc info [ 195.332572][ T6451] bcachefs (loop0): accounting_read... done [ 195.338991][ T6451] bcachefs (loop0): alloc_read... done [ 195.344582][ T6451] bcachefs (loop0): stripes_read... done [ 195.350636][ T6451] bcachefs (loop0): snapshots_read... done [pid 6451] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6451] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6451] chdir("./file1") = 0 [pid 6451] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6451] ioctl(4, LOOP_CLR_FD) = 0 [pid 6451] close(4) = 0 [pid 6451] rename("./file2", "./file1") = 0 [pid 6451] close(3) = 0 [ 195.356686][ T6451] bcachefs (loop0): check_allocations... done [ 195.377637][ T6451] bcachefs (loop0): going read-write [ 195.386907][ T6451] bcachefs (loop0): done starting filesystem [pid 6451] close(4) = -1 EBADF (Bad file descriptor) [pid 6451] close(5) = -1 EBADF (Bad file descriptor) [pid 6451] close(6) = -1 EBADF (Bad file descriptor) [pid 6451] close(7) = -1 EBADF (Bad file descriptor) [pid 6451] close(8) = -1 EBADF (Bad file descriptor) [pid 6451] close(9) = -1 EBADF (Bad file descriptor) [pid 6451] close(10) = -1 EBADF (Bad file descriptor) [pid 6451] close(11) = -1 EBADF (Bad file descriptor) [pid 6451] close(12) = -1 EBADF (Bad file descriptor) [pid 6451] close(13) = -1 EBADF (Bad file descriptor) [pid 6451] close(14) = -1 EBADF (Bad file descriptor) [pid 6451] close(15) = -1 EBADF (Bad file descriptor) [pid 6451] close(16) = -1 EBADF (Bad file descriptor) [pid 6451] close(17) = -1 EBADF (Bad file descriptor) [pid 6451] close(18) = -1 EBADF (Bad file descriptor) [pid 6451] close(19) = -1 EBADF (Bad file descriptor) [pid 6451] close(20) = -1 EBADF (Bad file descriptor) [pid 6451] close(21) = -1 EBADF (Bad file descriptor) [pid 6451] close(22) = -1 EBADF (Bad file descriptor) [pid 6451] close(23) = -1 EBADF (Bad file descriptor) [pid 6451] close(24) = -1 EBADF (Bad file descriptor) [pid 6451] close(25) = -1 EBADF (Bad file descriptor) [pid 6451] close(26) = -1 EBADF (Bad file descriptor) [pid 6451] close(27) = -1 EBADF (Bad file descriptor) [pid 6451] close(28) = -1 EBADF (Bad file descriptor) [pid 6451] close(29) = -1 EBADF (Bad file descriptor) [pid 6451] exit_group(0) = ? [pid 6451] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=57, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=24 /* 0.24 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./55", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./55", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./55/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./55/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./55/binderfs") = 0 [ 195.755641][ T5835] bcachefs (loop0): shutting down [ 195.760719][ T5835] bcachefs (loop0): going read-only [ 195.766152][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 195.773953][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 195.798302][ T1081] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 195.811576][ T1081] bcachefs (loop0): fatal error - emergency read only [ 195.819476][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 195.829346][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 195.837222][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 195.855458][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./55/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./55/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./55/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./55/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./55/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./55/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./55") = 0 [pid 5835] mkdir("./56", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6462 attached [pid 6462] set_robust_list(0x55557d035660, 24) = 0 [pid 6462] chdir("./56" [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 58 [pid 6462] <... chdir resumed>) = 0 [pid 6462] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6462] setpgid(0, 0) = 0 [pid 6462] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6462] write(3, "1000", 4) = 4 [pid 6462] close(3) = 0 [pid 6462] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6462] write(1, "executing program\n", 18executing program ) = 18 [pid 6462] memfd_create("syzkaller", 0) = 3 [pid 6462] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6462] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6462] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6462] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6462] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6462] close(3) = 0 [pid 6462] close(4) = 0 [pid 6462] mkdir("./file1", 0777) = 0 [ 197.392481][ T6462] loop0: detected capacity change from 0 to 32768 [ 197.473164][ T6462] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 197.495928][ T6462] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 197.504041][ T6462] bcachefs (loop0): Version upgrade required: [ 197.504041][ T6462] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 197.504041][ T6462] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 197.504041][ T6462] 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 [ 197.576995][ T6462] bcachefs (loop0): dropping and reconstructing all alloc info [ 197.593725][ T6462] bcachefs (loop0): accounting_read... done [ 197.600316][ T6462] bcachefs (loop0): alloc_read... done [ 197.606138][ T6462] bcachefs (loop0): stripes_read... done [ 197.611882][ T6462] bcachefs (loop0): snapshots_read... done [pid 6462] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6462] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6462] chdir("./file1") = 0 [pid 6462] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6462] ioctl(4, LOOP_CLR_FD) = 0 [pid 6462] close(4) = 0 [pid 6462] rename("./file2", "./file1") = 0 [pid 6462] close(3) = 0 [pid 6462] close(4) = -1 EBADF (Bad file descriptor) [ 197.618186][ T6462] bcachefs (loop0): check_allocations... done [ 197.638758][ T6462] bcachefs (loop0): going read-write [ 197.647517][ T6462] bcachefs (loop0): done starting filesystem [pid 6462] close(5) = -1 EBADF (Bad file descriptor) [pid 6462] close(6) = -1 EBADF (Bad file descriptor) [pid 6462] close(7) = -1 EBADF (Bad file descriptor) [pid 6462] close(8) = -1 EBADF (Bad file descriptor) [pid 6462] close(9) = -1 EBADF (Bad file descriptor) [pid 6462] close(10) = -1 EBADF (Bad file descriptor) [pid 6462] close(11) = -1 EBADF (Bad file descriptor) [pid 6462] close(12) = -1 EBADF (Bad file descriptor) [pid 6462] close(13) = -1 EBADF (Bad file descriptor) [pid 6462] close(14) = -1 EBADF (Bad file descriptor) [pid 6462] close(15) = -1 EBADF (Bad file descriptor) [pid 6462] close(16) = -1 EBADF (Bad file descriptor) [pid 6462] close(17) = -1 EBADF (Bad file descriptor) [pid 6462] close(18) = -1 EBADF (Bad file descriptor) [pid 6462] close(19) = -1 EBADF (Bad file descriptor) [pid 6462] close(20) = -1 EBADF (Bad file descriptor) [pid 6462] close(21) = -1 EBADF (Bad file descriptor) [pid 6462] close(22) = -1 EBADF (Bad file descriptor) [pid 6462] close(23) = -1 EBADF (Bad file descriptor) [pid 6462] close(24) = -1 EBADF (Bad file descriptor) [pid 6462] close(25) = -1 EBADF (Bad file descriptor) [pid 6462] close(26) = -1 EBADF (Bad file descriptor) [pid 6462] close(27) = -1 EBADF (Bad file descriptor) [pid 6462] close(28) = -1 EBADF (Bad file descriptor) [pid 6462] close(29) = -1 EBADF (Bad file descriptor) [pid 6462] exit_group(0) = ? [pid 6462] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=58, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=27 /* 0.27 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./56", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./56", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./56/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./56/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./56/binderfs") = 0 [ 198.047486][ T5835] bcachefs (loop0): shutting down [ 198.052605][ T5835] bcachefs (loop0): going read-only [ 198.057989][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 198.065649][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 198.091054][ T62] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 198.104273][ T62] bcachefs (loop0): fatal error - emergency read only [ 198.111780][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 198.121734][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 198.129669][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 198.148138][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./56/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./56/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./56/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./56/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./56/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./56/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./56") = 0 [pid 5835] mkdir("./57", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6473 attached [pid 6473] set_robust_list(0x55557d035660, 24 [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 59 [pid 6473] <... set_robust_list resumed>) = 0 [pid 6473] chdir("./57") = 0 [pid 6473] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6473] setpgid(0, 0) = 0 [pid 6473] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6473] write(3, "1000", 4) = 4 [pid 6473] close(3) = 0 [pid 6473] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6473] write(1, "executing program\n", 18) = 18 [pid 6473] memfd_create("syzkaller", 0) = 3 [pid 6473] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6473] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6473] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6473] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6473] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6473] close(3) = 0 [pid 6473] close(4) = 0 [pid 6473] mkdir("./file1", 0777) = 0 [ 199.620626][ T6473] loop0: detected capacity change from 0 to 32768 [ 199.697261][ T6473] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 199.720234][ T6473] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 199.728568][ T6473] bcachefs (loop0): Version upgrade required: [ 199.728568][ T6473] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 199.728568][ T6473] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 199.728568][ T6473] 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 [ 199.800927][ T6473] bcachefs (loop0): dropping and reconstructing all alloc info [ 199.818921][ T6473] bcachefs (loop0): accounting_read... done [ 199.825172][ T6473] bcachefs (loop0): alloc_read... done [ 199.830733][ T6473] bcachefs (loop0): stripes_read... done [ 199.836484][ T6473] bcachefs (loop0): snapshots_read... done [pid 6473] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6473] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6473] chdir("./file1") = 0 [pid 6473] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6473] ioctl(4, LOOP_CLR_FD) = 0 [pid 6473] close(4) = 0 [pid 6473] rename("./file2", "./file1") = 0 [pid 6473] close(3) = 0 [pid 6473] close(4) = -1 EBADF (Bad file descriptor) [pid 6473] close(5) = -1 EBADF (Bad file descriptor) [pid 6473] close(6) = -1 EBADF (Bad file descriptor) [pid 6473] close(7) = -1 EBADF (Bad file descriptor) [pid 6473] close(8) = -1 EBADF (Bad file descriptor) [pid 6473] close(9) = -1 EBADF (Bad file descriptor) [pid 6473] close(10) = -1 EBADF (Bad file descriptor) [pid 6473] close(11) = -1 EBADF (Bad file descriptor) [pid 6473] close(12) = -1 EBADF (Bad file descriptor) [pid 6473] close(13) = -1 EBADF (Bad file descriptor) [pid 6473] close(14) = -1 EBADF (Bad file descriptor) [pid 6473] close(15) = -1 EBADF (Bad file descriptor) [pid 6473] close(16) = -1 EBADF (Bad file descriptor) [pid 6473] close(17) = -1 EBADF (Bad file descriptor) [pid 6473] close(18) = -1 EBADF (Bad file descriptor) [pid 6473] close(19) = -1 EBADF (Bad file descriptor) [pid 6473] close(20) = -1 EBADF (Bad file descriptor) [pid 6473] close(21) = -1 EBADF (Bad file descriptor) [pid 6473] close(22) = -1 EBADF (Bad file descriptor) [pid 6473] close(23) = -1 EBADF (Bad file descriptor) [pid 6473] close(24) = -1 EBADF (Bad file descriptor) [pid 6473] close(25) = -1 EBADF (Bad file descriptor) [pid 6473] close(26) = -1 EBADF (Bad file descriptor) [pid 6473] close(27) = -1 EBADF (Bad file descriptor) [pid 6473] close(28) = -1 EBADF (Bad file descriptor) [pid 6473] close(29) = -1 EBADF (Bad file descriptor) [pid 6473] exit_group(0) = ? [ 199.842457][ T6473] bcachefs (loop0): check_allocations... done [ 199.862856][ T6473] bcachefs (loop0): going read-write [ 199.871940][ T6473] bcachefs (loop0): done starting filesystem [pid 6473] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=59, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=31 /* 0.31 s */} --- [pid 5835] umount2("./57", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./57", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./57/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./57/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./57/binderfs") = 0 [ 200.064120][ T5835] bcachefs (loop0): shutting down [ 200.069409][ T5835] bcachefs (loop0): going read-only [ 200.074638][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 200.082449][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 200.108381][ T1081] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 200.121930][ T1081] bcachefs (loop0): fatal error - emergency read only [ 200.129290][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 15 [ 200.139205][ T5835] bcachefs (loop0): unshutdown complete, journal seq 15 [ 200.147334][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 200.164897][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./57/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./57/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./57/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./57/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./57/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./57/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./57") = 0 [pid 5835] mkdir("./58", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6485 attached [pid 6485] set_robust_list(0x55557d035660, 24) = 0 [pid 6485] chdir("./58" [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 60 [pid 6485] <... chdir resumed>) = 0 [pid 6485] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6485] setpgid(0, 0) = 0 [pid 6485] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6485] write(3, "1000", 4) = 4 [pid 6485] close(3) = 0 [pid 6485] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6485] write(1, "executing program\n", 18) = 18 [pid 6485] memfd_create("syzkaller", 0) = 3 [pid 6485] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6485] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6485] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6485] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6485] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6485] close(3) = 0 [pid 6485] close(4) = 0 [pid 6485] mkdir("./file1", 0777) = 0 [ 201.736163][ T6485] loop0: detected capacity change from 0 to 32768 [ 201.816660][ T6485] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 201.839228][ T6485] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 201.847487][ T6485] bcachefs (loop0): Version upgrade required: [ 201.847487][ T6485] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 201.847487][ T6485] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 201.847487][ T6485] 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 [ 201.919911][ T6485] bcachefs (loop0): dropping and reconstructing all alloc info [ 201.937672][ T6485] bcachefs (loop0): accounting_read... done [ 201.943854][ T6485] bcachefs (loop0): alloc_read... done [ 201.949567][ T6485] bcachefs (loop0): stripes_read... done [ 201.955532][ T6485] bcachefs (loop0): snapshots_read... done [pid 6485] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6485] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6485] chdir("./file1") = 0 [ 201.961471][ T6485] bcachefs (loop0): check_allocations... done [ 201.981543][ T6485] bcachefs (loop0): going read-write [ 201.989946][ T6485] bcachefs (loop0): done starting filesystem [pid 6485] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6485] ioctl(4, LOOP_CLR_FD) = 0 [pid 6485] close(4) = 0 [pid 6485] rename("./file2", "./file1") = 0 [pid 6485] close(3) = 0 [pid 6485] close(4) = -1 EBADF (Bad file descriptor) [pid 6485] close(5) = -1 EBADF (Bad file descriptor) [pid 6485] close(6) = -1 EBADF (Bad file descriptor) [pid 6485] close(7) = -1 EBADF (Bad file descriptor) [pid 6485] close(8) = -1 EBADF (Bad file descriptor) [pid 6485] close(9) = -1 EBADF (Bad file descriptor) [pid 6485] close(10) = -1 EBADF (Bad file descriptor) [pid 6485] close(11) = -1 EBADF (Bad file descriptor) [pid 6485] close(12) = -1 EBADF (Bad file descriptor) [pid 6485] close(13) = -1 EBADF (Bad file descriptor) [pid 6485] close(14) = -1 EBADF (Bad file descriptor) [pid 6485] close(15) = -1 EBADF (Bad file descriptor) [pid 6485] close(16) = -1 EBADF (Bad file descriptor) [pid 6485] close(17) = -1 EBADF (Bad file descriptor) [pid 6485] close(18) = -1 EBADF (Bad file descriptor) [pid 6485] close(19) = -1 EBADF (Bad file descriptor) [pid 6485] close(20) = -1 EBADF (Bad file descriptor) [pid 6485] close(21) = -1 EBADF (Bad file descriptor) [pid 6485] close(22) = -1 EBADF (Bad file descriptor) [pid 6485] close(23) = -1 EBADF (Bad file descriptor) [pid 6485] close(24) = -1 EBADF (Bad file descriptor) [pid 6485] close(25) = -1 EBADF (Bad file descriptor) [pid 6485] close(26) = -1 EBADF (Bad file descriptor) [pid 6485] close(27) = -1 EBADF (Bad file descriptor) [pid 6485] close(28) = -1 EBADF (Bad file descriptor) [pid 6485] close(29) = -1 EBADF (Bad file descriptor) [pid 6485] exit_group(0) = ? [pid 6485] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=60, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=29 /* 0.29 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./58", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./58", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./58/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./58/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./58/binderfs") = 0 [ 202.443045][ T5835] bcachefs (loop0): shutting down [ 202.448298][ T5835] bcachefs (loop0): going read-only [ 202.453532][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 202.461435][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 202.487271][ T62] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 202.500288][ T62] bcachefs (loop0): fatal error - emergency read only [ 202.508469][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 202.518381][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 202.526224][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 202.544005][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./58/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./58/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./58/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./58/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./58/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./58/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./58") = 0 [pid 5835] mkdir("./59", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6496 attached [pid 6496] set_robust_list(0x55557d035660, 24) = 0 [pid 6496] chdir("./59") = 0 [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 61 [pid 6496] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6496] setpgid(0, 0) = 0 [pid 6496] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6496] write(3, "1000", 4) = 4 [pid 6496] close(3) = 0 [pid 6496] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6496] write(1, "executing program\n", 18) = 18 [pid 6496] memfd_create("syzkaller", 0) = 3 [pid 6496] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6496] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6496] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6496] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6496] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6496] close(3) = 0 [pid 6496] close(4) = 0 [pid 6496] mkdir("./file1", 0777) = 0 [ 203.978849][ T6496] loop0: detected capacity change from 0 to 32768 [ 204.064210][ T6496] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 204.086879][ T6496] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 204.094963][ T6496] bcachefs (loop0): Version upgrade required: [ 204.094963][ T6496] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 204.094963][ T6496] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 204.094963][ T6496] 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 [ 204.167341][ T6496] bcachefs (loop0): dropping and reconstructing all alloc info [ 204.183866][ T6496] bcachefs (loop0): accounting_read... done [ 204.190472][ T6496] bcachefs (loop0): alloc_read... done [ 204.196194][ T6496] bcachefs (loop0): stripes_read... done [ 204.201884][ T6496] bcachefs (loop0): snapshots_read... done [pid 6496] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6496] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6496] chdir("./file1") = 0 [ 204.207884][ T6496] bcachefs (loop0): check_allocations... done [ 204.228101][ T6496] bcachefs (loop0): going read-write [ 204.236857][ T6496] bcachefs (loop0): done starting filesystem [pid 6496] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6496] ioctl(4, LOOP_CLR_FD) = 0 [pid 6496] close(4) = 0 [pid 6496] rename("./file2", "./file1") = 0 [pid 6496] close(3) = 0 [pid 6496] close(4) = -1 EBADF (Bad file descriptor) [pid 6496] close(5) = -1 EBADF (Bad file descriptor) [pid 6496] close(6) = -1 EBADF (Bad file descriptor) [pid 6496] close(7) = -1 EBADF (Bad file descriptor) [pid 6496] close(8) = -1 EBADF (Bad file descriptor) [pid 6496] close(9) = -1 EBADF (Bad file descriptor) [pid 6496] close(10) = -1 EBADF (Bad file descriptor) [pid 6496] close(11) = -1 EBADF (Bad file descriptor) [pid 6496] close(12) = -1 EBADF (Bad file descriptor) [pid 6496] close(13) = -1 EBADF (Bad file descriptor) [pid 6496] close(14) = -1 EBADF (Bad file descriptor) [pid 6496] close(15) = -1 EBADF (Bad file descriptor) [pid 6496] close(16) = -1 EBADF (Bad file descriptor) [pid 6496] close(17) = -1 EBADF (Bad file descriptor) [pid 6496] close(18) = -1 EBADF (Bad file descriptor) [pid 6496] close(19) = -1 EBADF (Bad file descriptor) [pid 6496] close(20) = -1 EBADF (Bad file descriptor) [pid 6496] close(21) = -1 EBADF (Bad file descriptor) [pid 6496] close(22) = -1 EBADF (Bad file descriptor) [pid 6496] close(23) = -1 EBADF (Bad file descriptor) [pid 6496] close(24) = -1 EBADF (Bad file descriptor) [pid 6496] close(25) = -1 EBADF (Bad file descriptor) [pid 6496] close(26) = -1 EBADF (Bad file descriptor) [pid 6496] close(27) = -1 EBADF (Bad file descriptor) [pid 6496] close(28) = -1 EBADF (Bad file descriptor) [pid 6496] close(29) = -1 EBADF (Bad file descriptor) [pid 6496] exit_group(0) = ? [pid 6496] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=61, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=25 /* 0.25 s */} --- [pid 5835] umount2("./59", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./59", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./59/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./59/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./59/binderfs") = 0 [ 204.564616][ T5835] bcachefs (loop0): shutting down [ 204.569878][ T5835] bcachefs (loop0): going read-only [ 204.575738][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 204.583481][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 204.615727][ T1081] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 204.630971][ T1081] bcachefs (loop0): fatal error - emergency read only [ 204.639484][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 204.649895][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 204.658527][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 204.682853][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./59/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./59/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./59/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./59/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./59/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./59/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./59") = 0 [pid 5835] mkdir("./60", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6507 attached [pid 6507] set_robust_list(0x55557d035660, 24) = 0 [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 62 [pid 6507] chdir("./60") = 0 [pid 6507] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6507] setpgid(0, 0) = 0 [pid 6507] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6507] write(3, "1000", 4) = 4 [pid 6507] close(3) = 0 [pid 6507] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 6507] write(1, "executing program\n", 18) = 18 [pid 6507] memfd_create("syzkaller", 0) = 3 [pid 6507] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6507] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6507] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6507] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6507] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6507] close(3) = 0 [pid 6507] close(4) = 0 [pid 6507] mkdir("./file1", 0777) = 0 [ 206.209726][ T6507] loop0: detected capacity change from 0 to 32768 [ 206.291224][ T6507] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 206.313878][ T6507] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 206.322059][ T6507] bcachefs (loop0): Version upgrade required: [ 206.322059][ T6507] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 206.322059][ T6507] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 206.322059][ T6507] 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 [ 206.394393][ T6507] bcachefs (loop0): dropping and reconstructing all alloc info [ 206.411096][ T6507] bcachefs (loop0): accounting_read... done [ 206.417322][ T6507] bcachefs (loop0): alloc_read... done [ 206.422878][ T6507] bcachefs (loop0): stripes_read... done [ 206.428625][ T6507] bcachefs (loop0): snapshots_read... done [pid 6507] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6507] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6507] chdir("./file1") = 0 [ 206.434609][ T6507] bcachefs (loop0): check_allocations... done [ 206.454846][ T6507] bcachefs (loop0): going read-write [ 206.464154][ T6507] bcachefs (loop0): done starting filesystem [pid 6507] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6507] ioctl(4, LOOP_CLR_FD) = 0 [pid 6507] close(4) = 0 [pid 6507] rename("./file2", "./file1") = 0 [pid 6507] close(3) = 0 [pid 6507] close(4) = -1 EBADF (Bad file descriptor) [pid 6507] close(5) = -1 EBADF (Bad file descriptor) [pid 6507] close(6) = -1 EBADF (Bad file descriptor) [pid 6507] close(7) = -1 EBADF (Bad file descriptor) [pid 6507] close(8) = -1 EBADF (Bad file descriptor) [pid 6507] close(9) = -1 EBADF (Bad file descriptor) [pid 6507] close(10) = -1 EBADF (Bad file descriptor) [pid 6507] close(11) = -1 EBADF (Bad file descriptor) [pid 6507] close(12) = -1 EBADF (Bad file descriptor) [pid 6507] close(13) = -1 EBADF (Bad file descriptor) [pid 6507] close(14) = -1 EBADF (Bad file descriptor) [pid 6507] close(15) = -1 EBADF (Bad file descriptor) [pid 6507] close(16) = -1 EBADF (Bad file descriptor) [pid 6507] close(17) = -1 EBADF (Bad file descriptor) [pid 6507] close(18) = -1 EBADF (Bad file descriptor) [pid 6507] close(19) = -1 EBADF (Bad file descriptor) [pid 6507] close(20) = -1 EBADF (Bad file descriptor) [pid 6507] close(21) = -1 EBADF (Bad file descriptor) [pid 6507] close(22) = -1 EBADF (Bad file descriptor) [pid 6507] close(23) = -1 EBADF (Bad file descriptor) [pid 6507] close(24) = -1 EBADF (Bad file descriptor) [pid 6507] close(25) = -1 EBADF (Bad file descriptor) [pid 6507] close(26) = -1 EBADF (Bad file descriptor) [pid 6507] close(27) = -1 EBADF (Bad file descriptor) [pid 6507] close(28) = -1 EBADF (Bad file descriptor) [pid 6507] close(29) = -1 EBADF (Bad file descriptor) [pid 6507] exit_group(0) = ? [pid 6507] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=62, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=29 /* 0.29 s */} --- [pid 5835] umount2("./60", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./60", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./60/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./60/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./60/binderfs") = 0 [ 206.886833][ T5835] bcachefs (loop0): shutting down [ 206.891908][ T5835] bcachefs (loop0): going read-only [ 206.897264][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 206.904716][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 206.932368][ T62] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 206.946084][ T62] bcachefs (loop0): fatal error - emergency read only [ 206.953323][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 206.963201][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 206.971523][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 206.988867][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./60/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./60/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./60/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./60/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./60/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./60/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./60") = 0 [pid 5835] mkdir("./61", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6518 attached [pid 6518] set_robust_list(0x55557d035660, 24) = 0 [pid 6518] chdir("./61" [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 63 [pid 6518] <... chdir resumed>) = 0 [pid 6518] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6518] setpgid(0, 0) = 0 [pid 6518] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6518] write(3, "1000", 4) = 4 [pid 6518] close(3) = 0 [pid 6518] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6518] write(1, "executing program\n", 18executing program ) = 18 [pid 6518] memfd_create("syzkaller", 0) = 3 [pid 6518] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6518] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6518] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6518] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6518] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6518] close(3) = 0 [pid 6518] close(4) = 0 [pid 6518] mkdir("./file1", 0777) = 0 [ 208.430135][ T6518] loop0: detected capacity change from 0 to 32768 [ 208.528504][ T6518] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 208.551216][ T6518] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 208.559647][ T6518] bcachefs (loop0): Version upgrade required: [ 208.559647][ T6518] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 208.559647][ T6518] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 208.559647][ T6518] 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 [ 208.632102][ T6518] bcachefs (loop0): dropping and reconstructing all alloc info [ 208.648727][ T6518] bcachefs (loop0): accounting_read... done [ 208.655699][ T6518] bcachefs (loop0): alloc_read... done [ 208.661321][ T6518] bcachefs (loop0): stripes_read... done [ 208.667419][ T6518] bcachefs (loop0): snapshots_read... done [pid 6518] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6518] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6518] chdir("./file1") = 0 [ 208.673572][ T6518] bcachefs (loop0): check_allocations... done [ 208.696260][ T6518] bcachefs (loop0): going read-write [ 208.705884][ T6518] bcachefs (loop0): done starting filesystem [pid 6518] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6518] ioctl(4, LOOP_CLR_FD) = 0 [pid 6518] close(4) = 0 [pid 6518] rename("./file2", "./file1") = 0 [pid 6518] close(3) = 0 [pid 6518] close(4) = -1 EBADF (Bad file descriptor) [pid 6518] close(5) = -1 EBADF (Bad file descriptor) [pid 6518] close(6) = -1 EBADF (Bad file descriptor) [pid 6518] close(7) = -1 EBADF (Bad file descriptor) [pid 6518] close(8) = -1 EBADF (Bad file descriptor) [pid 6518] close(9) = -1 EBADF (Bad file descriptor) [pid 6518] close(10) = -1 EBADF (Bad file descriptor) [pid 6518] close(11) = -1 EBADF (Bad file descriptor) [pid 6518] close(12) = -1 EBADF (Bad file descriptor) [pid 6518] close(13) = -1 EBADF (Bad file descriptor) [pid 6518] close(14) = -1 EBADF (Bad file descriptor) [pid 6518] close(15) = -1 EBADF (Bad file descriptor) [pid 6518] close(16) = -1 EBADF (Bad file descriptor) [pid 6518] close(17) = -1 EBADF (Bad file descriptor) [pid 6518] close(18) = -1 EBADF (Bad file descriptor) [pid 6518] close(19) = -1 EBADF (Bad file descriptor) [pid 6518] close(20) = -1 EBADF (Bad file descriptor) [pid 6518] close(21) = -1 EBADF (Bad file descriptor) [pid 6518] close(22) = -1 EBADF (Bad file descriptor) [pid 6518] close(23) = -1 EBADF (Bad file descriptor) [pid 6518] close(24) = -1 EBADF (Bad file descriptor) [pid 6518] close(25) = -1 EBADF (Bad file descriptor) [pid 6518] close(26) = -1 EBADF (Bad file descriptor) [pid 6518] close(27) = -1 EBADF (Bad file descriptor) [pid 6518] close(28) = -1 EBADF (Bad file descriptor) [pid 6518] close(29) = -1 EBADF (Bad file descriptor) [pid 6518] exit_group(0) = ? [pid 6518] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=63, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=32 /* 0.32 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./61", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./61", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./61/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./61/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./61/binderfs") = 0 [ 209.160006][ T5835] bcachefs (loop0): shutting down [ 209.165200][ T5835] bcachefs (loop0): going read-only [ 209.170415][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 209.178120][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 209.203891][ T1081] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 209.216801][ T1081] bcachefs (loop0): fatal error - emergency read only [ 209.224042][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 209.234605][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 209.242496][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 209.260453][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./61/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./61/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./61/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./61/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./61/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./61/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./61") = 0 [pid 5835] mkdir("./62", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6529 attached [pid 6529] set_robust_list(0x55557d035660, 24) = 0 [pid 6529] chdir("./62" [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 64 [pid 6529] <... chdir resumed>) = 0 [pid 6529] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6529] setpgid(0, 0) = 0 [pid 6529] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6529] write(3, "1000", 4) = 4 [pid 6529] close(3) = 0 [pid 6529] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6529] write(1, "executing program\n", 18executing program ) = 18 [pid 6529] memfd_create("syzkaller", 0) = 3 [pid 6529] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6529] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6529] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6529] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6529] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6529] close(3) = 0 [pid 6529] close(4) = 0 [pid 6529] mkdir("./file1", 0777) = 0 [ 210.701302][ T6529] loop0: detected capacity change from 0 to 32768 [ 210.774479][ T6529] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 210.797094][ T6529] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 210.805546][ T6529] bcachefs (loop0): Version upgrade required: [ 210.805546][ T6529] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 210.805546][ T6529] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 210.805546][ T6529] 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 [ 210.877945][ T6529] bcachefs (loop0): dropping and reconstructing all alloc info [ 210.894625][ T6529] bcachefs (loop0): accounting_read... done [ 210.901356][ T6529] bcachefs (loop0): alloc_read... done [ 210.907113][ T6529] bcachefs (loop0): stripes_read... done [ 210.912880][ T6529] bcachefs (loop0): snapshots_read... done [pid 6529] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6529] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6529] chdir("./file1") = 0 [ 210.918895][ T6529] bcachefs (loop0): check_allocations... done [ 210.939248][ T6529] bcachefs (loop0): going read-write [ 210.948268][ T6529] bcachefs (loop0): done starting filesystem [pid 6529] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6529] ioctl(4, LOOP_CLR_FD) = 0 [pid 6529] close(4) = 0 [pid 6529] rename("./file2", "./file1") = 0 [pid 6529] close(3) = 0 [pid 6529] close(4) = -1 EBADF (Bad file descriptor) [pid 6529] close(5) = -1 EBADF (Bad file descriptor) [pid 6529] close(6) = -1 EBADF (Bad file descriptor) [pid 6529] close(7) = -1 EBADF (Bad file descriptor) [pid 6529] close(8) = -1 EBADF (Bad file descriptor) [pid 6529] close(9) = -1 EBADF (Bad file descriptor) [pid 6529] close(10) = -1 EBADF (Bad file descriptor) [pid 6529] close(11) = -1 EBADF (Bad file descriptor) [pid 6529] close(12) = -1 EBADF (Bad file descriptor) [pid 6529] close(13) = -1 EBADF (Bad file descriptor) [pid 6529] close(14) = -1 EBADF (Bad file descriptor) [pid 6529] close(15) = -1 EBADF (Bad file descriptor) [pid 6529] close(16) = -1 EBADF (Bad file descriptor) [pid 6529] close(17) = -1 EBADF (Bad file descriptor) [pid 6529] close(18) = -1 EBADF (Bad file descriptor) [pid 6529] close(19) = -1 EBADF (Bad file descriptor) [pid 6529] close(20) = -1 EBADF (Bad file descriptor) [pid 6529] close(21) = -1 EBADF (Bad file descriptor) [pid 6529] close(22) = -1 EBADF (Bad file descriptor) [pid 6529] close(23) = -1 EBADF (Bad file descriptor) [pid 6529] close(24) = -1 EBADF (Bad file descriptor) [pid 6529] close(25) = -1 EBADF (Bad file descriptor) [pid 6529] close(26) = -1 EBADF (Bad file descriptor) [pid 6529] close(27) = -1 EBADF (Bad file descriptor) [pid 6529] close(28) = -1 EBADF (Bad file descriptor) [pid 6529] close(29) = -1 EBADF (Bad file descriptor) [pid 6529] exit_group(0) = ? [pid 6529] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=64, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=30 /* 0.30 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./62", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./62", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./62/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./62/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./62/binderfs") = 0 [ 211.400653][ T5835] bcachefs (loop0): shutting down [ 211.405913][ T5835] bcachefs (loop0): going read-only [ 211.411150][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 211.418995][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 211.444919][ T3529] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 211.458361][ T3529] bcachefs (loop0): fatal error - emergency read only [ 211.465903][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 211.475780][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 211.483403][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 211.501973][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./62/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./62/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./62/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./62/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./62/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./62/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./62") = 0 [pid 5835] mkdir("./63", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6540 attached [pid 6540] set_robust_list(0x55557d035660, 24) = 0 [pid 6540] chdir("./63" [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 65 [pid 6540] <... chdir resumed>) = 0 [pid 6540] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6540] setpgid(0, 0) = 0 [pid 6540] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6540] write(3, "1000", 4) = 4 [pid 6540] close(3) = 0 [pid 6540] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6540] write(1, "executing program\n", 18) = 18 [pid 6540] memfd_create("syzkaller", 0) = 3 [pid 6540] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6540] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6540] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6540] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6540] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6540] close(3) = 0 [pid 6540] close(4) = 0 [pid 6540] mkdir("./file1", 0777) = 0 [ 213.026908][ T6540] loop0: detected capacity change from 0 to 32768 [ 213.104993][ T6540] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 213.128340][ T6540] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 213.136671][ T6540] bcachefs (loop0): Version upgrade required: [ 213.136671][ T6540] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 213.136671][ T6540] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 213.136671][ T6540] 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 [ 213.208948][ T6540] bcachefs (loop0): dropping and reconstructing all alloc info [ 213.225553][ T6540] bcachefs (loop0): accounting_read... done [ 213.231750][ T6540] bcachefs (loop0): alloc_read... done [ 213.237474][ T6540] bcachefs (loop0): stripes_read... done [ 213.243194][ T6540] bcachefs (loop0): snapshots_read... done [pid 6540] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6540] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6540] chdir("./file1") = 0 [pid 6540] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6540] ioctl(4, LOOP_CLR_FD) = 0 [pid 6540] close(4) = 0 [pid 6540] rename("./file2", "./file1") = 0 [ 213.249188][ T6540] bcachefs (loop0): check_allocations... done [ 213.269642][ T6540] bcachefs (loop0): going read-write [ 213.278461][ T6540] bcachefs (loop0): done starting filesystem [pid 6540] close(3) = 0 [pid 6540] close(4) = -1 EBADF (Bad file descriptor) [pid 6540] close(5) = -1 EBADF (Bad file descriptor) [pid 6540] close(6) = -1 EBADF (Bad file descriptor) [pid 6540] close(7) = -1 EBADF (Bad file descriptor) [pid 6540] close(8) = -1 EBADF (Bad file descriptor) [pid 6540] close(9) = -1 EBADF (Bad file descriptor) [pid 6540] close(10) = -1 EBADF (Bad file descriptor) [pid 6540] close(11) = -1 EBADF (Bad file descriptor) [pid 6540] close(12) = -1 EBADF (Bad file descriptor) [pid 6540] close(13) = -1 EBADF (Bad file descriptor) [pid 6540] close(14) = -1 EBADF (Bad file descriptor) [pid 6540] close(15) = -1 EBADF (Bad file descriptor) [pid 6540] close(16) = -1 EBADF (Bad file descriptor) [pid 6540] close(17) = -1 EBADF (Bad file descriptor) [pid 6540] close(18) = -1 EBADF (Bad file descriptor) [pid 6540] close(19) = -1 EBADF (Bad file descriptor) [pid 6540] close(20) = -1 EBADF (Bad file descriptor) [pid 6540] close(21) = -1 EBADF (Bad file descriptor) [pid 6540] close(22) = -1 EBADF (Bad file descriptor) [pid 6540] close(23) = -1 EBADF (Bad file descriptor) [pid 6540] close(24) = -1 EBADF (Bad file descriptor) [pid 6540] close(25) = -1 EBADF (Bad file descriptor) [pid 6540] close(26) = -1 EBADF (Bad file descriptor) [pid 6540] close(27) = -1 EBADF (Bad file descriptor) [pid 6540] close(28) = -1 EBADF (Bad file descriptor) [pid 6540] close(29) = -1 EBADF (Bad file descriptor) [pid 6540] exit_group(0) = ? [pid 6540] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=65, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=29 /* 0.29 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./63", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./63", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./63/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./63/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./63/binderfs") = 0 [ 213.702889][ T5835] bcachefs (loop0): shutting down [ 213.708143][ T5835] bcachefs (loop0): going read-only [ 213.713375][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 213.721080][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 213.746867][ T62] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 213.760608][ T62] bcachefs (loop0): fatal error - emergency read only [ 213.768286][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 213.778448][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 213.786464][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 213.804220][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./63/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./63/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./63/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./63/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./63/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./63/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./63") = 0 [pid 5835] mkdir("./64", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6551 attached [pid 6551] set_robust_list(0x55557d035660, 24) = 0 [pid 6551] chdir("./64" [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 66 [pid 6551] <... chdir resumed>) = 0 [pid 6551] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6551] setpgid(0, 0) = 0 [pid 6551] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6551] write(3, "1000", 4) = 4 [pid 6551] close(3) = 0 [pid 6551] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6551] write(1, "executing program\n", 18executing program ) = 18 [pid 6551] memfd_create("syzkaller", 0) = 3 [pid 6551] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6551] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6551] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6551] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6551] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6551] close(3) = 0 [pid 6551] close(4) = 0 [pid 6551] mkdir("./file1", 0777) = 0 [ 215.339579][ T6551] loop0: detected capacity change from 0 to 32768 [ 215.430843][ T6551] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 215.453573][ T6551] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 215.461796][ T6551] bcachefs (loop0): Version upgrade required: [ 215.461796][ T6551] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 215.461796][ T6551] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 215.461796][ T6551] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 215.534082][ T6551] bcachefs (loop0): dropping and reconstructing all alloc info [ 215.551038][ T6551] bcachefs (loop0): accounting_read... done [ 215.557339][ T6551] bcachefs (loop0): alloc_read... done [ 215.563027][ T6551] bcachefs (loop0): stripes_read... done [ 215.568857][ T6551] bcachefs (loop0): snapshots_read... done [pid 6551] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6551] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6551] chdir("./file1") = 0 [pid 6551] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 215.574846][ T6551] bcachefs (loop0): check_allocations... done [ 215.595401][ T6551] bcachefs (loop0): going read-write [ 215.604075][ T6551] bcachefs (loop0): done starting filesystem [pid 6551] ioctl(4, LOOP_CLR_FD) = 0 [pid 6551] close(4) = 0 [pid 6551] rename("./file2", "./file1") = 0 [pid 6551] close(3) = 0 [pid 6551] close(4) = -1 EBADF (Bad file descriptor) [pid 6551] close(5) = -1 EBADF (Bad file descriptor) [pid 6551] close(6) = -1 EBADF (Bad file descriptor) [pid 6551] close(7) = -1 EBADF (Bad file descriptor) [pid 6551] close(8) = -1 EBADF (Bad file descriptor) [pid 6551] close(9) = -1 EBADF (Bad file descriptor) [pid 6551] close(10) = -1 EBADF (Bad file descriptor) [pid 6551] close(11) = -1 EBADF (Bad file descriptor) [pid 6551] close(12) = -1 EBADF (Bad file descriptor) [pid 6551] close(13) = -1 EBADF (Bad file descriptor) [pid 6551] close(14) = -1 EBADF (Bad file descriptor) [pid 6551] close(15) = -1 EBADF (Bad file descriptor) [pid 6551] close(16) = -1 EBADF (Bad file descriptor) [pid 6551] close(17) = -1 EBADF (Bad file descriptor) [pid 6551] close(18) = -1 EBADF (Bad file descriptor) [pid 6551] close(19) = -1 EBADF (Bad file descriptor) [pid 6551] close(20) = -1 EBADF (Bad file descriptor) [pid 6551] close(21) = -1 EBADF (Bad file descriptor) [pid 6551] close(22) = -1 EBADF (Bad file descriptor) [pid 6551] close(23) = -1 EBADF (Bad file descriptor) [pid 6551] close(24) = -1 EBADF (Bad file descriptor) [pid 6551] close(25) = -1 EBADF (Bad file descriptor) [pid 6551] close(26) = -1 EBADF (Bad file descriptor) [pid 6551] close(27) = -1 EBADF (Bad file descriptor) [pid 6551] close(28) = -1 EBADF (Bad file descriptor) [pid 6551] close(29) = -1 EBADF (Bad file descriptor) [pid 6551] exit_group(0) = ? [pid 6551] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=66, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=30 /* 0.30 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./64", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./64", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./64/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./64/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./64/binderfs") = 0 [ 215.972697][ T5835] bcachefs (loop0): shutting down [ 215.977905][ T5835] bcachefs (loop0): going read-only [ 215.983127][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 215.990728][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 216.015662][ T62] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 216.029044][ T62] bcachefs (loop0): fatal error - emergency read only [ 216.036843][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 216.046753][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 216.054358][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 216.072388][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./64/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./64/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./64/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./64/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./64/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./64/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./64") = 0 [pid 5835] mkdir("./65", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6562 attached , child_tidptr=0x55557d035650) = 67 [pid 6562] set_robust_list(0x55557d035660, 24) = 0 [pid 6562] chdir("./65") = 0 [pid 6562] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6562] setpgid(0, 0) = 0 [pid 6562] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6562] write(3, "1000", 4) = 4 [pid 6562] close(3) = 0 [pid 6562] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6562] write(1, "executing program\n", 18executing program ) = 18 [pid 6562] memfd_create("syzkaller", 0) = 3 [pid 6562] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6562] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6562] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6562] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6562] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6562] close(3) = 0 [pid 6562] close(4) = 0 [pid 6562] mkdir("./file1", 0777) = 0 [ 217.450443][ T6562] loop0: detected capacity change from 0 to 32768 [ 217.527403][ T6562] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 217.550248][ T6562] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 217.558586][ T6562] bcachefs (loop0): Version upgrade required: [ 217.558586][ T6562] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 217.558586][ T6562] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 217.558586][ T6562] 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 [ 217.630691][ T6562] bcachefs (loop0): dropping and reconstructing all alloc info [ 217.647512][ T6562] bcachefs (loop0): accounting_read... done [ 217.653901][ T6562] bcachefs (loop0): alloc_read... done [ 217.659545][ T6562] bcachefs (loop0): stripes_read... done [ 217.665414][ T6562] bcachefs (loop0): snapshots_read... done [pid 6562] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6562] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6562] chdir("./file1") = 0 [pid 6562] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6562] ioctl(4, LOOP_CLR_FD) = 0 [pid 6562] close(4) = 0 [pid 6562] rename("./file2", "./file1") = 0 [pid 6562] close(3) = 0 [pid 6562] close(4) = -1 EBADF (Bad file descriptor) [pid 6562] close(5) = -1 EBADF (Bad file descriptor) [ 217.671348][ T6562] bcachefs (loop0): check_allocations... done [ 217.691626][ T6562] bcachefs (loop0): going read-write [ 217.700343][ T6562] bcachefs (loop0): done starting filesystem [pid 6562] close(6) = -1 EBADF (Bad file descriptor) [pid 6562] close(7) = -1 EBADF (Bad file descriptor) [pid 6562] close(8) = -1 EBADF (Bad file descriptor) [pid 6562] close(9) = -1 EBADF (Bad file descriptor) [pid 6562] close(10) = -1 EBADF (Bad file descriptor) [pid 6562] close(11) = -1 EBADF (Bad file descriptor) [pid 6562] close(12) = -1 EBADF (Bad file descriptor) [pid 6562] close(13) = -1 EBADF (Bad file descriptor) [pid 6562] close(14) = -1 EBADF (Bad file descriptor) [pid 6562] close(15) = -1 EBADF (Bad file descriptor) [pid 6562] close(16) = -1 EBADF (Bad file descriptor) [pid 6562] close(17) = -1 EBADF (Bad file descriptor) [pid 6562] close(18) = -1 EBADF (Bad file descriptor) [pid 6562] close(19) = -1 EBADF (Bad file descriptor) [pid 6562] close(20) = -1 EBADF (Bad file descriptor) [pid 6562] close(21) = -1 EBADF (Bad file descriptor) [pid 6562] close(22) = -1 EBADF (Bad file descriptor) [pid 6562] close(23) = -1 EBADF (Bad file descriptor) [pid 6562] close(24) = -1 EBADF (Bad file descriptor) [pid 6562] close(25) = -1 EBADF (Bad file descriptor) [pid 6562] close(26) = -1 EBADF (Bad file descriptor) [pid 6562] close(27) = -1 EBADF (Bad file descriptor) [pid 6562] close(28) = -1 EBADF (Bad file descriptor) [pid 6562] close(29) = -1 EBADF (Bad file descriptor) [pid 6562] exit_group(0) = ? [pid 6562] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=67, si_uid=0, si_status=0, si_utime=0, si_stime=34 /* 0.34 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./65", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./65", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./65/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./65/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./65/binderfs") = 0 [ 218.086514][ T5835] bcachefs (loop0): shutting down [ 218.091609][ T5835] bcachefs (loop0): going read-only [ 218.097419][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 218.105275][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 218.130495][ T62] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 218.143388][ T62] bcachefs (loop0): fatal error - emergency read only [ 218.151486][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 218.161346][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 218.169285][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 218.187027][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./65/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./65/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./65/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./65/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./65/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./65/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./65") = 0 [pid 5835] mkdir("./66", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6573 attached [pid 6573] set_robust_list(0x55557d035660, 24) = 0 [pid 6573] chdir("./66") = 0 [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 68 [pid 6573] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6573] setpgid(0, 0) = 0 [pid 6573] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6573] write(3, "1000", 4) = 4 [pid 6573] close(3) = 0 [pid 6573] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6573] write(1, "executing program\n", 18executing program ) = 18 [pid 6573] memfd_create("syzkaller", 0) = 3 [pid 6573] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6573] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6573] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6573] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6573] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6573] close(3) = 0 [pid 6573] close(4) = 0 [pid 6573] mkdir("./file1", 0777) = 0 [ 219.692575][ T6573] loop0: detected capacity change from 0 to 32768 [ 219.776112][ T6573] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 219.798796][ T6573] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 219.806986][ T6573] bcachefs (loop0): Version upgrade required: [ 219.806986][ T6573] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 219.806986][ T6573] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 219.806986][ T6573] 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 [ 219.879384][ T6573] bcachefs (loop0): dropping and reconstructing all alloc info [ 219.895972][ T6573] bcachefs (loop0): accounting_read... done [ 219.902182][ T6573] bcachefs (loop0): alloc_read... done [ 219.907826][ T6573] bcachefs (loop0): stripes_read... done [ 219.913545][ T6573] bcachefs (loop0): snapshots_read... done [pid 6573] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6573] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6573] chdir("./file1") = 0 [ 219.919745][ T6573] bcachefs (loop0): check_allocations... done [ 219.940011][ T6573] bcachefs (loop0): going read-write [ 219.948869][ T6573] bcachefs (loop0): done starting filesystem [pid 6573] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6573] ioctl(4, LOOP_CLR_FD) = 0 [pid 6573] close(4) = 0 [pid 6573] rename("./file2", "./file1") = 0 [pid 6573] close(3) = 0 [pid 6573] close(4) = -1 EBADF (Bad file descriptor) [pid 6573] close(5) = -1 EBADF (Bad file descriptor) [pid 6573] close(6) = -1 EBADF (Bad file descriptor) [pid 6573] close(7) = -1 EBADF (Bad file descriptor) [pid 6573] close(8) = -1 EBADF (Bad file descriptor) [pid 6573] close(9) = -1 EBADF (Bad file descriptor) [pid 6573] close(10) = -1 EBADF (Bad file descriptor) [pid 6573] close(11) = -1 EBADF (Bad file descriptor) [pid 6573] close(12) = -1 EBADF (Bad file descriptor) [pid 6573] close(13) = -1 EBADF (Bad file descriptor) [pid 6573] close(14) = -1 EBADF (Bad file descriptor) [pid 6573] close(15) = -1 EBADF (Bad file descriptor) [pid 6573] close(16) = -1 EBADF (Bad file descriptor) [pid 6573] close(17) = -1 EBADF (Bad file descriptor) [pid 6573] close(18) = -1 EBADF (Bad file descriptor) [pid 6573] close(19) = -1 EBADF (Bad file descriptor) [pid 6573] close(20) = -1 EBADF (Bad file descriptor) [pid 6573] close(21) = -1 EBADF (Bad file descriptor) [pid 6573] close(22) = -1 EBADF (Bad file descriptor) [pid 6573] close(23) = -1 EBADF (Bad file descriptor) [pid 6573] close(24) = -1 EBADF (Bad file descriptor) [pid 6573] close(25) = -1 EBADF (Bad file descriptor) [pid 6573] close(26) = -1 EBADF (Bad file descriptor) [pid 6573] close(27) = -1 EBADF (Bad file descriptor) [pid 6573] close(28) = -1 EBADF (Bad file descriptor) [pid 6573] close(29) = -1 EBADF (Bad file descriptor) [pid 6573] exit_group(0) = ? [pid 6573] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=68, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=32 /* 0.32 s */} --- [pid 5835] umount2("./66", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./66", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./66/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./66/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./66/binderfs") = 0 [ 220.417613][ T5835] bcachefs (loop0): shutting down [ 220.422783][ T5835] bcachefs (loop0): going read-only [ 220.428173][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 220.435743][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 220.461810][ T3529] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 220.475577][ T3529] bcachefs (loop0): fatal error - emergency read only [ 220.482887][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 220.492880][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 220.500735][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 220.518469][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./66/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./66/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./66/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./66/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./66/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./66/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./66") = 0 [pid 5835] mkdir("./67", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6584 attached [pid 6584] set_robust_list(0x55557d035660, 24) = 0 [pid 6584] chdir("./67" [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 69 [pid 6584] <... chdir resumed>) = 0 [pid 6584] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6584] setpgid(0, 0) = 0 [pid 6584] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6584] write(3, "1000", 4) = 4 [pid 6584] close(3) = 0 [pid 6584] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6584] write(1, "executing program\n", 18) = 18 [pid 6584] memfd_create("syzkaller", 0) = 3 [pid 6584] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6584] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6584] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6584] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6584] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6584] close(3) = 0 [pid 6584] close(4) = 0 [pid 6584] mkdir("./file1", 0777) = 0 [ 222.053896][ T6584] loop0: detected capacity change from 0 to 32768 [ 222.131761][ T6584] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 222.154773][ T6584] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 222.163031][ T6584] bcachefs (loop0): Version upgrade required: [ 222.163031][ T6584] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 222.163031][ T6584] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 222.163031][ T6584] 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 [ 222.235277][ T6584] bcachefs (loop0): dropping and reconstructing all alloc info [ 222.251597][ T6584] bcachefs (loop0): accounting_read... done [ 222.257892][ T6584] bcachefs (loop0): alloc_read... done [ 222.263450][ T6584] bcachefs (loop0): stripes_read... done [ 222.269220][ T6584] bcachefs (loop0): snapshots_read... done [pid 6584] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6584] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6584] chdir("./file1") = 0 [pid 6584] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 222.275398][ T6584] bcachefs (loop0): check_allocations... done [ 222.296061][ T6584] bcachefs (loop0): going read-write [ 222.304277][ T6584] bcachefs (loop0): done starting filesystem [pid 6584] ioctl(4, LOOP_CLR_FD) = 0 [pid 6584] close(4) = 0 [pid 6584] rename("./file2", "./file1") = 0 [pid 6584] close(3) = 0 [pid 6584] close(4) = -1 EBADF (Bad file descriptor) [pid 6584] close(5) = -1 EBADF (Bad file descriptor) [pid 6584] close(6) = -1 EBADF (Bad file descriptor) [pid 6584] close(7) = -1 EBADF (Bad file descriptor) [pid 6584] close(8) = -1 EBADF (Bad file descriptor) [pid 6584] close(9) = -1 EBADF (Bad file descriptor) [pid 6584] close(10) = -1 EBADF (Bad file descriptor) [pid 6584] close(11) = -1 EBADF (Bad file descriptor) [pid 6584] close(12) = -1 EBADF (Bad file descriptor) [pid 6584] close(13) = -1 EBADF (Bad file descriptor) [pid 6584] close(14) = -1 EBADF (Bad file descriptor) [pid 6584] close(15) = -1 EBADF (Bad file descriptor) [pid 6584] close(16) = -1 EBADF (Bad file descriptor) [pid 6584] close(17) = -1 EBADF (Bad file descriptor) [pid 6584] close(18) = -1 EBADF (Bad file descriptor) [pid 6584] close(19) = -1 EBADF (Bad file descriptor) [pid 6584] close(20) = -1 EBADF (Bad file descriptor) [pid 6584] close(21) = -1 EBADF (Bad file descriptor) [pid 6584] close(22) = -1 EBADF (Bad file descriptor) [pid 6584] close(23) = -1 EBADF (Bad file descriptor) [pid 6584] close(24) = -1 EBADF (Bad file descriptor) [pid 6584] close(25) = -1 EBADF (Bad file descriptor) [pid 6584] close(26) = -1 EBADF (Bad file descriptor) [pid 6584] close(27) = -1 EBADF (Bad file descriptor) [pid 6584] close(28) = -1 EBADF (Bad file descriptor) [pid 6584] close(29) = -1 EBADF (Bad file descriptor) [pid 6584] exit_group(0) = ? [pid 6584] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=69, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=25 /* 0.25 s */} --- [pid 5835] umount2("./67", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./67", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./67/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./67/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./67/binderfs") = 0 [ 222.699581][ T5835] bcachefs (loop0): shutting down [ 222.704783][ T5835] bcachefs (loop0): going read-only [ 222.710156][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 222.717752][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 222.742425][ T62] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 222.755412][ T62] bcachefs (loop0): fatal error - emergency read only [ 222.762608][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 222.772478][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 222.780349][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 222.797510][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./67/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./67/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./67/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./67/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./67/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./67/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./67") = 0 [pid 5835] mkdir("./68", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6595 attached [pid 6595] set_robust_list(0x55557d035660, 24) = 0 [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 70 [pid 6595] chdir("./68") = 0 [pid 6595] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6595] setpgid(0, 0) = 0 [pid 6595] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6595] write(3, "1000", 4) = 4 [pid 6595] close(3) = 0 [pid 6595] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6595] write(1, "executing program\n", 18) = 18 [pid 6595] memfd_create("syzkaller", 0) = 3 [pid 6595] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6595] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6595] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6595] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6595] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6595] close(3) = 0 [pid 6595] close(4) = 0 [pid 6595] mkdir("./file1", 0777) = 0 [ 224.233720][ T6595] loop0: detected capacity change from 0 to 32768 [ 224.309924][ T6595] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 224.332492][ T6595] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 224.340662][ T6595] bcachefs (loop0): Version upgrade required: [ 224.340662][ T6595] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 224.340662][ T6595] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 224.340662][ T6595] 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 [ 224.413039][ T6595] bcachefs (loop0): dropping and reconstructing all alloc info [ 224.429773][ T6595] bcachefs (loop0): accounting_read... done [ 224.436119][ T6595] bcachefs (loop0): alloc_read... done [ 224.441721][ T6595] bcachefs (loop0): stripes_read... done [ 224.447512][ T6595] bcachefs (loop0): snapshots_read... done [pid 6595] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6595] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6595] chdir("./file1") = 0 [pid 6595] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6595] ioctl(4, LOOP_CLR_FD) = 0 [pid 6595] close(4) = 0 [pid 6595] rename("./file2", "./file1") = 0 [ 224.453499][ T6595] bcachefs (loop0): check_allocations... done [ 224.473435][ T6595] bcachefs (loop0): going read-write [ 224.482570][ T6595] bcachefs (loop0): done starting filesystem [pid 6595] close(3) = 0 [pid 6595] close(4) = -1 EBADF (Bad file descriptor) [pid 6595] close(5) = -1 EBADF (Bad file descriptor) [pid 6595] close(6) = -1 EBADF (Bad file descriptor) [pid 6595] close(7) = -1 EBADF (Bad file descriptor) [pid 6595] close(8) = -1 EBADF (Bad file descriptor) [pid 6595] close(9) = -1 EBADF (Bad file descriptor) [pid 6595] close(10) = -1 EBADF (Bad file descriptor) [pid 6595] close(11) = -1 EBADF (Bad file descriptor) [pid 6595] close(12) = -1 EBADF (Bad file descriptor) [pid 6595] close(13) = -1 EBADF (Bad file descriptor) [pid 6595] close(14) = -1 EBADF (Bad file descriptor) [pid 6595] close(15) = -1 EBADF (Bad file descriptor) [pid 6595] close(16) = -1 EBADF (Bad file descriptor) [pid 6595] close(17) = -1 EBADF (Bad file descriptor) [pid 6595] close(18) = -1 EBADF (Bad file descriptor) [pid 6595] close(19) = -1 EBADF (Bad file descriptor) [pid 6595] close(20) = -1 EBADF (Bad file descriptor) [pid 6595] close(21) = -1 EBADF (Bad file descriptor) [pid 6595] close(22) = -1 EBADF (Bad file descriptor) [pid 6595] close(23) = -1 EBADF (Bad file descriptor) [pid 6595] close(24) = -1 EBADF (Bad file descriptor) [pid 6595] close(25) = -1 EBADF (Bad file descriptor) [pid 6595] close(26) = -1 EBADF (Bad file descriptor) [pid 6595] close(27) = -1 EBADF (Bad file descriptor) [pid 6595] close(28) = -1 EBADF (Bad file descriptor) [pid 6595] close(29) = -1 EBADF (Bad file descriptor) [pid 6595] exit_group(0) = ? [pid 6595] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=70, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=30 /* 0.30 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./68", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./68", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./68/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./68/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./68/binderfs") = 0 [ 224.855949][ T5835] bcachefs (loop0): shutting down [ 224.861652][ T5835] bcachefs (loop0): going read-only [ 224.867174][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 224.875241][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 224.902567][ T1081] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 224.916718][ T1081] bcachefs (loop0): fatal error - emergency read only [ 224.924433][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 224.934483][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 224.942308][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 224.959861][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./68/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./68/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./68/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./68/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./68/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./68/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./68") = 0 [pid 5835] mkdir("./69", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6606 attached [pid 6606] set_robust_list(0x55557d035660, 24 [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 71 [pid 6606] <... set_robust_list resumed>) = 0 [pid 6606] chdir("./69") = 0 [pid 6606] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6606] setpgid(0, 0) = 0 [pid 6606] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6606] write(3, "1000", 4) = 4 [pid 6606] close(3) = 0 [pid 6606] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6606] write(1, "executing program\n", 18) = 18 [pid 6606] memfd_create("syzkaller", 0) = 3 [pid 6606] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6606] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6606] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6606] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6606] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6606] close(3) = 0 [pid 6606] close(4) = 0 [pid 6606] mkdir("./file1", 0777) = 0 [ 226.318879][ T6606] loop0: detected capacity change from 0 to 32768 [ 226.394300][ T6606] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 226.417240][ T6606] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 226.425480][ T6606] bcachefs (loop0): Version upgrade required: [ 226.425480][ T6606] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 226.425480][ T6606] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 226.425480][ T6606] 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 [ 226.498001][ T6606] bcachefs (loop0): dropping and reconstructing all alloc info [ 226.515898][ T6606] bcachefs (loop0): accounting_read... done [ 226.522140][ T6606] bcachefs (loop0): alloc_read... done [ 226.527912][ T6606] bcachefs (loop0): stripes_read... done [ 226.533675][ T6606] bcachefs (loop0): snapshots_read... done [pid 6606] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6606] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6606] chdir("./file1") = 0 [pid 6606] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6606] ioctl(4, LOOP_CLR_FD) = 0 [ 226.539963][ T6606] bcachefs (loop0): check_allocations... done [ 226.561083][ T6606] bcachefs (loop0): going read-write [ 226.570407][ T6606] bcachefs (loop0): done starting filesystem [pid 6606] close(4) = 0 [pid 6606] rename("./file2", "./file1") = 0 [pid 6606] close(3) = 0 [pid 6606] close(4) = -1 EBADF (Bad file descriptor) [pid 6606] close(5) = -1 EBADF (Bad file descriptor) [pid 6606] close(6) = -1 EBADF (Bad file descriptor) [pid 6606] close(7) = -1 EBADF (Bad file descriptor) [pid 6606] close(8) = -1 EBADF (Bad file descriptor) [pid 6606] close(9) = -1 EBADF (Bad file descriptor) [pid 6606] close(10) = -1 EBADF (Bad file descriptor) [pid 6606] close(11) = -1 EBADF (Bad file descriptor) [pid 6606] close(12) = -1 EBADF (Bad file descriptor) [pid 6606] close(13) = -1 EBADF (Bad file descriptor) [pid 6606] close(14) = -1 EBADF (Bad file descriptor) [pid 6606] close(15) = -1 EBADF (Bad file descriptor) [pid 6606] close(16) = -1 EBADF (Bad file descriptor) [pid 6606] close(17) = -1 EBADF (Bad file descriptor) [pid 6606] close(18) = -1 EBADF (Bad file descriptor) [pid 6606] close(19) = -1 EBADF (Bad file descriptor) [pid 6606] close(20) = -1 EBADF (Bad file descriptor) [pid 6606] close(21) = -1 EBADF (Bad file descriptor) [pid 6606] close(22) = -1 EBADF (Bad file descriptor) [pid 6606] close(23) = -1 EBADF (Bad file descriptor) [pid 6606] close(24) = -1 EBADF (Bad file descriptor) [pid 6606] close(25) = -1 EBADF (Bad file descriptor) [pid 6606] close(26) = -1 EBADF (Bad file descriptor) [pid 6606] close(27) = -1 EBADF (Bad file descriptor) [pid 6606] close(28) = -1 EBADF (Bad file descriptor) [pid 6606] close(29) = -1 EBADF (Bad file descriptor) [pid 6606] exit_group(0) = ? [pid 6606] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=71, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=30 /* 0.30 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./69", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./69", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./69/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./69/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./69/binderfs") = 0 [ 226.816301][ T5835] bcachefs (loop0): shutting down [ 226.821391][ T5835] bcachefs (loop0): going read-only [ 226.827094][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 226.834818][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 226.860985][ T62] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 226.874457][ T62] bcachefs (loop0): fatal error - emergency read only [ 226.882332][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 226.892293][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 226.900197][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 226.917396][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./69/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./69/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./69/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./69/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./69/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./69/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./69") = 0 [pid 5835] mkdir("./70", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6617 attached [pid 6617] set_robust_list(0x55557d035660, 24) = 0 [pid 6617] chdir("./70" [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 72 [pid 6617] <... chdir resumed>) = 0 [pid 6617] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6617] setpgid(0, 0) = 0 [pid 6617] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6617] write(3, "1000", 4) = 4 [pid 6617] close(3) = 0 [pid 6617] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6617] write(1, "executing program\n", 18) = 18 [pid 6617] memfd_create("syzkaller", 0) = 3 [pid 6617] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6617] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6617] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6617] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6617] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6617] close(3) = 0 [pid 6617] close(4) = 0 [pid 6617] mkdir("./file1", 0777) = 0 [ 228.392807][ T6617] loop0: detected capacity change from 0 to 32768 [ 228.467901][ T6617] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 228.490684][ T6617] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 228.498944][ T6617] bcachefs (loop0): Version upgrade required: [ 228.498944][ T6617] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 228.498944][ T6617] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 228.498944][ T6617] 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 [ 228.571244][ T6617] bcachefs (loop0): dropping and reconstructing all alloc info [ 228.588737][ T6617] bcachefs (loop0): accounting_read... done [ 228.594887][ T6617] bcachefs (loop0): alloc_read... done [ 228.600543][ T6617] bcachefs (loop0): stripes_read... done [ 228.606368][ T6617] bcachefs (loop0): snapshots_read... done [pid 6617] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6617] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6617] chdir("./file1") = 0 [pid 6617] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6617] ioctl(4, LOOP_CLR_FD) = 0 [ 228.612681][ T6617] bcachefs (loop0): check_allocations... done [ 228.634194][ T6617] bcachefs (loop0): going read-write [ 228.643501][ T6617] bcachefs (loop0): done starting filesystem [pid 6617] close(4) = 0 [pid 6617] rename("./file2", "./file1") = 0 [pid 6617] close(3) = 0 [pid 6617] close(4) = -1 EBADF (Bad file descriptor) [pid 6617] close(5) = -1 EBADF (Bad file descriptor) [pid 6617] close(6) = -1 EBADF (Bad file descriptor) [pid 6617] close(7) = -1 EBADF (Bad file descriptor) [pid 6617] close(8) = -1 EBADF (Bad file descriptor) [pid 6617] close(9) = -1 EBADF (Bad file descriptor) [pid 6617] close(10) = -1 EBADF (Bad file descriptor) [pid 6617] close(11) = -1 EBADF (Bad file descriptor) [pid 6617] close(12) = -1 EBADF (Bad file descriptor) [pid 6617] close(13) = -1 EBADF (Bad file descriptor) [pid 6617] close(14) = -1 EBADF (Bad file descriptor) [pid 6617] close(15) = -1 EBADF (Bad file descriptor) [pid 6617] close(16) = -1 EBADF (Bad file descriptor) [pid 6617] close(17) = -1 EBADF (Bad file descriptor) [pid 6617] close(18) = -1 EBADF (Bad file descriptor) [pid 6617] close(19) = -1 EBADF (Bad file descriptor) [pid 6617] close(20) = -1 EBADF (Bad file descriptor) [pid 6617] close(21) = -1 EBADF (Bad file descriptor) [pid 6617] close(22) = -1 EBADF (Bad file descriptor) [pid 6617] close(23) = -1 EBADF (Bad file descriptor) [pid 6617] close(24) = -1 EBADF (Bad file descriptor) [pid 6617] close(25) = -1 EBADF (Bad file descriptor) [pid 6617] close(26) = -1 EBADF (Bad file descriptor) [pid 6617] close(27) = -1 EBADF (Bad file descriptor) [pid 6617] close(28) = -1 EBADF (Bad file descriptor) [pid 6617] close(29) = -1 EBADF (Bad file descriptor) [pid 6617] exit_group(0) = ? [pid 6617] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=72, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=32 /* 0.32 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./70", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./70", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./70/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./70/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./70/binderfs") = 0 [ 229.017741][ T5835] bcachefs (loop0): shutting down [ 229.022872][ T5835] bcachefs (loop0): going read-only [ 229.028433][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 229.036198][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 229.065159][ T1081] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 229.078663][ T1081] bcachefs (loop0): fatal error - emergency read only [ 229.086061][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 15 [ 229.096088][ T5835] bcachefs (loop0): unshutdown complete, journal seq 15 [ 229.103712][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 229.121970][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./70/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./70/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./70/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./70/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./70/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./70/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./70") = 0 [pid 5835] mkdir("./71", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6628 attached [pid 6628] set_robust_list(0x55557d035660, 24) = 0 [pid 6628] chdir("./71" [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 73 [pid 6628] <... chdir resumed>) = 0 [pid 6628] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6628] setpgid(0, 0) = 0 [pid 6628] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6628] write(3, "1000", 4) = 4 [pid 6628] close(3) = 0 [pid 6628] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6628] write(1, "executing program\n", 18) = 18 [pid 6628] memfd_create("syzkaller", 0) = 3 [pid 6628] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6628] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6628] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6628] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6628] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6628] close(3) = 0 [pid 6628] close(4) = 0 [pid 6628] mkdir("./file1", 0777) = 0 [ 230.529829][ T6628] loop0: detected capacity change from 0 to 32768 [ 230.605230][ T6628] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 230.627788][ T6628] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 230.636175][ T6628] bcachefs (loop0): Version upgrade required: [ 230.636175][ T6628] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 230.636175][ T6628] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 230.636175][ T6628] 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 [ 230.708455][ T6628] bcachefs (loop0): dropping and reconstructing all alloc info [ 230.724866][ T6628] bcachefs (loop0): accounting_read... done [ 230.731296][ T6628] bcachefs (loop0): alloc_read... done [ 230.737179][ T6628] bcachefs (loop0): stripes_read... done [ 230.743099][ T6628] bcachefs (loop0): snapshots_read... done [pid 6628] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6628] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [ 230.749087][ T6628] bcachefs (loop0): check_allocations... done [ 230.769354][ T6628] bcachefs (loop0): going read-write [ 230.778743][ T6628] bcachefs (loop0): done starting filesystem [pid 6628] chdir("./file1") = 0 [pid 6628] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6628] ioctl(4, LOOP_CLR_FD) = 0 [pid 6628] close(4) = 0 [pid 6628] rename("./file2", "./file1") = 0 [pid 6628] close(3) = 0 [pid 6628] close(4) = -1 EBADF (Bad file descriptor) [pid 6628] close(5) = -1 EBADF (Bad file descriptor) [pid 6628] close(6) = -1 EBADF (Bad file descriptor) [pid 6628] close(7) = -1 EBADF (Bad file descriptor) [pid 6628] close(8) = -1 EBADF (Bad file descriptor) [pid 6628] close(9) = -1 EBADF (Bad file descriptor) [pid 6628] close(10) = -1 EBADF (Bad file descriptor) [pid 6628] close(11) = -1 EBADF (Bad file descriptor) [pid 6628] close(12) = -1 EBADF (Bad file descriptor) [pid 6628] close(13) = -1 EBADF (Bad file descriptor) [pid 6628] close(14) = -1 EBADF (Bad file descriptor) [pid 6628] close(15) = -1 EBADF (Bad file descriptor) [pid 6628] close(16) = -1 EBADF (Bad file descriptor) [pid 6628] close(17) = -1 EBADF (Bad file descriptor) [pid 6628] close(18) = -1 EBADF (Bad file descriptor) [pid 6628] close(19) = -1 EBADF (Bad file descriptor) [pid 6628] close(20) = -1 EBADF (Bad file descriptor) [pid 6628] close(21) = -1 EBADF (Bad file descriptor) [pid 6628] close(22) = -1 EBADF (Bad file descriptor) [pid 6628] close(23) = -1 EBADF (Bad file descriptor) [pid 6628] close(24) = -1 EBADF (Bad file descriptor) [pid 6628] close(25) = -1 EBADF (Bad file descriptor) [pid 6628] close(26) = -1 EBADF (Bad file descriptor) [pid 6628] close(27) = -1 EBADF (Bad file descriptor) [pid 6628] close(28) = -1 EBADF (Bad file descriptor) [pid 6628] close(29) = -1 EBADF (Bad file descriptor) [pid 6628] exit_group(0) = ? [pid 6628] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=73, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=28 /* 0.28 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./71", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./71", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./71/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./71/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./71/binderfs") = 0 [ 231.070205][ T5835] bcachefs (loop0): shutting down [ 231.075406][ T5835] bcachefs (loop0): going read-only [ 231.080653][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 231.088298][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 231.115516][ T3529] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 231.128874][ T3529] bcachefs (loop0): fatal error - emergency read only [ 231.136876][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 231.146950][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 231.154593][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 231.172971][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./71/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./71/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./71/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./71/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./71/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./71/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./71") = 0 [pid 5835] mkdir("./72", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6639 attached , child_tidptr=0x55557d035650) = 74 [pid 6639] set_robust_list(0x55557d035660, 24) = 0 [pid 6639] chdir("./72") = 0 [pid 6639] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6639] setpgid(0, 0) = 0 [pid 6639] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6639] write(3, "1000", 4) = 4 [pid 6639] close(3) = 0 [pid 6639] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6639] write(1, "executing program\n", 18) = 18 [pid 6639] memfd_create("syzkaller", 0) = 3 [pid 6639] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6639] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6639] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6639] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6639] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6639] close(3) = 0 [pid 6639] close(4) = 0 [pid 6639] mkdir("./file1", 0777) = 0 [ 232.617992][ T6639] loop0: detected capacity change from 0 to 32768 [ 232.705905][ T6639] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 232.728697][ T6639] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 232.736853][ T6639] bcachefs (loop0): Version upgrade required: [ 232.736853][ T6639] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 232.736853][ T6639] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 232.736853][ T6639] 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 [ 232.809105][ T6639] bcachefs (loop0): dropping and reconstructing all alloc info [ 232.825667][ T6639] bcachefs (loop0): accounting_read... done [ 232.831827][ T6639] bcachefs (loop0): alloc_read... done [ 232.837493][ T6639] bcachefs (loop0): stripes_read... done [ 232.843214][ T6639] bcachefs (loop0): snapshots_read... done [pid 6639] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6639] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6639] chdir("./file1") = 0 [ 232.849238][ T6639] bcachefs (loop0): check_allocations... done [ 232.869779][ T6639] bcachefs (loop0): going read-write [ 232.879376][ T6639] bcachefs (loop0): done starting filesystem [pid 6639] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6639] ioctl(4, LOOP_CLR_FD) = 0 [pid 6639] close(4) = 0 [pid 6639] rename("./file2", "./file1") = 0 [pid 6639] close(3) = 0 [pid 6639] close(4) = -1 EBADF (Bad file descriptor) [pid 6639] close(5) = -1 EBADF (Bad file descriptor) [pid 6639] close(6) = -1 EBADF (Bad file descriptor) [pid 6639] close(7) = -1 EBADF (Bad file descriptor) [pid 6639] close(8) = -1 EBADF (Bad file descriptor) [pid 6639] close(9) = -1 EBADF (Bad file descriptor) [pid 6639] close(10) = -1 EBADF (Bad file descriptor) [pid 6639] close(11) = -1 EBADF (Bad file descriptor) [pid 6639] close(12) = -1 EBADF (Bad file descriptor) [pid 6639] close(13) = -1 EBADF (Bad file descriptor) [pid 6639] close(14) = -1 EBADF (Bad file descriptor) [pid 6639] close(15) = -1 EBADF (Bad file descriptor) [pid 6639] close(16) = -1 EBADF (Bad file descriptor) [pid 6639] close(17) = -1 EBADF (Bad file descriptor) [pid 6639] close(18) = -1 EBADF (Bad file descriptor) [pid 6639] close(19) = -1 EBADF (Bad file descriptor) [pid 6639] close(20) = -1 EBADF (Bad file descriptor) [pid 6639] close(21) = -1 EBADF (Bad file descriptor) [pid 6639] close(22) = -1 EBADF (Bad file descriptor) [pid 6639] close(23) = -1 EBADF (Bad file descriptor) [pid 6639] close(24) = -1 EBADF (Bad file descriptor) [pid 6639] close(25) = -1 EBADF (Bad file descriptor) [pid 6639] close(26) = -1 EBADF (Bad file descriptor) [pid 6639] close(27) = -1 EBADF (Bad file descriptor) [pid 6639] close(28) = -1 EBADF (Bad file descriptor) [pid 6639] close(29) = -1 EBADF (Bad file descriptor) [pid 6639] exit_group(0) = ? [pid 6639] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=74, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=30 /* 0.30 s */} --- [pid 5835] umount2("./72", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./72", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./72/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./72/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./72/binderfs") = 0 [ 233.318026][ T5835] bcachefs (loop0): shutting down [ 233.323139][ T5835] bcachefs (loop0): going read-only [ 233.328519][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 233.336129][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 233.361157][ T3529] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 233.374466][ T3529] bcachefs (loop0): fatal error - emergency read only [ 233.381865][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 233.391958][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 233.399760][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 233.416756][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./72/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./72/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./72/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./72/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./72/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./72/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./72") = 0 [pid 5835] mkdir("./73", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6650 attached [pid 6650] set_robust_list(0x55557d035660, 24) = 0 [pid 6650] chdir("./73" [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 75 [pid 6650] <... chdir resumed>) = 0 [pid 6650] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6650] setpgid(0, 0) = 0 [pid 6650] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6650] write(3, "1000", 4) = 4 [pid 6650] close(3) = 0 [pid 6650] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6650] write(1, "executing program\n", 18executing program ) = 18 [pid 6650] memfd_create("syzkaller", 0) = 3 [pid 6650] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6650] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6650] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6650] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6650] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6650] close(3) = 0 [pid 6650] close(4) = 0 [pid 6650] mkdir("./file1", 0777) = 0 [ 234.920785][ T6650] loop0: detected capacity change from 0 to 32768 [ 234.996887][ T6650] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 235.019522][ T6650] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 235.027773][ T6650] bcachefs (loop0): Version upgrade required: [ 235.027773][ T6650] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 235.027773][ T6650] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 235.027773][ T6650] 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 [ 235.100045][ T6650] bcachefs (loop0): dropping and reconstructing all alloc info [ 235.116211][ T6650] bcachefs (loop0): accounting_read... done [ 235.122396][ T6650] bcachefs (loop0): alloc_read... done [ 235.128392][ T6650] bcachefs (loop0): stripes_read... done [ 235.134288][ T6650] bcachefs (loop0): snapshots_read... done [pid 6650] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6650] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [ 235.140319][ T6650] bcachefs (loop0): check_allocations... done [ 235.160713][ T6650] bcachefs (loop0): going read-write [ 235.170056][ T6650] bcachefs (loop0): done starting filesystem [pid 6650] chdir("./file1") = 0 [pid 6650] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6650] ioctl(4, LOOP_CLR_FD) = 0 [pid 6650] close(4) = 0 [pid 6650] rename("./file2", "./file1") = 0 [pid 6650] close(3) = 0 [pid 6650] close(4) = -1 EBADF (Bad file descriptor) [pid 6650] close(5) = -1 EBADF (Bad file descriptor) [pid 6650] close(6) = -1 EBADF (Bad file descriptor) [pid 6650] close(7) = -1 EBADF (Bad file descriptor) [pid 6650] close(8) = -1 EBADF (Bad file descriptor) [pid 6650] close(9) = -1 EBADF (Bad file descriptor) [pid 6650] close(10) = -1 EBADF (Bad file descriptor) [pid 6650] close(11) = -1 EBADF (Bad file descriptor) [pid 6650] close(12) = -1 EBADF (Bad file descriptor) [pid 6650] close(13) = -1 EBADF (Bad file descriptor) [pid 6650] close(14) = -1 EBADF (Bad file descriptor) [pid 6650] close(15) = -1 EBADF (Bad file descriptor) [pid 6650] close(16) = -1 EBADF (Bad file descriptor) [pid 6650] close(17) = -1 EBADF (Bad file descriptor) [pid 6650] close(18) = -1 EBADF (Bad file descriptor) [pid 6650] close(19) = -1 EBADF (Bad file descriptor) [pid 6650] close(20) = -1 EBADF (Bad file descriptor) [pid 6650] close(21) = -1 EBADF (Bad file descriptor) [pid 6650] close(22) = -1 EBADF (Bad file descriptor) [pid 6650] close(23) = -1 EBADF (Bad file descriptor) [pid 6650] close(24) = -1 EBADF (Bad file descriptor) [pid 6650] close(25) = -1 EBADF (Bad file descriptor) [pid 6650] close(26) = -1 EBADF (Bad file descriptor) [pid 6650] close(27) = -1 EBADF (Bad file descriptor) [pid 6650] close(28) = -1 EBADF (Bad file descriptor) [pid 6650] close(29) = -1 EBADF (Bad file descriptor) [pid 6650] exit_group(0) = ? [pid 6650] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=75, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=30 /* 0.30 s */} --- [pid 5835] umount2("./73", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./73", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./73/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./73/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./73/binderfs") = 0 [ 235.580160][ T5835] bcachefs (loop0): shutting down [ 235.585453][ T5835] bcachefs (loop0): going read-only [ 235.590702][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 235.599567][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 235.627568][ T62] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 235.641224][ T62] bcachefs (loop0): fatal error - emergency read only [ 235.649801][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 235.660256][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 235.668190][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 235.691554][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./73/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./73/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./73/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./73/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./73/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./73/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./73") = 0 [pid 5835] mkdir("./74", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6664 attached , child_tidptr=0x55557d035650) = 76 [pid 6664] set_robust_list(0x55557d035660, 24) = 0 [pid 6664] chdir("./74") = 0 [pid 6664] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6664] setpgid(0, 0) = 0 [pid 6664] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6664] write(3, "1000", 4) = 4 [pid 6664] close(3) = 0 [pid 6664] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6664] write(1, "executing program\n", 18) = 18 [pid 6664] memfd_create("syzkaller", 0) = 3 [pid 6664] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6664] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6664] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6664] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6664] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6664] close(3) = 0 [pid 6664] close(4) = 0 [pid 6664] mkdir("./file1", 0777) = 0 [ 237.187619][ T6664] loop0: detected capacity change from 0 to 32768 [ 237.269534][ T6664] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 237.292148][ T6664] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 237.300812][ T6664] bcachefs (loop0): Version upgrade required: [ 237.300812][ T6664] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 237.300812][ T6664] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 237.300812][ T6664] 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 [ 237.373057][ T6664] bcachefs (loop0): dropping and reconstructing all alloc info [ 237.391678][ T6664] bcachefs (loop0): accounting_read... done [ 237.398027][ T6664] bcachefs (loop0): alloc_read... done [ 237.403646][ T6664] bcachefs (loop0): stripes_read... done [ 237.409791][ T6664] bcachefs (loop0): snapshots_read... done [pid 6664] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6664] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6664] chdir("./file1") = 0 [pid 6664] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6664] ioctl(4, LOOP_CLR_FD) = 0 [pid 6664] close(4) = 0 [pid 6664] rename("./file2", "./file1") = 0 [ 237.416066][ T6664] bcachefs (loop0): check_allocations... done [ 237.437089][ T6664] bcachefs (loop0): going read-write [ 237.446321][ T6664] bcachefs (loop0): done starting filesystem [pid 6664] close(3) = 0 [pid 6664] close(4) = -1 EBADF (Bad file descriptor) [pid 6664] close(5) = -1 EBADF (Bad file descriptor) [pid 6664] close(6) = -1 EBADF (Bad file descriptor) [pid 6664] close(7) = -1 EBADF (Bad file descriptor) [pid 6664] close(8) = -1 EBADF (Bad file descriptor) [pid 6664] close(9) = -1 EBADF (Bad file descriptor) [pid 6664] close(10) = -1 EBADF (Bad file descriptor) [pid 6664] close(11) = -1 EBADF (Bad file descriptor) [pid 6664] close(12) = -1 EBADF (Bad file descriptor) [pid 6664] close(13) = -1 EBADF (Bad file descriptor) [pid 6664] close(14) = -1 EBADF (Bad file descriptor) [pid 6664] close(15) = -1 EBADF (Bad file descriptor) [pid 6664] close(16) = -1 EBADF (Bad file descriptor) [pid 6664] close(17) = -1 EBADF (Bad file descriptor) [pid 6664] close(18) = -1 EBADF (Bad file descriptor) [pid 6664] close(19) = -1 EBADF (Bad file descriptor) [pid 6664] close(20) = -1 EBADF (Bad file descriptor) [pid 6664] close(21) = -1 EBADF (Bad file descriptor) [pid 6664] close(22) = -1 EBADF (Bad file descriptor) [pid 6664] close(23) = -1 EBADF (Bad file descriptor) [pid 6664] close(24) = -1 EBADF (Bad file descriptor) [pid 6664] close(25) = -1 EBADF (Bad file descriptor) [pid 6664] close(26) = -1 EBADF (Bad file descriptor) [pid 6664] close(27) = -1 EBADF (Bad file descriptor) [pid 6664] close(28) = -1 EBADF (Bad file descriptor) [pid 6664] close(29) = -1 EBADF (Bad file descriptor) [pid 6664] exit_group(0) = ? [pid 6664] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=76, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=31 /* 0.31 s */} --- [pid 5835] umount2("./74", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./74", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./74/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./74/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./74/binderfs") = 0 [ 237.641262][ T5835] bcachefs (loop0): shutting down [ 237.646443][ T5835] bcachefs (loop0): going read-only [ 237.651881][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 237.659541][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 237.684553][ T3529] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 237.698007][ T3529] bcachefs (loop0): fatal error - emergency read only [ 237.705620][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 237.715513][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 237.723146][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 237.740486][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./74/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./74/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./74/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./74/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./74/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./74/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./74") = 0 [pid 5835] mkdir("./75", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6678 attached [pid 6678] set_robust_list(0x55557d035660, 24) = 0 [pid 6678] chdir("./75") = 0 [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 77 [pid 6678] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6678] setpgid(0, 0) = 0 [pid 6678] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6678] write(3, "1000", 4) = 4 [pid 6678] close(3) = 0 [pid 6678] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6678] write(1, "executing program\n", 18) = 18 [pid 6678] memfd_create("syzkaller", 0) = 3 [pid 6678] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6678] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6678] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6678] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6678] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6678] close(3) = 0 [pid 6678] close(4) = 0 [pid 6678] mkdir("./file1", 0777) = 0 [ 239.208237][ T6678] loop0: detected capacity change from 0 to 32768 [ 239.289912][ T6678] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 239.312474][ T6678] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 239.320651][ T6678] bcachefs (loop0): Version upgrade required: [ 239.320651][ T6678] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 239.320651][ T6678] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 239.320651][ T6678] 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 [ 239.392939][ T6678] bcachefs (loop0): dropping and reconstructing all alloc info [ 239.409676][ T6678] bcachefs (loop0): accounting_read... done [ 239.416161][ T6678] bcachefs (loop0): alloc_read... done [ 239.421768][ T6678] bcachefs (loop0): stripes_read... done [ 239.427644][ T6678] bcachefs (loop0): snapshots_read... done [pid 6678] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6678] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6678] chdir("./file1") = 0 [pid 6678] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 239.433636][ T6678] bcachefs (loop0): check_allocations... done [ 239.454532][ T6678] bcachefs (loop0): going read-write [ 239.463825][ T6678] bcachefs (loop0): done starting filesystem [pid 6678] ioctl(4, LOOP_CLR_FD) = 0 [pid 6678] close(4) = 0 [pid 6678] rename("./file2", "./file1") = 0 [pid 6678] close(3) = 0 [pid 6678] close(4) = -1 EBADF (Bad file descriptor) [pid 6678] close(5) = -1 EBADF (Bad file descriptor) [pid 6678] close(6) = -1 EBADF (Bad file descriptor) [pid 6678] close(7) = -1 EBADF (Bad file descriptor) [pid 6678] close(8) = -1 EBADF (Bad file descriptor) [pid 6678] close(9) = -1 EBADF (Bad file descriptor) [pid 6678] close(10) = -1 EBADF (Bad file descriptor) [pid 6678] close(11) = -1 EBADF (Bad file descriptor) [pid 6678] close(12) = -1 EBADF (Bad file descriptor) [pid 6678] close(13) = -1 EBADF (Bad file descriptor) [pid 6678] close(14) = -1 EBADF (Bad file descriptor) [pid 6678] close(15) = -1 EBADF (Bad file descriptor) [pid 6678] close(16) = -1 EBADF (Bad file descriptor) [pid 6678] close(17) = -1 EBADF (Bad file descriptor) [pid 6678] close(18) = -1 EBADF (Bad file descriptor) [pid 6678] close(19) = -1 EBADF (Bad file descriptor) [pid 6678] close(20) = -1 EBADF (Bad file descriptor) [pid 6678] close(21) = -1 EBADF (Bad file descriptor) [pid 6678] close(22) = -1 EBADF (Bad file descriptor) [pid 6678] close(23) = -1 EBADF (Bad file descriptor) [pid 6678] close(24) = -1 EBADF (Bad file descriptor) [pid 6678] close(25) = -1 EBADF (Bad file descriptor) [pid 6678] close(26) = -1 EBADF (Bad file descriptor) [pid 6678] close(27) = -1 EBADF (Bad file descriptor) [pid 6678] close(28) = -1 EBADF (Bad file descriptor) [pid 6678] close(29) = -1 EBADF (Bad file descriptor) [pid 6678] exit_group(0) = ? [pid 6678] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=77, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=28 /* 0.28 s */} --- [pid 5835] umount2("./75", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./75", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./75/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./75/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./75/binderfs") = 0 [ 239.863087][ T5835] bcachefs (loop0): shutting down [ 239.868377][ T5835] bcachefs (loop0): going read-only [ 239.873610][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 239.881631][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 239.907524][ T1081] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 239.920785][ T1081] bcachefs (loop0): fatal error - emergency read only [ 239.928111][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 239.937925][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 239.946283][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 239.964760][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./75/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./75/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./75/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./75/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./75/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./75/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./75") = 0 [pid 5835] mkdir("./76", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6689 attached , child_tidptr=0x55557d035650) = 78 [pid 6689] set_robust_list(0x55557d035660, 24) = 0 [pid 6689] chdir("./76") = 0 [pid 6689] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6689] setpgid(0, 0) = 0 [pid 6689] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6689] write(3, "1000", 4) = 4 [pid 6689] close(3) = 0 [pid 6689] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6689] write(1, "executing program\n", 18executing program ) = 18 [pid 6689] memfd_create("syzkaller", 0) = 3 [pid 6689] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6689] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6689] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6689] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6689] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6689] close(3) = 0 [pid 6689] close(4) = 0 [pid 6689] mkdir("./file1", 0777) = 0 [ 241.572494][ T6689] loop0: detected capacity change from 0 to 32768 [ 241.662589][ T6689] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 241.685329][ T6689] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 241.693421][ T6689] bcachefs (loop0): Version upgrade required: [ 241.693421][ T6689] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 241.693421][ T6689] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 241.693421][ T6689] 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 [ 241.765765][ T6689] bcachefs (loop0): dropping and reconstructing all alloc info [ 241.782190][ T6689] bcachefs (loop0): accounting_read... done [ 241.788623][ T6689] bcachefs (loop0): alloc_read... done [ 241.794251][ T6689] bcachefs (loop0): stripes_read... done [ 241.800026][ T6689] bcachefs (loop0): snapshots_read... done [pid 6689] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6689] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6689] chdir("./file1") = 0 [pid 6689] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6689] ioctl(4, LOOP_CLR_FD) = 0 [pid 6689] close(4) = 0 [pid 6689] rename("./file2", "./file1") = 0 [pid 6689] close(3) = 0 [pid 6689] close(4) = -1 EBADF (Bad file descriptor) [pid 6689] close(5) = -1 EBADF (Bad file descriptor) [pid 6689] close(6) = -1 EBADF (Bad file descriptor) [ 241.806051][ T6689] bcachefs (loop0): check_allocations... done [ 241.826240][ T6689] bcachefs (loop0): going read-write [ 241.834533][ T6689] bcachefs (loop0): done starting filesystem [pid 6689] close(7) = -1 EBADF (Bad file descriptor) [pid 6689] close(8) = -1 EBADF (Bad file descriptor) [pid 6689] close(9) = -1 EBADF (Bad file descriptor) [pid 6689] close(10) = -1 EBADF (Bad file descriptor) [pid 6689] close(11) = -1 EBADF (Bad file descriptor) [pid 6689] close(12) = -1 EBADF (Bad file descriptor) [pid 6689] close(13) = -1 EBADF (Bad file descriptor) [pid 6689] close(14) = -1 EBADF (Bad file descriptor) [pid 6689] close(15) = -1 EBADF (Bad file descriptor) [pid 6689] close(16) = -1 EBADF (Bad file descriptor) [pid 6689] close(17) = -1 EBADF (Bad file descriptor) [pid 6689] close(18) = -1 EBADF (Bad file descriptor) [pid 6689] close(19) = -1 EBADF (Bad file descriptor) [pid 6689] close(20) = -1 EBADF (Bad file descriptor) [pid 6689] close(21) = -1 EBADF (Bad file descriptor) [pid 6689] close(22) = -1 EBADF (Bad file descriptor) [pid 6689] close(23) = -1 EBADF (Bad file descriptor) [pid 6689] close(24) = -1 EBADF (Bad file descriptor) [pid 6689] close(25) = -1 EBADF (Bad file descriptor) [pid 6689] close(26) = -1 EBADF (Bad file descriptor) [pid 6689] close(27) = -1 EBADF (Bad file descriptor) [pid 6689] close(28) = -1 EBADF (Bad file descriptor) [pid 6689] close(29) = -1 EBADF (Bad file descriptor) [pid 6689] exit_group(0) = ? [pid 6689] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=78, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=26 /* 0.26 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./76", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./76", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./76/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./76/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./76/binderfs") = 0 [ 242.169638][ T5835] bcachefs (loop0): shutting down [ 242.174715][ T5835] bcachefs (loop0): going read-only [ 242.180069][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 242.187617][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 242.213167][ T1081] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 242.226681][ T1081] bcachefs (loop0): fatal error - emergency read only [ 242.233930][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 242.243901][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 242.251931][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 242.270247][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./76/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./76/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./76/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./76/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./76/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./76/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./76") = 0 [pid 5835] mkdir("./77", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6700 attached [pid 6700] set_robust_list(0x55557d035660, 24) = 0 [pid 6700] chdir("./77") = 0 [pid 6700] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6700] setpgid(0, 0) = 0 [pid 6700] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 79 [pid 6700] <... openat resumed>) = 3 [pid 6700] write(3, "1000", 4) = 4 [pid 6700] close(3) = 0 [pid 6700] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6700] write(1, "executing program\n", 18) = 18 [pid 6700] memfd_create("syzkaller", 0) = 3 [pid 6700] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6700] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6700] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6700] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6700] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6700] close(3) = 0 [pid 6700] close(4) = 0 [pid 6700] mkdir("./file1", 0777) = 0 [ 243.815863][ T6700] loop0: detected capacity change from 0 to 32768 [ 243.887475][ T6700] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 243.910292][ T6700] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 243.918471][ T6700] bcachefs (loop0): Version upgrade required: [ 243.918471][ T6700] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 243.918471][ T6700] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 243.918471][ T6700] 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 [ 243.990823][ T6700] bcachefs (loop0): dropping and reconstructing all alloc info [ 244.007754][ T6700] bcachefs (loop0): accounting_read... done [ 244.013916][ T6700] bcachefs (loop0): alloc_read... done [ 244.019534][ T6700] bcachefs (loop0): stripes_read... done [ 244.025286][ T6700] bcachefs (loop0): snapshots_read... done [pid 6700] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6700] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6700] chdir("./file1") = 0 [pid 6700] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6700] ioctl(4, LOOP_CLR_FD) = 0 [pid 6700] close(4) = 0 [pid 6700] rename("./file2", "./file1") = 0 [pid 6700] close(3) = 0 [pid 6700] close(4) = -1 EBADF (Bad file descriptor) [pid 6700] close(5) = -1 EBADF (Bad file descriptor) [pid 6700] close(6) = -1 EBADF (Bad file descriptor) [pid 6700] close(7) = -1 EBADF (Bad file descriptor) [pid 6700] close(8) = -1 EBADF (Bad file descriptor) [pid 6700] close(9) = -1 EBADF (Bad file descriptor) [pid 6700] close(10) = -1 EBADF (Bad file descriptor) [pid 6700] close(11) = -1 EBADF (Bad file descriptor) [pid 6700] close(12) = -1 EBADF (Bad file descriptor) [pid 6700] close(13) = -1 EBADF (Bad file descriptor) [pid 6700] close(14) = -1 EBADF (Bad file descriptor) [pid 6700] close(15) = -1 EBADF (Bad file descriptor) [pid 6700] close(16) = -1 EBADF (Bad file descriptor) [pid 6700] close(17) = -1 EBADF (Bad file descriptor) [pid 6700] close(18) = -1 EBADF (Bad file descriptor) [pid 6700] close(19) = -1 EBADF (Bad file descriptor) [pid 6700] close(20) = -1 EBADF (Bad file descriptor) [pid 6700] close(21) = -1 EBADF (Bad file descriptor) [pid 6700] close(22) = -1 EBADF (Bad file descriptor) [pid 6700] close(23) = -1 EBADF (Bad file descriptor) [pid 6700] close(24) = -1 EBADF (Bad file descriptor) [pid 6700] close(25) = -1 EBADF (Bad file descriptor) [pid 6700] close(26) = -1 EBADF (Bad file descriptor) [pid 6700] close(27) = -1 EBADF (Bad file descriptor) [pid 6700] close(28) = -1 EBADF (Bad file descriptor) [pid 6700] close(29) = -1 EBADF (Bad file descriptor) [pid 6700] exit_group(0) = ? [ 244.031226][ T6700] bcachefs (loop0): check_allocations... done [ 244.052021][ T6700] bcachefs (loop0): going read-write [ 244.061279][ T6700] bcachefs (loop0): done starting filesystem [pid 6700] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=79, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=26 /* 0.26 s */} --- [pid 5835] umount2("./77", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./77", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./77/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./77/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./77/binderfs") = 0 [ 244.114849][ T5835] bcachefs (loop0): shutting down [ 244.120115][ T5835] bcachefs (loop0): going read-only [ 244.125581][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 244.133156][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 244.161411][ T1081] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 244.174696][ T1081] bcachefs (loop0): fatal error - emergency read only [ 244.182213][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 15 [ 244.192127][ T5835] bcachefs (loop0): unshutdown complete, journal seq 15 [ 244.199941][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 244.217334][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./77/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./77/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./77/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./77/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./77/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./77/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./77") = 0 [pid 5835] mkdir("./78", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6711 attached , child_tidptr=0x55557d035650) = 80 [pid 6711] set_robust_list(0x55557d035660, 24) = 0 [pid 6711] chdir("./78") = 0 [pid 6711] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6711] setpgid(0, 0) = 0 [pid 6711] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6711] write(3, "1000", 4) = 4 [pid 6711] close(3) = 0 [pid 6711] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6711] write(1, "executing program\n", 18) = 18 [pid 6711] memfd_create("syzkaller", 0) = 3 [pid 6711] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6711] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6711] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6711] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6711] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6711] close(3) = 0 [pid 6711] close(4) = 0 [pid 6711] mkdir("./file1", 0777) = 0 [ 245.661815][ T6711] loop0: detected capacity change from 0 to 32768 [ 245.752419][ T6711] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 245.775312][ T6711] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 245.783508][ T6711] bcachefs (loop0): Version upgrade required: [ 245.783508][ T6711] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 245.783508][ T6711] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 245.783508][ T6711] 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 [ 245.856185][ T6711] bcachefs (loop0): dropping and reconstructing all alloc info [ 245.872236][ T6711] bcachefs (loop0): accounting_read... done [ 245.878519][ T6711] bcachefs (loop0): alloc_read... done [ 245.884170][ T6711] bcachefs (loop0): stripes_read... done [ 245.889954][ T6711] bcachefs (loop0): snapshots_read... done [pid 6711] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6711] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6711] chdir("./file1") = 0 [pid 6711] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6711] ioctl(4, LOOP_CLR_FD) = 0 [pid 6711] close(4) = 0 [pid 6711] rename("./file2", "./file1") = 0 [pid 6711] close(3) = 0 [pid 6711] close(4) = -1 EBADF (Bad file descriptor) [pid 6711] close(5) = -1 EBADF (Bad file descriptor) [pid 6711] close(6) = -1 EBADF (Bad file descriptor) [pid 6711] close(7) = -1 EBADF (Bad file descriptor) [pid 6711] close(8) = -1 EBADF (Bad file descriptor) [pid 6711] close(9) = -1 EBADF (Bad file descriptor) [pid 6711] close(10) = -1 EBADF (Bad file descriptor) [pid 6711] close(11) = -1 EBADF (Bad file descriptor) [pid 6711] close(12) = -1 EBADF (Bad file descriptor) [pid 6711] close(13) = -1 EBADF (Bad file descriptor) [pid 6711] close(14) = -1 EBADF (Bad file descriptor) [pid 6711] close(15) = -1 EBADF (Bad file descriptor) [pid 6711] close(16) = -1 EBADF (Bad file descriptor) [pid 6711] close(17) = -1 EBADF (Bad file descriptor) [pid 6711] close(18) = -1 EBADF (Bad file descriptor) [pid 6711] close(19) = -1 EBADF (Bad file descriptor) [pid 6711] close(20) = -1 EBADF (Bad file descriptor) [pid 6711] close(21) = -1 EBADF (Bad file descriptor) [pid 6711] close(22) = -1 EBADF (Bad file descriptor) [pid 6711] close(23) = -1 EBADF (Bad file descriptor) [pid 6711] close(24) = -1 EBADF (Bad file descriptor) [pid 6711] close(25) = -1 EBADF (Bad file descriptor) [pid 6711] close(26) = -1 EBADF (Bad file descriptor) [ 245.896093][ T6711] bcachefs (loop0): check_allocations... done [ 245.916445][ T6711] bcachefs (loop0): going read-write [ 245.925665][ T6711] bcachefs (loop0): done starting filesystem [pid 6711] close(27) = -1 EBADF (Bad file descriptor) [pid 6711] close(28) = -1 EBADF (Bad file descriptor) [pid 6711] close(29) = -1 EBADF (Bad file descriptor) [pid 6711] exit_group(0) = ? [pid 6711] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=80, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=30 /* 0.30 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./78", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./78", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./78/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./78/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./78/binderfs") = 0 [ 246.140438][ T5835] bcachefs (loop0): shutting down [ 246.145604][ T5835] bcachefs (loop0): going read-only [ 246.150853][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 246.158561][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 246.184893][ T3529] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 246.198965][ T3529] bcachefs (loop0): fatal error - emergency read only [ 246.206911][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 246.216787][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 246.224422][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 246.242452][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./78/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./78/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./78/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./78/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./78/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./78/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./78") = 0 [pid 5835] mkdir("./79", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6722 attached , child_tidptr=0x55557d035650) = 81 [pid 6722] set_robust_list(0x55557d035660, 24) = 0 [pid 6722] chdir("./79") = 0 [pid 6722] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6722] setpgid(0, 0) = 0 [pid 6722] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6722] write(3, "1000", 4) = 4 [pid 6722] close(3) = 0 [pid 6722] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6722] write(1, "executing program\n", 18) = 18 [pid 6722] memfd_create("syzkaller", 0) = 3 [pid 6722] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6722] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6722] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6722] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6722] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6722] close(3) = 0 [pid 6722] close(4) = 0 [pid 6722] mkdir("./file1", 0777) = 0 [ 247.688483][ T6722] loop0: detected capacity change from 0 to 32768 [ 247.767514][ T6722] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 247.790218][ T6722] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 247.798394][ T6722] bcachefs (loop0): Version upgrade required: [ 247.798394][ T6722] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 247.798394][ T6722] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 247.798394][ T6722] 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 [ 247.870822][ T6722] bcachefs (loop0): dropping and reconstructing all alloc info [ 247.887750][ T6722] bcachefs (loop0): accounting_read... done [ 247.893907][ T6722] bcachefs (loop0): alloc_read... done [ 247.899593][ T6722] bcachefs (loop0): stripes_read... done [ 247.905537][ T6722] bcachefs (loop0): snapshots_read... done [pid 6722] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6722] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6722] chdir("./file1") = 0 [pid 6722] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 247.911471][ T6722] bcachefs (loop0): check_allocations... done [ 247.931392][ T6722] bcachefs (loop0): going read-write [ 247.940496][ T6722] bcachefs (loop0): done starting filesystem [pid 6722] ioctl(4, LOOP_CLR_FD) = 0 [pid 6722] close(4) = 0 [pid 6722] rename("./file2", "./file1") = 0 [pid 6722] close(3) = 0 [pid 6722] close(4) = -1 EBADF (Bad file descriptor) [pid 6722] close(5) = -1 EBADF (Bad file descriptor) [pid 6722] close(6) = -1 EBADF (Bad file descriptor) [pid 6722] close(7) = -1 EBADF (Bad file descriptor) [pid 6722] close(8) = -1 EBADF (Bad file descriptor) [pid 6722] close(9) = -1 EBADF (Bad file descriptor) [pid 6722] close(10) = -1 EBADF (Bad file descriptor) [pid 6722] close(11) = -1 EBADF (Bad file descriptor) [pid 6722] close(12) = -1 EBADF (Bad file descriptor) [pid 6722] close(13) = -1 EBADF (Bad file descriptor) [pid 6722] close(14) = -1 EBADF (Bad file descriptor) [pid 6722] close(15) = -1 EBADF (Bad file descriptor) [pid 6722] close(16) = -1 EBADF (Bad file descriptor) [pid 6722] close(17) = -1 EBADF (Bad file descriptor) [pid 6722] close(18) = -1 EBADF (Bad file descriptor) [pid 6722] close(19) = -1 EBADF (Bad file descriptor) [pid 6722] close(20) = -1 EBADF (Bad file descriptor) [pid 6722] close(21) = -1 EBADF (Bad file descriptor) [pid 6722] close(22) = -1 EBADF (Bad file descriptor) [pid 6722] close(23) = -1 EBADF (Bad file descriptor) [pid 6722] close(24) = -1 EBADF (Bad file descriptor) [pid 6722] close(25) = -1 EBADF (Bad file descriptor) [pid 6722] close(26) = -1 EBADF (Bad file descriptor) [pid 6722] close(27) = -1 EBADF (Bad file descriptor) [pid 6722] close(28) = -1 EBADF (Bad file descriptor) [pid 6722] close(29) = -1 EBADF (Bad file descriptor) [pid 6722] exit_group(0) = ? [pid 6722] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=81, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=31 /* 0.31 s */} --- [pid 5835] umount2("./79", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./79", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./79/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./79/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./79/binderfs") = 0 [ 248.347094][ T5835] bcachefs (loop0): shutting down [ 248.352315][ T5835] bcachefs (loop0): going read-only [ 248.357726][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 248.365401][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 248.391046][ T62] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 248.404476][ T62] bcachefs (loop0): fatal error - emergency read only [ 248.411789][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 248.422291][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 248.430083][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 248.447963][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./79/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./79/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./79/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./79/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./79/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./79/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./79") = 0 [pid 5835] mkdir("./80", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6733 attached [pid 6733] set_robust_list(0x55557d035660, 24 [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 82 [pid 6733] <... set_robust_list resumed>) = 0 [pid 6733] chdir("./80") = 0 [pid 6733] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6733] setpgid(0, 0) = 0 [pid 6733] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6733] write(3, "1000", 4) = 4 [pid 6733] close(3) = 0 [pid 6733] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6733] write(1, "executing program\n", 18) = 18 [pid 6733] memfd_create("syzkaller", 0) = 3 [pid 6733] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6733] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6733] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6733] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6733] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6733] close(3) = 0 [pid 6733] close(4) = 0 [pid 6733] mkdir("./file1", 0777) = 0 [ 250.021184][ T6733] loop0: detected capacity change from 0 to 32768 [ 250.113177][ T6733] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 250.135852][ T6733] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 250.143930][ T6733] bcachefs (loop0): Version upgrade required: [ 250.143930][ T6733] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 250.143930][ T6733] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 250.143930][ T6733] 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 [ 250.216742][ T6733] bcachefs (loop0): dropping and reconstructing all alloc info [ 250.233322][ T6733] bcachefs (loop0): accounting_read... done [ 250.239982][ T6733] bcachefs (loop0): alloc_read... done [ 250.245724][ T6733] bcachefs (loop0): stripes_read... done [ 250.251466][ T6733] bcachefs (loop0): snapshots_read... done [pid 6733] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6733] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6733] chdir("./file1") = 0 [pid 6733] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6733] ioctl(4, LOOP_CLR_FD) = 0 [pid 6733] close(4) = 0 [pid 6733] rename("./file2", "./file1") = 0 [pid 6733] close(3) = 0 [pid 6733] close(4) = -1 EBADF (Bad file descriptor) [pid 6733] close(5) = -1 EBADF (Bad file descriptor) [pid 6733] close(6) = -1 EBADF (Bad file descriptor) [pid 6733] close(7) = -1 EBADF (Bad file descriptor) [pid 6733] close(8) = -1 EBADF (Bad file descriptor) [pid 6733] close(9) = -1 EBADF (Bad file descriptor) [pid 6733] close(10) = -1 EBADF (Bad file descriptor) [pid 6733] close(11) = -1 EBADF (Bad file descriptor) [pid 6733] close(12) = -1 EBADF (Bad file descriptor) [pid 6733] close(13) = -1 EBADF (Bad file descriptor) [pid 6733] close(14) = -1 EBADF (Bad file descriptor) [pid 6733] close(15) = -1 EBADF (Bad file descriptor) [pid 6733] close(16) = -1 EBADF (Bad file descriptor) [pid 6733] close(17) = -1 EBADF (Bad file descriptor) [ 250.257572][ T6733] bcachefs (loop0): check_allocations... done [ 250.278023][ T6733] bcachefs (loop0): going read-write [ 250.287664][ T6733] bcachefs (loop0): done starting filesystem [pid 6733] close(18) = -1 EBADF (Bad file descriptor) [pid 6733] close(19) = -1 EBADF (Bad file descriptor) [pid 6733] close(20) = -1 EBADF (Bad file descriptor) [pid 6733] close(21) = -1 EBADF (Bad file descriptor) [pid 6733] close(22) = -1 EBADF (Bad file descriptor) [pid 6733] close(23) = -1 EBADF (Bad file descriptor) [pid 6733] close(24) = -1 EBADF (Bad file descriptor) [pid 6733] close(25) = -1 EBADF (Bad file descriptor) [pid 6733] close(26) = -1 EBADF (Bad file descriptor) [pid 6733] close(27) = -1 EBADF (Bad file descriptor) [pid 6733] close(28) = -1 EBADF (Bad file descriptor) [pid 6733] close(29) = -1 EBADF (Bad file descriptor) [pid 6733] exit_group(0) = ? [pid 6733] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=82, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=24 /* 0.24 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./80", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./80", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./80/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./80/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./80/binderfs") = 0 [ 250.501253][ T5835] bcachefs (loop0): shutting down [ 250.506478][ T5835] bcachefs (loop0): going read-only [ 250.511720][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 250.519427][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 250.544922][ T3529] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 250.558708][ T3529] bcachefs (loop0): fatal error - emergency read only [ 250.566406][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 250.576291][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 250.583924][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 250.601165][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./80/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./80/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./80/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./80/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./80/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./80/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./80") = 0 [pid 5835] mkdir("./81", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6744 attached [pid 6744] set_robust_list(0x55557d035660, 24) = 0 [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 83 [pid 6744] chdir("./81") = 0 [pid 6744] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6744] setpgid(0, 0) = 0 [pid 6744] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6744] write(3, "1000", 4) = 4 [pid 6744] close(3) = 0 [pid 6744] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6744] write(1, "executing program\n", 18executing program ) = 18 [pid 6744] memfd_create("syzkaller", 0) = 3 [pid 6744] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6744] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6744] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6744] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6744] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6744] close(3) = 0 [pid 6744] close(4) = 0 [pid 6744] mkdir("./file1", 0777) = 0 [ 252.089177][ T6744] loop0: detected capacity change from 0 to 32768 [ 252.183635][ T6744] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 252.206322][ T6744] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 252.214387][ T6744] bcachefs (loop0): Version upgrade required: [ 252.214387][ T6744] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 252.214387][ T6744] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 252.214387][ T6744] 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 [ 252.287044][ T6744] bcachefs (loop0): dropping and reconstructing all alloc info [ 252.303556][ T6744] bcachefs (loop0): accounting_read... done [ 252.310235][ T6744] bcachefs (loop0): alloc_read... done [ 252.316134][ T6744] bcachefs (loop0): stripes_read... done [ 252.322003][ T6744] bcachefs (loop0): snapshots_read... done [pid 6744] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6744] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6744] chdir("./file1") = 0 [pid 6744] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 252.328072][ T6744] bcachefs (loop0): check_allocations... done [ 252.348623][ T6744] bcachefs (loop0): going read-write [ 252.357773][ T6744] bcachefs (loop0): done starting filesystem [pid 6744] ioctl(4, LOOP_CLR_FD) = 0 [pid 6744] close(4) = 0 [pid 6744] rename("./file2", "./file1") = 0 [pid 6744] close(3) = 0 [pid 6744] close(4) = -1 EBADF (Bad file descriptor) [pid 6744] close(5) = -1 EBADF (Bad file descriptor) [pid 6744] close(6) = -1 EBADF (Bad file descriptor) [pid 6744] close(7) = -1 EBADF (Bad file descriptor) [pid 6744] close(8) = -1 EBADF (Bad file descriptor) [pid 6744] close(9) = -1 EBADF (Bad file descriptor) [pid 6744] close(10) = -1 EBADF (Bad file descriptor) [pid 6744] close(11) = -1 EBADF (Bad file descriptor) [pid 6744] close(12) = -1 EBADF (Bad file descriptor) [pid 6744] close(13) = -1 EBADF (Bad file descriptor) [pid 6744] close(14) = -1 EBADF (Bad file descriptor) [pid 6744] close(15) = -1 EBADF (Bad file descriptor) [pid 6744] close(16) = -1 EBADF (Bad file descriptor) [pid 6744] close(17) = -1 EBADF (Bad file descriptor) [pid 6744] close(18) = -1 EBADF (Bad file descriptor) [pid 6744] close(19) = -1 EBADF (Bad file descriptor) [pid 6744] close(20) = -1 EBADF (Bad file descriptor) [pid 6744] close(21) = -1 EBADF (Bad file descriptor) [pid 6744] close(22) = -1 EBADF (Bad file descriptor) [pid 6744] close(23) = -1 EBADF (Bad file descriptor) [pid 6744] close(24) = -1 EBADF (Bad file descriptor) [pid 6744] close(25) = -1 EBADF (Bad file descriptor) [pid 6744] close(26) = -1 EBADF (Bad file descriptor) [pid 6744] close(27) = -1 EBADF (Bad file descriptor) [pid 6744] close(28) = -1 EBADF (Bad file descriptor) [pid 6744] close(29) = -1 EBADF (Bad file descriptor) [pid 6744] exit_group(0) = ? [pid 6744] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=83, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=30 /* 0.30 s */} --- [pid 5835] umount2("./81", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./81", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./81/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./81/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./81/binderfs") = 0 [ 252.608529][ T5835] bcachefs (loop0): shutting down [ 252.613715][ T5835] bcachefs (loop0): going read-only [ 252.619109][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 252.627059][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 252.654096][ T62] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 252.667820][ T62] bcachefs (loop0): fatal error - emergency read only [ 252.675255][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 252.685366][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 252.693000][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 252.711226][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./81/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./81/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./81/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./81/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./81/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./81/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./81") = 0 [pid 5835] mkdir("./82", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6755 attached [pid 6755] set_robust_list(0x55557d035660, 24) = 0 [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 84 [pid 6755] chdir("./82") = 0 [pid 6755] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6755] setpgid(0, 0) = 0 [pid 6755] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6755] write(3, "1000", 4) = 4 [pid 6755] close(3) = 0 [pid 6755] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6755] write(1, "executing program\n", 18) = 18 [pid 6755] memfd_create("syzkaller", 0) = 3 [pid 6755] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6755] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6755] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6755] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6755] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6755] close(3) = 0 [pid 6755] close(4) = 0 [pid 6755] mkdir("./file1", 0777) = 0 [ 254.214807][ T6755] loop0: detected capacity change from 0 to 32768 [ 254.314634][ T6755] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 254.337259][ T6755] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 254.345415][ T6755] bcachefs (loop0): Version upgrade required: [ 254.345415][ T6755] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 254.345415][ T6755] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 254.345415][ T6755] 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 [ 254.417665][ T6755] bcachefs (loop0): dropping and reconstructing all alloc info [ 254.434016][ T6755] bcachefs (loop0): accounting_read... done [ 254.440587][ T6755] bcachefs (loop0): alloc_read... done [ 254.446375][ T6755] bcachefs (loop0): stripes_read... done [ 254.452134][ T6755] bcachefs (loop0): snapshots_read... done [pid 6755] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6755] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6755] chdir("./file1") = 0 [pid 6755] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6755] ioctl(4, LOOP_CLR_FD) = 0 [pid 6755] close(4) = 0 [pid 6755] rename("./file2", "./file1") = 0 [pid 6755] close(3) = 0 [pid 6755] close(4) = -1 EBADF (Bad file descriptor) [pid 6755] close(5) = -1 EBADF (Bad file descriptor) [ 254.458286][ T6755] bcachefs (loop0): check_allocations... done [ 254.479750][ T6755] bcachefs (loop0): going read-write [ 254.488222][ T6755] bcachefs (loop0): done starting filesystem [pid 6755] close(6) = -1 EBADF (Bad file descriptor) [pid 6755] close(7) = -1 EBADF (Bad file descriptor) [pid 6755] close(8) = -1 EBADF (Bad file descriptor) [pid 6755] close(9) = -1 EBADF (Bad file descriptor) [pid 6755] close(10) = -1 EBADF (Bad file descriptor) [pid 6755] close(11) = -1 EBADF (Bad file descriptor) [pid 6755] close(12) = -1 EBADF (Bad file descriptor) [pid 6755] close(13) = -1 EBADF (Bad file descriptor) [pid 6755] close(14) = -1 EBADF (Bad file descriptor) [pid 6755] close(15) = -1 EBADF (Bad file descriptor) [pid 6755] close(16) = -1 EBADF (Bad file descriptor) [pid 6755] close(17) = -1 EBADF (Bad file descriptor) [pid 6755] close(18) = -1 EBADF (Bad file descriptor) [pid 6755] close(19) = -1 EBADF (Bad file descriptor) [pid 6755] close(20) = -1 EBADF (Bad file descriptor) [pid 6755] close(21) = -1 EBADF (Bad file descriptor) [pid 6755] close(22) = -1 EBADF (Bad file descriptor) [pid 6755] close(23) = -1 EBADF (Bad file descriptor) [pid 6755] close(24) = -1 EBADF (Bad file descriptor) [pid 6755] close(25) = -1 EBADF (Bad file descriptor) [pid 6755] close(26) = -1 EBADF (Bad file descriptor) [pid 6755] close(27) = -1 EBADF (Bad file descriptor) [pid 6755] close(28) = -1 EBADF (Bad file descriptor) [pid 6755] close(29) = -1 EBADF (Bad file descriptor) [pid 6755] exit_group(0) = ? [pid 6755] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=84, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=27 /* 0.27 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./82", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./82", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./82/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./82/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./82/binderfs") = 0 [ 254.887012][ T5835] bcachefs (loop0): shutting down [ 254.892130][ T5835] bcachefs (loop0): going read-only [ 254.897490][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 254.904951][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 254.930174][ T62] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 254.943069][ T62] bcachefs (loop0): fatal error - emergency read only [ 254.950564][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 254.960453][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 254.968286][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 254.985348][ T5835] bcachefs (loop0): shutdown complete [ 255.687274][ T1300] ieee802154 phy0 wpan0: encryption failed: -22 [ 255.693721][ T1300] ieee802154 phy1 wpan1: encryption failed: -22 [pid 5835] umount2("./82/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./82/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./82/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./82/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./82/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./82/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./82") = 0 [pid 5835] mkdir("./83", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6766 attached [pid 6766] set_robust_list(0x55557d035660, 24) = 0 [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 85 [pid 6766] chdir("./83") = 0 [pid 6766] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6766] setpgid(0, 0) = 0 [pid 6766] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6766] write(3, "1000", 4) = 4 [pid 6766] close(3) = 0 [pid 6766] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6766] write(1, "executing program\n", 18executing program ) = 18 [pid 6766] memfd_create("syzkaller", 0) = 3 [pid 6766] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6766] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6766] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6766] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6766] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6766] close(3) = 0 [pid 6766] close(4) = 0 [pid 6766] mkdir("./file1", 0777) = 0 [ 256.559493][ T6766] loop0: detected capacity change from 0 to 32768 [ 256.635911][ T6766] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 256.658608][ T6766] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 256.666776][ T6766] bcachefs (loop0): Version upgrade required: [ 256.666776][ T6766] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 256.666776][ T6766] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 256.666776][ T6766] 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 [ 256.739051][ T6766] bcachefs (loop0): dropping and reconstructing all alloc info [ 256.755484][ T6766] bcachefs (loop0): accounting_read... done [ 256.761635][ T6766] bcachefs (loop0): alloc_read... done [ 256.767341][ T6766] bcachefs (loop0): stripes_read... done [ 256.773106][ T6766] bcachefs (loop0): snapshots_read... done [pid 6766] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6766] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6766] chdir("./file1") = 0 [pid 6766] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6766] ioctl(4, LOOP_CLR_FD) = 0 [pid 6766] close(4) = 0 [ 256.779237][ T6766] bcachefs (loop0): check_allocations... done [ 256.799144][ T6766] bcachefs (loop0): going read-write [ 256.809344][ T6766] bcachefs (loop0): done starting filesystem [pid 6766] rename("./file2", "./file1") = 0 [pid 6766] close(3) = 0 [pid 6766] close(4) = -1 EBADF (Bad file descriptor) [pid 6766] close(5) = -1 EBADF (Bad file descriptor) [pid 6766] close(6) = -1 EBADF (Bad file descriptor) [pid 6766] close(7) = -1 EBADF (Bad file descriptor) [pid 6766] close(8) = -1 EBADF (Bad file descriptor) [pid 6766] close(9) = -1 EBADF (Bad file descriptor) [pid 6766] close(10) = -1 EBADF (Bad file descriptor) [pid 6766] close(11) = -1 EBADF (Bad file descriptor) [pid 6766] close(12) = -1 EBADF (Bad file descriptor) [pid 6766] close(13) = -1 EBADF (Bad file descriptor) [pid 6766] close(14) = -1 EBADF (Bad file descriptor) [pid 6766] close(15) = -1 EBADF (Bad file descriptor) [pid 6766] close(16) = -1 EBADF (Bad file descriptor) [pid 6766] close(17) = -1 EBADF (Bad file descriptor) [pid 6766] close(18) = -1 EBADF (Bad file descriptor) [pid 6766] close(19) = -1 EBADF (Bad file descriptor) [pid 6766] close(20) = -1 EBADF (Bad file descriptor) [pid 6766] close(21) = -1 EBADF (Bad file descriptor) [pid 6766] close(22) = -1 EBADF (Bad file descriptor) [pid 6766] close(23) = -1 EBADF (Bad file descriptor) [pid 6766] close(24) = -1 EBADF (Bad file descriptor) [pid 6766] close(25) = -1 EBADF (Bad file descriptor) [pid 6766] close(26) = -1 EBADF (Bad file descriptor) [pid 6766] close(27) = -1 EBADF (Bad file descriptor) [pid 6766] close(28) = -1 EBADF (Bad file descriptor) [pid 6766] close(29) = -1 EBADF (Bad file descriptor) [pid 6766] exit_group(0) = ? [pid 6766] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=85, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=32 /* 0.32 s */} --- [pid 5835] umount2("./83", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./83", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./83/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./83/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./83/binderfs") = 0 [ 257.188877][ T5835] bcachefs (loop0): shutting down [ 257.193963][ T5835] bcachefs (loop0): going read-only [ 257.199299][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 257.206909][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 257.230697][ T3529] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 257.244065][ T3529] bcachefs (loop0): fatal error - emergency read only [ 257.251621][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 257.261385][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 257.269272][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 257.286166][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./83/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./83/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./83/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./83/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./83/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./83/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./83") = 0 [pid 5835] mkdir("./84", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6777 attached [pid 6777] set_robust_list(0x55557d035660, 24) = 0 [pid 6777] chdir("./84") = 0 [pid 6777] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6777] setpgid(0, 0) = 0 [pid 6777] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 86 [pid 6777] <... openat resumed>) = 3 [pid 6777] write(3, "1000", 4) = 4 [pid 6777] close(3) = 0 [pid 6777] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6777] write(1, "executing program\n", 18) = 18 [pid 6777] memfd_create("syzkaller", 0) = 3 [pid 6777] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6777] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6777] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6777] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6777] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6777] close(3) = 0 [pid 6777] close(4) = 0 [pid 6777] mkdir("./file1", 0777) = 0 [ 258.751947][ T6777] loop0: detected capacity change from 0 to 32768 [ 258.834600][ T6777] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 258.857307][ T6777] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 258.865499][ T6777] bcachefs (loop0): Version upgrade required: [ 258.865499][ T6777] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 258.865499][ T6777] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 258.865499][ T6777] 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 [ 258.937765][ T6777] bcachefs (loop0): dropping and reconstructing all alloc info [ 258.954605][ T6777] bcachefs (loop0): accounting_read... done [ 258.960879][ T6777] bcachefs (loop0): alloc_read... done [ 258.966499][ T6777] bcachefs (loop0): stripes_read... done [ 258.972216][ T6777] bcachefs (loop0): snapshots_read... done [pid 6777] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6777] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6777] chdir("./file1") = 0 [pid 6777] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6777] ioctl(4, LOOP_CLR_FD) = 0 [pid 6777] close(4) = 0 [pid 6777] rename("./file2", "./file1") = 0 [pid 6777] close(3) = 0 [ 258.978417][ T6777] bcachefs (loop0): check_allocations... done [ 258.998365][ T6777] bcachefs (loop0): going read-write [ 259.007877][ T6777] bcachefs (loop0): done starting filesystem [pid 6777] close(4) = -1 EBADF (Bad file descriptor) [pid 6777] close(5) = -1 EBADF (Bad file descriptor) [pid 6777] close(6) = -1 EBADF (Bad file descriptor) [pid 6777] close(7) = -1 EBADF (Bad file descriptor) [pid 6777] close(8) = -1 EBADF (Bad file descriptor) [pid 6777] close(9) = -1 EBADF (Bad file descriptor) [pid 6777] close(10) = -1 EBADF (Bad file descriptor) [pid 6777] close(11) = -1 EBADF (Bad file descriptor) [pid 6777] close(12) = -1 EBADF (Bad file descriptor) [pid 6777] close(13) = -1 EBADF (Bad file descriptor) [pid 6777] close(14) = -1 EBADF (Bad file descriptor) [pid 6777] close(15) = -1 EBADF (Bad file descriptor) [pid 6777] close(16) = -1 EBADF (Bad file descriptor) [pid 6777] close(17) = -1 EBADF (Bad file descriptor) [pid 6777] close(18) = -1 EBADF (Bad file descriptor) [pid 6777] close(19) = -1 EBADF (Bad file descriptor) [pid 6777] close(20) = -1 EBADF (Bad file descriptor) [pid 6777] close(21) = -1 EBADF (Bad file descriptor) [pid 6777] close(22) = -1 EBADF (Bad file descriptor) [pid 6777] close(23) = -1 EBADF (Bad file descriptor) [pid 6777] close(24) = -1 EBADF (Bad file descriptor) [pid 6777] close(25) = -1 EBADF (Bad file descriptor) [pid 6777] close(26) = -1 EBADF (Bad file descriptor) [pid 6777] close(27) = -1 EBADF (Bad file descriptor) [pid 6777] close(28) = -1 EBADF (Bad file descriptor) [pid 6777] close(29) = -1 EBADF (Bad file descriptor) [pid 6777] exit_group(0) = ? [pid 6777] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=86, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=28 /* 0.28 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./84", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./84", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./84/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./84/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./84/binderfs") = 0 [ 259.404134][ T5835] bcachefs (loop0): shutting down [ 259.409516][ T5835] bcachefs (loop0): going read-only [ 259.414732][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 259.422481][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 259.446770][ T3529] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 259.460084][ T3529] bcachefs (loop0): fatal error - emergency read only [ 259.467780][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 259.477563][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 259.485345][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 259.502348][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./84/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./84/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./84/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./84/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./84/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./84/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./84") = 0 [pid 5835] mkdir("./85", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6788 attached [pid 6788] set_robust_list(0x55557d035660, 24 [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 87 [pid 6788] <... set_robust_list resumed>) = 0 [pid 6788] chdir("./85") = 0 [pid 6788] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6788] setpgid(0, 0) = 0 [pid 6788] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6788] write(3, "1000", 4) = 4 [pid 6788] close(3) = 0 [pid 6788] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6788] write(1, "executing program\n", 18) = 18 [pid 6788] memfd_create("syzkaller", 0) = 3 [pid 6788] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6788] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6788] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6788] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6788] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6788] close(3) = 0 [pid 6788] close(4) = 0 [pid 6788] mkdir("./file1", 0777) = 0 [ 260.949129][ T6788] loop0: detected capacity change from 0 to 32768 [ 261.046415][ T6788] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 261.068946][ T6788] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 261.077115][ T6788] bcachefs (loop0): Version upgrade required: [ 261.077115][ T6788] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 261.077115][ T6788] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 261.077115][ T6788] 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 [ 261.149370][ T6788] bcachefs (loop0): dropping and reconstructing all alloc info [ 261.165775][ T6788] bcachefs (loop0): accounting_read... done [ 261.171938][ T6788] bcachefs (loop0): alloc_read... done [ 261.177543][ T6788] bcachefs (loop0): stripes_read... done [ 261.183255][ T6788] bcachefs (loop0): snapshots_read... done [pid 6788] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6788] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6788] chdir("./file1") = 0 [pid 6788] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 261.189470][ T6788] bcachefs (loop0): check_allocations... done [ 261.209141][ T6788] bcachefs (loop0): going read-write [ 261.218135][ T6788] bcachefs (loop0): done starting filesystem [pid 6788] ioctl(4, LOOP_CLR_FD) = 0 [pid 6788] close(4) = 0 [pid 6788] rename("./file2", "./file1") = 0 [pid 6788] close(3) = 0 [pid 6788] close(4) = -1 EBADF (Bad file descriptor) [pid 6788] close(5) = -1 EBADF (Bad file descriptor) [pid 6788] close(6) = -1 EBADF (Bad file descriptor) [pid 6788] close(7) = -1 EBADF (Bad file descriptor) [pid 6788] close(8) = -1 EBADF (Bad file descriptor) [pid 6788] close(9) = -1 EBADF (Bad file descriptor) [pid 6788] close(10) = -1 EBADF (Bad file descriptor) [pid 6788] close(11) = -1 EBADF (Bad file descriptor) [pid 6788] close(12) = -1 EBADF (Bad file descriptor) [pid 6788] close(13) = -1 EBADF (Bad file descriptor) [pid 6788] close(14) = -1 EBADF (Bad file descriptor) [pid 6788] close(15) = -1 EBADF (Bad file descriptor) [pid 6788] close(16) = -1 EBADF (Bad file descriptor) [pid 6788] close(17) = -1 EBADF (Bad file descriptor) [pid 6788] close(18) = -1 EBADF (Bad file descriptor) [pid 6788] close(19) = -1 EBADF (Bad file descriptor) [pid 6788] close(20) = -1 EBADF (Bad file descriptor) [pid 6788] close(21) = -1 EBADF (Bad file descriptor) [pid 6788] close(22) = -1 EBADF (Bad file descriptor) [pid 6788] close(23) = -1 EBADF (Bad file descriptor) [pid 6788] close(24) = -1 EBADF (Bad file descriptor) [pid 6788] close(25) = -1 EBADF (Bad file descriptor) [pid 6788] close(26) = -1 EBADF (Bad file descriptor) [pid 6788] close(27) = -1 EBADF (Bad file descriptor) [pid 6788] close(28) = -1 EBADF (Bad file descriptor) [pid 6788] close(29) = -1 EBADF (Bad file descriptor) [pid 6788] exit_group(0) = ? [pid 6788] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=87, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=32 /* 0.32 s */} --- [pid 5835] umount2("./85", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./85", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./85/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./85/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./85/binderfs") = 0 [ 261.564683][ T5835] bcachefs (loop0): shutting down [ 261.569877][ T5835] bcachefs (loop0): going read-only [ 261.575256][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 261.582768][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 261.607973][ T3529] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 261.621282][ T3529] bcachefs (loop0): fatal error - emergency read only [ 261.629110][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 261.638893][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 261.646628][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 261.663875][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./85/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./85/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./85/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./85/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./85/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./85/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./85") = 0 [pid 5835] mkdir("./86", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6799 attached , child_tidptr=0x55557d035650) = 88 [pid 6799] set_robust_list(0x55557d035660, 24) = 0 [pid 6799] chdir("./86") = 0 [pid 6799] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6799] setpgid(0, 0) = 0 [pid 6799] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6799] write(3, "1000", 4) = 4 [pid 6799] close(3) = 0 [pid 6799] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6799] write(1, "executing program\n", 18executing program ) = 18 [pid 6799] memfd_create("syzkaller", 0) = 3 [pid 6799] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6799] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6799] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6799] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6799] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6799] close(3) = 0 [pid 6799] close(4) = 0 [pid 6799] mkdir("./file1", 0777) = 0 [ 263.155739][ T6799] loop0: detected capacity change from 0 to 32768 [ 263.233743][ T6799] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 263.256488][ T6799] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 263.264526][ T6799] bcachefs (loop0): Version upgrade required: [ 263.264526][ T6799] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 263.264526][ T6799] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 263.264526][ T6799] 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 [ 263.337173][ T6799] bcachefs (loop0): dropping and reconstructing all alloc info [ 263.353310][ T6799] bcachefs (loop0): accounting_read... done [ 263.359581][ T6799] bcachefs (loop0): alloc_read... done [ 263.365308][ T6799] bcachefs (loop0): stripes_read... done [ 263.370994][ T6799] bcachefs (loop0): snapshots_read... done [pid 6799] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6799] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6799] chdir("./file1") = 0 [ 263.377156][ T6799] bcachefs (loop0): check_allocations... done [ 263.397761][ T6799] bcachefs (loop0): going read-write [ 263.406052][ T6799] bcachefs (loop0): done starting filesystem [pid 6799] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6799] ioctl(4, LOOP_CLR_FD) = 0 [pid 6799] close(4) = 0 [pid 6799] rename("./file2", "./file1") = 0 [pid 6799] close(3) = 0 [pid 6799] close(4) = -1 EBADF (Bad file descriptor) [pid 6799] close(5) = -1 EBADF (Bad file descriptor) [pid 6799] close(6) = -1 EBADF (Bad file descriptor) [pid 6799] close(7) = -1 EBADF (Bad file descriptor) [pid 6799] close(8) = -1 EBADF (Bad file descriptor) [pid 6799] close(9) = -1 EBADF (Bad file descriptor) [pid 6799] close(10) = -1 EBADF (Bad file descriptor) [pid 6799] close(11) = -1 EBADF (Bad file descriptor) [pid 6799] close(12) = -1 EBADF (Bad file descriptor) [pid 6799] close(13) = -1 EBADF (Bad file descriptor) [pid 6799] close(14) = -1 EBADF (Bad file descriptor) [pid 6799] close(15) = -1 EBADF (Bad file descriptor) [pid 6799] close(16) = -1 EBADF (Bad file descriptor) [pid 6799] close(17) = -1 EBADF (Bad file descriptor) [pid 6799] close(18) = -1 EBADF (Bad file descriptor) [pid 6799] close(19) = -1 EBADF (Bad file descriptor) [pid 6799] close(20) = -1 EBADF (Bad file descriptor) [pid 6799] close(21) = -1 EBADF (Bad file descriptor) [pid 6799] close(22) = -1 EBADF (Bad file descriptor) [pid 6799] close(23) = -1 EBADF (Bad file descriptor) [pid 6799] close(24) = -1 EBADF (Bad file descriptor) [pid 6799] close(25) = -1 EBADF (Bad file descriptor) [pid 6799] close(26) = -1 EBADF (Bad file descriptor) [pid 6799] close(27) = -1 EBADF (Bad file descriptor) [pid 6799] close(28) = -1 EBADF (Bad file descriptor) [pid 6799] close(29) = -1 EBADF (Bad file descriptor) [pid 6799] exit_group(0) = ? [pid 6799] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=88, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=26 /* 0.26 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./86", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./86", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./86/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./86/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./86/binderfs") = 0 [ 263.856745][ T5835] bcachefs (loop0): shutting down [ 263.861836][ T5835] bcachefs (loop0): going read-only [ 263.867240][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 263.874796][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 263.900824][ T1081] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 263.913735][ T1081] bcachefs (loop0): fatal error - emergency read only [ 263.921566][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 14 [ 263.931335][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 263.939050][ T5835] bcachefs (loop0): done going read-only, filesystem not clean [ 263.955834][ T5835] bcachefs (loop0): shutdown complete [pid 5835] umount2("./86/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 5835] umount2("./86/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./86/file1", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] umount2("./86/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./86/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5835] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(4, 0x55557d03e730 /* 2 entries */, 32768) = 48 [pid 5835] getdents64(4, 0x55557d03e730 /* 0 entries */, 32768) = 0 [pid 5835] close(4) = 0 [pid 5835] rmdir("./86/file1") = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 0 entries */, 32768) = 0 [pid 5835] close(3) = 0 [pid 5835] rmdir("./86") = 0 [pid 5835] mkdir("./87", 0777) = 0 [pid 5835] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5835] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5835] close(3) = 0 [pid 5835] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6810 attached [pid 6810] set_robust_list(0x55557d035660, 24) = 0 [pid 5835] <... clone resumed>, child_tidptr=0x55557d035650) = 89 [pid 6810] chdir("./87") = 0 [pid 6810] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6810] setpgid(0, 0) = 0 [pid 6810] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6810] write(3, "1000", 4) = 4 [pid 6810] close(3) = 0 [pid 6810] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6810] write(1, "executing program\n", 18executing program ) = 18 [pid 6810] memfd_create("syzkaller", 0) = 3 [pid 6810] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc2fe800000 [pid 6810] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6810] munmap(0x7fc2fe800000, 138412032) = 0 [pid 6810] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6810] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6810] close(3) = 0 [pid 6810] close(4) = 0 [pid 6810] mkdir("./file1", 0777) = 0 [ 265.437904][ T6810] loop0: detected capacity change from 0 to 32768 [ 265.523557][ T6810] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,journal_flush_disabled,norecovery,nojournal_transaction_names,reconstruct_alloc [ 265.546437][ T6810] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 265.554579][ T6810] bcachefs (loop0): Version upgrade required: [ 265.554579][ T6810] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 265.554579][ T6810] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 265.554579][ T6810] 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 [ 265.628829][ T6810] bcachefs (loop0): dropping and reconstructing all alloc info [ 265.645093][ T6810] bcachefs (loop0): accounting_read... done [ 265.651744][ T6810] bcachefs (loop0): alloc_read... done [ 265.657535][ T6810] bcachefs (loop0): stripes_read... done [ 265.663303][ T6810] bcachefs (loop0): snapshots_read... done [pid 6810] mount("/dev/loop0", "./file1", "bcachefs", MS_I_VERSION, "\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x64\x69\x72\x65\x63\x74\x5f\x69\x6f\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x66\x6c\x75\x73\x68\x5f\x64\x69\x73\x61\x62\x6c\x65\x64\x2c\x72\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x6a\x6f\x75\x2d\x69\x67\x5f\xda\xfd"...) = 0 [pid 6810] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 6810] chdir("./file1") = 0 [pid 6810] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6810] ioctl(4, LOOP_CLR_FD) = 0 [ 265.669557][ T6810] bcachefs (loop0): check_allocations... done [ 265.689377][ T6810] bcachefs (loop0): going read-write [ 265.698286][ T6810] bcachefs (loop0): done starting filesystem [pid 6810] close(4) = 0 [pid 6810] rename("./file2", "./file1") = 0 [pid 6810] close(3) = 0 [pid 6810] close(4) = -1 EBADF (Bad file descriptor) [pid 6810] close(5) = -1 EBADF (Bad file descriptor) [pid 6810] close(6) = -1 EBADF (Bad file descriptor) [pid 6810] close(7) = -1 EBADF (Bad file descriptor) [pid 6810] close(8) = -1 EBADF (Bad file descriptor) [pid 6810] close(9) = -1 EBADF (Bad file descriptor) [pid 6810] close(10) = -1 EBADF (Bad file descriptor) [pid 6810] close(11) = -1 EBADF (Bad file descriptor) [pid 6810] close(12) = -1 EBADF (Bad file descriptor) [pid 6810] close(13) = -1 EBADF (Bad file descriptor) [pid 6810] close(14) = -1 EBADF (Bad file descriptor) [pid 6810] close(15) = -1 EBADF (Bad file descriptor) [pid 6810] close(16) = -1 EBADF (Bad file descriptor) [pid 6810] close(17) = -1 EBADF (Bad file descriptor) [pid 6810] close(18) = -1 EBADF (Bad file descriptor) [pid 6810] close(19) = -1 EBADF (Bad file descriptor) [pid 6810] close(20) = -1 EBADF (Bad file descriptor) [pid 6810] close(21) = -1 EBADF (Bad file descriptor) [pid 6810] close(22) = -1 EBADF (Bad file descriptor) [pid 6810] close(23) = -1 EBADF (Bad file descriptor) [pid 6810] close(24) = -1 EBADF (Bad file descriptor) [pid 6810] close(25) = -1 EBADF (Bad file descriptor) [pid 6810] close(26) = -1 EBADF (Bad file descriptor) [pid 6810] close(27) = -1 EBADF (Bad file descriptor) [pid 6810] close(28) = -1 EBADF (Bad file descriptor) [pid 6810] close(29) = -1 EBADF (Bad file descriptor) [pid 6810] exit_group(0) = ? [pid 6810] +++ exited with 0 +++ [pid 5835] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=89, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=29 /* 0.29 s */} --- [pid 5835] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5835] umount2("./87", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] openat(AT_FDCWD, "./87", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5835] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=80, ...}, AT_EMPTY_PATH) = 0 [pid 5835] getdents64(3, 0x55557d0366f0 /* 4 entries */, 32768) = 112 [pid 5835] umount2("./87/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5835] newfstatat(AT_FDCWD, "./87/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5835] unlink("./87/binderfs") = 0 [ 266.025918][ T5835] bcachefs (loop0): shutting down [ 266.031089][ T5835] bcachefs (loop0): going read-only [ 266.036917][ T5835] bcachefs (loop0): finished waiting for writes to stop [ 266.044549][ T5835] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 266.073036][ T5835] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 13 [ 266.087010][ T1081] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 266.089767][ T5835] bcachefs (loop0): unshutdown complete, journal seq 14 [ 266.107593][ T1081] bcachefs (loop0): fatal error - emergency read only [ 266.115461][ T1081] ------------[ cut here ]------------ [ 266.121098][ T1081] kernel BUG at fs/bcachefs/journal.h:375! [ 266.130125][ T1081] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI [ 266.137107][ T1081] CPU: 1 UID: 0 PID: 1081 Comm: kworker/u8:5 Not tainted 6.12.0-rc7-syzkaller-00070-g0a9b9d17f3a7 #0 [ 266.147973][ T1081] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 [ 266.158055][ T1081] Workqueue: btree_update btree_interior_update_work [ 266.164781][ T1081] RIP: 0010:__bch2_trans_commit+0x9232/0x93c0 [ 266.170878][ T1081] Code: fd 90 0f 0b e8 ef 56 78 fd 90 0f 0b e8 e7 56 78 fd 90 0f 0b e8 df 56 78 fd 90 0f 0b e8 d7 56 78 fd 90 0f 0b e8 cf 56 78 fd 90 <0f> 0b e8 c7 56 78 fd 90 0f 0b e8 bf 56 78 fd 90 0f 0b e8 b7 56 78 [ 266.190517][ T1081] RSP: 0018:ffffc90003d676c0 EFLAGS: 00010293 [ 266.196611][ T1081] RAX: ffffffff841c92e1 RBX: 0000000000000000 RCX: ffff888027211e00 [ 266.204598][ T1081] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 266.212582][ T1081] RBP: ffffc90003d67890 R08: ffffffff841c3618 R09: 1ffff1100dfa94a8 [ 266.220568][ T1081] R10: dffffc0000000000 R11: ffffed100dfa94a9 R12: ffff88806fd00000 [ 266.228540][ T1081] R13: ffff88806fd4a500 R14: 0000000000000044 R15: ffff88807b4480d0 [ 266.236534][ T1081] FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 [ 266.245476][ T1081] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 266.252066][ T1081] CR2: 00007ffe3f6c3c28 CR3: 000000007d4a6000 CR4: 00000000003526f0 [ 266.260046][ T1081] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 266.268021][ T1081] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 266.276006][ T1081] Call Trace: [ 266.279286][ T1081] [ 266.282219][ T1081] ? __die_body+0x5f/0xb0 [ 266.286561][ T1081] ? die+0x9e/0xc0 [ 266.290281][ T1081] ? do_trap+0x15a/0x3a0 [ 266.294531][ T1081] ? __bch2_trans_commit+0x9232/0x93c0 [ 266.300001][ T1081] ? do_error_trap+0x1dc/0x2c0 [ 266.304774][ T1081] ? __bch2_trans_commit+0x9232/0x93c0 [ 266.310273][ T1081] ? __pfx_do_error_trap+0x10/0x10 [ 266.315396][ T1081] ? report_bug+0x3e8/0x500 [ 266.319961][ T1081] ? handle_invalid_op+0x34/0x40 [ 266.324904][ T1081] ? __bch2_trans_commit+0x9232/0x93c0 [ 266.330393][ T1081] ? exc_invalid_op+0x38/0x50 [ 266.335085][ T1081] ? asm_exc_invalid_op+0x1a/0x20 [ 266.340127][ T1081] ? __bch2_trans_commit+0x3568/0x93c0 [ 266.345600][ T1081] ? __bch2_trans_commit+0x9231/0x93c0 [ 266.351068][ T1081] ? __bch2_trans_commit+0x9232/0x93c0 [ 266.356555][ T1081] ? __pfx___bch2_trans_commit+0x10/0x10 [ 266.362239][ T1081] ? bch2_dev_btree_bitmap_marked+0x2f/0xda0 [ 266.368272][ T1081] ? __bch2_trans_jset_entry_alloc+0x2c7/0x4b0 [ 266.374478][ T1081] ? btree_interior_update_work+0x117a/0x2b10 [ 266.380585][ T1081] btree_interior_update_work+0x1492/0x2b10 [ 266.386544][ T1081] ? __pfx_btree_interior_update_work+0x10/0x10 [ 266.392915][ T1081] ? __pfx_lock_acquire+0x10/0x10 [ 266.397992][ T1081] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 266.403988][ T1081] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 266.410331][ T1081] ? process_scheduled_works+0x976/0x1850 [ 266.416152][ T1081] process_scheduled_works+0xa63/0x1850 [ 266.421751][ T1081] ? __pfx_process_scheduled_works+0x10/0x10 [ 266.427745][ T1081] ? assign_work+0x364/0x3d0 [ 266.432361][ T1081] worker_thread+0x870/0xd30 [ 266.436982][ T1081] ? _raw_spin_unlock_irqrestore+0xdd/0x140 [ 266.442879][ T1081] ? __kthread_parkme+0x169/0x1d0 [ 266.447917][ T1081] ? __pfx_worker_thread+0x10/0x10 [ 266.453051][ T1081] kthread+0x2f0/0x390 [ 266.457125][ T1081] ? __pfx_worker_thread+0x10/0x10 [ 266.462259][ T1081] ? __pfx_kthread+0x10/0x10 [ 266.466877][ T1081] ret_from_fork+0x4b/0x80 [ 266.471345][ T1081] ? __pfx_kthread+0x10/0x10 [ 266.475976][ T1081] ret_from_fork_asm+0x1a/0x30 [ 266.480771][ T1081] [ 266.483791][ T1081] Modules linked in: [ 266.487923][ T1081] ---[ end trace 0000000000000000 ]--- [ 266.493556][ T1081] RIP: 0010:__bch2_trans_commit+0x9232/0x93c0 [ 266.499776][ T1081] Code: fd 90 0f 0b e8 ef 56 78 fd 90 0f 0b e8 e7 56 78 fd 90 0f 0b e8 df 56 78 fd 90 0f 0b e8 d7 56 78 fd 90 0f 0b e8 cf 56 78 fd 90 <0f> 0b e8 c7 56 78 fd 90 0f 0b e8 bf 56 78 fd 90 0f 0b e8 b7 56 78 [ 266.519461][ T1081] RSP: 0018:ffffc90003d676c0 EFLAGS: 00010293 [ 266.525583][ T1081] RAX: ffffffff841c92e1 RBX: 0000000000000000 RCX: ffff888027211e00 [ 266.533566][ T1081] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 266.541577][ T1081] RBP: ffffc90003d67890 R08: ffffffff841c3618 R09: 1ffff1100dfa94a8 [ 266.549593][ T1081] R10: dffffc0000000000 R11: ffffed100dfa94a9 R12: ffff88806fd00000 [ 266.557614][ T1081] R13: ffff88806fd4a500 R14: 0000000000000044 R15: ffff88807b4480d0 [ 266.565645][ T1081] FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 [ 266.574673][ T1081] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 266.581351][ T1081] CR2: 00007ffe3f6c6000 CR3: 000000000e734000 CR4: 00000000003526f0 [ 266.589412][ T1081] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 266.597626][ T1081] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 266.605690][ T1081] Kernel panic - not syncing: Fatal exception [ 266.612115][ T1081] Kernel Offset: disabled [ 266.616442][ T1081] Rebooting in 86400 seconds..