./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2581975691 <...> DUID 00:04:7c:8f:25:e4:1e:61:d4:15:b8:1c:50:2a:7f:f5:0b:01 forked to background, child pid 5499 [ 34.870747][ T5500] 8021q: adding VLAN 0 to HW filter on device bond0 [ 34.880023][ T5500] eql: remember to turn off Van-Jacobson compression on your slave devices Starting sshd: OK syzkaller Warning: Permanently added '10.128.0.63' (ED25519) to the list of known hosts. execve("./syz-executor2581975691", ["./syz-executor2581975691"], 0x7fffc7e60530 /* 10 vars */) = 0 brk(NULL) = 0x55557f2a0000 brk(0x55557f2a0d00) = 0x55557f2a0d00 arch_prctl(ARCH_SET_FS, 0x55557f2a0380) = 0 set_tid_address(0x55557f2a0650) = 5830 set_robust_list(0x55557f2a0660, 24) = 0 rseq(0x55557f2a0ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor2581975691", 4096) = 28 getrandom("\x0e\x29\x1c\xb9\x0e\xd0\xce\x54", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55557f2a0d00 brk(0x55557f2c1d00) = 0x55557f2c1d00 brk(0x55557f2c2000) = 0x55557f2c2000 mprotect(0x7f592661e000, 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 mkdir("./syzkaller.axXJo5", 0700) = 0 chmod("./syzkaller.axXJo5", 0777) = 0 chdir("./syzkaller.axXJo5") = 0 mkdir("./0", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5831 attached [pid 5831] set_robust_list(0x55557f2a0660, 24 [pid 5830] <... clone resumed>, child_tidptr=0x55557f2a0650) = 5831 [pid 5831] <... set_robust_list resumed>) = 0 [pid 5831] chdir("./0") = 0 [pid 5831] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5831] setpgid(0, 0) = 0 [pid 5831] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5831] write(3, "1000", 4) = 4 [pid 5831] close(3) = 0 [pid 5831] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5831] write(1, "executing program\n", 18executing program ) = 18 [pid 5831] memfd_create("syzkaller", 0) = 3 [pid 5831] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f591e000000 [pid 5831] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5831] munmap(0x7f591e000000, 138412032) = 0 [pid 5831] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5831] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5831] close(3) = 0 [pid 5831] close(4) = 0 [pid 5831] mkdir("./file0", 0777) = 0 syzkaller login: [ 59.887309][ T5831] loop0: detected capacity change from 0 to 32768 [ 59.953851][ T5831] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 59.975234][ T5831] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 59.983657][ T5831] bcachefs (loop0): Version upgrade required: [ 59.983657][ T5831] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 59.983657][ T5831] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 59.983657][ T5831] 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 [ 60.057136][ T5831] bcachefs (loop0): dropping and reconstructing all alloc info [ 60.073673][ T5831] bcachefs (loop0): accounting_read... done [ 60.081106][ T5831] bcachefs (loop0): alloc_read... done [ 60.086766][ T5831] bcachefs (loop0): stripes_read... done [ 60.092474][ T5831] bcachefs (loop0): snapshots_read... done [pid 5831] mount("/dev/loop0", "./file0", "bcachefs", MS_NOEXEC|MS_POSIXACL|MS_RELATIME, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"...) = 0 [pid 5831] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5831] chdir("./file0") = 0 [pid 5831] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5831] ioctl(4, LOOP_CLR_FD) = 0 [ 60.098570][ T5831] bcachefs (loop0): check_allocations... done [ 60.118835][ T5831] bcachefs (loop0): going read-write [ 60.129144][ T5831] bcachefs (loop0): done starting filesystem [pid 5831] close(4) = 0 [pid 5831] truncate("./file1", 61440) = 0 [pid 5831] exit_group(0) = ? [pid 5831] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5831, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=20 /* 0.20 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x55557f2a16f0 /* 4 entries */, 32768) = 112 [ 60.204381][ T5831] syz-executor258 (5831) used greatest stack depth: 13744 bytes left umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./0/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./0/binderfs") = 0 [ 60.301070][ T5830] bcachefs (loop0): shutting down [ 60.306444][ T5830] bcachefs (loop0): going read-only [ 60.311805][ T5830] bcachefs (loop0): finished waiting for writes to stop [ 60.321022][ T5830] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3340 [ 60.333874][ T63] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 60.346842][ T63] bcachefs (loop0): fatal error - emergency read only [ 60.353927][ T5830] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3340 [ 60.364793][ T5830] bcachefs (loop0): unshutdown complete, journal seq 3340 [ 60.372593][ T5830] bcachefs (loop0): done going read-only, filesystem not clean [ 60.391817][ T5830] bcachefs (loop0): shutdown complete umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./0/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(4, 0x55557f2a9730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55557f2a9730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./0/file0") = 0 getdents64(3, 0x55557f2a16f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./0") = 0 mkdir("./1", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5844 attached , child_tidptr=0x55557f2a0650) = 5844 [pid 5844] set_robust_list(0x55557f2a0660, 24) = 0 [pid 5844] chdir("./1") = 0 [pid 5844] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5844] setpgid(0, 0) = 0 [pid 5844] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5844] write(3, "1000", 4) = 4 [pid 5844] close(3) = 0 [pid 5844] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5844] write(1, "executing program\n", 18) = 18 [pid 5844] memfd_create("syzkaller", 0) = 3 [pid 5844] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f591e000000 [pid 5844] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 5844] munmap(0x7f591e000000, 138412032) = 0 [pid 5844] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5844] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5844] close(3) = 0 [pid 5844] close(4) = 0 [pid 5844] mkdir("./file0", 0777) = 0 [ 61.810129][ T5844] loop0: detected capacity change from 0 to 32768 [ 61.887799][ T5844] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 61.908855][ T5844] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 61.917122][ T5844] bcachefs (loop0): Version upgrade required: [ 61.917122][ T5844] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 61.917122][ T5844] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 61.917122][ T5844] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 61.989125][ T5844] bcachefs (loop0): dropping and reconstructing all alloc info [ 62.005965][ T5844] bcachefs (loop0): accounting_read... done [ 62.012354][ T5844] bcachefs (loop0): alloc_read... done [ 62.017969][ T5844] bcachefs (loop0): stripes_read... done [ 62.023656][ T5844] bcachefs (loop0): snapshots_read... done [pid 5844] mount("/dev/loop0", "./file0", "bcachefs", MS_NOEXEC|MS_POSIXACL|MS_RELATIME, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"...) = 0 [pid 5844] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5844] chdir("./file0") = 0 [pid 5844] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5844] ioctl(4, LOOP_CLR_FD) = 0 [pid 5844] close(4) = 0 [pid 5844] truncate("./file1", 61440) = 0 [pid 5844] exit_group(0) = ? [pid 5844] +++ exited with 0 +++ [ 62.029624][ T5844] bcachefs (loop0): check_allocations... done [ 62.046123][ T5844] bcachefs (loop0): going read-write [ 62.054387][ T5844] bcachefs (loop0): done starting filesystem --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5844, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=22 /* 0.22 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x55557f2a16f0 /* 4 entries */, 32768) = 112 umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./1/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./1/binderfs") = 0 [ 62.204182][ T5830] bcachefs (loop0): shutting down [ 62.209568][ T5830] bcachefs (loop0): going read-only [ 62.215406][ T5830] bcachefs (loop0): finished waiting for writes to stop [ 62.224131][ T5830] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3340 [ 62.235910][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 62.248943][ T11] bcachefs (loop0): fatal error - emergency read only [ 62.256641][ T5830] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3340 [ 62.266696][ T5830] bcachefs (loop0): unshutdown complete, journal seq 3340 [ 62.274314][ T5830] bcachefs (loop0): done going read-only, filesystem not clean [ 62.290392][ T5830] bcachefs (loop0): shutdown complete umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./1/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./1/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(4, 0x55557f2a9730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55557f2a9730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./1/file0") = 0 getdents64(3, 0x55557f2a16f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./1") = 0 mkdir("./2", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5855 attached , child_tidptr=0x55557f2a0650) = 5855 [pid 5855] set_robust_list(0x55557f2a0660, 24) = 0 [pid 5855] chdir("./2") = 0 [pid 5855] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5855] setpgid(0, 0) = 0 [pid 5855] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5855] write(3, "1000", 4) = 4 [pid 5855] close(3) = 0 [pid 5855] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5855] write(1, "executing program\n", 18) = 18 [pid 5855] memfd_create("syzkaller", 0) = 3 [pid 5855] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f591e000000 [pid 5855] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5855] munmap(0x7f591e000000, 138412032) = 0 [pid 5855] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5855] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5855] close(3) = 0 [pid 5855] close(4) = 0 [pid 5855] mkdir("./file0", 0777) = 0 [ 63.623311][ T5855] loop0: detected capacity change from 0 to 32768 [ 63.705197][ T5855] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 63.726382][ T5855] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 63.735188][ T5855] bcachefs (loop0): Version upgrade required: [ 63.735188][ T5855] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 63.735188][ T5855] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 63.735188][ T5855] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 63.807206][ T5855] bcachefs (loop0): dropping and reconstructing all alloc info [ 63.821369][ T5855] bcachefs (loop0): accounting_read... done [ 63.827635][ T5855] bcachefs (loop0): alloc_read... done [ 63.833153][ T5855] bcachefs (loop0): stripes_read... done [ 63.838871][ T5855] bcachefs (loop0): snapshots_read... done [pid 5855] mount("/dev/loop0", "./file0", "bcachefs", MS_NOEXEC|MS_POSIXACL|MS_RELATIME, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"...) = 0 [pid 5855] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5855] chdir("./file0") = 0 [pid 5855] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5855] ioctl(4, LOOP_CLR_FD) = 0 [pid 5855] close(4) = 0 [pid 5855] truncate("./file1", 61440) = 0 [pid 5855] exit_group(0) = ? [pid 5855] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5855, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=26 /* 0.26 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x55557f2a16f0 /* 4 entries */, 32768) = 112 umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./2/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 63.844834][ T5855] bcachefs (loop0): check_allocations... done [ 63.862423][ T5855] bcachefs (loop0): going read-write [ 63.871219][ T5855] bcachefs (loop0): done starting filesystem unlink("./2/binderfs") = 0 [ 63.921022][ T5830] bcachefs (loop0): shutting down [ 63.926431][ T5830] bcachefs (loop0): going read-only [ 63.931649][ T5830] bcachefs (loop0): finished waiting for writes to stop [ 63.939477][ T5830] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3340 [ 63.951378][ T796] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 63.965265][ T796] bcachefs (loop0): fatal error - emergency read only [ 63.973261][ T5830] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3340 [ 63.983252][ T5830] bcachefs (loop0): unshutdown complete, journal seq 3340 [ 63.991151][ T5830] bcachefs (loop0): done going read-only, filesystem not clean [ 64.007747][ T5830] bcachefs (loop0): shutdown complete umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./2/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./2/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(4, 0x55557f2a9730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55557f2a9730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./2/file0") = 0 getdents64(3, 0x55557f2a16f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./2") = 0 mkdir("./3", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5867 attached [pid 5867] set_robust_list(0x55557f2a0660, 24 [pid 5830] <... clone resumed>, child_tidptr=0x55557f2a0650) = 5867 [pid 5867] <... set_robust_list resumed>) = 0 [pid 5867] chdir("./3") = 0 [pid 5867] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5867] setpgid(0, 0) = 0 [pid 5867] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5867] write(3, "1000", 4) = 4 [pid 5867] close(3) = 0 [pid 5867] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5867] write(1, "executing program\n", 18executing program ) = 18 [pid 5867] memfd_create("syzkaller", 0) = 3 [pid 5867] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f591e000000 [pid 5867] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5867] munmap(0x7f591e000000, 138412032) = 0 [pid 5867] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5867] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5867] close(3) = 0 [pid 5867] close(4) = 0 [pid 5867] mkdir("./file0", 0777) = 0 [ 65.392887][ T5867] loop0: detected capacity change from 0 to 32768 [ 65.471920][ T5867] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 65.493108][ T5867] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 65.501765][ T5867] bcachefs (loop0): Version upgrade required: [ 65.501765][ T5867] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 65.501765][ T5867] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 65.501765][ T5867] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 65.575499][ T5867] bcachefs (loop0): dropping and reconstructing all alloc info [ 65.590689][ T5867] bcachefs (loop0): accounting_read... done [ 65.596977][ T5867] bcachefs (loop0): alloc_read... done [ 65.602590][ T5867] bcachefs (loop0): stripes_read... done [ 65.608372][ T5867] bcachefs (loop0): snapshots_read... done [pid 5867] mount("/dev/loop0", "./file0", "bcachefs", MS_NOEXEC|MS_POSIXACL|MS_RELATIME, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"...) = 0 [pid 5867] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5867] chdir("./file0") = 0 [pid 5867] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5867] ioctl(4, LOOP_CLR_FD) = 0 [ 65.614263][ T5867] bcachefs (loop0): check_allocations... done [ 65.631096][ T5867] bcachefs (loop0): going read-write [ 65.639787][ T5867] bcachefs (loop0): done starting filesystem [pid 5867] close(4) = 0 [pid 5867] truncate("./file1", 61440) = 0 [pid 5867] exit_group(0) = ? [pid 5867] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5867, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=26 /* 0.26 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x55557f2a16f0 /* 4 entries */, 32768) = 112 umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./3/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./3/binderfs") = 0 [ 65.749631][ T5830] bcachefs (loop0): shutting down [ 65.754976][ T5830] bcachefs (loop0): going read-only [ 65.760174][ T5830] bcachefs (loop0): finished waiting for writes to stop [ 65.768193][ T5830] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [ 65.789126][ T5830] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3345 [ 65.801526][ T5830] bcachefs (loop0): unshutdown complete, journal seq 3346 [ 65.809312][ T5830] bcachefs (loop0): done going read-only, filesystem not clean [ 65.825563][ T5830] bcachefs (loop0): shutdown complete umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./3/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./3/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(4, 0x55557f2a9730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55557f2a9730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./3/file0") = 0 getdents64(3, 0x55557f2a16f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./3") = 0 mkdir("./4", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5878 attached , child_tidptr=0x55557f2a0650) = 5878 [pid 5878] set_robust_list(0x55557f2a0660, 24) = 0 [pid 5878] chdir("./4") = 0 [pid 5878] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5878] setpgid(0, 0) = 0 [pid 5878] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5878] write(3, "1000", 4) = 4 [pid 5878] close(3) = 0 [pid 5878] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5878] write(1, "executing program\n", 18) = 18 [pid 5878] memfd_create("syzkaller", 0) = 3 [pid 5878] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f591e000000 [pid 5878] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5878] munmap(0x7f591e000000, 138412032) = 0 [pid 5878] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5878] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5878] close(3) = 0 [pid 5878] close(4) = 0 [pid 5878] mkdir("./file0", 0777) = 0 [ 67.141655][ T5878] loop0: detected capacity change from 0 to 32768 [ 67.212770][ T5878] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 67.234143][ T5878] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 67.242876][ T5878] bcachefs (loop0): Version upgrade required: [ 67.242876][ T5878] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 67.242876][ T5878] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 67.242876][ T5878] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 67.314952][ T5878] bcachefs (loop0): dropping and reconstructing all alloc info [ 67.330419][ T5878] bcachefs (loop0): accounting_read... done [ 67.336623][ T5878] bcachefs (loop0): alloc_read... done [ 67.342198][ T5878] bcachefs (loop0): stripes_read... done [ 67.347964][ T5878] bcachefs (loop0): snapshots_read... done [pid 5878] mount("/dev/loop0", "./file0", "bcachefs", MS_NOEXEC|MS_POSIXACL|MS_RELATIME, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"...) = 0 [pid 5878] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5878] chdir("./file0") = 0 [pid 5878] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5878] ioctl(4, LOOP_CLR_FD) = 0 [pid 5878] close(4) = 0 [pid 5878] truncate("./file1", 61440) = 0 [ 67.353854][ T5878] bcachefs (loop0): check_allocations... done [ 67.370766][ T5878] bcachefs (loop0): going read-write [ 67.378925][ T5878] bcachefs (loop0): done starting filesystem [pid 5878] exit_group(0) = ? [pid 5878] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5878, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=23 /* 0.23 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x55557f2a16f0 /* 4 entries */, 32768) = 112 umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./4/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./4/binderfs") = 0 [ 67.548425][ T5830] bcachefs (loop0): shutting down [ 67.553494][ T5830] bcachefs (loop0): going read-only [ 67.558989][ T5830] bcachefs (loop0): finished waiting for writes to stop [ 67.566489][ T5830] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [ 67.578304][ T796] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 67.591385][ T796] bcachefs (loop0): fatal error - emergency read only [ 67.599348][ T5830] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3339 [ 67.609287][ T5830] bcachefs (loop0): unshutdown complete, journal seq 3339 [ 67.617198][ T5830] bcachefs (loop0): done going read-only, filesystem not clean [ 67.632643][ T5830] bcachefs (loop0): shutdown complete umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./4/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./4/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(4, 0x55557f2a9730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55557f2a9730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./4/file0") = 0 getdents64(3, 0x55557f2a16f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./4") = 0 mkdir("./5", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5889 attached [pid 5889] set_robust_list(0x55557f2a0660, 24) = 0 [pid 5830] <... clone resumed>, child_tidptr=0x55557f2a0650) = 5889 [pid 5889] chdir("./5") = 0 [pid 5889] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5889] setpgid(0, 0) = 0 [pid 5889] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5889] write(3, "1000", 4) = 4 [pid 5889] close(3) = 0 [pid 5889] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5889] write(1, "executing program\n", 18executing program ) = 18 [pid 5889] memfd_create("syzkaller", 0) = 3 [pid 5889] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f591e000000 [pid 5889] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5889] munmap(0x7f591e000000, 138412032) = 0 [pid 5889] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5889] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5889] close(3) = 0 [pid 5889] close(4) = 0 [pid 5889] mkdir("./file0", 0777) = 0 [ 68.878080][ T5889] loop0: detected capacity change from 0 to 32768 [ 68.957805][ T5889] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 68.978956][ T5889] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 68.987245][ T5889] bcachefs (loop0): Version upgrade required: [ 68.987245][ T5889] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 68.987245][ T5889] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 68.987245][ T5889] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 69.060863][ T5889] bcachefs (loop0): dropping and reconstructing all alloc info [ 69.075784][ T5889] bcachefs (loop0): accounting_read... done [ 69.081907][ T5889] bcachefs (loop0): alloc_read... done [ 69.087672][ T5889] bcachefs (loop0): stripes_read... done [ 69.093428][ T5889] bcachefs (loop0): snapshots_read... done [pid 5889] mount("/dev/loop0", "./file0", "bcachefs", MS_NOEXEC|MS_POSIXACL|MS_RELATIME, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"...) = 0 [pid 5889] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5889] chdir("./file0") = 0 [ 69.099536][ T5889] bcachefs (loop0): check_allocations... done [ 69.117103][ T5889] bcachefs (loop0): going read-write [ 69.126016][ T5889] bcachefs (loop0): done starting filesystem [pid 5889] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5889] ioctl(4, LOOP_CLR_FD) = 0 [pid 5889] close(4) = 0 [pid 5889] truncate("./file1", 61440) = 0 [pid 5889] exit_group(0) = ? [pid 5889] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5889, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=22 /* 0.22 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x55557f2a16f0 /* 4 entries */, 32768) = 112 umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./5/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./5/binderfs") = 0 [ 69.325672][ T5830] bcachefs (loop0): shutting down [ 69.330743][ T5830] bcachefs (loop0): going read-only [ 69.336387][ T5830] bcachefs (loop0): finished waiting for writes to stop [ 69.343731][ T5830] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [ 69.355194][ T796] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 69.368340][ T796] bcachefs (loop0): fatal error - emergency read only [ 69.375734][ T5830] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3339 [ 69.385651][ T5830] bcachefs (loop0): unshutdown complete, journal seq 3339 [ 69.393478][ T5830] bcachefs (loop0): done going read-only, filesystem not clean [ 69.408636][ T5830] bcachefs (loop0): shutdown complete umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./5/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./5/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(4, 0x55557f2a9730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55557f2a9730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./5/file0") = 0 getdents64(3, 0x55557f2a16f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./5") = 0 mkdir("./6", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5900 attached [pid 5900] set_robust_list(0x55557f2a0660, 24) = 0 [pid 5830] <... clone resumed>, child_tidptr=0x55557f2a0650) = 5900 [pid 5900] chdir("./6") = 0 [pid 5900] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5900] setpgid(0, 0) = 0 [pid 5900] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5900] write(3, "1000", 4) = 4 [pid 5900] close(3) = 0 [pid 5900] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5900] write(1, "executing program\n", 18) = 18 [pid 5900] memfd_create("syzkaller", 0) = 3 [pid 5900] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f591e000000 [pid 5900] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 5900] munmap(0x7f591e000000, 138412032) = 0 [pid 5900] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5900] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5900] close(3) = 0 [pid 5900] close(4) = 0 [pid 5900] mkdir("./file0", 0777) = 0 [ 70.662252][ T5900] loop0: detected capacity change from 0 to 32768 [ 70.745439][ T5900] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 70.766993][ T5900] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 70.775490][ T5900] bcachefs (loop0): Version upgrade required: [ 70.775490][ T5900] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 70.775490][ T5900] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 70.775490][ T5900] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 70.849519][ T5900] bcachefs (loop0): dropping and reconstructing all alloc info [ 70.863904][ T5900] bcachefs (loop0): accounting_read... done [ 70.870306][ T5900] bcachefs (loop0): alloc_read... done [ 70.875894][ T5900] bcachefs (loop0): stripes_read... done [ 70.881597][ T5900] bcachefs (loop0): snapshots_read... done [pid 5900] mount("/dev/loop0", "./file0", "bcachefs", MS_NOEXEC|MS_POSIXACL|MS_RELATIME, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"...) = 0 [pid 5900] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5900] chdir("./file0") = 0 [pid 5900] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5900] ioctl(4, LOOP_CLR_FD) = 0 [pid 5900] close(4) = 0 [pid 5900] truncate("./file1", 61440) = 0 [ 70.887544][ T5900] bcachefs (loop0): check_allocations... done [ 70.905032][ T5900] bcachefs (loop0): going read-write [ 70.913344][ T5900] bcachefs (loop0): done starting filesystem [pid 5900] exit_group(0) = ? [pid 5900] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5900, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=24 /* 0.24 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x55557f2a16f0 /* 4 entries */, 32768) = 112 umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./6/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./6/binderfs") = 0 [ 71.088445][ T5830] bcachefs (loop0): shutting down [ 71.093504][ T5830] bcachefs (loop0): going read-only [ 71.098974][ T5830] bcachefs (loop0): finished waiting for writes to stop [ 71.106568][ T5830] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [ 71.118279][ T796] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 71.131371][ T796] bcachefs (loop0): fatal error - emergency read only [ 71.139487][ T5830] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3339 [ 71.149518][ T5830] bcachefs (loop0): unshutdown complete, journal seq 3339 [ 71.157379][ T5830] bcachefs (loop0): done going read-only, filesystem not clean [ 71.173105][ T5830] bcachefs (loop0): shutdown complete umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./6/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./6/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(4, 0x55557f2a9730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55557f2a9730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./6/file0") = 0 getdents64(3, 0x55557f2a16f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./6") = 0 mkdir("./7", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5911 attached executing program [pid 5911] set_robust_list(0x55557f2a0660, 24 [pid 5830] <... clone resumed>, child_tidptr=0x55557f2a0650) = 5911 [pid 5911] <... set_robust_list resumed>) = 0 [pid 5911] chdir("./7") = 0 [pid 5911] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5911] setpgid(0, 0) = 0 [pid 5911] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5911] write(3, "1000", 4) = 4 [pid 5911] close(3) = 0 [pid 5911] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5911] write(1, "executing program\n", 18) = 18 [pid 5911] memfd_create("syzkaller", 0) = 3 [pid 5911] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f591e000000 [pid 5911] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5911] munmap(0x7f591e000000, 138412032) = 0 [pid 5911] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5911] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5911] close(3) = 0 [pid 5911] close(4) = 0 [pid 5911] mkdir("./file0", 0777) = 0 [ 72.405677][ T5911] loop0: detected capacity change from 0 to 32768 [ 72.477734][ T5911] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 72.499415][ T5911] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 72.507909][ T5911] bcachefs (loop0): Version upgrade required: [ 72.507909][ T5911] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 72.507909][ T5911] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 72.507909][ T5911] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 72.580355][ T5911] bcachefs (loop0): dropping and reconstructing all alloc info [ 72.594959][ T5911] bcachefs (loop0): accounting_read... done [ 72.601085][ T5911] bcachefs (loop0): alloc_read... done [ 72.606665][ T5911] bcachefs (loop0): stripes_read... done [ 72.612439][ T5911] bcachefs (loop0): snapshots_read... done [pid 5911] mount("/dev/loop0", "./file0", "bcachefs", MS_NOEXEC|MS_POSIXACL|MS_RELATIME, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"...) = 0 [pid 5911] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5911] chdir("./file0") = 0 [ 72.618471][ T5911] bcachefs (loop0): check_allocations... done [ 72.635905][ T5911] bcachefs (loop0): going read-write [ 72.644086][ T5911] bcachefs (loop0): done starting filesystem [pid 5911] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5911] ioctl(4, LOOP_CLR_FD) = 0 [pid 5911] close(4) = 0 [pid 5911] truncate("./file1", 61440) = 0 [pid 5911] exit_group(0) = ? [pid 5911] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5911, si_uid=0, si_status=0, si_utime=0, si_stime=23 /* 0.23 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./7", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x55557f2a16f0 /* 4 entries */, 32768) = 112 umount2("./7/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./7/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./7/binderfs") = 0 [ 72.843388][ T5830] bcachefs (loop0): shutting down [ 72.848644][ T5830] bcachefs (loop0): going read-only [ 72.853866][ T5830] bcachefs (loop0): finished waiting for writes to stop [ 72.862188][ T5830] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [ 72.873544][ T63] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 72.886968][ T63] bcachefs (loop0): fatal error - emergency read only [ 72.894360][ T5830] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3339 [ 72.904666][ T5830] bcachefs (loop0): unshutdown complete, journal seq 3339 [ 72.912305][ T5830] bcachefs (loop0): done going read-only, filesystem not clean [ 72.930654][ T5830] bcachefs (loop0): shutdown complete umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./7/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./7/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(4, 0x55557f2a9730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55557f2a9730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./7/file0") = 0 getdents64(3, 0x55557f2a16f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./7") = 0 mkdir("./8", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5922 attached [pid 5922] set_robust_list(0x55557f2a0660, 24 [pid 5830] <... clone resumed>, child_tidptr=0x55557f2a0650) = 5922 [pid 5922] <... set_robust_list resumed>) = 0 [pid 5922] chdir("./8") = 0 [pid 5922] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5922] setpgid(0, 0) = 0 [pid 5922] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5922] write(3, "1000", 4) = 4 [pid 5922] close(3) = 0 [pid 5922] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5922] write(1, "executing program\n", 18) = 18 [pid 5922] memfd_create("syzkaller", 0) = 3 [pid 5922] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f591e000000 [pid 5922] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 5922] munmap(0x7f591e000000, 138412032) = 0 [pid 5922] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5922] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5922] close(3) = 0 [pid 5922] close(4) = 0 [pid 5922] mkdir("./file0", 0777) = 0 [ 74.252504][ T5922] loop0: detected capacity change from 0 to 32768 [ 74.328558][ T5922] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 74.349664][ T5922] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 74.357944][ T5922] bcachefs (loop0): Version upgrade required: [ 74.357944][ T5922] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 74.357944][ T5922] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 74.357944][ T5922] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 74.429774][ T5922] bcachefs (loop0): dropping and reconstructing all alloc info [ 74.444698][ T5922] bcachefs (loop0): accounting_read... done [ 74.450863][ T5922] bcachefs (loop0): alloc_read... done [ 74.456583][ T5922] bcachefs (loop0): stripes_read... done [ 74.462281][ T5922] bcachefs (loop0): snapshots_read... done [pid 5922] mount("/dev/loop0", "./file0", "bcachefs", MS_NOEXEC|MS_POSIXACL|MS_RELATIME, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"...) = 0 [pid 5922] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5922] chdir("./file0") = 0 [pid 5922] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5922] ioctl(4, LOOP_CLR_FD) = 0 [ 74.468380][ T5922] bcachefs (loop0): check_allocations... done [ 74.485202][ T5922] bcachefs (loop0): going read-write [ 74.493391][ T5922] bcachefs (loop0): done starting filesystem [pid 5922] close(4) = 0 [pid 5922] truncate("./file1", 61440) = 0 [pid 5922] exit_group(0) = ? [pid 5922] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5922, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=24 /* 0.24 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./8", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x55557f2a16f0 /* 4 entries */, 32768) = 112 umount2("./8/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./8/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./8/binderfs") = 0 [ 74.697660][ T5830] bcachefs (loop0): shutting down [ 74.702815][ T5830] bcachefs (loop0): going read-only [ 74.708283][ T5830] bcachefs (loop0): finished waiting for writes to stop [ 74.715808][ T5830] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [ 74.728049][ T1120] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 74.741280][ T1120] bcachefs (loop0): fatal error - emergency read only [ 74.748679][ T5830] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3339 [ 74.758794][ T5830] bcachefs (loop0): unshutdown complete, journal seq 3339 [ 74.766681][ T5830] bcachefs (loop0): done going read-only, filesystem not clean [ 74.781861][ T5830] bcachefs (loop0): shutdown complete umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./8/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./8/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(4, 0x55557f2a9730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55557f2a9730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./8/file0") = 0 getdents64(3, 0x55557f2a16f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./8") = 0 mkdir("./9", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5933 attached , child_tidptr=0x55557f2a0650) = 5933 [pid 5933] set_robust_list(0x55557f2a0660, 24) = 0 [pid 5933] chdir("./9") = 0 [pid 5933] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5933] setpgid(0, 0) = 0 [pid 5933] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5933] write(3, "1000", 4) = 4 [pid 5933] close(3) = 0 [pid 5933] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5933] write(1, "executing program\n", 18) = 18 [pid 5933] memfd_create("syzkaller", 0) = 3 [pid 5933] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f591e000000 [pid 5933] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5933] munmap(0x7f591e000000, 138412032) = 0 [pid 5933] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5933] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5933] close(3) = 0 [pid 5933] close(4) = 0 [pid 5933] mkdir("./file0", 0777) = 0 [ 76.032854][ T5933] loop0: detected capacity change from 0 to 32768 [ 76.110061][ T5933] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 76.131165][ T5933] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 76.139541][ T5933] bcachefs (loop0): Version upgrade required: [ 76.139541][ T5933] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 76.139541][ T5933] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 76.139541][ T5933] 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.211746][ T5933] bcachefs (loop0): dropping and reconstructing all alloc info [ 76.226277][ T5933] bcachefs (loop0): accounting_read... done [ 76.232377][ T5933] bcachefs (loop0): alloc_read... done [ 76.238074][ T5933] bcachefs (loop0): stripes_read... done [ 76.243776][ T5933] bcachefs (loop0): snapshots_read... done [pid 5933] mount("/dev/loop0", "./file0", "bcachefs", MS_NOEXEC|MS_POSIXACL|MS_RELATIME, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"...) = 0 [pid 5933] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5933] chdir("./file0") = 0 [pid 5933] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5933] ioctl(4, LOOP_CLR_FD) = 0 [pid 5933] close(4) = 0 [pid 5933] truncate("./file1", 61440) = 0 [pid 5933] exit_group(0) = ? [ 76.249731][ T5933] bcachefs (loop0): check_allocations... done [ 76.266869][ T5933] bcachefs (loop0): going read-write [ 76.275305][ T5933] bcachefs (loop0): done starting filesystem [pid 5933] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5933, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=25 /* 0.25 s */} --- umount2("./9", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x55557f2a16f0 /* 4 entries */, 32768) = 112 umount2("./9/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./9/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./9/binderfs") = 0 [ 76.436790][ T5830] bcachefs (loop0): shutting down [ 76.441839][ T5830] bcachefs (loop0): going read-only [ 76.447126][ T5830] bcachefs (loop0): finished waiting for writes to stop [ 76.454761][ T5830] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3340 [ 76.466217][ T1120] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 76.479369][ T1120] bcachefs (loop0): fatal error - emergency read only [ 76.486688][ T5830] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3340 [ 76.496789][ T5830] bcachefs (loop0): unshutdown complete, journal seq 3340 [ 76.504435][ T5830] bcachefs (loop0): done going read-only, filesystem not clean [ 76.520579][ T5830] bcachefs (loop0): shutdown complete [ 76.766768][ T46] cfg80211: failed to load regulatory.db umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./9/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./9/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(4, 0x55557f2a9730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55557f2a9730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./9/file0") = 0 getdents64(3, 0x55557f2a16f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./9") = 0 mkdir("./10", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5944 attached , child_tidptr=0x55557f2a0650) = 5944 [pid 5944] set_robust_list(0x55557f2a0660, 24) = 0 [pid 5944] chdir("./10") = 0 [pid 5944] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5944] setpgid(0, 0) = 0 [pid 5944] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5944] write(3, "1000", 4) = 4 [pid 5944] close(3) = 0 [pid 5944] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5944] write(1, "executing program\n", 18executing program ) = 18 [pid 5944] memfd_create("syzkaller", 0) = 3 [pid 5944] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f591e000000 [pid 5944] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 5944] munmap(0x7f591e000000, 138412032) = 0 [pid 5944] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5944] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5944] close(3) = 0 [pid 5944] close(4) = 0 [pid 5944] mkdir("./file0", 0777) = 0 [ 77.914945][ T5944] loop0: detected capacity change from 0 to 32768 [ 77.980908][ T5944] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 78.002419][ T5944] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 78.010741][ T5944] bcachefs (loop0): Version upgrade required: [ 78.010741][ T5944] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 78.010741][ T5944] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 78.010741][ T5944] 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.083397][ T5944] bcachefs (loop0): dropping and reconstructing all alloc info [ 78.105086][ T5944] bcachefs (loop0): accounting_read... done [ 78.111435][ T5944] bcachefs (loop0): alloc_read... done [ 78.117392][ T5944] bcachefs (loop0): stripes_read... done [ 78.123125][ T5944] bcachefs (loop0): snapshots_read... done [pid 5944] mount("/dev/loop0", "./file0", "bcachefs", MS_NOEXEC|MS_POSIXACL|MS_RELATIME, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"...) = 0 [pid 5944] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5944] chdir("./file0") = 0 [pid 5944] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5944] ioctl(4, LOOP_CLR_FD) = 0 [pid 5944] close(4) = 0 [ 78.129449][ T5944] bcachefs (loop0): check_allocations... done [ 78.146120][ T5944] bcachefs (loop0): going read-write [ 78.154368][ T5944] bcachefs (loop0): done starting filesystem [pid 5944] truncate("./file1", 61440) = 0 [pid 5944] exit_group(0) = ? [pid 5944] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5944, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=25 /* 0.25 s */} --- umount2("./10", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x55557f2a16f0 /* 4 entries */, 32768) = 112 umount2("./10/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./10/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./10/binderfs") = 0 [ 78.237870][ T5830] bcachefs (loop0): shutting down [ 78.243045][ T5830] bcachefs (loop0): going read-only [ 78.255213][ T5830] bcachefs (loop0): finished waiting for writes to stop [ 78.262914][ T5830] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3340 [ 78.283690][ T5830] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3344 [ 78.306500][ T5830] bcachefs (loop0): unshutdown complete, journal seq 3345 [ 78.314163][ T5830] bcachefs (loop0): done going read-only, filesystem not clean [ 78.337202][ T5830] bcachefs (loop0): shutdown complete umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./10/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./10/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(4, 0x55557f2a9730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55557f2a9730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./10/file0") = 0 getdents64(3, 0x55557f2a16f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./10") = 0 mkdir("./11", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5955 attached [pid 5955] set_robust_list(0x55557f2a0660, 24) = 0 [pid 5830] <... clone resumed>, child_tidptr=0x55557f2a0650) = 5955 [pid 5955] chdir("./11") = 0 [pid 5955] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5955] setpgid(0, 0) = 0 [pid 5955] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5955] write(3, "1000", 4) = 4 [pid 5955] close(3) = 0 [pid 5955] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5955] write(1, "executing program\n", 18) = 18 [pid 5955] memfd_create("syzkaller", 0) = 3 [pid 5955] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f591e000000 [pid 5955] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 5955] munmap(0x7f591e000000, 138412032) = 0 [pid 5955] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5955] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5955] close(3) = 0 [pid 5955] close(4) = 0 [pid 5955] mkdir("./file0", 0777) = 0 [ 79.774185][ T5955] loop0: detected capacity change from 0 to 32768 [ 79.857279][ T5955] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 79.878471][ T5955] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 79.886813][ T5955] bcachefs (loop0): Version upgrade required: [ 79.886813][ T5955] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 79.886813][ T5955] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 79.886813][ T5955] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 79.959430][ T5955] bcachefs (loop0): dropping and reconstructing all alloc info [ 79.973893][ T5955] bcachefs (loop0): accounting_read... done [ 79.980632][ T5955] bcachefs (loop0): alloc_read... done [ 79.986521][ T5955] bcachefs (loop0): stripes_read... done [ 79.992278][ T5955] bcachefs (loop0): snapshots_read... done [pid 5955] mount("/dev/loop0", "./file0", "bcachefs", MS_NOEXEC|MS_POSIXACL|MS_RELATIME, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"...) = 0 [pid 5955] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5955] chdir("./file0") = 0 [pid 5955] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 79.998623][ T5955] bcachefs (loop0): check_allocations... done [ 80.016571][ T5955] bcachefs (loop0): going read-write [ 80.025378][ T5955] bcachefs (loop0): done starting filesystem [pid 5955] ioctl(4, LOOP_CLR_FD) = 0 [pid 5955] close(4) = 0 [pid 5955] truncate("./file1", 61440) = 0 [pid 5955] exit_group(0) = ? [pid 5955] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5955, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=22 /* 0.22 s */} --- umount2("./11", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x55557f2a16f0 /* 4 entries */, 32768) = 112 umount2("./11/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./11/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./11/binderfs") = 0 [ 80.223177][ T5830] bcachefs (loop0): shutting down [ 80.228435][ T5830] bcachefs (loop0): going read-only [ 80.233636][ T5830] bcachefs (loop0): finished waiting for writes to stop [ 80.241411][ T5830] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [ 80.253181][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 80.266587][ T11] bcachefs (loop0): fatal error - emergency read only [ 80.273682][ T5830] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3339 [ 80.283691][ T5830] bcachefs (loop0): unshutdown complete, journal seq 3339 [ 80.291718][ T5830] bcachefs (loop0): done going read-only, filesystem not clean [ 80.307214][ T5830] bcachefs (loop0): shutdown complete umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./11/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./11/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(4, 0x55557f2a9730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55557f2a9730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./11/file0") = 0 getdents64(3, 0x55557f2a16f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./11") = 0 mkdir("./12", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5966 attached [pid 5966] set_robust_list(0x55557f2a0660, 24 [pid 5830] <... clone resumed>, child_tidptr=0x55557f2a0650) = 5966 [pid 5966] <... set_robust_list resumed>) = 0 [pid 5966] chdir("./12") = 0 [pid 5966] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5966] setpgid(0, 0) = 0 [pid 5966] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5966] write(3, "1000", 4) = 4 [pid 5966] close(3) = 0 [pid 5966] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5966] write(1, "executing program\n", 18executing program ) = 18 [pid 5966] memfd_create("syzkaller", 0) = 3 [pid 5966] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f591e000000 [pid 5966] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5966] munmap(0x7f591e000000, 138412032) = 0 [pid 5966] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5966] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5966] close(3) = 0 [pid 5966] close(4) = 0 [pid 5966] mkdir("./file0", 0777) = 0 [ 81.632456][ T5966] loop0: detected capacity change from 0 to 32768 [ 81.717231][ T5966] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 81.738460][ T5966] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 81.746805][ T5966] bcachefs (loop0): Version upgrade required: [ 81.746805][ T5966] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 81.746805][ T5966] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 81.746805][ T5966] 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.818622][ T5966] bcachefs (loop0): dropping and reconstructing all alloc info [ 81.833239][ T5966] bcachefs (loop0): accounting_read... done [ 81.839422][ T5966] bcachefs (loop0): alloc_read... done [ 81.844981][ T5966] bcachefs (loop0): stripes_read... done [ 81.850642][ T5966] bcachefs (loop0): snapshots_read... done [pid 5966] mount("/dev/loop0", "./file0", "bcachefs", MS_NOEXEC|MS_POSIXACL|MS_RELATIME, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"...) = 0 [pid 5966] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5966] chdir("./file0") = 0 [ 81.856705][ T5966] bcachefs (loop0): check_allocations... done [ 81.875085][ T5966] bcachefs (loop0): going read-write [ 81.883384][ T5966] bcachefs (loop0): done starting filesystem [pid 5966] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5966] ioctl(4, LOOP_CLR_FD) = 0 [pid 5966] close(4) = 0 [pid 5966] truncate("./file1", 61440) = 0 [pid 5966] exit_group(0) = ? [pid 5966] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5966, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=23 /* 0.23 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./12", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x55557f2a16f0 /* 4 entries */, 32768) = 112 umount2("./12/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./12/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./12/binderfs") = 0 [ 82.093972][ T5830] bcachefs (loop0): shutting down [ 82.099182][ T5830] bcachefs (loop0): going read-only [ 82.104399][ T5830] bcachefs (loop0): finished waiting for writes to stop [ 82.112366][ T5830] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [ 82.124139][ T1120] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 82.137512][ T1120] bcachefs (loop0): fatal error - emergency read only [ 82.148159][ T5830] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3339 [ 82.158042][ T5830] bcachefs (loop0): unshutdown complete, journal seq 3339 [ 82.166172][ T5830] bcachefs (loop0): done going read-only, filesystem not clean [ 82.181801][ T5830] bcachefs (loop0): shutdown complete umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./12/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./12/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(4, 0x55557f2a9730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55557f2a9730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./12/file0") = 0 getdents64(3, 0x55557f2a16f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./12") = 0 mkdir("./13", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5977 attached , child_tidptr=0x55557f2a0650) = 5977 [pid 5977] set_robust_list(0x55557f2a0660, 24) = 0 [pid 5977] chdir("./13") = 0 [pid 5977] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5977] setpgid(0, 0) = 0 [pid 5977] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5977] write(3, "1000", 4) = 4 [pid 5977] close(3) = 0 [pid 5977] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5977] write(1, "executing program\n", 18) = 18 [pid 5977] memfd_create("syzkaller", 0) = 3 [pid 5977] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f591e000000 [pid 5977] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5977] munmap(0x7f591e000000, 138412032) = 0 [pid 5977] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5977] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5977] close(3) = 0 [pid 5977] close(4) = 0 [pid 5977] mkdir("./file0", 0777) = 0 [ 83.582571][ T5977] loop0: detected capacity change from 0 to 32768 [ 83.662139][ T5977] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 83.683472][ T5977] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 83.691800][ T5977] bcachefs (loop0): Version upgrade required: [ 83.691800][ T5977] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 83.691800][ T5977] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 83.691800][ T5977] 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.763897][ T5977] bcachefs (loop0): dropping and reconstructing all alloc info [ 83.778583][ T5977] bcachefs (loop0): accounting_read... done [ 83.784853][ T5977] bcachefs (loop0): alloc_read... done [ 83.790389][ T5977] bcachefs (loop0): stripes_read... done [ 83.796124][ T5977] bcachefs (loop0): snapshots_read... done [pid 5977] mount("/dev/loop0", "./file0", "bcachefs", MS_NOEXEC|MS_POSIXACL|MS_RELATIME, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"...) = 0 [pid 5977] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5977] chdir("./file0") = 0 [pid 5977] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5977] ioctl(4, LOOP_CLR_FD) = 0 [pid 5977] close(4) = 0 [ 83.802027][ T5977] bcachefs (loop0): check_allocations... done [ 83.818923][ T5977] bcachefs (loop0): going read-write [ 83.827427][ T5977] bcachefs (loop0): done starting filesystem [pid 5977] truncate("./file1", 61440) = 0 [pid 5977] exit_group(0) = ? [pid 5977] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5977, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=24 /* 0.24 s */} --- umount2("./13", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./13", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x55557f2a16f0 /* 4 entries */, 32768) = 112 umount2("./13/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./13/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./13/binderfs") = 0 [ 84.003892][ T5830] bcachefs (loop0): shutting down [ 84.009111][ T5830] bcachefs (loop0): going read-only [ 84.014305][ T5830] bcachefs (loop0): finished waiting for writes to stop [ 84.021980][ T5830] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [ 84.033235][ T1143] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 84.046492][ T1143] bcachefs (loop0): fatal error - emergency read only [ 84.053748][ T5830] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3339 [ 84.064634][ T5830] bcachefs (loop0): unshutdown complete, journal seq 3339 [ 84.072367][ T5830] bcachefs (loop0): done going read-only, filesystem not clean [ 84.088621][ T5830] bcachefs (loop0): shutdown complete umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./13/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./13/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(4, 0x55557f2a9730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55557f2a9730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./13/file0") = 0 getdents64(3, 0x55557f2a16f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./13") = 0 mkdir("./14", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5988 attached [pid 5988] set_robust_list(0x55557f2a0660, 24 [pid 5830] <... clone resumed>, child_tidptr=0x55557f2a0650) = 5988 [pid 5988] <... set_robust_list resumed>) = 0 [pid 5988] chdir("./14") = 0 [pid 5988] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5988] setpgid(0, 0) = 0 [pid 5988] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5988] write(3, "1000", 4) = 4 [pid 5988] close(3) = 0 [pid 5988] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5988] write(1, "executing program\n", 18executing program ) = 18 [pid 5988] memfd_create("syzkaller", 0) = 3 [pid 5988] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f591e000000 [pid 5988] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5988] munmap(0x7f591e000000, 138412032) = 0 [pid 5988] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5988] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5988] close(3) = 0 [pid 5988] close(4) = 0 [pid 5988] mkdir("./file0", 0777) = 0 [ 85.324386][ T5988] loop0: detected capacity change from 0 to 32768 [ 85.389403][ T5988] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 85.410739][ T5988] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 85.419132][ T5988] bcachefs (loop0): Version upgrade required: [ 85.419132][ T5988] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 85.419132][ T5988] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 85.419132][ T5988] 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.491453][ T5988] bcachefs (loop0): dropping and reconstructing all alloc info [ 85.506366][ T5988] bcachefs (loop0): accounting_read... done [ 85.512530][ T5988] bcachefs (loop0): alloc_read... done [ 85.518083][ T5988] bcachefs (loop0): stripes_read... done [ 85.523779][ T5988] bcachefs (loop0): snapshots_read... done [pid 5988] mount("/dev/loop0", "./file0", "bcachefs", MS_NOEXEC|MS_POSIXACL|MS_RELATIME, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"...) = 0 [pid 5988] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5988] chdir("./file0") = 0 [pid 5988] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5988] ioctl(4, LOOP_CLR_FD) = 0 [ 85.529846][ T5988] bcachefs (loop0): check_allocations... done [ 85.546251][ T5988] bcachefs (loop0): going read-write [ 85.554278][ T5988] bcachefs (loop0): done starting filesystem [pid 5988] close(4) = 0 [pid 5988] truncate("./file1", 61440) = 0 [pid 5988] exit_group(0) = ? [pid 5988] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5988, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=26 /* 0.26 s */} --- umount2("./14", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./14", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x55557f2a16f0 /* 4 entries */, 32768) = 112 umount2("./14/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./14/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./14/binderfs") = 0 [ 85.643805][ T5830] bcachefs (loop0): shutting down [ 85.649173][ T5830] bcachefs (loop0): going read-only [ 85.654383][ T5830] bcachefs (loop0): finished waiting for writes to stop [ 85.662213][ T5830] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [ 85.681405][ T5830] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3343 [ 85.692465][ T5830] bcachefs (loop0): unshutdown complete, journal seq 3344 [ 85.700256][ T5830] bcachefs (loop0): done going read-only, filesystem not clean [ 85.715643][ T5830] bcachefs (loop0): shutdown complete umount2("./14/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./14/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./14/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./14/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./14/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(4, 0x55557f2a9730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55557f2a9730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./14/file0") = 0 getdents64(3, 0x55557f2a16f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./14") = 0 mkdir("./15", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5999 attached [pid 5999] set_robust_list(0x55557f2a0660, 24) = 0 [pid 5999] chdir("./15" [pid 5830] <... clone resumed>, child_tidptr=0x55557f2a0650) = 5999 [pid 5999] <... chdir resumed>) = 0 [pid 5999] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5999] setpgid(0, 0) = 0 [pid 5999] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5999] write(3, "1000", 4) = 4 [pid 5999] close(3) = 0 [pid 5999] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5999] write(1, "executing program\n", 18) = 18 [pid 5999] memfd_create("syzkaller", 0) = 3 [pid 5999] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f591e000000 [pid 5999] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5999] munmap(0x7f591e000000, 138412032) = 0 [pid 5999] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5999] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5999] close(3) = 0 [pid 5999] close(4) = 0 [pid 5999] mkdir("./file0", 0777) = 0 [ 87.004832][ T5999] loop0: detected capacity change from 0 to 32768 [ 87.078639][ T5999] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 87.099785][ T5999] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 87.108380][ T5999] bcachefs (loop0): Version upgrade required: [ 87.108380][ T5999] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 87.108380][ T5999] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 87.108380][ T5999] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 87.181373][ T5999] bcachefs (loop0): dropping and reconstructing all alloc info [ 87.196297][ T5999] bcachefs (loop0): accounting_read... done [ 87.202380][ T5999] bcachefs (loop0): alloc_read... done [ 87.208179][ T5999] bcachefs (loop0): stripes_read... done [ 87.214008][ T5999] bcachefs (loop0): snapshots_read... done [pid 5999] mount("/dev/loop0", "./file0", "bcachefs", MS_NOEXEC|MS_POSIXACL|MS_RELATIME, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"...) = 0 [pid 5999] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5999] chdir("./file0") = 0 [ 87.220125][ T5999] bcachefs (loop0): check_allocations... done [ 87.237326][ T5999] bcachefs (loop0): going read-write [ 87.245858][ T5999] bcachefs (loop0): done starting filesystem [pid 5999] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5999] ioctl(4, LOOP_CLR_FD) = 0 [pid 5999] close(4) = 0 [pid 5999] truncate("./file1", 61440) = 0 [pid 5999] exit_group(0) = ? [pid 5999] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5999, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=24 /* 0.24 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./15", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./15", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x55557f2a16f0 /* 4 entries */, 32768) = 112 umount2("./15/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./15/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./15/binderfs") = 0 [ 87.346784][ T5830] bcachefs (loop0): shutting down [ 87.351850][ T5830] bcachefs (loop0): going read-only [ 87.357372][ T5830] bcachefs (loop0): finished waiting for writes to stop [ 87.365277][ T5830] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [ 87.384118][ T5830] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3343 [ 87.395239][ T5830] bcachefs (loop0): unshutdown complete, journal seq 3344 [ 87.402862][ T5830] bcachefs (loop0): done going read-only, filesystem not clean [ 87.419263][ T5830] bcachefs (loop0): shutdown complete umount2("./15/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./15/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./15/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./15/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./15/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(4, 0x55557f2a9730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55557f2a9730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./15/file0") = 0 getdents64(3, 0x55557f2a16f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./15") = 0 mkdir("./16", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6010 attached [pid 6010] set_robust_list(0x55557f2a0660, 24) = 0 [pid 6010] chdir("./16" [pid 5830] <... clone resumed>, child_tidptr=0x55557f2a0650) = 6010 [pid 6010] <... chdir resumed>) = 0 [pid 6010] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6010] setpgid(0, 0) = 0 [pid 6010] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6010] write(3, "1000", 4) = 4 [pid 6010] close(3) = 0 [pid 6010] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6010] write(1, "executing program\n", 18) = 18 [pid 6010] memfd_create("syzkaller", 0) = 3 [pid 6010] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f591e000000 [pid 6010] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6010] munmap(0x7f591e000000, 138412032) = 0 [pid 6010] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6010] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6010] close(3) = 0 [pid 6010] close(4) = 0 [pid 6010] mkdir("./file0", 0777) = 0 [ 88.879215][ T6010] loop0: detected capacity change from 0 to 32768 [ 88.956297][ T6010] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 88.977413][ T6010] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 88.985721][ T6010] bcachefs (loop0): Version upgrade required: [ 88.985721][ T6010] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 88.985721][ T6010] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 88.985721][ T6010] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 89.057722][ T6010] bcachefs (loop0): dropping and reconstructing all alloc info [ 89.072734][ T6010] bcachefs (loop0): accounting_read... done [ 89.079192][ T6010] bcachefs (loop0): alloc_read... done [ 89.084809][ T6010] bcachefs (loop0): stripes_read... done [ 89.090612][ T6010] bcachefs (loop0): snapshots_read... done [pid 6010] mount("/dev/loop0", "./file0", "bcachefs", MS_NOEXEC|MS_POSIXACL|MS_RELATIME, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"...) = 0 [pid 6010] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6010] chdir("./file0") = 0 [pid 6010] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6010] ioctl(4, LOOP_CLR_FD) = 0 [pid 6010] close(4) = 0 [pid 6010] truncate("./file1", 61440) = 0 [pid 6010] exit_group(0) = ? [ 89.096567][ T6010] bcachefs (loop0): check_allocations... done [ 89.113016][ T6010] bcachefs (loop0): going read-write [ 89.121342][ T6010] bcachefs (loop0): done starting filesystem [pid 6010] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6010, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=26 /* 0.26 s */} --- umount2("./16", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./16", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x55557f2a16f0 /* 4 entries */, 32768) = 112 umount2("./16/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./16/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./16/binderfs") = 0 [ 89.278838][ T5830] bcachefs (loop0): shutting down [ 89.283886][ T5830] bcachefs (loop0): going read-only [ 89.289574][ T5830] bcachefs (loop0): finished waiting for writes to stop [ 89.297317][ T5830] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3340 [ 89.309645][ T1120] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 89.323035][ T1120] bcachefs (loop0): fatal error - emergency read only [ 89.330645][ T5830] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3340 [ 89.340702][ T5830] bcachefs (loop0): unshutdown complete, journal seq 3340 [ 89.348501][ T5830] bcachefs (loop0): done going read-only, filesystem not clean [ 89.365261][ T5830] bcachefs (loop0): shutdown complete umount2("./16/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./16/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./16/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./16/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./16/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(4, 0x55557f2a9730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55557f2a9730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./16/file0") = 0 getdents64(3, 0x55557f2a16f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./16") = 0 mkdir("./17", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6021 attached [pid 6021] set_robust_list(0x55557f2a0660, 24) = 0 [pid 5830] <... clone resumed>, child_tidptr=0x55557f2a0650) = 6021 [pid 6021] chdir("./17") = 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 executing program [pid 6021] write(1, "executing program\n", 18) = 18 [pid 6021] memfd_create("syzkaller", 0) = 3 [pid 6021] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f591e000000 [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(0x7f591e000000, 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("./file0", 0777) = 0 [ 90.724411][ T6021] loop0: detected capacity change from 0 to 32768 [ 90.793451][ T6021] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 90.814926][ T6021] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 90.823113][ T6021] bcachefs (loop0): Version upgrade required: [ 90.823113][ T6021] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 90.823113][ T6021] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 90.823113][ 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 [ 90.895470][ T6021] bcachefs (loop0): dropping and reconstructing all alloc info [ 90.909905][ T6021] bcachefs (loop0): accounting_read... done [ 90.916386][ T6021] bcachefs (loop0): alloc_read... done [ 90.921954][ T6021] bcachefs (loop0): stripes_read... done [ 90.927694][ T6021] bcachefs (loop0): snapshots_read... done [pid 6021] mount("/dev/loop0", "./file0", "bcachefs", MS_NOEXEC|MS_POSIXACL|MS_RELATIME, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"...) = 0 [pid 6021] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6021] chdir("./file0") = 0 [ 90.933572][ T6021] bcachefs (loop0): check_allocations... done [ 90.950575][ T6021] bcachefs (loop0): going read-write [ 90.959113][ T6021] bcachefs (loop0): done starting filesystem [pid 6021] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6021] ioctl(4, LOOP_CLR_FD) = 0 [pid 6021] close(4) = 0 [pid 6021] truncate("./file1", 61440) = 0 [pid 6021] exit_group(0) = ? [pid 6021] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6021, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=23 /* 0.23 s */} --- umount2("./17", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./17", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x55557f2a16f0 /* 4 entries */, 32768) = 112 umount2("./17/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./17/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./17/binderfs") = 0 [ 91.055209][ T5830] bcachefs (loop0): shutting down [ 91.060273][ T5830] bcachefs (loop0): going read-only [ 91.065897][ T5830] bcachefs (loop0): finished waiting for writes to stop [ 91.073245][ T5830] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [ 91.092507][ T5830] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3344 [ 91.103719][ T5830] bcachefs (loop0): unshutdown complete, journal seq 3345 [ 91.111625][ T5830] bcachefs (loop0): done going read-only, filesystem not clean [ 91.127519][ T5830] bcachefs (loop0): shutdown complete umount2("./17/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./17/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./17/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./17/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./17/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(4, 0x55557f2a9730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55557f2a9730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./17/file0") = 0 getdents64(3, 0x55557f2a16f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./17") = 0 mkdir("./18", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6032 attached , child_tidptr=0x55557f2a0650) = 6032 [pid 6032] set_robust_list(0x55557f2a0660, 24) = 0 [pid 6032] chdir("./18") = 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 executing program [pid 6032] write(1, "executing program\n", 18) = 18 [pid 6032] memfd_create("syzkaller", 0) = 3 [pid 6032] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f591e000000 [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(0x7f591e000000, 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("./file0", 0777) = 0 [ 92.477960][ T6032] loop0: detected capacity change from 0 to 32768 [ 92.544457][ T6032] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 92.565892][ T6032] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 92.574148][ T6032] bcachefs (loop0): Version upgrade required: [ 92.574148][ T6032] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 92.574148][ T6032] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 92.574148][ 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 [ 92.647175][ T6032] bcachefs (loop0): dropping and reconstructing all alloc info [ 92.661347][ T6032] bcachefs (loop0): accounting_read... done [ 92.667541][ T6032] bcachefs (loop0): alloc_read... done [ 92.673065][ T6032] bcachefs (loop0): stripes_read... done [ 92.678877][ T6032] bcachefs (loop0): snapshots_read... done [pid 6032] mount("/dev/loop0", "./file0", "bcachefs", MS_NOEXEC|MS_POSIXACL|MS_RELATIME, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"...) = 0 [pid 6032] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6032] chdir("./file0") = 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] truncate("./file1", 61440) = 0 [pid 6032] exit_group(0) = ? [pid 6032] +++ exited with 0 +++ [ 92.684981][ T6032] bcachefs (loop0): check_allocations... done [ 92.701548][ T6032] bcachefs (loop0): going read-write [ 92.709981][ T6032] bcachefs (loop0): done starting filesystem --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6032, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=24 /* 0.24 s */} --- umount2("./18", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./18", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x55557f2a16f0 /* 4 entries */, 32768) = 112 umount2("./18/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./18/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./18/binderfs") = 0 [ 92.885215][ T5830] bcachefs (loop0): shutting down [ 92.890287][ T5830] bcachefs (loop0): going read-only [ 92.895766][ T5830] bcachefs (loop0): finished waiting for writes to stop [ 92.903128][ T5830] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3340 [ 92.915053][ T1143] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 92.928201][ T1143] bcachefs (loop0): fatal error - emergency read only [ 92.935779][ T5830] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3340 [ 92.945724][ T5830] bcachefs (loop0): unshutdown complete, journal seq 3340 [ 92.953348][ T5830] bcachefs (loop0): done going read-only, filesystem not clean [ 92.968608][ T5830] bcachefs (loop0): shutdown complete umount2("./18/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./18/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./18/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./18/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./18/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(4, 0x55557f2a9730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55557f2a9730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./18/file0") = 0 getdents64(3, 0x55557f2a16f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./18") = 0 mkdir("./19", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6043 attached , child_tidptr=0x55557f2a0650) = 6043 [pid 6043] set_robust_list(0x55557f2a0660, 24) = 0 [pid 6043] chdir("./19") = 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 [pid 6043] write(1, "executing program\n", 18executing program ) = 18 [pid 6043] memfd_create("syzkaller", 0) = 3 [pid 6043] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f591e000000 [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(0x7f591e000000, 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("./file0", 0777) = 0 [ 94.283024][ T6043] loop0: detected capacity change from 0 to 32768 [ 94.336788][ T6043] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 94.357870][ T6043] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 94.366150][ T6043] bcachefs (loop0): Version upgrade required: [ 94.366150][ T6043] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 94.366150][ T6043] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 94.366150][ 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 [ 94.438096][ T6043] bcachefs (loop0): dropping and reconstructing all alloc info [ 94.452723][ T6043] bcachefs (loop0): accounting_read... done [ 94.458911][ T6043] bcachefs (loop0): alloc_read... done [ 94.464739][ T6043] bcachefs (loop0): stripes_read... done [ 94.470472][ T6043] bcachefs (loop0): snapshots_read... done [pid 6043] mount("/dev/loop0", "./file0", "bcachefs", MS_NOEXEC|MS_POSIXACL|MS_RELATIME, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"...) = 0 [pid 6043] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6043] chdir("./file0") = 0 [pid 6043] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6043] ioctl(4, LOOP_CLR_FD) = 0 [ 94.476412][ T6043] bcachefs (loop0): check_allocations... done [ 94.493267][ T6043] bcachefs (loop0): going read-write [ 94.501328][ T6043] bcachefs (loop0): done starting filesystem [pid 6043] close(4) = 0 [pid 6043] truncate("./file1", 61440) = 0 [pid 6043] exit_group(0) = ? [pid 6043] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6043, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=24 /* 0.24 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./19", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./19", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x55557f2a16f0 /* 4 entries */, 32768) = 112 umount2("./19/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./19/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./19/binderfs") = 0 [ 94.702228][ T5830] bcachefs (loop0): shutting down [ 94.707332][ T5830] bcachefs (loop0): going read-only [ 94.712564][ T5830] bcachefs (loop0): finished waiting for writes to stop [ 94.720592][ T5830] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [ 94.731742][ T1143] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 94.745174][ T1143] bcachefs (loop0): fatal error - emergency read only [ 94.752278][ T5830] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3339 [ 94.762437][ T5830] bcachefs (loop0): unshutdown complete, journal seq 3339 [ 94.770479][ T5830] bcachefs (loop0): done going read-only, filesystem not clean [ 94.785436][ T5830] bcachefs (loop0): shutdown complete umount2("./19/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./19/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./19/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./19/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./19/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(4, 0x55557f2a9730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55557f2a9730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./19/file0") = 0 getdents64(3, 0x55557f2a16f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./19") = 0 mkdir("./20", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6054 attached [pid 6054] set_robust_list(0x55557f2a0660, 24) = 0 [pid 5830] <... clone resumed>, child_tidptr=0x55557f2a0650) = 6054 [pid 6054] chdir("./20") = 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) = 0x7f591e000000 [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(0x7f591e000000, 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("./file0", 0777) = 0 [ 96.070761][ T6054] loop0: detected capacity change from 0 to 32768 [ 96.131195][ T6054] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 96.152817][ T6054] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 96.161383][ T6054] bcachefs (loop0): Version upgrade required: [ 96.161383][ T6054] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 96.161383][ T6054] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 96.161383][ 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 [ 96.233625][ T6054] bcachefs (loop0): dropping and reconstructing all alloc info [ 96.248496][ T6054] bcachefs (loop0): accounting_read... done [ 96.254903][ T6054] bcachefs (loop0): alloc_read... done [ 96.260441][ T6054] bcachefs (loop0): stripes_read... done [ 96.266199][ T6054] bcachefs (loop0): snapshots_read... done [pid 6054] mount("/dev/loop0", "./file0", "bcachefs", MS_NOEXEC|MS_POSIXACL|MS_RELATIME, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"...) = 0 [pid 6054] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6054] chdir("./file0") = 0 [pid 6054] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6054] ioctl(4, LOOP_CLR_FD) = 0 [ 96.272106][ T6054] bcachefs (loop0): check_allocations... done [ 96.294148][ T6054] bcachefs (loop0): going read-write [ 96.302519][ T6054] bcachefs (loop0): done starting filesystem [pid 6054] close(4) = 0 [pid 6054] truncate("./file1", 61440) = 0 [pid 6054] exit_group(0) = ? [pid 6054] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6054, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=26 /* 0.26 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./20", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./20", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x55557f2a16f0 /* 4 entries */, 32768) = 112 umount2("./20/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./20/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./20/binderfs") = 0 [ 96.508356][ T5830] bcachefs (loop0): shutting down [ 96.513410][ T5830] bcachefs (loop0): going read-only [ 96.518937][ T5830] bcachefs (loop0): finished waiting for writes to stop [ 96.526354][ T5830] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [ 96.537650][ T1143] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 96.550907][ T1143] bcachefs (loop0): fatal error - emergency read only [ 96.559009][ T5830] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3339 [ 96.568962][ T5830] bcachefs (loop0): unshutdown complete, journal seq 3339 [ 96.576850][ T5830] bcachefs (loop0): done going read-only, filesystem not clean [ 96.594122][ T5830] bcachefs (loop0): shutdown complete umount2("./20/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./20/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./20/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./20/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./20/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(4, 0x55557f2a9730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55557f2a9730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./20/file0") = 0 getdents64(3, 0x55557f2a16f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./20") = 0 mkdir("./21", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6070 attached [pid 6070] set_robust_list(0x55557f2a0660, 24) = 0 [pid 5830] <... clone resumed>, child_tidptr=0x55557f2a0650) = 6070 [pid 6070] chdir("./21") = 0 [pid 6070] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6070] setpgid(0, 0) = 0 [pid 6070] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6070] write(3, "1000", 4) = 4 [pid 6070] close(3) = 0 [pid 6070] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6070] write(1, "executing program\n", 18) = 18 [pid 6070] memfd_create("syzkaller", 0) = 3 [pid 6070] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f591e000000 [pid 6070] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6070] munmap(0x7f591e000000, 138412032) = 0 [pid 6070] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6070] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6070] close(3) = 0 [pid 6070] close(4) = 0 [pid 6070] mkdir("./file0", 0777) = 0 [ 97.944785][ T6070] loop0: detected capacity change from 0 to 32768 [ 98.019299][ T6070] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 98.040618][ T6070] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 98.048889][ T6070] bcachefs (loop0): Version upgrade required: [ 98.048889][ T6070] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 98.048889][ T6070] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 98.048889][ T6070] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 98.120863][ T6070] bcachefs (loop0): dropping and reconstructing all alloc info [ 98.135786][ T6070] bcachefs (loop0): accounting_read... done [ 98.141860][ T6070] bcachefs (loop0): alloc_read... done [ 98.147619][ T6070] bcachefs (loop0): stripes_read... done [ 98.153329][ T6070] bcachefs (loop0): snapshots_read... done [pid 6070] mount("/dev/loop0", "./file0", "bcachefs", MS_NOEXEC|MS_POSIXACL|MS_RELATIME, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"...) = 0 [pid 6070] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6070] chdir("./file0") = 0 [pid 6070] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6070] ioctl(4, LOOP_CLR_FD) = 0 [pid 6070] close(4) = 0 [pid 6070] truncate("./file1", 61440) = 0 [pid 6070] exit_group(0) = ? [pid 6070] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6070, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=22 /* 0.22 s */} --- [ 98.159442][ T6070] bcachefs (loop0): check_allocations... done [ 98.175847][ T6070] bcachefs (loop0): going read-write [ 98.183925][ T6070] bcachefs (loop0): done starting filesystem restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./21", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./21", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x55557f2a16f0 /* 4 entries */, 32768) = 112 umount2("./21/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./21/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./21/binderfs") = 0 [ 98.247124][ T5830] bcachefs (loop0): shutting down [ 98.252179][ T5830] bcachefs (loop0): going read-only [ 98.257860][ T5830] bcachefs (loop0): finished waiting for writes to stop [ 98.265408][ T5830] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [ 98.277356][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 98.290604][ T11] bcachefs (loop0): fatal error - emergency read only [ 98.298048][ T5830] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3339 [ 98.308345][ T5830] bcachefs (loop0): unshutdown complete, journal seq 3339 [ 98.316210][ T5830] bcachefs (loop0): done going read-only, filesystem not clean [ 98.331701][ T5830] bcachefs (loop0): shutdown complete umount2("./21/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./21/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./21/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./21/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./21/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(4, 0x55557f2a9730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55557f2a9730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./21/file0") = 0 getdents64(3, 0x55557f2a16f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./21") = 0 mkdir("./22", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6082 attached [pid 6082] set_robust_list(0x55557f2a0660, 24) = 0 [pid 5830] <... clone resumed>, child_tidptr=0x55557f2a0650) = 6082 [pid 6082] chdir("./22") = 0 [pid 6082] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6082] setpgid(0, 0) = 0 [pid 6082] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6082] write(3, "1000", 4) = 4 [pid 6082] close(3) = 0 [pid 6082] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6082] write(1, "executing program\n", 18) = 18 [pid 6082] memfd_create("syzkaller", 0) = 3 [pid 6082] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f591e000000 [pid 6082] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6082] munmap(0x7f591e000000, 138412032) = 0 [pid 6082] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6082] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6082] close(3) = 0 [pid 6082] close(4) = 0 [pid 6082] mkdir("./file0", 0777) = 0 [ 99.633079][ T6082] loop0: detected capacity change from 0 to 32768 [ 99.721346][ T6082] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 99.744674][ T6082] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 99.752909][ T6082] bcachefs (loop0): Version upgrade required: [ 99.752909][ T6082] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 99.752909][ T6082] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 99.752909][ T6082] 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.825040][ T6082] bcachefs (loop0): dropping and reconstructing all alloc info [ 99.842210][ T6082] bcachefs (loop0): accounting_read... done [ 99.848365][ T6082] bcachefs (loop0): alloc_read... done [ 99.853918][ T6082] bcachefs (loop0): stripes_read... done [ 99.859727][ T6082] bcachefs (loop0): snapshots_read... done [pid 6082] mount("/dev/loop0", "./file0", "bcachefs", MS_NOEXEC|MS_POSIXACL|MS_RELATIME, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"...) = 0 [pid 6082] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6082] chdir("./file0") = 0 [pid 6082] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6082] ioctl(4, LOOP_CLR_FD) = 0 [pid 6082] close(4) = 0 [ 99.865674][ T6082] bcachefs (loop0): check_allocations... done [ 99.882421][ T6082] bcachefs (loop0): going read-write [ 99.890889][ T6082] bcachefs (loop0): done starting filesystem [pid 6082] truncate("./file1", 61440) = 0 [pid 6082] exit_group(0) = ? [pid 6082] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6082, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=26 /* 0.26 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./22", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./22", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x55557f2a16f0 /* 4 entries */, 32768) = 112 umount2("./22/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./22/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./22/binderfs") = 0 [ 100.055438][ T5830] bcachefs (loop0): shutting down [ 100.060512][ T5830] bcachefs (loop0): going read-only [ 100.066035][ T5830] bcachefs (loop0): finished waiting for writes to stop [ 100.073424][ T5830] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3340 [ 100.085430][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 100.098453][ T11] bcachefs (loop0): fatal error - emergency read only [ 100.106210][ T5830] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3340 [ 100.116301][ T5830] bcachefs (loop0): unshutdown complete, journal seq 3340 [ 100.124031][ T5830] bcachefs (loop0): done going read-only, filesystem not clean [ 100.140290][ T5830] bcachefs (loop0): shutdown complete umount2("./22/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./22/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./22/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./22/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./22/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(4, 0x55557f2a9730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55557f2a9730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./22/file0") = 0 getdents64(3, 0x55557f2a16f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./22") = 0 mkdir("./23", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6094 attached [pid 6094] set_robust_list(0x55557f2a0660, 24) = 0 [pid 5830] <... clone resumed>, child_tidptr=0x55557f2a0650) = 6094 [pid 6094] chdir("./23") = 0 [pid 6094] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6094] setpgid(0, 0) = 0 [pid 6094] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6094] write(3, "1000", 4) = 4 [pid 6094] close(3) = 0 [pid 6094] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6094] write(1, "executing program\n", 18) = 18 [pid 6094] memfd_create("syzkaller", 0) = 3 [pid 6094] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f591e000000 [pid 6094] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6094] munmap(0x7f591e000000, 138412032) = 0 [pid 6094] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6094] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6094] close(3) = 0 [pid 6094] close(4) = 0 [pid 6094] mkdir("./file0", 0777) = 0 [ 101.455584][ T6094] loop0: detected capacity change from 0 to 32768 [ 101.526276][ T6094] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 101.547825][ T6094] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 101.556227][ T6094] bcachefs (loop0): Version upgrade required: [ 101.556227][ T6094] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 101.556227][ T6094] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 101.556227][ T6094] 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.628362][ T6094] bcachefs (loop0): dropping and reconstructing all alloc info [ 101.643301][ T6094] bcachefs (loop0): accounting_read... done [ 101.649583][ T6094] bcachefs (loop0): alloc_read... done [ 101.655204][ T6094] bcachefs (loop0): stripes_read... done [ 101.660948][ T6094] bcachefs (loop0): snapshots_read... done [pid 6094] mount("/dev/loop0", "./file0", "bcachefs", MS_NOEXEC|MS_POSIXACL|MS_RELATIME, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"...) = 0 [pid 6094] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6094] chdir("./file0") = 0 [ 101.666990][ T6094] bcachefs (loop0): check_allocations... done [ 101.684089][ T6094] bcachefs (loop0): going read-write [ 101.692545][ T6094] bcachefs (loop0): done starting filesystem [pid 6094] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6094] ioctl(4, LOOP_CLR_FD) = 0 [pid 6094] close(4) = 0 [pid 6094] truncate("./file1", 61440) = 0 [pid 6094] exit_group(0) = ? [pid 6094] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6094, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=23 /* 0.23 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./23", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./23", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x55557f2a16f0 /* 4 entries */, 32768) = 112 umount2("./23/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./23/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./23/binderfs") = 0 [ 101.876246][ T5830] bcachefs (loop0): shutting down [ 101.881325][ T5830] bcachefs (loop0): going read-only [ 101.886891][ T5830] bcachefs (loop0): finished waiting for writes to stop [ 101.894389][ T5830] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3340 [ 101.906901][ T1143] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 101.920737][ T1143] bcachefs (loop0): fatal error - emergency read only [ 101.928826][ T5830] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3340 [ 101.938836][ T5830] bcachefs (loop0): unshutdown complete, journal seq 3340 [ 101.946679][ T5830] bcachefs (loop0): done going read-only, filesystem not clean [ 101.962297][ T5830] bcachefs (loop0): shutdown complete umount2("./23/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./23/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./23/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./23/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./23/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(4, 0x55557f2a9730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55557f2a9730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./23/file0") = 0 getdents64(3, 0x55557f2a16f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./23") = 0 mkdir("./24", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6105 attached [pid 6105] set_robust_list(0x55557f2a0660, 24 [pid 5830] <... clone resumed>, child_tidptr=0x55557f2a0650) = 6105 [pid 6105] <... set_robust_list resumed>) = 0 [pid 6105] chdir("./24") = 0 [pid 6105] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6105] setpgid(0, 0) = 0 [pid 6105] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6105] write(3, "1000", 4) = 4 [pid 6105] close(3) = 0 [pid 6105] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6105] write(1, "executing program\n", 18executing program ) = 18 [pid 6105] memfd_create("syzkaller", 0) = 3 [pid 6105] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f591e000000 [pid 6105] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6105] munmap(0x7f591e000000, 138412032) = 0 [pid 6105] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6105] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6105] close(3) = 0 [pid 6105] close(4) = 0 [pid 6105] mkdir("./file0", 0777) = 0 [ 103.326555][ T6105] loop0: detected capacity change from 0 to 32768 [ 103.392018][ T6105] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 103.413146][ T6105] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 103.421843][ T6105] bcachefs (loop0): Version upgrade required: [ 103.421843][ T6105] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 103.421843][ T6105] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 103.421843][ T6105] 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.494392][ T6105] bcachefs (loop0): dropping and reconstructing all alloc info [ 103.509266][ T6105] bcachefs (loop0): accounting_read... done [ 103.515429][ T6105] bcachefs (loop0): alloc_read... done [ 103.520958][ T6105] bcachefs (loop0): stripes_read... done [ 103.526736][ T6105] bcachefs (loop0): snapshots_read... done [pid 6105] mount("/dev/loop0", "./file0", "bcachefs", MS_NOEXEC|MS_POSIXACL|MS_RELATIME, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"...) = 0 [pid 6105] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6105] chdir("./file0") = 0 [pid 6105] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 103.532614][ T6105] bcachefs (loop0): check_allocations... done [ 103.549361][ T6105] bcachefs (loop0): going read-write [ 103.557883][ T6105] bcachefs (loop0): done starting filesystem [pid 6105] ioctl(4, LOOP_CLR_FD) = 0 [pid 6105] close(4) = 0 [pid 6105] truncate("./file1", 61440) = 0 [pid 6105] exit_group(0) = ? [pid 6105] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6105, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=20 /* 0.20 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./24", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./24", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x55557f2a16f0 /* 4 entries */, 32768) = 112 umount2("./24/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./24/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./24/binderfs") = 0 [ 103.734592][ T5830] bcachefs (loop0): shutting down [ 103.739784][ T5830] bcachefs (loop0): going read-only [ 103.745070][ T5830] bcachefs (loop0): finished waiting for writes to stop [ 103.752519][ T5830] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3340 [ 103.764629][ T1143] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 103.777773][ T1143] bcachefs (loop0): fatal error - emergency read only [ 103.785685][ T5830] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3340 [ 103.795865][ T5830] bcachefs (loop0): unshutdown complete, journal seq 3340 [ 103.803484][ T5830] bcachefs (loop0): done going read-only, filesystem not clean [ 103.820470][ T5830] bcachefs (loop0): shutdown complete umount2("./24/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./24/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./24/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./24/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./24/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(4, 0x55557f2a9730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55557f2a9730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./24/file0") = 0 getdents64(3, 0x55557f2a16f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./24") = 0 mkdir("./25", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6116 attached , child_tidptr=0x55557f2a0650) = 6116 [pid 6116] set_robust_list(0x55557f2a0660, 24) = 0 [pid 6116] chdir("./25") = 0 [pid 6116] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6116] setpgid(0, 0) = 0 [pid 6116] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6116] write(3, "1000", 4) = 4 [pid 6116] close(3) = 0 [pid 6116] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6116] write(1, "executing program\n", 18) = 18 [pid 6116] memfd_create("syzkaller", 0) = 3 [pid 6116] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f591e000000 [pid 6116] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6116] munmap(0x7f591e000000, 138412032) = 0 [pid 6116] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6116] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6116] close(3) = 0 [pid 6116] close(4) = 0 [pid 6116] mkdir("./file0", 0777) = 0 [ 105.192436][ T6116] loop0: detected capacity change from 0 to 32768 [ 105.259802][ T6116] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 105.281419][ T6116] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 105.290048][ T6116] bcachefs (loop0): Version upgrade required: [ 105.290048][ T6116] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 105.290048][ T6116] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 105.290048][ T6116] 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.362809][ T6116] bcachefs (loop0): dropping and reconstructing all alloc info [ 105.378590][ T6116] bcachefs (loop0): accounting_read... done [ 105.384759][ T6116] bcachefs (loop0): alloc_read... done [ 105.390278][ T6116] bcachefs (loop0): stripes_read... done [ 105.396110][ T6116] bcachefs (loop0): snapshots_read... done [pid 6116] mount("/dev/loop0", "./file0", "bcachefs", MS_NOEXEC|MS_POSIXACL|MS_RELATIME, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"...) = 0 [pid 6116] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6116] chdir("./file0") = 0 [ 105.402012][ T6116] bcachefs (loop0): check_allocations... done [ 105.419145][ T6116] bcachefs (loop0): going read-write [ 105.427634][ T6116] bcachefs (loop0): done starting filesystem [pid 6116] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6116] ioctl(4, LOOP_CLR_FD) = 0 [pid 6116] close(4) = 0 [pid 6116] truncate("./file1", 61440) = 0 [pid 6116] exit_group(0) = ? [pid 6116] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6116, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=24 /* 0.24 s */} --- umount2("./25", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./25", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x55557f2a16f0 /* 4 entries */, 32768) = 112 umount2("./25/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./25/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./25/binderfs") = 0 [ 105.644260][ T5830] bcachefs (loop0): shutting down [ 105.649567][ T5830] bcachefs (loop0): going read-only [ 105.654862][ T5830] bcachefs (loop0): finished waiting for writes to stop [ 105.662286][ T5830] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [ 105.675038][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 105.688229][ T11] bcachefs (loop0): fatal error - emergency read only [ 105.695928][ T5830] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3339 [ 105.705858][ T5830] bcachefs (loop0): unshutdown complete, journal seq 3339 [ 105.713569][ T5830] bcachefs (loop0): done going read-only, filesystem not clean [ 105.729582][ T5830] bcachefs (loop0): shutdown complete umount2("./25/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./25/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./25/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./25/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./25/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(4, 0x55557f2a9730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55557f2a9730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./25/file0") = 0 getdents64(3, 0x55557f2a16f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./25") = 0 mkdir("./26", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6127 attached , child_tidptr=0x55557f2a0650) = 6127 [pid 6127] set_robust_list(0x55557f2a0660, 24) = 0 [pid 6127] chdir("./26") = 0 [pid 6127] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6127] setpgid(0, 0) = 0 [pid 6127] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6127] write(3, "1000", 4) = 4 [pid 6127] close(3) = 0 [pid 6127] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6127] write(1, "executing program\n", 18executing program ) = 18 [pid 6127] memfd_create("syzkaller", 0) = 3 [pid 6127] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f591e000000 [pid 6127] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6127] munmap(0x7f591e000000, 138412032) = 0 [pid 6127] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6127] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6127] close(3) = 0 [pid 6127] close(4) = 0 [pid 6127] mkdir("./file0", 0777) = 0 [ 107.005327][ T6127] loop0: detected capacity change from 0 to 32768 [ 107.080427][ T6127] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 107.101886][ T6127] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 107.110421][ T6127] bcachefs (loop0): Version upgrade required: [ 107.110421][ T6127] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 107.110421][ T6127] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 107.110421][ T6127] 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.182467][ T6127] bcachefs (loop0): dropping and reconstructing all alloc info [ 107.197126][ T6127] bcachefs (loop0): accounting_read... done [ 107.203231][ T6127] bcachefs (loop0): alloc_read... done [ 107.209419][ T6127] bcachefs (loop0): stripes_read... done [ 107.215251][ T6127] bcachefs (loop0): snapshots_read... done [pid 6127] mount("/dev/loop0", "./file0", "bcachefs", MS_NOEXEC|MS_POSIXACL|MS_RELATIME, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"...) = 0 [pid 6127] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6127] chdir("./file0") = 0 [pid 6127] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6127] ioctl(4, LOOP_CLR_FD) = 0 [pid 6127] close(4) = 0 [pid 6127] truncate("./file1", 61440) = 0 [pid 6127] exit_group(0) = ? [pid 6127] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6127, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=21 /* 0.21 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 [ 107.221089][ T6127] bcachefs (loop0): check_allocations... done [ 107.237532][ T6127] bcachefs (loop0): going read-write [ 107.246033][ T6127] bcachefs (loop0): done starting filesystem umount2("./26", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./26", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x55557f2a16f0 /* 4 entries */, 32768) = 112 umount2("./26/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./26/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./26/binderfs") = 0 [ 107.393085][ T5830] bcachefs (loop0): shutting down [ 107.398297][ T5830] bcachefs (loop0): going read-only [ 107.403518][ T5830] bcachefs (loop0): finished waiting for writes to stop [ 107.412158][ T5830] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3340 [ 107.423395][ T1120] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 107.436634][ T1120] bcachefs (loop0): fatal error - emergency read only [ 107.443750][ T5830] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3340 [ 107.453888][ T5830] bcachefs (loop0): unshutdown complete, journal seq 3340 [ 107.461726][ T5830] bcachefs (loop0): done going read-only, filesystem not clean [ 107.476879][ T5830] bcachefs (loop0): shutdown complete umount2("./26/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./26/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./26/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./26/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./26/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(4, 0x55557f2a9730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55557f2a9730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./26/file0") = 0 getdents64(3, 0x55557f2a16f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./26") = 0 mkdir("./27", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6138 attached , child_tidptr=0x55557f2a0650) = 6138 [pid 6138] set_robust_list(0x55557f2a0660, 24) = 0 [pid 6138] chdir("./27") = 0 [pid 6138] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6138] setpgid(0, 0) = 0 [pid 6138] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6138] write(3, "1000", 4) = 4 [pid 6138] close(3) = 0 [pid 6138] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6138] write(1, "executing program\n", 18) = 18 [pid 6138] memfd_create("syzkaller", 0) = 3 [pid 6138] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f591e000000 [pid 6138] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6138] munmap(0x7f591e000000, 138412032) = 0 [pid 6138] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6138] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6138] close(3) = 0 [pid 6138] close(4) = 0 [pid 6138] mkdir("./file0", 0777) = 0 [ 108.857038][ T6138] loop0: detected capacity change from 0 to 32768 [ 108.898596][ T6138] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 108.919768][ T6138] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 108.928126][ T6138] bcachefs (loop0): Version upgrade required: [ 108.928126][ T6138] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 108.928126][ T6138] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 108.928126][ T6138] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 109.000180][ T6138] bcachefs (loop0): dropping and reconstructing all alloc info [ 109.014453][ T6138] bcachefs (loop0): accounting_read... done [ 109.020675][ T6138] bcachefs (loop0): alloc_read... done [ 109.026263][ T6138] bcachefs (loop0): stripes_read... done [ 109.032050][ T6138] bcachefs (loop0): snapshots_read... done [pid 6138] mount("/dev/loop0", "./file0", "bcachefs", MS_NOEXEC|MS_POSIXACL|MS_RELATIME, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"...) = 0 [pid 6138] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6138] chdir("./file0") = 0 [pid 6138] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6138] ioctl(4, LOOP_CLR_FD) = 0 [ 109.038197][ T6138] bcachefs (loop0): check_allocations... done [ 109.055219][ T6138] bcachefs (loop0): going read-write [ 109.063337][ T6138] bcachefs (loop0): done starting filesystem [pid 6138] close(4) = 0 [pid 6138] truncate("./file1", 61440) = 0 [pid 6138] exit_group(0) = ? [pid 6138] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6138, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=22 /* 0.22 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./27", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./27", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x55557f2a16f0 /* 4 entries */, 32768) = 112 umount2("./27/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./27/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./27/binderfs") = 0 [ 109.232493][ T5830] bcachefs (loop0): shutting down [ 109.237780][ T5830] bcachefs (loop0): going read-only [ 109.243017][ T5830] bcachefs (loop0): finished waiting for writes to stop [ 109.250781][ T5830] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3340 [ 109.262366][ T1120] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 109.275815][ T1120] bcachefs (loop0): fatal error - emergency read only [ 109.282900][ T5830] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3340 [ 109.292960][ T5830] bcachefs (loop0): unshutdown complete, journal seq 3340 [ 109.300793][ T5830] bcachefs (loop0): done going read-only, filesystem not clean [ 109.317010][ T5830] bcachefs (loop0): shutdown complete umount2("./27/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./27/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./27/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./27/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./27/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(4, 0x55557f2a9730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55557f2a9730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./27/file0") = 0 getdents64(3, 0x55557f2a16f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./27") = 0 mkdir("./28", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6149 attached [pid 6149] set_robust_list(0x55557f2a0660, 24) = 0 [pid 5830] <... clone resumed>, child_tidptr=0x55557f2a0650) = 6149 [pid 6149] chdir("./28") = 0 [pid 6149] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6149] setpgid(0, 0) = 0 [pid 6149] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6149] write(3, "1000", 4) = 4 [pid 6149] close(3) = 0 [pid 6149] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6149] write(1, "executing program\n", 18executing program ) = 18 [pid 6149] memfd_create("syzkaller", 0) = 3 [pid 6149] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f591e000000 [pid 6149] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6149] munmap(0x7f591e000000, 138412032) = 0 [pid 6149] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6149] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6149] close(3) = 0 [pid 6149] close(4) = 0 [pid 6149] mkdir("./file0", 0777) = 0 [ 110.600792][ T6149] loop0: detected capacity change from 0 to 32768 [ 110.676861][ T6149] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 110.698012][ T6149] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 110.706309][ T6149] bcachefs (loop0): Version upgrade required: [ 110.706309][ T6149] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 110.706309][ T6149] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 110.706309][ T6149] 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.778360][ T6149] bcachefs (loop0): dropping and reconstructing all alloc info [ 110.792996][ T6149] bcachefs (loop0): accounting_read... done [ 110.799243][ T6149] bcachefs (loop0): alloc_read... done [ 110.804812][ T6149] bcachefs (loop0): stripes_read... done [ 110.810510][ T6149] bcachefs (loop0): snapshots_read... done [pid 6149] mount("/dev/loop0", "./file0", "bcachefs", MS_NOEXEC|MS_POSIXACL|MS_RELATIME, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"...) = 0 [pid 6149] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6149] chdir("./file0") = 0 [pid 6149] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6149] ioctl(4, LOOP_CLR_FD) = 0 [pid 6149] close(4) = 0 [ 110.816460][ T6149] bcachefs (loop0): check_allocations... done [ 110.833290][ T6149] bcachefs (loop0): going read-write [ 110.841294][ T6149] bcachefs (loop0): done starting filesystem [pid 6149] truncate("./file1", 61440) = 0 [pid 6149] exit_group(0) = ? [pid 6149] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6149, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=25 /* 0.25 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./28", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./28", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x55557f2a16f0 /* 4 entries */, 32768) = 112 umount2("./28/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./28/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./28/binderfs") = 0 [ 111.009730][ T5830] bcachefs (loop0): shutting down [ 111.014963][ T5830] bcachefs (loop0): going read-only [ 111.020236][ T5830] bcachefs (loop0): finished waiting for writes to stop [ 111.027800][ T5830] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [ 111.040085][ T1143] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 111.053203][ T1143] bcachefs (loop0): fatal error - emergency read only [ 111.060479][ T5830] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3339 [ 111.070535][ T5830] bcachefs (loop0): unshutdown complete, journal seq 3339 [ 111.078380][ T5830] bcachefs (loop0): done going read-only, filesystem not clean [ 111.093847][ T5830] bcachefs (loop0): shutdown complete umount2("./28/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./28/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./28/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./28/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./28/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(4, 0x55557f2a9730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55557f2a9730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./28/file0") = 0 getdents64(3, 0x55557f2a16f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./28") = 0 mkdir("./29", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6160 attached , child_tidptr=0x55557f2a0650) = 6160 [pid 6160] set_robust_list(0x55557f2a0660, 24) = 0 [pid 6160] chdir("./29") = 0 [pid 6160] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6160] setpgid(0, 0) = 0 [pid 6160] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6160] write(3, "1000", 4) = 4 [pid 6160] close(3) = 0 [pid 6160] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6160] write(1, "executing program\n", 18executing program ) = 18 [pid 6160] memfd_create("syzkaller", 0) = 3 [pid 6160] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f591e000000 [pid 6160] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6160] munmap(0x7f591e000000, 138412032) = 0 [pid 6160] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6160] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6160] close(3) = 0 [pid 6160] close(4) = 0 [pid 6160] mkdir("./file0", 0777) = 0 [ 112.485309][ T6160] loop0: detected capacity change from 0 to 32768 [ 112.552011][ T6160] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 112.573422][ T6160] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 112.581768][ T6160] bcachefs (loop0): Version upgrade required: [ 112.581768][ T6160] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 112.581768][ T6160] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 112.581768][ T6160] 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.654593][ T6160] bcachefs (loop0): dropping and reconstructing all alloc info [ 112.669153][ T6160] bcachefs (loop0): accounting_read... done [ 112.675575][ T6160] bcachefs (loop0): alloc_read... done [ 112.681236][ T6160] bcachefs (loop0): stripes_read... done [ 112.686937][ T6160] bcachefs (loop0): snapshots_read... done [pid 6160] mount("/dev/loop0", "./file0", "bcachefs", MS_NOEXEC|MS_POSIXACL|MS_RELATIME, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"...) = 0 [pid 6160] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6160] chdir("./file0") = 0 [pid 6160] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6160] ioctl(4, LOOP_CLR_FD) = 0 [pid 6160] close(4) = 0 [pid 6160] truncate("./file1", 61440) = 0 [pid 6160] exit_group(0) = ? [pid 6160] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6160, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=23 /* 0.23 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 [ 112.692824][ T6160] bcachefs (loop0): check_allocations... done [ 112.709032][ T6160] bcachefs (loop0): going read-write [ 112.717224][ T6160] bcachefs (loop0): done starting filesystem umount2("./29", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./29", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x55557f2a16f0 /* 4 entries */, 32768) = 112 umount2("./29/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./29/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./29/binderfs") = 0 [ 112.865116][ T5830] bcachefs (loop0): shutting down [ 112.870181][ T5830] bcachefs (loop0): going read-only [ 112.876112][ T5830] bcachefs (loop0): finished waiting for writes to stop [ 112.883549][ T5830] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3340 [ 112.894964][ T796] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 112.908099][ T796] bcachefs (loop0): fatal error - emergency read only [ 112.915475][ T5830] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3340 [ 112.925375][ T5830] bcachefs (loop0): unshutdown complete, journal seq 3340 [ 112.933004][ T5830] bcachefs (loop0): done going read-only, filesystem not clean [ 112.948562][ T5830] bcachefs (loop0): shutdown complete umount2("./29/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./29/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./29/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./29/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./29/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(4, 0x55557f2a9730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55557f2a9730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./29/file0") = 0 getdents64(3, 0x55557f2a16f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./29") = 0 mkdir("./30", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6171 attached , child_tidptr=0x55557f2a0650) = 6171 [pid 6171] set_robust_list(0x55557f2a0660, 24) = 0 [pid 6171] chdir("./30") = 0 [pid 6171] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6171] setpgid(0, 0) = 0 [pid 6171] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6171] write(3, "1000", 4) = 4 [pid 6171] close(3) = 0 [pid 6171] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6171] write(1, "executing program\n", 18) = 18 [pid 6171] memfd_create("syzkaller", 0) = 3 [pid 6171] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f591e000000 [pid 6171] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6171] munmap(0x7f591e000000, 138412032) = 0 [pid 6171] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6171] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6171] close(3) = 0 [pid 6171] close(4) = 0 [pid 6171] mkdir("./file0", 0777) = 0 [ 114.375232][ T6171] loop0: detected capacity change from 0 to 32768 [ 114.455395][ T6171] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 114.476885][ T6171] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 114.485160][ T6171] bcachefs (loop0): Version upgrade required: [ 114.485160][ T6171] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 114.485160][ T6171] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 114.485160][ T6171] 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.557834][ T6171] bcachefs (loop0): dropping and reconstructing all alloc info [ 114.572210][ T6171] bcachefs (loop0): accounting_read... done [ 114.578400][ T6171] bcachefs (loop0): alloc_read... done [ 114.583925][ T6171] bcachefs (loop0): stripes_read... done [ 114.589646][ T6171] bcachefs (loop0): snapshots_read... done [pid 6171] mount("/dev/loop0", "./file0", "bcachefs", MS_NOEXEC|MS_POSIXACL|MS_RELATIME, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"...) = 0 [pid 6171] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6171] chdir("./file0") = 0 [pid 6171] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6171] ioctl(4, LOOP_CLR_FD) = 0 [pid 6171] close(4) = 0 [pid 6171] truncate("./file1", 61440) = 0 [pid 6171] exit_group(0) = ? [pid 6171] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6171, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=21 /* 0.21 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 [ 114.595661][ T6171] bcachefs (loop0): check_allocations... done [ 114.612625][ T6171] bcachefs (loop0): going read-write [ 114.620956][ T6171] bcachefs (loop0): done starting filesystem umount2("./30", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./30", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x55557f2a16f0 /* 4 entries */, 32768) = 112 umount2("./30/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./30/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./30/binderfs") = 0 [ 114.783638][ T5830] bcachefs (loop0): shutting down [ 114.789032][ T5830] bcachefs (loop0): going read-only [ 114.794269][ T5830] bcachefs (loop0): finished waiting for writes to stop [ 114.802503][ T5830] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3340 [ 114.814691][ T1120] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 114.827686][ T1120] bcachefs (loop0): fatal error - emergency read only [ 114.836649][ T5830] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3340 [ 114.846582][ T5830] bcachefs (loop0): unshutdown complete, journal seq 3340 [ 114.854202][ T5830] bcachefs (loop0): done going read-only, filesystem not clean [ 114.870198][ T5830] bcachefs (loop0): shutdown complete umount2("./30/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./30/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./30/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./30/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./30/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(4, 0x55557f2a9730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55557f2a9730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./30/file0") = 0 getdents64(3, 0x55557f2a16f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./30") = 0 mkdir("./31", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6182 attached [pid 6182] set_robust_list(0x55557f2a0660, 24) = 0 [pid 6182] chdir("./31" [pid 5830] <... clone resumed>, child_tidptr=0x55557f2a0650) = 6182 [pid 6182] <... chdir resumed>) = 0 [pid 6182] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6182] setpgid(0, 0) = 0 [pid 6182] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6182] write(3, "1000", 4) = 4 [pid 6182] close(3) = 0 [pid 6182] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6182] write(1, "executing program\n", 18) = 18 [pid 6182] memfd_create("syzkaller", 0) = 3 [pid 6182] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f591e000000 [pid 6182] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6182] munmap(0x7f591e000000, 138412032) = 0 [pid 6182] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6182] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6182] close(3) = 0 [pid 6182] close(4) = 0 [pid 6182] mkdir("./file0", 0777) = 0 [ 116.138836][ T6182] loop0: detected capacity change from 0 to 32768 [ 116.201723][ T6182] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 116.223650][ T6182] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 116.231976][ T6182] bcachefs (loop0): Version upgrade required: [ 116.231976][ T6182] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 116.231976][ T6182] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 116.231976][ T6182] 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.304253][ T6182] bcachefs (loop0): dropping and reconstructing all alloc info [ 116.319289][ T6182] bcachefs (loop0): accounting_read... done [ 116.325560][ T6182] bcachefs (loop0): alloc_read... done [ 116.331097][ T6182] bcachefs (loop0): stripes_read... done [ 116.336954][ T6182] bcachefs (loop0): snapshots_read... done [pid 6182] mount("/dev/loop0", "./file0", "bcachefs", MS_NOEXEC|MS_POSIXACL|MS_RELATIME, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"...) = 0 [pid 6182] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6182] chdir("./file0") = 0 [pid 6182] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6182] ioctl(4, LOOP_CLR_FD) = 0 [pid 6182] close(4) = 0 [pid 6182] truncate("./file1", 61440) = 0 [pid 6182] exit_group(0) = ? [pid 6182] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6182, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=20 /* 0.20 s */} --- [ 116.342838][ T6182] bcachefs (loop0): check_allocations... done [ 116.359252][ T6182] bcachefs (loop0): going read-write [ 116.367516][ T6182] bcachefs (loop0): done starting filesystem restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./31", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./31", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x55557f2a16f0 /* 4 entries */, 32768) = 112 umount2("./31/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./31/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./31/binderfs") = 0 [ 116.525535][ T5830] bcachefs (loop0): shutting down [ 116.530626][ T5830] bcachefs (loop0): going read-only [ 116.536005][ T5830] bcachefs (loop0): finished waiting for writes to stop [ 116.543558][ T5830] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3340 [ 116.555004][ T796] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 116.568332][ T796] bcachefs (loop0): fatal error - emergency read only [ 116.576339][ T5830] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3340 [ 116.586257][ T5830] bcachefs (loop0): unshutdown complete, journal seq 3340 [ 116.593876][ T5830] bcachefs (loop0): done going read-only, filesystem not clean [ 116.609599][ T5830] bcachefs (loop0): shutdown complete umount2("./31/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./31/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./31/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./31/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./31/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(4, 0x55557f2a9730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55557f2a9730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./31/file0") = 0 getdents64(3, 0x55557f2a16f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./31") = 0 mkdir("./32", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6193 attached , child_tidptr=0x55557f2a0650) = 6193 [pid 6193] set_robust_list(0x55557f2a0660, 24) = 0 [pid 6193] chdir("./32") = 0 [pid 6193] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6193] setpgid(0, 0) = 0 [pid 6193] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6193] write(3, "1000", 4) = 4 [pid 6193] close(3) = 0 [pid 6193] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6193] write(1, "executing program\n", 18executing program ) = 18 [pid 6193] memfd_create("syzkaller", 0) = 3 [pid 6193] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f591e000000 [pid 6193] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6193] munmap(0x7f591e000000, 138412032) = 0 [pid 6193] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6193] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6193] close(3) = 0 [pid 6193] close(4) = 0 [pid 6193] mkdir("./file0", 0777) = 0 [ 117.917012][ T6193] loop0: detected capacity change from 0 to 32768 [ 117.982260][ T6193] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 118.003404][ T6193] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 118.012125][ T6193] bcachefs (loop0): Version upgrade required: [ 118.012125][ T6193] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 118.012125][ T6193] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 118.012125][ T6193] 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.084223][ T6193] bcachefs (loop0): dropping and reconstructing all alloc info [ 118.098993][ T6193] bcachefs (loop0): accounting_read... done [ 118.105154][ T6193] bcachefs (loop0): alloc_read... done [ 118.110802][ T6193] bcachefs (loop0): stripes_read... done [ 118.116560][ T6193] bcachefs (loop0): snapshots_read... done [pid 6193] mount("/dev/loop0", "./file0", "bcachefs", MS_NOEXEC|MS_POSIXACL|MS_RELATIME, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"...) = 0 [pid 6193] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6193] chdir("./file0") = 0 [ 118.122438][ T6193] bcachefs (loop0): check_allocations... done [ 118.138872][ T6193] bcachefs (loop0): going read-write [ 118.147638][ T6193] bcachefs (loop0): done starting filesystem [pid 6193] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6193] ioctl(4, LOOP_CLR_FD) = 0 [pid 6193] close(4) = 0 [pid 6193] truncate("./file1", 61440) = 0 [pid 6193] exit_group(0) = ? [pid 6193] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6193, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=22 /* 0.22 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./32", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./32", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x55557f2a16f0 /* 4 entries */, 32768) = 112 umount2("./32/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./32/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./32/binderfs") = 0 [ 118.354668][ T5830] bcachefs (loop0): shutting down [ 118.359740][ T5830] bcachefs (loop0): going read-only [ 118.365202][ T5830] bcachefs (loop0): finished waiting for writes to stop [ 118.372992][ T5830] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [ 118.385319][ T1120] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 118.398324][ T1120] bcachefs (loop0): fatal error - emergency read only [ 118.406202][ T5830] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3339 [ 118.416173][ T5830] bcachefs (loop0): unshutdown complete, journal seq 3339 [ 118.423800][ T5830] bcachefs (loop0): done going read-only, filesystem not clean [ 118.439814][ T5830] bcachefs (loop0): shutdown complete umount2("./32/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./32/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./32/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./32/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./32/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(4, 0x55557f2a9730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55557f2a9730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./32/file0") = 0 getdents64(3, 0x55557f2a16f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./32") = 0 mkdir("./33", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6204 attached [pid 6204] set_robust_list(0x55557f2a0660, 24 [pid 5830] <... clone resumed>, child_tidptr=0x55557f2a0650) = 6204 [pid 6204] <... set_robust_list resumed>) = 0 [pid 6204] chdir("./33") = 0 [pid 6204] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6204] setpgid(0, 0) = 0 [pid 6204] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6204] write(3, "1000", 4) = 4 [pid 6204] close(3) = 0 [pid 6204] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6204] write(1, "executing program\n", 18executing program ) = 18 [pid 6204] memfd_create("syzkaller", 0) = 3 [pid 6204] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f591e000000 [pid 6204] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6204] munmap(0x7f591e000000, 138412032) = 0 [pid 6204] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6204] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6204] close(3) = 0 [pid 6204] close(4) = 0 [pid 6204] mkdir("./file0", 0777) = 0 [ 119.807732][ T6204] loop0: detected capacity change from 0 to 32768 [ 119.872183][ T6204] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 119.893317][ T6204] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 119.902327][ T6204] bcachefs (loop0): Version upgrade required: [ 119.902327][ T6204] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 119.902327][ T6204] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 119.902327][ T6204] 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 [ 119.974638][ T6204] bcachefs (loop0): dropping and reconstructing all alloc info [ 119.989211][ T6204] bcachefs (loop0): accounting_read... done [ 119.995623][ T6204] bcachefs (loop0): alloc_read... done [ 120.001185][ T6204] bcachefs (loop0): stripes_read... done [ 120.007121][ T6204] bcachefs (loop0): snapshots_read... done [pid 6204] mount("/dev/loop0", "./file0", "bcachefs", MS_NOEXEC|MS_POSIXACL|MS_RELATIME, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"...) = 0 [pid 6204] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6204] chdir("./file0") = 0 [pid 6204] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6204] ioctl(4, LOOP_CLR_FD) = 0 [ 120.013029][ T6204] bcachefs (loop0): check_allocations... done [ 120.029464][ T6204] bcachefs (loop0): going read-write [ 120.037598][ T6204] bcachefs (loop0): done starting filesystem [pid 6204] close(4) = 0 [pid 6204] truncate("./file1", 61440) = 0 [pid 6204] exit_group(0) = ? [pid 6204] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6204, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=21 /* 0.21 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./33", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./33", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x55557f2a16f0 /* 4 entries */, 32768) = 112 umount2("./33/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./33/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./33/binderfs") = 0 [ 120.115010][ T5830] bcachefs (loop0): shutting down [ 120.120059][ T5830] bcachefs (loop0): going read-only [ 120.125700][ T5830] bcachefs (loop0): finished waiting for writes to stop [ 120.133450][ T5830] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [ 120.150765][ T5830] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3340 [ 120.161675][ T5830] bcachefs (loop0): unshutdown complete, journal seq 3341 [ 120.170279][ T5830] bcachefs (loop0): done going read-only, filesystem not clean [ 120.186354][ T5830] bcachefs (loop0): shutdown complete [ 120.817953][ T5830] ------------[ cut here ]------------ [ 120.825368][ T5830] kernel BUG at fs/bcachefs/btree_cache.c:614! [ 120.831729][ T5830] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI [ 120.838696][ T5830] CPU: 0 UID: 0 PID: 5830 Comm: syz-executor258 Not tainted 6.12.0-rc6-syzkaller-00192-gf1dce1f09380 #0 [ 120.849817][ T5830] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 [ 120.860473][ T5830] RIP: 0010:bch2_fs_btree_cache_exit+0x1521/0x1530 [ 120.866978][ T5830] Code: fd 90 0f 0b e8 70 18 84 fd 90 0f 0b e8 68 18 84 fd 90 0f 0b e8 60 18 84 fd 90 0f 0b e8 58 18 84 fd 90 0f 0b e8 50 18 84 fd 90 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 90 90 90 90 90 90 90 [ 120.886585][ T5830] RSP: 0018:ffffc90003ae7b18 EFLAGS: 00010293 [ 120.892657][ T5830] RAX: ffffffff8410c1b0 RBX: 0000000000000002 RCX: ffff88807b8e0000 [ 120.900616][ T5830] RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000 [ 120.908575][ T5830] RBP: ffff88814dc48000 R08: ffffffff8410b85c R09: 1ffff1100e5503b6 [ 120.916538][ T5830] R10: dffffc0000000000 R11: ffffed100e5503b7 R12: ffff88814dc48228 [ 120.924497][ T5830] R13: dffffc0000000000 R14: ffff888072a81c78 R15: ffff888072a80000 [ 120.932455][ T5830] FS: 000055557f2a0380(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 [ 120.941459][ T5830] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 120.948032][ T5830] CR2: 00007ffc05a99ff8 CR3: 0000000011928000 CR4: 00000000003526f0 [ 120.955997][ T5830] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 120.963968][ T5830] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 120.971927][ T5830] Call Trace: [ 120.975195][ T5830] [ 120.978125][ T5830] ? __die_body+0x5f/0xb0 [ 120.982489][ T5830] ? die+0x9e/0xc0 [ 120.986200][ T5830] ? do_trap+0x15a/0x3a0 [ 120.990436][ T5830] ? bch2_fs_btree_cache_exit+0x1521/0x1530 [ 120.996753][ T5830] ? do_error_trap+0x1dc/0x2c0 [ 121.001508][ T5830] ? bch2_fs_btree_cache_exit+0x1521/0x1530 [ 121.007394][ T5830] ? __pfx_do_error_trap+0x10/0x10 [ 121.012500][ T5830] ? handle_invalid_op+0x34/0x40 [ 121.017427][ T5830] ? bch2_fs_btree_cache_exit+0x1521/0x1530 [ 121.023311][ T5830] ? exc_invalid_op+0x38/0x50 [ 121.027990][ T5830] ? asm_exc_invalid_op+0x1a/0x20 [ 121.033014][ T5830] ? bch2_fs_btree_cache_exit+0xbcc/0x1530 [ 121.038811][ T5830] ? bch2_fs_btree_cache_exit+0x1520/0x1530 [ 121.044697][ T5830] ? bch2_fs_btree_cache_exit+0x1521/0x1530 [ 121.050578][ T5830] ? bch2_fs_btree_cache_exit+0x1520/0x1530 [ 121.056471][ T5830] bch2_fs_release+0x20e/0x7d0 [ 121.061226][ T5830] ? kobject_put+0x44d/0x480 [ 121.065809][ T5830] kobject_put+0x22f/0x480 [ 121.070221][ T5830] deactivate_locked_super+0xc4/0x130 [ 121.075586][ T5830] cleanup_mnt+0x41f/0x4b0 [ 121.079993][ T5830] ? lockdep_hardirqs_on+0x99/0x150 [ 121.085181][ T5830] task_work_run+0x24f/0x310 [ 121.089761][ T5830] ? __pfx_task_work_run+0x10/0x10 [ 121.094873][ T5830] ? path_umount+0x284/0xf70 [ 121.099472][ T5830] ptrace_notify+0x2d2/0x380 [ 121.104059][ T5830] ? __pfx_path_umount+0x10/0x10 [ 121.108996][ T5830] ? __pfx_ptrace_notify+0x10/0x10 [ 121.114115][ T5830] ? __x64_sys_umount+0x123/0x170 [ 121.119144][ T5830] ? __pfx___x64_sys_umount+0x10/0x10 [ 121.124511][ T5830] syscall_exit_work+0xc6/0x190 [ 121.129358][ T5830] syscall_exit_to_user_mode+0x279/0x370 [ 121.134992][ T5830] do_syscall_64+0x100/0x230 [ 121.139572][ T5830] ? clear_bhb_loop+0x35/0x90 [ 121.144245][ T5830] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 121.150129][ T5830] RIP: 0033:0x7f59265a6347 [ 121.154548][ T5830] Code: 07 00 48 83 c4 08 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 [ 121.174159][ T5830] RSP: 002b:00007ffc05a9a2b8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a6 [ 121.182664][ T5830] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f59265a6347 [ 121.190632][ T5830] RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffc05a9a370 [ 121.198595][ T5830] RBP: 00007ffc05a9a370 R08: 0000000000000000 R09: 0000000000000000 [ 121.206553][ T5830] R10: 00000000ffffffff R11: 0000000000000206 R12: 00007ffc05a9b3d0 [ 121.214514][ T5830] R13: 000055557f2a16c0 R14: 0000000000000022 R15: 431bde82d7b634db [ 121.222483][ T5830] [ 121.225491][ T5830] Modules linked in: [ 121.229752][ T5830] ---[ end trace 0000000000000000 ]--- [ 121.235288][ T5830] RIP: 0010:bch2_fs_btree_cache_exit+0x1521/0x1530 [ 121.241811][ T5830] Code: fd 90 0f 0b e8 70 18 84 fd 90 0f 0b e8 68 18 84 fd 90 0f 0b e8 60 18 84 fd 90 0f 0b e8 58 18 84 fd 90 0f 0b e8 50 18 84 fd 90 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 90 90 90 90 90 90 90 [ 121.261625][ T5830] RSP: 0018:ffffc90003ae7b18 EFLAGS: 00010293 [ 121.267814][ T5830] RAX: ffffffff8410c1b0 RBX: 0000000000000002 RCX: ffff88807b8e0000 [ 121.275848][ T5830] RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000 [ 121.283806][ T5830] RBP: ffff88814dc48000 R08: ffffffff8410b85c R09: 1ffff1100e5503b6 [ 121.291815][ T5830] R10: dffffc0000000000 R11: ffffed100e5503b7 R12: ffff88814dc48228 [ 121.299866][ T5830] R13: dffffc0000000000 R14: ffff888072a81c78 R15: ffff888072a80000 [ 121.307884][ T5830] FS: 000055557f2a0380(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 [ 121.316862][ T5830] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 121.323434][ T5830] CR2: 00007ffc05a99ff8 CR3: 0000000011928000 CR4: 00000000003526f0 [ 121.331435][ T5830] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 121.339446][ T5830] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 121.347498][ T5830] Kernel panic - not syncing: Fatal exception [ 121.353816][ T5830] Kernel Offset: disabled [ 121.358146][ T5830] Rebooting in 86400 seconds..