./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2034248282 <...> Warning: Permanently added '10.128.0.172' (ED25519) to the list of known hosts. execve("./syz-executor2034248282", ["./syz-executor2034248282"], 0x7ffddde555d0 /* 10 vars */) = 0 brk(NULL) = 0x55556b4f4000 brk(0x55556b4f4d00) = 0x55556b4f4d00 arch_prctl(ARCH_SET_FS, 0x55556b4f4380) = 0 set_tid_address(0x55556b4f4650) = 5827 set_robust_list(0x55556b4f4660, 24) = 0 rseq(0x55556b4f4ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor2034248282", 4096) = 28 getrandom("\x5f\xec\x54\xe5\xa7\xfa\x9a\xed", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55556b4f4d00 brk(0x55556b515d00) = 0x55556b515d00 brk(0x55556b516000) = 0x55556b516000 mprotect(0x7fe5e0b05000, 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 getrandom("\x00\x5f\x71\x45\xb3\x55\x85\x5e", 8, GRND_NONBLOCK) = 8 mkdir("./syzkaller.uetHDX", 0700) = 0 chmod("./syzkaller.uetHDX", 0777) = 0 chdir("./syzkaller.uetHDX") = 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 5828 attached , child_tidptr=0x55556b4f4650) = 5828 [pid 5828] set_robust_list(0x55556b4f4660, 24) = 0 [pid 5828] chdir("./0") = 0 [pid 5828] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5828] setpgid(0, 0) = 0 [pid 5828] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5828] write(3, "1000", 4) = 4 [pid 5828] close(3) = 0 [pid 5828] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5828] write(1, "executing program\n", 18) = 18 [pid 5828] memfd_create("syzkaller", 0) = 3 [pid 5828] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe5d8600000 [pid 5828] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5828] munmap(0x7fe5d8600000, 138412032) = 0 [pid 5828] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5828] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5828] close(3) = 0 [pid 5828] close(4) = 0 [pid 5828] mkdir("./file0", 0777) = 0 [ 69.763972][ T5828] loop0: detected capacity change from 0 to 32768 [ 69.848066][ T5828] 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 [ 69.869735][ T5828] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 69.878867][ T5828] bcachefs (loop0): Version upgrade required: [ 69.878867][ T5828] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 69.878867][ T5828] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 69.878867][ T5828] 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.952314][ T5828] bcachefs (loop0): dropping and reconstructing all alloc info [ 69.969020][ T5828] bcachefs (loop0): accounting_read... done [ 69.976258][ T5828] bcachefs (loop0): alloc_read... done [ 69.981910][ T5828] bcachefs (loop0): stripes_read... done [ 69.987616][ T5828] bcachefs (loop0): snapshots_read... done [pid 5828] 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 5828] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5828] chdir("./file0") = 0 [pid 5828] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5828] ioctl(4, LOOP_CLR_FD) = 0 [pid 5828] close(4) = 0 [ 69.993561][ T5828] bcachefs (loop0): check_allocations... done [ 70.013898][ T5828] bcachefs (loop0): going read-write [ 70.023666][ T5828] bcachefs (loop0): done starting filesystem [pid 5828] truncate("./file1", 61440) = 0 [pid 5828] exit_group(0) = ? [pid 5828] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5828, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=27 /* 0.27 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 [ 70.086283][ T5828] syz-executor203 (5828) used greatest stack depth: 16368 bytes left getdents64(3, 0x55556b4f56f0 /* 4 entries */, 32768) = 112 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 [ 70.207926][ T5827] bcachefs (loop0): shutting down [ 70.213581][ T5827] bcachefs (loop0): going read-only [ 70.218945][ T5827] bcachefs (loop0): finished waiting for writes to stop [ 70.228668][ T5827] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [ 70.241501][ T3522] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 70.254917][ T3522] bcachefs (loop0): fatal error - emergency read only [ 70.262199][ T5827] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3339 [ 70.272563][ T5827] bcachefs (loop0): unshutdown complete, journal seq 3339 [ 70.280353][ T5827] bcachefs (loop0): done going read-only, filesystem not clean [ 70.299042][ T5827] 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, 0x55556b4fd730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55556b4fd730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./0/file0") = 0 getdents64(3, 0x55556b4f56f0 /* 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 5840 attached [pid 5840] set_robust_list(0x55556b4f4660, 24) = 0 [pid 5827] <... clone resumed>, child_tidptr=0x55556b4f4650) = 5840 [pid 5840] chdir("./1") = 0 [pid 5840] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5840] setpgid(0, 0) = 0 [pid 5840] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5840] write(3, "1000", 4) = 4 [pid 5840] close(3) = 0 [pid 5840] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5840] write(1, "executing program\n", 18executing program ) = 18 [pid 5840] memfd_create("syzkaller", 0) = 3 [pid 5840] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe5d8600000 [pid 5840] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 5840] munmap(0x7fe5d8600000, 138412032) = 0 [pid 5840] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5840] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5840] close(3) = 0 [pid 5840] close(4) = 0 [pid 5840] mkdir("./file0", 0777) = 0 [ 71.697356][ T5840] loop0: detected capacity change from 0 to 32768 [ 71.775935][ T5840] 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 [ 71.797210][ T5840] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 71.805490][ T5840] bcachefs (loop0): Version upgrade required: [ 71.805490][ T5840] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 71.805490][ T5840] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 71.805490][ T5840] 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 [ 71.878072][ T5840] bcachefs (loop0): dropping and reconstructing all alloc info [ 71.893770][ T5840] bcachefs (loop0): accounting_read... done [ 71.899896][ T5840] bcachefs (loop0): alloc_read... done [ 71.905769][ T5840] bcachefs (loop0): stripes_read... done [ 71.911603][ T5840] bcachefs (loop0): snapshots_read... done [pid 5840] 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 5840] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5840] chdir("./file0") = 0 [ 71.917513][ T5840] bcachefs (loop0): check_allocations... done [ 71.934782][ T5840] bcachefs (loop0): going read-write [ 71.943326][ T5840] bcachefs (loop0): done starting filesystem [pid 5840] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5840] ioctl(4, LOOP_CLR_FD) = 0 [pid 5840] close(4) = 0 [pid 5840] truncate("./file1", 61440) = 0 [pid 5840] exit_group(0) = ? [pid 5840] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5840, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=25 /* 0.25 s */} --- 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, 0x55556b4f56f0 /* 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 [ 72.041878][ T5827] bcachefs (loop0): shutting down [ 72.046932][ T5827] bcachefs (loop0): going read-only [ 72.052999][ T5827] bcachefs (loop0): finished waiting for writes to stop [ 72.061751][ T5827] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [ 72.082210][ T5827] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3344 [ 72.094037][ T5827] bcachefs (loop0): unshutdown complete, journal seq 3345 [ 72.101987][ T5827] bcachefs (loop0): done going read-only, filesystem not clean [ 72.118485][ T5827] 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, 0x55556b4fd730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55556b4fd730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./1/file0") = 0 getdents64(3, 0x55556b4f56f0 /* 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 5853 attached , child_tidptr=0x55556b4f4650) = 5853 [pid 5853] set_robust_list(0x55556b4f4660, 24) = 0 [pid 5853] chdir("./2") = 0 [pid 5853] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5853] setpgid(0, 0) = 0 [pid 5853] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5853] write(3, "1000", 4) = 4 [pid 5853] close(3) = 0 [pid 5853] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5853] write(1, "executing program\n", 18executing program ) = 18 [pid 5853] memfd_create("syzkaller", 0) = 3 [pid 5853] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe5d8600000 [pid 5853] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5853] munmap(0x7fe5d8600000, 138412032) = 0 [pid 5853] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5853] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5853] close(3) = 0 [pid 5853] close(4) = 0 [pid 5853] mkdir("./file0", 0777) = 0 [ 73.524856][ T5853] loop0: detected capacity change from 0 to 32768 [ 73.592698][ T5853] 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 [ 73.613943][ T5853] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 73.622219][ T5853] bcachefs (loop0): Version upgrade required: [ 73.622219][ T5853] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 73.622219][ T5853] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 73.622219][ T5853] 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 [ 73.694442][ T5853] bcachefs (loop0): dropping and reconstructing all alloc info [ 73.709729][ T5853] bcachefs (loop0): accounting_read... done [ 73.716206][ T5853] bcachefs (loop0): alloc_read... done [ 73.721825][ T5853] bcachefs (loop0): stripes_read... done [ 73.727549][ T5853] bcachefs (loop0): snapshots_read... done [pid 5853] 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 5853] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5853] chdir("./file0") = 0 [pid 5853] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 73.733994][ T5853] bcachefs (loop0): check_allocations... done [ 73.752377][ T5853] bcachefs (loop0): going read-write [ 73.760414][ T5853] bcachefs (loop0): done starting filesystem [pid 5853] ioctl(4, LOOP_CLR_FD) = 0 [pid 5853] close(4) = 0 [pid 5853] truncate("./file1", 61440) = 0 [pid 5853] exit_group(0) = ? [pid 5853] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5853, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=23 /* 0.23 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 [ 73.838044][ T5853] syz-executor203 (5853) used greatest stack depth: 15104 bytes left getdents64(3, 0x55556b4f56f0 /* 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 unlink("./2/binderfs") = 0 [ 73.947339][ T5827] bcachefs (loop0): shutting down [ 73.952587][ T5827] bcachefs (loop0): going read-only [ 73.957805][ T5827] bcachefs (loop0): finished waiting for writes to stop [ 73.966231][ T5827] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [ 73.977948][ T3522] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 73.991305][ T3522] bcachefs (loop0): fatal error - emergency read only [ 73.998431][ T5827] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3339 [ 74.008566][ T5827] bcachefs (loop0): unshutdown complete, journal seq 3339 [ 74.016473][ T5827] bcachefs (loop0): done going read-only, filesystem not clean [ 74.032501][ T5827] 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, 0x55556b4fd730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55556b4fd730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./2/file0") = 0 getdents64(3, 0x55556b4f56f0 /* 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 5864 attached [pid 5864] set_robust_list(0x55556b4f4660, 24) = 0 [pid 5827] <... clone resumed>, child_tidptr=0x55556b4f4650) = 5864 [pid 5864] chdir("./3") = 0 [pid 5864] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5864] setpgid(0, 0) = 0 [pid 5864] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5864] write(3, "1000", 4) = 4 [pid 5864] close(3) = 0 [pid 5864] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5864] write(1, "executing program\n", 18executing program ) = 18 [pid 5864] memfd_create("syzkaller", 0) = 3 [pid 5864] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe5d8600000 [pid 5864] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5864] munmap(0x7fe5d8600000, 138412032) = 0 [pid 5864] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5864] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5864] close(3) = 0 [pid 5864] close(4) = 0 [pid 5864] mkdir("./file0", 0777) = 0 [ 75.317513][ T5864] loop0: detected capacity change from 0 to 32768 [ 75.395903][ T5864] 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 [ 75.417001][ T5864] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 75.425293][ T5864] bcachefs (loop0): Version upgrade required: [ 75.425293][ T5864] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 75.425293][ T5864] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 75.425293][ T5864] 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 [ 75.497128][ T5864] bcachefs (loop0): dropping and reconstructing all alloc info [ 75.511992][ T5864] bcachefs (loop0): accounting_read... done [ 75.518103][ T5864] bcachefs (loop0): alloc_read... done [ 75.523758][ T5864] bcachefs (loop0): stripes_read... done [ 75.529459][ T5864] bcachefs (loop0): snapshots_read... done [pid 5864] 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 5864] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5864] chdir("./file0") = 0 [pid 5864] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5864] ioctl(4, LOOP_CLR_FD) = 0 [ 75.535379][ T5864] bcachefs (loop0): check_allocations... done [ 75.552897][ T5864] bcachefs (loop0): going read-write [ 75.561453][ T5864] bcachefs (loop0): done starting filesystem [pid 5864] close(4) = 0 [pid 5864] truncate("./file1", 61440) = 0 [pid 5864] exit_group(0) = ? [pid 5864] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5864, 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("./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, 0x55556b4f56f0 /* 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 [ 75.652751][ T5827] bcachefs (loop0): shutting down [ 75.657822][ T5827] bcachefs (loop0): going read-only [ 75.663533][ T5827] bcachefs (loop0): finished waiting for writes to stop [ 75.671520][ T5827] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [ 75.689880][ T5827] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3343 [ 75.700798][ T5827] bcachefs (loop0): unshutdown complete, journal seq 3344 [ 75.708429][ T5827] bcachefs (loop0): done going read-only, filesystem not clean [ 75.725415][ T5827] 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, 0x55556b4fd730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55556b4fd730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./3/file0") = 0 getdents64(3, 0x55556b4f56f0 /* 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 5875 attached [pid 5875] set_robust_list(0x55556b4f4660, 24 [pid 5827] <... clone resumed>, child_tidptr=0x55556b4f4650) = 5875 [pid 5875] <... set_robust_list resumed>) = 0 [pid 5875] chdir("./4") = 0 [pid 5875] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5875] setpgid(0, 0) = 0 [pid 5875] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5875] write(3, "1000", 4) = 4 [pid 5875] close(3) = 0 [pid 5875] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5875] write(1, "executing program\n", 18executing program ) = 18 [pid 5875] memfd_create("syzkaller", 0) = 3 [pid 5875] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe5d8600000 [pid 5875] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5875] munmap(0x7fe5d8600000, 138412032) = 0 [pid 5875] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5875] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5875] close(3) = 0 [pid 5875] close(4) = 0 [pid 5875] mkdir("./file0", 0777) = 0 [ 77.161175][ T5875] loop0: detected capacity change from 0 to 32768 [ 77.238322][ T5875] 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 [ 77.259727][ T5875] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 77.268133][ T5875] bcachefs (loop0): Version upgrade required: [ 77.268133][ T5875] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 77.268133][ T5875] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 77.268133][ T5875] 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 [ 77.340913][ T5875] bcachefs (loop0): dropping and reconstructing all alloc info [ 77.355843][ T5875] bcachefs (loop0): accounting_read... done [ 77.362013][ T5875] bcachefs (loop0): alloc_read... done [ 77.367568][ T5875] bcachefs (loop0): stripes_read... done [ 77.373398][ T5875] bcachefs (loop0): snapshots_read... done [pid 5875] 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 5875] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5875] chdir("./file0") = 0 [pid 5875] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5875] ioctl(4, LOOP_CLR_FD) = 0 [pid 5875] close(4) = 0 [pid 5875] truncate("./file1", 61440) = 0 [pid 5875] exit_group(0) = ? [pid 5875] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5875, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=30 /* 0.30 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, 0x55556b4f56f0 /* 4 entries */, 32768) = 112 umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 77.379318][ T5875] bcachefs (loop0): check_allocations... done [ 77.397040][ T5875] bcachefs (loop0): going read-write [ 77.405265][ T5875] bcachefs (loop0): done starting filesystem newfstatat(AT_FDCWD, "./4/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./4/binderfs") = 0 [ 77.468380][ T5827] bcachefs (loop0): shutting down [ 77.474113][ T5827] bcachefs (loop0): going read-only [ 77.479395][ T5827] bcachefs (loop0): finished waiting for writes to stop [ 77.487457][ T5827] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [ 77.498993][ T1080] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 77.512306][ T1080] bcachefs (loop0): fatal error - emergency read only [ 77.519390][ T5827] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3339 [ 77.529438][ T5827] bcachefs (loop0): unshutdown complete, journal seq 3339 [ 77.537437][ T5827] bcachefs (loop0): done going read-only, filesystem not clean [ 77.553496][ T5827] 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, 0x55556b4fd730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55556b4fd730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./4/file0") = 0 getdents64(3, 0x55556b4f56f0 /* 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 5887 attached , child_tidptr=0x55556b4f4650) = 5887 [pid 5887] set_robust_list(0x55556b4f4660, 24) = 0 [pid 5887] chdir("./5") = 0 [pid 5887] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5887] setpgid(0, 0) = 0 [pid 5887] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5887] write(3, "1000", 4) = 4 [pid 5887] close(3) = 0 [pid 5887] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5887] write(1, "executing program\n", 18executing program ) = 18 [pid 5887] memfd_create("syzkaller", 0) = 3 [pid 5887] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe5d8600000 [pid 5887] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 5887] munmap(0x7fe5d8600000, 138412032) = 0 [pid 5887] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5887] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5887] close(3) = 0 [pid 5887] close(4) = 0 [pid 5887] mkdir("./file0", 0777) = 0 [ 78.951220][ T5887] loop0: detected capacity change from 0 to 32768 [ 79.025063][ T5887] 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.046735][ T5887] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 79.055003][ T5887] bcachefs (loop0): Version upgrade required: [ 79.055003][ T5887] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 79.055003][ T5887] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 79.055003][ T5887] 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.127056][ T5887] bcachefs (loop0): dropping and reconstructing all alloc info [ 79.141686][ T5887] bcachefs (loop0): accounting_read... done [ 79.147867][ T5887] bcachefs (loop0): alloc_read... done [ 79.153568][ T5887] bcachefs (loop0): stripes_read... done [ 79.159293][ T5887] bcachefs (loop0): snapshots_read... done [pid 5887] 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 5887] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5887] chdir("./file0") = 0 [pid 5887] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5887] ioctl(4, LOOP_CLR_FD) = 0 [ 79.165317][ T5887] bcachefs (loop0): check_allocations... done [ 79.182270][ T5887] bcachefs (loop0): going read-write [ 79.190559][ T5887] bcachefs (loop0): done starting filesystem [pid 5887] close(4) = 0 [pid 5887] truncate("./file1", 61440) = 0 [pid 5887] exit_group(0) = ? [pid 5887] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5887, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=19 /* 0.19 s */} --- 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, 0x55556b4f56f0 /* 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 [ 79.368074][ T5827] bcachefs (loop0): shutting down [ 79.373456][ T5827] bcachefs (loop0): going read-only [ 79.378675][ T5827] bcachefs (loop0): finished waiting for writes to stop [ 79.386133][ T5827] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3340 [ 79.398147][ T1080] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 79.411596][ T1080] bcachefs (loop0): fatal error - emergency read only [ 79.418978][ T5827] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3340 [ 79.429539][ T5827] bcachefs (loop0): unshutdown complete, journal seq 3340 [ 79.437570][ T5827] bcachefs (loop0): done going read-only, filesystem not clean [ 79.459590][ T5827] 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, 0x55556b4fd730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55556b4fd730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./5/file0") = 0 getdents64(3, 0x55556b4f56f0 /* 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 5898 attached , child_tidptr=0x55556b4f4650) = 5898 [pid 5898] set_robust_list(0x55556b4f4660, 24) = 0 [pid 5898] chdir("./6") = 0 [pid 5898] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5898] setpgid(0, 0) = 0 [pid 5898] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5898] write(3, "1000", 4) = 4 [pid 5898] close(3) = 0 [pid 5898] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5898] write(1, "executing program\n", 18) = 18 [pid 5898] memfd_create("syzkaller", 0) = 3 [pid 5898] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe5d8600000 [pid 5898] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5898] munmap(0x7fe5d8600000, 138412032) = 0 [pid 5898] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5898] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5898] close(3) = 0 [pid 5898] close(4) = 0 [pid 5898] mkdir("./file0", 0777) = 0 [ 80.888542][ T5898] loop0: detected capacity change from 0 to 32768 [ 80.955038][ T5898] 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 [ 80.976428][ T5898] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 80.984792][ T5898] bcachefs (loop0): Version upgrade required: [ 80.984792][ T5898] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 80.984792][ T5898] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 80.984792][ T5898] 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.056680][ T5898] bcachefs (loop0): dropping and reconstructing all alloc info [ 81.071827][ T5898] bcachefs (loop0): accounting_read... done [ 81.077907][ T5898] bcachefs (loop0): alloc_read... done [ 81.083531][ T5898] bcachefs (loop0): stripes_read... done [ 81.089249][ T5898] bcachefs (loop0): snapshots_read... done [pid 5898] 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 5898] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5898] chdir("./file0") = 0 [pid 5898] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5898] ioctl(4, LOOP_CLR_FD) = 0 [pid 5898] close(4) = 0 [ 81.095172][ T5898] bcachefs (loop0): check_allocations... done [ 81.111847][ T5898] bcachefs (loop0): going read-write [ 81.119751][ T5898] bcachefs (loop0): done starting filesystem [pid 5898] truncate("./file1", 61440) = 0 [pid 5898] exit_group(0) = ? [pid 5898] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5898, 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, 0x55556b4f56f0 /* 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 [ 81.326327][ T5827] bcachefs (loop0): shutting down [ 81.331539][ T5827] bcachefs (loop0): going read-only [ 81.336753][ T5827] bcachefs (loop0): finished waiting for writes to stop [ 81.344301][ T5827] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [ 81.356173][ T1080] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 81.369352][ T1080] bcachefs (loop0): fatal error - emergency read only [ 81.376879][ T5827] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3339 [ 81.386974][ T5827] bcachefs (loop0): unshutdown complete, journal seq 3339 [ 81.394778][ T5827] bcachefs (loop0): done going read-only, filesystem not clean [ 81.410173][ T5827] bcachefs (loop0): shutdown complete [ 81.913246][ T969] cfg80211: failed to load regulatory.db 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, 0x55556b4fd730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55556b4fd730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./6/file0") = 0 getdents64(3, 0x55556b4f56f0 /* 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 5909 attached [pid 5909] set_robust_list(0x55556b4f4660, 24) = 0 [pid 5827] <... clone resumed>, child_tidptr=0x55556b4f4650) = 5909 [pid 5909] chdir("./7") = 0 [pid 5909] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5909] setpgid(0, 0) = 0 [pid 5909] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5909] write(3, "1000", 4) = 4 [pid 5909] close(3) = 0 [pid 5909] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5909] write(1, "executing program\n", 18) = 18 [pid 5909] memfd_create("syzkaller", 0) = 3 [pid 5909] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe5d8600000 [pid 5909] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5909] munmap(0x7fe5d8600000, 138412032) = 0 [pid 5909] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5909] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5909] close(3) = 0 [pid 5909] close(4) = 0 [pid 5909] mkdir("./file0", 0777) = 0 [ 82.731208][ T5909] loop0: detected capacity change from 0 to 32768 [ 82.817050][ T5909] 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 [ 82.838936][ T5909] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 82.847995][ T5909] bcachefs (loop0): Version upgrade required: [ 82.847995][ T5909] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 82.847995][ T5909] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 82.847995][ T5909] 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 [ 82.920256][ T5909] bcachefs (loop0): dropping and reconstructing all alloc info [ 82.935644][ T5909] bcachefs (loop0): accounting_read... done [ 82.941931][ T5909] bcachefs (loop0): alloc_read... done [ 82.947533][ T5909] bcachefs (loop0): stripes_read... done [ 82.953777][ T5909] bcachefs (loop0): snapshots_read... done [pid 5909] 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 5909] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5909] chdir("./file0") = 0 [pid 5909] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5909] ioctl(4, LOOP_CLR_FD) = 0 [pid 5909] close(4) = 0 [pid 5909] truncate("./file1", 61440) = 0 [pid 5909] exit_group(0) = ? [pid 5909] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5909, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=25 /* 0.25 s */} --- [ 82.959750][ T5909] bcachefs (loop0): check_allocations... done [ 82.978129][ T5909] bcachefs (loop0): going read-write [ 82.988782][ T5909] bcachefs (loop0): done starting filesystem 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, 0x55556b4f56f0 /* 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 [ 83.099192][ T5827] bcachefs (loop0): shutting down [ 83.104379][ T5827] bcachefs (loop0): going read-only [ 83.109610][ T5827] bcachefs (loop0): finished waiting for writes to stop [ 83.117224][ T5827] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [ 83.129050][ T1134] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 83.142389][ T1134] bcachefs (loop0): fatal error - emergency read only [ 83.149675][ T5827] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3339 [ 83.159743][ T5827] bcachefs (loop0): unshutdown complete, journal seq 3339 [ 83.167441][ T5827] bcachefs (loop0): done going read-only, filesystem not clean [ 83.183055][ T5827] 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, 0x55556b4fd730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55556b4fd730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./7/file0") = 0 getdents64(3, 0x55556b4f56f0 /* 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 5920 attached [pid 5920] set_robust_list(0x55556b4f4660, 24 [pid 5827] <... clone resumed>, child_tidptr=0x55556b4f4650) = 5920 [pid 5920] <... set_robust_list resumed>) = 0 [pid 5920] chdir("./8") = 0 [pid 5920] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5920] setpgid(0, 0) = 0 [pid 5920] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5920] write(3, "1000", 4) = 4 [pid 5920] close(3) = 0 [pid 5920] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5920] write(1, "executing program\n", 18) = 18 [pid 5920] memfd_create("syzkaller", 0) = 3 [pid 5920] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe5d8600000 [pid 5920] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 5920] munmap(0x7fe5d8600000, 138412032) = 0 [pid 5920] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5920] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5920] close(3) = 0 [pid 5920] close(4) = 0 [pid 5920] mkdir("./file0", 0777) = 0 [ 84.620555][ T5920] loop0: detected capacity change from 0 to 32768 [ 84.685023][ T5920] 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 [ 84.706197][ T5920] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 84.714504][ T5920] bcachefs (loop0): Version upgrade required: [ 84.714504][ T5920] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 84.714504][ T5920] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 84.714504][ T5920] 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 [ 84.786511][ T5920] bcachefs (loop0): dropping and reconstructing all alloc info [ 84.808153][ T5920] bcachefs (loop0): accounting_read... done [ 84.814924][ T5920] bcachefs (loop0): alloc_read... done [ 84.820486][ T5920] bcachefs (loop0): stripes_read... done [ 84.826353][ T5920] bcachefs (loop0): snapshots_read... done [pid 5920] 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 5920] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [ 84.832572][ T5920] bcachefs (loop0): check_allocations... done [ 84.852590][ T5920] bcachefs (loop0): going read-write [ 84.860720][ T5920] bcachefs (loop0): done starting filesystem [pid 5920] chdir("./file0") = 0 [pid 5920] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5920] ioctl(4, LOOP_CLR_FD) = 0 [pid 5920] close(4) = 0 [pid 5920] truncate("./file1", 61440) = 0 [pid 5920] exit_group(0) = ? [pid 5920] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5920, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=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, 0x55556b4f56f0 /* 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 [ 85.063282][ T5827] bcachefs (loop0): shutting down [ 85.068352][ T5827] bcachefs (loop0): going read-only [ 85.073910][ T5827] bcachefs (loop0): finished waiting for writes to stop [ 85.081533][ T5827] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [ 85.093850][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 85.106954][ T35] bcachefs (loop0): fatal error - emergency read only [ 85.115213][ T5827] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3339 [ 85.125414][ T5827] bcachefs (loop0): unshutdown complete, journal seq 3339 [ 85.133177][ T5827] bcachefs (loop0): done going read-only, filesystem not clean [ 85.151232][ T5827] 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, 0x55556b4fd730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55556b4fd730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./8/file0") = 0 getdents64(3, 0x55556b4f56f0 /* 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 5931 attached [pid 5931] set_robust_list(0x55556b4f4660, 24) = 0 [pid 5827] <... clone resumed>, child_tidptr=0x55556b4f4650) = 5931 [pid 5931] chdir("./9") = 0 [pid 5931] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5931] setpgid(0, 0) = 0 [pid 5931] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5931] write(3, "1000", 4) = 4 [pid 5931] close(3) = 0 [pid 5931] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5931] write(1, "executing program\n", 18) = 18 [pid 5931] memfd_create("syzkaller", 0) = 3 [pid 5931] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe5d8600000 [pid 5931] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5931] munmap(0x7fe5d8600000, 138412032) = 0 [pid 5931] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5931] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5931] close(3) = 0 [pid 5931] close(4) = 0 [pid 5931] mkdir("./file0", 0777) = 0 [ 86.431835][ T5931] loop0: detected capacity change from 0 to 32768 [ 86.504288][ T5931] 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 [ 86.525433][ T5931] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 86.533856][ T5931] bcachefs (loop0): Version upgrade required: [ 86.533856][ T5931] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 86.533856][ T5931] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 86.533856][ T5931] 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 [ 86.606453][ T5931] bcachefs (loop0): dropping and reconstructing all alloc info [ 86.621291][ T5931] bcachefs (loop0): accounting_read... done [ 86.627374][ T5931] bcachefs (loop0): alloc_read... done [ 86.632927][ T5931] bcachefs (loop0): stripes_read... done [ 86.638635][ T5931] bcachefs (loop0): snapshots_read... done [pid 5931] 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 5931] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5931] chdir("./file0") = 0 [ 86.644562][ T5931] bcachefs (loop0): check_allocations... done [ 86.661391][ T5931] bcachefs (loop0): going read-write [ 86.670009][ T5931] bcachefs (loop0): done starting filesystem [pid 5931] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5931] ioctl(4, LOOP_CLR_FD) = 0 [pid 5931] close(4) = 0 [pid 5931] truncate("./file1", 61440) = 0 [pid 5931] exit_group(0) = ? [pid 5931] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5931, 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("./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, 0x55556b4f56f0 /* 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 [ 86.814989][ T5827] bcachefs (loop0): shutting down [ 86.820054][ T5827] bcachefs (loop0): going read-only [ 86.825553][ T5827] bcachefs (loop0): finished waiting for writes to stop [ 86.833145][ T5827] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3340 [ 86.845177][ T1134] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 86.858144][ T1134] bcachefs (loop0): fatal error - emergency read only [ 86.865442][ T5827] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3340 [ 86.875872][ T5827] bcachefs (loop0): unshutdown complete, journal seq 3340 [ 86.883741][ T5827] bcachefs (loop0): done going read-only, filesystem not clean [ 86.898579][ T5827] bcachefs (loop0): shutdown complete 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, 0x55556b4fd730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55556b4fd730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./9/file0") = 0 getdents64(3, 0x55556b4f56f0 /* 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 5942 attached , child_tidptr=0x55556b4f4650) = 5942 [pid 5942] set_robust_list(0x55556b4f4660, 24) = 0 [pid 5942] chdir("./10") = 0 [pid 5942] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5942] setpgid(0, 0) = 0 [pid 5942] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5942] write(3, "1000", 4) = 4 [pid 5942] close(3) = 0 [pid 5942] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5942] write(1, "executing program\n", 18) = 18 [pid 5942] memfd_create("syzkaller", 0) = 3 [pid 5942] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe5d8600000 [pid 5942] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5942] munmap(0x7fe5d8600000, 138412032) = 0 [pid 5942] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5942] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5942] close(3) = 0 [pid 5942] close(4) = 0 [pid 5942] mkdir("./file0", 0777) = 0 [ 88.161537][ T5942] loop0: detected capacity change from 0 to 32768 [ 88.209068][ T5942] 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.230223][ T5942] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 88.238541][ T5942] bcachefs (loop0): Version upgrade required: [ 88.238541][ T5942] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 88.238541][ T5942] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 88.238541][ T5942] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 88.310513][ T5942] bcachefs (loop0): dropping and reconstructing all alloc info [ 88.328114][ T5942] bcachefs (loop0): accounting_read... done [ 88.334405][ T5942] bcachefs (loop0): alloc_read... done [ 88.339973][ T5942] bcachefs (loop0): stripes_read... done [ 88.345990][ T5942] bcachefs (loop0): snapshots_read... done [pid 5942] 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 5942] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5942] chdir("./file0") = 0 [pid 5942] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5942] ioctl(4, LOOP_CLR_FD) = 0 [pid 5942] close(4) = 0 [pid 5942] truncate("./file1", 61440) = 0 [pid 5942] exit_group(0) = ? [pid 5942] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5942, si_uid=0, si_status=0, si_utime=2 /* 0.02 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, 0x55556b4f56f0 /* 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 [ 88.352380][ T5942] bcachefs (loop0): check_allocations... done [ 88.369504][ T5942] bcachefs (loop0): going read-write [ 88.377565][ T5942] bcachefs (loop0): done starting filesystem [ 88.413324][ T5827] bcachefs (loop0): shutting down [ 88.418401][ T5827] bcachefs (loop0): going read-only [ 88.424067][ T5827] bcachefs (loop0): finished waiting for writes to stop [ 88.431710][ T5827] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3340 [ 88.443337][ T1080] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 88.456469][ T1080] bcachefs (loop0): fatal error - emergency read only [ 88.463775][ T5827] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3340 [ 88.473828][ T5827] bcachefs (loop0): unshutdown complete, journal seq 3340 [ 88.481795][ T5827] bcachefs (loop0): done going read-only, filesystem not clean [ 88.496913][ T5827] 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, 0x55556b4fd730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55556b4fd730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./10/file0") = 0 getdents64(3, 0x55556b4f56f0 /* 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 5953 attached [pid 5953] set_robust_list(0x55556b4f4660, 24) = 0 [pid 5827] <... clone resumed>, child_tidptr=0x55556b4f4650) = 5953 [pid 5953] chdir("./11") = 0 [pid 5953] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5953] setpgid(0, 0) = 0 [pid 5953] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5953] write(3, "1000", 4) = 4 [pid 5953] close(3) = 0 [pid 5953] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5953] write(1, "executing program\n", 18) = 18 [pid 5953] memfd_create("syzkaller", 0) = 3 [pid 5953] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe5d8600000 [pid 5953] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5953] munmap(0x7fe5d8600000, 138412032) = 0 [pid 5953] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5953] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5953] close(3) = 0 [pid 5953] close(4) = 0 [pid 5953] mkdir("./file0", 0777) = 0 [ 89.829560][ T5953] loop0: detected capacity change from 0 to 32768 [ 89.906606][ T5953] 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 [ 89.927923][ T5953] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 89.936229][ T5953] bcachefs (loop0): Version upgrade required: [ 89.936229][ T5953] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 89.936229][ T5953] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 89.936229][ T5953] 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.008245][ T5953] bcachefs (loop0): dropping and reconstructing all alloc info [ 90.022840][ T5953] bcachefs (loop0): accounting_read... done [ 90.028933][ T5953] bcachefs (loop0): alloc_read... done [ 90.034583][ T5953] bcachefs (loop0): stripes_read... done [ 90.040280][ T5953] bcachefs (loop0): snapshots_read... done [pid 5953] 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 5953] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5953] chdir("./file0") = 0 [pid 5953] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 90.046304][ T5953] bcachefs (loop0): check_allocations... done [ 90.063033][ T5953] bcachefs (loop0): going read-write [ 90.071336][ T5953] bcachefs (loop0): done starting filesystem [pid 5953] ioctl(4, LOOP_CLR_FD) = 0 [pid 5953] close(4) = 0 [pid 5953] truncate("./file1", 61440) = 0 [pid 5953] exit_group(0) = ? [pid 5953] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5953, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=21 /* 0.21 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 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, 0x55556b4f56f0 /* 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 [ 90.260218][ T5827] bcachefs (loop0): shutting down [ 90.265493][ T5827] bcachefs (loop0): going read-only [ 90.270713][ T5827] bcachefs (loop0): finished waiting for writes to stop [ 90.278400][ T5827] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [ 90.290136][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 90.303352][ T35] bcachefs (loop0): fatal error - emergency read only [ 90.310511][ T5827] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3339 [ 90.320628][ T5827] bcachefs (loop0): unshutdown complete, journal seq 3339 [ 90.328485][ T5827] bcachefs (loop0): done going read-only, filesystem not clean [ 90.344836][ T5827] 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, 0x55556b4fd730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55556b4fd730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./11/file0") = 0 getdents64(3, 0x55556b4f56f0 /* 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 5964 attached [pid 5964] set_robust_list(0x55556b4f4660, 24) = 0 [pid 5964] chdir("./12" [pid 5827] <... clone resumed>, child_tidptr=0x55556b4f4650) = 5964 [pid 5964] <... chdir resumed>) = 0 [pid 5964] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5964] setpgid(0, 0) = 0 [pid 5964] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5964] write(3, "1000", 4) = 4 [pid 5964] close(3) = 0 [pid 5964] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5964] write(1, "executing program\n", 18) = 18 [pid 5964] memfd_create("syzkaller", 0) = 3 [pid 5964] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe5d8600000 [pid 5964] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5964] munmap(0x7fe5d8600000, 138412032) = 0 [pid 5964] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5964] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5964] close(3) = 0 [pid 5964] close(4) = 0 [pid 5964] mkdir("./file0", 0777) = 0 [ 91.652726][ T5964] loop0: detected capacity change from 0 to 32768 [ 91.719212][ T5964] 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 [ 91.740392][ T5964] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 91.749604][ T5964] bcachefs (loop0): Version upgrade required: [ 91.749604][ T5964] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 91.749604][ T5964] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 91.749604][ T5964] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 91.822142][ T5964] bcachefs (loop0): dropping and reconstructing all alloc info [ 91.837236][ T5964] bcachefs (loop0): accounting_read... done [ 91.843510][ T5964] bcachefs (loop0): alloc_read... done [ 91.849050][ T5964] bcachefs (loop0): stripes_read... done [ 91.854793][ T5964] bcachefs (loop0): snapshots_read... done [pid 5964] 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 5964] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5964] chdir("./file0") = 0 [pid 5964] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 91.860697][ T5964] bcachefs (loop0): check_allocations... done [ 91.878467][ T5964] bcachefs (loop0): going read-write [ 91.887343][ T5964] bcachefs (loop0): done starting filesystem [pid 5964] ioctl(4, LOOP_CLR_FD) = 0 [pid 5964] close(4) = 0 [pid 5964] truncate("./file1", 61440) = 0 [pid 5964] exit_group(0) = ? [pid 5964] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5964, 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("./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, 0x55556b4f56f0 /* 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 [ 92.085172][ T5827] bcachefs (loop0): shutting down [ 92.090239][ T5827] bcachefs (loop0): going read-only [ 92.095762][ T5827] bcachefs (loop0): finished waiting for writes to stop [ 92.103445][ T5827] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [ 92.115141][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 92.128276][ T35] bcachefs (loop0): fatal error - emergency read only [ 92.135546][ T5827] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3339 [ 92.145499][ T5827] bcachefs (loop0): unshutdown complete, journal seq 3339 [ 92.153454][ T5827] bcachefs (loop0): done going read-only, filesystem not clean [ 92.168719][ T5827] 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, 0x55556b4fd730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55556b4fd730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./12/file0") = 0 getdents64(3, 0x55556b4f56f0 /* 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 5975 attached , child_tidptr=0x55556b4f4650) = 5975 [pid 5975] set_robust_list(0x55556b4f4660, 24) = 0 [pid 5975] chdir("./13") = 0 [pid 5975] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5975] setpgid(0, 0) = 0 [pid 5975] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5975] write(3, "1000", 4) = 4 [pid 5975] close(3) = 0 [pid 5975] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5975] write(1, "executing program\n", 18) = 18 [pid 5975] memfd_create("syzkaller", 0) = 3 [pid 5975] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe5d8600000 [pid 5975] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5975] munmap(0x7fe5d8600000, 138412032) = 0 [pid 5975] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5975] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5975] close(3) = 0 [pid 5975] close(4) = 0 [pid 5975] mkdir("./file0", 0777) = 0 [ 93.485275][ T5975] loop0: detected capacity change from 0 to 32768 [ 93.555654][ T5975] 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 [ 93.577305][ T5975] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 93.587110][ T5975] bcachefs (loop0): Version upgrade required: [ 93.587110][ T5975] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 93.587110][ T5975] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 93.587110][ T5975] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 93.659252][ T5975] bcachefs (loop0): dropping and reconstructing all alloc info [ 93.675151][ T5975] bcachefs (loop0): accounting_read... done [ 93.681439][ T5975] bcachefs (loop0): alloc_read... done [ 93.687043][ T5975] bcachefs (loop0): stripes_read... done [ 93.692993][ T5975] bcachefs (loop0): snapshots_read... done [pid 5975] 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 5975] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5975] chdir("./file0") = 0 [ 93.698943][ T5975] bcachefs (loop0): check_allocations... done [ 93.715731][ T5975] bcachefs (loop0): going read-write [ 93.723954][ T5975] bcachefs (loop0): done starting filesystem [pid 5975] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5975] ioctl(4, LOOP_CLR_FD) = 0 [pid 5975] close(4) = 0 [pid 5975] truncate("./file1", 61440) = 0 [pid 5975] exit_group(0) = ? [pid 5975] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5975, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=23 /* 0.23 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 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, 0x55556b4f56f0 /* 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 [ 93.931676][ T5827] bcachefs (loop0): shutting down [ 93.936845][ T5827] bcachefs (loop0): going read-only [ 93.942316][ T5827] bcachefs (loop0): finished waiting for writes to stop [ 93.949772][ T5827] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [ 93.961796][ T1134] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 93.974984][ T1134] bcachefs (loop0): fatal error - emergency read only [ 93.982975][ T5827] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3339 [ 93.992923][ T5827] bcachefs (loop0): unshutdown complete, journal seq 3339 [ 94.000639][ T5827] bcachefs (loop0): done going read-only, filesystem not clean [ 94.016396][ T5827] 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, 0x55556b4fd730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55556b4fd730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./13/file0") = 0 getdents64(3, 0x55556b4f56f0 /* 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 5987 attached [pid 5987] set_robust_list(0x55556b4f4660, 24 [pid 5827] <... clone resumed>, child_tidptr=0x55556b4f4650) = 5987 [pid 5987] <... set_robust_list resumed>) = 0 [pid 5987] chdir("./14") = 0 [pid 5987] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5987] setpgid(0, 0) = 0 [pid 5987] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5987] write(3, "1000", 4) = 4 [pid 5987] close(3) = 0 [pid 5987] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5987] write(1, "executing program\n", 18) = 18 [pid 5987] memfd_create("syzkaller", 0) = 3 [pid 5987] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe5d8600000 [pid 5987] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5987] munmap(0x7fe5d8600000, 138412032) = 0 [pid 5987] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5987] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5987] close(3) = 0 [pid 5987] close(4) = 0 [pid 5987] mkdir("./file0", 0777) = 0 [ 95.390744][ T5987] loop0: detected capacity change from 0 to 32768 [ 95.468071][ T5987] 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 [ 95.489467][ T5987] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 95.498135][ T5987] bcachefs (loop0): Version upgrade required: [ 95.498135][ T5987] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 95.498135][ T5987] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 95.498135][ T5987] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 95.570634][ T5987] bcachefs (loop0): dropping and reconstructing all alloc info [ 95.585876][ T5987] bcachefs (loop0): accounting_read... done [ 95.592052][ T5987] bcachefs (loop0): alloc_read... done [ 95.597589][ T5987] bcachefs (loop0): stripes_read... done [ 95.603366][ T5987] bcachefs (loop0): snapshots_read... done [pid 5987] 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 5987] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5987] chdir("./file0") = 0 [pid 5987] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5987] ioctl(4, LOOP_CLR_FD) = 0 [pid 5987] close(4) = 0 [ 95.609251][ T5987] bcachefs (loop0): check_allocations... done [ 95.626031][ T5987] bcachefs (loop0): going read-write [ 95.634593][ T5987] bcachefs (loop0): done starting filesystem [pid 5987] truncate("./file1", 61440) = 0 [pid 5987] exit_group(0) = ? [pid 5987] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5987, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=25 /* 0.25 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 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, 0x55556b4f56f0 /* 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 [ 95.845981][ T5827] bcachefs (loop0): shutting down [ 95.851195][ T5827] bcachefs (loop0): going read-only [ 95.856415][ T5827] bcachefs (loop0): finished waiting for writes to stop [ 95.863920][ T5827] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [ 95.875555][ T1134] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 95.888826][ T1134] bcachefs (loop0): fatal error - emergency read only [ 95.896322][ T5827] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3339 [ 95.906369][ T5827] bcachefs (loop0): unshutdown complete, journal seq 3339 [ 95.914207][ T5827] bcachefs (loop0): done going read-only, filesystem not clean [ 95.929681][ T5827] 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, 0x55556b4fd730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55556b4fd730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./14/file0") = 0 getdents64(3, 0x55556b4f56f0 /* 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 5998 attached [pid 5998] set_robust_list(0x55556b4f4660, 24 [pid 5827] <... clone resumed>, child_tidptr=0x55556b4f4650) = 5998 [pid 5998] <... set_robust_list resumed>) = 0 [pid 5998] chdir("./15") = 0 [pid 5998] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5998] setpgid(0, 0) = 0 [pid 5998] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5998] write(3, "1000", 4) = 4 [pid 5998] close(3) = 0 [pid 5998] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5998] write(1, "executing program\n", 18) = 18 [pid 5998] memfd_create("syzkaller", 0) = 3 [pid 5998] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe5d8600000 [pid 5998] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5998] munmap(0x7fe5d8600000, 138412032) = 0 [pid 5998] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5998] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5998] close(3) = 0 [pid 5998] close(4) = 0 [pid 5998] mkdir("./file0", 0777) = 0 [ 97.144992][ T5998] loop0: detected capacity change from 0 to 32768 [ 97.214745][ T5998] 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 [ 97.236316][ T5998] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 97.244629][ T5998] bcachefs (loop0): Version upgrade required: [ 97.244629][ T5998] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 97.244629][ T5998] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 97.244629][ T5998] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 97.317529][ T5998] bcachefs (loop0): dropping and reconstructing all alloc info [ 97.332297][ T5998] bcachefs (loop0): accounting_read... done [ 97.338417][ T5998] bcachefs (loop0): alloc_read... done [ 97.344017][ T5998] bcachefs (loop0): stripes_read... done [ 97.349720][ T5998] bcachefs (loop0): snapshots_read... done [pid 5998] 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 5998] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5998] chdir("./file0") = 0 [pid 5998] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 97.355619][ T5998] bcachefs (loop0): check_allocations... done [ 97.372576][ T5998] bcachefs (loop0): going read-write [ 97.381540][ T5998] bcachefs (loop0): done starting filesystem [pid 5998] ioctl(4, LOOP_CLR_FD) = 0 [pid 5998] close(4) = 0 [pid 5998] truncate("./file1", 61440) = 0 [pid 5998] exit_group(0) = ? [pid 5998] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5998, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=20 /* 0.20 s */} --- 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, 0x55556b4f56f0 /* 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 [ 97.596832][ T5827] bcachefs (loop0): shutting down [ 97.602042][ T5827] bcachefs (loop0): going read-only [ 97.607291][ T5827] bcachefs (loop0): finished waiting for writes to stop [ 97.615053][ T5827] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [ 97.626388][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 97.639510][ T35] bcachefs (loop0): fatal error - emergency read only [ 97.646914][ T5827] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3339 [ 97.656929][ T5827] bcachefs (loop0): unshutdown complete, journal seq 3339 [ 97.664858][ T5827] bcachefs (loop0): done going read-only, filesystem not clean [ 97.680704][ T5827] 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, 0x55556b4fd730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55556b4fd730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./15/file0") = 0 getdents64(3, 0x55556b4f56f0 /* 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 6009 attached , child_tidptr=0x55556b4f4650) = 6009 [pid 6009] set_robust_list(0x55556b4f4660, 24) = 0 [pid 6009] chdir("./16") = 0 [pid 6009] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6009] setpgid(0, 0) = 0 [pid 6009] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6009] write(3, "1000", 4) = 4 [pid 6009] close(3) = 0 [pid 6009] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6009] write(1, "executing program\n", 18) = 18 [pid 6009] memfd_create("syzkaller", 0) = 3 [pid 6009] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe5d8600000 [pid 6009] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6009] munmap(0x7fe5d8600000, 138412032) = 0 [pid 6009] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6009] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6009] close(3) = 0 [pid 6009] close(4) = 0 [pid 6009] mkdir("./file0", 0777) = 0 [ 98.995653][ T6009] loop0: detected capacity change from 0 to 32768 [ 99.061340][ T6009] 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.082530][ T6009] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 99.090699][ T6009] bcachefs (loop0): Version upgrade required: [ 99.090699][ T6009] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 99.090699][ T6009] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 99.090699][ T6009] 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.163311][ T6009] bcachefs (loop0): dropping and reconstructing all alloc info [ 99.181987][ T6009] bcachefs (loop0): accounting_read... done [ 99.188102][ T6009] bcachefs (loop0): alloc_read... done [ 99.193856][ T6009] bcachefs (loop0): stripes_read... done [ 99.199562][ T6009] bcachefs (loop0): snapshots_read... done [pid 6009] 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 6009] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6009] chdir("./file0") = 0 [pid 6009] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6009] ioctl(4, LOOP_CLR_FD) = 0 [pid 6009] close(4) = 0 [pid 6009] truncate("./file1", 61440) = 0 [pid 6009] exit_group(0) = ? [pid 6009] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6009, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=26 /* 0.26 s */} --- [ 99.205625][ T6009] bcachefs (loop0): check_allocations... done [ 99.222372][ T6009] bcachefs (loop0): going read-write [ 99.230719][ T6009] bcachefs (loop0): done starting filesystem restart_syscall(<... resuming interrupted clone ...>) = 0 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, 0x55556b4f56f0 /* 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 [ 99.395442][ T5827] bcachefs (loop0): shutting down [ 99.400515][ T5827] bcachefs (loop0): going read-only [ 99.406032][ T5827] bcachefs (loop0): finished waiting for writes to stop [ 99.413952][ T5827] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3340 [ 99.425076][ T1134] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 99.438261][ T1134] bcachefs (loop0): fatal error - emergency read only [ 99.445528][ T5827] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3340 [ 99.455587][ T5827] bcachefs (loop0): unshutdown complete, journal seq 3340 [ 99.463634][ T5827] bcachefs (loop0): done going read-only, filesystem not clean [ 99.478967][ T5827] 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, 0x55556b4fd730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55556b4fd730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./16/file0") = 0 getdents64(3, 0x55556b4f56f0 /* 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 6023 attached [pid 6023] set_robust_list(0x55556b4f4660, 24) = 0 [pid 5827] <... clone resumed>, child_tidptr=0x55556b4f4650) = 6023 [pid 6023] chdir("./17") = 0 [pid 6023] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6023] setpgid(0, 0) = 0 [pid 6023] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6023] write(3, "1000", 4) = 4 [pid 6023] close(3) = 0 [pid 6023] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6023] write(1, "executing program\n", 18) = 18 [pid 6023] memfd_create("syzkaller", 0) = 3 [pid 6023] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe5d8600000 [pid 6023] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6023] munmap(0x7fe5d8600000, 138412032) = 0 [pid 6023] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6023] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6023] close(3) = 0 [pid 6023] close(4) = 0 [pid 6023] mkdir("./file0", 0777) = 0 [ 100.792004][ T6023] loop0: detected capacity change from 0 to 32768 [ 100.849903][ T6023] 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 [ 100.871657][ T6023] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 100.880343][ T6023] bcachefs (loop0): Version upgrade required: [ 100.880343][ T6023] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 100.880343][ T6023] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 100.880343][ T6023] 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 [ 100.953614][ T6023] bcachefs (loop0): dropping and reconstructing all alloc info [ 100.968015][ T6023] bcachefs (loop0): accounting_read... done [ 100.974195][ T6023] bcachefs (loop0): alloc_read... done [ 100.979761][ T6023] bcachefs (loop0): stripes_read... done [ 100.985518][ T6023] bcachefs (loop0): snapshots_read... done [pid 6023] 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 6023] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6023] chdir("./file0") = 0 [ 100.991429][ T6023] bcachefs (loop0): check_allocations... done [ 101.007968][ T6023] bcachefs (loop0): going read-write [ 101.019872][ T6023] bcachefs (loop0): done starting filesystem [pid 6023] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6023] ioctl(4, LOOP_CLR_FD) = 0 [pid 6023] close(4) = 0 [pid 6023] truncate("./file1", 61440) = 0 [pid 6023] exit_group(0) = ? [pid 6023] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6023, 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("./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, 0x55556b4f56f0 /* 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 [ 101.238494][ T5827] bcachefs (loop0): shutting down [ 101.243700][ T5827] bcachefs (loop0): going read-only [ 101.248914][ T5827] bcachefs (loop0): finished waiting for writes to stop [ 101.256575][ T5827] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [ 101.270609][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 101.283885][ T35] bcachefs (loop0): fatal error - emergency read only [ 101.291786][ T5827] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3339 [ 101.301802][ T5827] bcachefs (loop0): unshutdown complete, journal seq 3339 [ 101.309419][ T5827] bcachefs (loop0): done going read-only, filesystem not clean [ 101.324824][ T5827] 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, 0x55556b4fd730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55556b4fd730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./17/file0") = 0 getdents64(3, 0x55556b4f56f0 /* 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 6037 attached , child_tidptr=0x55556b4f4650) = 6037 [pid 6037] set_robust_list(0x55556b4f4660, 24) = 0 [pid 6037] chdir("./18") = 0 [pid 6037] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6037] setpgid(0, 0) = 0 [pid 6037] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6037] write(3, "1000", 4) = 4 [pid 6037] close(3) = 0 [pid 6037] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6037] write(1, "executing program\n", 18executing program ) = 18 [pid 6037] memfd_create("syzkaller", 0) = 3 [pid 6037] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe5d8600000 [pid 6037] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6037] munmap(0x7fe5d8600000, 138412032) = 0 [pid 6037] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6037] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6037] close(3) = 0 [pid 6037] close(4) = 0 [pid 6037] mkdir("./file0", 0777) = 0 [ 102.636601][ T6037] loop0: detected capacity change from 0 to 32768 [ 102.711816][ T6037] 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 [ 102.732974][ T6037] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 102.741488][ T6037] bcachefs (loop0): Version upgrade required: [ 102.741488][ T6037] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 102.741488][ T6037] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 102.741488][ T6037] 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 [ 102.814299][ T6037] bcachefs (loop0): dropping and reconstructing all alloc info [ 102.829236][ T6037] bcachefs (loop0): accounting_read... done [ 102.835464][ T6037] bcachefs (loop0): alloc_read... done [ 102.841077][ T6037] bcachefs (loop0): stripes_read... done [ 102.846761][ T6037] bcachefs (loop0): snapshots_read... done [pid 6037] 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 6037] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6037] chdir("./file0") = 0 [pid 6037] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 102.852862][ T6037] bcachefs (loop0): check_allocations... done [ 102.871725][ T6037] bcachefs (loop0): going read-write [ 102.880188][ T6037] bcachefs (loop0): done starting filesystem [pid 6037] ioctl(4, LOOP_CLR_FD) = 0 [pid 6037] close(4) = 0 [pid 6037] truncate("./file1", 61440) = 0 [pid 6037] exit_group(0) = ? [pid 6037] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6037, 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("./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, 0x55556b4f56f0 /* 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 [ 103.080119][ T5827] bcachefs (loop0): shutting down [ 103.085407][ T5827] bcachefs (loop0): going read-only [ 103.090632][ T5827] bcachefs (loop0): finished waiting for writes to stop [ 103.098306][ T5827] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [ 103.112969][ T1134] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 103.126162][ T1134] bcachefs (loop0): fatal error - emergency read only [ 103.133583][ T5827] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3339 [ 103.143817][ T5827] bcachefs (loop0): unshutdown complete, journal seq 3339 [ 103.152436][ T5827] bcachefs (loop0): done going read-only, filesystem not clean [ 103.168043][ T5827] 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, 0x55556b4fd730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55556b4fd730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./18/file0") = 0 getdents64(3, 0x55556b4f56f0 /* 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 6048 attached [pid 6048] set_robust_list(0x55556b4f4660, 24 [pid 5827] <... clone resumed>, child_tidptr=0x55556b4f4650) = 6048 [pid 6048] <... set_robust_list resumed>) = 0 [pid 6048] chdir("./19") = 0 [pid 6048] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6048] setpgid(0, 0) = 0 [pid 6048] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6048] write(3, "1000", 4) = 4 [pid 6048] close(3) = 0 [pid 6048] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6048] write(1, "executing program\n", 18executing program ) = 18 [pid 6048] memfd_create("syzkaller", 0) = 3 [pid 6048] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe5d8600000 [pid 6048] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6048] munmap(0x7fe5d8600000, 138412032) = 0 [pid 6048] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6048] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6048] close(3) = 0 [pid 6048] close(4) = 0 [pid 6048] mkdir("./file0", 0777) = 0 [ 104.532817][ T6048] loop0: detected capacity change from 0 to 32768 [ 104.601563][ T6048] 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 [ 104.623379][ T6048] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 104.631747][ T6048] bcachefs (loop0): Version upgrade required: [ 104.631747][ T6048] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 104.631747][ T6048] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 104.631747][ T6048] 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 [ 104.704251][ T6048] bcachefs (loop0): dropping and reconstructing all alloc info [ 104.718967][ T6048] bcachefs (loop0): accounting_read... done [ 104.725132][ T6048] bcachefs (loop0): alloc_read... done [ 104.730732][ T6048] bcachefs (loop0): stripes_read... done [ 104.736551][ T6048] bcachefs (loop0): snapshots_read... done [pid 6048] 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 6048] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6048] chdir("./file0") = 0 [pid 6048] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6048] ioctl(4, LOOP_CLR_FD) = 0 [pid 6048] close(4) = 0 [pid 6048] truncate("./file1", 61440) = 0 [ 104.742543][ T6048] bcachefs (loop0): check_allocations... done [ 104.760218][ T6048] bcachefs (loop0): going read-write [ 104.769028][ T6048] bcachefs (loop0): done starting filesystem [pid 6048] exit_group(0) = ? [pid 6048] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6048, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=23 /* 0.23 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, 0x55556b4f56f0 /* 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 [ 104.935961][ T5827] bcachefs (loop0): shutting down [ 104.941337][ T5827] bcachefs (loop0): going read-only [ 104.946578][ T5827] bcachefs (loop0): finished waiting for writes to stop [ 104.954301][ T5827] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3340 [ 104.966231][ T1134] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 104.979733][ T1134] bcachefs (loop0): fatal error - emergency read only [ 104.987727][ T5827] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3340 [ 104.997787][ T5827] bcachefs (loop0): unshutdown complete, journal seq 3340 [ 105.005848][ T5827] bcachefs (loop0): done going read-only, filesystem not clean [ 105.022400][ T5827] 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, 0x55556b4fd730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55556b4fd730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./19/file0") = 0 getdents64(3, 0x55556b4f56f0 /* 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 6059 attached [pid 6059] set_robust_list(0x55556b4f4660, 24) = 0 [pid 5827] <... clone resumed>, child_tidptr=0x55556b4f4650) = 6059 [pid 6059] chdir("./20") = 0 [pid 6059] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6059] setpgid(0, 0) = 0 [pid 6059] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6059] write(3, "1000", 4) = 4 [pid 6059] close(3) = 0 [pid 6059] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6059] write(1, "executing program\n", 18executing program ) = 18 [pid 6059] memfd_create("syzkaller", 0) = 3 [pid 6059] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe5d8600000 [pid 6059] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216 [pid 6059] munmap(0x7fe5d8600000, 138412032) = 0 [pid 6059] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6059] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6059] close(3) = 0 [pid 6059] close(4) = 0 [pid 6059] mkdir("./file0", 0777) = 0 [ 106.351921][ T6059] loop0: detected capacity change from 0 to 32768 [ 106.422896][ T6059] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 106.444015][ T6059] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 106.452330][ T6059] bcachefs (loop0): Version upgrade required: [ 106.452330][ T6059] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 106.452330][ T6059] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 106.452330][ T6059] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 106.525346][ T6059] bcachefs (loop0): dropping and reconstructing all alloc info [ 106.539670][ T6059] bcachefs (loop0): accounting_read... done [ 106.545906][ T6059] bcachefs (loop0): alloc_read... done [ 106.551494][ T6059] bcachefs (loop0): stripes_read... done [ 106.557181][ T6059] bcachefs (loop0): snapshots_read... done [pid 6059] 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 6059] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6059] chdir("./file0") = 0 [pid 6059] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6059] ioctl(4, LOOP_CLR_FD) = 0 [pid 6059] close(4) = 0 [ 106.563106][ T6059] bcachefs (loop0): check_allocations... done [ 106.580085][ T6059] bcachefs (loop0): going read-write [ 106.588314][ T6059] bcachefs (loop0): done starting filesystem [pid 6059] truncate("./file1", 61440) = 0 [pid 6059] exit_group(0) = ? [pid 6059] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6059, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=24 /* 0.24 s */} --- 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, 0x55556b4f56f0 /* 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 [ 106.769804][ T5827] bcachefs (loop0): shutting down [ 106.775083][ T5827] bcachefs (loop0): going read-only [ 106.780307][ T5827] bcachefs (loop0): finished waiting for writes to stop [ 106.787870][ T5827] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [ 106.799857][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 106.813032][ T35] bcachefs (loop0): fatal error - emergency read only [ 106.820126][ T5827] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3339 [ 106.830126][ T5827] bcachefs (loop0): unshutdown complete, journal seq 3339 [ 106.837948][ T5827] bcachefs (loop0): done going read-only, filesystem not clean [ 106.853954][ T5827] 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, 0x55556b4fd730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55556b4fd730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./20/file0") = 0 getdents64(3, 0x55556b4f56f0 /* 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(0x55556b4f4660, 24 [pid 5827] <... clone resumed>, child_tidptr=0x55556b4f4650) = 6070 [pid 6070] <... set_robust_list resumed>) = 0 [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) = 0x7fe5d8600000 [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(0x7fe5d8600000, 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 [ 108.118303][ T6070] loop0: detected capacity change from 0 to 32768 [ 108.189774][ 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 [ 108.211151][ T6070] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 108.219450][ T6070] bcachefs (loop0): Version upgrade required: [ 108.219450][ T6070] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 108.219450][ T6070] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 108.219450][ 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 [ 108.292574][ T6070] bcachefs (loop0): dropping and reconstructing all alloc info [ 108.308566][ T6070] bcachefs (loop0): accounting_read... done [ 108.314786][ T6070] bcachefs (loop0): alloc_read... done [ 108.320418][ T6070] bcachefs (loop0): stripes_read... done [ 108.326153][ 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=3 /* 0.03 s */, si_stime=24 /* 0.24 s */} --- 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, 0x55556b4f56f0 /* 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 [ 108.332180][ T6070] bcachefs (loop0): check_allocations... done [ 108.348908][ T6070] bcachefs (loop0): going read-write [ 108.356972][ T6070] bcachefs (loop0): done starting filesystem [ 108.400115][ T5827] bcachefs (loop0): shutting down [ 108.405460][ T5827] bcachefs (loop0): going read-only [ 108.411993][ T5827] bcachefs (loop0): finished waiting for writes to stop [ 108.419551][ T5827] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3340 [ 108.431760][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 108.445050][ T35] bcachefs (loop0): fatal error - emergency read only [ 108.452350][ T5827] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3340 [ 108.462299][ T5827] bcachefs (loop0): unshutdown complete, journal seq 3340 [ 108.469929][ T5827] bcachefs (loop0): done going read-only, filesystem not clean [ 108.487167][ T5827] 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, 0x55556b4fd730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55556b4fd730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./21/file0") = 0 getdents64(3, 0x55556b4f56f0 /* 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 6081 attached [pid 6081] set_robust_list(0x55556b4f4660, 24) = 0 [pid 6081] chdir("./22" [pid 5827] <... clone resumed>, child_tidptr=0x55556b4f4650) = 6081 [pid 6081] <... chdir resumed>) = 0 [pid 6081] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6081] setpgid(0, 0) = 0 [pid 6081] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6081] write(3, "1000", 4) = 4 [pid 6081] close(3) = 0 [pid 6081] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6081] write(1, "executing program\n", 18) = 18 [pid 6081] memfd_create("syzkaller", 0) = 3 [pid 6081] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe5d8600000 [pid 6081] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6081] munmap(0x7fe5d8600000, 138412032) = 0 [pid 6081] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6081] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6081] close(3) = 0 [pid 6081] close(4) = 0 [pid 6081] mkdir("./file0", 0777) = 0 [ 109.816570][ T6081] loop0: detected capacity change from 0 to 32768 [ 109.887761][ T6081] 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 [ 109.909002][ T6081] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 109.917595][ T6081] bcachefs (loop0): Version upgrade required: [ 109.917595][ T6081] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 109.917595][ T6081] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 109.917595][ T6081] 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.990397][ T6081] bcachefs (loop0): dropping and reconstructing all alloc info [ 110.005357][ T6081] bcachefs (loop0): accounting_read... done [ 110.011931][ T6081] bcachefs (loop0): alloc_read... done [ 110.017526][ T6081] bcachefs (loop0): stripes_read... done [ 110.023289][ T6081] bcachefs (loop0): snapshots_read... done [pid 6081] 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 6081] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6081] chdir("./file0") = 0 [ 110.029278][ T6081] bcachefs (loop0): check_allocations... done [ 110.047153][ T6081] bcachefs (loop0): going read-write [ 110.055672][ T6081] bcachefs (loop0): done starting filesystem [pid 6081] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6081] ioctl(4, LOOP_CLR_FD) = 0 [pid 6081] close(4) = 0 [pid 6081] truncate("./file1", 61440) = 0 [pid 6081] exit_group(0) = ? [pid 6081] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6081, si_uid=0, si_status=0, si_utime=0, 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, 0x55556b4f56f0 /* 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 [ 110.256936][ T5827] bcachefs (loop0): shutting down [ 110.262044][ T5827] bcachefs (loop0): going read-only [ 110.267323][ T5827] bcachefs (loop0): finished waiting for writes to stop [ 110.274750][ T5827] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [ 110.286401][ T1134] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 110.299673][ T1134] bcachefs (loop0): fatal error - emergency read only [ 110.307408][ T5827] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3339 [ 110.317462][ T5827] bcachefs (loop0): unshutdown complete, journal seq 3339 [ 110.325587][ T5827] bcachefs (loop0): done going read-only, filesystem not clean [ 110.341549][ T5827] 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, 0x55556b4fd730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55556b4fd730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./22/file0") = 0 getdents64(3, 0x55556b4f56f0 /* 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 6092 attached [pid 6092] set_robust_list(0x55556b4f4660, 24 [pid 5827] <... clone resumed>, child_tidptr=0x55556b4f4650) = 6092 [pid 6092] <... set_robust_list resumed>) = 0 [pid 6092] chdir("./23") = 0 [pid 6092] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6092] setpgid(0, 0) = 0 [pid 6092] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6092] write(3, "1000", 4) = 4 [pid 6092] close(3) = 0 [pid 6092] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6092] write(1, "executing program\n", 18) = 18 [pid 6092] memfd_create("syzkaller", 0) = 3 [pid 6092] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe5d8600000 [pid 6092] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6092] munmap(0x7fe5d8600000, 138412032) = 0 [pid 6092] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6092] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6092] close(3) = 0 [pid 6092] close(4) = 0 [pid 6092] mkdir("./file0", 0777) = 0 [ 111.651830][ T6092] loop0: detected capacity change from 0 to 32768 [ 111.728941][ T6092] 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 [ 111.750573][ T6092] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 111.758985][ T6092] bcachefs (loop0): Version upgrade required: [ 111.758985][ T6092] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 111.758985][ T6092] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 111.758985][ T6092] 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 [ 111.831034][ T6092] bcachefs (loop0): dropping and reconstructing all alloc info [ 111.845885][ T6092] bcachefs (loop0): accounting_read... done [ 111.852086][ T6092] bcachefs (loop0): alloc_read... done [ 111.857613][ T6092] bcachefs (loop0): stripes_read... done [ 111.863376][ T6092] bcachefs (loop0): snapshots_read... done [pid 6092] 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 6092] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6092] chdir("./file0") = 0 [pid 6092] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6092] ioctl(4, LOOP_CLR_FD) = 0 [pid 6092] close(4) = 0 [pid 6092] truncate("./file1", 61440) = 0 [pid 6092] exit_group(0) = ? [pid 6092] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6092, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=24 /* 0.24 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 [ 111.869254][ T6092] bcachefs (loop0): check_allocations... done [ 111.885765][ T6092] bcachefs (loop0): going read-write [ 111.893804][ T6092] bcachefs (loop0): done starting filesystem 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, 0x55556b4f56f0 /* 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 [ 112.035066][ T5827] bcachefs (loop0): shutting down [ 112.040126][ T5827] bcachefs (loop0): going read-only [ 112.045920][ T5827] bcachefs (loop0): finished waiting for writes to stop [ 112.054185][ T5827] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3340 [ 112.066057][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 112.078956][ T11] bcachefs (loop0): fatal error - emergency read only [ 112.086523][ T5827] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3340 [ 112.096483][ T5827] bcachefs (loop0): unshutdown complete, journal seq 3340 [ 112.104417][ T5827] bcachefs (loop0): done going read-only, filesystem not clean [ 112.120042][ T5827] 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, 0x55556b4fd730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55556b4fd730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./23/file0") = 0 getdents64(3, 0x55556b4f56f0 /* 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 6103 attached [pid 6103] set_robust_list(0x55556b4f4660, 24) = 0 [pid 5827] <... clone resumed>, child_tidptr=0x55556b4f4650) = 6103 [pid 6103] chdir("./24") = 0 [pid 6103] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6103] setpgid(0, 0) = 0 [pid 6103] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6103] write(3, "1000", 4) = 4 [pid 6103] close(3) = 0 [pid 6103] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6103] write(1, "executing program\n", 18executing program ) = 18 [pid 6103] memfd_create("syzkaller", 0) = 3 [pid 6103] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe5d8600000 [pid 6103] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6103] munmap(0x7fe5d8600000, 138412032) = 0 [pid 6103] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6103] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6103] close(3) = 0 [pid 6103] close(4) = 0 [pid 6103] mkdir("./file0", 0777) = 0 [ 113.487759][ T6103] loop0: detected capacity change from 0 to 32768 [ 113.565917][ T6103] 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 [ 113.587230][ T6103] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 113.595598][ T6103] bcachefs (loop0): Version upgrade required: [ 113.595598][ T6103] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 113.595598][ T6103] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 113.595598][ T6103] 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 [ 113.667593][ T6103] bcachefs (loop0): dropping and reconstructing all alloc info [ 113.683080][ T6103] bcachefs (loop0): accounting_read... done [ 113.689185][ T6103] bcachefs (loop0): alloc_read... done [ 113.694988][ T6103] bcachefs (loop0): stripes_read... done [ 113.700706][ T6103] bcachefs (loop0): snapshots_read... done [pid 6103] 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 6103] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6103] chdir("./file0") = 0 [pid 6103] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6103] ioctl(4, LOOP_CLR_FD) = 0 [pid 6103] close(4) = 0 [ 113.706780][ T6103] bcachefs (loop0): check_allocations... done [ 113.723615][ T6103] bcachefs (loop0): going read-write [ 113.731585][ T6103] bcachefs (loop0): done starting filesystem [pid 6103] truncate("./file1", 61440) = 0 [pid 6103] exit_group(0) = ? [pid 6103] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6103, si_uid=0, si_status=0, si_utime=0, si_stime=26 /* 0.26 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, 0x55556b4f56f0 /* 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 [ 113.873429][ T5827] bcachefs (loop0): shutting down [ 113.878495][ T5827] bcachefs (loop0): going read-only [ 113.884196][ T5827] bcachefs (loop0): finished waiting for writes to stop [ 113.892837][ T5827] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3340 [ 113.904945][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 113.918081][ T11] bcachefs (loop0): fatal error - emergency read only [ 113.925428][ T5827] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3340 [ 113.935438][ T5827] bcachefs (loop0): unshutdown complete, journal seq 3340 [ 113.943309][ T5827] bcachefs (loop0): done going read-only, filesystem not clean [ 113.959133][ T5827] 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, 0x55556b4fd730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55556b4fd730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./24/file0") = 0 getdents64(3, 0x55556b4f56f0 /* 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 6114 attached [pid 6114] set_robust_list(0x55556b4f4660, 24) = 0 [pid 5827] <... clone resumed>, child_tidptr=0x55556b4f4650) = 6114 [pid 6114] chdir("./25") = 0 [pid 6114] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6114] setpgid(0, 0) = 0 [pid 6114] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6114] write(3, "1000", 4) = 4 [pid 6114] close(3) = 0 [pid 6114] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6114] write(1, "executing program\n", 18) = 18 [pid 6114] memfd_create("syzkaller", 0) = 3 [pid 6114] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe5d8600000 [pid 6114] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6114] munmap(0x7fe5d8600000, 138412032) = 0 [pid 6114] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6114] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6114] close(3) = 0 [pid 6114] close(4) = 0 [pid 6114] mkdir("./file0", 0777) = 0 [ 115.316114][ T6114] loop0: detected capacity change from 0 to 32768 [ 115.385745][ T6114] 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 [ 115.407853][ T6114] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 115.416274][ T6114] bcachefs (loop0): Version upgrade required: [ 115.416274][ T6114] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 115.416274][ T6114] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 115.416274][ T6114] 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 [ 115.488447][ T6114] bcachefs (loop0): dropping and reconstructing all alloc info [ 115.502846][ T6114] bcachefs (loop0): accounting_read... done [ 115.508984][ T6114] bcachefs (loop0): alloc_read... done [ 115.514674][ T6114] bcachefs (loop0): stripes_read... done [ 115.520375][ T6114] bcachefs (loop0): snapshots_read... done [pid 6114] 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 6114] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6114] chdir("./file0") = 0 [pid 6114] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6114] ioctl(4, LOOP_CLR_FD) = 0 [pid 6114] close(4) = 0 [pid 6114] truncate("./file1", 61440) = 0 [pid 6114] exit_group(0) = ? [pid 6114] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6114, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=22 /* 0.22 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 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, 0x55556b4f56f0 /* 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 [ 115.526284][ T6114] bcachefs (loop0): check_allocations... done [ 115.543456][ T6114] bcachefs (loop0): going read-write [ 115.551647][ T6114] bcachefs (loop0): done starting filesystem [ 115.596245][ T5827] bcachefs (loop0): shutting down [ 115.601427][ T5827] bcachefs (loop0): going read-only [ 115.606646][ T5827] bcachefs (loop0): finished waiting for writes to stop [ 115.614637][ T5827] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3340 [ 115.626825][ T1080] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 115.640002][ T1080] bcachefs (loop0): fatal error - emergency read only [ 115.647353][ T5827] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3340 [ 115.657290][ T5827] bcachefs (loop0): unshutdown complete, journal seq 3340 [ 115.665156][ T5827] bcachefs (loop0): done going read-only, filesystem not clean [ 115.681013][ T5827] 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, 0x55556b4fd730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55556b4fd730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./25/file0") = 0 getdents64(3, 0x55556b4f56f0 /* 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 6125 attached , child_tidptr=0x55556b4f4650) = 6125 [pid 6125] set_robust_list(0x55556b4f4660, 24) = 0 [pid 6125] chdir("./26") = 0 [pid 6125] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6125] setpgid(0, 0) = 0 [pid 6125] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6125] write(3, "1000", 4) = 4 [pid 6125] close(3) = 0 [pid 6125] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6125] write(1, "executing program\n", 18executing program ) = 18 [pid 6125] memfd_create("syzkaller", 0) = 3 [pid 6125] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe5d8600000 [pid 6125] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6125] munmap(0x7fe5d8600000, 138412032) = 0 [pid 6125] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6125] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6125] close(3) = 0 [pid 6125] close(4) = 0 [pid 6125] mkdir("./file0", 0777) = 0 [ 117.001078][ T6125] loop0: detected capacity change from 0 to 32768 [ 117.056407][ T6125] 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 [ 117.077749][ T6125] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 117.086193][ T6125] bcachefs (loop0): Version upgrade required: [ 117.086193][ T6125] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 117.086193][ T6125] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 117.086193][ T6125] 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 [ 117.158414][ T6125] bcachefs (loop0): dropping and reconstructing all alloc info [ 117.174085][ T6125] bcachefs (loop0): accounting_read... done [ 117.180178][ T6125] bcachefs (loop0): alloc_read... done [ 117.185750][ T6125] bcachefs (loop0): stripes_read... done [ 117.191493][ T6125] bcachefs (loop0): snapshots_read... done [pid 6125] 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 6125] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6125] chdir("./file0") = 0 [pid 6125] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6125] ioctl(4, LOOP_CLR_FD) = 0 [pid 6125] close(4) = 0 [ 117.197343][ T6125] bcachefs (loop0): check_allocations... done [ 117.214201][ T6125] bcachefs (loop0): going read-write [ 117.222384][ T6125] bcachefs (loop0): done starting filesystem [pid 6125] truncate("./file1", 61440) = 0 [pid 6125] exit_group(0) = ? [pid 6125] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6125, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=21 /* 0.21 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 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, 0x55556b4f56f0 /* 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 [ 117.388883][ T5827] bcachefs (loop0): shutting down [ 117.394105][ T5827] bcachefs (loop0): going read-only [ 117.399326][ T5827] bcachefs (loop0): finished waiting for writes to stop [ 117.406785][ T5827] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [ 117.418404][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 117.431660][ T11] bcachefs (loop0): fatal error - emergency read only [ 117.438754][ T5827] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3339 [ 117.448775][ T5827] bcachefs (loop0): unshutdown complete, journal seq 3339 [ 117.456640][ T5827] bcachefs (loop0): done going read-only, filesystem not clean [ 117.472339][ T5827] 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, 0x55556b4fd730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55556b4fd730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./26/file0") = 0 getdents64(3, 0x55556b4f56f0 /* 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 6136 attached , child_tidptr=0x55556b4f4650) = 6136 [pid 6136] set_robust_list(0x55556b4f4660, 24) = 0 [pid 6136] chdir("./27") = 0 [pid 6136] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6136] setpgid(0, 0) = 0 [pid 6136] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6136] write(3, "1000", 4) = 4 [pid 6136] close(3) = 0 [pid 6136] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6136] write(1, "executing program\n", 18executing program ) = 18 [pid 6136] memfd_create("syzkaller", 0) = 3 [pid 6136] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe5d8600000 [pid 6136] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6136] munmap(0x7fe5d8600000, 138412032) = 0 [pid 6136] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6136] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6136] close(3) = 0 [pid 6136] close(4) = 0 [pid 6136] mkdir("./file0", 0777) = 0 [ 118.804832][ T6136] loop0: detected capacity change from 0 to 32768 [ 118.882308][ T6136] 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.903574][ T6136] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 118.912317][ T6136] bcachefs (loop0): Version upgrade required: [ 118.912317][ T6136] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 118.912317][ T6136] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 118.912317][ T6136] 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.984784][ T6136] bcachefs (loop0): dropping and reconstructing all alloc info [ 118.999320][ T6136] bcachefs (loop0): accounting_read... done [ 119.005602][ T6136] bcachefs (loop0): alloc_read... done [ 119.011204][ T6136] bcachefs (loop0): stripes_read... done [ 119.016912][ T6136] bcachefs (loop0): snapshots_read... done [pid 6136] 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 6136] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6136] chdir("./file0") = 0 [pid 6136] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6136] ioctl(4, LOOP_CLR_FD) = 0 [pid 6136] close(4) = 0 [ 119.022850][ T6136] bcachefs (loop0): check_allocations... done [ 119.040086][ T6136] bcachefs (loop0): going read-write [ 119.048357][ T6136] bcachefs (loop0): done starting filesystem [pid 6136] truncate("./file1", 61440) = 0 [pid 6136] exit_group(0) = ? [pid 6136] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6136, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=24 /* 0.24 s */} --- 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, 0x55556b4f56f0 /* 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 [ 119.218338][ T5827] bcachefs (loop0): shutting down [ 119.223567][ T5827] bcachefs (loop0): going read-only [ 119.228762][ T5827] bcachefs (loop0): finished waiting for writes to stop [ 119.236320][ T5827] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [ 119.248332][ T35] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 119.261517][ T35] bcachefs (loop0): fatal error - emergency read only [ 119.268628][ T5827] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3339 [ 119.278690][ T5827] bcachefs (loop0): unshutdown complete, journal seq 3339 [ 119.286569][ T5827] bcachefs (loop0): done going read-only, filesystem not clean [ 119.303143][ T5827] 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, 0x55556b4fd730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55556b4fd730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./27/file0") = 0 getdents64(3, 0x55556b4f56f0 /* 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 6147 attached [pid 6147] set_robust_list(0x55556b4f4660, 24 [pid 5827] <... clone resumed>, child_tidptr=0x55556b4f4650) = 6147 [pid 6147] <... set_robust_list resumed>) = 0 [pid 6147] chdir("./28") = 0 [pid 6147] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6147] setpgid(0, 0) = 0 [pid 6147] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6147] write(3, "1000", 4) = 4 [pid 6147] close(3) = 0 [pid 6147] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6147] write(1, "executing program\n", 18) = 18 [pid 6147] memfd_create("syzkaller", 0) = 3 [pid 6147] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe5d8600000 [pid 6147] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6147] munmap(0x7fe5d8600000, 138412032) = 0 [pid 6147] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6147] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6147] close(3) = 0 [pid 6147] close(4) = 0 [pid 6147] mkdir("./file0", 0777) = 0 [ 120.584569][ T6147] loop0: detected capacity change from 0 to 32768 [ 120.660315][ T6147] 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 [ 120.681732][ T6147] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 120.689896][ T6147] bcachefs (loop0): Version upgrade required: [ 120.689896][ T6147] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 120.689896][ T6147] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 120.689896][ T6147] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 120.762517][ T6147] bcachefs (loop0): dropping and reconstructing all alloc info [ 120.776875][ T6147] bcachefs (loop0): accounting_read... done [ 120.783056][ T6147] bcachefs (loop0): alloc_read... done [ 120.788605][ T6147] bcachefs (loop0): stripes_read... done [ 120.794372][ T6147] bcachefs (loop0): snapshots_read... done [pid 6147] 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 6147] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6147] chdir("./file0") = 0 [ 120.800248][ T6147] bcachefs (loop0): check_allocations... done [ 120.817257][ T6147] bcachefs (loop0): going read-write [ 120.825754][ T6147] bcachefs (loop0): done starting filesystem [pid 6147] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6147] ioctl(4, LOOP_CLR_FD) = 0 [pid 6147] close(4) = 0 [pid 6147] truncate("./file1", 61440) = 0 [pid 6147] exit_group(0) = ? [pid 6147] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6147, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=19 /* 0.19 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, 0x55556b4f56f0 /* 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 [ 121.062020][ T5827] bcachefs (loop0): shutting down [ 121.067099][ T5827] bcachefs (loop0): going read-only [ 121.072651][ T5827] bcachefs (loop0): finished waiting for writes to stop [ 121.080281][ T5827] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [ 121.093246][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 121.106274][ T11] bcachefs (loop0): fatal error - emergency read only [ 121.113772][ T5827] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3339 [ 121.123749][ T5827] bcachefs (loop0): unshutdown complete, journal seq 3339 [ 121.131587][ T5827] bcachefs (loop0): done going read-only, filesystem not clean [ 121.146719][ T5827] 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, 0x55556b4fd730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55556b4fd730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./28/file0") = 0 getdents64(3, 0x55556b4f56f0 /* 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 6158 attached , child_tidptr=0x55556b4f4650) = 6158 [pid 6158] set_robust_list(0x55556b4f4660, 24) = 0 [pid 6158] chdir("./29") = 0 [pid 6158] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6158] setpgid(0, 0) = 0 [pid 6158] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6158] write(3, "1000", 4) = 4 [pid 6158] close(3) = 0 [pid 6158] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6158] write(1, "executing program\n", 18executing program ) = 18 [pid 6158] memfd_create("syzkaller", 0) = 3 [pid 6158] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe5d8600000 [pid 6158] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6158] munmap(0x7fe5d8600000, 138412032) = 0 [pid 6158] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6158] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6158] close(3) = 0 [pid 6158] close(4) = 0 [pid 6158] mkdir("./file0", 0777) = 0 [ 122.584209][ T6158] loop0: detected capacity change from 0 to 32768 [ 122.647834][ T6158] 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 [ 122.669435][ T6158] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 122.677719][ T6158] bcachefs (loop0): Version upgrade required: [ 122.677719][ T6158] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 122.677719][ T6158] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 122.677719][ T6158] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 122.749734][ T6158] bcachefs (loop0): dropping and reconstructing all alloc info [ 122.765041][ T6158] bcachefs (loop0): accounting_read... done [ 122.771305][ T6158] bcachefs (loop0): alloc_read... done [ 122.776879][ T6158] bcachefs (loop0): stripes_read... done [ 122.782658][ T6158] bcachefs (loop0): snapshots_read... done [pid 6158] 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 6158] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6158] chdir("./file0") = 0 [pid 6158] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6158] ioctl(4, LOOP_CLR_FD) = 0 [pid 6158] close(4) = 0 [ 122.788535][ T6158] bcachefs (loop0): check_allocations... done [ 122.805541][ T6158] bcachefs (loop0): going read-write [ 122.813405][ T6158] bcachefs (loop0): done starting filesystem [pid 6158] truncate("./file1", 61440) = 0 [pid 6158] exit_group(0) = ? [pid 6158] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6158, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=22 /* 0.22 s */} --- 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, 0x55556b4f56f0 /* 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 [ 122.990723][ T5827] bcachefs (loop0): shutting down [ 122.995978][ T5827] bcachefs (loop0): going read-only [ 123.001381][ T5827] bcachefs (loop0): finished waiting for writes to stop [ 123.008807][ T5827] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [ 123.020869][ T1080] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 123.033894][ T1080] bcachefs (loop0): fatal error - emergency read only [ 123.041540][ T5827] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3339 [ 123.051464][ T5827] bcachefs (loop0): unshutdown complete, journal seq 3339 [ 123.059103][ T5827] bcachefs (loop0): done going read-only, filesystem not clean [ 123.074808][ T5827] 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, 0x55556b4fd730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55556b4fd730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./29/file0") = 0 getdents64(3, 0x55556b4f56f0 /* 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 6169 attached , child_tidptr=0x55556b4f4650) = 6169 [pid 6169] set_robust_list(0x55556b4f4660, 24) = 0 [pid 6169] chdir("./30") = 0 [pid 6169] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6169] setpgid(0, 0) = 0 [pid 6169] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6169] write(3, "1000", 4) = 4 [pid 6169] close(3) = 0 [pid 6169] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6169] write(1, "executing program\n", 18) = 18 [pid 6169] memfd_create("syzkaller", 0) = 3 [pid 6169] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe5d8600000 [pid 6169] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6169] munmap(0x7fe5d8600000, 138412032) = 0 [pid 6169] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6169] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6169] close(3) = 0 [pid 6169] close(4) = 0 [pid 6169] mkdir("./file0", 0777) = 0 [ 124.420123][ T6169] loop0: detected capacity change from 0 to 32768 [ 124.489974][ T6169] 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 [ 124.511140][ T6169] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 124.519373][ T6169] bcachefs (loop0): Version upgrade required: [ 124.519373][ T6169] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 124.519373][ T6169] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 124.519373][ T6169] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 124.592234][ T6169] bcachefs (loop0): dropping and reconstructing all alloc info [ 124.606787][ T6169] bcachefs (loop0): accounting_read... done [ 124.612977][ T6169] bcachefs (loop0): alloc_read... done [ 124.618523][ T6169] bcachefs (loop0): stripes_read... done [ 124.624264][ T6169] bcachefs (loop0): snapshots_read... done [pid 6169] 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 6169] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6169] chdir("./file0") = 0 [ 124.630136][ T6169] bcachefs (loop0): check_allocations... done [ 124.647161][ T6169] bcachefs (loop0): going read-write [ 124.655645][ T6169] bcachefs (loop0): done starting filesystem [pid 6169] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6169] ioctl(4, LOOP_CLR_FD) = 0 [pid 6169] close(4) = 0 [pid 6169] truncate("./file1", 61440) = 0 [pid 6169] exit_group(0) = ? [pid 6169] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6169, 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("./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, 0x55556b4f56f0 /* 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 [ 124.863263][ T5827] bcachefs (loop0): shutting down [ 124.868314][ T5827] bcachefs (loop0): going read-only [ 124.873800][ T5827] bcachefs (loop0): finished waiting for writes to stop [ 124.881861][ T5827] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [ 124.893694][ T1080] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 124.906804][ T1080] bcachefs (loop0): fatal error - emergency read only [ 124.914708][ T5827] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3339 [ 124.924791][ T5827] bcachefs (loop0): unshutdown complete, journal seq 3339 [ 124.932700][ T5827] bcachefs (loop0): done going read-only, filesystem not clean [ 124.948618][ T5827] 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, 0x55556b4fd730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55556b4fd730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./30/file0") = 0 getdents64(3, 0x55556b4f56f0 /* 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 6180 attached , child_tidptr=0x55556b4f4650) = 6180 [pid 6180] set_robust_list(0x55556b4f4660, 24) = 0 [pid 6180] chdir("./31") = 0 [pid 6180] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6180] setpgid(0, 0) = 0 [pid 6180] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6180] write(3, "1000", 4) = 4 [pid 6180] close(3) = 0 [pid 6180] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6180] write(1, "executing program\n", 18) = 18 [pid 6180] memfd_create("syzkaller", 0) = 3 [pid 6180] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe5d8600000 [pid 6180] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6180] munmap(0x7fe5d8600000, 138412032) = 0 [pid 6180] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6180] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6180] close(3) = 0 [pid 6180] close(4) = 0 [pid 6180] mkdir("./file0", 0777) = 0 [ 126.229437][ T6180] loop0: detected capacity change from 0 to 32768 [ 126.298644][ T6180] 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 [ 126.320062][ T6180] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 126.328684][ T6180] bcachefs (loop0): Version upgrade required: [ 126.328684][ T6180] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 126.328684][ T6180] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 126.328684][ T6180] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 126.401246][ T6180] bcachefs (loop0): dropping and reconstructing all alloc info [ 126.415913][ T6180] bcachefs (loop0): accounting_read... done [ 126.422154][ T6180] bcachefs (loop0): alloc_read... done [ 126.427741][ T6180] bcachefs (loop0): stripes_read... done [ 126.433463][ T6180] bcachefs (loop0): snapshots_read... done [pid 6180] 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 6180] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6180] chdir("./file0") = 0 [pid 6180] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6180] ioctl(4, LOOP_CLR_FD) = 0 [pid 6180] close(4) = 0 [pid 6180] truncate("./file1", 61440) = 0 [pid 6180] exit_group(0) = ? [pid 6180] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6180, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=26 /* 0.26 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./31", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 126.439333][ T6180] bcachefs (loop0): check_allocations... done [ 126.456022][ T6180] bcachefs (loop0): going read-write [ 126.464416][ T6180] bcachefs (loop0): done starting filesystem 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, 0x55556b4f56f0 /* 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 [ 126.600688][ T5827] bcachefs (loop0): shutting down [ 126.605895][ T5827] bcachefs (loop0): going read-only [ 126.611186][ T5827] bcachefs (loop0): finished waiting for writes to stop [ 126.618944][ T5827] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [ 126.631032][ T11] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 126.644090][ T11] bcachefs (loop0): fatal error - emergency read only [ 126.651990][ T5827] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3339 [ 126.662360][ T5827] bcachefs (loop0): unshutdown complete, journal seq 3339 [ 126.669992][ T5827] bcachefs (loop0): done going read-only, filesystem not clean [ 126.686239][ T5827] 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, 0x55556b4fd730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55556b4fd730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./31/file0") = 0 getdents64(3, 0x55556b4f56f0 /* 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 6191 attached [pid 6191] set_robust_list(0x55556b4f4660, 24 [pid 5827] <... clone resumed>, child_tidptr=0x55556b4f4650) = 6191 [pid 6191] <... set_robust_list resumed>) = 0 [pid 6191] chdir("./32") = 0 [pid 6191] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6191] setpgid(0, 0) = 0 [pid 6191] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6191] write(3, "1000", 4) = 4 [pid 6191] close(3) = 0 [pid 6191] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 6191] write(1, "executing program\n", 18) = 18 [pid 6191] memfd_create("syzkaller", 0) = 3 [pid 6191] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe5d8600000 [pid 6191] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6191] munmap(0x7fe5d8600000, 138412032) = 0 [pid 6191] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6191] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6191] close(3) = 0 [pid 6191] close(4) = 0 [pid 6191] mkdir("./file0", 0777) = 0 [ 128.130981][ T6191] loop0: detected capacity change from 0 to 32768 [ 128.212834][ T6191] 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 [ 128.233967][ T6191] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 128.242335][ T6191] bcachefs (loop0): Version upgrade required: [ 128.242335][ T6191] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 128.242335][ T6191] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 128.242335][ T6191] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 128.314568][ T6191] bcachefs (loop0): dropping and reconstructing all alloc info [ 128.329026][ T6191] bcachefs (loop0): accounting_read... done [ 128.335203][ T6191] bcachefs (loop0): alloc_read... done [ 128.340860][ T6191] bcachefs (loop0): stripes_read... done [ 128.346541][ T6191] bcachefs (loop0): snapshots_read... done [pid 6191] 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 6191] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6191] chdir("./file0") = 0 [pid 6191] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6191] ioctl(4, LOOP_CLR_FD) = 0 [pid 6191] close(4) = 0 [pid 6191] truncate("./file1", 61440) = 0 [pid 6191] exit_group(0) = ? [ 128.352490][ T6191] bcachefs (loop0): check_allocations... done [ 128.368907][ T6191] bcachefs (loop0): going read-write [ 128.377505][ T6191] bcachefs (loop0): done starting filesystem [pid 6191] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6191, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=25 /* 0.25 s */} --- 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, 0x55556b4f56f0 /* 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 [ 128.555981][ T5827] bcachefs (loop0): shutting down [ 128.561226][ T5827] bcachefs (loop0): going read-only [ 128.566446][ T5827] bcachefs (loop0): finished waiting for writes to stop [ 128.573944][ T5827] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [ 128.585211][ T1134] bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock write was silently dropped! (seq 0 expected 53) [ 128.598829][ T1134] bcachefs (loop0): fatal error - emergency read only [ 128.606700][ T5827] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3339 [ 128.616652][ T5827] bcachefs (loop0): unshutdown complete, journal seq 3339 [ 128.624460][ T5827] bcachefs (loop0): done going read-only, filesystem not clean [ 128.639981][ T5827] 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, 0x55556b4fd730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55556b4fd730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./32/file0") = 0 getdents64(3, 0x55556b4f56f0 /* 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 6202 attached [pid 6202] set_robust_list(0x55556b4f4660, 24) = 0 [pid 5827] <... clone resumed>, child_tidptr=0x55556b4f4650) = 6202 [pid 6202] chdir("./33") = 0 [pid 6202] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6202] setpgid(0, 0) = 0 [pid 6202] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6202] write(3, "1000", 4) = 4 [pid 6202] close(3) = 0 [pid 6202] symlink("/dev/binderfs", "./binderfs") = 0 [pid 6202] write(1, "executing program\n", 18executing program ) = 18 [pid 6202] memfd_create("syzkaller", 0) = 3 [pid 6202] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe5d8600000 [pid 6202] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 6202] munmap(0x7fe5d8600000, 138412032) = 0 [pid 6202] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6202] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6202] close(3) = 0 [pid 6202] close(4) = 0 [pid 6202] mkdir("./file0", 0777) = 0 [ 129.821262][ T6202] loop0: detected capacity change from 0 to 32768 [ 129.909535][ T6202] 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 [ 129.930742][ T6202] bcachefs (loop0): recovering from clean shutdown, journal seq 3338 [ 129.938976][ T6202] bcachefs (loop0): Version upgrade required: [ 129.938976][ T6202] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 129.938976][ T6202] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 129.938976][ T6202] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 130.011173][ T6202] bcachefs (loop0): dropping and reconstructing all alloc info [ 130.025790][ T6202] bcachefs (loop0): accounting_read... done [ 130.032236][ T6202] bcachefs (loop0): alloc_read... done [ 130.037774][ T6202] bcachefs (loop0): stripes_read... done [ 130.043546][ T6202] bcachefs (loop0): snapshots_read... done [pid 6202] 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 6202] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 6202] chdir("./file0") = 0 [pid 6202] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 130.049421][ T6202] bcachefs (loop0): check_allocations... done [ 130.065852][ T6202] bcachefs (loop0): going read-write [ 130.073938][ T6202] bcachefs (loop0): done starting filesystem [pid 6202] ioctl(4, LOOP_CLR_FD) = 0 [pid 6202] close(4) = 0 [pid 6202] truncate("./file1", 61440) = 0 [pid 6202] exit_group(0) = ? [pid 6202] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6202, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=25 /* 0.25 s */} --- 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, 0x55556b4f56f0 /* 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 [ 130.177113][ T5827] bcachefs (loop0): shutting down [ 130.182511][ T5827] bcachefs (loop0): going read-only [ 130.187713][ T5827] bcachefs (loop0): finished waiting for writes to stop [ 130.195385][ T5827] bcachefs (loop0): flushing journal and stopping allocators, journal seq 3339 [ 130.212241][ T5827] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 3340 [ 130.223661][ T5827] bcachefs (loop0): unshutdown complete, journal seq 3341 [ 130.231807][ T5827] bcachefs (loop0): done going read-only, filesystem not clean [ 130.247442][ T5827] bcachefs (loop0): shutdown complete [ 130.934211][ T5827] ------------[ cut here ]------------ [ 130.941589][ T5827] kernel BUG at fs/bcachefs/btree_cache.c:614! [ 130.948018][ T5827] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI [ 130.954978][ T5827] CPU: 1 UID: 0 PID: 5827 Comm: syz-executor203 Not tainted 6.12.0-rc6-syzkaller-00192-gf1dce1f09380 #0 [ 130.966198][ T5827] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 [ 130.976279][ T5827] RIP: 0010:bch2_fs_btree_cache_exit+0x1521/0x1530 [ 130.982782][ T5827] 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 [ 131.002402][ T5827] RSP: 0018:ffffc90003ca7b18 EFLAGS: 00010293 [ 131.008464][ T5827] RAX: ffffffff8410c1b0 RBX: 0000000000000002 RCX: ffff888032b70000 [ 131.016425][ T5827] RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000 [ 131.024387][ T5827] RBP: ffff88803192c800 R08: ffffffff8410b85c R09: 1ffff1100e0903b6 [ 131.032347][ T5827] R10: dffffc0000000000 R11: ffffed100e0903b7 R12: ffff88803192ca28 [ 131.040305][ T5827] R13: dffffc0000000000 R14: ffff888070481c78 R15: ffff888070480000 [ 131.048269][ T5827] FS: 000055556b4f4380(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 [ 131.057201][ T5827] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 131.063773][ T5827] CR2: 00007fe5e0b09130 CR3: 000000007c99a000 CR4: 00000000003526f0 [ 131.071754][ T5827] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 131.079717][ T5827] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 131.087680][ T5827] Call Trace: [ 131.090955][ T5827] [ 131.093875][ T5827] ? __die_body+0x5f/0xb0 [ 131.098369][ T5827] ? die+0x9e/0xc0 [ 131.102081][ T5827] ? do_trap+0x15a/0x3a0 [ 131.106322][ T5827] ? bch2_fs_btree_cache_exit+0x1521/0x1530 [ 131.112223][ T5827] ? do_error_trap+0x1dc/0x2c0 [ 131.117368][ T5827] ? bch2_fs_btree_cache_exit+0x1521/0x1530 [ 131.123284][ T5827] ? __pfx_do_error_trap+0x10/0x10 [ 131.128395][ T5827] ? handle_invalid_op+0x34/0x40 [ 131.133365][ T5827] ? bch2_fs_btree_cache_exit+0x1521/0x1530 [ 131.139385][ T5827] ? exc_invalid_op+0x38/0x50 [ 131.144076][ T5827] ? asm_exc_invalid_op+0x1a/0x20 [ 131.149110][ T5827] ? bch2_fs_btree_cache_exit+0xbcc/0x1530 [ 131.154913][ T5827] ? bch2_fs_btree_cache_exit+0x1520/0x1530 [ 131.160802][ T5827] ? bch2_fs_btree_cache_exit+0x1521/0x1530 [ 131.166689][ T5827] ? bch2_fs_btree_cache_exit+0x1520/0x1530 [ 131.172575][ T5827] bch2_fs_release+0x20e/0x7d0 [ 131.177396][ T5827] ? kobject_put+0x44d/0x480 [ 131.182010][ T5827] kobject_put+0x22f/0x480 [ 131.186517][ T5827] deactivate_locked_super+0xc4/0x130 [ 131.191905][ T5827] cleanup_mnt+0x41f/0x4b0 [ 131.196435][ T5827] ? lockdep_hardirqs_on+0x99/0x150 [ 131.201729][ T5827] task_work_run+0x24f/0x310 [ 131.206313][ T5827] ? __pfx_task_work_run+0x10/0x10 [ 131.211470][ T5827] ? path_umount+0x284/0xf70 [ 131.216141][ T5827] ptrace_notify+0x2d2/0x380 [ 131.220721][ T5827] ? __pfx_path_umount+0x10/0x10 [ 131.225651][ T5827] ? __pfx_ptrace_notify+0x10/0x10 [ 131.230761][ T5827] ? __x64_sys_umount+0x123/0x170 [ 131.235779][ T5827] ? __pfx___x64_sys_umount+0x10/0x10 [ 131.241576][ T5827] syscall_exit_work+0xc6/0x190 [ 131.246419][ T5827] syscall_exit_to_user_mode+0x279/0x370 [ 131.252054][ T5827] do_syscall_64+0x100/0x230 [ 131.256656][ T5827] ? clear_bhb_loop+0x35/0x90 [ 131.261326][ T5827] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 131.267210][ T5827] RIP: 0033:0x7fe5e0a8d347 [ 131.271629][ T5827] 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 [ 131.291661][ T5827] RSP: 002b:00007ffcd9a62748 EFLAGS: 00000206 ORIG_RAX: 00000000000000a6 [ 131.300093][ T5827] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fe5e0a8d347 [ 131.308058][ T5827] RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffcd9a62800 [ 131.316198][ T5827] RBP: 00007ffcd9a62800 R08: 0000000000000000 R09: 0000000000000000 [ 131.324165][ T5827] R10: 00000000ffffffff R11: 0000000000000206 R12: 00007ffcd9a63860 [ 131.332138][ T5827] R13: 000055556b4f56c0 R14: 0000000000000022 R15: 431bde82d7b634db [ 131.340131][ T5827] [ 131.343139][ T5827] Modules linked in: [ 131.347217][ T5827] ---[ end trace 0000000000000000 ]--- [ 131.352761][ T5827] RIP: 0010:bch2_fs_btree_cache_exit+0x1521/0x1530 [ 131.359288][ T5827] 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 [ 131.378989][ T5827] RSP: 0018:ffffc90003ca7b18 EFLAGS: 00010293 [ 131.385145][ T5827] RAX: ffffffff8410c1b0 RBX: 0000000000000002 RCX: ffff888032b70000 [ 131.393157][ T5827] RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000 [ 131.401158][ T5827] RBP: ffff88803192c800 R08: ffffffff8410b85c R09: 1ffff1100e0903b6 [ 131.409131][ T5827] R10: dffffc0000000000 R11: ffffed100e0903b7 R12: ffff88803192ca28 [ 131.417135][ T5827] R13: dffffc0000000000 R14: ffff888070481c78 R15: ffff888070480000 [ 131.425130][ T5827] FS: 000055556b4f4380(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 [ 131.434111][ T5827] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 131.440708][ T5827] CR2: 00007fe5e0b09130 CR3: 000000007c99a000 CR4: 00000000003526f0 [ 131.448715][ T5827] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 131.456724][ T5827] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 131.464722][ T5827] Kernel panic - not syncing: Fatal exception [ 131.471110][ T5827] Kernel Offset: disabled [ 131.475425][ T5827] Rebooting in 86400 seconds..